Date: Fri, 08 Dec 2000 08:55:46 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <8011-Fri08Dec2000085545+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 In-reply-to: <90pkp4$kt9$1@nnrp1.deja.com> (craziestman@my-deja.com) Subject: Re: DJGPP and protected mode. References: <90pkp4$kt9$1 AT nnrp1 DOT deja DOT com> 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 Precedence: bulk > 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?