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 > Relaunch64 and Kick Assembler - anyone got it working properly?
2010-04-08 07:05
Dano

Registered: Jul 2004
Posts: 226
Relaunch64 and Kick Assembler - anyone got it working properly?

Seeing all those nice demos from the past parties got me motivated to finally do some coding again.

Yet i haven't found the combination for a decent workflow. Yesterday i went for a try on Relaunc64 with Kick Assembler. I guess KickAss is the choice at the moment, isn't it?

I've been fiddling with Parameters and stuff, but i didn't get the example code compiled and running. Lame me..? With some searching i got Relaunch to display the c64error thing, but there's still some hassle with the INPUT and OUTPUT parameters.

Anyone here who got a straight workflow for that? Including getting the PRG to D64 and running that in vice? I guess that kind of information may be helpful for other beginners also..

Any other editors you would say i should try that support decent syntax highlighting and key customisation? At the end yesterday i found that article on codebase, need to work me through that tonight.
 
... 3 posts hidden. Click here to view all posts....
 
2010-04-08 07:55
Devia

Registered: Oct 2004
Posts: 401
Quoting dano
Can you set F-Keys in EditPlus also? As delphi coder i sort of got used to F9 and ctrl-F9 for compile. But that's sort of nit-picking.
All programming editors support customizable hotkeys for running whatever the hell you want.

Quoting dano
Haven't used 64copy for ages. Does it support commandline for PRG->D64?
No idea, but use cc1541 for making your D64s.

Using makefiles for tying everything together like assemble, debug, build, transfer-and-run-on-real-c64, start-in-emul, crunch, make d64, brew coffee and so forth, can be a really big help... Also it makes the integration to whatever editor you choose a lot simpler.
2010-04-08 07:59
Frantic

Registered: Mar 2003
Posts: 1626
There are command line tools for putting .prg files into .d64 images, which would not require time-consuming manual fiddling with a GUI program such as 64copy (unless you can actually use 64copy from the command line too?)...

You could, for example, use c1541 which comes with VICE. To create a new .d64 file and put a prg file onto it:

c1541 -format diskname,id d64 my_diskimage.d64
c1541 -attach my_diskimage.d64 -write my_program.prg

c1541 works fine for most purposes, but some of the 3li+3 coders says it is buggy, and thus there is also cc1541:

cc1541

In the K2disktools collection there are also two tools called "mkd64" (to create d64 images) and "copy2d64" (to copy files onto the d64 images).

At least in the Mac version of VICE you can also enable an option which puts .prg files onto a temporary .d64 file before executing it, in case you are testing a program which only consists of one single .prg file and does not load additional files et cetera.
2010-04-08 08:51
Dano

Registered: Jul 2004
Posts: 226
that cc1541 sounds like what i searched for. yesterday i only tried the fractal.asm example from kickass. the problem may also be the underscore in the filename i gave the prg (test_fractal.prg)? haven't really tryed running prgs in vice lately, yet i do remember i had some issues with in some time ago.

if everything failes there's still the batch way..
2010-04-08 09:14
pmc
Account closed

Registered: Sep 2009
Posts: 5
You can use KickAssembler to assemble and launch your code straight into Vice with the -execute command line option like this:

-execute "c:\program files\winvice\x64.exe"

Hope that helps :-)
2010-04-08 12:28
Voltage
Account closed

Registered: Jul 2008
Posts: 14
The trick is no spaces in path or filenames.

You gotta use the old crappy DOS way.
eg. Docume~1 instead of Documents and Settings.

Or just setup your CrossDev environment closer to the root.
eg. C:\CrossDev
2010-04-08 14:51
Oswald

Registered: Apr 2002
Posts: 5007
You may want to check out Notepad++ aswell. Very easy to make your own syntax highlighting, can hide codeblocks, tons of features. (you can set F9 or ctrl+f9 to compile aswell)
2019-08-17 15:04
oziphantom

Registered: Oct 2014
Posts: 478
I don't use Kick, as I'm a 64tass man, but the trick with Relaunced is learning that it has its own custom kooky "commands set"

This is how I assemble with tass
R64 -iw
64tass.exe -a "SOURCEFILE" -o OUTFILE --no-caret-diag --dump-labels -l "SOURCENAME.tass" @D:\pathstuff\tassargs.arg -L "SOURCENAME.list" --verbose-list --line-numbers
should be easy enough for you to convert what you need out of it to kick.

Another way is to just make it call a bat file in the directory which is done by
SOURCEDIR/build_run.bat

when running VICE you might want to put R64BG before it so
R64BG x64sc SOURCENAME.prg
I don't directly run vice in mine I have a few helper launchers that config things for me, but I could have a go at making one if you get stuck.
2019-08-19 19:03
The Gothicman
Account closed

Registered: Aug 2011
Posts: 40
You could of course simply drag the required files (kickass.jar, x64.exe etc.) directly from their folders into the "compile&run-scripts", as well.

No rocket-science, indeed...
2019-08-19 21:55
Low Spirit

Registered: Jan 2010
Posts: 23
maybe this one can help a bit although it's a tutorial for notepad++:

https://goatpower.org/2013/09/11/c64-development-with-kick-asse..

i'm using this for years now and have extended the compiling scripts a bit:

i can compile, crunch and start my stuff directly in vice or even an my c64. last version is realised by an network injection over my 1541u2+.
Previous - 1 | 2 - 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
iAN CooG/HVSC
Nova
Dr. Doom/RAD
Mason/Unicess
Sokrates
deetsay
Cuc/Obsession
Guests online: 420
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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