www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/13/08:03:50

From: Felix Natter <f DOT natter AT ndh DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Windows 2000: __dpmi_physical_address_mapping fails
Date: 13 Oct 2001 12:20:47 +0200
Organization: Customer of Pironet NDH AG, Germany
Lines: 21
Message-ID: <87d73r96yo.fsf@mybaby.home.felix>
NNTP-Posting-Host: port160.bonn.ndh.net
Mime-Version: 1.0
X-Trace: passat.ndh.net 1002973656 3614 195.94.93.160 (13 Oct 2001 11:47:36 GMT)
X-Complaints-To: abuse AT ndh DOT net
NNTP-Posting-Date: 13 Oct 2001 11:47:36 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

hi,

with code like this:

  __dpmi_meminfo meminf;
  meminf.address = vbe_modeinfo.PhysicalBasePtr;
  meminf.size	= screensize;
  if (__dpmi_physical_address_mapping(&meminf) ==	- 1)
    => error

"__dpmi_physical_address_mapping" fails on Windows 2000 (both in the DOS
box or when I select Dos on startup).

I am using cwsdpmi (the version that comes with djdev2.02).

does a more recent version of cwsdpmi fix this or is there another
workaround ?

thanks,
-- 
Felix Natter

- Raw text -


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