Jump to content

DOS: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
clean up hatnote; these are at the disambig already
 
Line 1: Line 1:
{{about|the family of operating systems for IBM PC-compatible computers}}
{{| of IBM PC-compatible }}
{{About|a family of operating systems|the concept|disk operating system|the type of cyber attack|Denial-of-service attack{{!}}DoS|other uses|DOS (disambiguation)}}
{{redirect-distinguish|WinDOS|Microsoft Windows}}
{{Use dmy dates|date=April 2019|cs1-dates=y}}
[[File:Ms-dosdir.png|thumb|The boot screen and command-line interface of [[MS-DOS 6]], with an example of its directory structure]]
[[File:FreeDOS Beta 9 pre-release5 (command line interface) on Bochs sshot20040912.png|thumb|The boot screen and command-line interface of [[FreeDOS]], showing version information and an example of its directory structure]]


'''DOS''' ({{IPAc-en|d|ɒ|s}}, {{IPAc-en|d|ɔː|s}}) is a family of disk-based [[operating system]]s for [[IBM PC compatible]] computers.<ref>{{cite book |author-last=Murdock |author-first=Everett |title=DOS the Easy Way |publisher=EasyWay Downloadable Books |date=1988 |isbn=0-923178-00-7}}</ref> The DOS family primarily consists of [[IBM PC DOS]] and a rebranded version, [[Microsoft]]'s [[MS-DOS]], both of which were introduced in 1981. Later compatible systems from other manufacturers include [[DR-DOS]]<!-- still written without hyphen in 1988 --> (1988), [[ROM-DOS]] (1989), [[PTS-DOS]] (1993), and [[FreeDOS]] (1998). MS-DOS dominated the IBM PC compatible market between 1981 and 1995.
[[Image:FreeDOS Beta 9 pre-release5 (command line interface) on Bochs sshot20040912.png|right|thumb|350px|The [[FreeDOS]] startup sequence.]]
'''DOS''', short for "Disk Operating System",<ref>{{cite book|last=Murdock|first=Everett|title=DOS the Easy Way|publisher=EasyWay Downloadable Books|year=1988|isbn=0923178007}}</ref> is a shorthand term for several closely related [[operating system]]s that dominated the [[IBM PC compatible]] market between 1981 and 1995, or until about 2000 if one includes the partially DOS-based [[Microsoft Windows]] versions [[Windows 95]], [[Windows 98|98]], and [[Windows Me|Me]].


Although the name has come to be identified specifically with this particular family of operating systems, ''DOS'' is a platform-independent acronym for ''[[disk operating system]]'',<ref>[http://www.dictionary.com/browse/dos Dictionary.com] {{webarchive|url=https://web.archive.org/web/20171112185542/http://www.dictionary.com/browse/dos |date=2017-11-12}}</ref> whose use predates the IBM PC. Dozens of other operating systems also use the acronym, beginning with the mainframe [[DOS/360 and successors|DOS/360]] from 1966. Others include [[Apple DOS]], [[Apple ProDOS]], [[Atari DOS]], [[Commodore DOS]], [[TRSDOS]], and [[AmigaDOS]].
Related systems include [[MS-DOS]], [[PC-DOS|PC DOS]], [[DR-DOS]], [[FreeDOS]], [[PTS-DOS]], [http://www.datalight.com/products/romdos/ ROM-DOS], JM-OS, and several others.


== History ==
In spite of the common usage, none of these systems were named simply "DOS" (a name given only to an unrelated [[DOS/360|IBM mainframe operating system]] in the 1960s). A number of unrelated, non-x86 microcomputer disk operating systems had "DOS" in their name, and are often referred to simply as "DOS" when discussing machines that use them (e.g. [[AmigaDOS]], [[AMSDOS]], [[ANDOS]], [[Apple DOS]], [[Atari DOS]], [[Commodore DOS]], [[CSI-DOS]], [[ProDOS]], and [[TRS-DOS]]). These were incompatible with [[DOS executable]]s and the [[MS-DOS API]].
{{Further|Comparison of DOS operating systems|Timeline of DOS operating systems}}


==Design==
====
[[File:CPM.png|thumb|[[Apple CP/M]] from [[Digital Research]] on a [[Z-80 SoftCard]] for the [[Apple II]] ]]
All DOS-type operating systems run on machines with the [[Intel]] [[x86]] or compatible [[CPU]]s, mainly the [[IBM PC]] and [[IBM PC compatible|compatibles]]. Initially, DOS was not restricted to these, and machine-dependent versions of DOS and similar operating systems were produced for many non-IBM-compatible [[x86]]-based machines.<ref>See [[MS-DOS]]</ref> In particular, DOS-C's predecessor DOS/NT ran on Motorola 68000 CPU's.


[[IBM PC&nbsp;DOS]] (and the separately sold [[MS-DOS]]) and its predecessor, [[86-DOS]], ran on [[Intel 8086]] [[16-bit]] processors. It was developed to be similar to [[Digital Research]]'s [[CP/M]]—the dominant disk operating system for [[8-bit]] [[Intel 8080]] and [[Zilog Z80]] microcomputers—in order to simplify porting CP/M applications to MS-DOS.
DOS is a single-user, single-task operating system with basic [[kernel (computer science)|kernel]] functions that are [[reentrant (subroutine)|non-reentrant]]: only one program at a time can use them. There is an exception with [[Terminate and Stay Resident]] (TSR) programs, and some TSRs can allow [[Computer multitasking|multitasking]]. However, there is still a problem with the non-reentrant kernel: once a process calls a service inside of operating system kernel ([[system call]]), it must not be interrupted with another process calling system call, until the first call is finished.<ref>{{cite web|title=CHAPTER EIGHTEEN: RESIDENT PROGRAMS (Part 3)|url=http://oopweb.com/Assembly/Documents/ArtOfAssembly/Volume/Chapter_18/CH18-3.html|accessdate=2008-09-02|work=The Art of Assembly Language Programming|last=Hyde|first=Randall|date=1996-09-30}}</ref>


[[File:Ibm pc 5150.jpg|thumb|The [[IBM Personal Computer]] (IBM 5150 PC)]]
The DOS kernel provides various functions for programs, like displaying characters on-screen, reading a character from the keyboard, accessing disk files and more.


When [[IBM]] introduced the [[IBM PC]], built with the [[Intel 8088]] microprocessor, they needed an operating system. Chairman [[John Opel]] had a conversation with fellow United Way National Board Executive Committee member [[Mary Maxwell Gates]], who referred Opel to her son [[Bill Gates]] for help with an 8088-compatible build of CP/M.<ref>{{Cite journal |url=https://www.nytimes.com/1994/06/11/obituaries/mary-gates-64-helped-her-son-start-microsoft.html |title=Mary Gates, 64; Helped Her Son Start Microsoft |date=1994-06-11 |journal=New York Times |access-date=2023-04-11 }}</ref> IBM was then sent to Digital Research, and a meeting was set up. However, initial negotiations for the use of CP/M broke down: Digital Research wished to sell CP/M on a royalty basis, while IBM sought a single license, and to change the name to "PC&nbsp;DOS". Digital Research founder [[Gary Kildall]] refused, and IBM withdrew.<ref name="rolander">{{cite interview |url=http://www.podtech.net/home/3801/the-rest-of-the-story-how-bill-gates-beat-gary-kildall-in-os-war-part-1 |title=The rest of the story: How Bill Gates beat Gary Kildall in OS war, Part 1 |author-last=Rolander |author-first=Tom |author-link=Tom Rolander |interviewer-first=Robert |interviewer-last=Scoble |work=The Scoble Show |url-status=dead |archive-url=https://web.archive.org/web/20071104052350/http://www.podtech.net/home/3801/the-rest-of-the-story-how-bill-gates-beat-gary-kildall-in-os-war-part-1 |archive-date=2007-11-04}}</ref><ref>{{cite book |title=Just Say No to Microsoft |url=https://archive.org/details/justsaynotomicro00bove |url-access=registration |author-last=Bove |author-first=Tony |publisher=[[No Starch Press]] |date=2005 |pages=[https://archive.org/details/justsaynotomicro00bove/page/9 9]–11 |isbn=1-59327-064-X }}</ref>
===API===
{{main|MS-DOS API}}


[[File:86-DOS running assembler and HEX2BIN (screenshot).png|thumb|A simulated [[Seattle Computer Products|SCP]] [[86-DOS]] session]]
===Scripting===
{{Main|Batch file}}
DOS by default provides a primitive ability for [[shell script]]ing, via ''batch files'' (with the [[filename extension]] '''.BAT'''). These are text files that can be created in any DOS text editor, such as the [[MS-DOS Editor]]. They are executed in the same fashion as compiled programs, and run each line of the batch file as a command. Batch files can also make use of several internal commands, such as [[goto]] and [[Conditional (programming)|conditional statements]].<ref>{{cite web|url=http://www.computerhope.com/batch.htm|title=Batch File Help|accessdate=2008-09-10|publisher=computerhope.com}}</ref> [[gosub]] and simple arithmetic is supported in some third-party shells but can also be faked via strange workarounds; however, no real form of programming is usually enabled.


{{anchor|QDOS}}
===Hardware access===
IBM again approached Bill Gates. Gates in turn approached [[Seattle Computer Products]]. There, programmer [[Tim Paterson]] had developed a variant of [[CP/M-80]], intended as an internal product for testing SCP's new 16-bit [[Intel 8086]] [[Central processing unit|CPU]] card for the [[S-100 bus]]. The system was initially named QDOS (Quick and Dirty Operating System), before being made commercially available as [[86-DOS]]. Microsoft purchased 86-DOS, allegedly for {{currency|amount=50000|code=USD|linked=no}}. This became Microsoft Disk Operating System, MS-DOS, introduced in 1981.<ref name="mshist">{{cite web |url=http://inventors.about.com/library/weekly/aa033099.htm |title=The Unusual History of MS-DOS The Microsoft Operating System |access-date=2008-09-02 |author-last=Bellis |author-first=Mary |archive-date=2012-04-27 |archive-url=https://wayback.archive-it.org/all/20120427184009/http://inventors.about.com/od/computersoftware/a/Putting-Microsoft-On-The-Map.htm |url-status=dead }}</ref>
{{See also|BIOS interrupt call}}
Within a year Microsoft licensed MS-DOS to over 70 other companies,<ref name="freiberger19820823">{{cite journal |url=https://books.google.com/books?id=VDAEAAAAMBAJ&pg=PA22 |title=Bill Gates, Microsoft and the IBM Personal Computer |journal=[[InfoWorld]] |date=1982-08-23 |access-date=2015-01-29 |author-last=Freiberger |author-first=Paul |author-link=Paul Freiberger |page=22 |url-status=live |archive-url=https://web.archive.org/web/20150318020802/https://books.google.com/books?id=VDAEAAAAMBAJ&lpg=PA19&pg=PA22 |archive-date=2015-03-18}}</ref> which supplied the operating system for their own hardware, sometimes under their own names. Microsoft later required the use of the MS-DOS name, with the exception of the IBM variant. IBM continued to develop their version, [[PC&nbsp;DOS]], for the IBM PC.<ref name="mshist"/> Digital Research became aware that an operating system similar to CP/M was being sold by IBM (under the same name that IBM insisted upon for CP/M), and threatened legal action. IBM responded by offering an agreement: they would give PC consumers a choice of PC&nbsp;DOS or [[CP/M-86]], Kildall's 8086 version. Side-by-side, CP/M cost {{currency|amount=200|code=USD|linked=no}} more than PC&nbsp;DOS, and sales were low. CP/M faded, with MS-DOS and PC&nbsp;DOS becoming the marketed operating system for PCs and PC compatibles.<ref name="rolander"/>


Microsoft originally sold MS-DOS only to [[original equipment manufacturer]]s (OEMs). One major reason for this was that not all early PCs were 100% [[IBM PC compatible]]. DOS was structured such that there was a separation between the system specific device driver code ([[IO.SYS]]) and the DOS kernel ([[MSDOS.SYS]]). Microsoft provided an OEM Adaptation Kit (OAK) which allowed OEMs to customize the device driver code to their particular system. By the early 1990s, most PCs adhered to IBM PC standards so Microsoft began selling a retail version of MS-DOS, starting with MS-DOS 5.0.
The operating system offers a [[hardware abstraction layer]] that allows development of character-based applications, but not for accessing most of the [[computer hardware|hardware]], such as [[Video card|graphics card]]s, [[computer printer|printer]]s, or [[computer mouse|mice]]. This required programmers to access the hardware directly, usually resulting in each application having its own set of [[device driver]]s for each hardware peripheral. Hardware manufacturers would release specifications to ensure device drivers for popular applications were available.<ref>{{cite web|url=http://www.zingtech.com/features/gamedev/gnewprog.htm|title=ZINGTECH - Guide to the New Game Programmer|accessdate=2008-09-02|last=Matczynski|first=Michael}}</ref>


In the mid-1980s, Microsoft developed a [[MS-DOS 4.0 (multitasking)|multitasking version of DOS]].<ref>{{cite web |url=http://blogs.msdn.com/b/larryosterman/archive/2004/03/22/94209.aspx |title=Did you know that OS/2 wasn't Microsoft's first non Unix multi-tasking operating system? |url-status=live |archive-url=https://web.archive.org/web/20121104092239/http://blogs.msdn.com/b/larryosterman/archive/2004/03/22/94209.aspx |archive-date=2012-11-04}}</ref><ref>{{cite web |url=http://blogs.technet.com/b/exchange/archive/2004/03/05/larry-osterman-s-biography.aspx |title=Larry Osterman's Biography |url-status=live |archive-url=https://web.archive.org/web/20130602232429/http://blogs.technet.com/b/exchange/archive/2004/03/05/larry-osterman-s-biography.aspx |archive-date=2013-06-02}}</ref> This version of DOS is generally referred to as "European MS-DOS 4" because it was developed for [[International Computers Limited|ICL]] and licensed to several European companies. This version of DOS supports preemptive multitasking, shared memory, device helper services and [[New Executable]] ("NE") format executables. None of these features were used in later versions of DOS, but they were used to form the basis of the [[OS/2 1.0]] kernel. This version of DOS is distinct from the widely released PC&nbsp;DOS 4.0 which was developed by IBM and based upon DOS 3.3.
===Reserved device names===
{{Main|Device file system}}
There are reserved device names in DOS that cannot be used as filenames regardless of extension; these are used to send application output to hardware peripherals. These restrictions also affect several Windows versions, in some cases causing crashes and security vulnerabilities.<ref>{{cite web|url=http://www.juniper.net/security/auto/vulnerabilities/vuln1043.html|title=Microsoft Windows MS DOS Device Name DoS Vulnerability|accessdate=2008-09-02}}</ref>


[[File:Digital Research CP-M-86 for the IBM Personal Computer Version 1.0 720x400.png|thumb|Digital Research [[CP/M-86]] for the IBM Personal Computer Version 1.0]]
A partial list of these reserved names is: <code>NUL:</code>, <code>COM1:</code> or <code>AUX:</code>, <code>COM2:</code>, <code>COM3:</code>, <code>COM4:</code>, <code>CON:</code>, <code>LPT1:</code> or <code>PRN:</code>, <code>LPT2:</code>, <code>LPT3:</code>, and <code>CLOCK$</code>.<ref>{{cite web|url=http://www.pcmag.com/encyclopedia_term/0,2542,t=DOS+device+names&i=41766,00.asp|title=DOS device names definition|publisher=PC Magazine|accessdate=2008-09-02}}</ref>


Digital Research attempted to regain the market lost from CP/M-86, initially with [[Concurrent DOS]], [[FlexOS]] and [[DOS Plus]] (both compatible with both MS-DOS and CP/M-86 software), later with [[Multiuser DOS]] (compatible with both MS-DOS and CP/M-86 software) and [[DR&nbsp;DOS]] (compatible with MS-DOS software). Digital Research was bought by [[Novell]], and DR&nbsp;DOS became [[PalmDOS]] and [[Novell DOS]]; later, it was part of [[Caldera (company)|Caldera]] (under the names [[OpenDOS]] and [[DR-DOS 7.02]]/[[DR-DOS 7.03|7.03]]), [[Lineo]], and [[DeviceLogics]].
===Drive naming scheme===

[[Gordon Letwin]] wrote in 1995 that "DOS was, when we first wrote it, a one-time throw-away product intended to keep IBM happy so that they'd buy our languages."{{r|letwin19950817}} Microsoft expected that it would be an interim solution before Xenix. The company planned to improve MS-DOS over time, so it would be almost indistinguishable from single-user Xenix, or [[XEDOS]], which would also run on the [[Motorola 68000]], [[Zilog Z-8000]], and [[LSI-11]]; they would be [[upward compatible|upwardly compatible]] with Xenix, which ''[[BYTE]]'' in 1983 described as "the multi-user MS-DOS of the future".<ref name="morgan198201">{{cite journal |url=https://archive.org/stream/byte-magazine-1982-01/1982_01_BYTE_07-01_The_IBM_Personal_Computer#page/n7/mode/2up |title=Of IBM, Operating Systems, and Rosetta Stones |journal=[[BYTE]] |date=January 1982 |access-date=2013-10-19 |author-last=Morgan |author-first=Chris |page=6}}</ref><ref name="fiedler198310">{{cite journal |url=https://archive.org/stream/byte-magazine-1983-10/1983_10_BYTE_08-10_UNIX#page/n133/mode/2up |title=The Unix Tutorial / Part 3: Unix in the Microcomputer Marketplace |journal=[[BYTE]] |date=October 1983 |access-date=2015-01-30 |author-last=Fiedler |author-first=Ryan |page=132}}</ref>

[[File:Os2-1.0-prompt.png|thumb|right|[[OS/2]] 1.0 featured a text mode interface similar to MS-DOS.]]

IBM, however, did not want to replace DOS.<ref name="howitt19841210">{{cite journal |url=https://books.google.com/books?id=si4EAAAAMBAJ&pg=PA31 |title=Unix and the Single User |journal=[[InfoWorld]] |date=1984-12-10 |access-date=2015-02-07 |author-last=Howitt |author-first=Doran |page=28 |url-status=live |archive-url=https://web.archive.org/web/20180129162940/https://books.google.com/books?id=si4EAAAAMBAJ&lpg=PA31 |archive-date=2018-01-29}}</ref> After [[AT&T]] began selling Unix, Microsoft and IBM began developing OS/2 as an alternative.<ref name="letwin19950817">{{cite newsgroup |url=https://groups.google.com/forum/?hl=en#!original/comp.os.ms-windows.misc/-iNeep60eVE/Xl5ddAtJENcJ |title=What's happening to OS/2 |date=1995-08-17 |access-date=2013-11-06 |author-last=Letwin |author-first=Gordon |author-link=Gordon Letwin |newsgroup=comp.os.os2.advocacy |message-id=DDFvKo.G4M@lab.lwpi.com}}</ref> The two companies later had a series of disagreements over two successor operating systems to DOS, OS/2 and Windows.<ref>{{cite journal |url=https://www.nytimes.com/1991/07/27/business/microsoft-widens-its-split-with-ibm-over-software.html |title=Microsoft Widens Its Split With I.B.M. Over Software |author-last=Pollack |author-first=Andrew |access-date=2008-09-02 |date=1991-07-27 |journal=[[The New York Times]] |url-status=live |archive-url=https://web.archive.org/web/20101102233112/http://query.nytimes.com/gst/fullpage.html?res=9D0CE0D81339F934A15754C0A967958260 |archive-date=2010-11-02}}</ref> They split development of their DOS systems as a result.<ref>{{cite journal |url=https://www.nytimes.com/1999/05/28/business/ibm-executive-describes-price-pressure-by-microsoft.html |title=I.B.M. Executive Describes Price Pressure by Microsoft |author-last=Brinkley |author-first=Joel |date=1999-05-28 |journal=New York Times |access-date=2008-09-02 |url-status=live |archive-url=https://web.archive.org/web/20081211172916/http://query.nytimes.com/gst/fullpage.html?res=990DEEDD1630F93BA15756C0A96F958260 |archive-date=2008-12-11}}</ref> The last retail version of MS-DOS was MS-DOS 6.22; after this, MS-DOS became part of Windows 95, 98 and Me. The last retail version of PC&nbsp;DOS was PC&nbsp;DOS 2000 (also called PC&nbsp;DOS 7 revision 1), though IBM did later develop PC&nbsp;DOS 7.10 for OEMs and internal use.

The [[FreeDOS]] project began on 26 June 1994, when Microsoft announced it would no longer sell or support MS-DOS. [[Jim Hall (programmer)|Jim Hall]] then posted a manifesto proposing the development of an open-source replacement. Within a few weeks, other programmers including [[Pat Villani]] and Tim Norman joined the project. A kernel, the COMMAND.COM command line interpreter (shell), and core utilities were created by pooling code they had written or found available. There were several official pre-release distributions of FreeDOS before the FreeDOS 1.0 distribution was released on 3 September 2006. Made available under the [[GNU General Public License]] (GPL), FreeDOS does not require license fees or royalties.<ref>{{cite web |url=http://www.linuxdevices.com/articles/AT3952799051.html |title=The past, present, and future of the FreeDOS Project |date=2002-03-25 |access-date=2008-06-14 |author-first=Jim |author-last=Hall |author-link=James Hall (programmer) |url-status=dead |archive-url=https://archive.today/20120529010945/http://www.linuxfordevices.com/c/a/News/The-past-present-and-future-of-the-FreeDOS-Project/ |archive-date=2012-05-29}}</ref><ref>{{cite web |url=http://www.freedos.org/freedos/about/ |date=2006-09-23 |title=History of FreeDOS |author-first=Jim |author-last=Hall |author-link=James Hall (programmer) |publisher=freedos.org |access-date=2007-05-28 |url-status=dead |archive-url=https://web.archive.org/web/20070527173146/http://www.freedos.org/freedos/about/ |archive-date=2007-05-27}}</ref>

=== Decline ===
{{Main|History of Microsoft Windows}}

Early versions of [[Microsoft Windows]] ran on MS-DOS.<ref name="emulate"/> By the early 1990s, the Windows graphical shell saw heavy use on new DOS systems. In 1995, [[Windows 95]] was bundled as a standalone operating system that did not require a separate DOS license. Windows 95 (and Windows 98 and ME, that followed it) took over as the default [[OS kernel]], though the MS-DOS component remained for compatibility. With Windows 95 and 98, but not ME, the MS-DOS component could be run without starting Windows.<ref>{{cite web |url=http://www.smartcomputing.com/Editorial/article.asp?article=articles/archive/95win/95win21/95win21.asp&guid= |archive-url=https://web.archive.org/web/20040707000544/http://www.smartcomputing.com/editorial/article.asp?article=articles%2Farchive%2F95win%2F95win21%2F95win21.asp&guid= |url-status=dead |archive-date=2004-07-07 |title=Finding The DOS In Windows 95 |work=Smart Computing |date=March 1996 |access-date=2008-07-12}}</ref><ref name="various-77715">{{cite web |url=https://devblogs.microsoft.com/oldnewthing/20071224-00/?p=24063 |title=What was the role of MS-DOS in Windows 95? |author-first=Raymond |author-last=Chen |author-link=Raymond Chen (Microsoft) |work=The Old New Thing - Site Home - MSDN Blogs |date=2007-12-24 |access-date=2014-02-05 |archive-url=https://web.archive.org/web/20140205100822/http://blogs.msdn.com/b/oldnewthing/archive/2007/12/24/6849530.aspx |archive-date=2014-02-05 |url-status=live}}</ref><ref name="various-42623">{{cite web |url=http://support.microsoft.com/kb/138996 |title=Description of Restarting Computer in MS-DOS Mode |work=support.microsoft.com |date=2007-01-19 |access-date=2014-02-05 |archive-url=https://web.archive.org/web/20140205101959/http://support.microsoft.com/kb/138996 |archive-date=2014-02-05 |url-status=live}}</ref> With DOS no longer required to use Windows, the majority of users stopped using it directly.

=== Continued use ===
[[File:DOSBox screenshot.png|thumb|upright=1.5|[[DOSBox]] ]]

{{As of|2023}}, available compatible systems are [[FreeDOS]], [[ROM-DOS]], [[PTS-DOS]], [[RxDOS]]<ref>{{cite web |url=http://rxdos.sourceforge.net/ |title=Home |website=rxdos.sourceforge.net}}</ref> and [[REAL/32]]. Some computer manufacturers, including [[Dell]] and [[Hewlett-Packard|HP]], sell computers with FreeDOS<!-- in the form of [[DRMK]] --> as an [[Original equipment manufacturer|OEM]] operating system.<ref>{{cite web |url=http://www.freedos.org/jhall/blog/?yr=2007 |title=Jim Hall's blog - 2007 |date=2007-07-13 |access-date=2008-06-12 |author-last=Hall |author-first=Jim |author-link=James Hall (programmer) |url-status=dead |archive-url=https://web.archive.org/web/20121025185935/http://www.freedos.org/jhall/blog/?yr=2007 |archive-date=2012-10-25}}</ref><ref>{{cite web |url=http://www.dell.com/content/topics/segtopic.aspx/e510_nseries?c=us&cs=19&l=en&s=dhs |title=Dell PCs Featuring FreeDOS |access-date=2008-06-14 |url-status=dead |archive-url=https://web.archive.org/web/20080319090122/http://www.dell.com/content/topics/segtopic.aspx/e510_nseries?c=us&cs=19&l=en&s=dhs |archive-date=2008-03-19}}</ref> {{Update inline|date=January 2024|reason=I could not find freedos computers on dell's website, and it seems likely they stopped selling them since 2008}} And a few developers and computer engineers still use it because it is close to the hardware.{{citation needed|date=October 2023}}

==== Embedded systems ====
DOS's structure of accessing hardware directly allows it to be used in [[embedded system|embedded devices]]. The final versions of DR-DOS are still aimed at this market.<ref>{{cite web |url=http://www.drdos.com/products/drdos703.htm |title=DR-DOS Embedded DOS |access-date=2008-09-26 |url-status=live |archive-url=https://web.archive.org/web/20081221174616/http://www.drdos.com/products/drdos703.htm |archive-date=2008-12-21}}</ref> ROM-DOS is used as operating system for the [[Canon PowerShot Pro]] 70.<ref>{{cite news |url=http://findarticles.com/p/articles/mi_m0EIN/is_1999_Feb_23/ai_53930374 |title=Datalight DOS Selected for Canon's New Line of Digital Still Cameras |publisher=[[Business Wire]] |date=1999-08-24 |access-date=2008-09-26 |url-status=live |archive-url=https://archive.today/20120709115533/http://findarticles.com/p/articles/mi_m0EIN/is_1999_Feb_23/ai_53930374/ |archive-date=2012-07-09}}</ref>

==== Emulation ====
On [[Linux]], it is possible to run ''[[DOSEMU]]'', a Linux-native [[virtual machine]] for running DOS programs at near native speed. There are a number of other [[emulator]]s for running DOS on various versions of Unix and [[Microsoft Windows]] such as [[DOSBox]].<ref name="DOSBox"/><ref>{{cite web |url=http://www.dosemu.org/ |title=DOSEMU Home |date=2007-05-05 |access-date=2008-07-03 |url-status=live |archive-url=https://web.archive.org/web/20080723140604/http://www.dosemu.org./ |archive-date=2008-07-23}}</ref> DOSBox is designed for legacy gaming (e.g. ''[[King's Quest]]'', ''[[Doom (1993 video game)|Doom]]'') on modern operating systems.<ref name="emulate">{{cite web |url=http://apcmag.com/how_to_coax_retro_dos_games_to_play_on_vista.htm |title=HOW TO: Coax retro DOS games to play on Vista |date=2006-10-13 |access-date=2008-07-03 |author-first=James |author-last=Bannan |url-status=live |archive-url=https://web.archive.org/web/20080801222002/http://apcmag.com/how_to_coax_retro_dos_games_to_play_on_vista.htm |archive-date=2008-08-01}}</ref><ref name="DOSBox">{{cite web |url=http://www.dosbox.com/information.php |title=DOSBox Information |access-date=2008-05-18 |url-status=live |archive-url=https://web.archive.org/web/20080525111324/http://www.dosbox.com/information.php |archive-date=2008-05-25}}</ref> DOSBox includes its own implementation of DOS which is strongly tied to the emulator and cannot run on real hardware, but can also boot MS-DOS, FreeDOS, or other DOS operating systems if needed.

== Design ==
MS-DOS and IBM PC&nbsp;DOS related operating systems are commonly associated with machines using the [[Intel]] [[x86]] or compatible [[CPU]]s, mainly [[IBM PC compatible]]s. Machine-dependent versions of MS-DOS were produced for many non-IBM-compatible [[x86]]-based machines, with variations from relabelling of the [[Microsoft]] distribution under the manufacturer's name, to versions specifically designed to work with non-IBM-PC-compatible hardware. As long as application programs used DOS APIs instead of direct hardware access, they could run on both IBM-PC-compatible and incompatible machines. The original [[FreeDOS]] kernel, [[DOS-C]], was derived from [[DOS/NT]] for the Motorola 68000 series of CPUs in the early 1990s. While these systems loosely resembled the DOS architecture, applications were not binary compatible due to the incompatible instruction sets of these non-x86-CPUs. However, applications written in high-level languages could be ported easily.

DOS is a single-user, single-tasking operating system with basic [[kernel (computer science)|kernel]] functions that are [[reentrant (subroutine)|non-reentrant]]: only one program at a time can use them, and DOS itself has no functionality to allow more than one program to execute at a time. The DOS kernel provides [[DOS API|various functions for programs]] (an ''application program interface''), like character I/O, file management, memory management, program loading and termination.

DOS provides the ability for [[shell script]]ing via [[batch file]]s (with the [[filename extension]] <code>.BAT</code>). Each line of a batch file is interpreted as a program to run. Batch files can also make use of internal commands, such as [[GOTO]] and [[Conditional (programming)|conditional statements]].<ref>{{cite web |url=http://www.computerhope.com/batch.htm |title=Batch File Help |access-date=2008-09-10 |publisher=computerhope.com |url-status=live |archive-url=https://web.archive.org/web/20080907080213/http://computerhope.com/batch.htm |archive-date=2008-09-07}}</ref>

The operating system offers an application programming interface that allows development of character-based applications, but not for accessing most of the [[computer hardware|hardware]], such as [[Video card|graphics card]]s, [[computer printer|printer]]s, or [[computer mouse|mice]]. This required programmers to access the hardware directly, usually resulting in each application having its own set of [[device driver]]s for each hardware peripheral. Hardware manufacturers would release specifications to ensure device drivers for popular applications were available.<ref>{{cite web |url=http://www.zingtech.com/features/gamedev/gnewprog.htm |title=ZINGTECH - Guide to the New Game Programmer |access-date=2008-09-02 |author-last=Matczynski |author-first=Michael |url-status=live |archive-url=https://web.archive.org/web/20081219061919/http://www.zingtech.com/features/gamedev/gnewprog.htm |archive-date=2008-12-19}}</ref>

=== Boot sequence ===
* The [[bootstrap loader]] on PC-compatible computers, the [[master boot record]], is located beginning at the [[boot sector]], the first sector on the first track ([[track0|track zero]]), of the boot disk. The [[BIOS|ROM BIOS]] will load this sector into memory at address {{mono|0000h}}:{{mono|7C00h}}, and typically check for a signature "{{mono|55h AAh}}" at offset {{mono|+1FEh}}. If the sector is not considered to be valid, the ROM BIOS will try the next physical disk in the row, otherwise it will jump to the load address with certain registers set up.
* If the loaded boot sector happens to be a [[Master Boot Record]] (MBR), as found on partitioned media, it will relocate itself to {{mono|0000h}}:{{mono|0600h}} in memory,<ref name="dewassoc_com-master_boot_record">{{cite web |title=The Master Boot Record (MBR) and What it Does |url=http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm |url-status=live |archive-url=https://web.archive.org/web/20130527211902/http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm |archive-date=2013-05-27}} 090912 dewassoc.com</ref> otherwise this step is skipped. The MBR code will scan the partition table, which is located within this sector, for an active partition (modern MBRs check if bit 7 is set at offset {{mono|+1BEh+10h*n}}, whereas old MBRs simply check for a value of {{mono|80h}}), and, if found, load the first sector of the corresponding partition, which holds the [[Volume Boot Record]] (VBR) of that volume, into memory at {{mono|0000h}}:{{mono|7C00h}} in the similar fashion as if it had been loaded by the ROM BIOS itself. The MBR will then pass execution to the loaded portion with certain registers set up.
* The sector content loaded at {{mono|0000h}}:{{mono|7C00h}} constitutes a VBR now. VBRs are operating system specific and cannot be exchanged between different DOS versions in general, as the exact behaviour differs between different DOS versions. In very old versions of DOS such as DOS 1.x, the VBR would load the whole IO.SYS/IBMBIO.COM file into memory at {{mono|0000h}}:{{mono|0600h}}.<ref name="pagetable-165">{{cite web |title=Reverse-Engineering DOS 1.0 – Part 1: The Boot Sector « pagetable.com |url=http://www.pagetable.com/?p=165 |url-status=live |archive-url=https://web.archive.org/web/20090511101728/http://www.pagetable.com/?p=165 |archive-date=2009-05-11}} 090912 pagetable.com</ref> For this to work, these sectors had to be stored in consecutive order on disk by SYS. In later issues,<!-- at least DOS 3.31 and higher, but probably much earlier --> it would locate and store the contents of the first two entries in the root directory at {{mono|0000h}}:{{mono|0500h}} and if they happen to reflect the correct boot files as recorded in the VBR, the VBR would load the first 3 consecutive sectors of the IO.SYS/IBMBIO.COM file into memory at {{mono|0070h}}:{{mono|0000h}}. The VBR also has to take care to preserve the contents of the [[Disk Parameter Table]] (DPT).<!-- to be detailed at a later time, as this is very OS specific --> Finally, it passes control to the loaded portion by jumping to its entry point with certain registers set up (with considerable differences between different DOS versions).
* In later{{Clarify|date=February 2021}} DOS versions, where the VBR has loaded only the first 3 sectors of the IO.SYS/IBMBIO.COM file into memory, the loaded portion contains another boot loader, which will then load the remainder of itself into memory, using the root directory information stored at {{mono|0000h}}:{{mono|0500h}}. For most versions, the file contents still need to be stored in consecutive order on disk.<!-- this differs between DOS versions and may need to be detailed --> In older versions of DOS, which were still loaded as a whole, this step is skipped.
* The DOS system initialization code will initialize its built-in device drivers and then load the DOS kernel, located in [[MSDOS.SYS]] on MS-DOS systems, into memory as well. In Windows 9x, the DOS system initialization code and built-in device drivers and the DOS kernel are combined into a single IO.SYS file while MSDOS.SYS is used as a text configuration file.
* The [[CONFIG.SYS]] file is then read to [[Parsing#Programming languages|parse]] configuration parameters. The {{mono|SHELL}} variable specifies the location of the [[shell (computing)|shell]] which defaults to [[COMMAND.COM]].
* The shell is loaded and executed.
* The startup batch file [[AUTOEXEC.BAT]] is then run by the shell.<ref name="evergreen_edu-config-sys">{{cite web |title=CONFIG.SYS Commands |url=http://academic.evergreen.edu/projects/biophysics/technotes/program/config-sys.txt |url-status=live |archive-url=https://web.archive.org/web/20090502033350/http://academic.evergreen.edu/projects/biophysics/technotes/program/config-sys.txt |archive-date=2009-05-02}} 090913 academic.evergreen.edu</ref><ref>{{cite web |url=http://www.pcguide.com/ref/hdd/file/structBoot-c.html |title=The DOS Boot Process |work=The PC Guide |author-last=Kozierok |author-first=Charles |date=2001 |access-date=2008-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20080719191224/http://www.pcguide.com/ref/hdd/file/structBoot-c.html |archive-date=2008-07-19 }}</ref>

The DOS system files loaded by the boot sector must be [[Fragmentation (computer)|contiguous]] and be the first two [[FAT directory table|directory entries]].<ref name="wustl_edu-misc">{{cite web |title=misc.txt |url=http://www.arl.wustl.edu/~lockwood/class/cse306-s04/resources/helppc/misc.txt.html |url-status=dead |archive-url=https://web.archive.org/web/20100629152149/http://arl.wustl.edu/~lockwood/class/cse306-s04/resources/helppc/misc.txt.html |archive-date=2010-06-29}} 090912 arl.wustl.edu</ref> As such, removing and adding this file is likely to render the media unbootable. It is, however, possible to replace the shell at will, a method that can be used to start the execution of dedicated applications faster. This limitation does not apply to any version of DR&nbsp;DOS, where the system files can be located anywhere in the root directory and do not need to be contiguous. Therefore, system files can be simply copied to a disk provided that the boot sector is DR&nbsp;DOS compatible already.

In PC&nbsp;DOS and DR&nbsp;DOS 5.0 and above, the DOS system files are named [[IBMBIO.COM]] instead of [[IO.SYS]] and [[IBMDOS.COM]] instead of [[MSDOS.SYS]]. Older versions of DR&nbsp;DOS used DRBIOS.SYS and DRBDOS.SYS instead.

Starting with [[MS-DOS 7.0]] the binary system files IO.SYS and MSDOS.SYS were combined into a single file IO.SYS whilst MSDOS.SYS became a configuration file similar to CONFIG.SYS and AUTOEXEC.BAT. If the MSDOS.SYS [[BootGUI]] directive is set to <code>0</code>, the boot process will stop with the command processor (typically COMMAND.COM) loaded, instead of executing WIN.COM automatically.

=== File system ===
DOS uses a filesystem which supports [[8.3 filename]]s: 8 characters for the filename and 3 characters for the extension. Starting with DOS 2 hierarchical directories are supported. Each directory name is also 8.3 format but the maximum directory path length is 64 characters due to the internal current directory structure (CDS) tables that DOS maintains. Including the drive name, the maximum length of a fully qualified filename that DOS supports is 80 characters using the format drive:\path\filename.ext followed by a null byte.

DOS uses the [[File Allocation Table]] (FAT) filesystem. This was originally [[FAT12]] which supported up to 4078 clusters per drive. DOS 3.0 added support for [[FAT16]] which used 16-bit allocation entries and supported up to 65518 clusters per drive. [[Compaq MS-DOS 3.31]] added support for [[FAT16B]] which removed the 32‑[[Mebibyte|MiB]] drive limit and could support up to 512&nbsp;MiB. Finally MS-DOS 7.1 (the DOS component of Windows 9x) added support for [[FAT32]] which used 32-bit allocation entries and could support hard drives up to 137 GiB<!-- LBA-28 --> and beyond<!-- LBA-48 -->.

Starting with DOS 3.1, file redirector support was added to DOS. This was initially used to support networking but was later used to support CD-ROM drives with [[MSCDEX]]. IBM PC&nbsp;DOS 4.0 also had preliminary installable file system (IFS) support but this was unused and removed in DOS 5.0. DOS also supported Block Devices ("Disk Drive" devices) loaded from CONFIG.SYS that could be used under the DOS file system to support network devices.

==== Drive naming scheme ====
{{Main|Drive letter assignment}}
{{Main|Drive letter assignment}}
In DOS, drives are referred to by identifying letters. Standard practice is to reserve "A" and "B" for [[floppy drives]]. On systems with only one floppy drive DOS permits the use of both letters for one drive, and DOS will ask to swap disks. This permits copying from floppy to floppy or having a program run from one floppy while having its data on another. [[Hard drives]] were originally assigned the letters "C" and "D". DOS could only support one active partition per drive. As support for more hard drives became available, this developed into assigning the active [[primary partition]] on each drive letters first, then making a second pass over the drives to allocate letters to logical drives in the [[extended partition]], then making a third, which gives the other non-active [[primary partition]]s their names. (Always assumed, they exist and contain a DOS-readable file system.) Lastly, DOS allocate letters for [[optical disc drive]]s, [[RAM disk]]s, and other hardware. Letter assignments usually occur in the order of the drivers loaded, but the drivers can instruct DOS to assign a different letter. An example is network drives, for which the driver will assign letters nearer the end of the alphabets.<ref name="driveletter">{{cite web|url=http://www.storagereview.com/guide/partLetter.html|title=Drive Letter Assignment and Choosing Primary vs. Logical Partitions|work=The PC Guide|date=2007-05-17|accessdate=2008-09-02}}</ref>


In DOS, drives are referred to by identifying letters. Standard practice is to reserve "A" and "B" for [[floppy drives]]. On systems with only one floppy drive DOS assigns both letters to the drive, prompting the user to swap disks as programs alternate access between them. This facilitates copying from floppy to floppy or having a program run from one floppy while accessing its data on another. [[Hard drives]] were originally assigned the letters "C" and "D". DOS could only support one active partition per drive. As support for more hard drives became available, this developed into first assigning a drive letter to each drive's active [[primary partition]], then making a second pass over the drives to allocate letters to logical drives in the [[extended partition]], then a third pass to give any other non-active [[primary partition]]s their names (where such additional partitions existed and contained a DOS-supported file system). Lastly, DOS allocates letters for [[optical disc drive]]s, [[RAM disk]]s, and other hardware. Letter assignments usually occur in the order the drivers are loaded, but the drivers can instruct DOS to assign a different letter; drivers for network drives, for example, typically assign letters nearer to the end of the alphabet.<ref name="driveletter">{{cite web |url=http://pcguide.com/ref/hdd/file/partLetter-c.html |title=Drive Letter Assignment and Choosing Primary vs. Logical Partitions |work=The PC Guide |date=2001-04-17 |access-date=2012-04-04 |url-status=live |archive-url=https://web.archive.org/web/20120417184135/http://www.pcguide.com/ref/hdd/file/partLetter-c.html |archive-date=2012-04-17}}</ref>
Because DOS applications use these drive letters directly (unlike the /dev directory in [[Unix-like]] systems), they can be disrupted by adding new hardware that needs a drive letter. An example is the addition of a new hard drive with a primary partition to an original hard drive that contains logical drives in extended partitions. As primary partitions have higher priority than the logical drives, it will change drive letters in the configuration. Moreover, attempts to add a new hard drive with only logical drives in an extended partition would still disrupt the letters of RAM disks and optical drives. This problem persisted through the 9x versions of Windows until NT, which preserves the letters of existing drives until the user changes it.<ref name="driveletter" />


Because DOS applications use these drive letters directly (unlike the /dev directory in [[Unix-like]] systems), they can be disrupted by adding new hardware that needs a drive letter. An example is the addition of a new hard drive having a primary partition where a pre-existing hard drive contains logical drives in extended partitions; the new drive will be assigned a letter that was previously assigned to one of the extended partition logical drives. Moreover, even adding a new hard drive having only logical drives in an extended partition would still disrupt the letters of RAM disks and optical drives. This problem persisted through Microsoft's DOS-based 9x versions of Windows until they were replaced by versions based on the NT line, which preserves the letters of existing drives until the user changes them.<ref name="driveletter"/> Under DOS, this problem can be worked around by defining a SUBST drive and installing the DOS program into this logical drive. The assignment of this drive would then be changed in a batch job whenever the application starts. Under some versions of [[Concurrent DOS]], as well as under [[Multiuser DOS]], System Manager and [[REAL/32]], the reserved drive letter L: will automatically be assigned to the corresponding [[load drive]] whenever an application starts.
===Boot sequence===


==== Reserved device names ====
* The [[boot sector]] for PC-compatible computers is located at [[track0|track zero]]. The boot sector on all disc devices are then loaded into memory segment 0000:7C00,<!--Hex--> and if the sector contains the values "0x55 0xAA" at position 0x1FE, it's considered to be valid and is executed.
{{Main|Device file}}
* The boot sector code loads the DOS [[BIOS]] into segment 0000:0600;<!--Hex--> it is located in the file [[IO.SYS]] on MS-DOS, or [[IBMBIO.COM]] on DR-DOS and PC-DOS.<ref name="pagetable-165">{{cite web|title=Reverse-Engineering DOS 1.0 &#8211; Part 1: The Boot Sector &laquo; pagetable.com|url=http://www.pagetable.com/?p=165}} 090912 pagetable.com</ref> In some cases the boot sector relocates itself into 0000:0600 and loads the partition boot code into 0000:7C00.<ref name="dewassoc_com-master_boot_record">{{cite web|title=The Master Boot Record (MBR) and What it Does|url=http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm}} 090912 dewassoc.com</ref>
* The BIOS will then load the DOS kernel, located in [[MSDOS.SYS]] on MS-DOS, or [[IBMDOS.COM]] on DR-DOS and PC-DOS. In the DOS-kernel Windows 9x, the BIOS and kernel are combined in IO.SYS, and MSDOS.SYS used as a text configuration file.
* The kernel then loads the [[CONFIG.SYS]] file to [[Parsing#Programming languages|parse]] configuration parameters. In CONFIG.SYS, the <tt>SHELL</tt> variable specifies the location of the [[shell (computing)|shell]].
* The shell (typically [[COMMAND.COM]]) is loaded and executed.
* The startup batch file (typically [[AUTOEXEC.BAT]]) is then run by the shell. The <tt>SHELL</tt> command in CONFIG.SYS specifies the startup batch file.<ref>{{cite web|url=http://www.pcguide.com/ref/hdd/file/structBoot-c.html|title=The DOS Boot Process|work=The PC Guide|last=Kozierok|first=Charles|year=2001|accessdate=2008-09-02}}</ref>


[[File:Windows Reserved Name Error.png|thumb|right|400px|Error message when attempting to use a reserved name while naming or renaming a file or folder]]
The BIOS and kernel files loaded by the boot sector must be [[Fragmentation (computer)|contiguous]] and be the first two [[File Allocation Table#Directory table|directory entries]].<ref name="wustl_edu-misc">{{cite web|title=misc.txt|url=http://www.arl.wustl.edu/~lockwood/class/cse306-s04/resources/helppc/misc.txt.html}} 090912 arl.wustl.edu</ref> As such, removing and adding this file is likely to render the media unbootable. It is, however, possible to replace the shell at will, a method that can be used to start the execution of dedicated applications faster.


There are [[Reserved word|reserved]] device names in DOS that cannot be used as filenames regardless of extension as they are occupied by built-in character devices. These restrictions also affect several Windows versions, in some cases causing crashes and security vulnerabilities.<ref>{{cite web |url=http://www.juniper.net/security/auto/vulnerabilities/vuln1043.html |title=Microsoft Windows MS-DOS Device Name DoS Vulnerability |access-date=2008-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20110725163840/http://www.juniper.net/security/auto/vulnerabilities/vuln1043.html |archive-date=2011-07-25}}</ref>
==Origins==


The reserved names are:
IBM PC-DOS (and the separately sold MS-DOS, which was licensed therefrom), and its predecessor, [[86-DOS]], were loosely inspired by [[CP/M]] (Control Program / [for] Microcomputers) from [[Digital Research]], which was the dominant disk operating system for 8-bit [[Intel 8080]] and [[Zilog]] [[Zilog Z-80|Z80]] based microcomputers. However, PC-DOS never ran on less than an 8088 (16-bit).


* <code>COM1</code>, <code>COM2</code>, <code>COM3</code>, <code>COM4</code>, <code>COM5</code>, <code>COM6</code>, <code>COM7</code>, <code>COM8</code>, <code>COM9</code> (serial communication ports)
When IBM introduced their first [[microcomputer]] in 1980, built with the [[Intel 8088]] microprocessor, they needed an operating system. Seeking an 8088-compatible build of CP/M, IBM initially approached Microsoft CEO Bill Gates (possibly believing that Microsoft owned CP/M due to the Microsoft [[Z-80 SoftCard]], which allowed CP/M to run on an [[Apple II]]<ref name="rolander">{{cite interview|url=http://www.podtech.net/scobleshow/technology/1593/the-rest-of-the-story-how-bill-gates-beat-gary-kildall-in-os-war-part-1 |title=The rest of the story: How Bill Gates beat Gary Kildall in OS war, Part 1|last=Rolander|first=Tom|interview=Robert Scoble|show=The Scoble Show}}</ref>). IBM was sent to Digital Research, and a meeting was set up. However, the initial negotiations for the use of CP/M broke down&mdash;Digital Research wished to sell CP/M on a royalty basis, while IBM sought a single license, and to change the name to "PC DOS". DR founder [[Gary Kildall]] refused, and IBM withdrew.<ref name="rolander" /><ref>{{cite book|title=Just Say No to Microsoft|url=http://books.google.co.uk/books?id=I0RB1Xxp-KAC&pg=PA11&lpg=PA11&dq=ibm+cp/m+licensing&source=web&ots=dryptL9LAW&sig=KJqNIT1r_-yVcpe0fa0p9RI1BW4&hl=en&sa=X&oi=book_result&resnum=10&ct=result#PPA9,M1|last=Bove|first=Tony|publisher=No Starch Press|year=2005|page=9-11|isbn=159327064X}}</ref>
* <code>CON</code>, for console
* <code>LPT1</code>, <code>LPT2</code>, <code>LPT3</code>, <code>LPT4</code>, <code>LPT5</code>, <code>LPT6</code>, <code>LPT7</code>, <code>LPT8</code>, <code>LPT9</code> (line printers)
* <code>AUX</code>, for auxiliary
* <code>PRN</code>, for printer<ref>{{cite web|url=https://www.pcmag.com/encyclopedia_term/0,2542,t=DOS+device+names&i=41766,00.asp|title=DOS device names definition|publisher=[[PC Magazine]]|url-status=live|archive-url=https://web.archive.org/web/20080929150356/http://www.pcmag.com/encyclopedia_term/0%2C2542%2Ct%3DDOS+device+names%26i%3D41766%2C00.asp|archive-date=2008-09-29|access-date=2008-09-02}}</ref>
* <code>NUL</code>, for [[null device]]s; added in [[86-DOS]] 1.10 and [[IBM PC DOS|PC DOS]] 1.0.


In [[Windows 95]] and [[Windows 98]], typing in the location of the reserved name (such as CON/CON, AUX/AUX, or PRN/PRN) crashes the operating system, of which Microsoft has provided a security fix for the issue. In [[Windows XP]], the name of the file or folder using a reserved name silently reverts to its previous name, with no notification or error message. In [[Windows Vista]] and later, attempting to use a reserved name for a file or folder brings up an error message saying "The specified device name is invalid."
IBM again approached Bill Gates. Gates in turn approached [[Seattle Computer Products]]. There, programmer [[Tim Paterson]] had developed a variant of [[CP/M-80]], intended as an internal product for testing SCP's new [[16-bit]] [[Intel 8086]] [[Central processing unit|CPU]] card for the [[S-100 bus]]. The system was initially named "QDOS" (Quick and Dirty Operating System), before being made commercially available as [[86-DOS]]. Microsoft purchased 86-DOS, allegedly for $50,000. This became Microsoft Disk Operating System, MS-DOS, introduced in 1981.<ref name="mshist">{{cite web|url=http://inventors.about.com/library/weekly/aa033099.htm|title=The Unusual History of MS-DOS The Microsoft Operating System|accessdate=2008-09-02|last=Bellis|first=Mary}}</ref>


These names (except for NUL) have continued to be supported in all versions of MS-DOS, PC&nbsp;DOS and DR-DOS ever since.<ref name="Microsoft_Built-in_devices">{{cite web |title=MS-DOS Device Driver Names Cannot be Used As File Names |date=2003-05-12 |version=Revision 2.0 |id=KB74496, Q74496 |publisher=[[Microsoft]] |url=http://support.microsoft.com/kb/74496/en-us |url-status=dead |archive-url=https://archive.today/20120721143046/http://support.microsoft.com/kb/74496/en-us |archive-date=2012-07-21}}</ref> <code>LST</code> was also available in some OEM versions of MS-DOS 1.25,<!-- f.e. SCP MS-DOS 1.25 --> whereas other OEM versions of MS-DOS 1.25 already used <code>LPT1</code> (first [[parallel port|line printer]]) and <code>COM1</code> (first [[COM (hardware interface)|serial communication device]]) instead, as introduced with PC&nbsp;DOS<!-- 1.0, 1.1 or 2.? -->. In addition to <code>LPT1</code> and <code>LPT2</code> as well as <code>COM1</code> to <code>COM3</code>, Hewlett-Packard's OEM version of [[MS-DOS 2.11]] for the [[HP Portable Plus]] also supported <code>LST</code> as alias for <code>LPT2</code> and <code>82164A</code> as alias for <code>COM2</code>;<ref name="HP_1985_PP" /><ref name="HP_1986_PP" /> it also supported <code>PLT</code> for [[plotter]]s.<ref name="HP_1985_PP" /><ref name="HP_1986_PP" /> Otherwise, <code>COM2</code>, <code>LPT2</code>, <code>LPT3</code> and the <code>CLOCK$</code> (still named <code>CLOCK</code> in some issues of MS-DOS 2.11<ref name="Microsoft_2014_Altos">{{cite web |author-first1=Tim |author-last1=Paterson |author-link1=Tim Paterson |author2=Microsoft |title=Microsoft DOS V1.1 and V2.0: /msdos/v20source/SKELIO.TXT, /msdos/v20source/HRDDRV.ASM |url=http://www.computerhistory.org/atchm/microsoft-research-license-agreement-msdos-v1-1-v2-0/ |publisher=[[Computer History Museum]], [[Microsoft]] |date=2013-12-19<!-- 2014-03-25 --> |orig-year=1983<!-- 1983-05-17 --> |access-date=2014-03-25 |url-status=live |archive-url=https://web.archive.org/web/20140326183713/http://www.computerhistory.org/atchm/microsoft-research-license-agreement-msdos-v1-1-v2-0/ |archive-date=2014-03-26}} (NB. While the publishers claim this would be MS-DOS 1.1 and 2.0, it actually is [[SCP MS-DOS 1.25]] and a mixture of [[Altos MS-DOS 2.11]] and [[TeleVideo PC&nbsp;DOS 2.11]].)</ref><ref name="HP_1985_PP" /><ref name="HP_1986_PP" />) clock device were introduced with DOS 2.0,<!-- TBD: Recheck COM2, LPT2 and LPT3 intro --> and <code>COM3</code> and <code>COM4</code> were added with DOS 3.3.<ref name="Microsoft_Built-in_devices" /> Only the multitasking [[MS-DOS 4.0 (multitasking)|MS-DOS 4]] supported <code>KEYBD$</code> and <code>SCREEN$</code>. [[DR DOS 5.0]] and higher and Multiuser DOS support an <code>[[$IDLE$]]</code> device for dynamic idle detection to saving power and improve multitasking. <code>LPT4</code> is an optional built-in driver for a fourth line printer supported in some versions of DR-DOS since 7.02. <code>CONFIG$</code> constitutes the [[real mode]] [[Legacy Plug and Play|PnP]] manager in MS-DOS 7.0–8.0.
Microsoft also licensed their system to multiple computer companies, who supplied MS-DOS for their own hardware, sometimes under their own names. Microsoft later required the use of the MS-DOS name, with the exception of the IBM variant. IBM continued to develop their version, [[PC-DOS|PC DOS]], for the IBM PC.<ref name="mshist" /> Digital Research became aware that an operating system similar to CP/M was being sold by IBM (under the same name that IBM insisted upon for CP/M), and threatened legal action. IBM responded by offering an agreement: they would give PC consumers a choice of PC DOS or [[CP/M-86]], Kildall's 8086 version. Side-by-side, CP/M cost almost $200 more than PC DOS, and sales were low. CP/M faded, with MS-DOS and PC DOS becoming the marketed operating system for PCs and PC compatibles.<ref name="rolander" />


<code>AUX</code> typically defaults to <code>COM1</code>, and <code>PRN</code> to <code>LPT1</code> (<code>LST</code>),<ref name="Microsoft_Built-in_devices"/> but these defaults can be changed in some versions of DOS to point to other serial or parallel devices.<!-- Under SCP MS-DOS, AUX can also point to parallel printers and PRN to serial printers. --><!-- as well as under Concurrent DOS, Multiuser DOS and DR-DOS 7.02 and higher. --><ref name="HP_1985_PP">{{cite book |title=Hewlett-Packard - Technical Reference Manual - Portable PLUS |date=August 1985 |edition=1 |id=45559-90001 |publisher=[[Hewlett-Packard Company]], Portable Computer Division |location=Corvallis, OR, USA |url=https://archive.org/details/bitsavers_hpportableblePLUSTechnicalReferenceManualAug1985_25919880 |access-date=2016-11-27}}</ref><ref name="HP_1986_PP">{{cite book |title=Hewlett-Packard - Technical Reference Manual - Portable PLUS |date=December 1986 |orig-year=August 1985 |edition=2 |id=45559-90006 |publisher=[[Hewlett-Packard Company]] |location=Portable Computer Division, Corvallis, OR, USA |url=http://www.jeffcalc.hp41.eu/hpplus/files/techrefman.pdf |access-date=2016-11-27 |url-status=live |archive-url=https://web.archive.org/web/20161128194426/http://www.jeffcalc.hp41.eu/hpplus/files/techrefman.pdf |archive-date=2016-11-28}}</ref><ref name="Paul_1997_OD-A3">{{cite web |author-last=Paul |author-first=Matthias R. |date=1997-10-02 |title=Caldera OpenDOS 7.01/7.02 Update Alpha 3 IBMBIO.COM README.TXT |url=http://www.uni-bonn.de/~uzs180/download/ibmbioa3.zip |url-status=dead |archive-url=https://web.archive.org/web/20031004074600/http://www-student.informatik.uni-bonn.de/~frinke/ibmbioa3.zip |archive-date=2003-10-04 |access-date=2009-03-29}} [https://web.archive.org/web/20181225154705/http://mirror.macintosharchive.org/max1zzz.co.uk/+Windows%20&%20DOS/DOS/System/Novell/Support/Bins/Op702src.zip]</ref> The <code>PLT</code> device (present only in some HP OEM versions of MS-DOS) was reconfigurable as well.<ref name="HP_1985_PP"/><ref name="HP_1986_PP"/>
Digital Research attempted to regain the market lost from CP/M-86; initially with [[DOS Plus]], and later with [[DR-DOS]] (both compatible with both MS-DOS and CP/M-86 software). Digital Research was bought by [[Novell]], and DR DOS became Novell DOS 7; later, it was part of [[SCO Group|Caldera Systems]] (under the names ''OpenDOS'' and DR DOS 7), [[Lineo]], and [[DeviceLogics]].


Filenames ended with a [[colon (punctuation)|colon]] ({{mono|:}}) such as <code>NUL:</code> conventionally indicate device names, but the colon is not actually a part of the name of the built-in device drivers. Colons are not necessary to be typed in some cases, for example:
Microsoft and IBM later had a series of disagreements over two successor operating systems to DOS- Microsoft's Windows and IBM's [[OS/2]].<ref>{{cite web|url=http://query.nytimes.com/gst/fullpage.html?res=9D0CE0D81339F934A15754C0A967958260|title=Microsoft Widens Its Split With I.B.M. Over Software|last=Pollack|first=Andrew|accessdate=2008-09-02|date=1991-07-27|publisher=New York Times}}</ref> They split development of their DOS systems as a result.<ref>{{cite web|url=http://query.nytimes.com/gst/fullpage.html?res=990DEEDD1630F93BA15756C0A96F958260|title=I.B.M. Executive Describes Price Pressure by Microsoft|last=Brinkley|first=Joel|date=1999-05-28|publisher=New York Times|accessdate=2008-09-02}}</ref> MS-DOS was partially transformed into Windows; the last version of PC DOS was PC DOS 2000, released in 1998.
<syntaxhighlight lang="dosbatch">
ECHO This achieves nothing > NUL
</syntaxhighlight>


It is still possible to create files or directories using these reserved device names, such as through direct editing of directory data structures in disk sectors. Such naming, such as starting a file name with a space, has sometimes been used by viruses or hacking programs to obscure files from users who do not know how to access these locations.
The [[FreeDOS]] project began [[June 26]], [[1994]], when Microsoft announced it would no longer sell or support MS-DOS. [[Jim Hall (programmer)|Jim Hall]] then posted a manifesto proposing the development of an open-source replacement. Within a few weeks, other programmers including Pat Villani and Tim Norman joined the project. A kernel, the command.com command line interpreter (shell) and core utilities were created by pooling code they had written or found available. There were several official pre-release distributions of FreeDOS before the FreeDOS 1.0 distribution was released on September 3, 2006. Thanks to the GPL, FreeDOS does not require license fees or royalties.<ref>{{cite web|url=http://www.linuxdevices.com/articles/AT3952799051.html|title=The past, present, and future of the FreeDOS Project|date=2002-03-25|accessdate=2008-06-14|author=Jim Hall}}</ref><ref>{{cite web| url=http://www.freedos.org/freedos/about/| date=September 23, 2006| title=History of FreeDOS|first=Jim| last=Hall| publisher=freedos.org| accessdate=2007-05-28}}</ref>


{{Further|Parallel port|COM (hardware interface){{!}}Serial port}}
==Decline==
{{Main|History of Microsoft Windows}}
Early versions of [[Microsoft Windows]] were an application that ran on top of a separate version of DOS.<ref name="emulate"/> By the early 1990s, Windows saw heavy use on new DOS systems. With [[Windows 3.1x|Windows for Workgroups 3.11]], DOS was almost reduced to the role of a boot loader for the Windows kernel; in 1995, [[Windows 95]] was bundled as a standalone operating system that did not require a separate DOS license. With Windows 95 (and Windows 98 and Me, that followed it), the MS-DOS kernel remains, but with Windows as the system's graphical shell. With Windows 95 and 98, but not ME, the MS-DOS component could be run without starting Windows.<ref>{{cite web|url=http://www.smartcomputing.com/Editorial/article.asp?article=articles/archive/95win/95win21/95win21.asp&guid=|title=Finding The DOS In Windows 95|work=Smart Computing|month=March | year=1996|accessdate=2008-07-12}}</ref> With DOS no longer required to use Windows, the majority of PC users abandoned DOS in favor of Windows.


=== Memory management ===
==Continued use==
{{Main|DOS memory management}}
Currently available DOS systems are FreeDOS, DR-DOS (and Enhanced DR-DOS), ROM-DOS, the Russian [[PTS-DOS]], NX-DOS, [http://www.conctrls.com/CCInews.html Multiuser DOS] (based on Digital Research's Concurrent DOS), and others. Some computer manufacturers, including [[Dell]] and [[HP]], sell computers with FreeDOS as the [[Original equipment manufacturer|OEM]] operating system.<ref>{{cite web|url=http://www.freedos.org/jhall/|title=Jim Hall|date=2007-07-13|accessdate=2008-06-12|last=Hall|first=Jim}}</ref><ref>{{cite web|url=http://www.dell.com/content/topics/segtopic.aspx/e510_nseries?c=us&cs=19&l=en&s=dhs|title=Dell PCs Featuring FreeDOS|accessdate=2008-06-14}}</ref> NX-DOS, is currently under development. It is 16-bit, real-time, networkable, bootable from a floppy, and has an incomplete USB driver. It dates back to 1992 as a personal project, and was released as [[GPL]] in 2005.<ref>{{cite web|url=http://www.linuxdevices.com/news/NS9509696845.html|title=GPL'd DOS workalike adds features|date=2007-04-01|accessdate=2008-06-01}}</ref>


DOS was designed for the Intel 8088 processor, which can only directly access a maximum of 1&nbsp;MiB of RAM.{{Sfn|Bailes|Mueller|1992|p=5}} Both IBM and Microsoft chose 640 [[kibibytes]] (KiB) as the maximum amount of memory available to programs and reserved the remaining 384&nbsp;KiB for video memory, the [[read-only memory]] of adapters on some video and network peripherals, and the system's BIOS. By 1985, some DOS applications were already hitting the memory limit, while much of reserved was unused, depending on the machine's specifications.{{Sfn|Bailes|Mueller|1992|pp=42–44}}
===Embedding===
DOS' structure of accessing hardware directly makes it ideal for use in embedded devices. The final versions of DR-DOS are still aimed at this market.<ref>{{cite web|url=http://www.drdos.com/products/drdos703.htm|title=DR DOS Embedded DOS|accessdate=2008-09-26}}</ref> ROM-DOS was used as the embedded system on the [[Canon PowerShot Pro]] 70.<ref>{{cite web|url=http://findarticles.com/p/articles/mi_m0EIN/is_1999_Feb_23/ai_53930374|title=Datalight DOS Selected for Canon's New Line of Digital Still Cameras|publisher=Business Wire|date=1999-08-24|accessdate=2008-09-26}}</ref>


Specifications were developed to allow access to additional memory. The first was the [[Expanded Memory Specification]] (EMS) was designed to allow memory on an add-on card to be accessed via a 64&nbsp;KiB page frame in the reserved upper memory area.{{Sfn|Bailes|Mueller|1992|pp=67–68}} 80386 and later systems could use a [[virtual 8086 mode]] (V86) mode memory manager like [[EMM386]] to create expanded memory from extended memory without the need of an add-on card.{{Sfn|Mueller|1998|pp=169}} The second specification was the [[Extended Memory Specification]] (XMS) for 80286 and later systems. This provided a way to copy data to and from extended memory, access to the 65,520-byte [[high memory area]]{{Sfn|Mueller|1998|pp=243–244}} directly above the first megabyte of memory and the [[upper memory block]] area. Generally XMS support was provided by [[HIMEM.SYS]] or a V86 mode memory manager like [[QEMM]] or [[386MAX]] which also supported EMS.{{Sfn|Bailes|Mueller|1992|p=79–80}}
===Emulation===
[[Image:DOSBox screenshot.png|thumb|right|250px|DOSBox running in Linux]]
Under [[Linux]] it is also possible to run copies of DOS and many of its clones under ''[[DOSEMU]]'', a Linux-native [[virtual machine]] for running DOS programs at near native speed. There are a number of other [[emulator]]s for running DOS under various versions of UNIX, even on non-[[x86]] platforms, such as [[DOSBox]].<ref name="DOSBox"/><ref>{{cite web|url=http://www.dosemu.org/|title=DOSEMU Home|date=2007-05-05|accessdate=2008-07-03|author=}}</ref>


Starting with DOS 5,{{Sfn|Mueller|1998|p=243}} DOS could directly take advantage of the HMA by loading its kernel code and disk buffers there via the <code>DOS=HIGH</code> statement in CONFIG.SYS. DOS 5+ also allowed the use of available upper memory blocks via the <code>DOS=UMB</code> statement in CONFIG.SYS.{{Sfn|Bailes|Mueller|1992|pp=150–151}}
DOS emulators are gaining popularity among [[Windows XP]] and [[Windows Vista|Vista]] users, due to these systems being very incompatible with pure DOS. They can be used to run games or other DOS software. One of the most well-known is [[DOSBox]], designed for legacy gaming (e.g. [[King's Quest]], [[Doom (video game)|Doom]]) on modern operating systems.<ref name="emulate">{{cite web|url=http://apcmag.com/how_to_coax_retro_dos_games_to_play_on_vista.htm|title=HOW TO: Coax retro DOS games to play on Vista|date=2006-10-13|accessdate=2008-07-03|author=James Bannan}}</ref><ref name="DOSBox">{{cite web|url=http://www.dosbox.com/information.php|title=DOSBox Information|accessdate=2008-05-18}}</ref>


=== DOS under OS/2 and Windows ===
It is possible to run DOS applications under [[Microsoft Virtual PC]], allowing better compatibility than DOS emulators. A legitimate version of MS-DOS can be installed which should allow all but the most stubborn applications to run.<ref>{{cite web|url=http://www.winvistatips.com/dos-games-on-vista-a102.php|title=DOS Games on Vista|date=2008-03-11|accessdate=2008-09-02}}</ref>
{{See also|Virtual DOS machine}}


The DOS emulation in OS/2 and Windows runs in much the same way as native applications do. They can access all of the drives and services, and can even use the host's clipboard services. Because the drivers for file systems and such forth reside in the host system, the DOS emulation needs only provide a DOS API translation layer which converts DOS calls to OS/2 or Windows system calls. The translation layer generally also converts BIOS calls and virtualizes common I/O port accesses which many DOS programs commonly use.
===With Microsoft Windows===
[[Image:Command prompt on windows vista.png|thumb|left|250px|[[cmd.exe]], the DOS-styled command prompt used in [[Windows NT|NT]]-based Windows.]]
True 32-bit versions of Windows, starting with NT and including 2000, XP, and Vista, are not based upon DOS. These include the [[Virtual DOS machine|NT Virtual DOS Machine]] (NTVDM), which runs a modified version of MS-DOS 5 in a virtual machine. While DOS-based versions used the traditional [[COMMAND.COM]] for a [[command line interface]], [[Windows NT]] and its derivatives use [[cmd.exe]], which utilizes many DOS commands (although COMMAND.COM is still called and used upon each DOS .EXE run).
{{clear}}


In Windows 3.1 and 9x, the DOS virtual machine is provided by WINOLDAP. WinOldAp creates a virtual machine based on the program's PIF file, and the system state when Windows was loaded. The DOS graphics mode, both character and graphic, can be captured and run in the window. DOS applications can use the Windows clipboard by accessing extra published calls in WinOldAp, and one can paste text through the WinOldAp graphics.
==Versions==


The emulated DOS in OS/2 and Windows NT is based upon DOS 5. Although there is a default configuration (config.sys and autoexec.bat), one can use alternate files on a session-by-session basis. It is possible to load drivers in these files to access the host system, although these are typically third-party.
''See [[Comparison of x86 DOS operating systems]] and [[Timeline of x86 DOS operating systems]].''


Under OS/2 2.x and later, the DOS emulation is provided by DOSKRNL. This is a file that represents the combined IBMBIO.COM and IBMDOS.COM, the system calls are passed through to the OS/2 windowing services. DOS programs run in their own environment, the bulk of the DOS utilities are provided by bound DOS / OS2 applications in the \OS2 directory. OS/2 can run Windows 3.1 applications by using a modified copy of Windows (Win-OS/2). The modifications allow Windows 3.1 programs to run seamlessly on the OS/2 desktop, or one can start a WinOS/2 desktop, similar to starting Windows from DOS.
==Software==
[[Image:Arachne VESA Mode.png|thumb|right|250px|Arachne web browser]]
:''See also:[[:Category:DOS software|DOS software]]''


OS/2 allows for 'DOS from Drive A:', (VMDISK). This is a real DOS, like MS-DOS 6.22 or PC&nbsp;DOS 5.00. One makes a bootable floppy disk of the DOS, adds a number of drivers from OS/2, and then creates a special image. The DOS booted this way has full access to the system, but provides its own drivers for hardware. One can use such a disk to access cdrom drives for which there is no OS/2 driver.
DOS was the dominant PC-Compatible platform and many notable programs were written for it. These included:


In all 32-bit (IA-32) editions of the Windows NT family since 1993, DOS emulation is provided by way of a [[virtual DOS machine]] (NTVDM). 64-bit (IA-64 and x86-64) versions of Windows do not support NTVDM and cannot run 16-bit DOS applications directly; third-party emulators such as DOSbox can be used to run DOS programs on those machines.
*'''[[Lotus 1-2-3]]'''; a protected mode [[spreadsheet]] program that saw heavy use in corporate markets and has been credited with the success of the IBM PC<ref>{{cite web|url=http://www.crn.com/it-channel/18818026|last=Darrow|first=Barbara|title=Whatever Happened To Lotus 1-2-3?|date=1 February, 2002|accessdate=2008-07-12}}</ref>
*'''[[WordPerfect]]'''; a [[word processor]] that is currently produced for the [[Microsoft Windows|Windows]] platform
*'''[[dBase]]'''; one of the earliest [[database]] programs
*'''[[Telix]]'''; a [[modem]] communication program
*'''[[Arachne (web browser)|Arachne]]'''; a 16-bit graphical DOS [[web browser]]
*'''[[DJGPP]]''', the 32-bit DPMI DOS port of [[GNU Compiler Collection|gcc]]
*'''[[4DOS]]''', a much improved replacement [[shell (computing)|shell]]
*[[Borland]]'s [[integrated development environment]], which included [[Turbo Pascal]], [[Turbo BASIC]], [[Turbo C]], and [[Turbo Assembler]]
*[[Bulletin board systems|BBS]] hosting software [[PCBoard]], [[RemoteAccess]], [[Spitfire (BBS)|Spitfire]], [[Maximus (BBS)|Maximus]], [[McBBS]], and [[TAG (BBS)|TAG]]
*[[BASIC]]-language utilities [[BASICA]] and [[GW-BASIC]]
*Numerous [[first-person shooter]] games: [[Wolfenstein 3D]], a joint venture between [[id Software]] and Apogee Software (later [[3D Realms]]); id Software's [[Doom (video game)|Doom]] and [[Quake]]; and 3D Realms' [[Duke Nukem 3D]], [[Shadow Warrior]], and [[Rise of the Triad]]. The first two 3D Realms' titles were built with the DOS-based [[Build engine]], written by [[Ken Silverman]] and used for numerous DOS FPS games. R.O.T.T. (among others) was based upon a heavily-modified Wolfenstein 3D.


==Ease of use==
== ==
DOS systems use a [[command-line interface]]. A program is started by entering its filename at the command prompt. DOS systems include utility programs and provide internal commands that do not correspond to programs.<ref>{{cite book |title=DOS the Easy Way |author-last=Murdock |author-first=Everett |year=2008 |pages=7–12 |publisher=EasyWay Downloadable Books |isbn=978-0-923178-02-4}}</ref>
===User interface===
{{See also|List of DOS commands}}
DOS systems utilize a [[command line interface]]. Programs are started by entering their filename at the command prompt. DOS systems include several programs as system utilities, and provides additional commands that don't correspond to programs (''internal commands'').<ref>{{cite book|title=DOS the Easy Way|last=Murdock|first=Everett|pages=7–12|publisher=EasyWay Downloadable Books|isbn=0923178023}}</ref>


In an attempt to provide a more user-friendly environment, numerous software manufacturers wrote [[file manager|file management programs]] that provided users with menu- and/or icon-based interfaces. Microsoft Windows is a notable example, eventually becoming a [[Windows 9x|self-contained operating system]], and replacing DOS as the most-used PC-compatible operating system. [[Text user interface]] programs included [[Norton Commander]], [[Dos Navigator]], [[Volkov Commander]], Quarterdesk [[DESQview]], and [[SideKick]]. [[Graphical user interface]] programs included Digital Research's [[Graphical Environment Manager]] (originally written for CP/M) and [[GEOS (16-bit operating system)|GEOS]].
In an attempt to provide a more user-friendly environment, numerous software manufacturers wrote [[file manager|file management programs]] that provided users with interfaces. Microsoft Windows is a notable example, eventually [[Windows 9x|self-contained , and replacing DOS as the most-used PC-compatible . [[Text user interface]] programs included [[Norton Commander]], [[ Navigator]], [[Volkov Commander]], Quarterdesk [[DESQview]], and [[]]. [[Graphical user interface]] programs included Digital Research's [[ Environment Manager]] (originally written for CP/M) and [[GEOS (16-bit operating system)|GEOS]].


Eventually, the manufacturers of major DOS systems began to include their own environment managers. MS-DOS/IBM DOS 4 included [[DOS Shell]];<ref>{{cite book|title=DOS the Easy Way|last=Murdock|first=Everett|pages=71|publisher=EasyWay Downloadable Books|isbn=0923178023|url=http://books.google.com/books?id=vrsSflB2o5sC}}</ref> DR-DOS 5, released the next year, included [[ViewMAX]], based upon GEM.<ref>{{cite book|title=Dvorak's Guide to DOS and PC Performance|last=Dvorak|first=John|coauthors=Nick Anis|pages=442–444|publisher=Osborne McGraw-Hill|year=1991}}</ref>
Eventually, the manufacturers of major DOS systems began to include their own environment managers. MS-DOS/IBM DOS 4 included [[DOS Shell]];<ref>{{cite book|title=DOS the Easy Way|last=Murdock|first=Everett|=71|publisher=EasyWay Downloadable Books|isbn=|url=http://books.google.com/books?id=vrsSflB2o5sC}}</ref> DRDOS 5, released the year, included [[ViewMAX]], based upon GEM.<ref>{{cite book|title=Dvorak's Guide to DOS and PC Performance|=Dvorak|=John|=Nick Anis|pages=442–444|publisher=Osborne McGraw-Hill|=1991}}</ref>


=== Terminate and stay resident ===
===Multitasking===
{{Main|Terminate-and-stay-resident program}}
By its original design, DOS was a single task operating system. MS and PC DOS would introduce [[task switching]] with DOSShell,<ref>{{cite book|title=DOS the Easy Way|last=Murdock|first=Everett|pages=83|publisher=EasyWay Downloadable Books|isbn=0923178023}}</ref> and DR-DOS would include it with DR-DOS 6, via the ''TaskMAX'' command.<ref>{{cite book|title=DR DOS 6.0 User Guide|publisher=Digital Research|year=1991|pages=320–324}}</ref> MS and PC DOS never had a [[multitasking]] capability;<ref>{{cite book|title=Sams Teach Yourself Windows XP Computer Basics All in One|pages=445|publisher=Sams Publishing|year=2003|last=Perry|first=Greg|coauthors=Jill Freeze|url=http://books.google.co.uk/books?id=FptQSQs0skEC&pg=PA445&dq=ms-dos+multitasking&sig=ACfU3U1yCLlNTSiGByW9TJOZJqmPENSdkQ|isbn=0672325357}}</ref> DR-DOS had the capability with DR-DOS 7 (assuming DR-DOS was running with [[DOS Protected Mode Interface|DPMI]] enabled).<ref>{{cite web|title=Chapter 13 Multitasking and Task Switching|work=Caldera DR-DOS 7.02 User Guide|publisher=Caldera Systems|year=1998|accessdate=2008-09-12|url=http://www.drdos.net/documentation/usergeng/13ugch13.htm}}</ref> Programs such as VMIX (shareware) or DesqView (commercial) could multitask even on an 8088, which did not have hardware support for multitasking due to its lack of [[protected mode]].


Although DOS is not a multitasking operating system, it does provide a ''terminate-and-stay-resident'' (TSR) function which allows programs to remain resident in memory. These programs can hook the system timer or keyboard interrupts to allow themselves to run tasks in the background or to be invoked at any time, preempting the current running program and effectively implementing a simple form of multitasking on a program-specific basis. The DOS [[PRINT (command)|PRINT]] command does this to implement background print spooling. [[Borland Sidekick]], a popup [[personal information manager]] (PIM), also uses this technique.
==Limitations==
Several limitations plague the DOS architecture. The original 8088 microprocessor could only address 1 [[megabyte]] of physical [[RAM]]. With additional hardware devices being mapped into this range, the highest amount of available memory was 640 [[kilobyte]]s, known as [[conventional memory]]. Due to DOS' structure, this was assumed to be the maximum, and DOS could not address more than this. An early workaround was [[expanded memory]]; later, [[extended memory]] was developed with the [[80286]]. While these provided usable memory to applications, they still had to start in conventional memory, thereby using part of the existing 640&nbsp;KB. With the [[80386]] microprocessor's redesigned [[protected mode]],<!--existed in the 286 but not widely deployed; see article--> [[DOS extender]]s and the [[DOS Protected Mode Interface]] were able to provide additional memory to applications, as well as multitasking. <ref>{{cite web |url=http://findarticles.com/p/articles/mi_m0SMG/is_n6_v10/ai_8528224|title=DOS: still thriving after all these years|accessdate=2008-07-10|work=Software Magazine|publisher=Findarticles.com|month=May | year=1990}}</ref><ref>{{cite book|last=Duncan|first=Ray|title=Extending DOS: A Programmer's Guide to Protected-Mode DOS|year=1991|edition=2|publisher=Addison-Wesley|isbn=0201567989}}</ref>


Terminate-and-stay-resident programs are also used to provide additional features not available by default. Programs like CED and [[DOSKEY]] provide command-line editing facilities beyond what is available in COMMAND.COM. Programs like the Microsoft CD-ROM Extensions (MSCDEX) provide access to files on CD-ROM disks.
DOS also has an upper limit to the size of [[hard disk]] partitions. This has two causes. First, many DOS-type systems never had support for any [[file system]] newer than [[File Allocation Table|FAT16]], which, by design, does not allow partitions larger than 2.1 [[gigabyte]]s.<ref>{{cite book|last=Mueller|first=Scott|title=Upgrading and Repairing PCs|year=2003|page=812|publisher=Que Publishing|isbn=0789729741}}</ref> Additionally, DOS accesses the hard disk by calling [[INT 13|Interrupt 13]], which utilizes the [[cylinder-head-sector]] system of mapping the disk. Under this system, only 8 gigabytes are visible to the operating system.<ref>{{cite web|url=http://www.storagereview.com/guide2000/ref/hdd/bios/sizeGB8.html|title=The Int 13 Interface|accessdate=2008-07-10|work=The PC Guide|publisher=storagereview.com}}</ref> Newer operating systems accomplished disk access via software means, e.g. [[32-bit disk access]].


Some TSRs can even perform a rudimentary form of task switching. For example, the [[shareware]] program Back and Forth (1990)<ref>Version 1.47 is archived at {{cite web |url=http://archives.scovetta.com/pub/fehq/DOSUtils/b_f_147.zip |title=Back and Forth 1.47 |access-date=2013-08-05 |url-status=dead |archive-url=https://web.archive.org/web/20131105062838/http://archives.scovetta.com/pub/fehq/DOSUtils/b_f_147.zip |archive-date=5 November 2013 }} and says "(C) 1990 by Progressive Solutions, Inc."</ref> has a hotkey to save the state of the currently-running program to disk, load another program, and switch to it, making it possible to switch "back and forth" between programs (albeit slowly, due to the disk access required). Back and Forth could not enable [[background process]]ing however; that needed [[DESQview]] (on at least a [[Intel 80386|386]]).
Using FAT16 (and [[FAT12]] for floppy disks) required use of the [[8.3 filename]]. Filenames in DOS can not be longer than eight characters, and the [[filename extension]] cannot be longer than three. Win95's patented VFAT hack worked around this in a unique way.

== Software ==
{{Further|:Category:DOS software}}
[[File:Arachne VESA Mode.png|thumb|right|250px|Arachne web browser]]

* [[Arachne (web browser)|Arachne]], a 16-bit graphical [[web browser]]
* [[dBase]], [[database]] program
* [[Harvard Graphics]], a [[presentation]] graphics design program
* [[Lotus 1-2-3]], a [[spreadsheet]] which has been credited with the success of the IBM PC<ref>{{cite web |url=http://www.crn.com/it-channel/18818026 |author-last=Darrow |author-first=Barbara |title=Whatever Happened To Lotus 1-2-3? |date=2002-02-01 |access-date=2008-07-12 |url-status=dead |archive-url=https://web.archive.org/web/20090109203535/http://www.crn.com/it-channel/18818026 |archive-date=2009-01-09}}</ref>
* [[Norton Commander]] and [[XTree]], file management utilities
* [[PKZIP]], the utility that quickly became the standard in file compression
* [[ProComm]], [[Qmodem]], and [[Telix]], [[modem]] communication programs
* [[Borland Sidekick|Sidekick]], personal information manager that could be used from within other programs
* [[WordPerfect]], a [[word processor]] that was dominant in the 1980s
* [[WordStar]], word processor originally for CP/M that became popular on the IBM PC

=== Development tools ===
* [[BASIC]] language interpreters. [[BASICA]] and [[GW-BASIC]]
* [[DJGPP]], the 32-bit DPMI DOS port of [[GNU Compiler Collection|gcc]]
* [[Microsoft Macro Assembler]], [[Microsoft C]], and [[CodeView]] from Microsoft
* [[Watcom C/C++]] from [[Watcom]]
* [[Turbo Pascal]], [[Turbo BASIC]], [[Turbo C]], [[Turbo Prolog]], and [[Turbo Assembler]] from [[Borland]]


== See also ==
== See also ==
* [[COMMAND.COM]], the command line interpreter for DOS and [[Windows 9x]]
* [[COMMAND.COM]] the command line interpreter for DOS and [[Windows 9x]]
* [[CP/M]] (Digital Research early operating system similar to DOS)
* [[MS-DOS API]]
* {{ill|Disk Control Program|de}} (DCP, an MS-DOS derivative by the former East-German [[VEB Robotron]])
* [[MS-DOS]]
* [[PC-DOS|PC DOS]]
* [[DOS ]]
* [[DR-DOS]]
* [[DOS]]
* [[FreeDOS]]
* [[]]
* [[List of DOS operating systems]]
* [[PC-MOS/386]] (a DOS-compatible multiuser operating system)
* [[VGA-compatible text mode]], the base of DOS's TUI on IBM PC compatibles


==References==
==References==
{{reflist|colwidth=30em}}
{{Reflist|3}}


== Further reading ==
==External links==
* IBM Corp., IBM, (January 1984). "IBM DOS Release 2.10 Cloth bound retail hard board box". 1st edition. IBM Corp. Item Number. 6183946
*[http://www.nukesoft.co.uk/msdos/ ''MS-DOS Reference''] &mdash; [[MS-DOS]] commands; many also apply to other DOSes on the [[PC compatible|PC]] platform.
* IBM Corp., IBM, (January 1984). "Disk Operating System User's guide (DOS Release 2.10)". 1st edition. Microsoft Corp. (100 pages including colour illustrations) Item Number. 6183947
*[http://oldfiles.org.uk/powerload/timeline.htm ''DOS and Windows timeline'']
* IBM Corp., IBM, (January 1984). "Disk Operating System Manual (DOS Release 2.10)". 1st edition. Microsoft Corp. (574 looseleaf pages in 3 ring folder) Item No. 6183940
* {{Cite book|url=https://archive.org/details/URP_8th_edition|title=Upgrading and Repairing PCs|edition=Eighth|last=Mueller|first=Scott|publisher=[[Que Publishing]]|date=1998|access-date=2021-11-02|isbn=0-7897-1295-4}}
* {{Cite book|url=https://archive.org/details/memorymanagement00bail|url-access=registration|title=Memory Management and Multitasking Beyond 640K|last1=Bailes|first1=Lenny|last2=Mueller|first2=John|publisher=[[McGraw-Hill]]|date=1992|access-date=2021-11-02|isbn=0-8306-3476-2}}

== External links ==
* [https://web.archive.org/web/20160506004555/http://www.patersontech.com/dos/origins-of-dos.aspx Origins of DOS], articles and manuals by Tim Paterson.
* {{webarchive |url=https://web.archive.org/web/20071028074338/http://oldfiles.org.uk/powerload/timeline.htm |date=2007-10-28 |title=Timeline of DOS and Windows versions}}
* {{cite web |url=http://www.ii.pw.edu.pl/~borkowsm/dos.htm |title=DOS - where hardware is the only limit |access-date=2010-08-29 |url-status=dead |archive-url=https://web.archive.org/web/20100815001119/http://www.ii.pw.edu.pl/~borkowsm/dos.htm |archive-date=2010-08-15}}
* [https://archive.today/20121209035503/http://purl.oclc.org/net/Batfiles/ Batfiles: The DOS batch file programming handbook]
* {{cite web|url=https://www.pcmag.com/news/the-rise-of-dos-how-microsoft-got-the-ibm-pc-os-contract|title=The Rise of DOS: How Microsoft Got the IBM PC OS Contract|website=pcmag.com|access-date=2022-12-24}}
* {{cite web|url=https://www.jumpjet.info/Application-Software/DOS/sfn.htm|title=Application Software - DOS Short File Name Family|website=www.jumpjet.info|access-date=2020-02-07|archive-date=2020-02-17 |archive-url=https://web.archive.org/web/20200217192920/http://www.jumpjet.info/Application-Software/DOS/sfn.htm|url-status=dead}} "(...) An archive of carefully hand selected FREE [and [[abandonware|abandoned]]] software for DOS."
* [https://lrusso.github.io/VirtualXP/VirtualXP.htm Online Windows XP Simulator]
* [https://github.com/microsoft/MS-DOS/tree/main MS-DOS v1.25, v2.0, v4.0 Source Code]

{{Disk operating systems}}
{{Operating system}}


{{DEFAULTSORT:Dos}}
{{DEFAULTSORT:Dos}}
[[Category:DOS on IBM PC compatibles|*DOS]]
[[Category:DOS on IBM PC compatibles|]]
[[Category:American inventions]]
[[Category:Disk operating systems]]
[[Category:Disk operating systems]]

[[af:DOS (bedryfstelsel)]]
[[ar:دوس]]
[[bs:DOS]]
[[bg:DOS]]
[[cs:DOS]]
[[de:Disk Operating System]]
[[et:Ketta-opsüsteem]]
[[es:DOS]]
[[eu:DOS]]
[[fa:داس (سیستم عامل)]]
[[fr:DOS]]
[[gl:DOS]]
[[ko:도스]]
[[hr:DOS]]
[[id:DOS]]
[[it:DOS]]
[[he:DOS]]
[[ka:DOS]]
[[lv:DOS]]
[[lt:DOS]]
[[hu:DOS]]
[[nl:DOS (besturingssysteem)]]
[[ja:DOS (OS)]]
[[no:DOS]]
[[nn:DOS]]
[[pl:DOS]]
[[pt:DOS]]
[[ro:DOS]]
[[ru:DOS]]
[[simple:Disk operating system]]
[[sk:DOS]]
[[sl:DOS]]
[[sr:DOS (оперативни систем)]]
[[fi:DOS]]
[[sv:DOS]]
[[ta:டாஸ்]]
[[th:ดอส]]
[[tr:DOS]]
[[uk:DOS]]
[[ur:قرص تعملیتی نظام]]
[[bat-smg:DOS]]
[[zh:DOS]]

Latest revision as of 19:10, 19 September 2024

The boot screen and command-line interface of MS-DOS 6, with an example of its directory structure
The boot screen and command-line interface of FreeDOS, showing version information and an example of its directory structure

DOS (/dɒs/, /dɔːs/) is a family of disk-based operating systems for IBM PC compatible computers.[1] The DOS family primarily consists of IBM PC DOS and a rebranded version, Microsoft's MS-DOS, both of which were introduced in 1981. Later compatible systems from other manufacturers include DR-DOS (1988), ROM-DOS (1989), PTS-DOS (1993), and FreeDOS (1998). MS-DOS dominated the IBM PC compatible market between 1981 and 1995.

Although the name has come to be identified specifically with this particular family of operating systems, DOS is a platform-independent acronym for disk operating system,[2] whose use predates the IBM PC. Dozens of other operating systems also use the acronym, beginning with the mainframe DOS/360 from 1966. Others include Apple DOS, Apple ProDOS, Atari DOS, Commodore DOS, TRSDOS, and AmigaDOS.

History

[edit]

Origins

[edit]
Apple CP/M from Digital Research on a Z-80 SoftCard for the Apple II

IBM PC DOS (and the separately sold MS-DOS) and its predecessor, 86-DOS, ran on Intel 8086 16-bit processors. It was developed to be similar to Digital Research's CP/M—the dominant disk operating system for 8-bit Intel 8080 and Zilog Z80 microcomputers—in order to simplify porting CP/M applications to MS-DOS.

The IBM Personal Computer (IBM 5150 PC)

When IBM introduced the IBM PC, built with the Intel 8088 microprocessor, they needed an operating system. Chairman John Opel had a conversation with fellow United Way National Board Executive Committee member Mary Maxwell Gates, who referred Opel to her son Bill Gates for help with an 8088-compatible build of CP/M.[3] IBM was then sent to Digital Research, and a meeting was set up. However, initial negotiations for the use of CP/M broke down: Digital Research wished to sell CP/M on a royalty basis, while IBM sought a single license, and to change the name to "PC DOS". Digital Research founder Gary Kildall refused, and IBM withdrew.[4][5]

A simulated SCP 86-DOS session

IBM again approached Bill Gates. Gates in turn approached Seattle Computer Products. There, programmer Tim Paterson had developed a variant of CP/M-80, intended as an internal product for testing SCP's new 16-bit Intel 8086 CPU card for the S-100 bus. The system was initially named QDOS (Quick and Dirty Operating System), before being made commercially available as 86-DOS. Microsoft purchased 86-DOS, allegedly for US$50,000. This became Microsoft Disk Operating System, MS-DOS, introduced in 1981.[6] Within a year Microsoft licensed MS-DOS to over 70 other companies,[7] which supplied the operating system for their own hardware, sometimes under their own names. Microsoft later required the use of the MS-DOS name, with the exception of the IBM variant. IBM continued to develop their version, PC DOS, for the IBM PC.[6] Digital Research became aware that an operating system similar to CP/M was being sold by IBM (under the same name that IBM insisted upon for CP/M), and threatened legal action. IBM responded by offering an agreement: they would give PC consumers a choice of PC DOS or CP/M-86, Kildall's 8086 version. Side-by-side, CP/M cost US$200 more than PC DOS, and sales were low. CP/M faded, with MS-DOS and PC DOS becoming the marketed operating system for PCs and PC compatibles.[4]

Microsoft originally sold MS-DOS only to original equipment manufacturers (OEMs). One major reason for this was that not all early PCs were 100% IBM PC compatible. DOS was structured such that there was a separation between the system specific device driver code (IO.SYS) and the DOS kernel (MSDOS.SYS). Microsoft provided an OEM Adaptation Kit (OAK) which allowed OEMs to customize the device driver code to their particular system. By the early 1990s, most PCs adhered to IBM PC standards so Microsoft began selling a retail version of MS-DOS, starting with MS-DOS 5.0.

In the mid-1980s, Microsoft developed a multitasking version of DOS.[8][9] This version of DOS is generally referred to as "European MS-DOS 4" because it was developed for ICL and licensed to several European companies. This version of DOS supports preemptive multitasking, shared memory, device helper services and New Executable ("NE") format executables. None of these features were used in later versions of DOS, but they were used to form the basis of the OS/2 1.0 kernel. This version of DOS is distinct from the widely released PC DOS 4.0 which was developed by IBM and based upon DOS 3.3.

Digital Research CP/M-86 for the IBM Personal Computer Version 1.0

Digital Research attempted to regain the market lost from CP/M-86, initially with Concurrent DOS, FlexOS and DOS Plus (both compatible with both MS-DOS and CP/M-86 software), later with Multiuser DOS (compatible with both MS-DOS and CP/M-86 software) and DR DOS (compatible with MS-DOS software). Digital Research was bought by Novell, and DR DOS became PalmDOS and Novell DOS; later, it was part of Caldera (under the names OpenDOS and DR-DOS 7.02/7.03), Lineo, and DeviceLogics.

Gordon Letwin wrote in 1995 that "DOS was, when we first wrote it, a one-time throw-away product intended to keep IBM happy so that they'd buy our languages."[10] Microsoft expected that it would be an interim solution before Xenix. The company planned to improve MS-DOS over time, so it would be almost indistinguishable from single-user Xenix, or XEDOS, which would also run on the Motorola 68000, Zilog Z-8000, and LSI-11; they would be upwardly compatible with Xenix, which BYTE in 1983 described as "the multi-user MS-DOS of the future".[11][12]

OS/2 1.0 featured a text mode interface similar to MS-DOS.

IBM, however, did not want to replace DOS.[13] After AT&T began selling Unix, Microsoft and IBM began developing OS/2 as an alternative.[10] The two companies later had a series of disagreements over two successor operating systems to DOS, OS/2 and Windows.[14] They split development of their DOS systems as a result.[15] The last retail version of MS-DOS was MS-DOS 6.22; after this, MS-DOS became part of Windows 95, 98 and Me. The last retail version of PC DOS was PC DOS 2000 (also called PC DOS 7 revision 1), though IBM did later develop PC DOS 7.10 for OEMs and internal use.

The FreeDOS project began on 26 June 1994, when Microsoft announced it would no longer sell or support MS-DOS. Jim Hall then posted a manifesto proposing the development of an open-source replacement. Within a few weeks, other programmers including Pat Villani and Tim Norman joined the project. A kernel, the COMMAND.COM command line interpreter (shell), and core utilities were created by pooling code they had written or found available. There were several official pre-release distributions of FreeDOS before the FreeDOS 1.0 distribution was released on 3 September 2006. Made available under the GNU General Public License (GPL), FreeDOS does not require license fees or royalties.[16][17]

Decline

[edit]

Early versions of Microsoft Windows ran on MS-DOS.[18] By the early 1990s, the Windows graphical shell saw heavy use on new DOS systems. In 1995, Windows 95 was bundled as a standalone operating system that did not require a separate DOS license. Windows 95 (and Windows 98 and ME, that followed it) took over as the default OS kernel, though the MS-DOS component remained for compatibility. With Windows 95 and 98, but not ME, the MS-DOS component could be run without starting Windows.[19][20][21] With DOS no longer required to use Windows, the majority of users stopped using it directly.

Continued use

[edit]
DOSBox

As of 2023, available compatible systems are FreeDOS, ROM-DOS, PTS-DOS, RxDOS[22] and REAL/32. Some computer manufacturers, including Dell and HP, sell computers with FreeDOS as an OEM operating system.[23][24] [needs update] And a few developers and computer engineers still use it because it is close to the hardware.[citation needed]

Embedded systems

[edit]

DOS's structure of accessing hardware directly allows it to be used in embedded devices. The final versions of DR-DOS are still aimed at this market.[25] ROM-DOS is used as operating system for the Canon PowerShot Pro 70.[26]

Emulation

[edit]

On Linux, it is possible to run DOSEMU, a Linux-native virtual machine for running DOS programs at near native speed. There are a number of other emulators for running DOS on various versions of Unix and Microsoft Windows such as DOSBox.[27][28] DOSBox is designed for legacy gaming (e.g. King's Quest, Doom) on modern operating systems.[18][27] DOSBox includes its own implementation of DOS which is strongly tied to the emulator and cannot run on real hardware, but can also boot MS-DOS, FreeDOS, or other DOS operating systems if needed.

Design

[edit]

MS-DOS and IBM PC DOS related operating systems are commonly associated with machines using the Intel x86 or compatible CPUs, mainly IBM PC compatibles. Machine-dependent versions of MS-DOS were produced for many non-IBM-compatible x86-based machines, with variations from relabelling of the Microsoft distribution under the manufacturer's name, to versions specifically designed to work with non-IBM-PC-compatible hardware. As long as application programs used DOS APIs instead of direct hardware access, they could run on both IBM-PC-compatible and incompatible machines. The original FreeDOS kernel, DOS-C, was derived from DOS/NT for the Motorola 68000 series of CPUs in the early 1990s. While these systems loosely resembled the DOS architecture, applications were not binary compatible due to the incompatible instruction sets of these non-x86-CPUs. However, applications written in high-level languages could be ported easily.

DOS is a single-user, single-tasking operating system with basic kernel functions that are non-reentrant: only one program at a time can use them, and DOS itself has no functionality to allow more than one program to execute at a time. The DOS kernel provides various functions for programs (an application program interface), like character I/O, file management, memory management, program loading and termination.

DOS provides the ability for shell scripting via batch files (with the filename extension .BAT). Each line of a batch file is interpreted as a program to run. Batch files can also make use of internal commands, such as GOTO and conditional statements.[29]

The operating system offers an application programming interface that allows development of character-based applications, but not for accessing most of the hardware, such as graphics cards, printers, or mice. This required programmers to access the hardware directly, usually resulting in each application having its own set of device drivers for each hardware peripheral. Hardware manufacturers would release specifications to ensure device drivers for popular applications were available.[30]

Boot sequence

[edit]
  • The bootstrap loader on PC-compatible computers, the master boot record, is located beginning at the boot sector, the first sector on the first track (track zero), of the boot disk. The ROM BIOS will load this sector into memory at address 0000h:7C00h, and typically check for a signature "55h AAh" at offset +1FEh. If the sector is not considered to be valid, the ROM BIOS will try the next physical disk in the row, otherwise it will jump to the load address with certain registers set up.
  • If the loaded boot sector happens to be a Master Boot Record (MBR), as found on partitioned media, it will relocate itself to 0000h:0600h in memory,[31] otherwise this step is skipped. The MBR code will scan the partition table, which is located within this sector, for an active partition (modern MBRs check if bit 7 is set at offset +1BEh+10h*n, whereas old MBRs simply check for a value of 80h), and, if found, load the first sector of the corresponding partition, which holds the Volume Boot Record (VBR) of that volume, into memory at 0000h:7C00h in the similar fashion as if it had been loaded by the ROM BIOS itself. The MBR will then pass execution to the loaded portion with certain registers set up.
  • The sector content loaded at 0000h:7C00h constitutes a VBR now. VBRs are operating system specific and cannot be exchanged between different DOS versions in general, as the exact behaviour differs between different DOS versions. In very old versions of DOS such as DOS 1.x, the VBR would load the whole IO.SYS/IBMBIO.COM file into memory at 0000h:0600h.[32] For this to work, these sectors had to be stored in consecutive order on disk by SYS. In later issues, it would locate and store the contents of the first two entries in the root directory at 0000h:0500h and if they happen to reflect the correct boot files as recorded in the VBR, the VBR would load the first 3 consecutive sectors of the IO.SYS/IBMBIO.COM file into memory at 0070h:0000h. The VBR also has to take care to preserve the contents of the Disk Parameter Table (DPT). Finally, it passes control to the loaded portion by jumping to its entry point with certain registers set up (with considerable differences between different DOS versions).
  • In later[clarification needed] DOS versions, where the VBR has loaded only the first 3 sectors of the IO.SYS/IBMBIO.COM file into memory, the loaded portion contains another boot loader, which will then load the remainder of itself into memory, using the root directory information stored at 0000h:0500h. For most versions, the file contents still need to be stored in consecutive order on disk. In older versions of DOS, which were still loaded as a whole, this step is skipped.
  • The DOS system initialization code will initialize its built-in device drivers and then load the DOS kernel, located in MSDOS.SYS on MS-DOS systems, into memory as well. In Windows 9x, the DOS system initialization code and built-in device drivers and the DOS kernel are combined into a single IO.SYS file while MSDOS.SYS is used as a text configuration file.
  • The CONFIG.SYS file is then read to parse configuration parameters. The SHELL variable specifies the location of the shell which defaults to COMMAND.COM.
  • The shell is loaded and executed.
  • The startup batch file AUTOEXEC.BAT is then run by the shell.[33][34]

The DOS system files loaded by the boot sector must be contiguous and be the first two directory entries.[35] As such, removing and adding this file is likely to render the media unbootable. It is, however, possible to replace the shell at will, a method that can be used to start the execution of dedicated applications faster. This limitation does not apply to any version of DR DOS, where the system files can be located anywhere in the root directory and do not need to be contiguous. Therefore, system files can be simply copied to a disk provided that the boot sector is DR DOS compatible already.

In PC DOS and DR DOS 5.0 and above, the DOS system files are named IBMBIO.COM instead of IO.SYS and IBMDOS.COM instead of MSDOS.SYS. Older versions of DR DOS used DRBIOS.SYS and DRBDOS.SYS instead.

Starting with MS-DOS 7.0 the binary system files IO.SYS and MSDOS.SYS were combined into a single file IO.SYS whilst MSDOS.SYS became a configuration file similar to CONFIG.SYS and AUTOEXEC.BAT. If the MSDOS.SYS BootGUI directive is set to 0, the boot process will stop with the command processor (typically COMMAND.COM) loaded, instead of executing WIN.COM automatically.

File system

[edit]

DOS uses a filesystem which supports 8.3 filenames: 8 characters for the filename and 3 characters for the extension. Starting with DOS 2 hierarchical directories are supported. Each directory name is also 8.3 format but the maximum directory path length is 64 characters due to the internal current directory structure (CDS) tables that DOS maintains. Including the drive name, the maximum length of a fully qualified filename that DOS supports is 80 characters using the format drive:\path\filename.ext followed by a null byte.

DOS uses the File Allocation Table (FAT) filesystem. This was originally FAT12 which supported up to 4078 clusters per drive. DOS 3.0 added support for FAT16 which used 16-bit allocation entries and supported up to 65518 clusters per drive. Compaq MS-DOS 3.31 added support for FAT16B which removed the 32‑MiB drive limit and could support up to 512 MiB. Finally MS-DOS 7.1 (the DOS component of Windows 9x) added support for FAT32 which used 32-bit allocation entries and could support hard drives up to 137 GiB and beyond.

Starting with DOS 3.1, file redirector support was added to DOS. This was initially used to support networking but was later used to support CD-ROM drives with MSCDEX. IBM PC DOS 4.0 also had preliminary installable file system (IFS) support but this was unused and removed in DOS 5.0. DOS also supported Block Devices ("Disk Drive" devices) loaded from CONFIG.SYS that could be used under the DOS file system to support network devices.

Drive naming scheme

[edit]

In DOS, drives are referred to by identifying letters. Standard practice is to reserve "A" and "B" for floppy drives. On systems with only one floppy drive DOS assigns both letters to the drive, prompting the user to swap disks as programs alternate access between them. This facilitates copying from floppy to floppy or having a program run from one floppy while accessing its data on another. Hard drives were originally assigned the letters "C" and "D". DOS could only support one active partition per drive. As support for more hard drives became available, this developed into first assigning a drive letter to each drive's active primary partition, then making a second pass over the drives to allocate letters to logical drives in the extended partition, then a third pass to give any other non-active primary partitions their names (where such additional partitions existed and contained a DOS-supported file system). Lastly, DOS allocates letters for optical disc drives, RAM disks, and other hardware. Letter assignments usually occur in the order the drivers are loaded, but the drivers can instruct DOS to assign a different letter; drivers for network drives, for example, typically assign letters nearer to the end of the alphabet.[36]

Because DOS applications use these drive letters directly (unlike the /dev directory in Unix-like systems), they can be disrupted by adding new hardware that needs a drive letter. An example is the addition of a new hard drive having a primary partition where a pre-existing hard drive contains logical drives in extended partitions; the new drive will be assigned a letter that was previously assigned to one of the extended partition logical drives. Moreover, even adding a new hard drive having only logical drives in an extended partition would still disrupt the letters of RAM disks and optical drives. This problem persisted through Microsoft's DOS-based 9x versions of Windows until they were replaced by versions based on the NT line, which preserves the letters of existing drives until the user changes them.[36] Under DOS, this problem can be worked around by defining a SUBST drive and installing the DOS program into this logical drive. The assignment of this drive would then be changed in a batch job whenever the application starts. Under some versions of Concurrent DOS, as well as under Multiuser DOS, System Manager and REAL/32, the reserved drive letter L: will automatically be assigned to the corresponding load drive whenever an application starts.

Reserved device names

[edit]
Error message when attempting to use a reserved name while naming or renaming a file or folder

There are reserved device names in DOS that cannot be used as filenames regardless of extension as they are occupied by built-in character devices. These restrictions also affect several Windows versions, in some cases causing crashes and security vulnerabilities.[37]

The reserved names are:

  • COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9 (serial communication ports)
  • CON, for console
  • LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 (line printers)
  • AUX, for auxiliary
  • PRN, for printer[38]
  • NUL, for null devices; added in 86-DOS 1.10 and PC DOS 1.0.

In Windows 95 and Windows 98, typing in the location of the reserved name (such as CON/CON, AUX/AUX, or PRN/PRN) crashes the operating system, of which Microsoft has provided a security fix for the issue. In Windows XP, the name of the file or folder using a reserved name silently reverts to its previous name, with no notification or error message. In Windows Vista and later, attempting to use a reserved name for a file or folder brings up an error message saying "The specified device name is invalid."

These names (except for NUL) have continued to be supported in all versions of MS-DOS, PC DOS and DR-DOS ever since.[39] LST was also available in some OEM versions of MS-DOS 1.25, whereas other OEM versions of MS-DOS 1.25 already used LPT1 (first line printer) and COM1 (first serial communication device) instead, as introduced with PC DOS. In addition to LPT1 and LPT2 as well as COM1 to COM3, Hewlett-Packard's OEM version of MS-DOS 2.11 for the HP Portable Plus also supported LST as alias for LPT2 and 82164A as alias for COM2;[40][41] it also supported PLT for plotters.[40][41] Otherwise, COM2, LPT2, LPT3 and the CLOCK$ (still named CLOCK in some issues of MS-DOS 2.11[42][40][41]) clock device were introduced with DOS 2.0, and COM3 and COM4 were added with DOS 3.3.[39] Only the multitasking MS-DOS 4 supported KEYBD$ and SCREEN$. DR DOS 5.0 and higher and Multiuser DOS support an $IDLE$ device for dynamic idle detection to saving power and improve multitasking. LPT4 is an optional built-in driver for a fourth line printer supported in some versions of DR-DOS since 7.02. CONFIG$ constitutes the real mode PnP manager in MS-DOS 7.0–8.0.

AUX typically defaults to COM1, and PRN to LPT1 (LST),[39] but these defaults can be changed in some versions of DOS to point to other serial or parallel devices.[40][41][43] The PLT device (present only in some HP OEM versions of MS-DOS) was reconfigurable as well.[40][41]

Filenames ended with a colon (:) such as NUL: conventionally indicate device names, but the colon is not actually a part of the name of the built-in device drivers. Colons are not necessary to be typed in some cases, for example:

ECHO This achieves nothing > NUL

It is still possible to create files or directories using these reserved device names, such as through direct editing of directory data structures in disk sectors. Such naming, such as starting a file name with a space, has sometimes been used by viruses or hacking programs to obscure files from users who do not know how to access these locations.

Memory management

[edit]

DOS was designed for the Intel 8088 processor, which can only directly access a maximum of 1 MiB of RAM.[44] Both IBM and Microsoft chose 640 kibibytes (KiB) as the maximum amount of memory available to programs and reserved the remaining 384 KiB for video memory, the read-only memory of adapters on some video and network peripherals, and the system's BIOS. By 1985, some DOS applications were already hitting the memory limit, while much of reserved was unused, depending on the machine's specifications.[45]

Specifications were developed to allow access to additional memory. The first was the Expanded Memory Specification (EMS) was designed to allow memory on an add-on card to be accessed via a 64 KiB page frame in the reserved upper memory area.[46] 80386 and later systems could use a virtual 8086 mode (V86) mode memory manager like EMM386 to create expanded memory from extended memory without the need of an add-on card.[47] The second specification was the Extended Memory Specification (XMS) for 80286 and later systems. This provided a way to copy data to and from extended memory, access to the 65,520-byte high memory area[48] directly above the first megabyte of memory and the upper memory block area. Generally XMS support was provided by HIMEM.SYS or a V86 mode memory manager like QEMM or 386MAX which also supported EMS.[49]

Starting with DOS 5,[50] DOS could directly take advantage of the HMA by loading its kernel code and disk buffers there via the DOS=HIGH statement in CONFIG.SYS. DOS 5+ also allowed the use of available upper memory blocks via the DOS=UMB statement in CONFIG.SYS.[51]

DOS under OS/2 and Windows

[edit]

The DOS emulation in OS/2 and Windows runs in much the same way as native applications do. They can access all of the drives and services, and can even use the host's clipboard services. Because the drivers for file systems and such forth reside in the host system, the DOS emulation needs only provide a DOS API translation layer which converts DOS calls to OS/2 or Windows system calls. The translation layer generally also converts BIOS calls and virtualizes common I/O port accesses which many DOS programs commonly use.

In Windows 3.1 and 9x, the DOS virtual machine is provided by WINOLDAP. WinOldAp creates a virtual machine based on the program's PIF file, and the system state when Windows was loaded. The DOS graphics mode, both character and graphic, can be captured and run in the window. DOS applications can use the Windows clipboard by accessing extra published calls in WinOldAp, and one can paste text through the WinOldAp graphics.

The emulated DOS in OS/2 and Windows NT is based upon DOS 5. Although there is a default configuration (config.sys and autoexec.bat), one can use alternate files on a session-by-session basis. It is possible to load drivers in these files to access the host system, although these are typically third-party.

Under OS/2 2.x and later, the DOS emulation is provided by DOSKRNL. This is a file that represents the combined IBMBIO.COM and IBMDOS.COM, the system calls are passed through to the OS/2 windowing services. DOS programs run in their own environment, the bulk of the DOS utilities are provided by bound DOS / OS2 applications in the \OS2 directory. OS/2 can run Windows 3.1 applications by using a modified copy of Windows (Win-OS/2). The modifications allow Windows 3.1 programs to run seamlessly on the OS/2 desktop, or one can start a WinOS/2 desktop, similar to starting Windows from DOS.

OS/2 allows for 'DOS from Drive A:', (VMDISK). This is a real DOS, like MS-DOS 6.22 or PC DOS 5.00. One makes a bootable floppy disk of the DOS, adds a number of drivers from OS/2, and then creates a special image. The DOS booted this way has full access to the system, but provides its own drivers for hardware. One can use such a disk to access cdrom drives for which there is no OS/2 driver.

In all 32-bit (IA-32) editions of the Windows NT family since 1993, DOS emulation is provided by way of a virtual DOS machine (NTVDM). 64-bit (IA-64 and x86-64) versions of Windows do not support NTVDM and cannot run 16-bit DOS applications directly; third-party emulators such as DOSbox can be used to run DOS programs on those machines.

User interface

[edit]

DOS systems use a command-line interface. A program is started by entering its filename at the command prompt. DOS systems include utility programs and provide internal commands that do not correspond to programs.[52]

In an attempt to provide a more user-friendly environment, numerous software manufacturers wrote file management programs that provided users with WIMP interfaces. Microsoft Windows is a notable example, eventually resulting in Microsoft Windows 9x becoming a self-contained program loader, and replacing DOS as the most-used PC-compatible program loader. Text user interface programs included Norton Commander, DOS Navigator, Volkov Commander, Quarterdesk DESQview, and Sidekick. Graphical user interface programs included Digital Research's GEM (originally written for CP/M) and GEOS.

Eventually, the manufacturers of major DOS systems began to include their own environment managers. MS-DOS/IBM DOS 4 included DOS Shell;[53] DR DOS 5.0, released the following year, included ViewMAX, based upon GEM.[54]

Terminate and stay resident

[edit]

Although DOS is not a multitasking operating system, it does provide a terminate-and-stay-resident (TSR) function which allows programs to remain resident in memory. These programs can hook the system timer or keyboard interrupts to allow themselves to run tasks in the background or to be invoked at any time, preempting the current running program and effectively implementing a simple form of multitasking on a program-specific basis. The DOS PRINT command does this to implement background print spooling. Borland Sidekick, a popup personal information manager (PIM), also uses this technique.

Terminate-and-stay-resident programs are also used to provide additional features not available by default. Programs like CED and DOSKEY provide command-line editing facilities beyond what is available in COMMAND.COM. Programs like the Microsoft CD-ROM Extensions (MSCDEX) provide access to files on CD-ROM disks.

Some TSRs can even perform a rudimentary form of task switching. For example, the shareware program Back and Forth (1990)[55] has a hotkey to save the state of the currently-running program to disk, load another program, and switch to it, making it possible to switch "back and forth" between programs (albeit slowly, due to the disk access required). Back and Forth could not enable background processing however; that needed DESQview (on at least a 386).

Software

[edit]
Arachne web browser

Development tools

[edit]

See also

[edit]

References

[edit]
  1. ^ Murdock, Everett (1988). DOS the Easy Way. EasyWay Downloadable Books. ISBN 0-923178-00-7.
  2. ^ Dictionary.com Archived 2017-11-12 at the Wayback Machine
  3. ^ "Mary Gates, 64; Helped Her Son Start Microsoft". New York Times. 1994-06-11. Retrieved 2023-04-11.
  4. ^ a b Rolander, Tom. "The rest of the story: How Bill Gates beat Gary Kildall in OS war, Part 1". The Scoble Show (Interview). Interviewed by Scoble, Robert. Archived from the original on 2007-11-04.
  5. ^ Bove, Tony (2005). Just Say No to Microsoft. No Starch Press. pp. 9–11. ISBN 1-59327-064-X.
  6. ^ a b Bellis, Mary. "The Unusual History of MS-DOS The Microsoft Operating System". Archived from the original on 2012-04-27. Retrieved 2008-09-02.
  7. ^ Freiberger, Paul (1982-08-23). "Bill Gates, Microsoft and the IBM Personal Computer". InfoWorld: 22. Archived from the original on 2015-03-18. Retrieved 2015-01-29.
  8. ^ "Did you know that OS/2 wasn't Microsoft's first non Unix multi-tasking operating system?". Archived from the original on 2012-11-04.
  9. ^ "Larry Osterman's Biography". Archived from the original on 2013-06-02.
  10. ^ a b Letwin, Gordon (1995-08-17). "What's happening to OS/2". Newsgroupcomp.os.os2.advocacy. Usenet: DDFvKo.G4M@lab.lwpi.com. Retrieved 2013-11-06.
  11. ^ Morgan, Chris (January 1982). "Of IBM, Operating Systems, and Rosetta Stones". BYTE: 6. Retrieved 2013-10-19.
  12. ^ Fiedler, Ryan (October 1983). "The Unix Tutorial / Part 3: Unix in the Microcomputer Marketplace". BYTE: 132. Retrieved 2015-01-30.
  13. ^ Howitt, Doran (1984-12-10). "Unix and the Single User". InfoWorld: 28. Archived from the original on 2018-01-29. Retrieved 2015-02-07.
  14. ^ Pollack, Andrew (1991-07-27). "Microsoft Widens Its Split With I.B.M. Over Software". The New York Times. Archived from the original on 2010-11-02. Retrieved 2008-09-02.
  15. ^ Brinkley, Joel (1999-05-28). "I.B.M. Executive Describes Price Pressure by Microsoft". New York Times. Archived from the original on 2008-12-11. Retrieved 2008-09-02.
  16. ^ Hall, Jim (2002-03-25). "The past, present, and future of the FreeDOS Project". Archived from the original on 2012-05-29. Retrieved 2008-06-14.
  17. ^ Hall, Jim (2006-09-23). "History of FreeDOS". freedos.org. Archived from the original on 2007-05-27. Retrieved 2007-05-28.
  18. ^ a b Bannan, James (2006-10-13). "HOW TO: Coax retro DOS games to play on Vista". Archived from the original on 2008-08-01. Retrieved 2008-07-03.
  19. ^ "Finding The DOS In Windows 95". Smart Computing. March 1996. Archived from the original on 2004-07-07. Retrieved 2008-07-12.
  20. ^ Chen, Raymond (2007-12-24). "What was the role of MS-DOS in Windows 95?". The Old New Thing - Site Home - MSDN Blogs. Archived from the original on 2014-02-05. Retrieved 2014-02-05.
  21. ^ "Description of Restarting Computer in MS-DOS Mode". support.microsoft.com. 2007-01-19. Archived from the original on 2014-02-05. Retrieved 2014-02-05.
  22. ^ "Home". rxdos.sourceforge.net.
  23. ^ Hall, Jim (2007-07-13). "Jim Hall's blog - 2007". Archived from the original on 2012-10-25. Retrieved 2008-06-12.
  24. ^ "Dell PCs Featuring FreeDOS". Archived from the original on 2008-03-19. Retrieved 2008-06-14.
  25. ^ "DR-DOS Embedded DOS". Archived from the original on 2008-12-21. Retrieved 2008-09-26.
  26. ^ "Datalight DOS Selected for Canon's New Line of Digital Still Cameras". Business Wire. 1999-08-24. Archived from the original on 2012-07-09. Retrieved 2008-09-26.
  27. ^ a b "DOSBox Information". Archived from the original on 2008-05-25. Retrieved 2008-05-18.
  28. ^ "DOSEMU Home". 2007-05-05. Archived from the original on 2008-07-23. Retrieved 2008-07-03.
  29. ^ "Batch File Help". computerhope.com. Archived from the original on 2008-09-07. Retrieved 2008-09-10.
  30. ^ Matczynski, Michael. "ZINGTECH - Guide to the New Game Programmer". Archived from the original on 2008-12-19. Retrieved 2008-09-02.
  31. ^ "The Master Boot Record (MBR) and What it Does". Archived from the original on 2013-05-27. 090912 dewassoc.com
  32. ^ "Reverse-Engineering DOS 1.0 – Part 1: The Boot Sector « pagetable.com". Archived from the original on 2009-05-11. 090912 pagetable.com
  33. ^ "CONFIG.SYS Commands". Archived from the original on 2009-05-02. 090913 academic.evergreen.edu
  34. ^ Kozierok, Charles (2001). "The DOS Boot Process". The PC Guide. Archived from the original on 2008-07-19. Retrieved 2008-09-02.
  35. ^ "misc.txt". Archived from the original on 2010-06-29. 090912 arl.wustl.edu
  36. ^ a b "Drive Letter Assignment and Choosing Primary vs. Logical Partitions". The PC Guide. 2001-04-17. Archived from the original on 2012-04-17. Retrieved 2012-04-04.
  37. ^ "Microsoft Windows MS-DOS Device Name DoS Vulnerability". Archived from the original on 2011-07-25. Retrieved 2008-09-02.
  38. ^ "DOS device names definition". PC Magazine. Archived from the original on 2008-09-29. Retrieved 2008-09-02.
  39. ^ a b c "MS-DOS Device Driver Names Cannot be Used As File Names". Revision 2.0. Microsoft. 2003-05-12. KB74496, Q74496. Archived from the original on 2012-07-21.
  40. ^ a b c d e Hewlett-Packard - Technical Reference Manual - Portable PLUS (1 ed.). Corvallis, OR, USA: Hewlett-Packard Company, Portable Computer Division. August 1985. 45559-90001. Retrieved 2016-11-27.
  41. ^ a b c d e Hewlett-Packard - Technical Reference Manual - Portable PLUS (PDF) (2 ed.). Portable Computer Division, Corvallis, OR, USA: Hewlett-Packard Company. December 1986 [August 1985]. 45559-90006. Archived (PDF) from the original on 2016-11-28. Retrieved 2016-11-27.
  42. ^ Paterson, Tim; Microsoft (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/SKELIO.TXT, /msdos/v20source/HRDDRV.ASM". Computer History Museum, Microsoft. Archived from the original on 2014-03-26. Retrieved 2014-03-25. (NB. While the publishers claim this would be MS-DOS 1.1 and 2.0, it actually is SCP MS-DOS 1.25 and a mixture of Altos MS-DOS 2.11 and TeleVideo PC DOS 2.11.)
  43. ^ Paul, Matthias R. (1997-10-02). "Caldera OpenDOS 7.01/7.02 Update Alpha 3 IBMBIO.COM README.TXT". Archived from the original on 2003-10-04. Retrieved 2009-03-29. [1]
  44. ^ Bailes & Mueller 1992, p. 5.
  45. ^ Bailes & Mueller 1992, pp. 42–44.
  46. ^ Bailes & Mueller 1992, pp. 67–68.
  47. ^ Mueller 1998, pp. 169.
  48. ^ Mueller 1998, pp. 243–244.
  49. ^ Bailes & Mueller 1992, p. 79–80.
  50. ^ Mueller 1998, p. 243.
  51. ^ Bailes & Mueller 1992, pp. 150–151.
  52. ^ Murdock, Everett (2008). DOS the Easy Way. EasyWay Downloadable Books. pp. 7–12. ISBN 978-0-923178-02-4.
  53. ^ Murdock, Everett (2008). DOS the Easy Way. EasyWay Downloadable Books. p. 71. ISBN 978-0-923178-02-4. Archived from the original on 2015-03-18.
  54. ^ Dvorak, John Charles; Anis, Nick (1991). Dvorak's Guide to DOS and PC Performance. Osborne McGraw-Hill. pp. 442–444.
  55. ^ Version 1.47 is archived at "Back and Forth 1.47". Archived from the original on 2013-11-05. Retrieved 2013-08-05. and says "(C) 1990 by Progressive Solutions, Inc."
  56. ^ Darrow, Barbara (2002-02-01). "Whatever Happened To Lotus 1-2-3?". Archived from the original on 2009-01-09. Retrieved 2008-07-12.

Further reading

[edit]
  • IBM Corp., IBM, (January 1984). "IBM DOS Release 2.10 Cloth bound retail hard board box". 1st edition. IBM Corp. Item Number. 6183946
  • IBM Corp., IBM, (January 1984). "Disk Operating System User's guide (DOS Release 2.10)". 1st edition. Microsoft Corp. (100 pages including colour illustrations) Item Number. 6183947
  • IBM Corp., IBM, (January 1984). "Disk Operating System Manual (DOS Release 2.10)". 1st edition. Microsoft Corp. (574 looseleaf pages in 3 ring folder) Item No. 6183940
  • Mueller, Scott (1998). Upgrading and Repairing PCs (Eighth ed.). Que Publishing. ISBN 0-7897-1295-4. Retrieved 2021-11-02.
  • Bailes, Lenny; Mueller, John (1992). Memory Management and Multitasking Beyond 640K. McGraw-Hill. ISBN 0-8306-3476-2. Retrieved 2021-11-02.
[edit]