Documentation: ColourTrans_SelectGCOLTable
Programmer’s Reference Manuals
» Part 8 – Non-kernel input/output
» ColourTrans
» SWI Calls
» ColourTrans_SelectGCOLTable
ColourTrans_ SelectGCOLTable
(SWI &40741)
| Entry | |
|---|---|
| R0 | Source mode |
| R1 | Source palette pointer |
| R2 | Destination mode, or -1 for current mode |
| R3 | Destination palette pointer, or |
| -1 for current palette, or | |
| 0 for default for the current mode | |
| R4 | Pointer to buffer, or 0 to return length |
| R5 | Flags |
| Exit | |
|---|---|
| All registers preserved | |
Use
The purpose of this call is to set up a GCOL translation table in a buffer.
Notes
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.