
crustyBASIC - a BASIC cross-compiler for retro machines
A downloadable tool for Windows, macOS, and Linux
Download NowName your own price
crustyBASIC is a BASIC cross-compiler for 80s computers and consoles. It compiles BASIC source into native machine code. It runs on Windows, MacOS, and Linux. NOTE: this is a WIP, but is being very actively developed/improved.
Currently supported machines are: Apple ][ series, Atari 8-bit (inc 5200), Commodore 64, TRS-80 Color Computer, and the NES. Some are a little further along than others. More will be added in the future.
- Compiles BASIC to native machine code for speed
- Options for speed vs size, carts, math libs, etc
- Flexible syntax that can be tailored with @REWRITE
- Portable APIs for a single listing that runs on multiple machines
- Dialect support for compiling old BASIC listings, including tokenized
Quick Start
@OPTION TARGET "c64"
CLS
POSITION 0, 0
PRINT "HELLO, WORLD!"
Compile to assembly:
crustybasic compile hello.cbs -o hello.s
Build a runnable .prg in one shot:
crustybasic build hello.cbs -o hello.prg
Full usage guide and language reference included.
Download
Download NowName your own price
Click download now to get access to the following files:
crustybasic-1.0.0-aarch64-apple-darwin.zip 2.4 MB
crustybasic-1.0.0-universal2-apple-darwin.zip 4.7 MB
crustybasic-1.0.0-x86_64-apple-darwin.zip 2.6 MB
crustybasic-1.0.0-x86_64-pc-windows-msvc.zip 2.3 MB
crustybasic-1.0.0-x86_64-unknown-linux-gnu.tar.gz 2.6 MB
