← HomeSeries
Software Through the Ages
EPISODE 02 · 1985 – 2001

Windows 1.0 to 3.11: the graphical layer on DOS

Windows began not as an operating system but as a program you started from the DOS prompt. Over eight years it grew from tiled windows that few people used into Windows 3.x, the interface that put a mouse on almost every office desk.

20 Nov 1985
Windows 1.0 released
9 Dec 1987
Windows 2.0: overlapping windows
22 May 1990
Windows 3.0: the breakthrough
6 Apr 1992
Windows 3.1: TrueType, OLE, multimedia
8 Nov 1993
Windows for Workgroups 3.11
31 Dec 2001
Support for Windows 1.0 – 3.x ended

01The requirement: computers for people who would not learn commands

By 1983 the IBM PC had conquered offices, but using it meant memorising commands such as COPY A:*.WK1 C:\LOTUS. Meanwhile Xerox PARC had shown a different idea: the Alto (1973) and the commercial Xerox Star (1981) with windows, icons, a mouse and "what you see is what you get" documents. Apple turned that into the Lisa (1983) and the Macintosh (January 1984). On the PC side, VisiCorp shipped VisiOn in late 1983.

Microsoft, which also wrote applications for the Mac, announced "Interface Manager" — renamed Windows — in November 1983. Its brief was shaped by the installed base of DOS PCs:

RequirementWhyHow Windows answered it
Run on existing PCsMillions of 8088 machines with 256–640 KB and floppy disksRan as a program on top of MS-DOS; no new hardware or OS needed
Keep running DOS programsLotus 1-2-3 and WordPerfect users would not give them upDOS applications launched from Windows, later in their own windows (386 mode)
One look for all applicationsEvery DOS program had its own keys and menusShared menus, dialog boxes, scroll bars and later IBM's CUA keyboard rules
Device independenceEach DOS program shipped its own printer and screen driversGDI (Graphics Device Interface): applications draw once, Windows drivers render on any screen or printer
Several programs at onceCopy figures from a spreadsheet into a letterCooperative multitasking and a shared Clipboard

02Technology inside

A program on a program

Windows applications Excel, Word, Paint, Write
USER windows, menus, messages
GDI drawing, fonts, printers
KERNEL memory, tasks, loading DLLs
MS-DOS files and disks (INT 21h)
BIOS and hardware

You typed WIN at the DOS prompt. Windows took over the screen, keyboard and mouse, but still asked DOS to read and write files.

Key technologies

ElementWhat it was
Programming modelEvent-driven: every program runs a message loop (GetMessage → DispatchMessage) and reacts to clicks, keys and redraw requests
MultitaskingCooperative: a program keeps the CPU until it returns to its message loop
APIWin16, written for C and Pascal calling conventions
Files"New Executable" (NE) .EXE and .DLL; resources (icons, menus, dialogs) packed inside
Memory modes (3.0)Real mode (8088), Standard mode (286 protected mode, up to 16 MB), 386 Enhanced (virtual memory, DOS programs in virtual 8086 machines)
SettingsWIN.INI, SYSTEM.INI; a small registry appeared in 3.1 for OLE
Data sharingClipboard, DDE (1987), OLE 1.0 (1992)

03See it: cooperative multitasking

In Windows 3.x the operating system did not take the CPU away from a program; each program had to hand it back. One misbehaving program froze everything — the famous hourglass. Press Run, then make one program misbehave.

Each bar counts the time slices a program has received.

Windows 95 (for 32-bit programs) and Windows NT replaced this with pre-emptive multitasking: a hardware timer lets the operating system interrupt any program. Episode 06 and Episode 08 cover that change.

04Version explorer

Blue chips: Windows 1.x and 2.x. Amber chips: the 3.x family that succeeded.

Why 3.0 succeeded when 1.0 and 2.0 did not: the hardware caught up. The 386 and VGA displays let Windows use megabytes of memory and 16 colours, and Microsoft's own Excel and Word for Windows gave people a reason to switch.

05Apple v. Microsoft

In 1985 Microsoft signed an agreement with Apple licensing some Macintosh visual elements for Windows 1.0. When Windows 2.0 added overlapping windows, Apple sued in March 1988, claiming the "look and feel" of the Mac. The courts found that most of the disputed elements were covered by the 1985 licence or were not protectable ideas; Apple lost at trial and on appeal (1994), and the US Supreme Court declined to hear the case in 1995. Xerox's own suit against Apple was also dismissed. The result: graphical interface ideas became common property of the industry.

06Applications that made Windows

ProgramYear on WindowsWhy it mattered
Aldus PageMaker1987Desktop publishing on the PC; one of the first serious Windows programs
Microsoft Excel 2.01987Shipped with a "run-time" Windows; a spreadsheet Lotus could not match on Windows
Word for Windows1989WYSIWYG word processing on the PC
CorelDRAW1989Vector illustration for signs, packaging and print
Microsoft Office1990Bundled Word, Excel and PowerPoint at one price
Visual Basic1991Let ordinary programmers build Windows applications (Episode 10)
Solitaire, Minesweeper1990, 1992Quietly taught millions to drag, drop and right-click

07Contemporaries

SystemMaker · yearStrengthFate
Mac OS (System 1–7)Apple · 1984The polished original GUI, integrated with Apple hardwareContinued; now macOS
VisiOnVisiCorp · 1983First GUI for the IBM PCNeeded a hard disk and expensive hardware; failed quickly
GEMDigital Research · 1985Fast and light; ran on 8088sApple's suit forced changes; lived on in Atari ST and Ventura Publisher
TopView, DESQviewIBM, Quarterdeck · 1985Text-mode multitasking of DOS programsDESQview loved by power users; faded with Windows 95
AmigaOS, Atari TOSCommodore, Atari · 1985Colour GUI and (Amiga) pre-emptive multitaskingEnded with their hardware
OS/2 Presentation ManagerIBM + Microsoft · 1988Protected-mode OS with a GUILost to Windows (Episode 06)
GEOS / GeoWorksBerkeley Softworks · 1986/1990Full GUI on very small machinesNiche; later in handhelds
X Window System, NeXTSTEPMIT 1984, NeXT 1989Networked graphics on Unix; object-oriented desktopX lives on in Linux; NeXTSTEP became the core of macOS

08Decline and retirement

  • August 1995: Windows 95 merged DOS and Windows into one product with the Start button, long file names and 32-bit programs. Windows 3.x sales collapsed within two years.
  • 31 December 2001: Microsoft ended support for Windows 1.0, 2.x and 3.x together with MS-DOS.
  • November 2008: Microsoft stopped licensing Windows 3.11 to makers of embedded systems — some cash registers and industrial controllers were still shipping with it.
  • Long tail: 16-bit Windows programs ran on 32-bit Windows NT through Windows 10 using the "WOW" layer; 64-bit Windows cannot run them.

09Replacements

Windows 3.x partReplaced by
Program ManagerStart menu and taskbar (Windows 95)
File ManagerWindows Explorer → File Explorer (Microsoft published File Manager's source on GitHub in 2018)
Win16 API, cooperative multitaskingWin32 API, pre-emptive multitasking, protected memory
WIN.INI / SYSTEM.INIThe Windows Registry
Windows on DOSWindows 95/98/ME (transition), then Windows NT → XP → 11

10Legacy

  • The message loop and window procedure of 1985 are still the core of every Win32 program today.
  • Ctrl+X / C / V, menus with underlined access keys, Alt+Tab and dialog box conventions became universal.
  • TrueType fonts (3.1) and device-independent printing ended the era of per-application printer drivers.
  • DLLs brought code sharing — and "DLL hell" when programs overwrote each other's versions.

11Lessons for engineers

  1. Launch on the installed base. Running on top of DOS meant no one had to throw anything away.
  2. Version 3 is often the real version 1. The idea was right in 1985; the hardware arrived in 1990.
  3. Platforms win through their own killer applications. Excel and Word gave Windows reasons to exist.
  4. Trusting every program to behave does not scale. Cooperative multitasking worked until one program misbehaved.

Sources & further reading

  1. Wikipedia — Windows 1.0 · Windows 3.0 · Windows 3.1
  2. Wikipedia — Timeline of Microsoft Windows (release and end-of-support dates)
  3. Wikipedia — Apple Computer, Inc. v. Microsoft Corp.
  4. GitHub — microsoft/winfile (Windows File Manager source)
  5. Computer History Museum — Revolution exhibition