Yamaha V9938 Programmer's Manual page 30

Msx-video
Table of Contents

Advertisement

3.2.2. Pattern Generator Table
Organization of pattern generator table is the same as in TEXT1 mode. Register R#4
defines base address of the table.
3.2.3. Pattern layout table settings
The pattern layout table is a map of the screen (per screen image). Every location of
the screen contains code of the pattern displayed at respective location. This table has
80*27 (2160) locations where defined patterns can be displayed. Pattern layout table base
address is stored in register R#2 (see below), and corresponds to the cell (0, 0) with
address 0 in the picture below. Note that if LN bit of R#9 is set to 1, then 26 lines are
displayed, plus an upper half of 27
MSB
R#2
Screen mapping of pattern layout table is provided below.
0
0
0
1
80
...
...
25
2000
26
2080
Y
3.2.4. Color table settings
Each position on the screen has separate bit for the blinking attribute, and if this bits
is set to 1, blinking will be applied to the pattern placed in this area in the pattern layout
table. Table start address is set in registers R#3 and R#10.
MSB
R#3
R#10
© 1985 ASCII CORP. / NIPPON GAKKI CO.
th
pattern line is displayed.
7
6
5
0
A16
A15
1
2
1
2
81
82
...
...
...
...
2001
2002
2081
2082
7
6
5
A13
A12
A11
0
0
0
4
3
2
A14
A13
A12
Columns
3
3
...
83
...
...
...
...
...
...
...
...
...
4
3
2
A10
A9
1
0
0
A16
Page 30 of 108
1
0
LSB
1
1
Pattern layout
table
79
...
79
...
159
...
...
...
...
...
2079
...
2159
1
0
LSB
1
1
Color table base
address
A15
A14
registers
© 2010-2015 Eugeny Brychkov
← X

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents