Yamaha V9938 Programmer's Manual page 40

Msx-video
Table of Contents

Advertisement

table base address is stored in register R#2, and corresponds to the cell (0, 0) with
address 0 in the picture below.
0
0
0
1
32
...
...
22
704
23
736
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
R#3
R#10
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
below.
MSB
7
6
0
FC3
FC2
1
FC3
FC2
...
...
...
...
...
...
31
FC3
FC2
© 1985 ASCII CORP. / NIPPON GAKKI CO.
1
2
1
2
33
34
...
...
...
...
705
706
737
738
7
6
5
A13
A12
A11
0
0
0
st
color from the color table. Color table map is provided
5
4
3
FC1
FC0
BC3
FC1
FC0
BC3
...
...
...
...
...
...
...
...
...
FC1
FC0
BC3
Columns
3
3
...
35
...
...
...
...
...
...
...
...
...
4
3
2
A10
A9
A8
0
0
A16
2
1
0
BC2
BC1
BC0
BC2
BC1
BC0
...
...
...
...
...
...
...
...
BC2
BC1
BC0
Page 40 of 108
31
...
31
...
63
...
...
...
...
...
735
...
767
1
0
LSB
A7
A6
Color table base
address
A15
A14
registers
LSB
Color for patterns 0...7
Color for patterns 8...15
Color for patterns F8...FF
© 2010-2015 Eugeny Brychkov
← X

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents