h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 54 - Remove left-hand wasteage h2. OS_SpriteOp 54 - Remove left-hand wasteage h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 54 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. Unused/[[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |<^. R2 |<^. Sprite name/[[Format Of Sprite|pointer]] (as defined by area value in R0) | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use 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 [[Format Of Sprite|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. h4. Notes 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. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]]