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



MTNBIKE560@aol.com wrote:

>  And it looks like you need d intact.
>
>  >  0025   D760 14             inc d
>  >  0026   D761 14             inc d
>  >  0027   D762
>  >  0028   D762 CD E9 51       call _CLine
>  >
>
>
>  Maybe this helps?
>   >>
>
> Then how can l make and run the program without trashing D?

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

--
Trent Lillehaugen
Computer Engineering Major
California Polytechnic University, San Luis Obispo
<tllilleh@polymail.calpoly.edu>



References: