RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_Hardware 5 (changes)

Showing changes from revision #0 to #1: Added | Removed | Changed

Hardware Abstraction Layer
» Other documentation
» OS_Hardware
» OS_Hardware 5

OS_Hardware 5

(SWI &7A)
Entry
R0 Bits 0-15 = type to match
Bits 16-31 = maximum major version number to match
R1 0 to start an enumeration, else preserved from last call
R8 5
Exit
R1 -1 if there are no (more) devices of this type
R2 Pointer to device descriptor (undefined if R1 = -1)
- Other registers preserved

Use

Enumerates the device list, searching for devices of a particular type.

Notes

Devices will be returned in the same order as the order they were registered. Use OS_Hardware 4 if you want the devices to be returned in the opposite order.

This call first became available in RISC OS 5.19.

See also

  • OS_Hardware
  • OS_Hardware 4
Created on August 14, 2012 13:36:29 by Jeffrey Lee (213) (195.72.173.131)
Edit | Views: Print | Source | Linked from: OS_Hardware, OS_Hardware 4

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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