h6. [[OS SWI Calls]] h6(. » [[OS_ReadSysInfo]] h6((. » OS_ReadSysInfo 14 h2. OS_ReadSysInfo 14 h5. (SWI &58) |_<^{width:4em}. Entry | | |<^. R0 |<^. 14 | |_<^{width:4em}. Exit | | |<^. R0 |<^. Number of IIC buses present in system | h4. Use The purpose of this call is to allow code to determine the number of IIC buses that are present in the system and are supported by [[OS_IICOp]]. h4. Notes This call was introduced in RISC OS 5.21. For older versions of RISC OS 5 which do not support this call, it is permissible to determine the IIC bus count by using [[OS_Hardware]] to call [[HAL_IICBuses]] (HAL_IICBuses is normally for internal use only, therefore code which needs to know the bus count should prefer to use this SWI instead wherever possible). h4. See also * [[OS_ReadSysInfo]] * [[OS_IICOp]] * [[HAL_IICBuses]]