Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Jedfox ! (Registered 2024-05-28) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Developing with Kick Assembler and Sublime
2013-09-23 22:41
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....
 
2013-12-23 15:42
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
2013-12-23 23:01
Swoffa

Registered: Jan 2002
Posts: 17
Quoting Fix
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 ?

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..
2013-12-23 23:12
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...
2013-12-23 23:33
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
2013-12-24 15:56
Dr.j

Registered: Feb 2003
Posts: 276
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)
2013-12-25 09:16
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.
2013-12-27 15:00
Dano

Registered: Jul 2004
Posts: 228
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! :)
2013-12-30 00:01
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)
2013-12-30 09:00
soci

Registered: Sep 2003
Posts: 474
Quoting Swoffa
Quoting Fix
Can 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.
2013-12-30 20:11
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
psenough
kbs/Pht/Lxt
Guests online: 133
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Aliens in Wonderland  (9.6)
6 Edge of Disgrace  (9.6)
7 No Bounds  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.7)
5 Fungus  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.042 sec.