Table of Contents

Commander X16 support

XC=BASIC can compile programs to the Commander X16. Everything that has been part of the core language is ported to the X16, including sprites, sound and interrupts. In addition, a new library is available to the user to exploit some of the additional features that this machine offers.

How to get started

  1. Download the x16-emulator if you haven't yet done so.
  2. Open a text editor and write a small test program, for example PRINT “hello world” and save it as test.bas.
  3. Open your terminal and run the command xcbasic3 test.bas test.prg –target=x16
  4. If compilation was successful, you can load the compiled program with x16emu using the command x16emu -prg test.prg
  5. Issue the command RUN in the emulator window:

Next steps