Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 17 (Reason code) + Area value |
R1 | Unused/Sprite area (as defined by area value in R0) |
Exit | |
---|---|
All registers preserved |
This call verifies a sprite area by checking that the values in the 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.
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.