www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/05/16:08:45

To: hvb AT netrix DOT com
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu, victor AT euler DOT berkeley DOT edu
Subject: Re: accuracy of clock()
Date: Wed, 05 Oct 94 16:42:03 +0200
From: eliz AT is DOT elta DOT co DOT il

> We had to reprogram the timer chip (8253) to have a faster interrupt rate.  You
> still need to call the original interrupt to have the DOS clock up to date.
> On some hardware platform, this is not achievable as the disk drive actually
> uses the chip timer output for some of its own timing!!!

AFAIK the timer chip has 3 independent timers/counters, each of which
can be programmed individually.  The first 2 are used, but the third
isn't.  So, unless those disks you mention use that third timer, it
can be reprogrammed without affecting system operation in any way
whatsoever, including the luxury to not pass the interrupts to the
original Int 08 handler which maintains DOS time.  Am I right?

	Eli Zaretskii

- Raw text -


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