© 1985 ASCII CORP. / NIPPON GAKKI CO.
Page 27 of 108
© 2010-2015 Eugeny Brychkov
3.1.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
40*24 (960) locations where defined patterns can be displayed. Pattern layout 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
39
←
X
0
0 1 2 3 … … 39
1
40 41 42 43 … … 79
…
…
… … … … …
… …
…
… … … …
22
880 881 882 … … … 919
23
920 921 922 … … … 959
Rows
↑
Y
3.1.4. Color register settings
Color settings are located in the register R#7. Bits TC3…TC0 specify pattern color
code of the pixels identified as “1” in the bitmap values of pattern generator table, bits
BD3…BD0 specify pattern color code of the pixels identified as “0” in the bitmap values of
pattern generator table as well as screen border color.
Note:
screen border color is the same as the pattern backdrop color in TEXT1 mode.