The fifth episode in our series tells the story of an operating system that defined an entire generation of 8-bit and early 16-bit microcomputers.
CP/M (Control Program for Microcomputers), created by Gary Kildall in 1974, became the software bridge between early hardware and millions of new users — powering the microcomputer revolution from the Altair to the ZX Spectrum to the IBM PC.
1. CP/M – Origins, Creator, and Context
By the mid-1970s, computing was leaving the lab and entering homes and offices.
Machines like the Altair 8800, Commodore PET, Apple II, and Osborne 1 began to emerge — but each had different BIOSes and file systems.
Physicist and programmer Gary Kildall designed CP/M as a universal OS for Intel 8080 and Zilog Z80–based machines.
Core principles of CP/M:
- Hardware independence via a modular BIOS layer (easily portable)
- Text-based CLI interface: commands like
DIR,REN,TYPE,PIP - Simple file system using FCBs, later supporting subdirectories (in CP/M Plus)
- Compatibility with ~3,000 different computer models!

Altair 8800 – the first commercial computer to run CP/M, Author: Bilby, License: CC BY-SA 3.0
2. How Did CP/M Work?
CP/M was divided into three logical layers:
- BIOS – handled hardware I/O, customized per machine
- BDOS – the OS core, managing files and programs
- CCP (Console Command Processor) – user interface and command interpreter
The interface was fully text-based — fast, efficient, and light on hardware.
Programmers loved CP/M for:
- Stability and predictability
- Portability across platforms
- Standardized file formats (
.COM,.ASM) - Essential tools: editors (WordStar), databases (dBase), spreadsheets (SuperCalc), and even games
Its openness helped CP/M spread across the market — from low-cost clones to portable systems like Osborne 1, and even Polish computers like Meritum or Elwro.

Osborne 1 – the first “laptop” preloaded with CP/M, Author: Bilby, License: CC BY-SA 3.0
3. CP/M Commands and Utilities
Though simpler than UNIX, CP/M embraced the tool-based philosophy:
Common CP/M commands:
DIR– list filesTYPE README.TXT– display file contentREN OLD NEW– rename filesERA *.BAK– delete filesPIP– copy filesSUBMIT– run batch scriptsED/STAT/DDT– edit, check system info, debug
CP/M Plus (CP/M 3) added:
- Subdirectory support
- Batch multitasking (Group Manager)
- Built-in help system (
HELPcommand)
4. CP/M as the Industry Standard – Influence on DOS and PCs
Between 1977 and 1981, CP/M was the #1 OS among developers and hardware vendors.
Even IBM considered CP/M for its PC — but eventually chose MS-DOS under market pressure.
Many CP/M ideas were directly inherited by DOS/PC-DOS:
Legacy of CP/M:
- Standardized file formats (
.COM,.EXE,.ASM) - Universal text-based CLI
- Portable utilities and batch scripting
- Successor variants: CP/M Plus, Multiuser CP/M, ZCPR
5. The Decline of CP/M – Legacy and Cultural Impact
CP/M lost its dominant position when IBM chose MS-DOS as the main OS for the IBM PC in 1981.
However, its ecosystem survived in DOS clones like DR-DOS, FreeDOS, and TurboDOS, and its modular tools and scripting philosophy became foundational to modern computing.
Even today, CP/M-based systems, emulators, and enhanced versions like ZCPR and Multiuser CP/M still have active communities and retro enthusiasts.
6. Summary
CP/M built the bridge from lab-centric computing to the home and business microcomputer revolution.
It introduced CLI standardization, tool modularity, and portability — paving the way for an entire ecosystem of DOS-based software, scripting, and computing philosophy that still underpins the PC world today.

