Category:Locomotive Basic: Difference between revisions

Content deleted Content added
link to JavaScript emulators in intro
No edit summary
Line 11: Line 11:
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] (Windows/macOS/Linux), which is also perfectly legal because Amstrad has given their permission for distributing CPC ROM images with emulators.
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] (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.
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. Note however that programs will run much faster than on a real CPC (or a realistic emulator), so some code may require extra delay loops. [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==
==Features==