如果您在某些网站上查找 MS-DOS,您可以找到包含源代码的版本 6。它是用汇编程序编写的,根本没有 C 代码。所有实用程序、内核,甚至安装程序都是用汇编程序编写的。
对于 Windows,它有很多汇编语言,但有些部分是用 C 编写的,然后是 C++。
If you look for MS-DOS on some websites, you can find the version 6 with the source code included. It was written in Assembler and there's no C code at all. All the utilities, kernel, and even installer was written in assembler.
And regarding Windows, it has a lot of assembly language on it but some parts where writting in C and then C++.
Since CP/M was written in FORTRAN and QDOS was based on CP/M, does it mean that QDOS and MS-DOS were written in FORTRAN? According to our next article, written by Tim Patterson himself, the assembly language used by Seattle Computer Products wasn't FORTRAN but was built in-house since it was the only thing available to them at that time.
"The last design requirement was that MS-DOS be written in assembly language. While this characteristic does help meet the need for speed and efficiency, the reason for including it is much more basic. The only 8086 software-development tools available to Seattle Computer at that time were an assembler that ran on the Z80 under CP/M and a monitor/debugger that fit into a 2K-byte EPROM (erasable programmable read-only memory). Both of these tools had been developed in house."
Well, MS-DOS was originally a renamed 86-DOS, and 86-DOS was written in assembly if I'm not mistaken, so that would make ASM the original language for MS-DOS as well.
发布评论
评论(6)
如 http://www.patersontech.com/Dos/Byte/InsideDos.htm 中所述
“最后一个设计要求是 MS-DOS 必须用汇编语言编写。”
(请注意,当时很多应用程序,而不仅仅是操作系统部件,都是用汇编语言编写的。)
As stated on http://www.patersontech.com/Dos/Byte/InsideDos.htm
"The last design requirement was that MS-DOS be written in assembly language."
(Note that alot of appllications, not just operating system parts, were written in assembly back then.)
请参阅时间表
See the timeline
Unix 早于 MS-DOS,所以这并不是用 C 语言编程的障碍。但至少我会选择大部分部件的汇编......
Unix pre-dates MS-DOS, so that's not an impediment for it to be programmed en C. But I'd go for the assembly for most parts at least...
如果您在某些网站上查找 MS-DOS,您可以找到包含源代码的版本 6。它是用汇编程序编写的,根本没有 C 代码。所有实用程序、内核,甚至安装程序都是用汇编程序编写的。
对于 Windows,它有很多汇编语言,但有些部分是用 C 编写的,然后是 C++。
If you look for MS-DOS on some websites, you can find the version 6 with the source code included. It was written in Assembler and there's no C code at all. All the utilities, kernel, and even installer was written in assembler.
And regarding Windows, it has a lot of assembly language on it but some parts where writting in C and then C++.
http://answers.google.com/answers/threadview?id=197874
http://answers.google.com/answers/threadview?id=197874
嗯,MS-DOS 最初是更名为 86-DOS,如果我没记错的话,86-DOS 是用汇编语言编写的,因此 ASM 也将成为 MS-DOS 的原始语言。
Well, MS-DOS was originally a renamed 86-DOS, and 86-DOS was written in assembly if I'm not mistaken, so that would make ASM the original language for MS-DOS as well.