Re: A86: recalling x and y variables into asm program to draw lines


[Prev][Next][Index][Thread]

Re: A86: recalling x and y variables into asm program to draw lines



MTNBIKE550@aol.com wrioe:

> 
>  0008   D748 CD E3 4C       call _RCLX
>  0009   D74B CD 77 55       call _CONVOP1
>  0010   D74E 43             ld b, e
>  0011   D74F 53             ld d,e
>  0012   D750             
>  0013   D750 CD DF 4C       call _RCLY

push de

>  0014   D753 CD 77 55       call _CONVOP1
>  0015   D756 4B             ld c, e

pop de
ld e,c

>  0016   D757             
>  0017   D757 1D             dec e
>  0018   D758 1D             dec e
>  0019   D759             
>  0020   D759 CD E9 51       call _CLine
>  0021   D75C 26 02          ld h, 2
>  0022   D75E             
>  0023   D75E 1D             dec e
>  0024   D75F 14             inc d
>  0025   D760 14             inc d
>  0026   D761 14             inc d
>  0027   D762             
>  0028   D762 CD E9 51       call _CLine
>  

That should work...

~Stephen Hicks


Follow-Ups: