Mail Archives: djgpp/1997/10/01/20:05:51
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 -