
Epson Research and Development
Page 51
Vancouver Design Center
Programming Notes and Examples
S1D13706
Issue Date: 01/02/23
X31B-G-003-03
8.3.2 SwivelView 90°
Figure 8-3: Picture-in-Picture Plus with SwivelView 90° enabled
SwivelView 90
°
is a mode in which both the main and sub-windows are rotated 90
°
counter-clockwise when shown on the panel. The images for each window are typically
placed consecutively, with the main window image starting at address 0 and followed by
the sub-window image. In addition, both images must start at addresses which are dword-
aligned (the last two bits of the starting address must be 0).
Note
It is possible to use the same image for both the main window and sub-window. To do
so, set the sub-window line address offset registers to the same value as the main win-
dow line address offset registers.
Note
The Sub-Window X Start Position registers, Sub-Window Y Start Position registers,
Sub-Window X End Position registers, and Sub-Window Y End Position registers are
named according to the SwivelView 0
°
orientation. In SwivelView 90
°
, these registers
switch their functionality as described in Section 8.2, “Registers” .
Example 6: In SwivelView 90
°
, program the main window and sub-window registers
for a 320x240 panel at 4 bpp, with the sub-window positioned at Swivel-
View 90
°
coordinates (60, 80) with a width of 120 and a height of 160.
1. Confirm the main window coordinates are valid.
The vertical coordinates must be a multiple of 32
÷
bpp.
240
÷
(32
÷
4) = 30
Main window vertical coordinate is valid.
sub-window
main-window
sub-window y start position
panel’s origin
sub-window y end position
sub-window x start position
sub-window x end position
90° SwivelView
TM
(REG[8Dh],REG[8Ch])
(REG[85h],REG[84h])
(REG[89h],REG[88h])
(REG[91h],REG[90h])