MSX BASIC

Last updated
MSX BASIC
Paradigm imperative
Developer Microsoft Corporation
First appeared1983;39 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

  100 OPEN "COM5:9600,N,8,1,RS,CS,DS,CD" FOR RANDOM AS #1  110 A$=INKEY$  120 IF A$<>" " THEN 110  130 PRINT #1, "X0"  140 INPUT #1, B$  150 PRINT B$  160 GOTO 110

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

Aster CT-80 1982 home personal computer

The Aster CT-80, an early (1982) home/personal computer developed by the small Dutch company MCP, was sold in its first incarnation as a kit for hobbyists. Later it was sold ready to use. It consisted of several Eurocard PCB's with DIN 41612 connectors, and a backplane all based on a 19-inch rack configuration. It was the first commercially available Dutch personal/home computer. The Aster computer could use the software written for the popular Tandy TRS-80 computer while fixing many of the problems of that computer, but it could also run CP/M software, with a large amount of free memory Transient Program Area, (TPA) and a full 80×25 display, and it could be used as a Videotext terminal. Although the Aster was a clone of the TRS-80 Model I it was in fact more compatible with the TRS-80 Model III, and ran all the software of these systems including games. It also had a built in speaker which was compatible with such games software.

Amstrad CPC 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 Sinclair ZX Spectrum, where it successfully established itself primarily in the United Kingdom, France, Spain, and the German-speaking parts of Europe.

TRS-80 Color Computer Line of home computers

The RadioShack TRS-80 Color Computer, later marketed as the Tandy Color Computer and sometimes nicknamed the CoCo, is a line 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, incompatible system and a radical departure in design and compatibility with its Motorola 6809E processor rather than the Zilog Z80 earlier models were built around.

Commodore 128 Home computer

The Commodore 128, also known as the C128, C-128, C= 128, is the last 8-bit home computer that was commercially released by Commodore Business Machines (CBM). Introduced in January 1985 at the CES in Las Vegas, it appeared three years after its predecessor, the bestselling Commodore 64.

Timex Sinclair 2068

The Timex Sinclair 2068, released in November 1983, was Timex Sinclair's third and last home computer for the United States market. It was also marketed in Canada, Argentina, Portugal and Poland, as Timex Computer 2068.

X68000 Home computer

The X68000 is a home computer created by Sharp Corporation. It was first released in 1987 and sold only in Japan. Gaming was a major use of the X68000, with custom sprite hardware and an 8-channel sound chip enabling ports of contemporaneous arcade video games.

Yamaha V9958

The Yamaha V9958 is a Video Display Processor used in the MSX2+ and MSX turbo R series of home computers and the "TIM" upgrade to the TI-99/4A. Also known as the MSX-Video chip, it is the successor to the Yamaha V9938. 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.

Yamaha V9938

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. It was also used in a few MSX1 computers, in a configuration with 16kB VRAM.

ATM (computer)

ATM is a ZX Spectrum clone, developed in Moscow in 1991, by two firms, MicroArt and ATM. It offers enhanced characteristics, compared to the original Spectrum, such as a Z80 at 7 MHz, 1024 kB RAM, 128 kB ROM, AY-8910, 8-bit DAC, 8-bit 8-channel ADC, RS-232, Centronics, Beta Disk Interface, IDE interface, AT/XT keyboard, text mode, and three new graphics modes.

Memotech MTX

The Memotech MTX500, MTX512 and RS128 are a series of Zilog Z80A processor-based home computers released by Memotech in 1983 and 1984.

SVI-738

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.

Compaq Portable 386

The Compaq Portable 386 is a computer released by Compaq Computer Corporation in 1987. It was equipped with a 20 MHz Intel 80386 CPU, 1 MB RAM, 16 KB ROM, 1.2 MB5¼-inch floppy, 40 or 100 MB hard disk drive, priced at US$7,999 or 9,999 respectively, and a 10" amber-colored gas-plasma display.

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 typed in with a full-screen editor, and very 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.

Orion-128

The Orion-128 is a DIY computer designed in Soviet Union. It was featured in the Radio magazine in 1990, other materials for the computer were published until 1996. It was the last Intel 8080-based DIY computer in Russia.

The MZ-2500, also known as the Super MZ, is an 8-bit personal computer released on 1 October 1985 as part of the Sharp MZ series. It is a successor to the MZ-2000/2200 and a direct successor to the MZ-80B. From the previous generation, MZ-2000, it was a model that was given significant functions along with faster speed processors. It is also the final model of the entire 8-bit MZ series with its own architecture, and it is one of the models sometimes called the best 8-bit machines, along with the 6809 FM77AV and the MB-S1. In the Japanese computer magazines, it was also called the phoenix (Phoenix). Its successor is the Sharp MZ-2861, which has a compatible mode and a newly developed 16-bit mode. The development code is LEY and can be found in the circuit diagram etc.

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.