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

Service_PreModeChange

Programmer's Reference Manuals
» Part 16 – Service Calls
» Service_PreModeChange

Service_PreModeChange

(Service &4D)
Entry
R1 77 (&4D)
R2 Mode number

Case 1 – Module has not objection

Exit
R1 Preserved to pass on
R2 Preserved to pass on

Case 2 – Module objects, and takes alternative action

Exit
R1 0 (claim service)
R2 0

Case 3 – Module objects, and returns an error

Exit
R0 Pointer to error block)
R1 0 (claim service)

Case 4 – Module wishes to substitute an alternative mode

Exit
R1 Preserved to pass on
R2 New mode number

Use

This service allows a module to object to a mode change, or substitute a different mode.

Notes

Service_ModeTranslation offers a better method to support new monitor types.

See also

  • Service Calls
  • Service_ModeChange
  • Service_ModeTranslation
  • Screen Modes
  • SWI Error Block
Created on December 10, 2009 21:25:21 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Service Calls

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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