Version 1.2.0 of Kick Assembler package for Sublime

Changes in this version:

  • New feature: Settings
    It is now possible to use the following settings in sublime; kickass_run_pathkickass_debug_pathkickass_jar_path, kickass_run_args, kickass_debug_args, kickass_args, kickass_startup_file_path. See below for details.
  • New feature: Pre and post build
    The ability to run custom scripts before and after build. Feature requested by Bacchus of Fairlight. See below for details.
  • Internal changes in build system to allow the new features above. Big thanks to OdatNurd, STealthy and haSTy and their repo SublimeScraps for inspiration.
  • Minor corrections and improvements of syntax coloring

Full version history here.

If you run into problems after installing this version, please restart Sublime Text, since it has some problems loading default packages settings.

See this page for all info about the Kick Assembler (64) package. The page contains everything from feature description to detailed install instructions.


Settings

It is now possible to use the following settings in sublime (on any level including users, application and project)

    • kickass_run_path, path to executable used for run commands, if not set Vice (x64) is used, either by using the PATH environment variable or in the default location (see install guides here).
    • kickass_debug_path, path to executable used for debug commands, if not set Vice (x64) is used, by using the PATH environment variable or in the default location (see install guides here). The main purpose is to allow use of C64Debugger or similar for debugging.
    • kickass_jar_path, full path to the Kick Assembler jar-file, if not set the CLASSPATH environment variable, or the default location (see install guides here), is used.
    • kickass_run_args, additional command line arguments for run commands (suggested in issue #9 by nurpax)
    • kickass_debug_args, additional command line arguments for debug commands (suggested in issue #9 by nurpax)
    • kickass_args, additional command line arguments for kick assembler (all commands)
    • kickass_startup_file_path, name of the file used for startup commands (Build and run startup and Build and debug startup). Default is Startup.

You might have to restart Sublime for the settings features to start working.

Pre and post build actions

The ability to run your custom scripts in your project directory before and after compile.

  • If a file called Prebuild.sh/Prebuild.bat exists in the same directory as the file being compiled, it will be called before compiling.
  • If a file called Postbuild.sh/Postbuild.bat exists in the same directory as the file being compiled, it will be called after compiling (but before run/debug).
  • The following environment variables will be available in the scripts:
    • kickass_buildmode, indicates the current build mode, one of the following:
      • build
      • build-run
      • build-debug
      • build-run-startup
      • build-debug-startup
      • build-startup
    • kickass_file, filename of the file being compiled
    • kickass_file_path: full path to the file being compiled
    • kickass_prg_file, full path to the compiled output prg file
    • kickass_bin_folder, path to folder of the compiled output prg file
  • If you set an environment variable in the Prebuild script, it will also be available in the Postbuild script

Posted on September 2, 2018, in c64 coding, Kick Assembler, Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: