[A83] Re: Delay (sorry about so many questions..)


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

[A83] Re: Delay (sorry about so many questions..)




First of all, Your not stupid!!!! Your a beginner :)
So use this little routine

;Delay Routine (b=nbr of halt)
Delayb:
	ei
Delayb_loop:
	halt
	djnz	Delayb_loop
	ret

You just have to call this routine... The halt wait to a interrupt occur a 
that make a short delay... 
Hope that help
Paxl

On Monday 21 May 2001 06:51 pm, you wrote:
> Sorry I'm stupid...I'm just beginning. Is there any way to add a
> delay into an ASM program, like to slow down an animation etc..?
> Thanks again.
> caffeine43@netzero.net on 05/21/2001



References: