Category : C Source Code
Archive   : INT24-C2.ZIP
Filename : READ.ME
Output of file : READ.ME contained in archive : INT24-C2.ZIP
that allows you to write your own "critical event handler". The
critical event handler is the code in DOS which prints the message
"Disk Error, (A)bort (R)etry (F)ail"... and gets a keystroke from
the user to decide what to do. This tends to mess up people's pretty
screens so it is nice to catch it. You might even disallow aborting, if
you don't wan't to let people abort the program.
The only thing to keep in mind is that you CANNOT call any DOS routines
in the handler, because DOS is not reentrant.
This file is provided on an as-is basis. It is public domain and I make
no claims whatsoever as to what it actually does 🙂 Hopefully it will
prove useful to PC programmers.
Joel Spolsky
eMail: [email protected] (internet)
SPOLSKY@YALECS (Bitnet)
...!harvard!yale!edu (UUCP)
Let me know if you find any bugs...
Note: There was an earlier version of this floating around that calls
the TC function bioskey(). I got rid of that because bioskey in turn
calls DOS which is not allowed (and often hangs the computer) in
interrupt handlers.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/