Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | Source mode / sprite area |
R1 | Source palette pointer / sprite |
R2 | Pointer to buffer, or 0 to return size needed in R3 |
R3 | Size of buffer (if R2 is non-zero) |
R4 | Flags |
Exit | |
---|---|
R2 | Incremented by words written |
R3 | Remaining size of buffer |
The purpose of this call is to read either the screen’s palette, or a sprite’s palette.
All entries are returned as true 24-bit RGB, calibrated if required.
In 256 colour modes the full 256 palette entries are returned, rather than the 16 used by VIDC 1.