Mail Archives: djgpp/1998/11/05/03:04:22
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 -