Return to previous page Return to menu Go to next page

Color selection ratio selection

For the color calculation ratio of the sprite, one of the eight color calculation ratios is selected for each sprite character by the color calculation ratio bit of the specified sprite type data. If the specified color calculation ratio bit for the specified sprite type is 2 bits or less, the missing bits are regarded as 0. If there is no color calculation ratio bit, all 3 bits are regarded as 0. If the sprite data is in RGB format, register 0 for sprite is selected.
Table 9.3 shows the selection of the color calculation ratio register according to the value of the bit for color calculation ratio.

Table 9.3 Sprite color calculation ratio register selection
Color calculation ratio bit Selected color calculation ratio register
CC2CC1CC0
0 0 0 Sprite register 0 (180100H bit 4 ~ 0)
0 0 1 Sprite register 1 (180100H bit 12 ~ 8)
0 1 0 Sprite register 2 (180102H bit 4 ~ 0)
0 1 1 Sprite register 3 (180102H bit 12 ~ 8)
1 0 0 Sprite register 4 (180104H bit 4 ~ 0)
1 0 1 Sprite register 5 (180104H bit 12 ~ 8)
1 1 0 Sprite register 6 (180106H bit 4 ~ 0)
1 1 1 Sprite register 7 (180106H bit 12 ~ 8)


Return to previous page Return to menu Go to next page