delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/21:59:17

Date: Wed, 11 Aug 1999 14:56:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Czamai <Martin_Czamai AT peak-service DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Accessing memory above an adress of 1MB
In-Reply-To: <37aeb1ba.11535499@NotesXNT>
Message-ID: <Pine.SUN.3.91.990811145235.19078B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


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