ArticleslgStudy

science

CEMM

CEMM is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand CEMM rather than just read about it. In short: 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.

Key takeaways

  • CEMM belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect CEMM to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of CEMM from memory before moving on to harder problems.

Reference excerpt

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.

Overview In 1986, Compaq was the first vendor to ship a IBM 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 QEMM EMM386 Real mode Unreal mode Protected mode Virtual 8086 mode Conventional memory Extended memory (XMS) Expanded memory (EMS) High Memory Area (HMA) Upper Memory Area (UMA)

References

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

Worked examples

Example 1 — a first encounter with CEMM

Start with the simplest possible case. Write down what CEMM claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to CEMM before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about CEMM ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of CEMM

In research
CEMM appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses CEMM in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
CEMM is common in secondary-school and first-year university syllabi. It links to neighbouring topics Expanded memory managers, so understanding it makes those chapters shorter.
In everyday life
Look for CEMM outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “CEMM” →

How to study CEMM in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what CEMM means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain CEMM out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is CEMM in simple terms?

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 3…

Why does CEMM matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study CEMM?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on CEMM.

Tags

  • Expanded memory managers

Keep exploring