27 GRAPHICS ENGINE (GE)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
27-17
3.5.4 Palette Selection
Table 27.
Palette Select[1:0] bits
Palette
0x3
Palette 3
0x2
Palette 2
0x1
Palette 1
0x0
Not used
Palette Select[1:0] bits
Original color data
in drawing object/image
Converted
color data
Working area
(VRAM)
Palette 1
Color conversion
data 0–255
Palette 3
Color inversion
Writing
effect
Palette 2
Color inversion
3.5.3 Palette Configuration
Figure 27.
Palette 1
Specifying Palette 1 substitutes the color defined in the palette for the drawing color specified in the com-
mand or original color in the image data when drawing in 1/2/4/8 bpp mode.
Palette 1 is a 256-byte table and is located from address 0x302800 to 0x3028ff. The entries of 256 bytes
correspond to original color data 0 to 255. Write the color data by which the original color will be substi-
tuted to each entry. 16 bpp mode does not use Palette 1 even if it is specified.
Original color data 0–255
Converted
color data
2, 4, or 8-bit color conversion data
0
1
2
3
4
5
15
16
2, 4, or 8-bit color conversion data
2, 4, or 8-bit color conversion data
2, 4, or 8-bit color conversion data
4 or 8-bit color conversion data
4 or 8-bit color conversion data
4 or 8-bit color conversion data
8-bit color conversion data
17
8-bit color conversion data
254 8-bit color conversion data
255 8-bit color conversion data
:
:
3.5.4 Palette 1 Configuration
Figure 27.
Palette 2
Palette 2 is used to invert the specified drawing color or original colors in images.
Example: 8 bpp mode
0x00
→
0xff 0x0f
→
0xf0 0x7f
→
0x80
Palette 3
Palette 3 converts the drawing color using Palette 1 and then inverts the converted color data. The 16 bpp
mode does not use Palette 3 even if it is specified.
Arc/Circular section
The circle command and the solid filled circle command allow selection of one or more arcs and circular sec-
tions to be drawn from eight locations split by 45° using the 1/8 Position Select[7:0] bits.