Yamaha V9938 Programmer's Manual page 48

Msx-video
Table of Contents

Advertisement

3.6.1. Pattern layout table settings
The pattern layout table is a map of the screen (per screen image). Every byte
location of the screen contains color codes for two dots. This is bitmap graphics mode,
and there's no pattern generator table.
0
0
0, 0
1
0, 1
...
...
191
0, 191
...
...
211
0, 211
Y
MSB
7
0
Color code for (0, 0)
1
Color code for (2, 0)
127
Color code for (254, 0)
128
Color code for (0, 1)
27134
Color code for (252, 211)
27135
Color code for (254, 211)
Pattern layout table base address is stored in register R#2, and corresponds to the
cell (0, 0) in the picture above.
MSB
R#2
3.6.2. 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.
© 1985 ASCII CORP. / NIPPON GAKKI CO.
1
2
1, 0
2, 0
1, 1
2, 1
...
...
...
...
1, 191
2, 191
...
...
...
...
1, 211
2, 211
6
5
4
7
6
5
0
A16
A15
Columns
3
3, 0
...
3, 1
...
...
...
...
X, Y
...
...
...
...
...
...
...
...
3
2
1
Color code for (1, 0)
Color code for (3, 0)
Color code for (255, 0)
Color code for (1, 1)
Color code for (253, 211)
Color code for (255, 211)
4
3
2
1
1
1
Page 48 of 108
255
...
255, 0
...
255, 1
...
...
...
...
...
255,191 LN=0
...
...
...
...
...
255,211 LN=1
0
LSB
Base address
1
0
LSB
1
1
Pattern layout
table base
address
© 2010-2015 Eugeny Brychkov
← X

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents