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

Wimp_BaseOfSprites

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_BaseOfSprites

Wimp_BaseOfSprites

(SWI &400EA)
Entry
- -
Exit
R0 Base of ROM Sprite Area
R1 Base of RMA Sprite Area

Use

The purpose of this call is to find the memory addresses of the ROM and RAM parts of the Wimp’s sprite pool. Note that the RMA area may move around (when sprites are added) and that Window Manager’s with version greater than 3.5 use a dynamic area instead of the RMA.

You can use these addresses with OS_SpriteOp, but you should always use Wimp_SpriteOp.

The only real use for this SWI is for saving the ROM sprites to a file. An example code in BASIC is provided below.

SYS "Wimp_BaseOfSprites" TO ROMBase%,RMABase%
SYS "OS_SpriteOp",12,ROMBase%,”filename”

See also

  • Wimp_SpriteOp
  • OS_SpriteOp
Revised on June 6, 2009 19:14:18 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager SWI 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