27 GRAPHICS ENGINE (GE)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
27-63
The area that has been rewritten by a drawing command can be checked using the GE_UPDT_ST and
GE_UPDT_END registers. These registers retain the upper left and lower right coordinate values of the
rectangular region that contains the objects/images that have been drawn.
The GE_UPDT_ST and GE_UPDT_END registers are cleared by writing any value.
D[15:12] Reserved
D[11:0] UPDT_UPL_X[11:0]: Updated Area Upper Left Corner X Coordinate Bits
Indicates the X coordinate value of the updated area upper left corner. (Default: 0xfff)
Notes: • The coordinates of the updated area can be obtained in the following cases:
1. At least one opaque dot of the specified object is located in the drawing area.
2. As for a transparent object in the drawing area, a copy command or a block transfer com-
mand is executed, or the writing effect of rewrite or mesh specifies the transparent color.
• The coordinates specified for drawing are logical values without consideration of the rotation
angle set by VWIN_ROT[1:0]/GE_ROTATE register. The GE converts the logical coordinates
into physical values according to the rotation information before it writes to the VRAM. The
update area coordinates are physical values after being rotated, therefore the update area co-
ordinates may differ from those specified by the commands.
Updated Area End Position Register (GE_UPDT_END)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Updated Area
End Position
Register
(GE_UPDT_
END)
0x302474
(32 bits)
D31–28 –
reserved
–
–
–
0 when being read.
D27–16 UPDT_LWR
_Y[11:0]
Updated area lower right corner
Y coordinate
0 to 4,095
0x0 R/W Cleared by writing
any data.
D15–12 –
reserved
–
–
–
0 when being read.
D11–0 UPDT_LWR
_X[11:0]
Updated area lower right corner
X coordinate
0 to 4,095
0x0 R/W Cleared by writing
any data.
D[31:28] Reserved
D[27:16] UPDT_LWR_Y[11:0]: Updated Area Lower Right Corner Y Coordinate Bits
Indicates the Y coordinate value of the updated area lower right corner. (Default: 0x0)
D[15:12] Reserved
D[11:0] UPDT_LWR_X[11:0]: Updated Area Lower Right Corner X Coordinate Bits
Indicates the X coordinate value of the updated area lower right corner. (Default: 0x0)
Palette 1 (GE_PALETTE1)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Palette 1
(GE_
PALETTE1)
0x302800
|
0x3028ff
(8 bits)
D7–0 –
1/2/4/8-bit color data
0x0 to 0xff
X
R/W
Specifying Palette 1 in a drawing command substitutes the color defined in the palette for the drawing color speci-
fied in the command 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 substituted to each entry.
16 bpp mode does not use Palette 1 even if it is specified.
CCT1 4-bit Entries (GE_CCT1_4BIT)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
CCT1 4-bit
Entries
(GE_CCT1_
4BIT)
0x302910
|
0x30291f
(8 bits)
D7–0 –
CCT1 data
(User defined 4 to 8 bpp conver-
sion data)
0x0 to 0xff
X
R/W
CCT1 (Color Conversion Table 1) is located at 22 bytes from address 0x302910. This table is used for converting
color depth when the color conversion table in the header of the image data to be decompressed/drawn is disabled
(bcTable = 0). Conversion data must be written to the addresses shown above in advance.
Addresses 0x302910 to 0x30291f is the 4 to 8 bpp conversion data area.