【Hacker News搬运】开源DOS 4
-
Title: Open Sourcing DOS 4
开源DOS 4
Text:
Url: https://www.hanselman.com/blog/open-sourcing-dos-4
本文介绍了微软开放源代码博客上的一个事件,即微软开放了 MS-DOS 4.00 的源代码,并将其发布在 GitHub 上。这个版本的历史相当复杂,微软与 IBM 合作开发了部分代码,同时还创建了一个名为 Multitasking DOS 的分支,但这个分支并没有广泛发布。文章中提到了一位名叫 Connor "Starfrost" Hyde 的年轻英国研究人员,他联系了前微软首席技术官 Ray Ozzie,讨论了他收藏的一些软件。Ozzie 在他担任 Lotus 期间收到了 DOS 4.0 的未发布测试版本,他与 Starfrost 合作,探索发布 DOS 4 的源代码。微软和 IBM 认为这是操作系统历史上一个值得分享的重要片段。文章还感谢了那些为数字考古做出贡献的人,包括 Greaseweazle、Fluxengine、Aaru Data Preservation Suite 和 HxC Floppy Emulator 等软件的开发者。最后,作者斯科特·汉森(Scott Hanselman)提到了他自己的背景和联系方式。
Post by: ndiddy
Comments:
sponaugle: As Scott mentioned in the blog post, we were able to get this running on one of my original IBM XTs with an original IBM monochrome display adapter and display. It was very cool to be able to switch between a running version of a small game, Turbo Pascal, and a DOS prompt with a single key press.<p>It is always great to have period software on period hardware!<p>(added: Short video of it running - <a href="https://www.youtube.com/watch?v=YPPNbaQaumk" rel="nofollow">https://www.youtube.com/watch?v=YPPNbaQaumk</a>)
sponaugle: 正如Scott在博客文章中提到的,我们能够在我的一个原始IBM XT上运行它,该XT具有原始的IBM单色显示适配器和显示器。能够在运行版本的小游戏Turbo Pascal和DOS提示之间切换是非常酷的<p> 在时代硬件上安装时代软件总是很棒的<p> (添加:它运行的短视频-<a href=“https://;/;www.youtube.com/?watch?v=YPPNbaQaumk”rel=“nofollow”>https://;#xx2F;http://www.youtube.com#xA0;watch?v=YPPNbaQaumk</a>)
conkeisterdoor: It looks like "brain damaged" was the developer's go-to insult when frustrated :D<p>2024-04-25 19:35 ~/sort/dl/MS-DOS % grep -nri 'brain[ -]damage' .<p>./v4.0/src/DOS/STRIN.ASM:70:; Brain-damaged TP ignored ^F in case his BIOS did not flush the<p>./v4.0/src/DOS/PATH.ASM:24:; MZ 19 Jan 1983 Brain damaged applications rely on success<p>./v4.0/src/DOS/FCBIO.ASM:28:; MZ 15 Dec 1983 Brain damaged programs close FCBs multiple<p>./v4.0/src/DOS/FCBIO2.ASM:28:; MZ 15 Dec 1983 Brain damaged programs close FCBs multiple<p>./v4.0/src/BIOS/MSBIO1.ASM:82:; REV 2.15 7/13/83 ARR BECAUSE IBM IS FUNDAMENTALY BRAIN DAMAGED, AND<p>./v4.0/src/CMD/PRINT/PRINT_R.ASM:1772: ; See if brain damaged user entered
conkeisterdoor: 它看起来像“;脑损伤”;是显影剂;s在沮丧时会受到侮辱:D<p>2024-04-25 19:35~/;排序/;dl;MS-DOS%grep-nri;脑[-]损伤<</p>x2F;v4.0;src/;DOS/F;字符串。ASM:70:;大脑受损的TP忽略^F,以防他的BIOS没有刷新<p>/;v4.0;src/;DOS/F;路径。ASM:24:;MZ 1983年1月19日脑损伤应用依赖于成功<p>/;v4.0;src/;DOS/F;FCBIO。ASM:28:;MZ 1983年12月15日脑损伤项目多次关闭FCB<p>/;v4.0;src/;DOS/F;FCBIO2.ASM:28:;MZ 1983年12月15日脑损伤项目多次关闭FCB<p>/;v4.0;src/;BIOS;MSBIO1.ASM:82:;修订版2.15 7;13;83 ARR是因为IBM的大脑根本受损,而且<p>/;v4.0;src/;CMD;打印;PRINT_R.ASM:1772:;查看脑损伤用户是否输入
jmspring: My brain is rusty, but I feel like MSDOS 5.11 was where things finally just worked. TSRs, memory managers, etc. Moving a lot and not being a packrat I've lost some of that history.<p>It'd be interesting to see 5.x and 6.x released.
jmspring: 我的大脑已经生疏了,但我觉得MSDOS 5.11终于发挥了作用。TSR、存储器管理器等。移动很多并且不是packrat I;I’我失去了一些那段历史<p> 它;我很高兴看到5.x和6.x的发布。
nullindividual: > ; Check for presence of \dev\ (Dam multiplan!) [0]<p>I assume this refers to the spreadsheet application.<p>[0] <a href="https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/DOS/DIR2.ASM#L1128C1-L1130C2">https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/DOS/D...</a><p>EDT:<p>That one policy hadn't quite gone into effect yet
[1]<p>[1] <a href="https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/CMD/COMMAND/TMISC1.ASM#L309">https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/CMD/C...</a><p>For posterity...<p>> RESEARCH:<p>> invoke path_search ; find the mother (result in execpath)
> or AX, AX ; did we find anything?<p>> je badcomj45 ; null means no (sob)<p>> cmp AX, 04H ; 04H and 08H are .exe and .com<p>> jl rsrch_br1 ; fuckin' sixteen-bit machine ought<p>> jmp execute ; to be able to handle a SIXTEEN-BITnullindividual: >;检查是否存在\dev\(Dam multiplan!)[0]<p>我认为这是指电子表格应用程序<p> [0]<a href=“https://;/;github.com#xx2F;microsoft/:MS-DOS/,blob/。main/的v4.0/!src/…DOS/?DIR2.ASM#L1128C1-L1130C2”>https:///;github.com/;microsoft/;MS-DOS;blob;main;v4.0;src/;DOS/F;D.…</a><p>EDT:<p>一个策略没有;还没有完全生效;-)[1] <p>[1]<a href=“https://;/;github.com#xx2F;microsoft/:MS-DOS/!blob/,main/…v4.0/?src/“CMD/”COMMANDȏ;TMISC1.ASM#L309”>https:///;github.com/;microsoft/;MS-DOS;blob;main;v4.0;src/;CMD;C…</a><p>为了子孙后代<p> >;研究:<p>>;调用path_search;查找母亲(结果在execpath中)>;或AX、AX;我们找到什么了吗<p> >;je badcomj45;null表示没有(sob)<p>>;cmp AX,04H;04H和08H是.exe和.com<p>>;jl rssrch_br1;他妈的;十六位机器应该<p>>;jmp执行;能够处理十六位
zdimension: <a href="https://github.com/microsoft/MS-DOS/blob/2d04cacc5322951f187bb17e017c12920ac8ebe2/v4.0/src/BIOS/MSBIO1.ASM#L82">https://github.com/microsoft/MS-DOS/blob/2d04cacc5322951f187...</a><p>> ; REV 2.15 7/13/83 ARR BECAUSE IBM IS FUNDAMENTALY BRAIN DAMAGED, AND<p>Someone was angry that day. Wonder if any IBM dev ever stumbled upon this when MS and IBM worked together.
zdimension: <a href=“https://;/;github.comȏ;microsoft/:MS-DOS/,blob/!2d04cacc5322951f187bb17e017c12920ac8ebe2/“v4.0/”src//;github.com/;microsoft/;MS-DOS;blob;2d04cacc5322951f187…</a><p>>;修订版2.15 7;13;83 ARR是因为IBM的大脑根本受损,那天有人很生气。不知道当微软和IBM合作时,是否有IBM开发人员偶然发现了这一点。