Category:Locomotive Basic: Difference between revisions

link to JavaScript emulators in intro
(link to JavaScript emulators in intro)
Line 4:
{{implementation|BASIC}}
 
'''Locomotive BASIC''' is a variant of BASIC that is built into the ROM of the [[wp:Amstrad CPC|Amstrad CPC]] series of Z80-based home computers introduced in 1984. In the 1980s, CPCsthe CPC werewas a popular, slightly more expensive alternative to the Commodore C64/C128. andIt werewas not just suited for games but also office work because of theirits high resolution displaysdisplay and [[wp:CP/M|CP/M]] support. They came with a built-in cassette deck (CPC 464) or 3" disk drive (CPC 664 and
 
6128) as storage devices and a "green screen" or color monitor which also housed the power supply. Sales were particularly strong in the UK, Germany, France, and Spain. Today, Locomotive BASIC can be used via CPC emulators such as [http://www.winape.net/ WinAPE] or [http://sourceforge.net/projects/javacpc/ JavaCPC]—which is perfectly legal because Amstrad has given their permission for distributing CPC ROM images with emulators.
The CPC came with a built-in cassette deck (CPC 464) or 3" disk drive (CPC 664 and
6128) as storage devices and a green screen or color monitor which also housed the power supply. Amstrad CPC sales were particularly strong in the UK, Germany, France, and Spain.
 
6128) as storage devices and a "green screen" or color monitor which also housed the power supply. Sales were particularly strong in the UK, Germany, France, and Spain. Today, Locomotive BASIC can be used via native CPC emulators such as [http://www.winape.net/ WinAPE] (Windows) or [http://sourceforge.net/projects/javacpc/ JavaCPC]—which (Windows/macOS/Linux), which is also perfectly legal because Amstrad has given their permission for distributing CPC ROM images with emulators.
 
For web browsers there is also a [https://benchmarko.github.io/CPCBasic/cpcbasic.html JavaScript emulator for Locomotive Basic] itself, which allows easy pasting of code from Rosetta Code. However, it does not support all Basic features currently, notably not graphics mode 0 (160x200). [https://www.retrovm.com/ CPCBox] is another web browser option, a whole-machine JavaScript CPC emulator mainly for games which has good compatibility but which lacks copy and paste support.
 
==Features==
Anonymous user