Epson Research and Development
Page 21
Vancouver Design Center
Programming Notes and Examples
S1D13704
Issue Date: 01/02/12
X26A-G-002-03
4 Bpp Color
When the S1D13704 is configured for 4 bit-per-pixel operation all sixteen Look-Up Table
entries 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 simulate those of a VGA operating in 16 color
mode.
Table 4-7: 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
*