home *** CD-ROM | disk | FTP | other *** search
- ;AAsm header file for IIC
- ;written by DefMod (Jul 1 1994) on Fri Jul 1 16:24:07 1994
-
- [ :LNOT: :DEF: Get_Types
- GBLS Get_Types
- Get_Types SETS "GET OS:Hdr.Types"
- |
- Get_Types SETS ""
- ]
- $Get_Types
-
- [ :LNOT: :DEF: Get_OS
- GBLS Get_OS
- Get_OS SETS "GET OS:Hdr.OS"
- |
- Get_OS SETS ""
- ]
- $Get_OS
-
- [ :LNOT: :DEF: IIC_Hdr
- GBLS IIC_Hdr
-
- ;Symbols for constants
- Error_IICNoAcknowledge * &20300
-
- ;Symbols for SWI's and SWI reason codes
- XIIC_Control * &20240
- IIC_Control * &240
-
- IICControl_Read * &1
- ;Entry
- ; R0 = &1 :OR: device (pointer to Int)
- ; R1 = buffer (pointer to data)
- ; R2 = size (Int)
- ;Exit
- ; R0 corrupted
-
- IICControl_Write * &0
- ;Entry
- ; R0 = &0 :OR: device (pointer to Int)
- ; R1 -> data (data)
- ; R2 = size (Int)
- ;Exit
- ; R0 corrupted
-
- ]
- END
-