Mail Archives: djgpp/2000/12/08/02:00:08
> From: craziestman AT my-deja DOT com
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 08 Dec 2000 03:32:52 GMT
>
> If I write a program and compile with DJGPP, does my program
> automatically run in protected mode?
It switches to protected mode at startup, and then runs in protected
mode.
> If so, what is the benefit of using DPMI?
You need it to switch into protected mode and to issue real-mode
DOS/BIOS system calls from a protected-mode program. For more about
this, see:
http://www.delorie.com/djgpp/doc/eli-m17n99.html#Extending%20DOS
> My understanding was that
> in order to run in protected mode, you needed to use DPMI, but I
> have been finding "documentation" that states otherwise,
> specifically at:
> http://www.rt.e-technik.tu-darmstadt.de/~georg/djgpp/djgpp_asm.html
That page is about inline assembly. Where do you see it say something
about DPMI?
- Raw text -