h6. [[OS SWI Calls]] h6(. » OS_ReadSysInfo h2. OS_ReadSysInfo h5. (SWI &58) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Reason code":#reason| |_<^{width:4em}. Exit | | |\2<^. All other registers dependent on reason code| h4. Use The purpose of this call is to read and return information about the system. h4. Notes The action performed depends on the reason code value in R0. h4(#reason). Reason Codes |_<^{width:4em}. #|_<^{width:4em}. Hex #|_<^. Action| |<^. 0|<^. &00|<^. [[OS_ReadSysInfo 0|Read configured screen size]]| |<^. 1|<^. &01|<^. [[OS_ReadSysInfo 1|Read configured screen mode and monitor type]]| |<^. 2|<^. &02|<^. [[OS_ReadSysInfo 2|Machine ID and IO chip presence]]| |<^. 3|<^. &03|<^. [[OS_ReadSysInfo 3|82C71x features]]| |<^. 4|<^. &04|<^. [[OS_ReadSysInfo 4|Machine Ethernet address]]| |<^. 5|<^. &05|<^. [[OS_ReadSysInfo 5|Machine ID raw]]| |<^. 6|<^. &06|<^. [[OS_ReadSysInfo 6|Kernel value]]| |<^. 7|<^. &07|<^. [[OS_ReadSysInfo 7|Information about last unexpected abort (data or prefetch)]]| |<^. 8|<^. &08|<^. [[OS_ReadSysInfo 8|Platform class]]| |<^. 9|<^. &09|<^. [[OS_ReadSysInfo 9|Version information]]| |<^. 10|<^. &0A|<^. [[OS_ReadSysInfo 10|Operating system version]]| |<^. 11|<^. &0B|<^. [[OS_ReadSysInfo 11|Debug information]]| |<^. 12|<^. &0C|<^. [[OS_ReadSysInfo 12|Extended Machine ID]]| |<^. 13|<^. &0D|<^. [[OS_ReadSysInfo 13|Validate key handler/read supported flags]]| |<^. 14|<^. &0E|<^. [[OS_ReadSysInfo 14|IIC bus count]]| |<^. 15|<^. &0F|<^. [[OS_ReadSysInfo 15|Enumerate extended ROM footer entries]]| h4. See also * [[OS_PlatformFeatures]]