Sharp MZ-3500 Service Manual page 45

Hide thumbs Also See for MZ-3500:
Table of Contents

Advertisement

-
M Z 3500
[ Explanation)
C - COMMAND CODE
P - PARAMETER
} To
A
Arldres< 0001
;~---
Display dot, specify the display address of the VRAM and
the dot address. Set the command code of the SET mode
(set mode plus CLEAR, REPLACE, and COMPLEMENT
modes
using
"WR ITE",
and
specify
to
start
with
"VECTE". Dot address is structured on the screen in the
following manner.
I I I I
x
I I I I I I I I I I I I I
dAD
=
0
I
2
3
5
6
7
I'
9 10
II
12 13 14
15
[Dot display program example·l)
LD
HL
,5000H
LD
(HL).49H
5000
~
49 H
INC
L
5001
~
01 H
CSRW data
LD
(HL) .01 H
5002
~
00 H
INC
L
5003
~
30 H
LD
(HL) .00 H
5004
~
23 H
}
WRITE data
INC
L
5005
~
6CH
} VECTE data
LD
(HL)
30H
INC
L
LD
(HL).23H
INC
L
LD
(HL) ,6CH
I
LD
C
.60H
; C - 60H (port address during graphic draw)
LD
B
,4H
; B - Byte size CSRW data
LD
HL
.5000H
; HL - Top address of the CSRW data
I
CALL
GDC
; Command,
par~meter
of CSRW - GDC
I
LD
C
,60H
LD
B
.1 H
; B - Byte size of the W RITE data
LD
HL
,5004H
; HL - Top address of the WR ITE data
I
CALL
GDC
,Command, parameter of WRITE - GDC'
I
LD
C
.60H
LD
B
,1 H
; B - Byte number of the VECTE data
LD
HL
,5005H
; HL - Top address of the VECTE data
CALL
GDC
; Command, parameter of the VECTE - GDC
~
-
')0-

Advertisement

Table of Contents
loading

Table of Contents