Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.os.msdos.programmer FAQ part 4/5
Section - - How can I time events with finer resolution than the system clock's 55 ms (about 18 ticks a second)?

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Restaurant inspections ]


Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document: - How can a program reboot my PC?
Next Document: - How can I find the error level of the previous program?
See reader questions & answers on this topic! - Help others by sharing your knowledge
Date: 8 Feb 2002 20:19:05 -0400

 The PC Timing FAQ / Application Note, maintained by Kris Heidenstrom
 (kheidenstrom@actrix.gen.nz), contains information relating to timing
 with PC hardware and software. It can be found on SimTel:
 <http://www.simtel.net/pub/pd/46935.html>

 The following files, among others, are downloadable from SimTel in the
 <http://www.simtel.net/pub/msdos/sysutl/> directory:

   atim.zip       4783  881126  Precision program timing for AT

 In the <http://www.simtel.net/pub/msdos/c/> directory:

   millisec.zip   37734  911205  MSC/asm src for millisecond timing
   mschrt3.zip    53708  910605  High-res timer toolbox for MSC 5.1
   msec_12.zip    8484   920320  High-def timer v1.2 (C,ASM)
   ztimer11.zip  77625  920428  Microsecond timer for C, C++, ASM

 For Turbo Pascal users, source and object code are downloadable as:
 <ftp://garbo.uwasa.fi/pc/turbopas/>

 Also see "Q: How is millisecond timing done?" in FAQPAS.TXT,
 downloadable as part of: <ftp://garbo.uwasa.fi/pc/link/>

User Contributions:

1
Ben in Seattle
Jun 2, 2026 @ 4:16 pm
Another solution is to use a parallel port loopback plug. It makes the PC think there is a printer attached. The benefit of this is it doesn't require anticipating the problem with ANSI.SYS escape sequences nor does it make you wait half an hour for the "Abort, Retry, Ignore?" prompt, as some versions of DOS do.

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document: - How can a program reboot my PC?
Next Document: - How can I find the error level of the previous program?

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
jeffrey@carlyle.org (Jeffrey Carlyle)





Last Update March 27 2014 @ 02:11 PM