A SERVICE OF

logo

Page 20 Epson Research and Development
Vancouver Design Center
S1D13504 Programming Notes and Examples
X19A-G-002-07 Issue Date: 01/02/01
This recommended palette assumes that you are using only bank 0 of the three color components.
By programming in the above fashion the following colors will result:
15 bpp Color
Since the Look-Up Table is bypassed in this mode, the LUT programming is unimportant. The
colors on the display are derived from only the top 4 bits of each color combination. Resulting in a
maximum of 2
12
=4096 colors.
16 bpp Color
Since the Look-Up Table is bypassed in this mode, the LUT programming is unimportant. The
colors on the display are derived from only the top 4 bits of each color combination. Resulting in a
maximum of 2
12
=4096 colors.
Gray Shade Modes
In gray shade mode, the S1D13504 treats the Green LUT as a 16 position, 4 bit wide monochrome
LUT. Depending on the selected pixel size, this LUT will provide from 1 to 4 banks.
1 bpp Gray Shade
The S1D13504 has no true Black-and-White mode. 1 bpp Gray consists of a single bank of two
entries. For Black-and-White mode, the LUT entry must be programmed as such:
.
Table 3-12: Examples of 256 Pixel Colors Using Linear LUT
Pixel Value
(binary)
Color
Pixel Value
(binary)
Color
000 000 00 black 000 000 00 black
000 000 10 dark blue 000 000 11 bright blue
000 100 00 dark green 000 111 00 bright green
000 100 10 dark cyan 000 111 11 bright cyan
100 000 00 dark red 111 000 00 bright red
100 000 10 dark magenta 111 000 11 bright magenta
100 100 00 dark yellow 111 111 00 bright yellow
100 100 10 gray 111 111 11 white
Table 3-13: Recommended LUT Values for 1 bpp Gray Shades
Index
(hex)
Look-Up Table
Data
(hex)
00 00
01 0F