Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
usage [2020/02/20 08:56] – neils | usage [2021/02/14 08:45] (current) – neils | ||
---|---|---|---|
Line 2: | Line 2: | ||
//Note: the bellow guide applies to versions 2.3 or later. If you're looking for the older usage guide, please read the [[https:// | //Note: the bellow guide applies to versions 2.3 or later. If you're looking for the older usage guide, please read the [[https:// | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Before getting started, have a look at this figure to understand how **XC=BASIC** source files are compiled to C64 executable programs. There are two steps involved. First, the **xcbasic64** compiler compiles the .bas source file to an intermediate assembly source. Then **DASM** is kicked in and it assembles the intermediate source file to program file. | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | ==== Step 1: install DASM ==== | ||
+ | |||
+ | * Go to [[https:// | ||
+ | * Extract the package to a location that you'll remember | ||
+ | * On Linux, you have to add the executable permission: '' | ||
+ | * Recommended: | ||
+ | |||
+ | ==== Step 2: install xcbasic64 ==== | ||
+ | |||
+ | * Go to [[https:// | ||
+ | * Extract the package to a location that you'll remember | ||
+ | * On Linux, you have to add the executable permission: '' | ||
+ | * Recommended: | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | You can now invoke xcbasic64 from the command line as follows: | ||
+ | |||
+ | xcbasic64 [-options] source.bas target.prg | ||
+ | |||
+ | The following command line options can be used: | ||
+ | |||
+ | |||
+ | |||
+ | | '' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |||
+ | ===== Code editors and third party tools ===== | ||
+ | |||
+ | ==== Editors ==== | ||
+ | |||
+ | These editors offer syntax highlighting and integrated compile/run commands for the latest version of **XC=BASIC**: | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | The following ones also work but they' | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ==== Tools ==== | ||
+ | |||
+ | * [[https:// | ||
+ |