Date: Mon, 31 Jan 2000 18:49:57 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Francisco Pastor 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.