RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_ReadSysInfo

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_ReadSysInfo

OS_ReadSysInfo

(SWI &58)
Entry  
R0 Reason code
Exit  
All other registers dependent on reason code

Use

The purpose of this call is to read and return information about the system.

Notes

The action performed depends on the reason code value in R0.

Reason Codes

# Hex # Action
0 &00 Screen size
1 &01 Screen mode
2 &02 Machine ID
3 &03 82C71x features
4 &04 Machine Ethernet address
5 &05 Machine ID raw
6 &06 Kernel value
7 &07 Information about last unexpected abort (data or prefetch)
8 &08 Platform class
9 &09 Version information
10 &0A Operating system version
11 &0B Debug information
12 &0C Extended Machine ID

See also

  • OS_PlatformFeatures
Revised on February 20, 2011 14:20:03 by Jeffrey Lee (213) (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: OS SWI Calls, OS_ReadSysInfo 0, OS_ReadSysInfo 1, OS_ReadSysInfo 2, OS_ReadSysInfo 3, 82C710 - 82C711 Basic Features, OS_ReadSysInfo 4, OS_ReadSysInfo 5, OS_ReadSysInfo 7, OS_ReadSysInfo 8, OS_ReadSysInfo 8 Platform Class, OS_ReadSysInfo 8 Flags, OS_ReadSysInfo 9, OS_ReadSysInfo 6, OS_ReadSysInfo 6 Items, SWI Introduction, OS_ReadSysInfo 10, OS_ReadSysInfo 11, OS_ReadSysInfo 12

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys