Xref: news2.mv.net comp.os.msdos.djgpp:2309 From: Tom Seddon Newsgroups: comp.os.msdos.djgpp Subject: Unsupported interrupt 0x0d -- what?! Date: Sun, 31 Mar 1996 17:17:50 +0100 Organization: University of Newcastle upon Tyne Lines: 35 Message-ID: NNTP-Posting-Host: aidan.ncl.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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: unhook keyboard vector go to text mode write cached disk images back to disk quit and it usually seems to crash round about the 'write disk' bits (the disk images become corrupted and truncated halfway, as if the computer crashed when writing them). Can anyone help? I'm at my wits' end, and it's the only thing stopping me releasing the program happily (in its current state it will need BEWARE! messages everywhere!). What is interrupt 0x0d? What is it used for? Why will I get it? I have also had it when running Turbo Debugger 386 and Soft-Ice, if that's any help. And I have a Seagate drive and am running the QD6580 TSR drive speed-up device driver -- could this be causing it? Or is there just something fundamentally wrong with my program (djgpp's docs weren't much help.) Any help much appreciated! (Please reply be e-mail, thnks) --Tom | ** Tom Seddon ** E-mail: T DOT W DOT Seddon AT ncl DOT ac DOT uk - . - www: http://www.ncl.ac.uk/~n5013784/ /|\ //|\\ If you help a friend in need, he's sure to remember you... ///|\\\ next time he's in need. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^