AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     62, &3E (Read save area size)
     R1 =     Sprite area
     R2 =     Sprite name/pointer, or 0 for the screen
<=     R3 =     Size of required save area in bytes

This calculates the size of a save area for the given sprite. It is constant for a particular release of RISC OS but may change in the future.

For the first use you should set the first word of the save area to 0 so that the area can be initialised; subsequently it will be updated by the OS.

See PRM 1, page 815

[sh-index] Back to list of manuals