3.3.1. Pattern Generator Table
Each pattern is made up of four color blocks. These patterns are of size of 8*8 for the
screen display of 256*192 dots.
←
8 dots
→
For each block A, B, C, and D sixteen colors can be
specified. Two bytes are used for each pattern.
↑
Block A
Block B
8 dots
Block C
Block D
↓
MSB
7 6 5 4 3 2 1 0
LSB
Color code A
Color code B
Color code C
Color code D
There’re four color blocks (8 bytes) for each pattern layout location. Specific color
block is used to display depending on the y-coordinate.
MSB 7 6 5 4 3 2 1 0 LSB
A
B
Color code A
Color code B
C
D
Color code C
Color code D
Color of the pattern when
y=0, 4, 8, 12, 16 or 20
Pattern na
me #n
E
F
Color code E
Color code F
G
H
Color code G
Color code H
Color of the pattern when
y=1, 5, 9, 13, 17 or 21
I
J
Color code I
Color code J
K
L
Color code K
Color code L
Color of the pattern when
y=2, 6, 10, 14, 18 or 22
M
N
Color code M
Color code N
Color of the pattern when
y=3, 7, 11, 15, 19 or 23
O
P
Color code O
Color code P
Start of the pattern generator table should be set in register R#4.
3.3.2. Pattern layout table settings
The pattern layout table is a map of the screen (per screen image), containing one
byte for each screen location. Each byte specifies unique pattern number. Start of the
pattern name table should be set in register R#2.
© 1985 ASCII CORP. / NIPPON GAKKI CO.
Page 35 of 108
© 2010-2015 Eugeny Brychkov