}

Extended Computer Memory

1993/05/01 Romo Uriarte, Jesus Maria Iturria: Elhuyar aldizkaria

Ordinary memory

Programs run under Operating System DOS run in the first 640 Kb of Main Memory. This part of the memory is called Ordinary or Conventional Memory. The higher the normal memory, the more space we will have our applications (text treatments, drawing programs, databases, graphics programs, etc.) for use.

But let’s see how those 640 Kb are distributed, the lowest memory positions according to Figure 1 are reserved for the Rupture Vector, the Communication Buffer and the Disk Buffer. Next and up is the core of the DOS operating system and the possible Resident Programs. It is the memo part that can be used by the user application, from the position of the last resident program to the 640 Kb memory.

The part of the memorial that goes from the end point of the Ordinary Memory to 1.024 Kb is called Superior Memory and contains BIOS ROM, Bootable ROM and Video Memory.

Computer chip and memory

These limits depend on the type of computer, in particular the microprocessor they have. The three computers we will analyze in this article are: With 8086/8088, 80286 and 80386 microprocessors. See table 1.

The maximum memory that each processor can address appears in the center column: 1, 16 and 4,096 Mb. All three types of computers can use 32Mb Extended Memory, but we will talk about this type of memo in another article.

Processor Bus threads Home memory (MB) Extended Memory Extended Memory

8086/80888028680386

2032

220=1.024 Kb224=16.384
Kb232=4.096 Mb

1164.096

-15
Mb4.096

32Mb32Mb32Mb

Computer 8086/8088

This microprocessor of computers known as PC and PC-XT has a 20-bit address bus and the maximum memory you can address is 1024 Kb. Figure 1 above shows the memorial map of these types of computers.

Figure . Memori map of the 8086/8088 processor. The part of the memorial that goes from the end point of the Ordinary Memory to 1024 Kb is called Superior Memory and contains BIOS ROM, Bootable ROM and Video Memory.

Computer 80286

This chip has a 24-bit address bus and a maximum memory that can address 16 Mb. V Figure . Comparing with figure 1, we can observe that the initial structure (that is, that of normal memory) is the same as that of the Superior Memory, the difference lies in those 15 Mb that are above the first megas and this part of the memo is known as Extended Memory.

The first 64 Kb of extended memory make up the High Memory. This part of memori has a very special use: Part of the core of the Operating System can be moved if you want to release part of the ordinary memory. The part of the ordinary memory that is released through this procedure is function of the version of the Operating System. (See table 2)

Low versions of the MS-DOS operating system do not have access to High Memory, while higher than fifth versions support locating part of the kernel in High Memory. In the event that the MS-DOS 5.0 Operating System had to be complete in the ordinary memory, it could cover about 62 Kb, but if the core of the system is sent to the High Memory, it will only cover 17 Kb, so user applications can use more memory.

Another important feature is the location of the disk Bufer. As is known, buffers are generated through the CONFIG.SYS file and, unless otherwise indicated, are located in the normal memory. But as has been said recently, they can also be sent to Memoria Garaia, freeing the corresponding space from ordinary memory. The capacity of the High Memory (64 Kb) is limited and if part of the Operating System is present, the space available for the buffer is smaller. If creating the buffer exceeds the free space in High Memory, all buffers are taken to Normal Memory. For example, if you work with the MS-DOS 5.0 operating system it is recommended not to use more than 28 buffer.

System> MS-DOS 3.3
MS-DOS 4.01MS-DOS 5.0MS-DOS 5.0(part of the SEin the Supermemory)Data
Number54.89665.87262.36817.056


Computer type 80386

On 80286 computers you can load much of DOS and buffer into High Memory. On computers with 80386 and 80486 microprocessors, everything indicated for 286 is applicable, in addition to the following advantages:

There are programs that remain in memory until they run and other programs or calls again executed by the user. These programs, known as Residents, are of two types: a) Device or device drivers that are installed in the CONFIG.SYS file by the DEVICE command. For example, the mouse driver. And b) Other resident programs. Those executed by the user from the command line or those loaded via the AUTOEXEC.BAT file.

Typical Residency Programs are relatively small and as you can see on the memori map of Figure 1, they accumulate in normal memory (above the Operating System).

According to Figure 1, the first 384 Kb (between 640 Kb and 1024 Kb) of the ordinary memory constitute the Superior Memory, where the necessary ROM, the ROM memory for booting and the Video Memory are located. However, these programs do not exhaust all 384 Kb of the Superior Memory and the gaps, called UMB Upper Memory Block or Blocks of the Superior Memory, are free.

80386 microprocessor computers can use these High Memory Free Blocks, directing Resident Programs and thus saving normal memory.

The MS-DOS 5.0 Operating System for the use of High Memory Blocks offers the following tools: it substitutes the DEVICE order for the load of Resident Programs (controllers) to the DEVICE order for the approval of DEVICEHIGH, and in any batch file for Resident Programs type b) the LOADHIGH order can be issued. If the program that you want to take to High Memory by DEVICEHIGH and LOADHIGH commands does not find free space, it is automatically placed in the normal memory.

The DR-DOS 5.0 operating system, in competition with MS-DOS, offers similar alternatives but the requirements are, in this case, HIDEVICE and HILOAD.


CONCLUSIONS

Based on the above, we can make the following summary:

  • Computers with 8086/8088 microprocessor do not have Extended Memory and must use Extended Memory to run large programs. The status of the Extended Memory will be explained in another article that will be published soon.
  • Other more modern processors can have Extended Memory, but in order to take advantage of it it is essential to choose the right Operating System. For example, MS-DOS 5.0 or DR-DOS 5.0 from Microsoft and Digital Research.
  • The load of the main part of the DOS Operating System in the High Memory means a saving of about 45 Kb of the Ordinary Memory. In addition, BUFs move to this Memory Age.
  • Device or device drivers can be located in High Memory. The rest of the resident programs can also be loaded into the High Memory via commands given online or in a batch file.
  • The hardware required to use the Extended Memory and the advantages obtained is summarized in Table 3:
Prevent
alterations in the behavior
of victims
  • 286 or higher
  • 64 Kb extended memory free
5.0 or
reformulations45
Kb
  • 386 or higher
  • 360 Kb of extended memory
Program 5.0 or
newResidents30 to
100 Kb

Gai honi buruzko eduki gehiago

Elhuyarrek garatutako teknologia