Date: Mon, 1 Apr 1996 15:29:55 +0200 (IST) From: Eli Zaretskii To: Tom Seddon Cc: djgpp AT delorie DOT com Subject: Re: Unsupported interrupt 0x0d -- what?! In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.