www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/03/14:49:35

Date: Sat, 03 Nov 2001 21:44:42 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Felix Natter <f DOT natter AT ndh DOT net>
Message-Id: <8632-Sat03Nov2001214441+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <87668rssr2.fsf@mybaby.home.felix> (message from Felix Natter on
03 Nov 2001 17:50:57 +0100)
Subject: Re: Windows 2000: __dpmi_physical_address_mapping fails II
References: <87668rssr2 DOT fsf AT mybaby DOT home DOT felix>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Felix Natter <f DOT natter AT ndh DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: 03 Nov 2001 17:50:57 +0100
> 
>   __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 with
> cwsdpmi 4/5 and when I select Dos on startup).

It's not surprising that W2K doesn't let you do this (it disallows
access to hardware), but it should work on DOS.

However, without knowing the values of vbe_modeinfo.PhysicalBasePtr
and screensize, it's very hard to say something intelligent.

- Raw text -


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