Re: A83: Can't get this routine to work...


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

Re: A83: Can't get this routine to work...




In a message dated 6/7/00 11:07:10 PM Eastern Daylight Time, 
dwedit@hotmail.com writes:

> This routine tries to swap the contents of graph_mem with saferam1, but 
ends 
>  up copying much more than 768 bytes:
>  
>  SwapApd:
>   ld hl,graph_mem
>   ld de,saferam1
>   ld bc,768
>  SwapApd2:
>   ld a,(de)
>   ldi
>   dec hl
>   ld (hl),a
>    inc hl
      jp pe,SwapApd2
>   ret
>  



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org