CEMM explained

Compaq Expanded Memory Manager (CEMM)
Developer:Compaq
Operating System:Compaq DOS
Platform:Intel 80386
Genre:Expanded memory manager

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

It was present in Compaq DOS 3.10, shipping with the Compaq Deskpro 386 in September 1986.[1] [2]

Overview

In 1986, Compaq was the first vendor to ship a PC compatible computer with a 386 CPU, the Deskpro 386, 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.

The implementation was not without its 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 (VMM). 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. Implementing a VMM was not CEMM's raison d'etre, but EMS emulation required paging, and paging required protected mode. The only way to run existing real-mode DOS and BIOS code was therefore through a VMM.

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 filed for a patent on the technology in 1987. The patent was granted in 1990 and probably expired in 2007. Compaq was the creator of this technology and the first company to use it. However, over time, QEMM and 386MAX became the standard packages. Windows/386 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) popularized the technology outside of the Windows context. Microsoft's EMM386 implementation was based on CEMM.

See also

External links

Notes and References

  1. Web site: Redirecting….
  2. Web site: Original CEMM Unearthed | OS/2 Museum.