English
Language : 

S1D13506 Datasheet, PDF (285/696 Pages) Epson Company – S1D13506 Color LCD/CRT/TV Controller
Epson Research and Development
Vancouver Design Center
Page 51
8.4.2 Cursor Image
The following procedures demonstrate how to write an image to the Hardware Cursor
buffer.
Landscape Mode (no rotation)
1. For the LCD cursor, calculate the start address based on the value in REG[071h].
For the CRT/TV cursor, calculate the start address based on the value in REG[081h].
Refer to the REG[071h] and REG[081h] register descriptions for more information.
2. Write the cursor image to the display buffer. The image must be exactly 1024 bytes.
SwivelView Modes
1. Save the current state of REG[1FCh] bit 6.
2. Set REG[1FCh] bit 6 to 0.
3. For the LCD cursor, calculate the start address based on the value in REG[071h].
For the CRT/TV cursor, calculate the start address based on the value in REG[081h].
Refer to the REG[071h] and REG[081h] register descriptions for more information.
4. Perform a software rotate of the cursor image.
5. Write the rotated cursor image to the display buffer. The image must be exactly 1024
bytes.
6. Restore the original state of REG[1FCh] bit 6.
Note
It is possible to use the same cursor image for both LCD and CRT/TV displays. Program
the LCD and CRT/TV Ink/Cursor Start Address registers (REG[071h] and REG[081h])
to the same location. This saves some display buffer which would otherwise be used by
a second cursor image. Note this saves 8192 bytes of display buffer, not 1024 bytes,
because the start address moves in steps of 8192 bytes.
Programming Notes and Examples
Issue Date: 01/02/06
S1D13506
X25B-G-003-03