www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/12:07:48

Date: Thu, 4 Mar 1999 19:05:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Clark L. Coleman" <clc5q AT cobra DOT cs DOT Virginia DOT EDU>
cc: djgpp AT delorie DOT com
Subject: Re: Privileged assembler instructions
In-Reply-To: <7bm66b$9um$1@murdoch.acc.Virginia.EDU>
Message-ID: <Pine.SUN.3.91.990304190101.29560A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 4 Mar 1999, Clark L. Coleman wrote:

> Is there anything special I need to do to use the ring-0 version? (If
> this can be answered through "info", just point me to it.)

You need to stubedit the program which needs ring-0 so that the default 
DPMI server is CWSDPR0.EXE instead of CWSDPMI.EXE.  (You could of course 
rename CWSDPR0 to CWSDPMI, but that's less convenient if you need to run 
other DJGPP programs on the same machine).

> One more question: running in this fashion on DOS, am I going to be
> able to compile a program with an array that is about 8 MBytes in
> size?

CWSDPR0 disables virtual memory, so the answer depends on how much memory 
do you have physically installed on the target machine.

The compiler and linker, of course, can use CWSDPMI, so compilation isn't 
the problem; running the program is.

- Raw text -


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