Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 54 (Reason code) + Area value |
R1 | Unused/Sprite area (as defined by area value in R0) |
R2 | Sprite name/pointer (as defined by area value in R0) |
Exit | |
---|---|
All registers preserved |
This call removes any columns from the left hand edge of a sprite which exist in the sprite data but have been hidden by a non-zero value in word 6 of the sprite header.
This can help to reduce memory usage, and is required if screen output is to be redirected to the sprite. However the kernel will automatically perform this operation itself when required, so apart from saving some memory there is little reason to use this call yourself.
This call is effectively a no-op when used on new format sprites (i.e. RISC OS 3.5 or RISC OS 5 style mode word), as new format sprites are not allowed any left-hand wasteage.