delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/03/17/11:31:26

From: sandmann AT clio DOT rice DOT edu (Charles W. Sandmann)
Subject: Re: DPMI & new GO32
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 17 Mar 1993 10:01:13 -0600 (CST)

>DJ writes:
>Worst case.  I've looked at DPMI 0.9, and I think some programs might
>work, but they'd have to be NMAGIC instead of ZMAGIC executables
>(that's a special link switch), and go32 doesn't support NMAGIC at the
>moment.  Also, DPMI 0.9 would REQUIRE that you preset a fixed stack
>size.

Ummm, I always hate the worst case...  I haven't hacked enough on writing
DPMI code yet to know what pain is involved.  But this reply reminds me
of one wish and adds a new one.  Since OS/2 2.0 is also braindead enough
to need a stack size in native images, (the microsoft fingerprints remain)
it would be nice if I could run the application under DOS using GO32 and 
inquire at image exit (in DEBUG32?) how much stack had actually been used by 
the image.  This same feature could be used to specify (with safety margin) 
the stack for the DPMI version of the code (and my OS/2 ports...).  And, if 
NMAGIC form could potentially run under GO32, then there would be the 
potential for a single exe image sometime in the distant future.

- Raw text -


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