www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/09/06:46:04

Date: Wed, 9 May 2001 13:47:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Brian Chance <Nborman AT chello DOT at>
cc: DJGPP Delorie Mailing List <djgpp AT delorie DOT com>
Subject: Re: DPMI
In-Reply-To: <000801c0d7ee$f0f8cf40$0c4011d4@telekabel.at>
Message-ID: <Pine.SUN.3.91.1010509134655.19857X-100000@is>
MIME-Version: 1.0
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

[Please don't post in HTML.]

On Tue, 8 May 2001, Brian Chance wrote:

>  I realize that Djgpp links its output natively to load the DPMI server
> for protected mode compatibility. Is it possible to produce files which
> are independant of DPMI with Djgpp?

DPMI is used not only for entering the protected mode, but also for
all system calls issued by the low-level library functions.  Memory
allocation, file I/O (including reading the program into extended
memory from its .exe file), hooking hardware interrupts, support for
debugging programs--all these and more are handled via DPMI services,
because issuing real-mode interrupts from a protected-mode program is
a tricky business.

If you remove DPMI, you will have to rewrite all that low-level stuff
(or give up the functions which need it).

- Raw text -


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