• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Microsoft Publishes MS-DOS Source Code on GitHub

crazyeyesreaper

Not a Moderator
Staff member
Joined
Mar 25, 2009
Messages
9,759 (1.77/day)
Location
04578
System Name Old reliable
Processor Intel 8700K @ 4.8 GHz
Motherboard MSI Z370 Gaming Pro Carbon AC
Cooling Custom Water
Memory 32 GB Crucial Ballistix 3666 MHz
Video Card(s) MSI GTX 1080 Ti Gaming X
Storage 3x SSDs 2x HDDs
Display(s) Dell U2412M + Samsung TA350
Case Thermaltake Core P3 TG
Audio Device(s) Samson Meteor Mic / Generic 2.1 / KRK KNS 6400 headset
Power Supply Zalman EBT-1000
Mouse Mionix NAOS 7000
Keyboard Mionix
Considering Microsoft only recently acquired GitHub, it took them no time at all to put the software development platform to good use. Accordingly, the Redmond-based IT giant has set up an online repository from which they could re-release versions 1.25 and 2.0 of MS-DOS. According to Rich Turner, a Senior Program Manager at Microsoft, it is "much easier to find, read, and refer to MS-DOS source files if they're in a GitHub repo than in the original downloadable compressed archive file." The compressed archive Turner mentions is the original release of the source code from 2014 when both versions of MS-DOS were first made available via the Computer History Museum after their discovery by Tim Paterson. This is fitting considering Paterson is the original author of 86-DOS, which forms the basis for MS-DOS.

Microsoft has stated that they will ignore any pull requests or changes to the original source code, with the repository instead being kept static more as a historical reference to be used in literature. That said, users are more than welcome to create separate development forks for exploration and experimentation. When it comes to yours truly, while I don't plan to do much experimenting, this has created an itch to relive the past. Maybe I should dust off that old MS-DOS system in the garage and see if it still works.


View at TechPowerUp Main Site
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,845 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.99/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
That's good, but they're not publishing the latest DOS 6.22, are they? I'm curious why. Anyone have an idea?
 
Joined
Aug 10, 2007
Messages
4,267 (0.70/day)
Location
Sanford, FL, USA
Processor Intel i5-6600
Motherboard ASRock H170M-ITX
Cooling Cooler Master Geminii S524
Memory G.Skill DDR4-2133 16GB (8GB x 2)
Video Card(s) Gigabyte R9-380X 4GB
Storage Samsung 950 EVO 250GB (mSATA)
Display(s) LG 29UM69G-B 2560x1080 IPS
Case Lian Li PC-Q25
Audio Device(s) Realtek ALC892
Power Supply Seasonic SS-460FL2
Mouse Logitech G700s
Keyboard Logitech G110
Software Windows 10 Pro
Code:
GOTBADDOS:
        MOV     DX,OFFSET DG:BADVER
        JMP     CERROR

When you got bad dos, mov and jmp!
 
Joined
Jul 16, 2014
Messages
8,116 (2.28/day)
Location
SE Michigan
System Name Dumbass
Processor AMD Ryzen 7800X3D
Motherboard ASUS TUF gaming B650
Cooling Artic Liquid Freezer 2 - 420mm
Memory G.Skill Sniper 32gb DDR5 6000
Video Card(s) GreenTeam 4070 ti super 16gb
Storage Samsung EVO 500gb & 1Tb, 2tb HDD, 500gb WD Black
Display(s) 1x Nixeus NX_EDG27, 2x Dell S2440L (16:9)
Case Phanteks Enthoo Primo w/8 140mm SP Fans
Audio Device(s) onboard (realtek?) - SPKRS:Logitech Z623 200w 2.1
Power Supply Corsair HX1000i
Mouse Steeseries Esports Wireless
Keyboard Corsair K100
Software windows 10 H
Benchmark Scores https://i.imgur.com/aoz3vWY.jpg?2
That's good, but they're not publishing the latest DOS 6.22, are they? I'm curious why. Anyone have an idea?
no need to be curious, just ask them!
 
Joined
Sep 7, 2017
Messages
3,244 (1.34/day)
System Name Grunt
Processor Ryzen 5800x
Motherboard Gigabyte x570 Gaming X
Cooling Noctua NH-U12A
Memory Corsair LPX 3600 4x8GB
Video Card(s) Gigabyte 6800 XT (reference)
Storage Samsung 980 Pro 2TB
Display(s) Samsung CFG70, Samsung NU8000 TV
Case Corsair C70
Power Supply Corsair HX750
Software Win 10 Pro
Technically, I think MS-DOS had higher versions than 6.22 (up to Windows ME or XP). No clue what the difference would be though.

I kind of came into PCs right when Windows took over, and only used DOS to launch games. DOS as a front end was dying out by that time.. I feel like I missed out on something.
 
Joined
Jul 16, 2014
Messages
8,116 (2.28/day)
Location
SE Michigan
System Name Dumbass
Processor AMD Ryzen 7800X3D
Motherboard ASUS TUF gaming B650
Cooling Artic Liquid Freezer 2 - 420mm
Memory G.Skill Sniper 32gb DDR5 6000
Video Card(s) GreenTeam 4070 ti super 16gb
Storage Samsung EVO 500gb & 1Tb, 2tb HDD, 500gb WD Black
Display(s) 1x Nixeus NX_EDG27, 2x Dell S2440L (16:9)
Case Phanteks Enthoo Primo w/8 140mm SP Fans
Audio Device(s) onboard (realtek?) - SPKRS:Logitech Z623 200w 2.1
Power Supply Corsair HX1000i
Mouse Steeseries Esports Wireless
Keyboard Corsair K100
Software windows 10 H
Benchmark Scores https://i.imgur.com/aoz3vWY.jpg?2
Technically, I think MS-DOS had higher versions than 6.22 (up to Windows ME or XP). No clue what the difference would be though.

I kind of came into PCs right when Windows took over, and only used DOS to launch games. DOS as a front end was dying out by that time.. I feel like I missed out on something.
DOS was critical up to Xp/Vista. Not so much for the average user.
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64
Good. Now if IBM would opensource OS/2, I might actually toy with it. MS-DOS? Meh. Better free, open source, binary compliant alternatives exist. There still to this day is really nothing quite like OS/2s workplace shell...
 
Joined
Sep 7, 2017
Messages
3,244 (1.34/day)
System Name Grunt
Processor Ryzen 5800x
Motherboard Gigabyte x570 Gaming X
Cooling Noctua NH-U12A
Memory Corsair LPX 3600 4x8GB
Video Card(s) Gigabyte 6800 XT (reference)
Storage Samsung 980 Pro 2TB
Display(s) Samsung CFG70, Samsung NU8000 TV
Case Corsair C70
Power Supply Corsair HX750
Software Win 10 Pro
Good. Now if IBM would opensource OS/2, I might actually toy with it. MS-DOS? Meh. Better free, open source, binary compliant alternatives exist. There still to this day is really nothing quite like OS/2s workplace shell...

They really should just do that. No one is going to buy it now.. and some banks and businesses apparently have legacy systems that depend on it (at least they did for awhile).
 
Joined
Aug 20, 2007
Messages
20,758 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64
They really should just do that. No one is going to buy it now.. and some banks and businesses apparently have legacy systems that depend on it (at least they did for awhile).

There was a petition and they claimed that they couldn't, because MS held rights to some of the code. This makes me think there might be new hope, though.

IIRC, the code held was for the HPFS file system, which is a precursor to NTFS with a 2GB file size limit. I don't think anyone is really going to find that worth stealing and using today...

EDIT: And to my amazement, people are still patching OS/2 up and selling it.
 
Joined
Mar 26, 2006
Messages
517 (0.08/day)
Location
Stamford, UK
System Name The Money Sink
Processor Intel i7-5960X at 4.60Ghz
Motherboard MSI X99A Godlike
Cooling Custom watercooling loop, single D5 -> CPU, dual D5 -> GPU's
Memory 64GB DDR4-3000
Video Card(s) 2 x 1080Ti @ Stock for the moment (40oC LOAD)
Storage 960GB Mushkin Scorpion Deluxe and 2 x 512GB M.2 SSD RAID0
Display(s) Dual Curved LG 34" Display
Power Supply EVGA 1600W G2
Software Windows 10
Benchmark Scores ALOT
Joined
Dec 28, 2012
Messages
3,475 (0.84/day)
System Name Skunkworks
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software openSUSE tumbleweed/Mint 21.2
Technically, I think MS-DOS had higher versions than 6.22 (up to Windows ME or XP). No clue what the difference would be though.

I kind of came into PCs right when Windows took over, and only used DOS to launch games. DOS as a front end was dying out by that time.. I feel like I missed out on something.
DOS was critical up to Xp/Vista. Not so much for the average user.
DOS was the underpinnings of the 9x kernel, which was technically DOS 7.0 (for windows 95) and DOS 7.1 (for windows 98). DOS was more hidden with windows ME. So yes, DOS lived on under the 9x kernel. DOS 7 was never released as a standalone product, but technically windows 95/98 were just newer versions of WIN.EXE, just like windows 1,2, and 3. Me was a bit more complicated, but that whole OS was a disaster.

Windows 2000 and up were based on the NT kernel, which was NOT DOS. A DOS mode was added for compatibility, but it was not running in DOS itself. It was closer to what you would consider DOSBOX to be: emulation of DOS. Windows 2000/XP struggled with some DOS programs, others didnt run at all, others had weird glitches and bugs. The last OS to be truly based on DOS was windows 98se in "real mode", windows ME did not have the ability to use "real mode" to run in DOS itself.

EDIT: engrish is hard.
 
Joined
Jan 31, 2005
Messages
2,052 (0.29/day)
Location
Denmark
System Name Commercial towing vehicle "Nostromo"
Processor 5800X3D
Motherboard X570 Unify
Cooling EK-AIO 360
Memory 32 GB Fury 3666 MHz
Video Card(s) 4070 Ti Eagle
Storage SN850 NVMe 1TB + Renegade NVMe 2TB + 870 EVO 4TB
Display(s) 25" Legion Y25g-30
Case Lian Li LanCool 216 v2
Audio Device(s) B & W PX7 S2e
Power Supply HX1500i
Mouse Harpe Ace Aim Lab Edition
Keyboard Scope II 96 Wireless
Software Windows 11 23H2
Ohhh...I remember optimizing the config.sys and autoexec.bat files ....HIMEM, EMM386 and so on......fun times back then :roll:
 
Joined
Jun 10, 2014
Messages
2,900 (0.81/day)
Processor AMD Ryzen 9 5900X ||| Intel Core i7-3930K
Motherboard ASUS ProArt B550-CREATOR ||| Asus P9X79 WS
Cooling Noctua NH-U14S ||| Be Quiet Pure Rock
Memory Crucial 2 x 16 GB 3200 MHz ||| Corsair 8 x 8 GB 1333 MHz
Video Card(s) MSI GTX 1060 3GB ||| MSI GTX 680 4GB
Storage Samsung 970 PRO 512 GB + 1 TB ||| Intel 545s 512 GB + 256 GB
Display(s) Asus ROG Swift PG278QR 27" ||| Eizo EV2416W 24"
Case Fractal Design Define 7 XL x 2
Audio Device(s) Cambridge Audio DacMagic Plus
Power Supply Seasonic Focus PX-850 x 2
Mouse Razer Abyssus
Keyboard CM Storm QuickFire XT
Software Ubuntu
That's good, but they're not publishing the latest DOS 6.22, are they? I'm curious why. Anyone have an idea?
I know other software from Microsoft usually contain many elements licensed from third parties. Even though Microsoft bought the rights for the original version, they might have licensed other code later on. This could be third parties like IBM, or smaller companies. I'm sure they could get a legal agreement to publish it now, but they probably wouldn't make the effort.

There is also the possibility that unveiling of code can cause legal disputes, there could be code that has uncertain legal status or is simply stolen.

I would still hope that Microsoft could find a way to release version 6.22 and 8.0, even if they have to drop some minor stuff. I've noticed a surge in interest for old MS-DOS games, and I'm confident someone would like to fix a few small things in the source code.

There are still legacy software running DOS around the world, mostly running on compatible OS's like DR-DOS or FreeDOS. I do believe that Dell and HP at least until very recently offered FreeDOS on a range of computers.

Technically, I think MS-DOS had higher versions than 6.22 (up to Windows ME or XP). No clue what the difference would be though.
Yes, 8.0 was the last one, but 6.22 was the last standalone version. Newer versions added support for larger volumes and driver support, among other things.

I remember running dual-boot with Windows 95 (and possibly 98?) and MS-DOS 6.22 for a long time. I don't remember any more what the issue was, but Microsoft certainly broke or dropped some kind of support in 7.x and 8.0, and there were some games that worked better under 6.22. I haven't been running real MS-DOS since the 90s, so I don't remember everything. I just stick to DosBox these days, but I still play some old games regularly, like Jazz Jackrabbit among others.
 
Top