
LCD Controller
4-14
MC68328 DRAGONBALL PROCESSOR USER’S MANUAL
MOTOROLA
XM9-XM0
Pixels on a line are numbered 0 to XMAX for a screen width of XMAX +1 pixels. XMAX+1
must be a multiple of 16 (see Figure 4-10).
4.7.2.2 SCREEN HEIGHT REGISTER (YMAX).
YM8-YM0
This register (Figure 4-11) specifies the LCD panel height in term of pixels or lines. The
lines are numbered from 0 to YMAX for a total of YMAX + 1 lines, which is equal to the
screen height in pixel count.
4.7.3 Cursor Control Registers
4.7.3.1 CURSOR X POSITION REGISTER (CXP).
CC1-CC0
Cursor control bits
00= Transparent, cursor is disabled
01= Full density (black) cursor
10= Reversed video
11= Do not use
CXP9-CXP0
Cursor’s horizontal starting position X in pixel count (from 0 to XMAX).
4.7.3.2 CURSOR Y POSITION REGISTER (CYP).
CYP8-CYP0
Cursor’s vertical starting position Y in pixel count (from 0 to YMAX).
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
UNUSED
YM9
YM8
YM7
YM6
YM5
YM4
YM3
YM2
YM1
YM0
Address: $(FF)FFFA0A
Reset Value: $01FF
Figure 4-11. Screen Height Register YMAX
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CC1
CC0
UNUSED
CXP9
CXP8
CXP7
CXP6
CXP5
CXP4
CXP3
CXP2
CXP1
CXP0
Address: $(FF)FFFA18
Reset Value: $0000
Figure 4-12. Cursor X Position Register
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
UNUSED
CYP8
CYP7
CYP6
CYP5
CYP4
CYP3
CYP2
CYP1
CYP0
Address: $(FF)FFFA1A
Reset Value: $0000
Figure 4-13. Cursor Y Position Register
Summary of Contents for DragonBall MC68328
Page 5: ...vi MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Page 25: ...Overview 1 14 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Page 45: ...System Integration Module 2 20 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Page 103: ...Parallel Ports 7 16 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Page 117: ...UART 8 14 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...
Page 127: ...SPI Master 10 6 MC68328 DRAGONBALL PROCESSOR USER S MANUAL MOTOROLA ...