www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/01/08:37:00

Date: Mon, 1 Apr 1996 15:29:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tom Seddon <T DOT W DOT Seddon AT ncl DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Unsupported interrupt 0x0d -- what?!
In-Reply-To: <Pine.SOL.3.91-941213.960331171126.18888B-100000@aidan.ncl.ac.uk>
Message-Id: <Pine.SUN.3.91.960401152713.12896D-100000@is>
Mime-Version: 1.0

On Sun, 31 Mar 1996, Tom Seddon wrote:

> I have written a program (BBC emulator) using djgpp 1.12maint2, and
> sometimes when I quit it it prints 'Unsupported interupt 0x0d' and bombs
> to the DOS prompt. I hook the keyboard interrupt vector, but when this
> happens the vector doesn't become unhooked, and I have to press the reset
> button. The 'terminate' routine does the following: 

The keyboard interrupt is treated specially by DJGPP, in a way that you 
cannot unhook it.  The DJGPP FAQ list (faq102.zip from the same place you 
get DJGPP) tells this explicitly in section 18.8.  I think that if you 
don't unhook the keyboard interrupt and just exit, you'll be fine, 
because go32 will restore the vectors on exit anyway.

- Raw text -


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