Re: What exactly is Protected Mode?
From: Beth (BethStone21_at_hotmail.NOSPICEDHAM.com)
Date: 05/02/04
- Next message: Eric: "Re: Debugging with Nasm"
- Previous message: Beth: "Re: What exactly is Protected Mode?"
- In reply to: Herman Dullink: "Re: What exactly is Protected Mode?"
- Next in thread: wolfgang kern: "Re: What exactly is Protected Mode?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 2 May 2004 07:20:42 +0100
Herman Dullink wrote:
> Important!!! Regardless of any state or mode, most units in a CPU
will
> operate
> the same way all the time. Even if the CPU is in Real Mode, the
segmentation
> unit will check every memory access against the values in the
descriptor
> cache.
> In normal operation, the descriptor cache is loaded with values that
makes
> the CPU operate in a 8086 compatible way (however, not 100%).
Evenbit, are you reading here too?
The above and most of Herman's post is making the point I was trying
to make but in an infinitely better and clearer way...I wasn't talking
about "V86 mode", actually...but, as Herman suggests, that the CPU is
actually always operating "the same way all the time" and "real mode"
is just a "special case" where all the various values of segments and
other "protection" things are delibrately set to behave in (as close
as possible to) the original 8086 behaviour...perhaps I confused
things by saying it as "always in protected mode" (I meant "always
employing the protection mechanisms", as Herman phrases infinitely
better as "Even if the CPU is in Real Mode, the segmentation unit will
check every memory access against the values in the descriptor cache."
by not mixing up his jargon, as I did...technically, what I said about
"always in protected mode" is, of course, total nonsense and makes no
sense...but, Hopefully, people can decipher the terrible way I phrased
it to understand that I basically meant what Herman is saying here
without mixing up his jargon at all ;)...
"V86 mode" would actually be a further "special case" where it _does_
leave the "protections" partially on but changes the segmentation
stuff to behave as "real mode", so that it is operating a little as
"real mode" and a little as "protected mode" to bridge the
"compatibility gap" to make things like the "DOS virtual machine" in
Windows actually work (namely, that old 8086 software can run like old
8086 software but that the machine has not completely reverted back to
"real mode" so that some "protections" are enabled...such as allowing
the OS to still "intercept" things and "redirect" them so that the
"DOS emulation" and Windows can happily run side-by-side without
clashing into each other all the time ;)...
Beth :)
- Next message: Eric: "Re: Debugging with Nasm"
- Previous message: Beth: "Re: What exactly is Protected Mode?"
- In reply to: Herman Dullink: "Re: What exactly is Protected Mode?"
- Next in thread: wolfgang kern: "Re: What exactly is Protected Mode?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|