Article View: comp.sys.ibm.pc
Article #26720Re: Program Loaded Where? from inside a
From: david
Date: Sun, 24 Apr 1988 09:57
Date: Sun, 24 Apr 1988 09:57
28 lines
1438 bytes
1438 bytes
From squid!david Fri Apr 22 22:18 CST 1983 remote from occrsh
From: ihnp4!occrsh!squid!david (Safe from sanity)
Date: Fri, 22 Apr 83 22:18:22 CST
Message-Id: <831112271E@squid.UUCP>
Subject: Re: Program Loaded Where? from inside another
/**
** Address in header may be incorrect. Please reply to:
** { ihnp4 | moss | cbosgd | uokmax }!occrsh!squid!david
**
**/
>>goes away until the new program has done its stuff. My calling program
>>needs to know where the called program got loaded in memory. Does
>>anyone have any hints on how to do this?
>
>Try using the psp_parent segment at 0x2C into the called programs PSP.
> ++++
>Richard Marks
The correct offset is 0x16 (one of those undocumented things).
So, we know the code or fixup begins at offset 0x100 from the psp, but how
do you find the length of the fixup? How do you find where the data begins
without being given the data seg?
David Drexler {at&t sites}!occrsh!squid!david
Technical Details
Message-ID:
<141900032@occrsh.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pacbell!att-ih!occrsh!occrsh.ATT.COM!davidReferences:
<39@softart.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pacbell!att-ih!occrsh!occrsh.ATT.COM!david From: david@squid.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Program Loaded Where? from inside a Message-ID: <141900032@occrsh.ATT.COM> Date: 24 Apr 88 09:57:00 GMT References: <39@softart.UUCP> Lines: 27 Nf-ID: #R:softart.UUCP:-3900:occrsh.ATT.COM:141900032:000:986 Nf-From: squid.UUCP!david Apr 24 04:57:00 1988