A83: Re: SpRiTes ?


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

A83: Re: SpRiTes ?




Two words:  Virtual Screen

A virtual screen is an off-screen buffer that is the same size as the
screen.  You draw all of your sprites there, then you dump the virtual
screen to video memory using a LDIR instruction when you are done drawing
all of them:

ld hl,VirtScr
ld de,VIDEO_RAM
ld bc,768
ldir

-----Original Message-----
From: yean yean <yhean@mailcity.com>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Thursday, October 22, 1998 1:48 PM
Subject: A83: SpRiTes ?


>
>Hi !! :)
>That's me again (the french guy...).I'm still learning ASM
>and problems come to me (why???):
>-sprites' problems
>When my sprite is moving (right/left/up/down, whatever),
>it flash..?
>How can I avoid that ?
>
>THX ;)
>
>yhean
>
>(thanks to Linus and Alan C Johnson for their answers about Zasmload)
>
>
>
>Get your FREE E-mail at http://mailcity.lycos.com
>Get your PERSONALIZED START PAGE at http://personal.lycos.com


Follow-Ups: