| |
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. |
|
| |
Mace
Registered: May 2002 Posts: 1799 |
Relaunch64 i unexplored terrain for me, I'm using EditPlus with both 64TASS (for my older library) and KickAss (for new stuff).
The commandline for the JAVA version of KickAss is:
java -jar "[path to java archive]\KickAss.jar" [filename of ASM file] That's all, but I wouldn't know where to set that in Relaunch64.
In EditPlus you can put different actions underneath CTRL+[number] keys. One to compile, one to crunch/exomize/pucrunch, one to run the compiled fie in WinVICE etc.
To get the compiled PRG into a D64, you could use 64Copy V4.43.
|
| |
Dano
Registered: Jul 2004 Posts: 226 |
EditPlus, i think i read about this already. Gotta give it a go. 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.
Haven't used 64copy for ages. Does it support commandline for PRG->D64?
If everything failes i'll use the power of delphi RAD to do my own editor. *lol* |
| |
Mace
Registered: May 2002 Posts: 1799 |
Why would you want to put a PRG in a D64?
PRG will run in WinVICE too.
I don't think you can set F-keys in EditPlus.
You can make a list of tools and they are automatically attached to a number key, depending on their position in the list. |
| |
Devia
Registered: Oct 2004 Posts: 401 |
Quoting danoCan 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 danoHaven'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.
|
| |
Frantic
Registered: Mar 2003 Posts: 1627 |
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. |
| |
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.. |
| |
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 :-) |
| |
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
|
| |
Oswald
Registered: Apr 2002 Posts: 5018 |
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) |
... 3 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |