IT lexicon › Infra & Ops › Expanded memory (EMS)

Expanded memory (EMS)

Infra & Ops På svenska → Updated: 2026-08-05

The trick that got DOS past 640 kilobytes by swapping pieces of a larger memory through a small window.

The original PC architecture reserved the addresses above 640 kilobytes for hardware, and MS-DOS could see no further. In 1984 Lotus, Intel and Microsoft agreed on LIM EMS: a card of extra memory is divided into 16-kilobyte pages that are swapped into a 64-kilobyte window in the upper address space. The program sees only the window and changes pages when it needs other data.

With the 386 processor, EMM386 could emulate the same thing in ordinary memory, and alongside it XMS covered the memory above the first megabyte. Getting a game to start could require its own combination of HIMEM.SYS, EMM386 and boot menus in CONFIG.SYS — a whole body of folk knowledge that disappeared with Windows 95 and protected mode.

← Back to the lexicon