Date: Wed, 11 Aug 1999 14:56:20 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Czamai cc: djgpp AT delorie DOT com Subject: Re: Accessing memory above an adress of 1MB In-Reply-To: <37aeb1ba.11535499@NotesXNT> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 9 Aug 1999, Martin Czamai wrote: > My problem is, that the __djgpp_map_physical_memory (mappedBAR, > NoBytes, BaseAdr) returns EACCES as errno, wich is a rejection of the > request to the DPMI server. What does this message exactly mean? The documentation of this function explains that this service requires DPMI v1.0 extensions. CWSDPMI supports it, but most of the other DPMI servers, including the one built into Windows, do not. So, unless you run your program in plain DOS, or use 386Max as your DPMI server, you cannot use this function. Try reading section 18.7 of the FAQ, it might suggest an alternative approach.