delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/31/14:37:36

Date: Mon, 31 Jan 2000 18:49:57 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Francisco Pastor <etra-id AT etra DOT es>
cc: djgpp AT delorie DOT com
Subject: RE: I need to advice on timing...
In-Reply-To: <873hoq$1q5$1@talia.mad.ttd.net>
Message-ID: <Pine.SUN.3.91.1000131184512.2604C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 31 Jan 2000, Francisco Pastor wrote:

> Yes, is posible to increase the timer speed 65535 times faster. You only
> have to program the new timer divisor in the 8259 timer controler.
> The MSDOS set the timer counter with the 0xffff value. With a inferior
> varlue you get more ticks by second.

Beware: increasing the timer tick interrupt frequency too much will 
eventually bring your machine to its knees.  Hardware interrupt handling 
has a significant overhead in protected mode.  The FAQ recommends not to 
go beyond 20KHz if the machine needs to do something non-trivial in the 
foreground thread.  Slower machine will probably become busy/unstable even
before 20KHz.

- Raw text -


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