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.
eMail: [email protected] (internet)
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