delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/01/20:05:51

Date: Wed, 1 Oct 1997 17:03:29 -0700 (PDT)
Message-Id: <199710020003.RAA19198@adit.ap.net>
Mime-Version: 1.0
To: Olivier PERRON <olivier DOT perron AT art DOT alcatel DOT fr>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Borland _psp workaround ?

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019