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 =     60, &3C (Switch output to sprite)
     R1 =     Sprite area
     R2 =     Sprite name/pointer or 0 to switch to screen
     R3 =     0 => No save area
           1 => System save area
           else => Pointer to save area
<=     R1-R3 = Previous values

This SWI decrees that all subsequent output should be displayed in the sprite given, rather than to the previous destination. Save areas are only required if you wish to retain the 'state' of the sprite between switches.

You should ensure that errors are handled correctly and switch output back whilst using switched output.

See PRM 1, page 811

[sh-index] Back to list of manuals