Catching DOS interrupt 24H (critical error handler)

Nick Mason mason at tc.fluke.COM
Thu Jan 26 07:48:52 AEST 1989


In article <622 at dsacg1.UUCP> nts0699 at dsacg1.UUCP (Gene McManus) writes:
>From article <336 at sunset.MATH.UCLA.EDU>, by tony at joshua.math.ucla.edu:
>> I've been trying to use the intdosx() function in MSC 5.1 but after 
>> numerous system hang-ups I've decided to ask for help.


Well, its very simple with MSC 5.1.  Turn to page 348 in the Run-Time
reference Manual and observe the _harderr function.  It installs your
function that you write as the new INT24 routine.

You should also look at _dos_setvec.  These have saved me a lot of time.


(What? You mean you haven't read the manuals?!? |-) )


Nick Mason/ms272G/John Fluke Mfg Co/Box C9090/Everett WA 98206 USA
   mason at tc.fluke.COM
UUCP:
 {{cornell,decvax,sdcsvax,tektronix,utcsrgv}!uw-beaver} \
{microsoft,gatech!sb1,hplabs!lbl-csam,decwrl!sun,sunup} - !fluke!mason
		 {ssc-vax,hplsla,wavetek,uw-vlsi,tikal} /
ARPA: fluke!mason at uw-beaver.ARPA
BITNET: "fluke!mason at uw-beaver.ARPA"@PSUVAX1.bitnet
"Avoid the Dull and Ignorant"



More information about the Comp.lang.c mailing list