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

OS_ChangedBox

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_ChangedBox

OS_ChangedBox

(SWI &5A)
Entry
R0 0 = Disable changed box calculations
1 = Enable changed box calculations
2 = Reset changed box to null rectangle
-1 = Read changed box information
Exit
R0 Previous enable state in bit 0
R1 Pointer to a fixed block of 5 words

Use

The purpose of this call is to determine which areas of the screen have changed.

Notes

The data pointed to by R1 on exit at offsets 4 – 16 are only valid if the change box calculations were in an enabled state immediately after the call; otherwise they are undefined.

This call checks which areas of the screen were changed by VDU commands and returns the smallest rectangle which covers all changed pixels.

See also

  • OS_ChangedBox Block
Created on November 8, 2009 10:01:56 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_ChangedBox Block

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