Line screen table (VRAM) Line screen ┌──────────────┐ ┏━━━━━━━━━━━━━━─── │1AAAAAAAAAAAAA│────→ ┃ 1st line ├──────────────┤ ┣━━━━━━━━━━━━━━ │2AAAAAAAAAAAAA│────→ ┃ 2nd line ├──────────────┤ ┣━━━━━━━━━━━━━━ │3AAAAAAAAAAAAA│────→ ┃ 3rd line ├──────────────┤ ┣━━━━━━━━━━━━━━ │4AAAAAAAAAAAAA│ ┃ : ├──────────────┤ ┃ │ : │ ┃ ├──────────────┤ ┃ [Note] In the case of 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 | 1st and 2nd line color RAM address |
+02H | 3rd and 4th line color RAM address |
+04H | 5th and 6th line color RAM address |
+06H | 7th and 8th line color RAM address |
+08H | 9th and 10th line color RAM address |
+0AH | 11th and 12th line color RAM address |
: : | : : |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Color RAM address 11 bits |
---|
part is ignored. |
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
LCCLMD | - | - | - | - | - | - | - |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
- | - | - | - | - | LCTA18 | LCTA17 | LCTA16 |
---|
15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
LCTA15 | LCTA14 | LCTA13 | LCTA12 | LCTA11 | LCTA10 | LCTA9 | LCTA8 |
---|
07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
LCTA7 | LCTA6 | LCTA5 | LCTA4 | LCTA3 | LCTA2 | LCTA1 | LCTA0 |
---|
LCCLMD | line color screen color |
0 | Make it monochrome |
---|---|
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