Re: A89: Delays, how do you create them


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

Re: A89: Delays, how do you create them




did you check the doccumentation on the system.h header file as i suggested?
There are a few things that you need to know,
before setting a timer, call osfreetimer
next call osregistertimer with the appropriate parameters keeping in mind
that a delay of one second is equal to 20, so a 4 second delay would have a
value of 20*4=80
finally check to see if the timer has expried with ostimerexpired

also, make sure that you use the USER_TIMER...

Greg
_________________________________
All parts should go together without forcing. You must remember that the
parts you are reassembling were disassembled by you. Therefore, if you can't
get them together again, there must be a reason. By all means, do not use a
hammer.
-- IBM maintenance manual, 1925


----- Original Message -----
From: CalenWakefield@aol.com
To: assembly-89@lists.ticalc.org
Sent: Sunday, February 18, 2001 4:40 PM
Subject: Re: A89: Delays, how do you create them


Well, how would I go about creating a, say, 4 second delay?  Or a delay for
any given amount of time?  I have been stuck on how to do this for the past
week.  Can anyone help me?

Thanks,
CalenWakefield


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




References: