Entry | |
---|---|
R0 | pointer to sprite area, or -1 for screen |
R1 | sprite name/pointer (as specified in R4), or ignored for screen |
R2 | Pointer to palette data to write |
R3 | 0 (reserved) |
R4 | Flags |
Exit | |
---|---|
- | - |
The purpose of this call is to write the screen’s palette, or sprite’s palette.
If R4 bit 2 is clear, 256 colour palettes are compacted to the 16 used by VIDC1 if possible, else all colours are written.