🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #343

Critical Error interrupts in TC

#343
From: Richard Brittain
Date: Sat, 14 Apr 1990 03:12
13 lines
1285 bytes
A while ago I requested help on a problem with writing my own critical error
handler in Turbo C.  Well, I finally cracked this one, so in case anyone is
interested:  DONT USE BIOSKEY() in this or any other interrupt handler.

It would seem logical that bioskey() might be safe, and indeed someone posted
code here not long ago with bioskey in and int24 handler.  Well with TC 2.0
and DOS 4.01 at least, the combination does not work.  I wrote my own bioskey
(it's only a 10 line function anyway) and everything works fine.

Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
                                    Cornell University, Ithaca, NY 14853
ARPA: richard@calvin.spp.cornell.edu	
UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard
Technical Details
Message-ID: <1990Apr14.031218.13912@calvin.spp.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!cornell!calvin.spp.cornell.edu!richard

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!cornell!calvin.spp.cornell.edu!richard
From: richard@calvin.spp.cornell.edu (Richard Brittain)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Critical Error interrupts in TC
Message-ID: <1990Apr14.031218.13912@calvin.spp.cornell.edu>
Date: 14 Apr 90 03:12:18 GMT
Reply-To: richard@calvin.spp.cornell.edu.UUCP (Richard Brittain)
Organization: Cornell Space Plasma Physics Group
Lines: 13