X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: "Gerrit van Niekerk" <gerritvn AT gpvno DOT co DOT za> Organization: GPvNO To: djgpp AT delorie DOT com Date: Fri, 02 Nov 2007 11:35:43 +0200 MIME-Version: 1.0 Subject: Re: PM interrupt handling - how to call old old ISR with slower rate than my new ISR Message-ID: <472B0B8F.22018.5B2373CE@gerritvn.gpvno.co.za> In-reply-to: <200711020046.lA20kxob017037@envy.delorie.com> References: <1193963270 DOT 088377 DOT 101010 AT 22g2000hsm DOT googlegroups DOT com>, <200711020046 DOT lA20kxob017037 AT envy DOT delorie DOT com> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 1 Nov 2007 at 20:46, DJ Delorie wrote: > > You need to use the non-chained hook, and call the old one via one of > the other DPMI functions... "call real mode procedure with IRET frame" > Just be warned: If you have a real-mode TSR that also hooked the timer interrupt and that enables interrupts or calls DOS even with all the pre-cautions to ensure DOS re-enterabilty, the system will silently crash if you do the above! I have not found a way around this apart from avoiding it.