Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user hllerena78 ! (Registered 2019-08-20) You are not logged in 
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: 175
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: 395
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: 1373
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: 175
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: 10
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: 4431
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: 338
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

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: 17
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
Dymo/G★P
Alakran_64
DuncanTwain
Thunder.Bird/HF/MYD!..
Dipswitch/Up Rough
Perff/No Name
blendo75
Guests online: 67
Top Demos
1 Unboxed  (9.7)
2 Uncensored  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.5)
9 C=Bit 18  (9.5)
10 Old Men in Used Cars  (9.5)
Top onefile Demos
1 LSR 64 V0.31  (10)
2 Smile to the Sky  (9.5)
3 Dawnfall V1.1  (9.5)
4 Crystal Gazer  (9.5)
5 Daah, Those Acid Pil..  (9.5)
6 Rewind  (9.5)
7 Instinct  (9.5)
8 Pandemoniac Part 5 o..  (9.5)
9 Innervasion  (9.4)
10 Bad Boy  (9.4)
Top Groups
1 Fossil  (9.8)
2 PriorArt  (9.7)
3 Performers  (9.6)
4 Oxyron  (9.4)
5 Censor Design  (9.4)
Top Logo Graphicians
1 Pal  (9.5)
2 Mermaid  (9.2)
3 Yazoo  (9.1)
4 Elko  (9.1)
5 Compyx  (9.0)

Home - Disclaimer
Copyright © No Name 2001-2019
Page generated in: 0.05 sec.