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

GraphicsV 16

GraphicsV
» GraphicsV 16

Graphics Vector (42)

Entry  
R0 Suggested mode number or Mode Selector Block
R4 Bits 0-23: 16 (reason code)
Bits 24-31: Driver number
Exit  
R0 Mode number/selector to use
R4 0
- All other registers preserved

Use

This call allows a GraphicsV driver to override the choice of screen mode in certain situations, e.g. on driver startup, or the default mode used by the Wimp. For example, a device with a fixed size LCD may want to select a mode which fills the display.

Notes

The kernel issues this call from within OS_ReadSysInfo 1. However it will only issue it under certain circumstances – see the OS_ReadSysInfo page for details.

If the mode returned refers to a mode definition which is not one of the kernel’s numbered modes, a suitable mode definition needs to have been loaded, e.g. from a ResourceFS based built in MDF. Service_ModeExtension can then subsequently find it and provide the relevant settings. If there is not a mode definition file, a custom Service_ModeExtension response needs to be provided.

See also

  • GraphicsV
Revised on August 21, 2017 13:21:08 by Jeffrey Lee (213)

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