Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 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