🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DOS EXEC function: How to regain control?

#4755
From: Bob Davis
Date: Sun, 17 Feb 1991 02:52
21 lines
1564 bytes
	I am trying to write a TSR to invoke a command when
the hot key triggers by making use of INT 21h, Function 4Bh (the
DOS EXEC function). I succeed in invoking the command, but after
the command completes, a return is not made to my TSR code at the
point immediately after the EXEC invocation as I desire. My system
simply hangs, requiring a reboot.

	I have attempted to set a terminate address via INT 22h
but that has failed.

	How do I make my TSR regain control immediately after
the EXEC'd command completes? I'm SO frustrated...

	Thanks,
_____________________________________________________________________________
Bob Davis, UofALA alum \\ INTERNET: sonny@trantor.harris-atd.com  |  _   _  |
Harris Corporation, ESS \\    UUCP: ...!uunet!x102a!trantor!sonny |_| |_| | |
Advanced Technology Dept.\\ AETHER: K4VNO          |==============|_/\/\/\|_|
PO Box 37, MS 3A/1912     \\ VOICE: (407) 727-5886 | I SPEAK ONLY | |_| |_| |
Melbourne, FL 32902        \\  FAX: (407) 729-3363 | FOR MYSELF.  |_________|
Technical Details
Message-ID: <5534@trantor.harris-atd.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!wuarchive!emory!gatech!uflorida!mlb.semi.harris.com!trantor.harris-atd.com!charybdis!sonny

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!wuarchive!emory!gatech!uflorida!mlb.semi.harris.com!trantor.harris-atd.com!charybdis!sonny
From: sonny@charybdis.harris-atd.com (Bob Davis)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: DOS EXEC function: How to regain control?
Message-ID: <5534@trantor.harris-atd.com>
Date: 17 Feb 91 02:52:46 GMT
Sender: news@trantor.harris-atd.com
Reply-To: sonny@trantor.harris-atd.com (Bob Davis)
Organization: Advanced Technology Dept., Harris ESS, Melbourne, FL
Lines: 21