Ink/Cursor Image Manipulation; Ink Image; Cursor Image; Table 12-2: Ink/Cursor Color Select - Epson S1D13505 Technical Manual

Embedded ramdac lcd/crt controller
Table of Contents

Advertisement

Page 134

12.3 Ink/Cursor Image Manipulation

12.3.1 Ink Image

12.3.2 Cursor Image

S1D13505
X23A-A-001-14
The image data for pixel n, (A
(A
,B
)
n
n
00
Color 0
01
Color 1
10
Background
11
Inverted Background
The Ink image should always start at the top left pixel, i.e. Cursor X Position and Cursor Y Position
registers should always be set to zero. The width and height of the ink image are automatically calcu-
lated to completely cover the display.
The Cursor image size is always 64x64 pixels. The Cursor X Position and Cursor Y Position
registers specify the position of the top left pixel. The following diagram shows how to position a
cursor.
P(0;0)

Figure 12-2: Cursor Positioning

where
x = (REG[29h] bits [1:0], REG[28h])
y = (REG[2Bh] bits [1:0], REG[2Ah])
Note
There is no means to set a negative cursor position. If a cursor must be set to a negative position,
this must be dealt with through software.
,B
), selects the color for pixel n as follows:
n
n

Table 12-2: Ink/Cursor Color Select

Color
Ink/Cursor Color 0 Register, (REG[2Dh],REG[2Ch])
Ink/Cursor Color 1 Register, (REG[2Fh],REG[2Eh])
Ink/Cursor is transparent – show background
Ink/Cursor is transparent – show inverted
background
P(x;y)
P(x+63;y)
P(x;y+63)
P(x+63;y+63)
Epson Research and Development
Vancouver Design Center
Comments
REG[29h] bit 7 = 0
REG[2Bh] bit 7 = 0
Hardware Functional Specification
Issue Date: 01/02/02

Advertisement

Table of Contents
loading

Table of Contents