7 6 5 4 3 2 1 0 ┌──┬──┬──┬──┬──┬──┬──┬──┐ │ Color data 8 bits │ └──┴──┴──┴──┴──┴──┴──┴──┘ + 8 7 6 5 4 3 2 1 0 ┌──┬──┬──┬──┬──┬──┬──┬──┬──┐ │ │ Color data 8 bits │ └──┴──┴──┴──┴──┴──┴──┴──┴──┘ Sign ↓ 7 6 5 4 3 2 1 0 ┌──┬──┬──┬──┬──┬──┬──┬──┐ │Output color data 8 bit│ └──┴──┴──┴──┴──┴──┴──┴──┘
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | - |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
- | SPCOEN | BKCOEN | R0COEN | N3COEN | N2COEN | N1COEN | N0COEN |
---|
N0COEN | 180110H | bit 0 | For NBG0 (or for RBG1) |
N1COEN | 180110H | bit 1 | For NBG1 (or for EXBG) |
N2COEN | 180110H | bit 2 | For NBG2 |
N3COEN | 180110H | bit 3 | For NBG3 |
R0COEN | 180110H | bit 4 | For RBG0 |
BKCOEN | 180110H | bit 5 | For BACK |
SPCOEN | 180110H | bit 6 | for sprites |
xxCOEN | process |
---|---|
0 | Do not use color offset function |
1 | Use the color offset function |
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | - |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
- | SPCOSL | BKCOSL | R0COSL | N3COSL | N2COSL | N1COSL | N0COSL |
---|
N0COSL | 180112H | bit 0 | For NBG0 (or for RBG1) |
N1COSL | 180112H | bit 1 | For NBG1 (or for 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 |
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | COARD8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
COARD7 | COARD6 | COARD5 | COARD4 | COARD3 | COARD2 | COARD1 | COARD0 |
---|
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | COAGR8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
COAGR7 | COAGR6 | COAGR5 | COAGR4 | COAGR3 | COAGR2 | COAGR1 | COAGR0 |
---|
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | COABL8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
COABL7 | COABL6 | COABL5 | COABL4 | COABL3 | COABL2 | COABL1 | COABL0 |
---|
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | COBRD8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
COBRD7 | COBRD6 | COBRD5 | COBRD4 | COBRD3 | COBRD2 | COBRD1 | COBRD0 |
---|
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | COBGR8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
COBGR7 | COBGR6 | COBGR5 | COBGR4 | COBGR3 | COBGR2 | COBGR1 | COBGR0 |
---|
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
- | - | - | - | - | - | - | COBBL8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
COBBL7 | COBBL6 | COBBL5 | COBBL4 | COBBL3 | COBBL2 | COBBL1 | COBBL0 |
---|
COARD8〜COARD0 | 180114H | bits 8-0 | For RED data with color offset A |
COAGR8~COAGR0 | 180116H | bits 8-0 | For GREEN data of color offset A |
COABL8〜COABL0 | 180118H | bits 8-0 | For BLUE data of color offset A |
COBRD8~COBRD0 | 18011AH | bits 8-0 | For RED data with color offset B |
COBGR8~COBGR0 | 18011CH | bits 8-0 | For GREEN data of color offset B |
COBBL8〜COBBL0 | 18011EH | bits 8-0 | For BLUE data of color offset B |