Mail Archives: djgpp/2001/05/09/06:46:04
[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 -