Date: Sun, 5 Nov 2000 08:41:00 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jerzy Klejnowski cc: djgpp AT delorie DOT com Subject: Re: Buffers and physical addresses In-Reply-To: <3A04A997.D8194D69@polbox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 5 Nov 2000, Jerzy Klejnowski wrote: > As DPMI "hides" physical locations entirely, I've > tried to use locked XMS memory. But when I call 'himem.sys' from > djgpp program, it says: "I am here, but I have 0 bytes of memory > available". Install a memory manager, such as EMM386 or one of its replacements, and the problem will go away. As the DJGPP FAQ explains in section 15.8, when VCPI is not available, CWSDPMI allocates all of the extended memory to itself, because CWSDPMI is not a memory manager. > is it possible to tell cwsdpmi or pmode/dj: "leave x MB of memory, > take the rest"? You could install a TSR that lies about the amount of free extended memory, if installing a memory manager is not an option.