🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5798

DOS re-entrancy

#5798
From: G J Karayannopoulos
Date: Fri, 28 Feb 1986 17:03
20 lines
1477 bytes

I understand that there is a re-entrancy problem with DOS function 
calls (int 21h). In particular, if an application is interrupted 
WHILE making a DOS function call, by a hardware interrupt handler,
and the handler itself makes its own DOS function calls, then when
the handler returns, the original application cannot complete its
DOS function call. The reason is that int 21h is not re-entrant.

Is there any way around that? I know of one memory-resident program
that gets invoked by a particular combination of key strokes, but
if at the time you attempt to invoke it you are doind a DOS call,
the program will beep and refuse to operate. My question is this:
How does the resident program KNOW that a DOS function call was made
when it was invoked? Is there some DOS flag that one can test to see
if int 21h was running? I would appreciate any ideas or info.
Thanks in advance.


					George Karayannopoulos
Technical Details
Message-ID: <103@nvuxr.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!pyuxww!pyuxv!nvuxh!nvuxb!nvuxr!karayan

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site nvuxr.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!pyuxww!pyuxv!nvuxh!nvuxb!nvuxr!karayan
From: karayan@nvuxr.UUCP (G J Karayannopoulos)
Newsgroups: net.micro.pc
Subject: DOS re-entrancy
Message-ID: <103@nvuxr.UUCP>
Date: Fri, 28-Feb-86 12:03:55 EST
Article-I.D.: nvuxr.103
Posted: Fri Feb 28 12:03:55 1986
Date-Received: Sat, 1-Mar-86 17:25:03 EST
Organization: Bell Communications Research, Piscataway, NJ
Lines: 21