www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/31/23:01:15

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: No DPMI Memory (inconsistent)
Date: Thu, 31 May 2001 21:47:22
Organization: Aspen Technology, Inc.
Lines: 24
Message-ID: <3b16bbea.sandmann@clio.rice.edu>
References: <9f30m9$qho$1 AT murdoch DOT acc DOT Virginia DOT EDU>
NNTP-Posting-Host: dcloan.hou.aspentech.com
X-Trace: selma.aspentech.com 991363978 5466 10.32.115.107 (1 Jun 2001 02:52:58 GMT)
X-Complaints-To: postmaster AT aspentech DOT com
NNTP-Posting-Date: 1 Jun 2001 02:52:58 GMT
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I have a bootable system floppy with DR-DOS 7.03 files on it. I put my
> executable file and CWSDPR0.EXE (which my executable is stubedited to
> use) on the floppy. I booted a Pentium-MMX 166 MHz with 48 MB RAM at
> home using this floppy and ran the program without trouble. Then, I
> took the program to the office and got on an old 133 MHz Pentium (no
> MMX) with 32 MB RAM. The floppy booted, but when I ran my program, I
> got the error message:
> 
> Load error: no DPMI memory
> 
> The CWSDPR0.EXE file is still on the floppy, in the root directory
> where my program also resides. I am invoking the program from that
> directory by typing its name, as at home. The same thing happens if I
> boot up Windows 95 and run it from a DOS box. Any ideas?

Let's suppose your executable requires 33 Mb of memory to run.  When the
stub tries to allocate that much memory on the 48Mb system, it works.  When
it tries on the 32Mb system, it fails in the initial block allocation in
the stub and prints that error message.  Since W95 DOS boxes also may 
limit the DPMI memory, you can get the same failure message.

How much memory does the image require?  Does go32-v2 run ok on those systems?
You could pre-load cwsdpr0 before running go32-v2 to see how much memory
you have ...

- Raw text -


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