© 1985 ASCII CORP. / NIPPON GAKKI CO.
Page 40 of 108
© 2010-2015 Eugeny Brychkov
table base address is stored in register R#2, and corresponds to the cell (0, 0) with
address 0 in the picture below.
Columns
0
1
2
3
31
←
X
0
0 1 2 3 … … 31
1
32 33 34 35 … … 63
…
…
… … … … …
… …
…
… … … …
22
704 705 706 … … … 735
23
736 737 738 … … … 767
Rows
↑
Y
3.4.3. Color register settings
You can set color of the margin of the screen (backdrop color) specifying BD3…BD0
bits in register R#7. Note that bits TC3…TC0 of R#7 are ignored.
3.4.4. Color table settings
Table start address is set in registers R#3 and R#10.
MSB
7 6 5 4 3 2 1 0
LSB
R#3
A13 A12 A11 A10 A9 A8 A7 A6
R#10
0 0 0 0 0 A16
A15
A14
Color table base
address
registers
Color table size is 32 bytes, each byte organized in the same way as register R#7 (FC
is foreground color, BC is background color). Patterns 0...7 are assigned the first color
from color table, patterns 8…15 are assigned second color from the color table, etc, and
patterns F8h…FFh are assigned 31
st
color from the color table. Color table map is provided
below.
MSB
7 6 5 4 3 2 1 0
LSB
0 FC3 FC2 FC1 FC0 BC3 BC2 BC1 BC0 Color
for
patterns
0...7
1 FC3 FC2 FC1 FC0 BC3 BC2 BC1 BC0 Color
for
patterns
8…15
… … … … … … … …
… … … … … … … …
… … … … … … …
31 FC3 FC2 FC1 FC0 BC3 BC2 BC1 BC0 Color
for
patterns
F8…FF