Epson Research and Development
Page 21
Vancouver Design Center
4.2.1 Color Modes
In color display modes, the number of LUT entries used is automatically selected
depending on the color depth.
4 bpp color
When the S1D13506 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-2: Suggested LUT Values to Simulate VGA Default 16 Color Palette
Index
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
...
Red
00
00
00
00
0A
0A
0A
0A
00
00
00
00
0F
0F
0F
0F
00
00
00
Green
00
Blue
00
0A
00
0A
00
0A
00
0A
00
0F
00
0F
00
0F
00
0F
00
00
00
00
0A
0A
00
00
0A
0A
00
00
0F
0F
00
00
0F
0F
00
00
FF
00
= Indicates unused entries in the LUT
Programming Notes and Examples
Issue Date: 01/02/06
S1D13506
X25B-G-003-03