MSX BASIC

Last updated
MSX BASIC
Paradigm imperative
Developer Microsoft Corporation
First appeared1983;41 years ago (1983)
Stable release
4.1
OS Optional; Any suitable OS is O.K.
License MS-EULA
Website www.microsoft.com
Influenced by
GW-BASIC
Influenced
Vilnius BASIC

MSX BASIC is a dialect of the BASIC programming language. It is an extended version of Microsoft's MBASIC Version 4.5, adding support for graphic, music, and various peripherals attached to MSX microcomputers. Generally, MSX BASIC is designed to follow GW-BASIC, released the same year for IBM PCs and clones. [1] During the creation of MSX BASIC, effort was made to make the system flexible and expandable.

Contents

Distribution

MSX BASIC version 3.0 Msxbasic.png
MSX BASIC version 3.0

MSX BASIC came bundled in the ROM of all MSX computers. At system start-up MSX BASIC is invoked, causing its command prompt to be displayed, unless other software placed in ROM takes control (which is the typical case of game cartridges and disk interfaces, the latter causing the MSX-DOS prompt to be shown if there is a disk present which contains the DOS system files).

When MSX BASIC is invoked, the ROM code for BIOS and the BASIC interpreter itself are visible on the lower 32K of the Z80 addressing space. The upper 32K are set to RAM, of which about 23K to 28K are available for BASIC code and data (the exact amount depends on the presence of disk controller and on the MSX-DOS kernel version).

Development Environment

MSX BASIC development environment is very similar to other versions of Microsoft BASIC. It has a command line-based Integrated Development Environment (IDE) system; all program lines must be numbered, all non-numbered lines are considered to be commands in direct mode (i.e., to be executed immediately). The user interface is entirely command-line-based.

Versions of MSX BASIC

Every new version of the MSX computer was bundled with an updated version of MSX BASIC. All versions are backward compatible and provide new capabilities to fully explore the new and extended hardware found on the newer MSX computers.

MSX BASIC 1.0

Note that the Brazilian MSX "clones" by Sharp and Gradiente show other versions of MSX BASIC (on the Sharps even called HOT-BASIC), but they're basically just unlicensed MSX BASIC 1.0.

MSX BASIC 2.0 / 2.1

MSX BASIC 2.1 exists on computers like the Philips MSX2 machines (except for the VG 8230), the Yamaha YIS-805 [2] and Sanyo MPC-2300. [3]

MSX BASIC 3.0

MSX BASIC 4.0

MSX BASIC 4.1

Sample

100OPEN"COM5:9600,N,8,1,RS,CS,DS,CD"FORRANDOMAS#1110A$=INKEY$120IFA$<>" "THEN110130PRINT#1,"X0"140INPUT#1,B$150PRINTB$160GOTO110

Extensions of MSX BASIC

Since MSX BASIC was meant to be expandable from inception, it was possible to write add-on modules quite easily. Support for specific hardware was commonly added by means of expansion cartridges, which also served as the interface to the hardware in question. MSX Disk-BASIC is an example, bundled in the cartridge that provides the hardware interface to the disk drives, it adds commands to access the floppy disk drives.

Related Research Articles

<span class="mw-page-title-main">Amstrad CPC</span> Home computers produced by Amstrad

The Amstrad CPC is a series of 8-bit home computers produced by Amstrad between 1984 and 1990. It was designed to compete in the mid-1980s home computer market dominated by the Commodore 64 and the ZX Spectrum, where it successfully established itself primarily in the United Kingdom, France, Spain, and the German-speaking parts of Europe.

<span class="mw-page-title-main">TRS-80 Color Computer</span> Line of home computers

The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer, is a series of home computers developed and sold by Tandy Corporation. Despite sharing a name with the earlier TRS-80, the Color Computer is a completely different system and a radical departure in design based on the Motorola 6809E processor rather than the Zilog Z80 of earlier models.

<span class="mw-page-title-main">Atari 8-bit computers</span> Home computer series introduced in 1979

The Atari 8-bit computers, formally launched as the Atari Home Computer System, are a series of 8-bit home computers introduced by Atari, Inc. in 1979 with the Atari 400 and Atari 800. It is the first home computer architecture with coprocessors, enabling more advanced graphics and sound than most of its contemporaries. Video games are key to its software library, and the 1980 first-person space combat simulator Star Raiders is considered the platform's killer app.

<span class="mw-page-title-main">Bally Astrocade</span>

The Bally Astrocade is a second-generation home video game console and simple computer system designed by a team at Midway, at that time the videogame division of Bally. It was originally announced as the "Bally Home Library Computer" in October 1977 and initially made available for mail order in December 1977. But due to production delays, the units were first released to stores in April 1978 and its branding changed to "Bally Professional Arcade". It was marketed only for a limited time before Bally decided to exit the market. The rights were later picked up by a third-party company, who re-released it and sold it until around 1984. The Astrocade is particularly notable for its very powerful graphics capabilities for the time of release, and for the difficulty in accessing those capabilities.

<span class="mw-page-title-main">MSX</span> Family of standardized home computer architectures released between 1983 and 1992

MSX is a standardized home computer architecture, announced by 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, the director at ASCII Corporation. Microsoft and Nishi conceived the project as an attempt to create unified standards among various home computing system manufacturers of the period, in the same fashion as the VHS standard for home video tape machines. The first MSX computer sold to the public was a Mitsubishi ML-8000, released on October 21, 1983, thus marking its official release date.

<span class="mw-page-title-main">TMS9918</span> Video display controller

The TMS9918 is a video display controller (VDC) manufactured by Texas Instruments, in manuals referenced as "Video Display Processor" (VDP) and introduced in 1979. The TMS9918 and its variants were used in the ColecoVision, CreatiVision, Memotech MTX, MSX, NABU Personal Computer, SG-1000/SC-3000, Spectravideo SV-318, SV-328, Sord M5, Tatung Einstein, TI-99/4, Casio PV-2000, Coleco Adam, Hanimex Pencil II, and Tomy Tutor.

<span class="mw-page-title-main">Yamaha V9958</span>

The Yamaha V9958 is a Video Display Processor used in the MSX2+ and MSX turbo R series of home computers, as the successor to the Yamaha V9938 used in the MSX2. The main new features are three graphical YJK modes with up to 19268 colors and horizontal scrolling registers. The V9958 was not as widely adopted as the V9938.

<span class="mw-page-title-main">Yamaha V9938</span>

The Yamaha V9938 is a video display processor (VDP) used on the MSX2 home computer, as well as on the Geneve 9640 enhanced TI-99/4A clone and the Tatung Einstein 256. It was also used in a few MSX1 computers, in a configuration with 16kB VRAM.

<span class="mw-page-title-main">ATM (computer)</span> ZX Spectrum clone developed in Moscow in 1991 by two firms, MicroArt and ATM.

The ATM Turbo, also known simply as ATM is a ZX Spectrum clone, developed in Moscow in 1991, by two firms, MicroArt and ATM.

MSX-DOS is a discontinued disk operating system developed by Microsoft's Japan subsidiary for the 8-bit home computer standard MSX, and is a cross between MS-DOS v1.25 and CP/M-80 v2.2.

The Geneve 9640 is an enhanced TI-99/4A clone. It was sold by the company Myarc as a card to fit into the Texas Instruments TI Peripheral Expansion System. Released in 1987, it is in many ways similar to the earlier TI-99/8, which was in prototype form in early 1983. The Geneve 9640 was designed by Paul Charlton, and the graphical swan on the boot up screen was designed by Mi-Kyung Kim.

<span class="mw-page-title-main">SVI-738</span>

The Spectravideo SVI-738 X'Press is an MSX1 compatible home computer manufactured by Spectravideo from 1985. Although compatible with the MSX 1.0 standard, it incorporates several extensions to the standard ; many are hardware-compatible with the MSX 2.0 standard but the system as a whole is not, leading to it being referred to as an "MSX 1.5" computer.

<span class="mw-page-title-main">NMS-8250</span> Professional MSX 2 home computer by Philips

NMS-8250, was a professional MSX2 home computer for the high end market, with two built in floppy disk drives in a "pizza box" configuration, released in 1986. The machine was in fact manufactured by Sanyo and it is basically the MPC-25FS with a different color.

<span class="mw-page-title-main">Toshiba Pasopia 7</span> 1983 8-bit computer from Toshiba

Toshiba Pasopia 7 is a computer from manufacturer Toshiba, released in 1983 and only available in Japan, with a price of $1350.

<span class="mw-page-title-main">FS-A1WSX</span>

The Panasonic FS-A1WSX released in 1989 was the last MSX2+ made by Panasonic. It was the successor of FS-A1WX and incorporated few changes like S-Video output, no tape support, color printer support and an improved A1 Internal Cockpit software with a Kanji color word processor.

The HB-F9P was a Sony MSX2-computer, launched in 1985. The abbreviation HB stands for Hit Bit.

The IBM Personal Computer Basic, commonly shortened to IBM BASIC, is a programming language first released by IBM with the IBM Personal Computer, Model 5150 in 1981. IBM released four different versions of the Microsoft BASIC interpreter, licensed from Microsoft for the PC and PCjr. They are known as Cassette BASIC, Disk BASIC, Advanced BASIC (BASICA), and Cartridge BASIC. Versions of Disk BASIC and Advanced BASIC were included with IBM PC DOS up to PC DOS 4. In addition to the features of an ANSI standard BASIC, the IBM versions offered support for the graphics and sound hardware of the IBM PC line. Source code could be entered with a full-screen editor, and limited facilities were provided for rudimentary program debugging. IBM also released a version of the Microsoft BASIC compiler for the PC concurrently with the release of PC DOS 1.10 in 1982.

The TC 3256 or Timex Computer 3256 was a 1987 computer created by Timex of Portugal, a branch of Timex Corporation.

References

  1. Tom R. Halfhill (January 1985). "MSX Is Coming - Part II: Inside MSX". Compute!. Retrieved 2010-10-31.
  2. Sergei Frolov (April 2011). "Yamaha YIS-805 (Soviet Digital Electronics Museum)" . Retrieved 2011-04-06.
  3. Sergei Frolov (April 2011). "Sanyo MPC-2300 (Soviet Digital Electronics Museum)" . Retrieved 2011-04-06.