h6. [[ColourTrans]] h6(. » [[ColourTrans SWI Calls|SWI Calls]] h6((. » ColourTrans_SelectGCOLTable h2. ColourTrans_SelectGCOLTable h5. (SWI &40741) |_<^{width:3em}. Entry | | |<^. R0|<^. [[ColourTrans mode identification|Source mode / sprite area]]| |<^. R1|<^. [[ColourTrans mode identification|Source palette pointer / sprite]]| |<^. R2|<^. [[Mode Specifier|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 [[Colour Translation Table|buffer]], or 0 to return length| |<^. R5|<^. [[ColourTrans_SelectGCOLTable Flags|Flags]]| |_<^. Exit || |\2<^. All registers preserved| h4. Use The purpose of this call is to set up a GCOL translation table in a buffer. h4. 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. h4. See also * [[GCOL]] * [[TINT]]