delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/30/05:01:30

From: Chih-Hao Tsai <hao DOT tsai AT uiuc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: pctime14.zip - Millisecond Resolution Timing Lib for DJGPP v2
Date: Mon, 30 Mar 1998 03:46:03 -0600
Organization: Beckman Institute, UIUC
Lines: 31
Message-ID: <351F69DA.FF09A91D@uiuc.edu>
NNTP-Posting-Host: archbald-61.slip.uiuc.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have uploaded to Simtel.Net:

ftp://ftp.simtel.net/pub/simtelnet/msdos/c/pctime14.zip  5444 bytes

pctime14.zip    Millisecond Resolution Timing Lib for DJGPP v2

PCTimer reprograms the 8454 IC (Programmable Interrupt Timer) to get
high
frequency of System Timer Interrupt (IRQ0) whose default frequency is
18.2 Hz.  Since the operating systems rely heavily on the System Timer
Interrupt, increasing its frequency could cause instability.  PCTimer
hooks both protected and real mode int 8h handlers (default handler for
System Timer Interrupt), reprograms 8254 to get higher frequency of
interrupts, but calls the original handlers at a fixed frequency of 18.2

Hz.

Special requirements: None.

Changes: Code has been extensively rewritten to adapt to the new DJGPP
V2
         compiler, new DPMI servers, as well as new operating systems.
         Known bugs should have been fixed (hopefully).

Freeware.  Uploaded by the author.

Chih-Hao Tsai, Beckman Institute, University of Illinois
hao DOT tsai AT uiuc DOT edu
http://www.uiuc.edu/ph/www/c-tsai4/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019