h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 11 - Merge sprite file h2. OS_SpriteOp 11 - Merge sprite file h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 11 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. Unused/[[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |<^. R2 |<^. Sprite file name | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call will load the sprite file identified by R2 and merge it into the sprite area identified by R1. h4. Notes Sprites present in R2 take priority over sprites present in R1; i.e. if both areas contain a sprite with the same name then the sprite in R1 will be discarded and replaced with the sprite from R2. You can use [[OS_SpriteOp 10]] if you want to completely replace the contents of a sprite area with the contents of a sprite file. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[OS_SpriteOp 10|OS_SpriteOp 10 - Load sprite file]]