Mail Archives: djgpp/1995/10/08/05:50:00
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 -