Page 58
Epson Research and Development
Vancouver Design Center
REG[042h] LCD Display Start Address Register 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 9
Bit 17
Bit 0
Bit 8
Bit 16
REG[043h] LCD Display Start Address Register 1
Bit 15 Bit 14 Bit 13 Bit 12
Bit 11
Bit 19
Bit 10
Bit 18
REG[044h] LCD Display Start Address Register 2
n/a
n/a
n/a
n/a
The LCD Display Start Address Registers must be adjusted according to the desired
SwivelView rotation and color depth. Set the LCD Display Start Address Registers based
on the values provided for each color depth in the following table. Panel Width (PW) is the
horizontal panel size in pixels. Panel Height (PH) is the vertical panel size in lines (i.e. for
a 640x480 panel, PW is 640 and PH is 480 regardless of display rotation). Stride is the
based on the previously calculated memory offset in bytes (Stride = MemoryOffset × 2).
Table 9-3: LCD Display Start Address Values
SwivelView Enable
LCD Display Start Address Value
Display Rotated
Bit 1
Bit 0
15/16 Bpp mode
8 Bpp mode
0
0
0
1
1
0
1
0
1
0 degrees
90 degrees
180 degrees
270 degrees
0
(1024 - PW)
(1024 - PW) ÷ 2
(Stride × PH - (Stride - 2 × PW)) ÷ 2 - 1 (Stride × PH - (Stride - PW)) ÷ 2 - 1
(Stride × PH) ÷ 2 - 1 (Stride × PH) ÷ 2 - 1
9.3 Limitations
The following limitations apply when SwivelView bit 0 is set to 1 (rotation by 90° or 270°):
• Only 8/15/16 bpp modes can be rotated 90 or 270 degrees.
• Hardware Cursor and Ink Layer images are not rotated - software rotation must be used.
SwivelView must be turned off when the programmer is accessing the Hardware Cursor
or the Ink Layer. The blit engine ignores the SwivelView bits also.
• Pixel panning works vertically.
• It is not possible to rotate an already displayed image. The image must be redrawn.
Note
Drawing into the Hardware Cursor/Ink Layer with SwivelView enabled requires dis-
abling SwivelView, drawing in the Hardware Cursor/Ink Layer buffer, then re-enabling
SwivelView.
S1D13506
X25B-G-003-03
Programming Notes and Examples
Issue Date: 01/02/06