Microsoft Just Open-Sourced 45-Year-Old DOS Code Found on Paper in a Garage

:floppy_disk: Microsoft Just Open-Sourced 45-Year-Old DOS Code Found on Paper in a Garage

The operating system that built a trillion-dollar empire was sitting in a box of printer paper for four decades

86-DOS 1.00 — the ancestor of every version of Windows ever made — just went MIT-licensed on GitHub. The catch? The source code didn’t exist digitally. A volunteer crew had to scan, OCR, and hand-transcribe it from physical paper printouts stored in the original developer’s garage.

Microsoft’s marking the 45th anniversary of DOS by releasing the earliest source code ever discovered for the platform. And the story of how it was recovered is honestly more interesting than the code itself.

retro computer


🧩 Dumb Mode Dictionary
Term What It Actually Means
86-DOS The original name for DOS before Microsoft bought it and renamed it. Written by one guy in 1981
PC-DOS IBM’s branded version of DOS — basically 86-DOS with an IBM sticker
MIT License “Do whatever you want with this code, we don’t care” — the most open license there is
OCR Software that reads text from scanned images. Like when your phone reads a receipt, except here it’s reading code from 1981 printer paper
Assembler listings Printouts of very low-level code (basically one step above raw 1s and 0s)
Kernel The core engine of an operating system — the part that talks directly to hardware
📜 How a Garage Box Became a GitHub Repo

The data tells a wild story. Tim Paterson — the one guy who actually wrote DOS — kept his original work printouts in his garage for 45 years. Not on a floppy. Not on tape. On paper.

When a volunteer group called the DOS Disassembly Group found out these listings existed, they convinced Paterson to let them scan and digitize everything. The problem? Modern OCR software choked on decades-old dot-matrix printer output. So Yufeng Gao, Rich Cini, and their team had to sit down and manually transcribe assembly code character by character.

The result: compilable source code for the OS that launched Microsoft, recovered from dead trees.

📦 What's Actually in the Release

Here’s the full inventory of what Microsoft just dropped:

Material What It Is
86-DOS 1.00 kernel The original operating system source — the oldest known DOS code in existence
PC-DOS 1.00 snapshots Multiple development versions showing how IBM’s version evolved from 86-DOS
CHKDSK source The disk-checking tool people still see echoes of in modern Windows
Assembler source The tool used to compile DOS itself (yes, the compiler’s source code too)
Handwritten notes Tim Paterson’s personal annotations, bug fixes, and feature notes

All of it is MIT-licensed on GitHub. The physical originals are being donated to the Interim Computer Museum.

🔢 The Receipts

Let’s put some numbers on this:

  • 45 years — age of the code (written in 1981)
  • 1 developer — Tim Paterson wrote the entire thing solo
  • $50,000 — what Microsoft reportedly paid for 86-DOS back in 1981 (they’ve made roughly $3 trillion since)
  • 3 prior releases — Microsoft open-sourced MS-DOS 1.25 and 2.11 in 2018, and MS-DOS 4.0 in 2024. This one goes even further back
  • 0 digital copies existed before this effort — it was all paper

But here’s the thing nobody mentions: Microsoft’s blog calls these printouts “a printed commit history.” As in, Paterson was basically doing version control in 1981 — by printing out each version of the code and writing notes in the margins. Git before Git existed, except the repository was a cardboard box.

🗣️ What People Are Saying

Scott Hanselman (VP at Microsoft/GitHub) and Stacey Haffner (Director of Microsoft’s open source office) co-authored the announcement post. The key quote:

“Think of them as a printed commit history of a Git repository. They create a timeline of changes, showing which features were implemented when, what errors were made, and how they were fixed.”

The retro computing community is calling this the most significant historical software release in years. TechSpot noted that the development snapshots are especially valuable because they show the actual progression of decisions — not just the final product but every wrong turn along the way.

🧠 Why This Matters More Than Nostalgia

The cynical take: “Cool, 45-year-old assembly code. Who cares?” Fair question. Here’s the honest answer.

This release is essentially the architectural DNA of modern computing. Every version of Windows traces back to decisions made in this code. The file system structures, the way programs load, the command interpreter patterns — they all started here.

More practically: this is now the oldest fully-available, compilable operating system source code from a major vendor. Researchers, teachers, and reverse engineers have a complete picture of how a commercial OS was built from scratch by one person in a pre-internet era. That’s a genuinely rare artifact.

And for the hacking community? Understanding how the lowest layer of x86 operating systems works — with actual commented source code — is a different kind of education than any textbook provides.


Cool. So the Source Code of the Richest Company’s First Product Is Free Now… Now What the Hell Do We Do? ( ͡° ͜ʖ ͡°)

retro DOS

🕳️ The Fossil Flipper

Historical source code creates a weird arbitrage opportunity. The 86-DOS release means there are now compilable snapshots of how x86 boot sequences work from first principles. Most modern low-level security tools (rootkit analysis, bootloader forensics, BIOS-level debugging) rely on understanding ancient boot patterns that nobody documents well. The people who actually understand this stuff charge $300-500/hour for firmware consulting.

Build a reference wiki or annotated walkthrough of 86-DOS boot patterns mapped to modern UEFI equivalents. The security research community will find you.

:brain: Example: A 26-year-old reverse engineer in Poland annotates the 86-DOS interrupt handler code, maps it to modern UEFI boot sequences, and publishes it as a GitHub Pages site. Firmware security firms start linking to it. Within 3 months she’s doing paid consulting for two IoT security companies at $200/hour.

:chart_increasing: Timeline: First useful reference pages in 2 weeks. Consulting inquiries in 6-8 weeks. This niche doesn’t saturate because the number of people who can read 8086 assembly is shrinking, not growing.

🎓 The Retro OS Teaching Kit

Every CS professor wants to teach operating systems from real code, but modern OSes are millions of lines. 86-DOS is an entire operating system written by one person, small enough to read in a weekend. There’s currently no good, packaged “learn OS fundamentals from real historical code” course material that uses actual commercial code (not toy examples).

Package the 86-DOS source with annotations, exercises, and a preconfigured DOSBox emulator setup. Sell it to coding bootcamps and university instructors as supplemental material.

:brain: Example: A CS grad student in Brazil builds a 5-module “Learn Operating Systems from Real Code” course using the 86-DOS kernel, sells it on Gumroad for $29. University professors in 4 countries start assigning it as supplemental reading. Pulls $3,400/month by module 3.

:chart_increasing: Timeline: First module ready in 10 days. First sales in 3 weeks. Evergreen content — this code isn’t changing. Revenue plateaus around $4K/month but requires zero maintenance.

📡 The Printed Commit History Angle

Here’s the weird meta-play. Microsoft explicitly described Paterson’s paper printouts as “a printed commit history.” That phrase — version control before version control existed — is a content gold mine for dev-focused audiences. Nobody has done a deep visual breakdown of how pre-digital developers tracked code changes.

Create a visual thread/article series comparing Paterson’s paper-based “commits” (margin notes, crossed-out lines, handwritten annotations) to modern Git workflows. Developer Twitter and dev.to eat this stuff alive.

:brain: Example: A 24-year-old tech writer in Nigeria creates a side-by-side visual thread showing Paterson’s handwritten margin notes next to equivalent git diff output. Goes viral on developer Twitter (47K impressions). Gets invited to write for a paid dev publication. Now writes one historical computing article per month at $500 each.

:chart_increasing: Timeline: First thread in 3 days (the scanned documents are public). Virality is a coin flip, but the niche audience is guaranteed. Even without virality, the portfolio piece alone opens doors within 2 weeks.

🪟 The DOSBox Modding Economy

DOSBox and its forks (DOSBox-X, DOSBox Staging) run thousands of retro games and apps. With actual 86-DOS source code now public, someone can build accuracy-validated DOS environments that perfectly replicate original hardware behavior. The retro gaming and software preservation community pays for accuracy — look at how MAME developers are treated like saints.

Use the newly released kernel source to build and publish accuracy patches for DOSBox forks. Retro gaming communities on Vogons and r/retrogaming will amplify it. Monetize through Patreon or GitHub Sponsors.

:brain: Example: A 30-year-old hobbyist developer in Germany compares 86-DOS interrupt handling to DOSBox-X’s emulation, finds 3 behavioral differences, submits patches. Gets credited in the next release. Launches a GitHub Sponsors page. 180 retro gaming enthusiasts subscribe at $3/month within 8 weeks.

:chart_increasing: Timeline: First meaningful code comparison in 1 week. First patch submission in 2 weeks. Sponsor income builds slowly — $200/month by month 2, $540/month by month 4. Caps out because the audience is niche but loyal.

🔧 The Dead Language Translator

8086 assembly is becoming a dead language. Fewer people can read it every year, but the demand for understanding legacy x86 code in firmware, embedded systems, and security research isn’t going away. With this release, there’s now a clean, well-documented reference corpus of real-world 8086 assembly.

Build a specialized tool (even a simple web app using an open-source LLM) that translates 8086 assembly into commented pseudocode, trained/fine-tuned on the 86-DOS source as reference material. Security researchers and embedded devs will use it daily.

:brain: Example: A 22-year-old CompSci student in Vietnam fine-tunes an open-source code model on the 86-DOS corpus plus other 8086 reference code, deploys a free web tool on Hugging Face Spaces. Gets 2,000 monthly users in 6 weeks. Adds a $9/month “pro” tier with batch processing. 140 paying users within 3 months = $1,260/month.

:chart_increasing: Timeline: Proof of concept in 1 week (LLM fine-tuning is fast on small corpora). Usable tool in 3 weeks. First paying users in 6 weeks. This has legs because the corpus is public but the application layer is yours.

🛠️ Follow-Up Actions
Want Do
Read the actual code Clone the Paterson-Listings repo — it’s MIT licensed, go wild
Understand the history Read Microsoft’s official blog post
Run DOS yourself Grab DOSBox-X — the most accurate free DOS emulator
Learn 8086 assembly Start with this free 8086 tutorial on Wikibooks
Compare to later versions Microsoft’s previous DOS releases (1.25, 2.11, 4.0) are also on GitHub

:high_voltage: Quick Hits

Want Do
:floppy_disk: Browse the source code GitHub: DOS-History/Paterson-Listings
:open_book: Read the announcement Microsoft Open Source Blog
:desktop_computer: Run retro DOS apps Download DOSBox-X (free, open source)
:magnifying_glass_tilted_left: Deep dive the coverage TechSpot’s analysis
:brain: Learn OS fundamentals Use the kernel source as a study companion with OSDev Wiki

A $3 trillion company just admitted their whole empire started with one dude, a printer, and a cardboard box in a garage. The MIT license is the apology letter.

2 Likes