Skip to content

davecarter/MSX-BASIC-Programming-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MSX BASIC Programming language

MSX logo

The MSX (MicroSoft eXtended) was a standardized home computer architecture announced by Microsoft and ASCII Corporation in 1983. It was created to unify the fragmented home computer market in the early 1980s, offering a consistent hardware and software platform. The MSX standard was widely adopted in Japan, parts of Europe, South America, and the Middle East.

Key Brands Adopting MSX:

  • Sony: Produced some of the most iconic MSX machines, including the HitBit series.
  • Panasonic: Known for its high-quality MSX2 and MSX2+ computers.
  • Philips: Prominent in Europe, offering MSX systems like the VG-8020.
  • Toshiba, Yamaha, Canon, Mitsubishi: These brands also contributed hardware to the MSX ecosystem.

The Computer

Sony HitBit

Interesting Facts:

Gaming Platform

The MSX was a powerhouse for early gaming, hosting classics like Metal Gear by Konami, which debuted on MSX. Multiple Generations: MSX evolved through several iterations: MSX, MSX2, MSX2+, and MSX Turbo R, each adding advanced capabilities.

Global Appeal

While it struggled in the U.S., the MSX was highly successful in Japan, the Netherlands, and Brazil, becoming a cultural icon in those regions. Music and Creativity: Yamaha's MSX machines included features for music composition, aligning with the company's expertise in musical instruments. The MSX remains a beloved platform among retro computing enthusiasts, celebrated for its versatility, gaming legacy, and role in standardizing home computers.

Getting started

Emulator or Real Hardware

  • Online emulator: Try it online at FileHunter/MSXdev.
  • Software Emulators: Popular options are openMSX and blueMSX. These reproduce MSX hardware on modern systems and let you mount disk images or cartridges.
  • Real MSX Computer: If you own an actual MSX, you’ll need compatible storage media (floppy disks, cassette tapes) or a flash cartridge (e.g., MegaFlashROM) to load programs.

Development Tools

  • MSX BASIC: The built-in interpreter is ideal for learning and quick experimentation.
  • Cross-Development Tools: For advanced projects, use tools like SDCC or MSX-DOS toolchains to build binaries that run on MSX hardware/emulators.
  • Text Editor: Write .BAS files in any plain text editor (Notepad++, VS Code, vim).

Loading and saving programs

  • To save a program from BASIC: SAVE "A:PROGRAM.BAS" (writes to device A: if a disk is attached).
  • To load a program: LOAD "A:PROGRAM.BAS" then RUN to execute.
  • Emulators: mount a disk image or use the emulator's file-transfer features to move .BAS files between the host and the virtual MSX.

ROMs or Disk Images

For testing or running programs, blank disk images and software archives are useful.

Reference learning materials

  • Online MSX BASIC documentation and retro programming books such as the "MSX BASIC Handbook".
  • Online Book: Working with MSX Basic by Ian Sinclair.
  • Book: Modern MSX BASIC Game Development by Raul Portales.
  • Community: MSX Resource Center.

Modern Enhancements

  • Flash Carts: Devices like the MegaFlashROM let you load software from an SD card.
  • External devices: adapters exist to use modern USB keyboards or SD card readers with MSX hardware.

With these basics you can start typing programs, saving them, and running them in an emulator or on real hardware. See the full tutorial: Getting Started with MSX BASIC Programming

Learn MSX Basic here

About

An MSX Basic programming language resource to get started coding MSX Basic today

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors