MS-DOS

MS-DOS (/ˌɛmˌɛsˈdɒs/ em-es-DOSS; acronym for Microsoft Disk Operating System) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and some operating systems attempting to be compatible with MS-DOS, are sometimes referred to as "DOS" (which is also the generic acronym for disk operating system). MS-DOS was the main operating system for IBM PC compatible personal computers during the 1980s, from which point it was gradually superseded by operating systems offering a graphical user interface (GUI), in various generations of the graphical Microsoft Windows operating system.

MS-DOS
An example of the Microsoft MS-DOS command-line interface, showing that the current directory is the root of drive C
DeveloperMicrosoft
Written inx86 assembly,[1] later versions also used C
OS familyDOS
Working statePreserved pieces exist in 32-bit Windows
Source modelClosed source; open source for select versions since 2018[2]
Initial releaseAugust 12, 1981 (1981-08-12)[3]
Final release8.0 (Windows Me) / September 14, 2000 (2000-09-14)
Repository
Update methodRe-installation
Package managerNone
Platformsx86
Kernel typeMonolithic
Default user interfaceCommand-line (COMMAND.COM), text (DOS Shell)
LicenseProprietary
MIT License (v1.25 & v2.0)[2]
Succeeded byWindows NT (as of Windows XP)
Official websiteInternet Archive MS-DOS overview
Support status
MS-DOS 6.0 unsupported as of December 31, 2001[4]

IBM licensed and re-released it in 1981 as PC DOS 1.0 for use in its PCs. Although MS-DOS and PC DOS were initially developed in parallel by Microsoft and IBM, the two products diverged after twelve years, in 1993, with recognizable differences in compatibility, syntax, and capabilities.

During its lifetime, several competing products were released for the x86 platform,[5] and MS-DOS went through eight versions, until development ceased in 2000.[6] Initially, MS-DOS was targeted at Intel 8086 processors running on computer hardware using floppy disks to store and access not only the operating system, but application software and user data as well. Progressive version releases delivered support for other mass storage media in ever greater sizes and formats, along with added feature support for newer processors and rapidly evolving computer architectures. Ultimately, it was the key product in Microsoft's development from a programming language company to a diverse software development firm, providing the company with essential revenue and marketing resources. It was also the underlying basic operating system on which early versions of Windows ran as a GUI.

History

MS-DOS command prompt

MS-DOS was a renamed form of 86-DOS[7]  owned by Seattle Computer Products, written by Tim Paterson. Development of 86-DOS took only six weeks, as it was basically a clone of Digital Research's CP/M (for 8080/Z80 processors), ported to run on 8086 processors and with two notable differences compared to CP/M: an improved disk sector buffering logic, and the introduction of FAT12 instead of the CP/M filesystem. This first version was shipped in August 1980.[3] Microsoft, which needed an operating system for the IBM Personal Computer,[8][9] hired Tim Paterson in May 1981 and bought 86-DOS 1.10 for US$75,000 in July of the same year. Microsoft kept the version number, but renamed it MS-DOS. They also licensed MS-DOS 1.10/1.14 to IBM, which, in August 1981, offered it as PC DOS 1.0 as one of three operating systems[10] for the IBM 5150, or the IBM PC.[3]

Within a year, Microsoft licensed MS-DOS to over 70 other companies.[11] It was designed to be an OS that could run on any 8086-family computer. Each computer would have its own distinct hardware and its own version of MS-DOS, similar to the situation that existed for CP/M, and with MS-DOS emulating the same solution as CP/M to adapt for different hardware platforms. To this end, MS-DOS was designed with a modular structure with internal device drivers (the DOS BIOS), minimally for primary disk drives and the console, integrated with the kernel and loaded by the boot loader, and installable device drivers for other devices loaded and integrated at boot time. The OEM would use a development kit provided by Microsoft to build a version of MS-DOS with their basic I/O drivers and a standard Microsoft kernel, which they would typically supply on disk to end users along with the hardware. Thus, there were many different versions of "MS-DOS" for different hardware, and there is a major distinction between an IBM-compatible (or ISA) machine and an MS-DOS [compatible] machine. Some machines, like the Tandy 2000, were MS-DOS compatible but not IBM-compatible, so they could run software written exclusively for MS-DOS without dependence on the peripheral hardware of the IBM PC architecture.

This design would have worked well for compatibility, if application programs had only used MS-DOS services to perform device I/O, and indeed the same design philosophy is embodied in Windows NT (see Hardware Abstraction Layer). However, in MS-DOS's early days, the greater speed attainable by programs through direct control of hardware was of particular importance, especially for games, which often pushed the limits of their contemporary hardware. Very soon an IBM-compatible architecture became the goal, and before long all 8086-family computers closely emulated IBM's hardware, and only a single version of MS-DOS for a fixed hardware platform was needed for the market. This version is the version of MS-DOS that is discussed here, as the dozens of other OEM versions of "MS-DOS" were only relevant to the systems they were designed for, and in any case were very similar in function and capability to some standard version for the IBM PC—often the same-numbered version, but not always, since some OEMs used their own proprietary version numbering schemes (e.g. labeling later releases of MS-DOS 1.x as 2.0 or vice versa)—with a few notable exceptions.

Microsoft omitted multi-user support from MS-DOS because Microsoft's Unix-based operating system, Xenix, was fully multi-user.[12] The company planned, over time, to improve MS-DOS so it would be almost indistinguishable from single-user Xenix, or XEDOS, which would also run on the Motorola 68000, Zilog Z8000, and the LSI-11; they would be upwardly compatible with Xenix, which Byte in 1983 described as "the multi-user MS-DOS of the future".[13][14] Microsoft advertised MS-DOS and Xenix together, listing the shared features of its "single-user OS" and "the multi-user, multi-tasking, UNIX-derived operating system", and promising easy porting between them.[15] After the breakup of the Bell System, however, AT&T Computer Systems started selling UNIX System V. Believing that it could not compete with AT&T in the Unix market, Microsoft abandoned Xenix, and in 1987 transferred ownership of Xenix to the Santa Cruz Operation (SCO).

On March 25, 2014, Microsoft made the code to SCP MS-DOS 1.25 and a mixture of Altos MS-DOS 2.11 and TeleVideo PC DOS 2.11 available to the public under the Microsoft Research License Agreement, which makes the code source-available, but not open source as defined by Open Source Initiative or Free Software Foundation standards.[16][17][18][19] Microsoft would later re-license the code under the MIT License on September 28, 2018, making these versions free software.[2]

As an April Fool's Day joke in 2015, Microsoft Mobile launched a Windows Phone application called MS-DOS Mobile which was presented as a new mobile operating system and worked similar to MS-DOS.[20]

Versions

Microsoft licensed or released versions of MS-DOS under different names like Lifeboat Associates "Software Bus 86"[21][22] a.k.a. SB-DOS,[5] COMPAQ-DOS,[21][22] NCR-DOS or Z-DOS[21][5] before it eventually enforced the MS-DOS name for all versions but the IBM one, which was originally called "IBM Personal Computer DOS", later shortened to IBM PC DOS. (Competitors released compatible DOS systems such as DR DOS and PTS-DOS that could also run DOS applications.)

In the former Eastern bloc, MS-DOS derivatives named DCP (Disk Control Program) 3.20 and 3.30 existed in the late 1980s. They were produced by the East German electronics manufacturer VEB Robotron.[23]

The following versions of MS-DOS were released to the public:[24][25]

MS-DOS 1.x

MS-DOS Version 1.12 for Compaq Personal Computer
  • Version 1.24 (OEM) – basis for IBM's Personal Computer DOS 1.1
  • Version 1.25 (OEM) – basis for non-IBM OEM versions of MS-DOS, including SCP MS-DOS 1.25
  • Compaq-DOS 1.12, a Compaq OEM version of MS-DOS 1.25; Release date: November, 1983[26]
  • TI BOOT V. 1.13, a Texas Instruments OEM version of MS-DOS; Release date: August, 1983[27]
  • Zenith Z-DOS 1.19, a Zenith OEM version of MS-DOS 1.25[28]
  • Zenith Z-DOS/MS-DOS release 1.01, version 1.25, a Zenith OEM version of MS-DOS; Release date: May, 1983[29]

MS-DOS 2.x

MS-DOS 2.11 boot disk for the Leading Edge Model D in its sleeve

Support for IBM's XT 10 MB hard disk drives, support up to 16 MB or 32 MB FAT12 formatted hard disk drives depending on the formatting tool shipped by OEMs,[30] user installable device drivers, tree-structure filing system,[31] Unix-like[32] inheritable redirectable file handles,[33][34] non-multitasking child processes[35] an improved Terminate and Stay Resident (TSR) API,[36] environment variables, device driver support, FOR and GOTO loops in batch files, ANSI.SYS.[37]

  • Version 2.0 (OEM), First version to support 5.25-inch, 180 KB and 360 KB floppy disks;[38][39] Release date: October, 1983[40]
  • Version 2.02 (OEM, Compaq); Release date: November, 1983[41]
  • Version 2.05 (OEM, international support);[21] Release date: October, 1983[42]
  • Version 2.1 (OEM, IBM only)[21]
  • Version 2.11 (OEM)[21]
    • Altos MS-DOS 2.11, an Altos OEM version of MS-DOS 2.11 for the ACT-86C
    • ITT Corporation ITT-DOS 2.11 Version 2 (MS-DOS 2.11 for the ITT XTRA Personal Computer); Release date: July, 1985[43]
    • Toshiba MS-DOS 2.11 in ROM drive for the model T1000 laptop
    • TeleVideo PC DOS 2.11, a TeleVideo OEM version of MS-DOS 2.11
  • Version 2.13 (OEM, Zenith); Release date: July, 1984[44]
  • Version 2.2 (OEM, with Hangeul support)[21]
  • Version 2.25 (OEM, with Hangeul and Kanji support)[21]

MS-DOS 3.x

MS-DOS 3.3C for the PC-9800 series
  • Version 3.0 (OEM) – First version to support 5.25-inch, 1.2 MB floppy drives and diskettes, FAT16 partitions up to 32 MB;[45][46] Release date: April, 1985[47]
  • Version 3.1 (OEM) – Support for Microsoft Networks through an IFS layer,[45] remote file and printer API[48][49]
  • Version 3.2 (OEM) – First version to support 3.5-inch, 720 kB floppy drives and diskettes and XCOPY.[38]
  • Version 3.10 (OEM, Multitech); Release date: May, 1986[50]
  • Version 3.20 – First retail release (non-OEM); Release date: July, 1986[51]
  • Version 3.21 (OEM / non-OEM); Release date: May, 1987[52]
  • Version 3.22 (OEM) – (HP 95LX)
  • Version 3.25 (OEM)
  • Version 3.3 (OEM) – First version to support 3.5-inch, 1.44 MB floppy drives and diskettes, extended and logical partitions, directory tree copying with XCOPY, improved support for internationalization (COUNTRY.SYS),[53] networked file flush operations[54]
  • Version 3.3a (OEM)
  • Version 3.30; Release date: February, 1988[55]
  • Version 3.30A (OEM, DTK); Release date: July, 1987[56]
  • Version 3.30T (OEM, Tandy); Release date: July, 1990[57]
  • Version 3.31 (Compaq OEM only)[nb 1] – supports FAT16B with partitions larger than 32 MiB;[nb 2] Release date: November, 1989[58]

MS-DOS 4.0 / MS-DOS 4.x

  • MS-DOS 4.0 (multitasking) and MS-DOS 4.1  A separate branch of development with additional multitasking features, released between 3.2 and 3.3, and later abandoned. It is unrelated to any later versions, including versions 4.00 and 4.01 listed below
  • MS-DOS 4.x (IBM-developed) – includes a graphical/mouse interface. It had many bugs and compatibility issues.[59]
    • Version 4.00 (OEM) – First version with builtin IBM/Microsoft support of a hard disk partitions greater than 32 MB and up to a maximum size of 2 GB,[60] FASTOPEN/FASTSEEK, DOSSHELL, could use EMS for the disk buffers and provided EMS drivers and emulation for 386 compatible processors;[61] Release date: October, 1988[62]
    • Version 4.01 (OEM) – Microsoft rewritten Version 4.00 released under MS-DOS label but not IBM PC DOS. First version to introduce volume serial number when formatting hard disks and floppy disks (Disk duplication also[nb 3] and when using SYS to make a floppy disk or a partition of a hard drive bootable);[63] Release date: April, 1989[64]
    • Version 4.01a (OEM)

MS-DOS 5.x

MS-DOS Version 5.0
  • Version 5.0 (Retail) – includes a full-screen text editor. A number of bugs required re issue. First version to support 3.5-inch, 2.88 MB floppy drives and diskettes. The SHARE command was not needed anymore for old DOS 1.x style FCB file API to partitions over 32 MB.[61][60] First version to get the HIMEM.SYS driver and load portions of the operating system into the upper memory area and high memory area. Support up to four DOS primary partitions although FDISK cannot create more than one.
    • AST Premium Exec DOS 5.0 (OEM)  a version for the AST Premium Exec series of notebooks with various extensions, including improved load-high and extended codepage support[65][66]
  • Version 5.0a (Retail) – With this release, IBM and Microsoft versions diverge.
  • Version 5.50 (Windows NTVDM) – All Windows NT 32-bit versions ship with files from DOS 5.0

MS-DOS 6.x

German MS-DOS 6.2 Update
MS-DOS Version 6.22
  • Version 6.0 (Retail) – Online help through QBASIC. Disk compression, upper memory optimization and antivirus included.
  • Version 6.2 – SCANDISK as replacement for CHKDSK. Fix serious bugs in DBLSPACE.
  • Version 6.21 (Retail) – Stacker-infringing DBLSPACE removed.
  • Version 6.22 (Retail) – New DRVSPACE compression.[67]

MS-DOS 7 (as part of Windows 9x)

  • Windows 95's first retail release included support for VFAT long file names when run in a Windows Virtual-8086 box and 32-bits signed integer errorlevel. New editor. JO.SYS is an alternative filename of the IO.SYS kernel file and used as such for "special purposes". JO.SYS allows booting from either CD-ROM drive or hard disk. Last version to recognize only the first 8.4 GB of a hard disk. The VER internal command reports the Windows version 4.00.950, applications through the MS-DOS API would be reported a version number of 7.00.
  • Windows 95's OEM Service Release 2, through Windows 98 Second Edition, added support for the FAT32 file system, and was the last version that could boot to the command line from a hard disk. The VER internal command reports the Windows version 4.00.1111, 4.10.1998, or 4.10.2222 depending on the version of Windows, while applications through the API would report version 7.10.
  • Windows Me was the last version based on MS-DOS, and DOS mode was significantly altered in this release. Booting from the hard disk to a command line only was no longer permitted, AUTOEXEC.BAT and CONFIG.SYS files were no longer loaded nor parsed before loading the Windows GUI; booting from floppy disk was still permitted to allow for emergency recovery and this version is included in Windows XP and later versions for creating MS-DOS Startup Disks. The VER internal command reports the Windows version 4.90.3000, or 5.1 when created from newer versions of Windows. Applications requesting the version through the API would report version 8.00.

Microsoft DOS was released through the OEM channel, until Digital Research released DR-DOS 5.0 as a retail upgrade. With PC DOS 5.00.1, the IBM-Microsoft agreement started to end, and IBM entered the retail DOS market with IBM DOS 5.00.1, 5.02, 6.00 and PC DOS 6.1, 6.3, 7, 2000 and 7.1.

Localized versions

Japanese MS-DOS 6.2/V

Localized versions of MS-DOS existed for different markets.[68] While Western issues of MS-DOS evolved around the same set of tools and drivers just with localized message languages and differing sets of supported codepages and keyboard layouts, some language versions were considerably different from Western issues and were adapted to run on localized PC hardware with additional BIOS services not available in Western PCs, support multiple hardware codepages for displays and printers, support DBCS, alternative input methods and graphics output. Affected issues include Japanese (DOS/V), Korean, Arabic (ADOS 3.3/5.0), Hebrew (HDOS 3.3/5.0), Russian (RDOS 4.01/5.0) as well as some other Eastern European versions of DOS.

Competition

The original MS-DOS advertisement in 1981.

On microcomputers based on the Intel 8086 and 8088 processors, including the IBM PC and clones, the initial competition to the PC DOS/MS-DOS line came from Digital Research, whose CP/M operating system had inspired MS-DOS. In fact, there remains controversy as to whether QDOS was more or less plagiarized from early versions of CP/M code. Digital Research released CP/M-86 a few months after MS-DOS, and it was offered as an alternative to MS-DOS and Microsoft's licensing requirements, but at a higher price. Executable programs for CP/M-86 and MS-DOS were not interchangeable with each other; many applications were sold in both MS-DOS and CP/M-86 versions until MS-DOS became preponderant (later Digital Research operating systems could run both MS-DOS and CP/M-86 software). MS-DOS originally supported the simple .COM, which was modeled after a similar but binary incompatible format known from CP/M-80. CP/M-86 instead supported a relocatable format using the file extension .CMD to avoid name conflicts with CP/M-80 and MS-DOS .COM files. MS-DOS version 1.0 added a more advanced relocatable .EXE executable file format.

Most of the machines in the early days of MS-DOS had differing system architectures and there was a certain degree of incompatibility, and subsequently vendor lock-in. Users who began using MS-DOS with their machines were compelled to continue using the version customized for their hardware, or face trying to get all of their proprietary hardware and software to work with the new system.

In the business world the 808x-based machines that MS-DOS was tied to faced competition from the Unix operating system which ran on many different hardware architectures. Microsoft itself sold a version of Unix for the PC called Xenix.

In the emerging world of home users, a variety of other computers based on various other processors were in serious competition with the IBM PC: the Apple II, early Apple Macintosh, the Commodore 64 and others did not use the 808x processor; many 808x machines of different architectures used custom versions of MS-DOS. At first all these machines were in competition. In time the IBM PC hardware configuration became dominant in the 808x market as software written to communicate directly with the PC hardware without using standard operating system calls ran much faster, but on true PC-compatibles only. Non-PC-compatible 808x machines were too small a market to have fast software written for them alone, and the market remained open only for IBM PCs and machines that closely imitated their architecture, all running either a single version of MS-DOS compatible only with PCs, or the equivalent IBM PC DOS. Most clones cost much less than IBM-branded machines of similar performance, and became widely used by home users, while IBM PCs had a large share of the business computer market.

Microsoft and IBM together began what was intended as the follow-on to MS-DOS/PC DOS, called OS/2. When OS/2 was released in 1987, Microsoft began an advertising campaign announcing that "DOS is Dead" and stating that version 4 was the last full release. OS/2 was designed for efficient multi-tasking (as was available in operating systems since 1963) and offered a number of advanced features that had been designed together with similar look and feel; it was seen as the legitimate heir to the "kludgy" DOS platform.

MS-DOS had grown in spurts, with many significant features being taken or duplicated from Microsoft's other products and operating systems. MS-DOS also grew by incorporating, by direct licensing or feature duplicating, the functionality of tools and utilities developed by independent companies, such as Norton Utilities, PC Tools (Microsoft Anti-Virus), QEMM expanded memory manager, Stacker disk compression, and others.

During the period when Digital Research was competing in the operating system market some computers, like Amstrad PC1512, were sold with floppy disks for two operating systems (only one of which could be used at a time), MS-DOS and CP/M-86 or a derivative of it. Digital Research produced DOS Plus, which was compatible with MS-DOS 2.11, supported CP/M-86 programs, had additional features including multi-tasking, and could read and write disks in CP/M and MS-DOS format.

While OS/2 was under protracted development, Digital Research released the MS-DOS compatible DR DOS 5.0, which included features only available as third-party add-ons for MS-DOS. Unwilling to lose any portion of the market, Microsoft responded by announcing the "pending" release of MS-DOS 5.0 in May 1990. This effectively killed most DR DOS sales until the actual release of MS-DOS 5.0 in June 1991. Digital Research brought out DR DOS 6.0, which sold well until the "pre-announcement" of MS-DOS 6.0 again stifled the sales of DR DOS.

Microsoft had been accused of carefully orchestrating leaks about future versions of MS-DOS in an attempt to create what in the industry is called FUD (fear, uncertainty, and doubt) regarding DR DOS. For example, in October 1990, shortly after the release of DR DOS 5.0, and long before the eventual June 1991 release of MS-DOS 5.0, stories on feature enhancements in MS-DOS started to appear in InfoWorld and PC Week. Brad Silverberg, then Vice President of Systems Software at Microsoft and general manager of its Windows and MS-DOS Business Unit, wrote a forceful letter to PC Week (November 5, 1990), denying that Microsoft was engaged in FUD tactics ("to serve our customers better, we decided to be more forthcoming about version 5.0") and denying that Microsoft copied features from DR DOS:

"The feature enhancements of MS-DOS version 5.0 were decided and development was begun long before we heard about DR DOS 5.0. There will be some similar features. With 50 million MS-DOS users, it shouldn't be surprising that DRI has heard some of the same requests from customers that we have." – (Schulman et al. 1994).[69]

The pact between Microsoft and IBM to promote OS/2 began to fall apart in 1990 when Windows 3.0 became a marketplace success. Much of Microsoft's further contributions to OS/2 also went into creating a third GUI replacement for DOS, Windows NT.

IBM, which had already been developing the next version of OS/2, carried on development of the platform without Microsoft and sold it as the alternative to DOS and Windows.

As a response to Digital Research's DR DOS 6.0, which bundled SuperStor disk compression, Microsoft opened negotiations with Stac Electronics, vendor of the most popular DOS disk compression tool, Stacker. In the due diligence process, Stac engineers had shown Microsoft part of the Stacker source code. Stac was unwilling to meet Microsoft's terms for licensing Stacker and withdrew from the negotiations. Microsoft chose to license Vertisoft's DoubleDisk, using it as the core for its DoubleSpace disk compression.[70]

MS-DOS 6.0 and 6.20 were released in 1993, both including the Microsoft DoubleSpace disk compression utility program. Stac successfully sued Microsoft for patent infringement regarding the compression algorithm used in DoubleSpace. This resulted in the 1994 release of MS-DOS 6.21, which had disk compression removed. Shortly afterwards came version 6.22, with a new version of the disk compression system, DriveSpace, which had a different compression algorithm to avoid the infringing code.

Prior to 1995, Microsoft licensed MS-DOS (and Windows) to computer manufacturers under three types of agreement: per-processor (a fee for each system the company sold), per-system (a fee for each system of a particular model), or per-copy (a fee for each copy of MS-DOS installed). The largest manufacturers used the per-processor arrangement, which had the lowest fee. This arrangement made it expensive for the large manufacturers to migrate to any other operating system, such as DR DOS. In 1991, the U.S. government Federal Trade Commission began investigating Microsoft's licensing procedures, resulting in a 1994 settlement agreement limiting Microsoft to per-copy licensing. Digital Research did not gain by this settlement, and years later its successor in interest, Caldera, sued Microsoft for damages in the Caldera v. Microsoft lawsuit. It was believed that the settlement ran in the order of $150 million, but was revealed in November 2009 with the release of the Settlement Agreement to be $280 million.[71]

Use of undocumented APIs

Microsoft also used a variety of tactics in MS-DOS and several of their applications and development tools that, while operating perfectly when running on genuine MS-DOS (and PC DOS), would break when run on another vendor's implementation of DOS. Notable examples of this practice included:

  • Microsoft's QuickPascal released in early 1989 was the first MS product that checked for MS-DOS by modifying the program's Program Segment Prefix using undocumented DOS functions, and then checked whether or not the associated value changed in a fixed position within the DOS data segment (also undocumented). This check also made it into later MS products, including Microsoft QuickC v2.5, Programmer's Workbench and Microsoft C v6.0.[69]
  • The AARD code, a block of code in the windows launcher (WIN.COM) and a few other system files of Windows 3.1. It was XOR encrypted, self-modifying, and deliberately obfuscated, using various undocumented DOS structures and functions to determine whether or not Windows really was running on MS-DOS.[69] In the beta versions, it displayed an "error" message if the test for genuine MS-DOS failed, prompting the user to abort or continue, with abort the default. In the final release version, the code still ran, but the message and prompt were disabled by an added flag byte, rendering it (probably) ineffectual.
    • Note that the Windows 3.0 beta code only gave a warning that Windows would not operate properly on a "foreign" OS. It did, in fact, run just fine on DR DOS 6.0.
  • Interrupt routines called by Windows to inform MS-DOS that Windows is starting/exiting, information that MS-DOS retained in an IN_WINDOWS flag, in spite of the fact that MS-DOS and Windows were supposed to be two separate products.[69]

End-of-life

As of 2011, MS-DOS is still used in some enterprises to run legacy applications, such as this US Navy food service management system.

The introduction of Windows 3.0 in 1990, with an easy-to-use graphical user interface, marked the beginning of the end for the command-line driven MS-DOS. With the release of Windows 95 (and continuing in the Windows 9x product line through to Windows Me), an integrated version of MS-DOS was used for bootstrapping, troubleshooting, and backwards-compatibility with old DOS software, particularly games, and no longer released as a standalone product.[72] In Windows 95, the DOS, called MS-DOS 7, can be booted separately, without the Windows GUI; this capability was retained through Windows 98 Second Edition. Windows Me removed the capability to boot its underlying MS-DOS 8.0 alone from a hard disk, but retained the ability to make a DOS boot floppy disk (called an "Emergency Boot Disk") and can be hacked to restore full access to the underlying DOS.

In contrast to the Windows 9x series, the Windows NT-derived 32-bit operating systems (Windows NT, 2000, XP and newer), developed alongside the 9x series, do not contain MS-DOS as part of the operating system, as NT is not built as a subsystem running on DOS but an entirely different independent operating system,[72] but provide a subset of DOS emulation to run DOS applications and provide DOS-like command prompt windows. 64-bit versions of Windows NT line do not provide DOS emulation and cannot run DOS applications natively.[73] Windows XP contains a copy of the Windows Me boot disk, stripped down to bootstrap only. This is accessible only by formatting a floppy as an "MS-DOS startup disk". Files like the driver for the CD-ROM support were deleted from the Windows Me bootdisk and the startup files (AUTOEXEC.BAT and CONFIG.SYS) no longer had content. This modified disk was the base for creating the MS-DOS image for Windows XP. Some of the deleted files can be recovered with an undelete tool.[74] When booting up an MS-DOS startup disk made with Windows XP's format tool, the version reports as "Windows Millennium," and not "MS-DOS 8.0" (which was used as the base for Windows Me but never released as a stand-alone product). With Windows Vista the files on the startup disk are dated April 18, 2005 but are otherwise unchanged, including the string "MS-DOS Version 8 Copyright 1981–1999 Microsoft Corp" inside COMMAND.COM. Starting with Windows 10, the ability to create a DOS startup disk has been removed and so either a virtual machine running MS-DOS or an older version (in a virtual machine or dual boot) must be used to format a floppy disk, or an image must be obtained from an external source. Other solutions include using DOS compatible alternatives, such as FreeDOS or even copying the required files and boot sector themselves.

MS-DOS 6.22 was the last standalone version produced by Microsoft for Intel 8088, Intel 8086, and Intel 80286 processors, which remain available for download via their MSDN,[75] volume license, and OEM license partner websites, for customers with valid login credentials. MS-DOS is still used in embedded x86 systems due to its simple architecture and minimal memory and processor requirements, though some current products have switched to the still-maintained open-source alternative FreeDOS.

In 2018, Microsoft released the source code for MS-DOS 1.25 and 2.0 on GitHub. The purpose of this, according to Microsoft, is mainly for education and experimentation with historic operating systems and for new programmers to gain an understanding of how low-level software works, both historic and current. According to program manager Rich Turner, the other versions could not be open-sourced due to third-party licensing restrictions.[76]

Due to the historical nature of the software, Microsoft will not accept any pull requests to the code; only pull requests for modified and translated documentation will be accepted. Users, however, are allowed and fully encouraged to fork the repository containing the MS-DOS source code and make their own modifications, and do whatever they like with it.

Windows command-line interface

MS-DOS Prompt in Windows 95
Command Prompt in Windows 10

All versions of Microsoft Windows have had an MS-DOS-like command-line interface (CLI) called MS-DOS Prompt or, in later versions, Command Prompt. This could run many DOS and variously Win32, OS/2 1.x and POSIX command line utilities in the same command-line session, allowing piping between commands. The user interface, and the icon up to Windows 2000, followed the native MS-DOS interface.

The 16-bit versions of Windows (up to 3.11) ran as a Graphical User Interface (GUI) on top of MS-DOS. With Windows 95, 98, 98 SE and Me, the MS-DOS part was (superficially) integrated, treating the MS-DOS operating system and the Windows GUI as a complete package, though the DOS component could actually stand alone. The command line accessed the DOS command line (usually COMMAND.COM) through a Windows module (WINOLDAP.MOD).

A new line of Windows, (Windows NT), boot through a kernel whose sole purpose is to load Windows. One cannot run Win32 applications in the loader system in the manner that OS/2, UNIX or Consumer Windows can launch character-mode sessions.

The command session permits running of various supported command line utilities from Win32, MS-DOS, OS/2 1.x and POSIX. The emulators for MS-DOS, OS/2 and POSIX use the host's window in the same way that Win16 applications use the Win32 explorer. Using the host's window allows one to pipe output between emulations.

The MS-DOS emulation is done through the NTVDM (NT Virtual DOS Machine). This is a modified SoftPC (a former product similar to VirtualPC), running a modified MS-DOS 5 (NTIO.SYS and NTDOS.SYS). The output is handled by the console DLLs, so that the program at the prompt (CMD.EXE, 4NT.EXE, TCC.EXE), can see the output. 64-bit Windows does not have either the DOS emulation, or the DOS commands EDIT, DEBUG, EDLIN), that come with 32-bit Windows.

The DOS version returns 5.00 or 5.50, depending on which API function is used to determine it. Utilities from MS-DOS 5.00 run in this emulation without modification. The very early beta programs of NT show MS-DOS 30.00, but programs running in MS-DOS 30.00 would assume that OS/2 was in control.

The OS/2 emulation is handled through OS2SS.EXE and OS2.EXE, and DOSCALLS.DLL. OS2.EXE is a version of the OS/2 shell (CMD.EXE), which passes commands down to the OS2SS.EXE, and input-output to the Windows NT shell. Windows 2000 was the last version of NT to support OS/2. The emulation is OS/2 1.30.

POSIX is emulated through the POSIX shell, but no emulated shell; the commands are handled directly in CMD.EXE.

The Command Prompt is often called the MS-DOS prompt. In part, this was the official name for it in Windows 9x and early versions of Windows NT (NT 3.5 and earlier), and in part because the SoftPC emulation of DOS redirects output into it. Actually only COMMAND.COM and other 16-bit commands run in an NTVDM with AUTOEXEC.NT and CONFIG.NT initialisation determined by _DEFAULT.PIF, optionally permitting the use of Win32 console applications and internal commands with an NTCMDPROMPT directive.

Win32 console applications use CMD.EXE as their command prompt shell. This confusion does not exist under OS/2 because there are separate DOS and OS/2 prompts, and running a DOS program under OS/2 will launch a separate DOS window to run the application.

All versions of Windows for Itanium (no longer sold by Microsoft) and x86-64 architectures no longer include the NTVDM and can therefore no longer natively run DOS or 16-bit Windows applications. There are alternatives in the form of virtual machine emulators such as Microsoft's own Virtual PC, as well as VMware, DOSBox, and others.

Legacy compatibility

From 1983 onwards, various companies worked on graphical user interfaces (GUIs) capable of running on PC hardware. However, this required duplicated effort and did not provide much consistency in interface design (even between products from the same company).

Later, in 1985, Microsoft Windows 1.0 was released as Microsoft's first attempt at providing a consistent user interface (for applications). The early versions of Windows ran on top of MS-DOS. At first Windows met with little success, but this was also true for most other companies' efforts as well, for example GEM. After version 3.0, Windows gained market acceptance.

Windows 9x used the DOS boot process to launch into protected mode. Basic features related to the file system, such as long file names, were only available to DOS when running as a subsystem of Windows. Windows NT runs independently of DOS but includes NTVDM, a component for simulating a DOS environment for legacy applications.

MS-DOS compatible systems include:

Microsoft manufactured IBM PC DOS for IBM. It and MS-DOS were identical products that eventually diverged starting with MS-DOS version 6.0. Digital Research did not follow Microsoft's version numbering scheme. For example, MS-DOS 4, released in July 1988, was followed by DR DOS 5.0 in May 1990. MS-DOS 5.0 came in April 1991, and DR DOS 6.0 was released the following June.[77]

These products are collectively referred to as "DOS", even though "Disk Operating System" is a generic term used on other systems unrelated to the x86 and IBM PC. "MS-DOS" can also be a generic reference to DOS on IBM PC compatible computers.

Microsoft's control of the Windows platform, and their programming practices which intentionally made Windows appear as if it ran poorly on competing versions of DOS, crippled the ability of other DOS makers to continue to compete with MS-DOS.[69] Digital Research had to release interim releases to circumvent Windows limitations inserted artificially,[69] designed specifically to provide Microsoft with a competitive advantage.[69]

See also

Notes

  1. Confirmed that there was Compaq Personal Computer DOS 3.31 aside from MS-DOS 3.31.
  2. Up to 512 MB only.
  3. Only if boot record of source floppy disk contains volume serial number also.

References

  1. Paterson, Tim (June 1983). "An Inside Look at MS-DOS". Seattle Computer Products. Seattle. Archived from the original on May 6, 2017. Retrieved April 16, 2016.
  2. Turner, Rich. "Re-Open-Sourcing MS-DOS 1.25 and 2.0". Windows Command Line Tools For Developers. Retrieved September 29, 2018.
  3. "MS-DOS: A Brief Introduction". The Linux Information Project. Archived from the original on December 14, 2017. Retrieved December 14, 2017.
  4. "Obsolete Products Life-Cycle Policy". Support. Microsoft. July 30, 2009. Archived from the original on July 6, 2006. Retrieved April 6, 2010.
  5. Allan, Roy A. (2001). "Microsoft in the 1980s, part III 1980s – The IBM/Macintosh era". A history of the personal computer: the people and the technology. London, Ontario: Allan Pub. p. 14. ISBN 0-9689108-0-7. Retrieved December 5, 2009.
  6. "A Compilation of 8 Historical Essays". Retrieved January 30, 2016.
  7. Conner, Doug. "Father of DOS Still Having Fun at Microsoft". patersontech.com. Micronews. Archived from the original on February 9, 2010. Retrieved December 5, 2009.
  8. "A history of Windows". microsoft.com. Microsoft. November 2013. Archived from the original on May 10, 2015. Retrieved May 10, 2015.
  9. Antov, Leven (1996). "History of MS-DOS". Digital Research. Archived from the original on October 2, 2017. Retrieved May 6, 2015.
  10. "Personal Computer Announced by IBM" (PDF). ibm.com. IBM. Retrieved September 27, 2014.
  11. Freiberger, Paul (August 23, 1982). "Bill Gates, Microsoft and the IBM Personal Computer". InfoWorld. p. 22. Retrieved January 29, 2015.
  12. Swaine, Michael (August 23, 1982). "MS-DOS: examining IBM PC's disk-operating system". InfoWorld. p. 24. Retrieved January 29, 2015.
  13. Morgan, Chris (January 1982). "Of IBM, Operating Systems, and Rosetta Stones". BYTE. p. 6. Retrieved October 19, 2013.
  14. Fiedler, Ryan (October 1983). "The Unix Tutorial / Part 3: Unix in the Microcomputer Marketplace". BYTE. p. 132. Retrieved January 30, 2015.
  15. "Before you bet your business software on an OS, look who's betting on MS-DOS and XENIX". InfoWorld (advertisement). June 27, 1983. p. 44. Retrieved January 31, 2015.
  16. Paterson, Tim (December 19, 2013) [1983-05-17]. "Microsoft DOS V1.1 and V2.0: /msdos/v11source/MSDOS.ASM". Computer History Museum, Microsoft. Retrieved March 25, 2014. (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.)
  17. Shustek, Len (March 24, 2014). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Retrieved March 29, 2014. (NB. While the author claims 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.)
  18. Levin, Roy (March 25, 2014). "Microsoft makes source code for MS-DOS and Word for Windows available to public". Official Microsoft Blog. Retrieved March 29, 2014. (NB. While the author claims 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.)
  19. Phipps, Simon (March 26, 2014). "Psych! Microsoft didn't really open-source MS-DOS". InfoWorld. Retrieved March 27, 2014.
  20. Peters, Luke (April 1, 2015). "Microsoft launches MS-DOS Mobile". Microsoft Lumia. Microsoft. Archived from the original on April 2, 2015. Retrieved April 2, 2015. The MS-DOS Mobile preview is an essential download
  21. Allen, Paul; Gates, Bill; King, Adrian; Larson, Chris; Letwin, Gordon; O'Rear, Bob; Paterson, Tim; Peters, Chris; Phillips, Bruce; Reynolds, Aaron; Stillmaker, Betty; Zbikowski, Mark (1986). "Technical advisors". MS-DOS (Versions 1.0-3.2) Technical Reference Encyclopedia. By Bornstein, Howard; Bredehoeft, Lawrence; Duncan, Ray; Morris, Carol; Rose, David; Socha, John; Tomlin, Jim; Vian, Kathleen; Wolverton, Van. Beley, Jim; Preppernau, Barry; Beason, Pam; Lewis, Andrea; Rygmyr, David (eds.). Microsoft Reference Library. 1 (Original withdrawn ed.). Redmond, Washington, USA: Microsoft Press. ISBN 0-914845-69-1. LCCN 86-8640. OCLC 635600205. (xvii+1053 pages; 29 cm) (NB. This original edition contains flowcharts of the internal workings of the system. It was withdrawn by Microsoft before mass-distribution in 1986 because it contained many factual errors as well as some classified information which should not have been published. Few printed copies survived. It was replaced by a completely reworked edition in 1988. )
  22. Zbikowski, Mark; Allen, Paul; Ballmer, Steve; Borman, Reuben; Borman, Rob; Butler, John; Carroll, Chuck; Chamberlain, Mark; Chell, David; Colee, Mike; Courtney, Mike; Dryfoos, Mike; Duncan, Rachel; Eckhardt, Kurt; Evans, Eric; Farmer, Rick; Gates, Bill; Geary, Michael; Griffin, Bob; Hogarth, Doug; Johnson, James W.; Kermaani, Kaamel; King, Adrian; Koch, Reed; Landowski, James; Larson, Chris; Lennon, Thomas; Lipkie, Dan; McDonald, Marc; McKinney, Bruce; Martin, Pascal; Mathers, Estelle; Matthews, Bob; Melin, David; Mergentime, Charles; Nevin, Randy; Newell, Dan; Newell, Tani; Norris, David; O'Leary, Mike; O'Rear, Bob; Olsson, Mike; Osterman, Larry; Ostling, Ridge; Pai, Sunil; Paterson, Tim; Perez, Gary; Peters, Chris; Petzold, Charles; Pollock, John; Reynolds, Aaron; Rubin, Darryl; Ryan, Ralph; Schulmeisters, Karl; Shah, Rajen; Shaw, Barry; Short, Anthony; Slivka, Ben; Smirl, Jon; Stillmaker, Betty; Stoddard, John; Tillman, Dennis; Whitten, Greg; Yount, Natalie; Zeck, Steve (1988). "Technical advisors". The MS-DOS Encyclopedia: versions 1.0 through 3.2. By Duncan, Ray; Bostwick, Steve; Burgoyne, Keith; Byers, Robert A.; Hogan, Thom; Kyle, Jim; Letwin, Gordon; Petzold, Charles; Rabinowitz, Chip; Tomlin, Jim; Wilton, Richard; Wolverton, Van; Wong, William; Woodcock, JoAnne (Completely reworked ed.). Redmond, Washington, USA: Microsoft Press. ISBN 1-55615-049-0. LCCN 87-21452. OCLC 16581341. (xix+1570 pages; 26 cm) (NB. This edition was published in 1988 after extensive rework of the withdrawn 1986 first edition by a different team of authors. )
  23. Kurth, Rüdiger; Groß, Martin; Hunger, Henry (November 29, 2016) [2007]. "Betriebssystem DCP". www.robotrontechnik.de (in German). Archived from the original on April 3, 2019. Retrieved April 28, 2019.
  24. "Microsoft DOS Version Features". EMS Professional Software and Specialty Services. Archived from the original on August 29, 2017. Retrieved August 29, 2017.
  25. "DOS history". Pcmuseum.tripod.com. Archived from the original on August 29, 2017. Retrieved August 29, 2017.
  26. 16BitOS - MS-DOS® Version 1.12 - Compaq OEM
  27. 16BitOS - MS DOS® Version 1.13 - Texas Instruments OEM
  28. "Microsoft MS-DOS Informatie". ultrawindows.nl. Archived from the original on August 9, 2011. Retrieved September 27, 2012.
  29. 16BitOS - MS DOS® Version 1.25 - Zenith OEM
  30. Mueller, Scott (1995). Upgrading and Repairing PCs (5th ed.). Que Corporation. p. 784. ISBN 0-7897-0321-1. The limit of 16 MB did not come from the FAT, but from the high-level DOS FORMAT command... Most vendors supplied modified high-level format programs that permitted partitions of up to 32 MB to be formatted properly.
  31. "Short History of MS-DOS". Retrieved July 8, 2018.
  32. "DOS 2.0 and 2.1: Hello, UNIX!". OS/2 Museum. Retrieved July 29, 2018.
  33. "DOS 2+ - OPEN — Open Existing File". Ralf Brown's Interrupt List. Retrieved July 10, 2018.
  34. "DOS 2+ - DUP — Duplicate File Handle". Ralf Brown's Interrupt List. Retrieved June 10, 2018.
  35. "DOS 2+ - EXEC — Load And/Or Execute Program". Ralf Brown's Interrupt List. Retrieved June 10, 2018.
  36. "DOS 2+ - Terminate And Stay Resident". Ralf Brown's Interrupt List. Retrieved June 10, 2018.
  37. "History of DOS". PC DOS Retro. Retrieved July 29, 2018.
  38. "Standard Floppy Disk Formats Supported by MS-DOS". Microsoft Support. Microsoft. Archived from the original on March 4, 2016. Retrieved June 11, 2018.
  39. Rose, David. "DOS Marches On". PC: The Independent Guide to IBM Personal Computers. Vol. 1 no. 12. pp. 108–125. Retrieved July 8, 2018.
  40. 16BitOS - MS DOS® Version 2.00 - NCR OEM
  41. 16BitOS - MS DOS® Version 2.02 - Compaq OEM
  42. 16BitOS - MS DOS® Version 2.05 - Digital OEM
  43. 16BitOS - MS DOS® Version 2.11 - ITT OEM
  44. 16BitOS - MS DOS® Version 2.13 - Zenith OEM
  45. "DOS 3.0, 3.1, and 3.2: The Networked PC/AT". OS/2 Museum.
  46. Somerson, Paul (October 16, 1984). "DOS 3.0 Is Bigger, but Only Manual is Better". PC: The Independent Guide to the IBM Personal Computer. Vol. 3 no. 20. p. 40.
  47. 16BitOS - MS-DOS Version 3.00 Compaq OEM
  48. "DOS 3.1+ - IOCTL — Check If Handle Is Remote". Ralf Brown's Interrupt List. Retrieved June 10, 2018.
  49. "DOS 3.1+ network — Get Network Printer Setup String". Ralf Brown's Interrupt List. Retrieved June 10, 2018.
  50. 16BitOS - MS DOS® Version 3.10 - Multitech OEM
  51. 16BitOS - MS-DOS® Version 3.20
  52. 16BitOS - MS-DOS® Version 3.21
  53. "DOS 3.3: The Mature DOS". OS/2 Museum.
  54. "DOS 3.3+ - FFLUSH — Commit File". Ralf Brown's Interrupt List. Retrieved June 10, 2018.
  55. 16BitOS - MS-DOS® Version 3.30
  56. 16BitOS - MS-DOS® Version 3.30A DTK OEM
  57. 16BitOS - MS-DOS® Version 3.30T - Tandy OEM
  58. 16BitOS - MS-DOS® Version 3.31 Compaq OEM
  59. Shultz, Greg (November 6, 2006). "Dinosaur Sightings: Installing MS-DOS 4". TechRepublic. CBS Interactive. Archived from the original on August 29, 2017. Retrieved August 29, 2017.
  60. "MS-DOS Partitioning Summary". Support. Microsoft. Retrieved June 11, 2018.
  61. "DOS 4.0: the apparent cul-de-sac". OS/2 Museum.
  62. 16BitOS - MS-DOS® Version 4.00
  63. "DOS 4.0: About volume serial number". Faqs.org. Retrieved September 27, 2012.
  64. 16BitOS - MS-DOS® Version 4.01
  65. Brown, Ralf D. (December 29, 2002). "The x86 Interrupt List". Retrieved October 14, 2011 via Carnegie Mellon University.
  66. Paul, Matthias R. (July 30, 1997) [1994-05-01]. "II.16.iv. Landessprachliche Unterstützung – Codeseiten" [II.16.iv. National language support – Codepages]. NWDOS-TIPs – Tips & Tricks rund um Novell DOS 7, mit Blick auf undokumentierte Details, Bugs und Workarounds [NWDOSTIPs – Tips & tricks for Novell DOS 7, with special focus on undocumented details, bugs and workarounds]. MPDOSTIP. Release 157 (in German) (3 ed.). Archived from the original on June 6, 2016. Retrieved June 6, 2016.
  67. "MS-DOS 6 Technical Reference". TechNet. Microsoft. Retrieved February 13, 2014.
  68. "Country". MS-DOS 6 Technical Reference. Microsoft. ANSI.SYS. Retrieved April 1, 2014 via TechNet.
  69. Schulman, Andrew; Brown, Ralf D.; Maxey, David; Michels, Raymond J.; Kyle, Jim (1994) [November 1993]. Undocumented DOS: A programmer's guide to reserved MS-DOS functions and data structures — expanded to include MS-DOS 6, Novell DOS and Windows 3.1 (2 ed.). Reading, Massachusetts: Addison Wesley. ISBN 0-201-63287-X. (xviii+856+vi pages, 3.5"-floppy) Errata:
  70. "How Safe is Disk Compression?". BYTE Magazine. February 1994. Archived from the original on June 19, 2008.
  71. "Exhibits to Microsoft's Cross Motion for Summary Judgment in Novell WordPerfect Case". Groklaw. November 23, 2009. Retrieved October 22, 2011.
  72. Goldstein, Phil (October 27, 2017). "MS-DOS Became Synonymous with PC Operating Systems in the 1980s". BizTech Magazine. Archived from the original on January 26, 2018. Retrieved January 26, 2018.
  73. "List of limitations in 64-Bit Windows". Support. Microsoft. October 11, 2007. Retrieved May 26, 2016.
  74. Sedory, Daniel B. (March 9, 2018). "Windows XP MS-DOS Startup Disk". The Starman's Realm.
  75. "Supplemental Disk — MS-DOS 6 Technical Reference". Microsoft Developer Network. Archived from the original on September 2, 2017. Retrieved January 26, 2018.
  76. https://github.com/microsoft/MS-DOS/issues/424#issuecomment-542437019
  77. Comerford, M. "DOS Timeline ~ Part One ~ 1980 to 1993". PowerLoad. Archived from the original on February 24, 2006. Retrieved June 18, 2015.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.