h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 17 - Verify sprite area h2. OS_SpriteOp 17 - Verify sprite area h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 17 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. Unused/[[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call verifies a sprite area by checking that the values in the [[Format Of Sprite Area|sprite area header]] are sensible, that all sprites are within the bounds of the area, and that all sprites have sensible properties. If the area fails any of the checks, error &71E ("Unrecognised sprite data") will be returned. h4. Notes Old format sprites (where the [[Sprite Mode Word]] is just a mode number) have fewer checks performed than new format sprites; this call cannot be used to check if the OS recognises the mode used by an old format sprite. New format sprites which have an unknown or unsupported sprite type will result in the verification check failing. This allows this call to be used to check if certain sprite types or features (e.g. alpha masks) are supported by the OS. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[Sprite Mode Word]]