DOS time() [was Re: Rob: Bug with Windows trasking translator]
- Posted by Bob Elia <bobelia200 at netzero.net> Feb 18, 2006
- 571 views
Vincent wrote: <snip> > Interesting... > > Any speed up with Windows programs? Perhaps also benchmark the DOS time() > function > to see if that speed-up any? You could also try a sieve test and see if that > speed up a tiny bit on both DOS and Windows? > <snip> I have found that using tick_rate()under DOS32 with any legal value other than 0 increases the speed of time() by a factor of more than 100. I think that it replaces the INT #08 (system timer) code with a different function internally. IIRC, it was necessary to call tick_rate() before trapping INT #08 (system timer) or my replacement ASM code wouldn't get executed. Comments, Rob? Bob BTW, thanks for your effort on the include issue. I hope it all works.