h6. [[ColourTrans]] h6(. » [[ColourTrans SWI Calls|SWI Calls]] h6((. » [[ColourTrans_SelectTable]] h6(((. » Flags h2. Flags |_<^{width:3em}. Entry |_<^{width:4em}. Bit |_<^. Meaning when set| |<^. R5|<^. 0|<^. R1 = pointer to sprite, otherwise R1 = pointer to sprite name (see [[ColourTrans mode identification]])| |<^. |<^. 1|<^. Use current palette if sprite doesn't have one (otherwise default palette)| |<^. |<^. 2|<^. R6, R7 specify transfer function| |<^. |<^. 3|<^. Return GCOL numbers instead of colour numbers| |<^. |<^. 4|<^. Generate large translation tables when converting to a 16/32 bpp mode| |<^. |<^. 24 - 31|<^. Format of returned table:| |<^. |<^. |<^. 0 = return [[Colour Translation Table|pixel translation table]]| |<^. |<^. |<^. 1 = return physical palette table| h4. Notes R5 is used to store flags to determine what other registers contain, as well as to describe the desired output format of the generated table. h4. See also * [[ColourTrans_GenerateTable]] * [[ColourTrans_SelectTable]]