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.
PRINT “hello world” and save it as test.bas.xcbasic3 test.bas test.prg –target=x16x16emu using the command x16emu -prg test.prgRUN in the emulator window: