Sharp MZ-3500 User Manual Page 45

  • Download
  • Add to my manuals
  • Print
  • Page
    / 116
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 44
MZ3500
[Explanation]
C - COMMAND CODE 1 To A
P_ parameter »
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 "WRITE", and specify to start with
"VECTE". Dot address is structured on the screen in the
following manner.
Address 0001
XI
dAD= 0 1 2 3 t 5 6 7 8 9 10 11 12 13 14 15
[Dot display program example-1]
LD
HL ,5000H '
LD
(HL).49H
5000 ^ 49 H
INC
L
5001 — 01 H
CSRWdata
LD (HL),01H
5002 ^ 00 H
I NC L
5003 — 30 H
LD
(HL),ООН
5004 23 H } WRITE data
1 NC
L
5005 — 6CH } VECTE data
LD
(HL) ЗОН
I NC
L
LD
(HL),23H
INC
L
LD
(HL),6CH -
1
LD
1
C , 60H
C — 60H (port address during graphic draw)
LD
В , 4H
В — Byte size CSRW data
LD
HL ,5000H
1
HL — Top address of the CSRW data
CALL
1
GDC
1
Command, parameter of CSRW — GDC
LD
1
C , 60H
LD
В . IH
В — Byte size of the WRITE data
LD
HL .5004H
1
; HL — Top address of the WRITE data
CALL
1
GDC
1
Command, parameter of WRITE - GDC
LD
1
C , 60H
LD
в . IH
; В — Byte number of the VECTE data
LD
HL ,5005H
1
; HL — Top address of the VECTE data
CALL
1
GDC
; Command, parameter of the VECTE — GDC
SO
Page view 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 115 116

Comments to this Manuals

No comments