Page 40
Epson Research and Development
Vancouver Design Center
S1D13503
Programming Notes and Examples
X18A-G-002-06
Issue Date: 01/01/30
5 ADVANCED TECHNIQUES
This section presents information on the following:
•
virtual displays
•
bitmaps and text displays
•
reading and writing to the S1D13503 registers
•
split screen displays
•
panning and scrolling
•
power saving
5.1 Virtual Displays
This section presents a detailed description of the Address Pitch Adjustment Register, followed by a description of a virtual
display. Afterwards an example is given, showing how to create a virtual display.
5.1.1 Registers
Register bits discussed in this section are highlighted.
bits 7-0
Address Pitch Adjustment Bits [7:0]
This register controls the virtual display by setting the numerical difference between the last address of a
display line, and the first address in the following line.
If the Address Pitch Adjustment is not equal to zero, then a virtual screen is formed. The size of the virtual
screen is only limited by the available display memory. The actual display output is a window that is part
of the whole image stored in the display memory. For example, with 128K of display memory, a 640x400
16-gray image can be stored. If the output display size is 320x240, then the whole image can be seen by
changing display starting addresses through AUX[06] and [07], and AUX[08] and [09]. Note that a virtual
screen can be produced on either a single or dual panel.
In 8-bit memory interface, if the Address Pitch Adjustment is not equal to zero, a virtual screen with a line
length of (Line Byte Count +AUX[0D]) bytes is created, with the display reflecting the contents of a win-
dow (Line Byte Count+1) bytes wide. The position of the window on the virtual screen is determined by
AUX[06] and [07], and AUX[08] and [09].
In 16-bit memory interface, if the Address Pitch Adjustment is not equal to zero, then a virtual screen with
a line length of 2x(Line Byte Count +AUX[0D]) bytes is created, with the display reflecting the contents
of a window 2x(Line Byte Count+1) bytes wide. The position of the window on the virtual screen is deter-
mined by AUX[06] and [07], and AUX[08] and [09].
AUX[0D] Address Pitch Adjustment Register
I/O address = 1101b, Read/Write.
Addr Pitch
Adjustment
Bit 7
Addr Pitch
Adjustment
Bit 6
Addr Pitch
Adjustment
Bit 5
Addr Pitch
Adjustment
Bit 4
Addr Pitch
Adjustment
Bit 3
Addr Pitch
Adjustment
Bit 2
Addr Pitch
Adjustment
Bit 1
Addr Pitch
Adjustment
Bit 0
electronic components distributor