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 =     40, &28 (Read sprite info)
     R1 =     Sprite area
     R2 =     Sprite name/pointer

<=     R3 =     width in pixels
     R4 =     height in pixels
     R5 =     0,1 for mask no,yes
     R6 =     Mode, or sprite type

This SWI returns info about the given sprite.
To find OS width and height, read mode variables 4 and 5.

See PRM 1, page 791

[sh-index] Back to list of manuals