Epson Research and Development

Page 19

Vancouver Design Center

 

 

 

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 ...)

Table 3-10: Recommended LUT Values to Simulate VGA Default 16 Color Palette

Address

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

 

 

 

 

Address

Red

Green

Blue

 

 

 

 

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

 

 

 

 

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-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

 

 

 

 

Programming Notes and Examples

S1D13504

Issue Date: 01/02/01

X19A-G-002-07

Page 157
Image 157
Epson S1D13504 manual Recommended LUT Values For 8 bpp Color Mode