h6. [[Hardware Abstraction Layer]] h6(. » [[Other HAL related documentation|Other documentation]] h6((. » [[OS_Hardware]] h6(((. » OS_Hardware 5 h2. OS_Hardware 5 h5. (SWI &7A) |_<^{width:4em}. Entry | | |/2^. 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 | |_<^{width:4em}. Exit | | |<^. R1 |<^. -1 if there are no (more) devices of this type | |<^. R2 |<^. Pointer to [[HAL Device descriptor|device descriptor]] (undefined if R1 = -1) | |<^. - |<^. Other registers preserved | h4. Use Enumerates the [[HAL Device API|device]] list, searching for devices of a particular type. h4. 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. h4. See also * [[OS_Hardware]] * [[OS_Hardware 4]]