RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_ReadSysInfo 1 (changes)

Showing changes from revision #3 to #4: Added | Removed | Changed

Programmer's OS Reference SWI Manuals Calls
» Part OS_ReadSysInfo 15 – SWI Calls
» OS_ReadSysInfo 1OS
» OS_ReadSysInfo
» OS_ReadSysInfo 1

OS_ReadSysInfo 1

(SWI &58)
Entry
R0 1
Exit
R0 Screen mode (mode number or Mode Selector Block)
R1 Monitor type
R2 Sync:
0 = Vertical
1 = Composite

Use

The purpose of this call is to read the configured Mode/WimpMode, MonitorType, and Sync settings.

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:

  1. First, Service_MonitorLeadTranslation is issued. If the service call is claimed then the settings returned by that call will be used.
  2. If the service call failed, the kernel will use its builtin translation table to select the settings.
  3. 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 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.

See also

  • OS_ReadSysInfo
  • *Configure Mode
  • *Configure MonitorType
  • *Configure Sync
  • Mode Selector Block
  • Service_MonitorLeadTranslation
  • GraphicsV 16
Revised on November 11, 2017 09:14:21 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (3 revisions) | Hide changes | History | Views: Print | Source | Linked from: OS_ReadSysInfo, GraphicsV 16, Service_MonitorLeadTranslation

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