Re: A86: Can anyone tell me whats wrong with this?
[Prev][Next][Index][Thread]
Re: A86: Can anyone tell me whats wrong with this?
On Tue, 17 Nov 1998 19:24:12 EST PsyKaBek@aol.com writes:
>Draw:
> push bc ; save coords
> ld hl,(currspr) ; load the pointer of the sprite to draw
> ld de,background ; we will save the background at this
>address
> jr Draw ; draw the masked sprite and save the
>background
> pop bc ; restore coords
> jr Loop ; loop through the program
>
i'm not sure what you're trying to do, but this is what happens here:
push bc
ld hl,(currspr)
ld de,backgrounf
push bc
ld hl,(currspr)
ld de,backgrounf
push bc
ld hl,(currspr)
ld de,backgrounf
push bc
ld hl,(currspr)
ld de,backgrounf
push bc
etc.
-josh
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]