Facepalm: Microsoft deserves kudos for open-sourcing the MS-DOS 4.00 supply code, shedding gentle on an essential milestone in computing historical past. However the tech large has bungled the discharge in a approach that will trigger useless complications for historians and archivists keen to check the decades-old code.
The fumble is dumping the supply right into a Git repository somewhat than offering a pristine archive, which, as software program curator Michal Necasek of the OS/2 Museum factors out, was the correct method. He makes a superb level: “Historic supply code must be launched merely as an archive of information, ZIP or tar or 7z or no matter, with all timestamps preserved and each single byte saved the way in which it was. Git is solely not an appropriate software for this.”
By tossing the supply into Git, Microsoft could have corrupted the information in a number of methods. Git ignored authentic timestamps, stripping away doubtlessly worthwhile metadata about when every file was final modified. Even worse, the conversion to UTF-8 encoding turned some code into gibberish, breaking the construct course of.
As Necasek emphasizes, decades-old supply is not simply textual content; it is primarily binary knowledge that calls for full preservation with no modification in anyway. Re-encoding it causes breakage, since antiquated instruments like MASM 5.10 and Microsoft C 5.1 naturally cannot deal with Unicode codecs like UTF-8 that did not exist again then.

Whereas the supply of MS-DOS 4.00’s code is undoubtedly a boon for software program historians analyzing the lineage from MS-DOS to Home windows, the GitHubbing method could have needlessly undermined efforts to construct and analyze the code as genuine archival materials.
Nevertheless, one commenter going by the username ‘starfrost,’ who claims they labored with Microsoft to get this launch out, said below the unique piece that they may doubtlessly get the unique ZIP file. Timestamps might not be out there, although, as a result of “knowledge safety legislation mandates anonymisation of supply information.”
Furthermore, Necasek did remark that he was capable of efficiently construct the code in its entirety by copying it over to a digital machine with PC DOS 2000 and working the construct course of there. So, if you happen to’re trying to construct, that is the way in which to go.
Microsoft would have nonetheless been wiser to offer the supply as a clear ZIP or 7z archive straight from its inner backups with correct encoding, preserving each byte in its authentic kind. Computing’s legacy is just too valuable for amateurish antics.
To its credit score, Microsoft did go the additional mile by bundling beta binaries from Ray Ozzie’s archives, authentic documentation, and disk photographs for straightforward emulation.