Microsoft releases MS-DOS source code on GitHub

upload_2018-10-1_16-50-3.png

In March 2014, Microsoft had released the source code to MS-DOS 1.25 and 2.0 via the Computer History Museum. A few days ago, they have re-released that same source on GitHub so it's much easier to find. Microsoft encourages exploring and experimenting with the source, but ask people not to send Pull Requests, as this publishing is purely for historical purposes.
You can check out MS-DOS on GitHub here.

:arrow: Source - Microsoft Developer Blog
:arrow: Coverage of the original release 4 years ago by FAST6191
 
Last edited by smileyhead,

Captain_N

Well-Known Member
Member
Joined
Mar 29, 2010
Messages
1,908
Trophies
2
XP
2,039
Country
United States
Asm...Respect for those whom can code in Asm B-)
I have respect for asm coders. Think of all the NES and SNES games coded that way.... The music was coded that way. And look what they did with such limitations.... Now devs just use pre-made engines and slap their assets on it... Oh and the shit does not even have to work well because they can just patch it.
 
Last edited by Captain_N,

MaybeTheLastBilly

Member
Newcomer
Joined
Jun 28, 2018
Messages
7
Trophies
0
Age
24
XP
103
Country
Canada
Why didn't they release the other versions of DOS while they're at it? I mean, I dont think any of them could have something relevant nowadays...
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,919
Country
Italy
Why didn't they release the other versions of DOS while they're at it? I mean, I dont think any of them could have something relevant nowadays...
Actually they still sold 6.22 until earlier this decade :D
And technically, they are still selling a DOS and Win16 compatibility layer (as part of every 32-bit Windows to date)...

...I guess they don't want to look "TOO" giveaway-y?
 

MaybeTheLastBilly

Member
Newcomer
Joined
Jun 28, 2018
Messages
7
Trophies
0
Age
24
XP
103
Country
Canada
Actually they still sold 6.22 until earlier this decade :D
And technically, they are still selling a DOS and Win16 compatibility layer (as part of every 32-bit Windows to date)...

...I guess they don't want to look "TOO" giveaway-y?

LOL really? Well in that case I guess it makes sense... I just wanted to play doom on an open-source version of DOS :sad:
 

WildDog

Well-Known Member
Member
Joined
Aug 13, 2018
Messages
188
Trophies
0
Age
37
XP
271
Country
Netherlands
LOL really? Well in that case I guess it makes sense... I just wanted to play doom on an open-source version of DOS :sad:

You could play Doom on Open Source Dos for a long time. FreeDOS is not exactly new.


Will this improve DOSbox or make it easier to port or is all of this basically already known?
Not really, plus for what is DOSbox and the Svn builds are much "perfected". You can pretty much play most of the games.
If you have a nice PC or laptop and want something more accurate then you use 86box or PCem.

Like other posters said, this is more for historic purpose.
 

matpower

Messenger from Zero
Member
Joined
May 5, 2012
Messages
1,103
Trophies
2
Age
24
Location
Best state in Brazil
XP
2,599
Country
Brazil
LOL really? Well in that case I guess it makes sense... I just wanted to play doom on an open-source version of DOS :sad:
FreeDOS, a GPL licensed DOS implementation, is already 20 years old and it is 99.9% compatible. Only Windows 3.x doesn't work properly, but it doesn't work anywhere else but MS-DOS.
It is an outstanding project and you should check it out at least once.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Isn't ASM an absolute hellish nightmare to learn?
Compared to a lot of languages today it is harder but you can still get useful results, to say nothing of learning assembly to a reasonable level will tend to help you write better code*. If you stick with the really old stuff from back when it will probably be a nightmare but the modern world and all the debug tools it affords means we have stuff like http://www.plantation-productions.com/Webster/HighLevelAsm/index.html and https://stuff.pypt.lt/ggt80x86a/asm1.htm which for me at least made it quite manageable. Those will cover x64/x86, if you want something else for an embedded system then look up whether such a thing was used in a console for ROM hackers then tend to have nice tools and documentation. Mind you it has been said learn one assembly and you are good, learn two and you can pretty much understand them all -- some will have quirks, some will have fewer abilities (some really old chips not only lack divide but subtraction is tricky) and slightly different syntax** but in the end it is still going to be the same handful of arithmetic instructions, device management instructions and program flow instructions that you use day in and day out.

*classic example being if you write a function call in assembly you will understand very clearly why calling a function within a function in C, or indeed most other languages, is not ideal.

**something like the NES 6502 only has three registers used in general use so most people consider individual instructions for them. To do that with the dozens of registers on the average x86 processor would be madness so people instead consider instructions as things and just fill in source and destination.
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Compared to a lot of languages today it is harder but you can still get useful results, to say nothing of learning assembly to a reasonable level will tend to help you write better code*. If you stick with the really old stuff from back when it will probably be a nightmare but the modern world and all the debug tools it affords means we have stuff like http://www.plantation-productions.com/Webster/HighLevelAsm/index.html and https://stuff.pypt.lt/ggt80x86a/asm1.htm which for me at least made it quite manageable. Those will cover x64/x86, if you want something else for an embedded system then look up whether such a thing was used in a console for ROM hackers then tend to have nice tools and documentation. Mind you it has been said learn one assembly and you are good, learn two and you can pretty much understand them all -- some will have quirks, some will have fewer abilities (some really old chips not only lack divide but subtraction is tricky) and slightly different syntax** but in the end it is still going to be the same handful of arithmetic instructions, device management instructions and program flow instructions that you use day in and day out.

*classic example being if you write a function call in assembly you will understand very clearly why calling a function within a function in C, or indeed most other languages, is not ideal.

**something like the NES 6502 only has three registers used in general use so most people consider individual instructions for them. To do that with the dozens of registers on the average x86 processor would be madness so people instead consider instructions as things and just fill in source and destination.

I've thought about delving into programming, but never found the motivation to do so, or even where to start.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @Sonic Angel Knight, Is that SAK I see. :ninja:
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +1
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: My life has no value my fat ass is staying right here