🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #14545

Re: DOS Program Termination

#14545
From: Michelle Melvin
Date: Mon, 24 Nov 1986 17:39
17 lines
1184 bytes
The control C handler address is at INT 23h.  There are also serveral
addresses stored in the programs PSP.  If you spawn a program without
executing it, you can modify the terminate address, control c address 
and hard error address.  Once the modifications have been made you can
then let the program execute.  When the program terminates, dos returns 
control to these addresses.  This is a much easier method of traping
program termination then traping the interupt.

Anyway, I wrote a structure of the contents of the PSP.  If there is
enough interest, I will post it.

Lloyd W. Tabb
NBI Engineering
{hao,allegra,ucbvax}!nbires!mmm
(303)-938-9258

 
Technical Details
Message-ID: <947@nbires.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!nbires!mmm
References: <2337@ihlpa.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!nbires!mmm
From: mmm@nbires.UUCP (Michelle Melvin)
Newsgroups: comp.sys.ibm.pc
Subject: Re: DOS Program Termination
Message-ID: <947@nbires.UUCP>
Date: Mon, 24-Nov-86 12:39:29 EST
Article-I.D.: nbires.947
Posted: Mon Nov 24 12:39:29 1986
Date-Received: Mon, 24-Nov-86 23:52:08 EST
References: <2337@ihlpa.UUCP>
Reply-To: mmm@nbires.UUCP (Lloyd W. Tabb)
Distribution: net
Organization: NBI Inc, Boulder CO
Lines: 17