Date: Tue, 6 Oct 1998 14:34:39 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: sean cc: djgpp AT delorie DOT com Subject: Re: Old Timer ISR re-run? In-Reply-To: <3618168F.87FBF96F@loop.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.