www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/17/04:19:51

Date: Thu, 17 Nov 1994 10:44:26 +22305931 (WAUST)
From: Ron Grunwald <rgrunwal AT bluering DOT cowan DOT edu DOT au>
Subject: Re: Virtual memory and DPMI (and Win 3.1)
To: DJ Delorie <dj AT stealth DOT ctron DOT com>
Cc: MRMILLER AT delphi DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu


On Wed, 16 Nov 1994, DJ Delorie wrote:

> > Normal DOS:
> > ===========
> >     default:    fails after allocating approx 4 Mb with the 
> >                   message "DPMI: Not enough memory"
> >     nodpmi:     ran sucessfully
> >  
> > Win DOS box:
> > ============
> >     default:    ran sucessfully
> >     nodpmi:     won't run at all with some message about being in V86
> >                   mode
> >  
> > Isn't virtual memory suppose to work, regardless of the presence of
> > dpmi (assuming you have the disk space)?  Is there some way to set GO32
> > so that the program would work whether or not it was run from a Windows
> > DOS box or not?
> 
> Virtual memory in DPMI mode is limited by the amount of virtual memory
> that the DPMI provider is willing to give you.  For qdpmi, this is the
> MAXMEM option.  I think it defaults to 4Mb.


I think that from previous queries on this list it was also specified that
QEMM's virtual memory management under QDPMI is incompatible with GO32.
From my own experiences this was found to be true, since the only memory
GO32 is given from QDPMI is actual memory. If more memory was required
than was physically available, the message "DPMI: Not enough memory"
would come up.


> 
> In Windows, the ONLY api available is DPMI, so if you disable dpmi,
> there is no way to enter protected mode.
> 

This works very well. Windows' DPMI host is compatible with GO32.



Regards, Ron.



 ********************************************************************
 | Author.............. Ron Grunwald                                | 
 | Internet............ rgrunwal AT bluering DOT cowan DOT edu DOT au              | 
 | Phone............... (09)273 8027 or (09)273 8468                |
 |------------------------------------------------------------------|
 | Department.......... Information Technology                      | 
 | Division/Faculty.... Operations and Systems Management           | 
 | Institute........... Edith Cowan University, Churchlands         | 
 | Location............ Perth, Western Australia                    |
 ********************************************************************
 "I don't have any solution but I certainly admire the problem!"

 



- Raw text -


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