www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/08/05:50:00

Date: Sun, 8 Oct 1995 11:32:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gert van Antwerpen <antwerp AT tpd DOT tno DOT nl>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Virtual memory in DJGPP-2.0

On Sun, 8 Oct 1995, Gert van Antwerpen wrote:

> Question, I found that using "malloc" I can only allocate as much as my 
> physical memory in my computer, even if I run in a DOS box in Windows. Is 
> there a possibility to have VIRTUAL memory?

Be sure to set thing up in your PIF file for DOS box (dosprmpt.pif) so 
that Windows lets DOS programs use as much memory as it has.  You should 
set the maximum EMS and XMS memory to -1 for this to work, and the 
minimum EMS and XMS to, say, 4MB.  Also, check your virtual memory in the 
control panel and make sure virtual memory is enabled.

- Raw text -


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