II-56
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (LCD Driver)
As in the Figure display routine, the display data stored in
the buffers "YDSBA"–"YDSBP" is written to the segment data
memory.
Segment data buffer apostrophe start address
Segment data buffer period start address
Segment data memory apostrophe start address
Segment data memory period start address
Store the segment data memory apostrophe start address in X register
Store the segment data buffer apostrophe start address in Y register
Display: Transfer the data, and increment X register
Increment the Y register
Repeat up to the eighth figure
Return to parent routine
With the settings of (1) and (2), zero-suppression can be
effected if the display data and buffer data is manipulated
by this subroutine "DSSP".
Apostrophe and
period display
routine
(3) Zero-suppression of buffer data
Specifications
Program
YDSBA
EQU
▲
▲
0H
;
YDSBP
EQU
▲
▲
2H
;
YDSSGA EQU
0E0H
;
YDSSGP EQU
0E2H
;
;
;
DSSGA: LD
X,YDSSGA
;
LD
Y,YDSBA
;
;
DSSGAL:LDPX
MX,MY
;
INC
Y
;
CP
XL,4H
;
JP
C,DSSGAL
;
;
RET
;
DSSP:
CP
MY,0H
;
JP
NZ,DSSPRT
;
INC
Y
;
LD
MY,1H
;
;
DSSPRT:
RET
;
If low address data is "0"
then
make high address data "1"
Return to parent routine
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......