英語で読む「MS-DOS」

MicrosoftがGithubにMS-DOSのソースコードを公開したことが話題になった。確かにソースコードには違いないのだが、数百行ものアセンブラを読んでもわからないので、海外の記事などを読んでみた。

The source-code for MS-DOS v1.25 — the first version of MS-DOS to be released to general PC manufacturers — has just seven source files. When compiled, version 1.0 of the OS only took up about 12kb of memory, an order of magnitude less than a typical web page today.

初期のMS-DOSはコンパイルすると12kbということで、今のWebサイトよりも小さい。リンクを辿ると、Githubに公開される前にComputer History Museumで公開された際の記事があったので、こちらにも目を通してみる。

Thirty years later, Bob Zeidman, a programmer and expert in software intellectual property cases, conducted a detailed forensic examination of the code of QDOS, CP/M and PC-DOS. His conclusion? “QDOS was absolutely not copied from CP/M, and MS-DOS showed no signs of copying either. Kildall’s accusations about Bill Gates were totally groundless.

MS-DOSといえばCP/Mの著作権侵害とか、IBMに提供することをMS-DOSのライセンス元であるシアトルコンピュータプロダクツに隠していて訴訟を起こされるなどのトラブルが有名だが、現在のフォレンジックの専門家によればno sign of copyingであり、訴訟はgroudless、つまり事実無根だと言っている。なお、Githubで公開されたコードの先頭行には

; Seattle Computer Products 8086 Assembler version 2.44
; by Tim Paterson

とだけ書かれていて、シアトルコンピュータプロダクツ側のプログラマが一人で書いたことがわかる。

MS-DOS was basically a file manager and a simple program loader. The user interface was text commands typed on a keyboard, followed by text responses displayed on the screen. There was no graphical output, and no mouse for input. Only one user application program could run at a time. File names were limited to 8 characters, plus a 3-character extension indicating the file type. There were commands like “dir” to list the files in a directory, and “del” to delete a file; you ran a program by typing the name of its executable file.

初期の12kbに収まるMS-DOSの大部分はファイルマネージャとプログラムローダだ。Githubはアセンブラなので、何をやってるかわかりにくいが、File not foundなどのメッセージは確認できる。

NOFILE:	DB	13,10,'File not found',13,10,'$'
WRTERR:	DB	13,10,'Disk full',13,10,'$'
BADDSK:	DB	13,10,'Bad disk specifier',13,10,'$'
ERCNTM:	DM	13,10,13,10,'Error Count ='






この記事が気に入ったらサポートをしてみませんか?