CEMM

From Wikipedia, the free encyclopedia

CEMM, for Compaq Expanded Memory Manager was probably the first so-called PC "memory manager" for Intel 80386 CPUs, able to transform extended memory into "EMS" expanded memory by using the virtual memory features and the virtual 8086 mode of the CPU.

It was present in Compaq DOS 3.31, in 1988 or before.

Together with IBM, Compaq was the first vendor to propose computers based on the 386 CPU and it was natural for them to develop solutions leveraging the specific features of their new hardware and in this case allowing existing EMS-compatible DOS programs to access all the memory.

Alas, interesting features often come with less interesting drawbacks. Although CEMM was called an "expanded memory manager", it was really a tiny, protected mode, single tasking operating system kernel, also called a virtual machine monitor. It had to catch all the interrupts and all the exceptions, and to reflect them to the virtual machine where DOS ran. This slowed the machine down a little, increased the latency of interrupts and changed the behavior of DOS programs trying to execute invalid machine instructions.

Because CEMM put the CPU into protected mode, other programs (DOS extenders) could not do this anymore by themselves. A special API, the VCPI, had to be developed to allow running DOS extender programs. The first CEMM compatible with VCPI was 4.0, provided with Compaq DOS 4.01.

Compaq has a 1987 patent on the technology, and they were probably the creators and the first company to use it. However, over time, QEMM and 386MAX became the standard packages. Windows/386 2.1 and later releases contained a built-in expanded memory manager (EMM386) available during Windows sessions and otherwise used for running multiple DOS virtual machines. MS-DOS 4.01 (in 1989) and DR-DOS 5.0 (in 1990) officialized the technology outside of the Windows context.

[edit] See also


[edit] External link

  • U.S. Patent 4,926,322  - Software emulation of bank-switched memory using a virtual DOS monitor and paged memory management