Message-ID: From: Shawn Hargreaves To: Shawn Hargreaves , Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: RE: Allocate physical memory? Date: Thu, 26 Mar 1998 15:03:31 -0000 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk Eli Zaretskii writes: > I think that since CWSDPMI uses services provided by the memory > manager (if there is one) to get memory from the system, and the > memory manager also provides the VDS services, this problem is > taken care of automagically. I don't understand how that could be possible. My understanding (which admittedly may be totally wrong, since I don't have any experience of using EMS, XMS, or suchlike systems), was that CWSDPMI will call these functions to allocate the physical memory space it needs, but that the protected mode mappings for this memory is then entirely an internal matter for the DPMI to take care of. Surely the memory manager doesn't have any access to the CWSDPMI page tables, or any way to rearrange these pages? A VDS implementation needs the ability to remap things at the virtual memory level, and I didn't think this could be done without the involvement of the DPMI server. This isn't really important because I can get it working under win95 before I start to worry about a clean DOS implementation, but if DJ or Charles is reading this, it would be great to have an authoritative answer on whether VDS is currently possible when running under CWSDPMI... Shawn Hargreaves.