
4 LOOK-UP TABLE (LUT)
SID13705 PROGRAMMING NOTES
EPSON
C-2-11
AND EXAMPLES
8 bpp color
When the SID13705 block is configured for 8 bpp color mode the entire Look-Up Table is used to
display images. Each of the LUT entries may be set to any of the 4096 possible colors.
Each byte in the display buffer represents one pixels. The byte value is used directly as an index
into one of the 256 LUT entries. A display memory byte with a value of 00h will display the color
contained in the first Look-Up Table entry while a display memory byte of FFh will display a
color formed byte the two hundred and fifty sixth Look-Up Table entry.
The following table depicts LUT values which approximate the VGA default 256 color palette.
Table 4-4 Suggested LUT Values to Simulate VGA Default 256 Color Palette
Index
R
G
B
Index
R
G
B
Index
R
G
B
Index
R
G
B
00
40
F0
70
80
30
70
C0
00
40
00
01
00
A0
41
F0
90
70
81
40
30
70
C1
00
40
10
02
00
A0
00
42
F0
B0
70
82
50
30
70
C2
00
40
20
03
00
A0
43
F0
D0
70
83
60
30
70
C3
00
40
30
04
A0
00
44
F0
70
84
70
30
70
C4
00
40
05
A0
00
A0
45
D0
F0
70
85
70
30
60
C5
00
30
40
06
A0
50
00
46
B0
F0
70
86
70
30
50
C6
00
20
40
07
A0
47
90
F0
70
87
70
30
40
C7
00
10
40
08
50
48
70
F0
70
88
70
30
C8
20
40
09
50
F0
49
70
F0
90
89
70
40
30
C9
20
40
0A
50
F0
50
4A
70
F0
B0
8A
70
50
30
CA
30
20
40
0B
50
F0
4B
70
F0
D0
8B
70
60
30
CB
30
20
40
0C
F0
50
4C
70
F0
8C
70
30
CC
40
20
40
0D
F0
50
F0
4D
70
D0
F0
8D
60
70
30
CD
40
20
30
0E
F0
50
4E
70
B0
F0
8E
50
70
30
CE
40
20
30
0F
F0
4F
70
90
F0
8F
40
70
30
CF
40
20
10
00
50
B0
F0
90
30
70
30
D0
40
20
11
10
51
C0
B0
F0
91
30
70
40
D1
40
20
12
20
52
D0
B0
F0
92
30
70
50
D2
40
30
20
13
20
53
E0
B0
F0
93
30
70
60
D3
40
30
20
14
30
54
F0
B0
F0
94
30
70
D4
40
20
15
40
55
F0
B0
E0
95
30
60
70
D5
30
40
20
16
50
56
F0
B0
D0
96
30
50
70
D6
30
40
20
17
60
57
F0
B0
C0
97
30
40
70
D7
20
40
20
18
70
58
F0
B0
98
50
70
D8
20
40
20
19
80
59
F0
C0
B0
99
50
70
D9
20
40
20
1A
90
5A
F0
D0
B0
9A
60
50
70
DA
20
40
30
1B
A0
5B
F0
E0
B0
9B
60
50
70
DB
20
40
30
1C
B0
5C
F0
B0
9C
70
50
70
DC
20
40
1D
C0
5D
E0
F0
B0
9D
70
50
60
DD
20
30
40
1E
E0
5E
D0
F0
B0
9E
70
50
60
DE
20
30
40
1F
F0
5F
C0
F0
B0
9F
70
50
DF
20
40
20
00
F0
60
B0
F0
B0
A0
70
50
E0
20
40
21
40
00
F0
61
B0
F0
C0
A1
70
50
E1
30
20
40
22
70
00
F0
62
B0
F0
D0
A2
70
60
50
E2
30
20
40
23
B0
00
F0
63
B0
F0
E0
A3
70
60
50
E3
30
20
40
24
F0
00
F0
64
B0
F0
A4
70
50
E4
40
20
40
25
F0
00
B0
65
B0
E0
F0
A5
60
70
50
E5
40
20
30
26
F0
00
70
66
B0
D0
F0
A6
60
70
50
E6
40
20
30
27
F0
00
40
67
B0
C0
F0
A7
50
70
50
E7
40
20
30
28
F0
00
68
00
70
A8
50
70
50
E8
40
20
29
F0
40
00
69
10
00
70
A9
50
70
50
E9
40
30
20
2A
F0
70
00
6A
30
00
70
AA
50
70
60
EA
40
30
20
2B
F0
B0
00
6B
50
00
70
AB
50
70
60
EB
40
30
20
2C
F0
00
6C
70
00
70
AC
50
70
EC
40
20