Sharp MZ-3500 60H, Explanation, VECTE. Dot address is structured on the screen, CSRWdata

Models: MZ-3500

1 116
Download 116 pages 54.05 Kb
Page 45
Image 45

M23500

 

 

 

[Explanation]

 

 

 

C-COMMAND CODE

) To

A

 

p_ PARAMETER

'

 

 

Display dot, specify the display address of the VRAM and

Address 0001

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

d A D = 0 1 2 3 1 5 6 7 8 9 10 11 12 13 14 15

 

following manner.

 

[Dot display program example-1]

 

LD

HL

.5000H

LD

(HL)

. 49H

INC

L

 

LD

(HL)

,01H

INC

L

 

5000 — 49 H

5001 — 01 H

5002 — 00 H

5003 — 30 H

CSRWdata

LD

(HL) , OOH

INC

L

 

LD

(HL)

30H

INC

L

 

LD

(HL)

,23H

INC

L

 

LD

(HL) , 6CH

LD

C

, 6 0 H

LD

B

,4H

LD

HL

, 5 0 0 0 H

CALL

GDC

 

LD

C

, 6 0 H

LD

B

, 1H

LD

HL

. 5 0 0 4 H

CALL

GDC

 

LD

C

, 60H

LD

B

, 1H

LD

HL

. 5 0 0 5 H

5004 — 23 H } W R I T E data 5005 — 6CH } VECTE data

C—BOH (port address during graphic draw) B - Byte size CSRW data

HL - Topaddress of theCSRW data

Command, parameter of CSRW - GDC

B - Byte size of the WRITE data HL - Topaddress of theWRITE data

Command, parameter of W R I T E - GDC

B — Byte number of the VECTE data HL - Topaddress of theVECTE data

CALL GDC

; Command, parameter of the VECTE - GDC

Page 45
Image 45
Sharp MZ-3500 service manual 60H, Explanation, VECTE. Dot address is structured on the screen, CSRWdata