Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 42 (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) |
R3 | X coordinate |
R4 | Y coordinate |
R5 | Pixel colour |
R6 | Pixel tint |
Exit | |
---|---|
All registers preserved |
This call allows the colour of a sprite pixel to be written.
Coordinates are specified in pixels, with (0,0) being the bottom-left corner of the sprite.
For 256 colour sprites which lack a full palette, R5 should contain the pixel colour/palette index (0-63) and R6 the tint value (0, 64, 128 or 192).
For all other sprites, R5 should be the pixel colour/palette index and R6 will be ignored.