★ HARDWARE Manual ★ VDP2 User's ManualLine screen table (VRAM) Line screen ┌──────────────┐ ┏━━━━━━━━━━━━━━━─── │ Line screen data of the 1st line │ ──── → ┃ 1st line ├──────────────┤ ┣━━━━━━━━━━━━━━ │ Line screen data of the 2nd line │ ──── → ┃ 2nd line ├──────────────┤ ┣━━━━━━━━━━━━━━ │ Line screen data of the 3rd line │ ──── → ┃ 3rd line ├──────────────┤ ┣━━━━━━━━━━━━━━ │ Line screen data of the 4th line │ ┃: ├──────────────┤ ┃ │: │ ┃ ├──────────────┤ ┃ [Note] In the case of a single color, the data of the first line is used for the entire screen.
Bit 15 ← Line color screen table (VRAM) → 0 | |
|---|---|
| + 00H | 1st line color RAM address |
| + 02H | 2nd line color RAM address |
| + 04H | 3rd line color RAM address |
| + 06H | 4th line color RAM address |
| + 08H | 5th line color RAM address |
| + 0AH | 6th line color RAM address |
| :: :: | :: :: |
Bit 15 ← Line color screen table (VRAM) → 0 | |
|---|---|
| + 00H | Color RAM address for the 1st and 2nd lines |
| + 02H | Color RAM address for 3rd and 4th lines |
| + 04H | Color RAM addresses on the 5th and 6th lines |
| + 06H | Color RAM address for lines 7 and 8 |
| + 08H | Color RAM address of 9th and 10th lines |
| + 0AH | Color RAM address for lines 11 and 12 |
| :: :: | :: :: |
15 | 14 | 13 | 12 | 11 | Ten | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Color RAM address 11 bits | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The part is ignored. |
15 | 14 | 13 | 12 | 11 | Ten | 09 09 | 08 08 |
LCCLMD | --- | --- | --- | --- | --- | --- | --- |
|---|
07 07 | 06 06 | 05 05 | 04 | 03 03 | 02 02 | 01 01 | 00 |
--- | --- | --- | --- | --- | LCTA18 | LCTA17 | LCTA16 |
|---|
15 | 14 | 13 | 12 | 11 | Ten | 09 09 | 08 08 |
LCTA15 | LCTA14 | LCTA13 | LCTA12 | LCTA11 | LCTA10 | LCTA9 | LCTA8 |
|---|
07 07 | 06 06 | 05 05 | 04 | 03 03 | 02 02 | 01 01 | 00 |
LCTA7 | LCTA6 | LCTA5 | LCTA4 | LCTA3 | LCTA2 | LCTA1 | LCTA0 |
|---|
| LCCLMD | Line color screen color |
0 | Make it a single color |
|---|---|
1 | Specify for each line |
| LCTA18 ~ LCTA16 | 1800A8H | Bits 2-0 | |
| LCTA15 ~ LCTA0 | 1800AAH | Bits 15-0 |
(Line color screen table start address)
= (Line color screen table address register value 19 bits) x 2H
★ HARDWARE Manual ★ VDP2 User's Manual