★ HARDWARE Manual ★ VDP1 User's Manual| bit | 15 | 14 | 13 | 12 | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CMDCOLR + 06H | Color bank, color look-up table / 8H ( LSB fixed at 00B ), non-texture | |||||||||||||||
parts | Color mode | CMDCOLR |
|---|---|---|
Texture parts | Color bank mode | Color bank |
Lookup table mode | Color look-up table address | |
RGB mode | Ignored | |
Non-textured parts | Non-texture color | |
┌─────────────────────────────┐┐ Color bank │ Color bank 0 0 0 0 │ │ * 1 └─────────────┬───────┬───────┘┘ ┌─────────────┴───────┼─┬─┬─┬─┐┐ 16-color mode │ Color bank top 12 bits │ ○ │ ○ │ ○ │ ○ │ │ * 2 └─────────────┬───────┴─┴─┴─┴─┘│ ┌─────────────┴───┬─┬─┬─┬─┬─┬─┐│ 64 color mode │ Color bank top 10 bits │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ │ └─────────────┬───┴─┴─┴─┴─┴─┴─┘│ ┌─────────────┴─┬─┬─┬─┬─┬─┬─┬─┐│ 128 color mode │ color bank top 9 bits │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ │ └─────────────┬─┴─┴─┴─┴─┴─┴─┴─┘│ ┌─────────────┼─┬─┬─┬─┬─┬─┬─┬─┐│ 256 color mode │ color bank top 8 bits │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ │ └─────────────┼─┴─┴─┴─┴─┴─┴─┴─┘┘ └┬─────────────────────────────┘ ↓ └┬──────────────┘ At 16 bit / pixel ↓ For 8bit / pixel ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ RGB mode │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ * 2 └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ Lookup │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ ○ │ └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ [Supplement] In the lookup table mode, the lookup table data referenced from the defined character pattern is written to the frame buffer. [Note] * 1 : The lower 4 bits of the color bank are fixed to "0". * 2 : For ○ marks, the bit data of the defined character pattern is written to the frame buffer.
Color bank | Justice data | Drawing data | |
|---|---|---|---|
| 0000H | 16 color mode | DH | 0 0 0 DH |
| 64 color mode | CDH | 0 0 0 DH | |
| 128 color mode | CDH | 0 0 4 DH | |
| 256 color mode | CDH | 0 0 CDH | |
| RGB mode | ABCDH | ABCDH | |
| 0010H | 16 color mode | DH | 0 0 1 DH |
| 64 color mode | CDH | 0 0 0 DH | |
| 128 color mode | CDH | 0 0 4 DH | |
| 256 color mode | CDH | 0 0 CDH | |
| RGB mode | ABCDH | ABCDH | |
| 1230H | 16 color mode | DH | 1 2 3 DH |
| 64 color mode | CDH | 1 2 0 DH | |
| 128 color mode | CDH | 1 2 4 DH | |
| 256 color mode | CDH | 1 2 CDH | |
| RGB mode | ABCDH | ABCDH | |
Specified by table address Character pattern 16 colors color look-up table frame buffer ┏━━━━━━━━━━┓ ┏━━━━━━━━━━┓ ┏━━━━━━━━━━┓ ┃ ┃ + 00H ┃ 16-bit data ┃ (0H color code) ┃ ┃ ┃┃┠──────────┨┃┃ ┃ ┃ + 02H ┃ 16-bit data ┃ (1H color code) ┃ ┃ ┃┃┠──────────┨┃┃ ┃ ┃ + 03H ┃ 16-bit data ┃ (2H color code) ┃ ┃ ┃┃┠──────────┨┃┃ ┃ ┃: ┃: ┃: ┃ ┃ ┠──────────┨: ┃: ┃: ┠──────────┨ ┃Definition 4-bit data ┃ →: ┃: ┃: → ┃Drawing 16-bit data ┃ ┠──────────┨: ┃: ┃: ┠──────────┨ ┃ ┃: ┃: ┃: ┃ ┃ ┃┃┠──────────┨┃┃ ┃ ┃ + 1CH ┃ 16-bit data ┃ (EH color code) ┃ ┃ ┃┃┠──────────┨┃┃ ┃ ┃ + 1EH ┃ 16-bit data ┃ (FH color code) ┃ ┃ ┗━━━━━━━━━━┛ ┗━━━━━━━━━━┛ ┗━━━━━━━━━━┛ ● The 16-bit data of the color lookup table selected with 4 bits of the character pattern remains as it is. It is written to the frame buffer as pixel data.
★ HARDWARE Manual ★ VDP1 User's Manual