MSX-DOS is a discontinued
disk operating system developed by
Microsoft
Microsoft Corporation is an American multinational corporation, multinational technology company, technology corporation producing Software, computer software, consumer electronics, personal computers, and related services headquartered at th ...
for the
8-bit
In computer architecture, 8-bit integers or other data units are those that are 8 bits wide (1 octet). Also, 8-bit central processing unit (CPU) and arithmetic logic unit (ALU) architectures are those that are based on registers or data buses of ...
home computer standard
MSX
MSX is a standardized home computer architecture, announced by Microsoft and ASCII Corporation on June 16, 1983. It was initially conceived by Microsoft as a product for the Eastern sector, and jointly marketed by Kazuhiko Nishi, then vice-p ...
, and is a cross between
MS-DOS 1.25
MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few oper ...
and
CP/M-80 2.
MSX-DOS
MSX-DOS and the extended BASIC with 3½-inch
floppy disk
A floppy disk or floppy diskette (casually referred to as a floppy, or a diskette) is an obsolescent type of disk storage composed of a thin and flexible disk of a magnetic storage medium in a square or nearly square plastic enclosure lined ...
support were simultaneously developed by Microsoft and
Spectravideo
Spectravideo International (SVI) was an American computer manufacturer and software house. It was originally called SpectraVision, a company founded by Harry Fox in 1981. The company produced video games and other software for the VIC-20 hom ...
as a software and hardware standard for the MSX home computer standard, to add disk capabilities to BASIC and to give the system a cheaper software medium than Memory
Cartridges, and a more powerful storage system than
cassette tape. The standard
BIOS
In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is firmware used to provide runtime services for operating systems and programs and to perform hardware initialization during the ...
of an unexpanded MSX computer did not have any floppy disk support, so the additional floppy disk expansion system came with its own BIOS extension ROM (built-in on the disk controller) called the
BDOS
CP/M, originally standing for Control Program/Monitor and later Control Program for Microcomputers, is a mass-market operating system created in 1974 for Intel 8080/ 85-based microcomputers by Gary Kildall of Digital Research, Inc. Initiall ...
. Spectravideo also released an MSX-DOS disk in conjunction with the SVI-707 which could be loaded into an MSX system. Once MSX-DOS has been loaded, the system searches the MSX-DOS disk for the COMMAND.COM file and loads it into memory. It not only added floppy disk support commands to
MSX BASIC, but also a
booting
In computing, booting is the process of starting a computer as initiated via Computer hardware, hardware such as a button or by a software command. After it is switched on, a computer's central processing unit (CPU) has no software in its ma ...
system, with which it was possible to boot a real disk operating system. In that case, the BDOS bypassed the BASIC ROMs, so that the whole 64 KB of address space of the Z80 microprocessor inside the MSX computer could be used for the DOS or for other boot-able disks, for example disk based games. At the same time, the original BIOS ROMs could still be accessed through a "memory
bank switch" mechanism, so that DOS-based software could still use BIOS calls to control the hardware and other software mechanisms the main ROMs supplied. Also, due to the BDOS ROM, basic file access capabilities were available even without a command interpreter by using extended BASIC commands.
At initial startup, COMMAND.COM looks for an optional
batch file
Batch may refer to:
Food and drink
* Batch (alcohol), an alcoholic fruit beverage
* Batch loaf, a type of bread popular in Ireland
* A dialect term for a bread roll used in North Warwickshire, Nuneaton and Coventry, as well as on the Wirra ...
named
AUTOEXEC.BAT
AUTOEXEC.BAT is a system file that was originally on DOS-type operating systems. It is a plain-text batch file in the root directory of the boot device. The name of the file is an abbreviation of "automatic execution", which describes its funct ...
and, if it exists, executes the commands specified in there.
If MSX-DOS is not invoked and
Disk BASIC starts, a BASIC program named "AUTOEXEC.BAS" will be carried out instead, if present.
One major difference between MSX-DOS and MS-DOS 2.x was that MSX-DOS did not use the "boot sector" on the floppy to boot, but instead booted using the BDOS ROM routines, and, in a fashion much like MS-DOS 1.25, it used the
FAT ID value from the first byte of the
FAT to select
file system
In computing, file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control how data is stored and retrieved. Without a file system, data placed in a storage medium would be one lar ...
parameter profiles for its
FAT12
File Allocation Table (FAT) is a file system developed for personal computers. Originally developed in 1977 for use on floppy disks, it was adapted for use on hard disks and other devices. It is often supported for compatibility reasons by ...
file system instead of from the
BIOS Parameter Block
In computing, the BIOS parameter block, often shortened to BPB, is a data structure in the volume boot record (VBR) describing the physical layout of a data storage volume. On partitioned devices, such as hard disks, the BPB describes the volume ...
(BPB) in the boot sector. Also, because there could be more than one floppy disk controller in two or more cartridge slots, MSX-DOS could boot from several different floppy disk drives. This meant that it was possible to have both, a 5¼" floppy disk drive and a 3½" disk drive, and the user could boot from either one of them depending on which drive had a bootable floppy in it.
Commands
The following is a list of internal
commands
Command may refer to:
Computing
* Command (computing), a statement in a computer language
* COMMAND.COM, the default operating system shell and command-line interpreter for DOS
* Command key, a modifier key on Apple Macintosh computer keyboards
* ...
supported by MSX-DOS.
*
BASIC
BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College ...
*
COPY
*
DATE
*
DEL
*
DELETE
*
DIR
*
ERASE
*
FORMAT
Format may refer to:
Printing and visual media
* Text formatting, the typesetting of text elements
* Paper formats, or paper size standards
* Newspaper format, the size of the paper page
Computing
* File format, particular way that informati ...
*
MODE
*
PAUSE
*
REM
Rem or REM may refer to:
Music
* R.E.M., an American rock band
* ''R.E.M.'' (EP), by Green
* "R.E.M." (song), by Ariana Grande
Organizations
* La République En Marche!, a French centrist political party
* Reichserziehungsministerium, in Nazi G ...
*
REN Ren or REN may refer to:
Abbreviations
* Orenburg Tsentralny Airport, IATA code REN, civil airport in Russia
* Redes Energéticas Nacionais (REN), Portuguese company
* Renanthera, abbreviated as Ren, orchid genus
* Ringer equivalence number ( ...
*
RENAME
Rename may refer to:
* Rename (computing), rename of a file on a computer
* RENAME (command), command to rename a file in various operating systems
* Rename (relational algebra), unary operation in relational algebra
* Company renaming, rename ...
*
TIME
Time is the continued sequence of existence and events that occurs in an apparently irreversible succession from the past, through the present, into the future. It is a component quantity of various measurements used to sequence events, t ...
*
TYPE
Type may refer to:
Science and technology Computing
* Typing, producing text via a keyboard, typewriter, etc.
* Data type, collection of values used for computations.
* File type
* TYPE (DOS command), a command to display contents of a file.
* Ty ...
*
VERIFY
CONFIG.SYS is the primary configuration file for the DOS and OS/2 operating systems. It is a special ASCII text file that contains user-accessible setup or configuration directives evaluated by the operating system's DOS BIOS (typically residin ...
Development history
On 10 August 1983,
Paul Allen
Paul Gardner Allen (January 21, 1953 – October 15, 2018) was an American business magnate, computer programmer, researcher, investor, and philanthropist. He co-founded Microsoft Corporation with childhood friend Bill Gates in 1975, which h ...
called
Tim Paterson
Tim Paterson (born 1 June 1956) is an American computer programmer, best known for creating 86-DOS, an operating system for the Intel 8086. This system emulated the application programming interface (API) of CP/M, which was created by Gary K ...
, original author of
86-DOS
86-DOS (known internally as QDOS, for Quick and Dirty Operating System) is a discontinued operating system developed and marketed by Seattle Computer Products (SCP) for its Intel 8086-based computer kit.
86-DOS shared a few of its commands wi ...
and MS-DOS 1.x, asking him to do a "
Z80 version of MS-DOS" for the MSX standard.
At the time, Paterson was busy trying to get the first product of his startup
Falcon Systems
Tim Paterson (born 1 June 1956) is an American computer programmer, best known for creating 86-DOS, an operating system for the Intel 8086. This system emulated the application programming interface (API) of CP/M, which was created by Gary Kilda ...
ready to go, so he suggested a few other developers, but Allen said he had already asked. Allen was in a hurry to get it done and nobody else could meet his timeline. Allen and Paterson finally agreed, and on 17 August, they signed an agreement to do "Z80 MS-DOS 1.25" for US$100,000 and the rights for Paterson's company to distribute
MS-DOS 2.0,
2.5, and
3.0 with a hardware product without royalty.
For Paterson, this was mostly a translation process. He had already written a Z80-to-8086 assembly language translation program (
TRANS.COM). In this case, he was manually translating in the other direction. Because MS-DOS 1.x was modelled after CP/M's
API and was able to run CP/M applications that had been source-level translated to 8086, that would mean, MSX-DOS would be able to run CP/M programs directly.
For this project, Paterson also wrote a Z80 emulator that ran under MS-DOS, which would allow him to do the entire development project under MS-DOS. The MSX-DOS he was writing had an
I/O System layer, that interfaced directly to the I/O System layer of the MS-DOS machine, that was running the emulation. This gave MSX-DOS direct access and control of the disk format. Most of the core code was file management, so this was necessary to test it out.
By 2 October 1983, he had
Microsoft BASIC
Microsoft BASIC is the foundation software product of the Microsoft company and evolved into a line of BASIC interpreters and compiler(s) adapted for many different microcomputers. It first appeared in 1975 as Altair BASIC, which was the first ...
and
Microsoft M80 macro assembler
Macro (or MACRO) may refer to:
Science and technology
* Macroscopic, subjects visible to the eye
* Macro photography, a type of close-up photography
* Image macro, a picture with text superimposed
* Monopole, Astrophysics and Cosmic Ray Observa ...
running under MSX-DOS. He finished coding
COMMAND.COM a few days later. He worked out some bugs and demonstrated MSX-DOS to Paul Allen on 11 October. The beta test version was officially delivered on 26 October 1983. It included an
easter egg
Easter eggs, also called Paschal eggs, are eggs that are decorated for the Christian feast of Easter, which celebrates the resurrection of Jesus. As such, Easter eggs are common during the season of Eastertide (Easter season). The oldest trad ...
, that printed Paterson's name. The name was encoded with FAT code, so it could not be found by simply searching the file. After delivery of the beta version, the code was sent to
ASCII
ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because ...
in Japan. They created the I/O System for the MSX machine. That code was developed by
Jay Suzuki
A jay is a member of a number of species of medium-sized, usually colorful and noisy, passerine birds in the Crow family, Corvidae. The evolutionary relationships between the jays and the magpies are rather complex. For example, the Eura ...
. He figured out the easter egg and added his name to it.
ASCII was having problems getting MSX-DOS working on the actual MSX machine. They had not provided an actual MSX machine to Paterson, and instead flew him to Tokyo on 28 January 1984 to help them. It turned out that ASCII had been modifying the code without telling Paterson, so they were not working from the same code base. Paterson spent three days in Tokyo figuring out the problems and came back to Seattle.
Chris Larson from Microsoft and Jay Suzuki visited Paterson in Seattle at the end of February and early March 1984. They brought an MSX machine with an
in-circuit emulator
In-circuit emulation (ICE) is the use of a hardware device or in-circuit emulator used to debug the software of an embedded system. It operates by using a processor with the additional ability to support debugging operations, as well as to ca ...
(ICE) for debugging. They got everything working and on 23 April 1984, Microsoft accepted delivery and made the final payment for MSX-DOS to Paterson.
At the time MSX-DOS was written, there was only one popular disk operating system for 8-bit
Intel 8080
The Intel 8080 (''"eighty-eighty"'') is the second 8-bit microprocessor designed and manufactured by Intel. It first appeared in April 1974 and is an extended and enhanced variant of the earlier 8008 design, although without binary compati ...
compatible microprocessors, which was
Digital Research
Digital Research, Inc. (DR or DRI) was a company created by Gary Kildall to market and develop his CP/M operating system and related 8-bit, 16-bit and 32-bit systems like MP/M, Concurrent DOS, FlexOS, Multiuser DOS, DOS Plus, DR DOS ...
's CP/M-80 system. It was also often used with
Z80 systems, because the Z80 used an extended 8080 architecture. Microsoft's own disk operating system was also inspired by CP/M.
To be able to run (slightly modified) CP/M software Microsoft decided to implement functionality similar to major parts of the CP/M BIOS, routines that CP/M systems used to do specific disk operating tasks, such as opening files, etc. Instead of basing the command processor on CP/M's
CCP, which was known for some user unfriendliness, a
command line interpreter
A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive command (computing), commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invokin ...
(
COMMAND.COM) based on its MS-DOS counterpart was used. Microsoft also chose its own
FAT12
File Allocation Table (FAT) is a file system developed for personal computers. Originally developed in 1977 for use on floppy disks, it was adapted for use on hard disks and other devices. It is often supported for compatibility reasons by ...
file system over CP/M's filing methods. This ensured that MSX-DOS floppies could be used on an MS-DOS machine, and that only one single formatting and filing system would be used. This was an important decision, because CP/M disks were often not interchangeable between machines, incompatible disk formatting schemes being a factor in this.
Microsoft also added a standard set of disk commands to MSX-DOS that were compatible with MS-DOS but not with CP/M. Finally they converted their
pipelining Pipelining may refer to:
* Pipeline (computing), aka a data pipeline, a set of data processing elements connected in series
** HTTP pipelining, a technique in which multiple HTTP requests are sent on a single TCP connection
** Instruction pipeli ...
system from MS-DOS to MSX-DOS. The resulting DOS was a system that was much user-friendlier than CP/M, but was (in principle) compatible with major CP/M software packages such as
WordStar
WordStar is a word processor application for microcomputers. It was published by MicroPro International and originally written for the CP/M-80 operating system, and later written also for MS-DOS and other 16-bit computing, 16-bit PC OSes. Rob Ba ...
,
Turbo Pascal
Turbo Pascal is a software development system that includes a compiler and an integrated development environment (IDE) for the Pascal programming language running on CP/M, CP/M-86, and DOS. It was originally developed by Anders Hejlsberg at ...
and the "M80" assembler and "L80" linker.
Improved versions
Like MS-DOS 1.25, the first version of MSX-DOS did not have
subdirectories, but in 1988 it evolved to version 2, offering facilities such as subdirectories, memory management and environment strings. Later versions of MSX computers (MSX-2) added an internal
real-time clock
A real-time clock (RTC) is an electronic device (most often in the form of an integrated circuit) that measures the passage of time.
Although the term often refers to the devices in personal computers, servers and embedded systems, RTCs are ...
, which MSX-DOS could use for time stamping files.
Commands
The following commands are supported by MSX-DOS version 2.
MSX-DOS version 2
/ref>
* ASSIGN
* ATDIR
* ATTRIB
* BASIC
BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College ...
* BUFFERS
* CD
* CHDIR
* CHKDSK
* CLS
* COMMAND2
* CONCAT
* COPY
* DATE
* DEL
* DIR
* DISKCOPY
* ECHO
In audio signal processing and acoustics, an echo is a reflection of sound that arrives at the listener with a delay after the direct sound. The delay is directly proportional to the distance of the reflecting surface from the source and the li ...
* ERA
* ERASE
* EXIT
* FIXDISK
* FORMAT
Format may refer to:
Printing and visual media
* Text formatting, the typesetting of text elements
* Paper formats, or paper size standards
* Newspaper format, the size of the paper page
Computing
* File format, particular way that informati ...
* HELP
* MD
* MKDIR
The mkdir (make directory) command in the Unix, DOS, DR FlexOS, IBM OS/2, Microsoft Windows, and ReactOS operating systems is used to make a new directory. It is also available in the EFI shell and in the PHP scripting language. In DOS, OS/2, ...
* MODE
* MOVE
Move may refer to:
People
* Daniil Move (born 1985), a Russian auto racing driver
Brands and enterprises
* Move (company), an online real estate company
* Move (electronics store), a defunct Australian electronics retailer
* Daihatsu Move
...
* MVDIR
* PATH
A path is a route for physical travel – see Trail.
Path or PATH may also refer to:
Physical paths of different types
* Bicycle path
* Bridle path, used by people on horseback
* Course (navigation), the intended path of a vehicle
* Desire ...
* PAUSE
* RAMDISK
* RD
* REM
Rem or REM may refer to:
Music
* R.E.M., an American rock band
* ''R.E.M.'' (EP), by Green
* "R.E.M." (song), by Ariana Grande
Organizations
* La République En Marche!, a French centrist political party
* Reichserziehungsministerium, in Nazi G ...
* REN Ren or REN may refer to:
Abbreviations
* Orenburg Tsentralny Airport, IATA code REN, civil airport in Russia
* Redes Energéticas Nacionais (REN), Portuguese company
* Renanthera, abbreviated as Ren, orchid genus
* Ringer equivalence number ( ...
* RENAME
Rename may refer to:
* Rename (computing), rename of a file on a computer
* RENAME (command), command to rename a file in various operating systems
* Rename (relational algebra), unary operation in relational algebra
* Company renaming, rename ...
* RMDIR
* RNDIR
* SET
* TIME
Time is the continued sequence of existence and events that occurs in an apparently irreversible succession from the past, through the present, into the future. It is a component quantity of various measurements used to sequence events, t ...
* TYPE
Type may refer to:
Science and technology Computing
* Typing, producing text via a keyboard, typewriter, etc.
* Data type, collection of values used for computations.
* File type
* TYPE (DOS command), a command to display contents of a file.
* Ty ...
* UNDEL
* VER
* VERIFY
CONFIG.SYS is the primary configuration file for the DOS and OS/2 operating systems. It is a special ASCII text file that contains user-accessible setup or configuration directives evaluated by the operating system's DOS BIOS (typically residin ...
* VOL
* XCOPY
* XDIR
In addition, ASCII provided the following MSX-DOS2 Tools.
* ADDAUX
* BEEP
* BIO
* BODY
* BSAVE
BSAVE and BLOAD are commands in many varieties of the BASIC programming language. BSAVE copies RAM to a binary file, and BLOAD copies the contents of the file to RAM. The term "BSAVE image" could mean any of various raw image formats of video di ...
* CAL Cal or CAL may refer to:
Arts and entertainment
* ''Cal'' (novel), a 1983 novel by Bernard MacLaverty
* "Cal" (short story), a science fiction short story by Isaac Asimov
* ''Cal'' (1984 film), an Irish drama starring John Lynch and Helen Mir ...
* CALC
* DUMP
Dump generally refers to a place for disposal of solid waste, a rubbish dump, or landfill. The word has other uses alone or in combination, and may refer to:
* Midden, historically a dump for domestic waste
* Dump job, a term for criminal disposal ...
* EXPAND
* GREP
grep is a command-line utility for searching plain-text data sets for lines that match a regular expression. Its name comes from the ed command ''g/re/p'' (''globally search for a regular expression and print matching lines''), which has the sa ...
* HEAD
A head is the part of an organism which usually includes the ears, brain, forehead, cheeks, chin, eyes, nose, and mouth, each of which aid in various sensory functions such as sight, hearing, smell, and taste. Some very simple animals may no ...
* KEY
* LIST
* LS
* MENU
* MORE
* PATCH
Patch or Patches may refer to:
Arts, entertainment and media
* Patch Johnson, a fictional character from ''Days of Our Lives''
* Patch (''My Little Pony''), a toy
* "Patches" (Dickey Lee song), 1962
* "Patches" (Chairmen of the Board song ...
* SLEEP
Sleep is a sedentary state of mind and body. It is characterized by altered consciousness, relatively inhibited Perception, sensory activity, reduced muscle activity and reduced interactions with surroundings. It is distinguished from wakefuln ...
* SORT
* SPEED
* TAIL
The tail is the section at the rear end of certain kinds of animals’ bodies; in general, the term refers to a distinct, flexible appendage to the torso. It is the part of the body that corresponds roughly to the sacrum and coccyx in mammals ...
* TR
* UNIQ
* VIEW
* WC
See also
* SymbOS
SYmbiosis Multitasking Based Operating System (SymbOS) is a multitasking operating system for Zilog Z80-based 8-bit computer systems.
Contrary to early 8-bit operating systems it is based on a microkernel, which provides preemptive and prior ...
* 86-DOS
86-DOS (known internally as QDOS, for Quick and Dirty Operating System) is a discontinued operating system developed and marketed by Seattle Computer Products (SCP) for its Intel 8086-based computer kit.
86-DOS shared a few of its commands wi ...
* MIDAS
Midas (; grc-gre, Μίδας) was the name of a king in Phrygia with whom several myths became associated, as well as two later members of the Phrygian royal house.
The most famous King Midas is popularly remembered in Greek mythology for his ...
* DOS Plus
References
{{DEFAULTSORT:Msx-Dos
Discontinued Microsoft operating systems
Disk operating systems
CP/M
MSX
MSX-DOS
1984 software