www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/16/20:32:11

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: Virtual memory and DPMI (and Win 3.1)
To: MRMILLER AT delphi DOT com (Martin Miller)
Date: Wed, 16 Nov 1994 12:14:31 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> Win DOS box:
>     nodpmi:     won't run at all with some message about being in V86 mode

You must use DPMI under Windows.

> I'm using DOS 6.2 and QEMM 7.04 with QDPMI,SYS installed, so dpmi
> support should be there even when not using a Windows DOS box, right?.
>
> Normal DOS:
>     default:    fails after allocating approx 4 Mb with the
>                   message "DPMI: Not enough memory"

Yes, you are using QDPMI in this case, and it is obviously not configured
to provide virtual memory.  If you use DPMI, you are at the mercy of the
DPMI provider to provide the virtual memory.

> 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?

Two possible fixes.  1) Turn off QDPMI. 2) Fix QDPMI configuration to
   provide virtual memory.

- Raw text -


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