Skip to main content

Windows仍然依賴於MS-DOS嗎?

Windows仍然依賴於MS-DOS嗎?

Geoffrey Carr

曾幾何時,Windows是用於DOS的Windows修飾 - 但Windows仍然依賴於DOS架構進行日常操作嗎?在我們調查時繼續閱讀。

今天的問答環節由SuperUser提供,這是Stack Exchange的一個細分,Stack Exchange是一個社區驅動的問答網站分組。

問題

超級用戶讀者Rrazd對DOS的歷史及其與當前Windows迭代的交互方式感到好奇:

I am just about to start an OS course and as an Apple user I am not very familiar with the underlying details of Windows OS. I was wondering, is MS DOS still used with Windows running on top or is ONLY Windows used now as the OS? I was a little confused because I read somewhere that MS-DOS is used for booting but Windows has all other OS capabilities built into it and thus is used for all other OS operations…

如今,MS-DOS在Windows中扮演了多少角色?

答案

超級用戶貢獻者JdeBP獲得了非常詳細且記錄嚴密的答案:

There are two distinct lineages when it comes to Microsoft Windows, and it doesn’t help things when people write things about one lineage that they have learned about the other.

  • The DOS+Windows lineage comprises DOS+Windows all versions up to version 3.11, DOS+Windows 95, DOS+Windows 98, and DOS+Windows Millennium Edition. It has Windows layered on top of DOS. Entire books have been written on the subject of this layering, and it is the subject of some contention, not least because a lot of people for a fair while in the early to middle 1990s wanted the world to believe that DOS was gone and Windows was the operating system.This is the DOS+Windows bootstrap process.
  • The Windows NT lineage comprises Windows NT 3.x, Windows NT 4.0, Windows NT 5.0 (“Windows 2000”), Windows NT 5.1 (“Windows XP”), Windows NT 5.2 (some editions of Windows XP and “Windows Server 2003”), Windows NT 6.0 (“Windows Vista”), and Windows NT 6.1 (“Windows 7”). It is not layered on top of DOS, works in a completely different way to DOS, and can run DOS applications by dint of an NT Virtual DOS Machine (NTVDM) which is a virtual machine that runs on top of Windows NT rather than the other way around.This is the Windows NT 6.x bootstrap process.

What also doesn’t help is when people mistakenly talk of a “DOS prompt” in Windows NT, as has even happened in answers here. Aside from the fact that it is command interpreters that prompt, not operating systems, this conflates “DOS” with “textual user interface” and “command interpreter”, neither of which are in actuality synonymous with DOS. DOS is a family of operating systems: MS-DOS, PC-DOS, DR-DOS, FreeDOS, OpenDOS, et cetera.

If one has a command prompt window open on Windows NT then one is almost always running CMD,這是該框中提供的Microsoft默認命令解釋器,它是一個普通的文本用戶界面,Win32程序。沒有“DOS”,也沒有NTVDM。只有一個Win32程序與Win32控制台對象進行通信。事實上,對於許多可以在Windows NT上運行的TUI程序,包括Microsoft各種資源工具包中的所有工具,仍然 在圖片中的任何地方都沒有DOS的味道,因為這些都是執行Win32控制台I / O的普通Win32程序。

具有諷刺意味的是,鑑於Windows NT 3.1於1993年發布,Windows NT系列實際上是 20世紀90年代中期的所有人都試圖說服全世界的DOS + Windows 95,而不是基於DOS的操作系統系統。

而且,十八年後,我們仍然試圖讓一些人知道Windows NT無法像DOS那樣工作,而且從來沒有。 ☺

進一步閱讀

  • Jonathan de Boyne Pollard(2006)。操作系統內核開發人員和設備驅動程序編寫者的書單。經常給出答案。
  • Mark E. Russinovich,David A. Solomon,Alex Ionescu(2009)。Windows內部 (第5版)。微軟出版社。 ISBN 9780735625303。
  • Walter Oney(1996)。Windows 95系統編程。微軟出版社。 ISBN 1 55615 949 8。
  • Matt Pietrek(1995年11月)。Windows 95系統編程秘訣。 IDG書籍。 ISBN 1-56884-318-6。
  • Andrew Schulman(1994)。未經授權的Windows 95。 IDG Books Worldwide。 ISBN 9781568841694。
  • Matt Pietrek(1993)。Windows內部:Windows操作環境的實現。 Addison-Wesley出版社。 ISBN 9780201622171。
  • Andrew Schulman,David Maxey,Matt Pietrek(1992)。未記錄的Windows:預留Microsoft Windows Api函數的程序員指南。 Addison-Wesley出版社。 ISBN 9780201608342。


有什麼要補充說明嗎?在評論中發聲。想要從其他精通技術的Stack Exchange用戶那裡閱讀更多答案嗎?在這裡查看完整的討論主題。

Link
Plus
Send
Send
Pin