A82: Re: Delay Routine Needed ASAP!


[Next][Index][Thread]

A82: Re: Delay Routine Needed ASAP!




One way of making a delay is this:

delayit:
LD B,Some_Number
loop:
Halt
djnz loop
ret

If you need longer delays you can increase Some_Number or insert some more
halts. If you need really long delays you could also do this:

LD a,Some_Numer_2
loop2:
call delayit
dec a
jnz loop2
ret

Dines

----- Original Message -----
From: J. R. Johnson <jrjinfinity@hotmail.com>
To: <assembly-82@lists.ticalc.org>
Sent: Monday, November 30, 1998 5:58 PM
Subject: A82: Delay Routine Needed ASAP!


>
>I need a delay routine to delay the screen on displaying text
>
>The sooner the better, I am trying to make a program that atomatically
>displays the next screen of text after 10-15 seconds
>I have the text diplaying correctly, but You have to push buttons to get
>out, I don't want this, PLEASE HELP!!!
>
>can someone help me here?
>
>
>Jon R. Johnson
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com