DEVICE=C:\DOS\EMM386.EXEHigh Memory Area is the first 64K of the extended memory area. It is also the only part of extended memory that a program in real mode can access. This space is normally used by DOS after the following specifications is included in the CONFIG.SYS file:
DOS=UMB
Where EMB stands for Upper Memory Blocks. If you don't want to run EMS emulation, but you do want the ability to load drivers and TSRs to upper memory, the NOEMS option can be added.
DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=UMB
DOS=HIGHThe above statement tells DOS to load most of its code in HMA instead of in conventional memory, freeing about 45K of conventional memory space for other programs.
DEVICE=HIMEM.SYSAll versions of Windows 3.x need HIMEM.SYS running to access extended memory.
DEVICE=EMM386.EXE
DOS=HIGH,UMB
DEVICE=HIMEM.SYS DEVICE=EMM386.EXE DOS=HIGH,UMB DEVICEHIGH=C:\MOUSE\MOUSE.SYSYou can use MEMMAKER in MS-DOS 6.0 or later to manage UMB and extended memory. It scans the CONFIG.SYS and AUTOEXEC.BAT files and automatically edits or inserts the commands needed. MEMMAKER also decides if a device driver should be placed in high or left in conventional memory.
DOS Memory Management | |
Memory Block | Description |
Conventional Memory | Area between 0 and 640 KB. |
Upper Memory (UMA) | Area between 640 and 1024 KB. |
Upper Memory Blocks (UMB) | Unused spaces of upper memory divided into blocks, unlike expanded and extended memory, DOS can run programs here. |
Expanded Memory (EMS) | Uses a 64 KB window from memory, usually upper memory to access and can provide up to 32 MB of additional memory. |
Extended Memory (XMS) | RAM above the 1 MB address, accessed with HIMEM.SYS. |
High Memory Area (HMA) | The first 64 KB of XMS, software driver called "A20 handler" must be used to access this. DOS uses HIMEM.SYS for this. DOS is loaded here to free conventional memory. |
Virtual Memory | Allows hard drive to simulate RAM. Virtual memory is made up of RAM and a swap file, paged out to the hard drive. |
Shadow RAM | This feature rewrites ROM BIOS to extended RAM memory (between 640 K boundary and 1 MB). |