Difference between revisions of "ZXBasic"
(→Links: archive) |
(→Links: update) |
||
Line 6: | Line 6: | ||
== Links == | == Links == | ||
− | [http:// | + | [http://zxbasic.net Official wikipage] |
[http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_AmstradCPC CPC examples (GX-4000 rom files for now, all with sources)] | [http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_AmstradCPC CPC examples (GX-4000 rom files for now, all with sources)] | ||
[[Category:CrossDev]] | [[Category:CrossDev]] |
Latest revision as of 08:36, 3 August 2023
About
ZX BASIC is a BASIC cross compiler. It will compile BASIC programs (in your PC) for your ZX Spectrum. ZX BASIC is an SDK entirely written in python. The SDK is implemented using the PLY (Python Lex/Yacc) compiler tool. It translates BASIC to Z80 assembler code, so it is easily portable to other Z80 platforms (Amstrad, MSX). Other non Z80 targets could also be available in the future. ZX BASIC syntax tries to maintain compatibility as much as possible with Sinclair BASIC, it also have many new features, mostly taken from FreeBASIC dialect. With some patching/scripting, the binary results from this cross-compiler can be, in most cases, easily adapted to run on all other z80-based hardware than ZX Spectrum only (Amstrad CPC included!).
Features
Allows use of inline-assembly and libraries