HardwareMicrosoft has released the source code for MS-DOS 4.0 and it’s giving me all the nostalgia feelsWhen you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
HardwareMicrosoft has released the source code for MS-DOS 4.0 and it’s giving me all the nostalgia feelsWhen you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
(Image credit: solar seven via Getty Images)

Ah, the PC in the spare room. Back when “going on the computer” was an event, not a daily necessity, I cut my teeth on MS-DOS games. I didn’t really know how they worked, and I wasn’t very good, but there a hardware and gaming enthusiast was born. Now Microsoft hasreleased the source code for MS-DOS 4.0in partnership with IBM, and apparently, all it takes is the logo to make me go all mushy.
This isn’t the first time Microsoft has open-sourced MS-DOS, as itsGitHub repositoryalready has versions 1.25 and 2.0, which were originally shared at the Computer History Museum back in 2014. Now a decade later it’s MS-DOS 4.0’s turn to get the source code release treatment.
Microsoft’s version of MS-DOS 4.0 was originally released back in 1986 after a joint development with IBM for portions of the code, and a somewhat difficult relationship between the two at the time led to two branches eventually being released,MS-DOS 4.0and what is now referred to asIBM DOS 4.0.
The Microsoft version, sometimes referred to as European MS-DOS 4.0, featured support for the New Executable file format, and pre-emptive multitasking. However, it retained many of the limitations of MS-DOS 3.0, including the inability to use memory above 640 KB.
While neither version set the world on fire—and perhaps overall both releases should be viewed more as Vista than Windows 7—I’m pretty sure it was one of these versions I used on our rubbish spare room machine, and that it allowed me to play Doom andF-15 Strike Eagle II.
That was good enough for little ol' me. Simpler times, ey?
Your next upgrade(Image credit: Future)Best CPU for gaming: The top chips from Intel and AMD.Best gaming motherboard: The right boards.Best graphics card: Your perfect pixel-pusher awaits.Best SSD for gaming: Get into the game ahead of the rest.
Your next upgrade
(Image credit: Future)Best CPU for gaming: The top chips from Intel and AMD.Best gaming motherboard: The right boards.Best graphics card: Your perfect pixel-pusher awaits.Best SSD for gaming: Get into the game ahead of the rest.
(Image credit: Future)

Best CPU for gaming: The top chips from Intel and AMD.Best gaming motherboard: The right boards.Best graphics card: Your perfect pixel-pusher awaits.Best SSD for gaming: Get into the game ahead of the rest.
The biggest gaming news, reviews and hardware deals
This discovery, along with some included printed documents, kicked off a hunt through the Microsoft Archives where the original full source code of MS-DOS 4.0 was found.
Microsoft says that they’ve successfully run it on an original IBM PC XT, a “newer” Pentium, and within open sourcePCemand86boxemulators, so if you’re the sort of person that likes messing around with a bit of PC archaeology, here’s another old-school curiosity to enjoy.
TOPICSHardware
TOPICS
More about hardwareAsus reveals three new Slash Travel Bags for carting around your ROG Ally—however, none of them are particularly fashion forwardThe Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing processLatestAll Zenless Zone Zero 1.5 livestream codesSee more latest►
More about hardwareAsus reveals three new Slash Travel Bags for carting around your ROG Ally—however, none of them are particularly fashion forwardThe Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing processLatestAll Zenless Zone Zero 1.5 livestream codesSee more latest►
More about hardwareAsus reveals three new Slash Travel Bags for carting around your ROG Ally—however, none of them are particularly fashion forwardThe Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process
More about hardware
Asus reveals three new Slash Travel Bags for carting around your ROG Ally—however, none of them are particularly fashion forwardThe Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process
Asus reveals three new Slash Travel Bags for carting around your ROG Ally—however, none of them are particularly fashion forward
Asus reveals three new Slash Travel Bags for carting around your ROG Ally—however, none of them are particularly fashion forward
The Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process
The Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process
LatestAll Zenless Zone Zero 1.5 livestream codesSee more latest►
Latest
All Zenless Zone Zero 1.5 livestream codes
All Zenless Zone Zero 1.5 livestream codes
All Zenless Zone Zero 1.5 livestream codes
See more latest►
Most PopularPath of Exile 2 players are calling foul on Elon Musk’s high-level hardcore character after he streams his struggles with core game mechanicsAlan Emrich, the game designer and writer who coined the term ‘4X,’ has diedTrack down a missing person in this ‘Geoguessr-inspired detective game’ set on an alien planetOld meets new as classic MMO players worship a famous Vtuber via gifts of bones so she can max out the Prayer skillHyper Light Breaker will cost $30 and for a limited time come with a free copy of DrifterFallout season 2 filming delayed due to massive LA firesAssassin’s Creed Shadows is delayed again ‘to better incorporate player feedback gathered over the past three months’The Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process’I created it, let me move on’: Ex-Cloud 9 player, the Overwatch team whose blunder inspired the infamous ‘C9’ slang, watches in horror as the term moves onto Marvel RivalsLenovo’s rollable laptop screen isn’t just a CES party trick—you’ll be able to pick one up yourself in JuneNvidia CEO Jen-Hsun Huang’s simple reminder that useful quantum computing is a long way off has somehow caused industry stocks to plummet
Most PopularPath of Exile 2 players are calling foul on Elon Musk’s high-level hardcore character after he streams his struggles with core game mechanicsAlan Emrich, the game designer and writer who coined the term ‘4X,’ has diedTrack down a missing person in this ‘Geoguessr-inspired detective game’ set on an alien planetOld meets new as classic MMO players worship a famous Vtuber via gifts of bones so she can max out the Prayer skillHyper Light Breaker will cost $30 and for a limited time come with a free copy of DrifterFallout season 2 filming delayed due to massive LA firesAssassin’s Creed Shadows is delayed again ‘to better incorporate player feedback gathered over the past three months’The Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process’I created it, let me move on’: Ex-Cloud 9 player, the Overwatch team whose blunder inspired the infamous ‘C9’ slang, watches in horror as the term moves onto Marvel RivalsLenovo’s rollable laptop screen isn’t just a CES party trick—you’ll be able to pick one up yourself in JuneNvidia CEO Jen-Hsun Huang’s simple reminder that useful quantum computing is a long way off has somehow caused industry stocks to plummet
Most PopularPath of Exile 2 players are calling foul on Elon Musk’s high-level hardcore character after he streams his struggles with core game mechanicsAlan Emrich, the game designer and writer who coined the term ‘4X,’ has diedTrack down a missing person in this ‘Geoguessr-inspired detective game’ set on an alien planetOld meets new as classic MMO players worship a famous Vtuber via gifts of bones so she can max out the Prayer skillHyper Light Breaker will cost $30 and for a limited time come with a free copy of DrifterFallout season 2 filming delayed due to massive LA firesAssassin’s Creed Shadows is delayed again ‘to better incorporate player feedback gathered over the past three months’The Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process’I created it, let me move on’: Ex-Cloud 9 player, the Overwatch team whose blunder inspired the infamous ‘C9’ slang, watches in horror as the term moves onto Marvel RivalsLenovo’s rollable laptop screen isn’t just a CES party trick—you’ll be able to pick one up yourself in JuneNvidia CEO Jen-Hsun Huang’s simple reminder that useful quantum computing is a long way off has somehow caused industry stocks to plummet
Most Popular
Path of Exile 2 players are calling foul on Elon Musk’s high-level hardcore character after he streams his struggles with core game mechanics
Alan Emrich, the game designer and writer who coined the term ‘4X,’ has died
Track down a missing person in this ‘Geoguessr-inspired detective game’ set on an alien planet
Old meets new as classic MMO players worship a famous Vtuber via gifts of bones so she can max out the Prayer skill
Hyper Light Breaker will cost $30 and for a limited time come with a free copy of Drifter
Fallout season 2 filming delayed due to massive LA fires
Assassin’s Creed Shadows is delayed again ‘to better incorporate player feedback gathered over the past three months’
The Freewrite Wordrunner with a built-in word counter might be the keyboard to look out for if you want to improve your writing process
‘I created it, let me move on’: Ex-Cloud 9 player, the Overwatch team whose blunder inspired the infamous ‘C9’ slang, watches in horror as the term moves onto Marvel Rivals
Lenovo’s rollable laptop screen isn’t just a CES party trick—you’ll be able to pick one up yourself in June
Nvidia CEO Jen-Hsun Huang’s simple reminder that useful quantum computing is a long way off has somehow caused industry stocks to plummet
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS
1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads
1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads
1
Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads
2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop
2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop
2
Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop
3Best mini PCs in 2025: The compact computers I love the most
3Best mini PCs in 2025: The compact computers I love the most
3
Best mini PCs in 2025: The compact computers I love the most
4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands
4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands
4
Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands
5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested
5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested
5
Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested
1Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits
1Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits
1
Thank Goodness You’re Here! review: An anarchic treasure trove of jokes and skits
2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback
2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback
2
Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review—like juggling chainsaws on horseback
3WD Black SN850X 8 TB NVMe SSD review
3WD Black SN850X 8 TB NVMe SSD review
3
WD Black SN850X 8 TB NVMe SSD review
4Ikea Utespelare desk review
4Ikea Utespelare desk review
4
Ikea Utespelare desk review
5Asus ROG Harpe Ace Mini wireless mouse review
5Asus ROG Harpe Ace Mini wireless mouse review
5
Asus ROG Harpe Ace Mini wireless mouse review