TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The original sources of MS-DOS 1.25 and 2.0

328 pointsby plurbyover 6 years ago

19 comments

6502nerdfaceover 6 years ago
The README for 2.0 contains an interesting apology to OEMs:<p>&gt; The user manual contains some significant errors. Most of these are due to last minute changes to achieve a greater degree of compatibility with IBM&#x27;s implementation of MS-DOS (PC DOS). This includes the use of &quot;\&quot; instead of &quot;&#x2F;&quot; as the path separator, and &quot;&#x2F;&quot; instead of &quot;-&quot; as the switch character. For transporting of batch files across machines, Microsoft encourages the use of &quot;\&quot; and &quot;&#x2F;&quot; respectively in the U.S. market. (See DOSPATCH.TXT for how you can overide this. The user guide explains how the end-user can override this in CONFIG.SYS). Both the printer echo keys and insert mode keys have now been made to toggle. The default prompt (this may also be changed by the user with the PROMPT command) has been changed from &quot;A:&quot; to &quot;A&gt;&quot;. We apologize for any inconveniences these changes may have caused your technical publications staff.<p>So MS-DOS almost had Unix-style file separators and argument switches!
评论 #18103237 未加载
0xabeover 6 years ago
Microsoft, please release QuickBasic to the world
评论 #18098712 未加载
评论 #18099273 未加载
评论 #18098667 未加载
scruffyherderover 6 years ago
It&#x27;s MIT licensed too!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;LICENSE.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;LICENSE.md</a><p>I was kind of surprised about that!
评论 #18098912 未加载
iguessthislldoover 6 years ago
It looks like they set the commit dates to match the release dates: <a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;commits&#x2F;master" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;commits&#x2F;master</a>
评论 #18098406 未加载
forapurposeover 6 years ago
Don&#x27;t overlook the email by v1.25 (and v2.0?) author Tim Paterson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;v1.25&#x2F;Tim_Paterson_16Dec2013_email.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;v1.25&#x2F;Tim_Pa...</a><p>... or the version history in the v2.0 MSHEAD.ASM file:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;v2.0&#x2F;source&#x2F;MSHEAD.ASM" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;v2.0&#x2F;source&#x2F;...</a><p>EDIT: Found better version history
评论 #18100888 未加载
Theodoresover 6 years ago
Shocking to think this is where PCs got started. On my first encounters with MS-DOS I was underwhelmed, the Acorn BBC Micro came with better software and it was all in ROM. I could not believe that this was serious software.
评论 #18160249 未加载
评论 #18098520 未加载
评论 #18098331 未加载
utopcellover 6 years ago
Full assembly. Was this the case all the way up to 6.22 ?
评论 #18098321 未加载
评论 #18098422 未加载
评论 #18098862 未加载
theamkover 6 years ago
Interesting, all sources of MS-DOS 1.25 is just 12K lines of code, including comments.<p>Today, this seems like a pretty small project, and most commercial apps are significantly bigger.
评论 #18103863 未加载
评论 #18099036 未加载
评论 #18099133 未加载
gerdesjover 6 years ago
Well it has a place, I suppose. For me: I wasted a lot of time and effort farting around with config.sys and autoexec.bat getting drivers to load etc.<p>Could I sue for lifetime wasted?
评论 #18098345 未加载
评论 #18098452 未加载
评论 #18098191 未加载
评论 #18098184 未加载
Jaruzelover 6 years ago
I&#x27;d like to see tiny 80x86 boards (about the size of the Pi Zero) that you could boot DOS on, with full access to GPIO&#x2F;SERIAL&#x2F;PARALLEL etc. I know arduino exists in this space, but for DOS lovers, little hobbyist boards like this would be great, and ideal for bootstrapping single purpose apps written in C.
评论 #18102447 未加载
giancarlostoroover 6 years ago
Wonder if and when we will get closer to seeing existing windows apps open sourced. It looks like they may be doing clean up of old codebases to release
评论 #18098382 未加载
评论 #18098150 未加载
brandonmencover 6 years ago
Does anyone remember a particular DOS programming guide that dove deep into the internals, distributed as textfiles written by a single author on contract from (I believe) the US Navy?
jamiewebover 6 years ago
Latest commit: 13 Aug 1983<p>Looks like they manually backdated that for effect, as there are only 3 commits in the repo.
评论 #18103523 未加载
miffeover 6 years ago
Why only 2.0, not 6.22?
评论 #18098156 未加载
评论 #18098044 未加载
评论 #18098098 未加载
评论 #18098354 未加载
评论 #18098091 未加载
Asiasweatworkerover 6 years ago
There is unlawful leaked MS-DOS 6.0 source code too.
Dowwieover 6 years ago
Does anyone remember ANSI bombs? One tricked 12 year old me and formatted my hard drive
评论 #18099842 未加载
ape4over 6 years ago
Could you run this with any current virtual machine?
评论 #18099385 未加载
评论 #18099303 未加载
anon49124over 6 years ago
Universities and industry groups, esp. security folks, get full source copies of Windows and more... with big bear-trap, PMITAP NDA&#x27;s. I have&#x2F;had a NT5&#x2F;Win2k source CD somewhere in my empire of junk.
selimnairbover 6 years ago
I have tons of nostalgia for DOS having first used it in 1992. However, as soon as I used Linux in 1994, it was instantly apparent how backward and hard to use DOS was compared to Unix-like systems. With hardware like Raspberry Pis, not sure why anyone would want to use DOS on x86 for embedded purposes today.