
Epson Research and Development
Page 33
Vancouver Design Center
Programming Notes and Examples
S1D13706
Issue Date: 01/02/23
X31B-G-003-03
In SwivelView 180°, program the start address
= ((desired byte a (panel width
×
panel height
×
bpp
÷
8))
÷
4) - 1.
In SwivelView 270°, program the start address
= (desired byte a ((panel width - 1)
×
panel height
×
bpp
÷
8))
÷
4.
Note
SwivelView 0° and 180° require the panel width to be a multiple of 32
÷
bits-per-pixel.
SwivelView 90° and 270° require the panel height to be a multiple of 32
÷
bits-per-pix-
el. If this is not possible, a virtual display (one larger than the physical panel size) is re-
quired which does satisfy the above requirements. To create a virtual display, program
the main window line address offset to values which are greater than that required for
the given display width.
These registers indicate the number of dwords per line in the main window image (typically
the panel width).
number of dwords per line = image width
÷
(32
÷
bpp)
Note
The image width must be a multiple of 32
÷
bpp. If the panel width is not such a multi-
ple, a slightly larger width is chosen.
Note
Round up to the nearest integer all line address values that have fractional parts.
7.2 Examples
Example 1: In SwivelView 0° (normal) mode, program the main window registers for
a 320x240 panel at color depth of 4 bpp.
1. Confirm the main window coordinates are valid.
The horizontal coordinates must be a multiple of 32
÷
bpp.
320
÷
(32
÷
4) = 40
Main window horizontal coordinate is valid.
REG[78h] Main Window Line Address Offset Register 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
REG[79h] Main Window Line Address Offset Register 1
n/a
n/a
n/a
n/a
n/a
n/a
Bit 9
Bit 8