Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Kick Assembler and TextMate auto-launch
2011-11-03 23:10
cbmeeks

Registered: Oct 2005
Posts: 78
Kick Assembler and TextMate auto-launch

Been a while since I've been on here!

So, does anyone know how I can setup some kind of keyboard command in TextMate (running on Snow Leopard) so that I can:

1) Take the current source file and compile at the command line

2) Launch to prg file in vice


I know how to do it manually. And I guess I could maybe write a ruby script to that when I'm on the command line it would automate it but I would like something super fast.

Thanks!
2011-11-03 23:54
cbmeeks

Registered: Oct 2005
Posts: 78
I actually solved it. lol

I figured out how to create a new Kick Assembler bundle in TextMate.

Then I created a command using:

echo "<h2>Compiling $TM_FILENAME</h2>"
cd "$TM_DIRECTORY"

echo "<p>Compiling $TM_FILENAME into <strong>${TM_FILENAME%.*}.prg</strong></p>"
java -jar ~/Dropbox/bin/KickAss.jar $TM_FILENAME

echo "<p>Launching VICE</p>"
/Applications/x64.app/Contents/MacOS/x64 ${TM_FILENAME%.*}.prg
echo "<hr />"


If anyone wants the bundle let me know. I might put on GitHub
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
Majikeyric
Scrap/Genesis Project
Sulevi/Virtual Dreams
Guests online: 106
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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