Article View: comp.sys.ibm.pc
Article #15321Re: Dos Calls and Interrupts
From: Michael McNeil
Date: Thu, 22 Jan 1987 03:41
Date: Thu, 22 Jan 1987 03:41
20 lines
1487 bytes
1487 bytes
In article <119@interlan.UUCP> backman@interlan.UUCP (1014-Larry Backman)
writes:
> I also remember going through contortions to be able to terminate from
> within the clock handler. I don't have code in front of me but as I
> recall, the trick was to call INT 21 function 49 (FREE MEMORY) twice,
> first to free the programs allocated memory, and second to free the
> PSP of the program. At this point we exitted using INT 21 function 4C,
>
> Larry Backman
> Micom - Interlan, Inc.
The memory block of the program begins with the program's PSP,
and therefore the PSP is freed with the program. You meant that
the second call frees the program's environment, didn't you?
Michael McNeil
3Com Corporation
Santa Clara, California
{hplabs|fortune|idi|ihnp4|tolerant|allegra|glacier|olhqma}
!oliveb!3comvax!michaelm
Technical Details
Message-ID:
<644@3comvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-lcc!ames!oliveb!3comvax!michaelmReferences:
<216700005@orstcs.UUCP> <115@interlan.UUCP> <1501@cit-vax.Caltech.Edu> <119@interlan.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!lll-lcc!ames!oliveb!3comvax!michaelm From: michaelm@3comvax.UUCP (Michael McNeil) Newsgroups: comp.sys.ibm.pc Subject: Re: Dos Calls and Interrupts Message-ID: <644@3comvax.UUCP> Date: Wed, 21-Jan-87 22:41:24 EST Article-I.D.: 3comvax.644 Posted: Wed Jan 21 22:41:24 1987 Date-Received: Thu, 22-Jan-87 20:22:21 EST References: <216700005@orstcs.UUCP> <115@interlan.UUCP> <1501@cit-vax.Caltech.Edu> <119@interlan.UUCP> Reply-To: michaelm@3comvax.UUCP (Michael McNeil) Organization: 3Com Corp., Santa Clara, CA Lines: 20 Keywords: TSR, Control-C