🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1886

Re: Critical error interrupt handler

#1886
From: Michael Rice
Date: Wed, 15 Aug 1990 17:31
20 lines
1471 bytes
In article <758@idacrd.UUCP> mac@idacrd.UUCP (Robert McGwier) writes:
>From article <1990Aug15.071209.15432@caen.engin.umich.edu>, by mrice@caen.engin.umich.edu (Michael Rice):
>> Hello!  I am trying to write a critical error interrupt handler (INT 24)
>> for my Turbo C program.  I am having a bit of a problem.  I have used the
>> example in the "Turbo C Bible" as a skeleton, but I am not having too much
>> luck.  I assume I am somewhere re-entering DOS in the handler which is
>>                           printf("ERROR: Drive %c is not ready.",dletter);
>> }
>
>
>
>Printf calls DOS.
>
I have the strange feeling that both getch() and printf may be calling
DOS.  I believe one can call DOS functions 00 - 0C only.  If this is
true I think both these could be accomplished without being illegal,
but they don't seem to be.  Also I am VERY disappointed in the example
in the Turbo C Bible.  They should at least have legal code.
Thanks.
>
Technical Details
Message-ID: <1990Aug15.173133.15728@caen.engin.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!caen!vette.engin.umich.edu!mrice
References: <1990Aug15.071209.15432@caen.engin.umich.edu> <758@idacrd.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!caen!vette.engin.umich.edu!mrice
From: mrice@caen.engin.umich.edu (Michael Rice)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Critical error interrupt handler
Message-ID: <1990Aug15.173133.15728@caen.engin.umich.edu>
Date: 15 Aug 90 17:31:33 GMT
References: <1990Aug15.071209.15432@caen.engin.umich.edu> <758@idacrd.UUCP>
Sender: news@caen.engin.umich.edu (CAEN Netnews)
Organization: University of Michigan Engineering, Ann Arbor
Lines: 20