delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/06/07:34:30

Date: Tue, 6 Oct 1998 14:34:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: sean <donandjudy AT loop DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Old Timer ISR re-run?
In-Reply-To: <3618168F.87FBF96F@loop.com>
Message-ID: <Pine.SUN.3.91.981006143400.17118X-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sun, 4 Oct 1998, sean wrote:

> I know, that after speeding up higher then 18.2HZ, you should run the
> Old ISR again every 55ms.
> But, all the code I've found stores the Old ISR function into a
> Variable, rather then into an interrupt function prototype.
> 
> I've tried a few things, but they crashed.

I suggest to download the PCTIME14.ZIP package from SimTel
(ftp://ftp.simtel.net/pub/simtelnet/msdos/c/pctime14.zip) and use it
as a base for your code.  That package (btw, it's mentioned in the
FAQ) already solves the problem of chaining to the original handler
when the timer is reprogrammed to run faster.

- Raw text -


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