From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: Q : DPMI 1.0 Function 0x508 Date: Thu, 27 Apr 2000 17:25:43 Organization: Aspen Technology, Inc. Lines: 13 Message-ID: <39087817.sandmann@clio.rice.edu> References: NNTP-Posting-Host: dcloan.hou.aspentech.com X-Trace: selma.aspentech.com 956874610 28899 10.32.115.107 (27 Apr 2000 22:30:10 GMT) X-Complaints-To: postmaster AT aspentech DOT com NNTP-Posting-Date: 27 Apr 2000 22:30:10 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 > 1. How does one emulate __djgpp_map_physical_memory() using only 0.9 > functions? You can't. It's a low level function which requires you mess with the page tables. You could write a VxD for Windows if you could collect enough information to support it, or maybe use some of the back doors to get to ring 0 and them manually manipulate the page tables yourself. Either of this is very likely to be much more effort than you're willing to spend ... If you need read access only you could just copy the contents. If you are willing to keep a copy and periodically compare the two you could update each copy on some time frequency. A real mess.