From: Johan Karlsson Newsgroups: comp.os.msdos.djgpp Subject: Protected mode Date: Thu, 03 Jul 1997 11:52:22 +0200 Organization: Luleå University of Technology Lines: 25 Message-ID: <33BB7656.15FB7483@sm.luth.se> NNTP-Posting-Host: my21.sm.luth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit CC: "Andrej Brodnik (Andy)" , Glenn Jennings , Jonas Thor , Mikael Kerttu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello, I'm trying to write a small program that should read from a physical address. I have found some functions in the DMPI support of djgpp to do this. see http://www.delorie.com/djgpp/doc/libc-2.01/ However I need to get my program to run in Protected mode to be able to use these function. How can one get a program to run in protected mode. I would like to use c-functions _NOT_ assambly. Some more info: I'm using a pc 486 running msdos 6.20 The DPMI server is qdpmi from qemm, dpmi version 0.9. Thankful for any help and if I forgot to tell some important info plaese mail me and ask. Sincerly Johan Karlsson mailto:k AT sm DOT luth DOT se Kårhusvägen 6:313 http://jota.sm.luth.se/~d93-jkn/ 977 54 LULEÅ home: +46 (0)920 231932 SWEDEN work: +46 (0)920 72016