[A83] Re: delay code
[Prev][Next][Index][Thread]
[A83] Re: delay code
Use a loop and a subloop, kind of like this
LD BC,0999h
OUTLOOP: ;Outer loop
PUSH BC
LD BC,500h
INNERLOOP:
DEC BC
LD A,B
OR C
JR NZ,INNERLOOP
POP BC
DEC BC
LD A,B
OR C
JR NZ,OUTLOOP
Naturally, you should adjust the values loaded into BC
Hope that helps...
-Tom
-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of
VertGuy@aol.com
Sent: Monday, March 25, 2002 10:40 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] delay code
I want to slow down a section of code so it doesn't refresh at such a
rate
that it becomes a blur. I've tried several repetitive (non-functioning)
lines of code but I can't see a difference. What is the best way to
slow the
calc down?
Follow-Ups:
References: