home *** CD-ROM | disk | FTP | other *** search
- ;AAsm header file for OSReadSysInfo
- ;written by DefMod (Aug 8 1994) on Tue Sep 27 17:14:36 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: OSReadSysInfo_Hdr
- GBLS OSReadSysInfo_Hdr
-
- ;Symbols for constants
- OSReadSysInfo_SpecialFunction * &FF
- OSReadSysInfo_SpecialFunctionShift * 0
- OSReadSysInfo_SpecialFunctionNone * &0
- OSReadSysInfo_SpecialFunctionIOEB * &1
- OSReadSysInfo_IOControl * &FF00
- OSReadSysInfo_IOControlShift * 8
- OSReadSysInfo_IOControlIOC * &0
- OSReadSysInfo_IOControlIOMD * &1
- OSReadSysInfo_MemoryControl * &FF0000
- OSReadSysInfo_MemoryControlShift * 16
- OSReadSysInfo_MemoryControlMEMC1 * &0
- OSReadSysInfo_MemoryControlIOMD * &1
- OSReadSysInfo_VideoControl * &FF000000
- OSReadSysInfo_VideoControlShift * 24
- OSReadSysInfo_VideoControlVIDC1a * &0
- OSReadSysInfo_VideoControlVIDC20 * &1
- OSReadSysInfo_IO * &FF
- OSReadSysInfo_IOShift * 0
- OSReadSysInfo_IONone * &0
- OSReadSysInfo_IO82C710 * &1
- OSReadSysInfo_LCDControl * &FF
- OSReadSysInfo_LCDControlShift * 0
- OSReadSysInfo_LCDControlNone * &0
- OSReadSysInfo_LCDControlType1 * &1
-
- ;Symbols for SWI's and SWI reason codes
- XOS_ReadSysInfo * &20058
- OS_ReadSysInfo * &58
-
- OSReadSysInfo_ScreenSize * &0
- ;Entry
- ; R0 = &0
- ;Exit
- ; R0 = screen_size (Int)
-
- OSReadSysInfo_Mode * &1
- ;Entry
- ; R0 = &1
- ;Exit
- ; R0 = mode (Int)
- ; R1 = monitor_type (Int)
- ; R2 = sync (Int)
-
- OSReadSysInfo_MachineId * &2
- ;Entry
- ; R0 = &2
- ;Exit
- ; R0 = config0 (Bits)
- ; R1 = config1 (Bits)
- ; R2 = config2 (Bits)
- ; R3 = id_lo (Bits)
- ; R4 = id_hi (Bits)
-
- OSReadSysInfo_71XFeatures * &3
- ;Entry
- ; R0 = &3
- ;Exit
- ; R0 = features (Bits)
- ; R1 = features_extended0 (Bits)
- ; R2 = features_extended1 (Bits)
- ; R3 = features_extended2 (Bits)
- ; R4 = features_extended3 (Bits)
-
- ]
- END
-