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_ScreenMode 68

OS SWI Calls
» OS_ScreenMode
» OS_ScreenMode 68

OS_ScreenMode 68

(SWI &65)
Entry
R0 68
R1 GraphicsV Device driver number to return details of, or -2 to return the ID of the first valid driver
R2 Flags (reserved, should be zero)
Exit
R1 ID of next driver, or -2 if no more to enumerate
R2 Driver flags on registration (R1 of OS_ScreenMode 64)
R3 Driver name on registration (R2 of OS_ScreenMode 64)
R4 Driver state:
0 = Driver is invalid/unallocated (R2-R3 invalid)
1 = Driver is initialising or shutting down and cannot be used
2 = Driver is ready for use
All other registers preserved

Use

This call is used to enumerate the list of registered GraphicsV Device drivers and to read basic details about them.

Notes

When calling GraphicsV manually, it is only safe to interact with drivers which are in state 2. This state corresponds to a driver which has called both OS_ScreenMode 64 and OS_ScreenMode 65.

To determine the current driver, pass -1 to OS_ScreenMode 11.

See also

  • OS_ScreenMode
  • OS_ScreenMode 11
  • OS_ScreenMode 64
  • OS_ScreenMode 65
  • GraphicsV
Other languages documentation

Français

Revised on June 24, 2018 12:41:52 by nemo (145)

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.
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