FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Guides : Articles : How it Works: Memory
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 


Random Gallery >> 
Click to view high-res Image!
RAGE SIGGRAPH 2009 Screenshots [7] (0)

Scandle at EVGA! (2) by exe3
Fury - The PvP Exclusive MMO? (3) by imoish
Afghanistan and Iraq (0) by anastamoses@gmail.com
C&C:Renegade Review, wrist-slittingly good! (8) by McStu
WW2 License Plate says it all (0) by Ph33rsPhun
A Truely "Epic" Game: Unreal Tournament 3 Review (4) by Discobiscuits
My eVGA ride (0) by devit
What is so cool about Gigabyte’s Ultra-Durable 3 technology (0) by SuperCharge
Guild Wars Gets a Bad Review (11) by Joluha
FTW! (0) by Gh3tTo5oLdIeR

More Blogs >>




How it Works: Memory
June 10, 2000   Chris Buck Buccola > [View My Other Articles]
Product Info | User Reviews | Article Images(2) | Image Gallery | Comments | Forum Thread
Memory Allocation

Memory Layout

The original IBM PC (based on the Intel 8088 8-Bit processor) was only capable of addressing up to 1MB of system memory. The top 384KB (called the Upper Memory Area, or UMA) of memory was reserved for use by the system to communicate with the installed devices, such as the video card, and the system BIOS. This left us with 640KB of usable memory for the operating system, programs and device drivers. Any additional memory beyond this point was not addressable by any processor. This is commonly referred to as "The conventional memory barrier".

Older software could not run on later processors such as the Intel 286 that were not compatible with the older 8088. No software companies were willing to write all new software because it would break backwards compatibility with older systems, so what good was the ability to address 16MB of RAM if you could only take advantage of 1MB of it? For the sake of backwards compatibility with older software, the 286 could function in what became known as "Real Mode", in which it was essentially pretending (emulating) to be an 8088, with all the limitations of an 8088, including the 1MB memory limit.

It's a feature!

Early on, IBM programmers found a small bug in the 286 that left the A20 address line active, which caused problems with real mode operation. They developed a method to allow this to be turned on and off by using some unused control functions on the keyboard controller chip so that 286 and higher processors could correctly emulate the 8088 while still maintaining the ability to turn it back on for protected mode operation.

Microsoft realized that they could turn this bug into a "feature" and wrote the program "Himem.sys" to take control of the GateA20 line, opening up the 64K High memory area while still maintaining correct emulation of the 8088. This "free" memory could be used to control access to memory above 1MB without switching the processor to protected mode operation, and could even be used to store some programs, such as DOS. The problem was that there was no agreed upon standard for programs to use memory above 1MB, and the processor was unable to directly access this memory (since it was in Real Mode). In turn Microsoft created the "Expanded Memory Specification" (EMS). Himem.sys controlled the memory, and doled it out to programs that knew the EMS protocol. Only one memory segment could be worked on at a time, which made EMS very inefficient.

Back! Main System Memory     XMS Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
I am an AMD AgentRead this Media-Blog entry!» OverClocking Boot Camp (3)
by Odoyle721 (34) Talk with this user on their Shout Box (My other blogs) Posted 5 months ago


 Hottest Topics
Iwata admits the 'Wii has stalled' (50)
Modern Warfare 2 PC limited to 9v9 matches (27)
Are multi-console gamers shifting from 360 to PS3? (24)
RAGE won't support dedicated servers either (22)
Borderlands PC Review (20)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Random Fact
According to Burger King, "there are currently 1,024 possible ways for a customer to order a whopper sandwich."


FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2009 FS Media, Inc. All Rights Reserved