Mail Archives: djgpp/1998/02/01/10:53:47
From: | "Riley" <hitzl AT usa DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: DJGPP and Protected Mode
|
Date: | Sun, 1 Feb 1998 06:22:53 -0800
|
Organization: | AT&T WorldNet Services
|
Lines: | 24
|
Message-ID: | <6b20e3$fj9@bgtnsc03.worldnet.att.net>
|
References: | <6b1vb5$ppi$1 AT toralf DOT uib DOT no>
|
NNTP-Posting-Host: | 153.37.66.51
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Kale wrote in message <6b1vb5$ppi$1 AT toralf DOT uib DOT no>...
>I am pretty new to DJGPP and protected mode. I understand DJGPP
>automatically compiles and runs programs in protected mode...so my question
>is:
>
>How much do I need to know about protected mode?
The less you know about it, the less you need to know. At least thats how I
see it. I haven't had any problems that I could trace back to being in
protected mode. Protected mode is actually easier to understand than real
mode. In real mode, you have segments, data segments, near and far
pointers, conventional memory, extended memory, expanded memory, tiny,
small, medium, large, and huge memory models, etc. In protected mode, you
just have flat memory. In protected mode, you just have to remember that
you can't go poking around in memory with pointers (i.e. direct video RAM
access). If your program sticks to its own data, you shouldn't have a
problem.
Riley
hitzl AT usa DOT net
- Raw text -