S1C6S3N2 TECHNICAL SOFTWARE
EPSON
II-55
CHAPTER 5: PERIPHERAL CIRCUITS (LCD Driver)
Figure display
routine
The segment data memory area C0H–EFH is write-only, so
the display data stored in the buffers "YDSB1"–"YDSB8" (for
arithmetic operations) is written to the segment memory.
Two words of the buffer display data correspond to one
figure of the display. The low address data corresponds to
the value of the A register of DSCG, and the high address
data corresponds to the value of the B register.
YDSB1
EQU
0H
;
YDSSG
EQU
0C0H
;
;
;
DSSG:
LD
X,YDSSG
;
;
LD
Y,YDSB1
;
;
;
DSSGLP:
LDPY
A,MY
;
LDPY
B,MY
;
CALL
DSCG
;
CP
XH,0EH
;
JP
C,DSSGLP
;
RET
;
Segment data buffer first figure start address
Segment memory first figure start address
Store the segment memory first figure start
address to X register
Store the segment data buffer first figure start
address to Y register
Display: Set the display character
Execute "DSCG"
Continue up to the eighth figure
Return to parent routine
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......