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



In a message dated 97-09-10 05:21:09 EDT, you write:

<< use [PUSH de] BEFORE you call the routine that destroys d, and then [POP
 de], afterwards.
  >>

what routine would cause d to be destroyed?  can you tell me where to put
these commands?  l'm kind of illiterate in making asms but still...here it is
again.

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
0014   D753 CD 77 55       call _CONVOP1
0015   D756 4B             ld c, e
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