delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/23/02:40:25

Date: Mon, 23 Feb 1998 09:39:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Robinson <markr AT 1sc DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: NT refuses protected mode access
In-Reply-To: <34F1063C.82995C7A@1sc.com>
Message-ID: <Pine.SUN.3.91.980223093123.22440L-100000@is>
MIME-Version: 1.0

On Sun, 22 Feb 1998, Mark Robinson wrote:

> Initially I had no need for a DPMI program as NT provides this. great
> you say!. However I am now getting "load error" No DPMI get
> CSDPMI*b.zip. gcc gpp even innfo won't start. They are found
> but not granted proteected mode status.

I don't get it.  Are you saying that the DJGPP programs worked at first, 
but now they don't?

You cannot use CWSDPMI on an NT, because NT won't let CWSDPMI to load.  
CWSDPMI needs to switch the CPU into protected mode, but NT already runs 
in protected mode and will refuse to switch.

You need to understand why does the NT DOS box refuse to load DJGPP 
programs.  Forget CWSDPMI; the reason is elsewhere.  Somehow you 
configured your system so that it disables DPMI services to DOS 
programs.  Maybe the property sheets of the DOS box have some settings 
(like the amount of DPMI memory) which disables this.

> Well I downloaded the DPMI program anyway and put it in my bin
> directory. Now it says protected mode not available,

Who says ``protected mode not available''?  Please explain when is this 
message printed.

> once for each dpmi
> driver in the bin directory than the Load error message.

What ``dpmi driver in the bin directory''?  AFAIK, there are no drivers 
there except CWSDPMI (which you don't need).

> One would suspect that reboot would reset whatever got changed
> but no.

Changes that you do to the registry or to the properties of the DOS box 
are not undone when you reboot.

- Raw text -


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