bas80
Version:
BAS80 - an 8bit BASIC compiler
46 lines (26 loc) • 1.61 kB
Markdown
# BAS80.js
[](https://www.npmjs.org/package/bas80)
[](https://www.npmjs.org/package/bas80)
[](https://www.npmjs.org/package/bas80)
[](https://www.codacy.com/app/maly/bas80-node?utm_source=github.com&utm_medium=referral&utm_content=maly/bas80-node&utm_campaign=Badge_Grade)
The BASIC compiler for the 8bit CPUs
## Installation
$ npm install bas80 -g
## Usage
`$ bas80 [options] filename`
Assembles given the file, e.g. test.z80, into two files: test.hex (binary) and test.lst (listing).
Filename has to be the last parameter.
Options are:
- `-o, --output <file>` Output file name
- `-t, --type <type>` Output type [default: hex]. Available types are: hex, srec, com (for CP/M), sna, tap (for ZX Spectrum), prg (for C64)
- `-l, --list` Make listing (.lst file)
- `-s, --source` Make asm source (.a80 file)
- `-h, --help` See HELP
## Format, directives etc.
See [BAS80 Guide](BASIC.md) for further information.
## Support me
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PZRPU5M94NLJA)
## More info
See https://www.uelectronics.info/category/my-projects/ for more info
## Changes
- 0.9.9: First working version