delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/05/03:04:22

Date: Thu, 5 Nov 1998 10:04:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Denis Bélanger <dbelang AT mediom DOT qc DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Problems with dpmi address mapping under dos and win 3.1
In-Reply-To: <01be0886$5ae74b60$458860cf@dbelang>
Message-ID: <Pine.SUN.3.91.981105100131.2883Q-100000@is>
MIME-Version: 1.0
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id DAA01832
Reply-To: djgpp AT delorie DOT com

On Thu, 5 Nov 1998, Denis Bélanger wrote:

> I need a selector for access a pci card. Under windows 95 ms-dos box a my
> program works fine and I can access the card. But when I try the same
> program in an ms-dox bos under windows 3.1 or under dos with cwsdpmi the
> program always halt at the same place. The call to
> __dpmi_physical_address_mapping fail and my program exit.

Since this happens on Windows 3.X as well, it's not CWSDPMI.  Maybe it's 
some other piece of software installed in that configuration.  For 
example, do you have EMM386 and/or HIMEM there?  If so, try without them, 
at least in DOS.

>   r.w.ax = 0x1686;
>   int386(0x2f, &r, &r);

This is redundant: you cannot be executing DJGPP code without being in 
protected mode.

- Raw text -


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