www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/01/08:58:46

Date: Mon, 1 Apr 1996 08:51:38 -0500
From: dj (DJ Delorie)
Message-Id: <199604011351.IAA17737@delorie.com>
To: martynas DOT kunigelis AT VM DOT KTU DOT LT
CC: djgpp AT delorie DOT com
In-reply-to: <199604011022.FAA04015@delorie.com> (message from Martynas Kunigelis on Mon, 01 Apr 96 12:01:29 LIT)
Subject: Re: DPMI q's

> [] what happens to the real mode program which started a DPMI process when
>    the latter terminates? I think DPMI terminates it, but correct me if I'm
>    wrong.

DPMI takes care of it.

> [] what is actually used as a real mode transfer buffer in v2.00? As far
>    as I understand the stub.asm, it's the stub's code segment, shrinked to
>    an appropriate size. Is that right? If so, is the PSP left untouched for
>    termination purposes?

Correct, although it usually *grows* the code segment (the stub is
currently only 2k).  The PSP remains.

> depending on the linear addr and size of the image. But damnit, I think
> ld is unable to produce relocatable COFF executables. Or is it? This is my
> last question.

"ld -r -d" produces relocatable objects, but the stub can't load them
without extra stub code.

- Raw text -


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