Sistemi operativi - DOS - La memoria Sistemas de exploração - DOS Instalação Introdução ao sistema de Betriebssysteme - DOS - Der Speicher Systèmes d'exploitation - DOS - La mémoire Sistemas operativos - DOS - Memoria

Introduction to memory

Memory is an area where programs are stored and from where they can be executed.

A PC compatible computer has three types of memory:

  • conventional
  • extended
  • paged

The amount of memory present (and available) in a system can be found by running the following command: "mem" (or "mem /c |more" for more detailed information).

Conventional memory

conventional memory is that part of memory where programs may load without any specific instructions. The amount of conventional memory varies from 256 KB to 640 KB (on all recent computers: 386, 486, Pentium, etc.).

The amount of memory available is the memory remaining after DOS has been loaded into memory (i.e. the operating system, device drivers and all commands loaded from the config.sys and autoexec.bat).

Extended memory

Extended memory enables the system to access more memory. This type of memory is available on computers equipped with a 80286 type processor or higher.

Programs normally only recognise conventional memory addresses, to access the storage area located beyond the 640 KB, programs need specific instructions. A program that manages access to extended memory, for example it prevents two programs from using the same area of memory at the same time. This program is called "extended memory manager".

MS-DOS comes with the standard extended memory manager called HIMEM.SYS (it is also found in Windows 98). It is loaded in the config.sys by adding the line:

DEVICE=path/himem.sys

where path is the access path to the file.

Paged memory

Another method of accessing memory beyond the first 640 KB is to use paged memory. Some programs (few nowadays) are optimised to use this type of memory.

As with extended memory, this type of memory requires a program to manage it, it is called "paged memory manager". Programs designed to use this type of memory cannot access it directly: the memory manager must copy sections of 16 KB of memory (called pages) into an area (called frame segment) located in the high memory area. This type of memory was developed before extended memory, this memory is thus slower and only allows utilisation of one limited portion of memory at any given time.

High memory

Many systems have 384 KB of high memory (HMA, High Memory Addresses), located directly after the 640 KB of conventional memory. This area of memory can be used by hardware. Areas not used by hardware are called "upper memory blocks" (UMB), they allow programs to be run in paged memory.

Last update on Thursday October 16, 2008 02:43:13 PM.This document entitled « Operating Systems - DOS - Memory » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Best answers for « Operating Systems DOS Memory » in :
Operating system Show Description of the operating system For a computer to be able to operate a computer programme (sometimes known as application or software), the machine must be able to perform a certain number of preparatory operations to ensure exchange between...
How to determine the version of your operating systems ? ShowHow to determine the version of your operating systems ? There are many Operating System available and it is quite difficult to depict due to its similarity and quite small differences. The easiest way to know what windows operate on...
GNU Operating System ShowGNU Operating System GNU is an operating system that offers a set of free open source programs licensed under UNIX. It has many applications and tools that are also provided with the operating system. This allows users online to share...
Download Google OS (0.4.207 beta) ShowDownload Google OS (0.4.207 beta) Intro Installation Intro Google Chrome OS a new operating system built around Google Chrome. It is still a beta version based on Linux and note that it is free and. The download is at this address...
Download VDMSound ShowVDMSound is a free software " open source " working in emulator of cards sounds for Microsoft Windows. He allows videos games and in applications conceived under MS-DOS to work on the new operating systems. VDMSound emulates cards Adlib and Sound...
Operating Systems - MS-DOS - Tips ShowSetting the CD-ROM drive The CD-ROM drive is configured in the config.sys and autoexec.bat system files. The CD-ROM drive device driver must be configured in the config.sys file (even if the device is automatically detected in Windows). To do...
Operating Systems - MS-DOS - Commands ShowCommand Description dir lists the contents of a folder cd changes folder cd .. parent folder md or mkdir creates a new folder deltree deletes a folder and all sub-folders copy, xcopy copies...
Operating Systems - Installing MS-DOS ShowInstalling MS-DOS When installing MS-DOS, make sure that in the BIOS the the boot disk is set to A: first, then the hard drive (boot sequence: A:, C:) Then insert disk 1 in the A: drive, power up the computer, then follow the on-screen...