Return to previous page Return to menu Go to next page

■ Sprite control register

Sprite control register controls sprite data. A write-only 16-bit register at address 1800E0. The value is cleared to 0 after power-on or reset, so be sure to set it.

Sprite color calculation condition bit : Sprite color calculation condition bit

(SPCCCSI, SPCCSO), bits 13,12
Specified color calculation condition for sprite.

SPCCCS1 SPCCCS0 Condition
0 0 (priority number) ≤ (color operation condition number) only
0 1 (priority number) = (color operation condition number) only
1 0 (priority number) ≥ (color calculation condition number) only
1 1 Only when the most significant bit of color data is 1

∙ When the color format of the sprite is RGB format, color calculation is always performed if the condition that color calculation is performed only when the most significant bit of the color data is 1.

Sprite color calculation condition number bit : Sprite color calculation condition number bit
(SPCCN2 to SPCCN0), bits 10 to 8
Specified color calculation condition number of sprite.
If the color calculation condition is that color calculation is performed only when the most significant bit of the color data is 1, this value is ignored.

Sprite color mode bit : Sprite color mode bit (SPCLMD), bit 5
Specify the sprite color mode.

SPCLMD Sprite color data format
0 All sprite data is in palette format only
1 Sprite data is a mixture of palette format and RGB format

∙ Do not specify 1 when the sprite data is 8 bits per dot.


Return to previous page Return to menu Go to next page