h6. [[OS SWI Calls]] h6(. » [[OS_ReadSysInfo]] h6((. » OS_ReadSysInfo 1 h2. OS_ReadSysInfo 1 h5. (SWI &58) |_<^{width:4em}. Entry | | |<^. R0 |<^. 1 | |_<^{width:4em}. Exit | | |<^. R0 |<^. Screen mode (mode number or [[Mode Selector Block]]) | |<^. R1 |<^. [[Monitor Types|Monitor type]] | |/3<^. R2 |<^. Sync: | |<^. 0 = Vertical | |<^. 1 = Composite | h4. Use The purpose of this call is to read the configured Mode/WimpMode, MonitorType, and Sync settings. h4. Notes If any of the settings have been configured to ‘Auto’, then the appropriate value for the attached monitor is returned. Automatic selection of settings is a three-stage process: # First, [[Service_MonitorLeadTranslation]] is issued. If the service call is claimed then the settings returned by that call will be used. # If the service call failed, the kernel will use its builtin translation table to select the settings. # Additionally, from RISC OS 5.21 onwards, if the service call fails then the mode number selected from the kernel's builtin table may also be overridden by the current GraphicsV driver via the [[GraphicsV 16|Select startup mode]] call. In all cases, only the settings which were set to 'Auto' in CMOS will be overridden by the automatic selection logic. h4. See also * [[OS_ReadSysInfo]] * [[*Configure Mode|*Configure Mode]] * [[*Configure MonitorType|*Configure MonitorType]] * [[*Configure Sync|*Configure Sync]] * [[Mode Selector Block]] * [[Service_MonitorLeadTranslation]] * [[GraphicsV 16]]