Showing changes from revision #0 to #1:
Added | Removed | Changed
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 |
Enumerates the device list, searching for devices of a particular type.
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.