Re: A86: buffers (again)


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

Re: A86: buffers (again)




you might want to move the stack out of the $f800-$fbff area before you
overwrite it, or use $f600 instead :)
also make sure you're copying the right direction (unless you changed to
using $ca00 one of the buffer planes?)
maybe:
	ld hl,$f200
	ld de,$fc00
	call buffer1
;	ld hl,$f600 isn't needed because $f200+$0400=$f600
	ld de,$ca00
buffer1:
	ld bc,$0400
	ldir
	ret

-josh

On Fri, 5 May 2000 21:53:57 EDT ComAsYuAre@aol.com writes:
> 
> In a message dated 5/5/00 9:53:04 PM Eastern Daylight Time, 
> Cybeross@aol.com 
> writes:
> 
> > buffer:       ;copies buffer to screen
> >   call CloseGray
> >   ld hl,$f200
> >   ld de,$fc00
> >   ld bc,1024
> >   ldir
> >   ld de,$f800
> >   ld hl,$ca00
>       ld bc,1024   ;<======
> >   ldir
> >   ret
> 
> 
> 
> ----
> Jonah Cohen
> <ComAsYuAre@aol.com>
> http://jonah.ticalc.org
> 

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.