Epson S1D13504 ユーザーズマニュアル

ページ / 504
Epson Research and Development
Page 19
Vancouver Design Center
Programming Notes and Examples
S1D13504
Issue Date: 01/02/01 
X19A-G-002-07
4 bpp Color
In 4 bpp color mode, the LUT is limited to a single 16 entry bank per color. The LUT bank select 
bits have no effect in this mode.
The following table is a recommended set of data values to simulate the 16 colors in a VGA. The 
second recommendation for this mode is to program the register values to data values equalling the 
register number. (i.e. R[0] = 0, G[0]=0, B[0]=0, R[1]=1 ... R[F]=0Fh ...)
8 bpp Color
In 8 bpp color mode, pixel bits [7:5] represent the red LUT index, bits [4:2] represent the green LUT 
index, and bits [1:0] represent the blue LUT index. It is recommended that the three LUTs are 
programmed according to the following format: 
Table 3-10: Recommended LUT Values to Simulate VGA Default 16 Color Palette
Address
Red
Green
Blue
Address
Red
Green
Blue
00
00
00
00
08
00
00
00
01
00
00
0A
09
00
00
0F
02
00
0A
00
0A
00
0F
00
03
00
0A
0A
0B
00
0F
0F
04
0A
00
00
0C
0F
00
00
05
0A
00
0A
0D
0F
00
0F
06
0A
0A
00
0E
0F
0F
00
07
0A
0A
0A
0F
0F
0F
0F
Table 3-11: Recommended LUT Values For 8 bpp Color Mode
Address
Red
Green
Blue
00
00
00
00
01
03
03
05
02
05
05
0A
03
07
07
0F
04
09
09
bank 1
05
0B
0B
bank 1
06
0D
0D
bank 1
07
0F
0F
bank 1