| |
Swoffa
Registered: Jan 2002 Posts: 17 |
Developing with Kick Assembler and Sublime
I have started to build a Kick Assembler package for Sublime text editor. A little guide on doing C64 coding with Sublime/Kick Assembler can be found here: http://goatpower.org/2013/09/15/c64-development-with-kick-assem..
Maybe useful to someone, what do i know. Nice things is that its free, very simple to setup and supports developing on both OSX and Windows.
//Swoffa |
|
... 26 posts hidden. Click here to view all posts.... |
| |
Fix
Registered: Feb 2003 Posts: 54 |
If you add TASM support, I'll take care of ACME :-)
I have problems when I try to add Build + Run with Acme
The Acme compile works fine, but I can't get Vice to run.
Any ideas how to solve it..
In NPP++ there was an NPPEXEC command to get it running, is there a similar in Sublime ?
/Fix |
| |
Swoffa
Registered: Jan 2002 Posts: 17 |
Quoting FixI have problems when I try to add Build + Run with Acme
The Acme compile works fine, but I can't get Vice to run.
Any ideas how to solve it..
In NPP++ there was an NPPEXEC command to get it running, is there a similar in Sublime ?
It works a bit different than in Sublime than in Npp. The way to go is to make a custom build system, which is in fact a simple json-file.
You can peek at the build system for the Kick Assembler (C64) package (which compiles and runs Vice) here, under Build systems.
More info on Sublime Build systems here:
http://docs.sublimetext.info/en/latest/reference/build_systems...
You can bundle build system, language definition and more as a package, more info here:
http://docs.sublimetext.info/en/latest/extensibility/packages.h.. |
| |
Fix
Registered: Feb 2003 Posts: 54 |
I've tried to mod "CMD"
I can get Build to work with acme
But Build + Run don't work.
When I use CMD and ACME stuff then X64.exe stuff after.
It tries to assemble X64.exe
and if I try to use 2x CMD statments it uses the last one only..
I Kickassembler there is a -execute statment to use if you want to start Vice... |
| |
Swoffa
Registered: Jan 2002 Posts: 17 |
Hehe...just after i posted i realized that Kick Assembler (C64) uses Kick Assemblers -execute to run Vice, but you had already replied. :)
Strangely, sublime does not seem to support multiple commands, but there seem to be ways of tricking it, for example with a "&;"-argument:
http://blog.pcitron.fr/2013/02/08/multiple-command-in-sublime-b..
Here are some more tips i have not tried:
http://www.sublimetext.com/forum/viewtopic.php?f=3&t=4370
//Swoffa |
| |
Dr.j
Registered: Feb 2003 Posts: 277 |
Thanks Swoffa , i consider using it despite the fact
i got used to Eclipse Environment , i like the
syntax coloring , the rest i have in Eclipse . need to
review the features and if they are Ok for me , but in a quick glance its looks nice (though again didn't check Project view and other elements yet) |
| |
Fix
Registered: Feb 2003 Posts: 54 |
The " & " works nicely.
I've started to make an ACME version (Build system) based on your package.
For now Build and Build and Run works.
Will add some more commands.
If anyone is interested, drop PM. |
| |
Dano
Registered: Jul 2004 Posts: 234 |
i'm pondering between kick and acme. have been using acme so far, but this sublimething looks pretty nice sofar. if you got something going, let me know! :) |
| |
Fix
Registered: Feb 2003 Posts: 54 |
For the moment, I got Sublime working with:
F1 Run Makefile (prepared with exomizer, acme, c1541 etc)
F3 Build (Compile)
F5 Build + Run (Vice)
Everything else I can handle in Makefile...
Like Assemble files, pack them, add them to .D64 and then start Vice and mount .D64 image.
Todo:
Make Acme Syntax
Sublime Package (for more easy installation) |
| |
soci
Registered: Sep 2003 Posts: 480 |
Quoting SwoffaQuoting FixCan you also add ACME or TASM...
Possibly i will make a TASM-package some day, similar to the Kick Assembler (64) package. I dont use ACME so that wont happen.
There are ST2 syntax highlighting files for 64tass here, which could be used as a starting point:
http://sourceforge.net/p/tass64/code/HEAD/tree/trunk/syntax/64t..
And a directory up a collection for some other editors.
These configurations are not very sophisticated as I use mainly vim as my IDE these days (and fte in the past). Some more regexps could be converted from the kate/gtksourceview files to ST2. |
| |
Swoffa
Registered: Jan 2002 Posts: 17 |
Nice to see activity in this thread.
@Fix
Sounds great!
It has been in the back of my head to add a MakeFile-command to the Kick Assembler package, so now i will. :)
Its quite straight forward to publish your package on Package Control, just put it on a repo at GitHub or BitBucket, then follow this instruction.
@soci
Thanks for the tip, will check it out once i start making the TASM-package.
//Swoffa |
Previous - 1 | 2 | 3 | 4 - Next |