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

Showing changes from revision #7 to #8: Added | Removed | Changed

OS SWI Calls
» OS_ScreenMode

OS_ScreenMode

(SWI &65)
Entry
R0 Reason code
All other registers dependent on reason code
Exit
R0 Preserved
All other registers dependent on reason code

Use

The purpose of this call is to perform miscellaneous operations for screen mode handling.

Notes

The action performed depends on the reason code value in R0.

Reason codes marked with ¶ are used by RISC OS Select’s video driver interface and are unimplemented in RISC OS 5.

Reason Codes

# Hex # Action
0 &00 Select screen mode
1 &01 Return current screen mode
2 &02 Enumerate screen modes
3 &03 Change monitor type (internal use only)
4 &04 Configure acceleration
5 &05 Flush screen memory from cache
6 &06 Force flush screen memory from cache
7 &07 Return number of screen banks ¶
8 &08 Select display bank ¶
9 &09 Select VDU bank ¶
10 &0A Copy screen bank ¶
11 &0B Select display VideoV device Display or GraphicsV Device
12 &0C Read details about display VideoV Display device ¶
13 &0D Convert mode string to mode selector block
14 &0E Convert mode selector block to mode string
15 &0F Select screen mode by string
64 &40 Register GraphicsV Device driver
65 &41 Start GraphicsV Device driver
66 &42 Stop GraphicsV Device driver
67 &43 Deregister GraphicsV Device driver
68 &44 Enumerate GraphicsV Device drivers
253 &FD Read maximum display VideoV Display driver ¶
254 &FE Deregister display VideoV Display driver ¶
255 &FF Register display VideoV Display driver ¶

See also

  • Wimp_SetMode
Other languages documentation

Français

Revised on June 24, 2018 12:37:51 by nemo (145) (86.7.33.6)
Edit | Back in time (7 revisions) | Hide changes | History | Views: Print | Source | Linked from: Extended Framebuffer Format Specification, Mode Variable Numbers, Mode Selector Block, OS SWI Calls, OS_ScreenMode 0, OS_ScreenMode 2, Mode Specifier, OS_ScreenMode 13, OS_ScreenMode 1, OS_ScreenMode 14, Mode Flags, OS_ScreenMode 15, Mode String, OS_ScreenMode 4, GraphicsV, OS_ScreenMode 5, Proposed GraphicsV enhancements, OS_ScreenMode 6, OS_ScreenMode 11, OS_ScreenMode 66, OS_ScreenMode 64, OS_ScreenMode 68, Service_DisplayStatus, Service_DisplayChanged, OS_ScreenMode 65, ScreenModes, Service_ModeFileChanged, OS_ScreenMode 3, OS_ScreenMode 67, OS_ScreenMode (français), OS_ScreenMode 7, OS_ScreenMode 8, OS_ScreenMode 9, OS_ScreenMode 10

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