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 =     16, &10 (Get sprite from coords)
     R1 =     Sprite area
     R2 =     Sprite name/pointer
     R3 =     0 => Exclude palette
           1 => Include palette
     R4 =     Minimum x coordinate (ic)
     R5 =     Minimum y coordinate (ic)
     R6 =     Maximum x coordinate (ic)
     R7 =     Maximum y coordinate (ic)
<=     R2 =     Address/Offset of sprite unless in wimp or system area.

This grabs the area of screen defined by R4-R7. Any area outside the present graphics window will be filled in with the present background colour.

See PRM 1, page 774

[sh-index] Back to list of manuals