TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Dominique Curtis
date: 1998-11-11 03:10:26
subject: TC++ Delay() function...

JB> Or should I be using something more sophisticated like calculating
 JB> milliseconds passed or using soemthing from ?

 JB> That would probably be a better move, for example you can get 10
 JB> milisecond precision by querying the clock/calendar chip. (or even
 JB> greater by turning on the 1024Khz interrupt - probably not compatable
 JB> with multitaskers)

Yes..actually... the delay() function does slow/speed up under
multitasking/multinode situations..so perhaps if I timed
milliseconds based on the system clock..hopefully... the delay would
be more steady??  Actually... how does the delay() function work
anyhow, because I have noticed that on different computers, with
different cpu speeds.. the delay time does appear to vary (though
not enough to make me think it was machine dependant)

... I have something BETTER than chocolate. þ Riker
-*- SabreEDIT v1.72a+ [STS97]
--- Ezycom V1.48g0 01fa0167
* Origin: Milky Way, Langley, BC [604] 532-4367 (1:153/307)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 153/307 8086 800 140/1 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.