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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
usage [2020/02/20 09:52] – [Step 1: install DASM] neilsusage [2021/02/14 08:45] (current) neils
Line 13: Line 13:
   * Go to [[https://github.com/dasm-assembler/dasm/releases|this page]] and download the latest **DASM** release for your operating system.   * Go to [[https://github.com/dasm-assembler/dasm/releases|this page]] and download the latest **DASM** release for your operating system.
   * Extract the package to a location that you'll remember   * Extract the package to a location that you'll remember
-  * On Linux, you have to add the executable permission: ''chmod +x xcbasic64''+  * On Linux, you have to add the executable permission: ''chmod +x dasm''
   * Recommended: add the executable to the PATH environment variable to make it callable from anywhere. If you don't know how to do this, read one of these guides: [[https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/|Windows]], [[https://linuxize.com/post/how-to-add-directory-to-path-in-linux/|Linux and macOS]]. On Linux, it's often easier to symlink to the executable in a standard bin directory, e.g ///usr/bin//.   * Recommended: add the executable to the PATH environment variable to make it callable from anywhere. If you don't know how to do this, read one of these guides: [[https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/|Windows]], [[https://linuxize.com/post/how-to-add-directory-to-path-in-linux/|Linux and macOS]]. On Linux, it's often easier to symlink to the executable in a standard bin directory, e.g ///usr/bin//.
  
Line 20: Line 20:
   * Go to [[https://github.com/neilsf/XC-BASIC/releases|the releases page]] and download the latest **xcbasic64** release for your operating system.   * Go to [[https://github.com/neilsf/XC-BASIC/releases|the releases page]] and download the latest **xcbasic64** release for your operating system.
   * Extract the package to a location that you'll remember   * Extract the package to a location that you'll remember
 +  * On Linux, you have to add the executable permission: ''chmod +x xcbasic64''
   * Recommended: add the executable to the PATH environment variable (see above).    * Recommended: add the executable to the PATH environment variable (see above). 
  
Line 38: Line 39:
 |''-n'' or ''--noopt''| Do NOT run the optimizer| |''-n'' or ''--noopt''| Do NOT run the optimizer|
 |'' -h'' or ''--help''| Display help| |'' -h'' or ''--help''| Display help|
 +
 +===== 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://foicica.com/textadept/manual.html#Modules|Textadept]] extended with [[https://github.com/neilsf/textadept-xc-basic|XC=BASIC language module]] by Csaba Fekete
 +  * [[https://micro-editor.github.io/|Micro]] used with [[https://gitlab.com/czayas/xcbasic-config|xcbasic-config]] by Carlos Augusto Zayas Guggiari
 +
 +The following ones also work but they're not actively maintained:
 +
 +  * [[https://hamrath.itch.io/xcedit|XC=Edit]] by Oliver Hermanni, an IDE for XC=BASIC
 +  * [[https://code.visualstudio.com/|Visual Studio Code]] extended with [[https://marketplace.visualstudio.com/items?itemName=viza.xcbasiclanguagevscodeext|XC=BASIC language support]] by Viza (abandoned, pre-1.0 syntax only)
 +
 +==== Tools ====
 +
 +  * [[https://github.com/mlongval/xcb|XCB]] by Michael Longval, a front end for XC=BASIC. In the style of TurboPascal 3.0.