bas80

BAS80 - an 8bit BASIC compiler

Usage no npm install needed!

<script type="module">
  import bas80 from 'https://cdn.skypack.dev/bas80';
</script>

README

BAS80.js

NPM Version NPM Downloads NPM Downloads Codacy Badge

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 for further information.

Support me

paypal

More info

See https://www.uelectronics.info/category/my-projects/ for more info

Changes

  • 0.9.9: First working version