Escolar Documentos
Profissional Documentos
Cultura Documentos
In this
section, we look at how that memory is allocated for use by the CPU. This is called
memory mapping and uses hexadecimal addresses to define ranges of memory.
Run the memory video located in the demos folder on the CD accompanying this book
to view a presentation of memory allocation.
The original processors developed by Intel were unable to use more than 1 MB of RAM,
and the original IBM PC allowed only the first 640 KB of memory for direct use. MS-DOS
applications were written to conform to this limitation. As application requirements grew,
programmers needed to optimize the use of memory to make the most of the available
space. This 1 MB of memory was divided into two sections. The first 640 KB was reserved
for the operating system and applications (designated as conventional memory). The
remaining 384 KB of RAM (designated as upper memory) was earmarked for running the
computer's own housekeeping needs (BIOS, video RAM, ROM, and so on). Although some
early PC clones had firmware that could make direct use of the upper memory block
available to programmers, actually doing so would result in hardware and software
incompatibility issues (see Figure 7.9)