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 13 (changes)

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

OS SWI Calls
» OS_ScreenMode
» OS_ScreenMode 13

OS_ScreenMode 13

(SWI &65)
Entry
R0 13
R1 Pointer to Mode String
R2 Pointer to Mode Selector Block to fill in
R3 Size of specifier buffer (bytes)
Exit
R0 Error, or preserved
- All other registers preserved

Use

The purpose of this call is to convert a mode string to a mode selector block.

Notes

It’s not possible to read required size of the selector block using this call. Instead the caller must make an educated guess as to the required buffer size. It’s reasonable to expect up to four mode variables to be returned (NColour, mode flags, X & Y eigen factors), but future extensions or other implementations may return more.

See also OS_ScreenMode 14 to convert a mode specifier to a mode string.

This call is available in RISC OS Select and RISC OS 5.21+

See also

  • Mode String
  • Mode Selector Block
  • OS_ScreenMode
  • OS_ScreenMode 14
Other languages documentation

Français

Revised on February 12, 2018 21:29:33 by Etienne SOBOLE (3572)? (90.63.247.106)
Edit | Back in time (3 revisions) | Hide changes | History | Views: Print | Source | Linked from: OS_ScreenMode, OS_ScreenMode 14, Mode String, OS_ScreenMode 13 (français)

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