www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/31/18:16:00

Date: Fri, 31 Mar 1995 17:08:30 +0500
From: hvb AT netrix DOT com
To: john miller <jwvm AT umdsun2 DOT umd DOT umich DOT edu>
Cc: mail djgpp <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Re: Code for controlling PC Timer
References: <Pine DOT SUN DOT 3 DOT 91 DOT 950331131247 DOT 25650A-100000 AT umdsun2 DOT umd DOT umich DOT edu>

john miller writes:
 > I recall several discussions regarding code for speeding up the PC timer 
 > so that interrupts could occur at a much faster rate but the time-of-day 
 > ISR would still be serviced properly. However, this code did not seem to 
 > be on SimTel and was not mentioned in the new expanded FAQ. Does anyone 
 > know where this code can be found?
 > 
I have code that uses the TOD timer (IRQ0) reprogrammed for 1msec interrupt.
It works relatively well, except it gave me some weird error like,
when the program heavily accesses the disk:

Drive B: not ready, Insert a disk then press any key to continue

while my system does not have floppy drive B.

I am playing with the Real Time Clock (IRQ8) to provide 1msec
interrupt.  I have this code works on one type of PC and fails to run
on another PC.  I am still trying to find out why?

If you need any of this sample code I can send you.

Hung.

- Raw text -


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