h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 58 - Insert/delete columns h2. OS_SpriteOp 58 - Insert/delete columns h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 58 (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) | |<^. R3 |<^. Base column number | |<^. R4 |<^. Column count | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call inserts or deletes columns from the given sprite. To insert columns, set R3 to the column number to insert the new column(s) to the left of, and set R4 to the column count. To delete columns, set R3 to the index of the leftmost column to delete, and set R4 to -(column count). h4. Notes Sprite columns are numbered from the left of the sprite, starting at zero. See also [[OS_SpriteOp 45]] to insert a single column, or [[OS_SpriteOp 46]] to delete a single column. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[OS_SpriteOp 45]] * [[OS_SpriteOp 46]]