Philips S1D13505 用户手册

下载
页码 556
Page 24
Epson Research and Development
Vancouver Design Center
S1D13505
Programming Notes and Examples
X23A-G-003-07
Issue Date: 01/02/05
8 bpp color
When the S1D13505 is configured for 8 bpp color mode all 256 entries in the LUT are used. 
Each byte in display buffer corresponds to one pixel and is used as an index value into the 
LUT.
The S1D13505 LUT has four bits (16 intensities) of intensity control per primary color 
while a standard VGA RAMDAC has six bits (64 intensities). This four to one difference 
has to be considered when attempting to match colors between a VGA RAMDAC and the 
S1D13505 LUT. (i.e. VGA levels 0 - 3 map to LUT level 0, VGA levels 4 - 7 map to LUT 
level 1...). Additionally, the significant bits of the color tables are located at different offsets 
within their respective bytes. After calculating the equivalent intensity value the result must 
be shifted into the correct bit positions.
The following table shows LUT values that will approximate the VGA default color palette.
Table 4-5: 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
00
00
00
40
F0
70
70
80
30
30
70
C0
00
40
00
01
00
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
A0
43
F0
D0
70
83
60
30
70
C3
00
40
30
04
A0
00
00
44
F0
F0
70
84
70
30
70
C4
00
40
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
A0
A0
47
90
F0
70
87
70
30
40
C7
00
10
40
08
50
50
50
48
70
F0
70
88
70
30
30
C8
20
20
40
09
50
50
F0
49
70
F0
90
89
70
40
30
C9
20
20
40
0A
50
F0
50
4A
70
F0
B0
8A
70
50
30
CA
30
20
40
0B
50
F0
F0
4B
70
F0
D0
8B
70
60
30
CB
30
20
40
0C
F0
50
50
4C
70
F0
F0
8C
70
70
30
CC
40
20
40
0D
F0
50
F0
4D
70
D0
F0
8D
60
70
30
CD
40
20
30
0E
F0
F0
50
4E
70
B0
F0
8E
50
70
30
CE
40
20
30
0F
F0
F0
F0
4F
70
90
F0
8F
40
70
30
CF
40
20
20
10
00
00
00
50
B0
B0
F0
90
30
70
30
D0
40
20
20
11
10
10
10
51
C0
B0
F0
91
30
70
40
D1
40
20
20
12
20
20
20
52
D0
B0
F0
92
30
70
50
D2
40
30
20
13
20
20
20
53
E0
B0
F0
93
30
70
60
D3
40
30
20
14
30
30
30
54
F0
B0
F0
94
30
70
70
D4
40
40
20
15
40
40
40
55
F0
B0
E0
95
30
60
70
D5
30
40
20
16
50
50
50
56
F0
B0
D0
96
30
50
70
D6
30
40
20
17
60
60
60
57
F0
B0
C0
97
30
40
70
D7
20
40
20
18
70
70
70
58
F0
B0
B0
98
50
50
70
D8
20
40
20
19
80
80
80
59
F0
C0
B0
99
50
50
70
D9
20
40
20
1A
90
90
90
5A
F0
D0
B0
9A
60
50
70
DA
20
40
30
1B
A0
A0
A0
5B
F0
E0
B0
9B
60
50
70
DB
20
40
30
1C
B0
B0
B0
5C
F0
F0
B0
9C
70
50
70
DC
20
40
40
1D
C0
C0
C0
5D
E0
F0
B0
9D
70
50
60
DD
20
30
40