Epson Research and Development
Page 23
Vancouver Design Center
Programming Notes and Examples S1D13706
Issue Date: 01/02/23 X31B-G-003-03
4 bpp color
When the S1D13706 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 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 80 00 00
02 00 80 00
03 80 80 00
04 00 00 80
05 80 00 80
06 00 80 80
07 C0 C0 C0
08 80 80 80
09 FC 00 00
0A 00 FC 00
0B FC FC 00
0C 00 00 FC
0D FC 00 FC
0E 00 FC FC
0F FC FC FC
10
00 00 00
... 00 00 00
FF 00 00 00
= Indicates unused entries in the LUT