From: Chih-Hao Tsai 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 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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/