www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/14/05:24:12

Date: Tue, 14 May 1996 12:05:33 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ralf Suessbrich <ralf DOT suessbrich AT nuernberg DOT netsurf DOT de>
Cc: djgpp AT delorie DOT com
Subject: Re: Interrupt Handler
In-Reply-To: <31983628.7AF2@nuernberg.netsurf.de>
Message-Id: <Pine.SUN.3.91.960514120313.59C-100000@is>
Mime-Version: 1.0

On Tue, 14 May 1996, Ralf Suessbrich wrote:

> After 20 seconds it comes back to a dos prompt, but something went
> wrong with restoring the old vector: the keyboard is still out of 
> function.

As far as the restoring goes: don't restore the keyboard handler when you 
exit.  DJGPP handles the keyboard interrupt specially, so you shouldn't 
(and cannot) restore the previous handler; but the DJGPP exit code will 
do it for you.

That still doesn't explain why your program doesn't work, but that's 
another issue.

- Raw text -


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