Re: A83: Delay Routine Need
[Prev][Next][Index][Thread]
Re: A83: Delay Routine Need
In a message dated 9/16/00 10:49:55 PM Eastern Daylight Time,
paxl@caramail.com writes:
> I'm loocking for a routine to control the speed of a sprite.
>
Sprites are graphics and have no amount of "speed" associated with them
unless you refer to a particular velocity for a character represented by a
sprite...
If you want a delay routine, you can do something like this:
ld b,10
delay:
halt
djnz delay
And the 10 can be varied depending on how long you want the delay to be. If
it's a really short delay, use nop instead of halt.
----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org