Return to previous page Return to menu Go to next page

Color offset select register

Color offset select register specifies the color offset register to be used for each screen. This is a write-only 16-bit register located at address 180112H. The value is cleared to 0 after power-on or reset, so be sure to set it.

Color offset select bit

(N0COSL, N1COSL, N2COSL, N3COSL, R0COSL, BKCOSL, SPCOSL)
Specify the color offset register to be used when using the color offset function.

N0COSL 180112H Bit 0 For NBG0 (or RBG1)
N1COSL 180112H Bit 1 For NBG1 (or EXBG)
N2COSL 180112H Bit 2 For NBG2
N3COSL 180112H Bit 3 For NBG3
R0COSL 180112H Bit 4 For RBG0
BKCOSL 180112H Bit 5 For BACK
SPCOSL 180112H Bit 6 For sprites

xxCOSL Process
0 Use color offset A value
1 Use color offset B value
[Note] N0, N1, N2, N3, R0, BK, or SP is entered in the bit name xx.

When using the color calculation function, specify the color offset select bit on the screen on the top image side.


Return to previous page Return to menu Go to next page