Return to previous page Return to menu Go to next page

■ Sprite control register

The sprite control register controls sprites. This is a write-only 16-bit register located at 1800E0H. 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

(SPCCCS1, SPCCCS0), bits 13, 12
Refer to “9.2 Priority and color calculation”.

Sprite color calculation condition number bit : Sprite color calculation condition number bit
(SPCCN2 to SPCCN0), bits 10 to 8
Refer to “9.2 Priority and color calculation”.

Sprite color mode bit : Sprite color mode bit (SPCLMD), bit 5
Refer to “9.1 Sprite Data”.

Sprite window enable bit : SW enable bit (SPWINEN), bit 4
Specify whether to use the sprite window SW.

SPWINEN Process
0 Do not use sprite window
1 Use sprite window

This bit is valid only when the sprite color mode is mode 0 and the sprite type is type 2-7.
∙ When this bit is 1, MSB shadow cannot be used because the most significant bit of the sprite frame buffer is used as the bit for the sprite window. For details on shadows, refer to "14.1 Shadow Processing".
∙ When the SPCLMD bit is set to 1, do not set this bit to 1.

Sprite type bit : Sprite type bit (SPTYPE3 to SPTYPE0), bits 3 to 0
Refer to “9.1 Sprite Data”.


Return to previous page Return to menu Go to next page