delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/10/09:50:44

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Understand Protected Mode
Date: Wed, 07 May 1997 23:45:47 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 30
Message-ID: <3371142B.53D2@cs.com>
References: <3370816E DOT 7F3B AT iiic DOT ethz DOT ch>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp104.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andrea Martino wrote:
> 
> Hy, I used to program with Borlan C++ 3.1 and so I have some problem
> with Proteceted Mode.
> 
> Can someone explain me what are the SEG and the OFF in Protected Mode
> (and the difference between real mode)?
> 
> What is exactly DPMI?
> Why I have to use GO32? What is this library?

Basically, protected mode allows your programs to run in a 32-bit flat
memory model, which eliminates the need for segments, far pointers, and
all the other pitfalls of real mode programming.  Grab the DJGPP
Frequently Asked Questions list (v2/faq210b.zip) and read chapters 17
and 18 for a detailed explanation of how to convert all that icky old
Borland code to the shiny new syntax of protected mode.  For an
explanation of protected mode and other DJGPP concepts, visit
<http://www.delorie.com/djgpp/doc/lexicon/> and other documents at that
site.

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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