Date: Wed, 1 Oct 1997 17:03:29 -0700 (PDT) Message-Id: <199710020003.RAA19198@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Olivier PERRON , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Borland _psp workaround ? Precedence: bulk At 02:52 10/1/1997 +0200, Olivier PERRON wrote: >hi all, > >i'm porting a Borland program to DJGPP and can't figure out how to >workaround the Borland _psp global variable. The _psp variable is the segment of your PSP, right? DJGPP stores this in _go32_info_block.linear_address_of_original_psp. Note that this is an unsigned long, and it's a linear address, not a segment. You might use it with dosmemget to put the PSP in a buffer inside your address space and then look at it there. Hope this is helpful. Nate Eldredge eldredge AT ap DOT net