Slashdot Mirror


Microsoft 'Re-Open Sources' MS-DOS on GitHub (microsoft.com)

An anonymous reader quotes Microsoft's Developer blog: In March 2014, Microsoft released the source code to MS-DOS 1.25 and 2.0 via the Computer History Museum. The announcement also contains a brief history of how MS-DOS came to be for those new to the subject, and ends with many links to related articles and resources for those interested in learning more. Today, we're re-open-sourcing MS-DOS on GitHub. Why? Because it's 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.... Enjoy exploring the initial foundations of a family of operating systems that helped fuel the explosion of computer technology that we all rely upon for so much of our modern lives!
While non-source modifications are welcome, "The source will be kept static," reads a note on the GitHub repo, "so please don't send Pull Requests suggesting any modifications to the source files."

"But feel free to fork this repo and experiment!"

8 of 122 comments (clear)

  1. "Please don't send Pull Requests..." by Ecuador · · Score: 4, Funny

    And, naturally, the first Pull Request with the description "just cleaning up some old cruft" (https://github.com/Microsoft/MS-DOS/pull/1) just deletes everything :)

    --
    Violence is the last refuge of the incompetent. Polar Scope Align for iOS
    1. Re:"Please don't send Pull Requests..." by voss · · Score: 4, Insightful

      The last standalone version of ms-DOS was 6.22. Id rather use DOSbox than msdos 2

  2. MS-DOS and Intel x86 cpus were a setback by presidenteloco · · Score: 4, Insightful

    To software reliability (and good design) that has taken decades to dig out of.

    The chip architecture and machine language was overcomplicated (non orthogonal instruction set, segmented memory architecture) and the OS was by far the least elegant available at the time, with bizarre irregular commands and options, and horrible limitations making programming much harder than it ought to have been, due to the chip and memory architecture.
    There were much better alternatives, from a technical perspective, at a similar low price point, like Z80, M68000, CPM, AmigaOS, etc.
    And far far technically superior things like Sun/RISC/Solaris were soon available, albeit much too pricey for common use.

    It's one of my lesser disappointments in humanity that Wintel stuff managed to dominate despite its inner hideousness.

    --

    Where are we going and why are we in a handbasket?
  3. Re:Important caveat by nukenerd · · Score: 4, Informative

    did Microsoft MS-DOS rip off CP/M 86 code?

    No they didn't, because contrary to general belief Microsoft did not originally write DOS. They bought it from Seattle Computer Products [SCP] where it had been written for an 8086 by a guy called Tim Paterson. Some people believe that some ripped-off CP/M code was in it. MS also hired Paterson to port it to the IBM PC.

    What MS did rip off was SCP - by lying about what they wanted DOS for, which was specifically to sell it on to IBM, and so they got it for a low price. Later SCP threatened to sue MS for misrepresentation, and I believe it was settled out of court by MS paying some more.

  4. Re:Important caveat by Jim+Hall · · Score: 4, Informative

    It’s only the source for the two ancient versions mentioned - 1.25 and 2.0. It’s been a while (obviously), but I don’t think MS-DOS got interesting until 3.x... and the final release was 8.0.

    Don’t think this will replace your FreeDOS, in other words.

    This is a very interesting update. And interestingly, the MIT license is compatible with the GNU GPL.

    You're right, these are very old versions of MS-DOS that do not include more advanced features including CD-ROM support, networking, '386 support, etc. So from a practical side, FreeDOS would not be able to reuse this code for any modern features anyway. But for basic features, such as weird edge case compatibility, we might now be able to reference this code to improve FreeDOS.

    Note: I'm the founder and coordinator of FreeDOS

  5. Re:On the bright side... by Jim+Hall · · Score: 4, Informative

    It reduces the chances of tainting freedos since freedos already reverse engineered dos 1.x/2.x era functionality decades ago.

    Yes, you're right. The previous source code release of MS-DOS (March 2014, from Microsoft) was under a "look but do not touch" license that said you could only read the source code, but you could not use it elsewhere, and you couldn't apply what you'd learned from the MS-DOS code in other projects. So the FreeDOS Project has been very careful and said several times that if you viewed the MS-DOS source code, you should not contribute to FreeDOS Base because we didn't want to risk tainting the FreeDOS source code. We have a note to that effect on the FreeDOS History page:

    "Please note: if you download and study the MS-DOS source code, you should not contribute code to FreeDOS afterwards. We want to avoid any suggestion that FreeDOS has been "tainted" by this proprietary code."

    This source code release uses the MIT license (aka Expat license) which is compatible with the GNU GPL. That should mean that people who read this version of the MS-DOS source code can contribute to FreeDOS. (As always, if you've somehow viewed one of the unauthorized source code releases of MS-DOS, you should still not contribute to FreeDOS Base.)

    Note: I'm the founder and coordinator of FreeDOS

  6. Re: Important caveat by Jim+Hall · · Score: 4, Interesting

    I would like to see them release the source code for something interesting like Windows 95 and NT 4 into the public domain. Wake me when that happens. Maybe the "good parts" (I know, don't say it) could be merged into something like ReactOS and we'll have a decent Freedom Windows stable equivelent of FreeDOS.

    I'd be really interested in seeing Microsoft release the source code to MS-DOS 5 or later under a similar open source software license. Microsoft essentially rewrote MS-DOS for version 5, probably using a lot of C, and would theoretically include more modern programming techniques.

    It's nice that they re-released these older versions under a more acceptable open source software license, though.

  7. The toys from that time period. No networks by raymorris · · Score: 4, Interesting

    To be precise, Windows 1-3.1 didn't come with networking. The "real" computers of the era ran network operating systems such as Unix. A DISK Operating System (DOS) , as opposed to a network operating system, for a PERSONAL computer (PC) was the oddball. Toys people played with at home ran Windows. It turned out to be a brilliant strategy as personal home computers developed into useful machines.

    It worked really well for them from about 1988-1995. Then in 1995 the world wide web happened and an OS centered around the idea of only working locally eschewing the network-based model that preceded it suddenly was a big problem. Networking was back bigger than ever, and Microsoft had bet on DISK OS, rejecting the idea of the network. Microsoft execs were freaked out.

    Worse, Microsoft had just spent years developing the next big thing, an extension of Object Linking and Embedding (OLE) called COM. In any document, you could embed or link to some other file type. A Word document could link to a spreadsheet, or embed an image. It was amazing. It better be amazing - they had bet big on it.

    Then they saw "a href" and "img src". Everything Microsoft had spent the last four years doing was suddenly replaced by a friggin tag.

    Forshort time tried to stop the WWW from growing, but there was no way to stop it. Microsoft renamed COM (aka OLE) to "ActiveX" and tried to market it as an internet technology. We all know how well that went.