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
- Download the x16-emulator if you haven't yet done so.
- Open a text editor and write a small test program, for example
PRINT “hello world”and save it as test.bas. - Open your terminal and run the command
xcbasic3 test.bas test.prg –target=x16 - If compilation was successful, you can load the compiled program with
x16emuusing the commandx16emu -prg test.prg - Issue the command
RUNin the emulator window:
Next steps
- Familiarize yourself with the language by reading the pages linked in the left sidebar of this page.
- Know what commands and functions are supported on the Commander X16. If you see the X16 label on the top of the command or function's page, then it is supported. Any differences are explained within the documentation.
- Read how to use the X16.BAS library and what built-in subroutines and functions it allows you to use.
- Reach out to the community if you have questions.
