Entry | 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 pixel translation table | ||
1 = return physical palette table |
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.