Computing.Net > Forums > Disk Operating System > protected and real mode

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

protected and real mode

Reply to Message Icon

Original Message
Name: eugene walton
Date: October 30, 1998 at 18:06:52 Pacific
Subject: protected and real mode
Comment:

I need help understanding the difference between real and protected mode. If someone could explain it to me or point me in the direction of a book that will, ir would be very much appreciated.


Report Offensive Message For Removal


Response Number 1
Name: Rick
Date: November 1, 1998 at 08:06:19 Pacific
Reply:

Many programs are still written in real mode.
Dos programs are usually real mode, it means that they use only up to 1024K mem, no more.
These are just programs with few intructions, with a few more added, it can change over to protected mode and use as much mem as it wants. But once the chip (286 and up) are running in protected mode, it cant run real mode programs.


Report Offensive Follow Up For Removal

Response Number 2
Name: guy
Date: December 31, 1998 at 11:13:18 Pacific
Reply:

To understand the difference, you should have a look to the x86 processor familly.

You will the discover that it uses a segmented memory sheme. That means that when you access memory, the processor will use a Segment value and an Offset, and will do a 'specific calculation' witgh those two values to build the Final adress.

Real and Protected mode are Processor working mode (only for CPU >= 80286)

Il real mode, the Segment is really a hardware base adress.
In protected mode (which can have differents flavours) the segment is in fact a SELECTOR: reference to an entry in a table describing a memory zone. As each selector can adreess 64Kb in mode 16 (and much more in 32) that allows larger memory acces.
Protected mode means that the processor will catch any invalid Selector load or access.

Memory communication between protected mode and non protected mode (DOS) makes it necessary to Translate the memory calls and addres. Some product help you (Pharlap, PowerPack....) by giving you a loader (which starts in real mode and than starts you progralm in protected mode)and some support to accees usual DOS finctions.

See DPMI 0.9 description .


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home



Results for: protected and real mode

Real-Mode vs Protected-Mode
    Summary: Good morning, can someone explain to me Real-mode and protected mode and the relation with virtual machines? or maybe a link Thanks for your time ...
www.computing.net/answers/dos/realmode-vs-protectedmode/7259.html

real mode
    Summary: The command prompt is real mode, as MSDOS does not have a protected mode. If you mean debugging mode, type "debug" at the command prompt and press enter. ...
www.computing.net/answers/dos/real-mode/12370.html

inbuilt sound support for real mode DOS
    Summary: I am using a i810 type chipset which has inbuilt Avance'97 sound card.The sound card works perfectly in windows,linux and windowed DOS.But there is no sound support in real mode DOS.Please HELPPPPP ...
www.computing.net/answers/dos/inbuilt-sound-support-for-real-mode-dos/10481.html






Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History






Data Recovery Software