Top
Best
New

Posted by DamnInteresting 18 hours ago

Microsoft open-sources "the earliest DOS source code discovered to date"(arstechnica.com)
https://opensource.microsoft.com/blog/2026/04/28/continuing-...
392 points | 127 commentspage 2
teamsolid 17 hours ago|
It is wonderful how early years of modern computing was brilliant. We treated machines as they really are: machines. Performance, creativity, science..., all possible to make a 386 machine work. Nowadays is all about libraries, virtualization, [bad] code over [bad] code over [bad] code..., I dont like it.
dhosek 16 hours ago||
I sometimes think that my mental model of a computer is still an Apple ][+ with 48K of RAM leads to my writing better code.
WalterBright 12 hours ago|||
While I did a few 10 line programs in BASIC in high school on punch cards, when things really started was a freshman class on semiconductors. The class started with diodes and quantum mechanics, then onto transistors, then flip flops, then registers, then ALUs. Then it was on to designing/building a digital clock (which never worked right), and later designing/building/programming single board computers (6802 chip).

It was fun knowing everything about a computer. That's long gone!

stevesimmons 13 hours ago|||
And mine is a Commodore Vic-20 circa 1981, with 3583 bytes of free RAM. Programmed in 6502 assembler. Can't get much closer to the CPU than that.
aenis 13 hours ago|||
For a very long while now, we had programmers who never understood any low level concepts at all. They have started with js or python, and never looked 'down'. There are no limits to monstrosities they will consider normal.

Linus Torvalds, a few months ago, said something to this effect when discussing AI coding tools. That his (also, mine) generation was lucky to have started with low level stuff and managed to retain the understanding of the whole stack - and kids these days don't get that. Good luck acquiring this level of feel for computers, algorithms, data structures today, when a kid's first experience with coding will be a seemingly genius chatbot.

charcircuit 11 hours ago||
>and managed to retain the understanding of the whole stack

No one understands the whole stack. There is too much specialized information.

Sharlin 10 hours ago||
Even assembly is a high-level language relative to what’s actually going on inside a modern CPU.
goodpoint 6 hours ago||
DOS and brilliant in the same sentence...
9dev 6 hours ago||
At some point, we'll probably have a new field in history for digital archeology, and I'm really envious for those future historians! They'll be getting to sleuth around old datasets, trying to reconstruct the history of computing, understand long-forgotten file formats to preserve data, use statistical methods to analyse binary backups, and trace for specific documentation versions to crack old encryption formats...
EvanAnderson 2 hours ago||
The term "programmer-archaeologist" was coined by the author Vernor Vinge in his 1999 "A Deepness in the Sky"[0] (a pretty great read and definitely recommended) and the field is arguably a real thing now[1].

[0] https://en.wikipedia.org/wiki/A_Deepness_in_the_Sky

[1] https://en.wikipedia.org/wiki/Software_archaeology

giobox 4 hours ago||
This field already is alive and well in the gaming community. Games companies are notorious for not spending money on keeping their old code around, which is why it's been at the forefront of digital archaeology efforts a lot of the time to preserve the industry's history.

I'd also throw the wayback when machine and the internet archive into this bucket.

dang 4 hours ago||
Related ongoing thread:

Microsoft's 6502 BASIC is now Open Source (2025) - https://news.ycombinator.com/item?id=48257058

lesser-shadow 2 hours ago|
[dead]
danborn26 9 hours ago||
Fascinating piece of computing history. Preserving early DOS source code gives a lot of context to the structural choices that stuck around in x86 architecture for decades.
imoverclocked 17 hours ago||
Time to find vulnerabilities!

I remember in the naughts, coming across a dos machine that was quite out of time… even for the university basement it was living in next to a pile of lead brick. Its only job was to run an instrument via an home-built ISA card and write data out to 5.25” floppies.

What uses would this code have in 2026?

yjftsjthsd-h 13 hours ago||
It's a single user OS that runs everything in ring zero by design. I'm not sure, definitionally, that it can have security vulnerabilities. I... guess maybe code execution on exposure to an untrusted floppy disk filesystem?
greenbit 8 hours ago|||
Look closely, you'll notice there's no network interface. The only vulnerability in a system like that is physical access by malicious individuals.

About the worst mal-ware it can have is a boot sector that installs a "terminate, stay resident" (TSR) that copies itself onto any floppy that gets inserted.

FarmerPotato 16 hours ago||
To see what decisions they made. Like any historical document. Aim to understand the people of the time.
gxd 3 hours ago||
THANK YOU!

Can we now have all the Infocom games owned by Activision (which is yours) now? Pretty please? I know the source is available, but we'd like them with a MIT license (including the manuals, artwork etc).

PS: a couple of them could be harder, like Shogun, but it's okay to skip these.

rvnx 7 hours ago||
I’m sure this is better software than Windows Millenium Edition
okandship 11 hours ago||
readable plain text plus boring metadata still ages better than most clever archival systems
xandrius 9 hours ago|
In this case a paper printout.
hackerqwe 10 hours ago|
More code that copilot can be trained on.
More comments...