• 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

Chief Broken Rig
Staff member
Joined
Mar 25, 2009
Messages
9,343 (2.42/day)
Location
04578
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

Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
20,878 (4.03/day)
Location
Florida
System Name Venslar
Processor I9 7980XE
Motherboard MSI x299 Tomahawk Arctic
Cooling EK Custom
Memory 32GB Corsair DDR4 3000mhz
Video Card(s) Nvidia Titan RTX
Storage 2x 2TB Micron SSDs | 1x ADATA 128SSD | 1x Drevo 256SSD | 1x 1TB 850 EVO | 1x 250GB 960 EVO
Display(s) 3x AOC Q2577PWQ (2k IPS)
Case Inwin 303 White (Thermaltake Ring 120mm Purple accent)
Audio Device(s) Realtek ALC 1220 on Audio-Technica ATH-AG1
Power Supply Seasonic 1050W Snow
Mouse Roccat Kone Aimo White
Keyboard Ducky Shine 6 Snow White
Software Windows 10 x64 Pro

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
15,925 (3.67/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K at stock (hits 5 gees+ easily)
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (4 x 4GB Corsair Vengeance DDR3 PC3-12800 C9 1600MHz)
Video Card(s) Zotac GTX 1080 AMP! Extreme Edition
Storage Samsung 850 Pro 256GB | WD Green 4TB
Display(s) BenQ XL2720Z | Asus VG278HE (both 27", 144Hz, 3D Vision 2, 1080p)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair HX 850W v1
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,221 (0.95/day)
Location
Geneva, 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
2,917 (1.52/day)
Location
SE Michigan
System Name Dumbass
Processor AMD-9370BE @4.6
Motherboard ASUS SABERTOOTH 990FX R2.0 +SB950
Cooling CM Nepton 280L
Memory G.Skill Sniper 16gb DDR3 2400
Video Card(s) GreenTeam 1080 Gaming X 8GB
Storage C:\SSD (240GB), D:\Seagate (2TB), E:\Western Digital (1TB)
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 Logitech G700s
Keyboard Logitech G910 Orion Spark
Software windows 10
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,183 (4.12/day)
System Name Grunt
Processor Intel i7-7820x
Motherboard MSI X299 Raider
Cooling Noctua NH-U12A
Memory Corsair LPX 3600 32GB (4x8GB)
Video Card(s) Powercolor Vega 64
Storage Intel 900p 280GB, 660p 2TB, Seagate Barracuda Pro 10TB
Display(s) Viewsonic VX2457, 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
2,917 (1.52/day)
Location
SE Michigan
System Name Dumbass
Processor AMD-9370BE @4.6
Motherboard ASUS SABERTOOTH 990FX R2.0 +SB950
Cooling CM Nepton 280L
Memory G.Skill Sniper 16gb DDR3 2400
Video Card(s) GreenTeam 1080 Gaming X 8GB
Storage C:\SSD (240GB), D:\Seagate (2TB), E:\Western Digital (1TB)
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 Logitech G700s
Keyboard Logitech G910 Orion Spark
Software windows 10
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
11,624 (2.62/day)
System Name Pioneer
Processor Intel i9 9900k @ Stock
Motherboard ASRock Z390 Taichi
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory G.SKILL TridentZ Series 32GB (4 x 8GB) DDR4-3200 @ DDR4-3400 14-14-14-34-2T
Video Card(s) EVGA GTX 1080 FTW2
Storage HGST UltraStar 7K6000 3.5" HDD 2TB 7200 RPM (w/128MBs of Cache)
Display(s) LG 32GK850G-B 1440p 32" AMVA Panel G-Sync 144hz Display
Case Thermaltake Core X31
Audio Device(s) USB Schiit Modi Multibit to Asgard 2 Amp to AKG K7XX Ruby Red Massdrop Headphones
Power Supply Seasonic PRIME 750W 80Plus Titanium
Mouse ROCCAT Kone EMP
Keyboard WASD CODE 104-Key w/ Cherry MX Green Keyswitches, Doubleshot Vortex PBT White Transluscent Keycaps
Software Windows 10 x64 Enterprise... yes, it's legit.
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,183 (4.12/day)
System Name Grunt
Processor Intel i7-7820x
Motherboard MSI X299 Raider
Cooling Noctua NH-U12A
Memory Corsair LPX 3600 32GB (4x8GB)
Video Card(s) Powercolor Vega 64
Storage Intel 900p 280GB, 660p 2TB, Seagate Barracuda Pro 10TB
Display(s) Viewsonic VX2457, 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
11,624 (2.62/day)
System Name Pioneer
Processor Intel i9 9900k @ Stock
Motherboard ASRock Z390 Taichi
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory G.SKILL TridentZ Series 32GB (4 x 8GB) DDR4-3200 @ DDR4-3400 14-14-14-34-2T
Video Card(s) EVGA GTX 1080 FTW2
Storage HGST UltraStar 7K6000 3.5" HDD 2TB 7200 RPM (w/128MBs of Cache)
Display(s) LG 32GK850G-B 1440p 32" AMVA Panel G-Sync 144hz Display
Case Thermaltake Core X31
Audio Device(s) USB Schiit Modi Multibit to Asgard 2 Amp to AKG K7XX Ruby Red Massdrop Headphones
Power Supply Seasonic PRIME 750W 80Plus Titanium
Mouse ROCCAT Kone EMP
Keyboard WASD CODE 104-Key w/ Cherry MX Green Keyswitches, Doubleshot Vortex PBT White Transluscent Keycaps
Software Windows 10 x64 Enterprise... yes, it's legit.
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
492 (0.10/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
1,238 (0.50/day)
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
1,730 (0.32/day)
Location
The Pico Mundo Grill
System Name Commercial towing vehicle Nostromo
Processor R7 2700X
Motherboard Crosshair Hero VI
Cooling Hydro H110i V2
Memory 2 x 8 GB HX429C15PB3A (2933MHz)
Video Card(s) 970 STRIX
Storage 960 M2 500 GB - 860 EVO 1 TB - Red PRO 4 TB
Display(s) VG248QE
Case Lian-Li Test Bench
Audio Device(s) SoundBlaster Z
Power Supply AX 860
Mouse New model MX 518
Keyboard Drevo BladeMaster TE
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
1,760 (0.90/day)
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