Re: DOS time() [was Re: Rob: Bug with Windows trasking translator]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Bob Elia wrote:
> 
> Robert Craig wrote:
> > ...
> > Another advantage to tick_rate() is that time() won't wrap around 
> > every 24 hours, since I use a 32-bit clock-tick counter to count 
> > the clock interrupts, rather than relying on the usual call to DOS.
> > I figure it would take several months to wrap, at 100 ticks/sec.
>
> 
> Ah, very interesting.
> Does that mean that time(20) would take 5 * "several months" ?

Yes. (You meant tick_rate(20))

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu