Entry | |
---|---|
R0 | Source mode / sprite area |
R1 | Source palette pointer / sprite |
R2 | Destination mode, or -1 for current mode |
R3 | Destination palette pointer, or |
-1 for current palette, or | |
0 for default for the mode | |
R4 | Pointer to buffer, or 0 to return length |
R5 | Flags |
Exit | |
---|---|
All registers preserved |
The purpose of this call is to set up a GCOL translation table in a buffer.
Given a source mode and palette, a destination mode and palette, and a buffer, sets up a list of GCOLs in the buffer. The values can be subsequently be used by passing them to GCOL? and TINT? commands.