Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 30 (Reason code) + Area value |
R1 | Unused/Sprite area (as defined by area value in R0) |
R2 | Sprite name/pointer (as defined by area value in R0) |
Exit | |
---|---|
All registers preserved |
This call allows a mask to be removed from a sprite.
When used on a sprite with an alpha mask, the ‘wide mask’ flag will remain set in the sprite mode word. Therefore any subsequent call to OS_SpriteOp 29 will create a new alpha mask. If this is not intended then you must manually remove the flag after removing the mask.
If the sprite has no mask, this call has no effect.
See also OS_SpriteOp 38, which can be used to convert between different mask formats, or to transfer data to/from an alpha channel.