ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Kick Assembler (C64)

by Swoffa ST2/ST3

Sublime Package for C64 development with Kick Assembler.

Details

Installs

  • Total 1K
  • Win 578
  • OS X 373
  • Linux 149
Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9
Windows 0 0 0 1 1 0 0 0 1 1 0 0 1 0 2 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 2 0 0 1 0 1 0 2 2 0 0 0 1 0 0 1
OS X 0 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 0 0 1 0 0 0 0 0 0 0 2 0 2 2 0 2 1 0 0 1 0 1 0 1 0 1 1 1 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime KickAssembler (C64)

Sublime Package for C64 development with Kick Assembler, contains language configuration/syntax coloring, build system and some snippets. Support for OSX, Windows and Linux. Requires Sublime Text, version 2 or 3 is supported.

Installation, OSX

* If you want a custom path for Kick Assembler, add the full path to KickAss.jar to the CLASSPATH environment variable
** If you want a custom path for Vice, add the path to the Vice folder containing x64 to the PATH environment variable

Installation, Windows

* If you want a custom path for Kick Assembler, add the full path to KickAss.jar to the CLASSPATH environment variable
** If you want a custom path for Vice, add the path to the Vice folder containing x64.exe to the PATH environment variable

Installation, Linux

I am a complete lamer when it comes to linux, which might or might not make this guide lame. Anyways, it is successfully tested on Ubuntu 14.

  • Ensure Java Runtime Environment is installed on your system, if not, look here, or install via ppa using this guide
  • Download Kick Assembler from http://theweb.dk/KickAssembler/, extract anywhere and ensure the full path to KickAss.jar exist in your CLASSPATH environment variable
  • Download/build/install Vice C64 emulator, i followed this guide. Ensure the path to the Vice folder (containing x64) exist in your PATH environment variable
  • Install Package Control for Sublime and install package Kick Assembler (C64) ), or clone/download this GitHub repository into subfolder of ~/.config/sublime-text-3/Packages/

Develop, build and run

  1. Open a Kick Assembler code file in Sublime text. Example code file here
  2. Hit the F7 key to start Build and Run (see below for more build options)
  3. Hopefully watch your lovely code execute! (*)

* If you get error saying java is not recognized as an internal or external command, ensure java is installed and add the path to your java binaries folder to the PATH environment variable

Details, Build System

Build (Command+Shift+P on OSX, Control+Shift+P on Windows) compiles the current file. Other build variants, accessed by pressing Super+Shift+P (OSX) / Ctrl+Shift+P (Windows), or by using the associated key (after each variant below):

  • Build and Run (F7), compiles the current file and runs it using the Vice emulator
  • Build and Debug (Shift+F7), compiles the current file and runs it using the Vice emulator. This option allows the creation of a file containing breakpoints, which is sent to the Vice emulator for debugging
  • Build Startup (Command+Shift+B/Ctrl+Shift+B), compiles a file with name Startup.asm in the same folder as the current file. Handy if you have several code files included in a main runnable file.
  • Build and Run Startup (F5), compiles a file with name Startup.asm in the same folder as the current file, and runs it using the Vice emulator. Handy if you have several code files included in a main runnable file.
  • Build and Debug Startup (Shift+F5), compiles a file with name Startup.asm in the same folder as the current file, and runs it using the Vice emulator. Handy if you have several code files included in a main runnable file. This option allows the creation of a file containing breakpoints, which is sent to the Vice emulator for debugging.

Details, language and syntax

The syntax coloring and language configuration is under improvement and will hopefully be updated. The language bundle is downloaded and modified from https://github.com/cbmeeks/cbmeeks-6502kickass-asm-tmbundle. Thanks!

More info

See http://goatpower.wordpress.com/projects-releases/sublime-package-kick-assembler-c64/

//Swoffa of Noice