Epson Research and Development
Page 23
Vancouver Design Center
Programming Notes and Examples
S1D13505
Issue Date: 01/02/05
X23A-G-003-07
4 bpp color
When the S1D13505 is configured for 4 bpp color mode the first 16 entries in the LUT are
used.
Each byte in the display buffer contains two adjacent pixels. The upper and lower nibbles
of the byte are used as indices into the LUT.
The following table shows LUT values that will simulate those of a VGA operating in 16
color mode.
Table 4-4: Suggested LUT Values to Simulate VGA Default 16 Color Palette
Index
Red
Green
Blue
00
00
00
00
01
00
00
0A
02
00
0A
00
03
00
0A
0A
04
0A
00
00
05
0A
00
0A
06
0A
0A
00
07
0A
0A
0A
08
00
00
00
09
00
00
0F
0A
00
0F
00
0B
00
0F
0F
0C
0F
00
00
0D
0F
00
0F
0E
0F
0F
00
0F
0F
0F
0F
10
00
00
00
...
00
00
00
FF
00
00
00
= Indicates unused entries in the LUT