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 Thread 2
2009-07-21 17:20
Slammer

Registered: Feb 2004
Posts: 416
Kick Assembler Thread 2

The previous thread took a little long to load, so this is a new fresh one..
 
... 592 posts hidden. Click here to view all posts....
 
2009-08-22 00:26
TWW

Registered: Jul 2009
Posts: 541
basic sys-trick is not implemented no. I will use that later when I get the file generated. One thing at a time :)

The .prg isn't generated since iv'e searched the entire c-drive for it.

something goes wrong when compiling and I don't know if it is a argument or something which has to be passed for this to work.......

BUT it works in cmd-line and not in the IDE.
2009-08-22 06:48
Slammer

Registered: Feb 2004
Posts: 416
I just tried it and it seems to work fine. Here is what to do:

1. Go into options->compiler settings->setup compiler 1
2. Enter the path to the KickAss.jar file
3. Select KickAssembler as your assembler.
4. compile your source

When you select KickAssembler in step 3, the following parameters are generated :
-log c64error.txt INPUT -o OUTPUT

The -log switch tells KickAssembler to dump all output to a logfile, since Relaunch doesn't catch the output to the console. My guess is that you have modified the -log switch parameter so no log file is generated.
2009-08-22 12:29
TWW

Registered: Jul 2009
Posts: 541
I followed yuor receipy to the letter (Which is the same as I initially did). When I selected KackAss as a compiler the parameters are generated automatically (here is a ctrl+c+v of my parameters):

-log c64error.txt INPUT -o OUTPUT

and yes KickAss is selected in the drop down thingy aswell.

The Relaunch64 I use is a Beta version can this matter?

Can the location of the different files matter (Here is my setup):

C:\Commodore 64\KickAssembler\KickAss.jar
C:\Commodore 64\Relaunch64\Relaunc64.exe
C:\Documents and Settings\tomw\My Documents\Code\test\test.asm

since it compiles from CMD I recon it should not be any problems with java stuff (Wich is latest and greatest anyways).

However when i compiled from command i copied the test.asm file to the kickass folder due to lazyness in pathtyping :-)

so still stuck I'm afraid :(
2009-08-22 13:00
chatGPZ

Registered: Dec 2001
Posts: 11145
the first thing i'd try would be ... use path names without spaces :) many programs fail on those, for some reason.
2009-08-22 13:08
Slammer

Registered: Feb 2004
Posts: 416
I see that you have spaces in the filepath and that might be a problem. Unless Relaunch uses quotes around its arguments windows interpret the filepath as two arguments instead of one:

So this is bad:
java -jar C:\Commodore 64\KickAssembler\KickAss.jar

and this is ok:
java -jar "C:\Commodore 64\KickAssembler\KickAss.jar"

So try removing the space in Commodore 64 and place your sourcefile in a place like C:\source.

Edit: Seems Groepaz came first with the same reply :-)
2009-08-22 17:24
TWW

Registered: Jul 2009
Posts: 541
Eureka.

I did the folowing after reading your posts:

instead of:

C:\Commodore 64\KickAssembler\KickAss.jar

i do a:

C:\Commod~1\KickAs~1\KickAss.jar

and now the code is compiled. However the file test.prg got stored in the kickass directory instead of the directory from wich it came from... maybee i need to use a c:\source as you said :)

thanx
2009-08-22 20:40
LOGAN
Account closed

Registered: Aug 2003
Posts: 71
I think I used something like quotes around the input output to accomidate spaces in pathnames plus relaunch64

maybe something like this:

-log c64error.txt "INPUT" -o "OUTPUT"

On a side note I think there was an option to choose where an prg file would be stored...
2009-08-23 14:56
TWW

Registered: Jul 2009
Posts: 541
I saw that option too but this would mean it will always produce the .prg in that location and i have 'several' projects going and I want them to be generated in their respective folder. So i'll try the quotes trick. thanx for the advice!

Edit: I tried the qutes and quotes around input produced an error and around output made no difference.

Edit 2: I tried to launc the source file from C:\source\test.txt and the test.prg and the errorlog.txt file ends up in kickass directory. This ain't my day (yeah I have a fricking bad hang over too)...
2009-08-23 18:31
Slammer

Registered: Feb 2004
Posts: 416
KickAssembler saves the prg file to the current directory unless a specific destination is given.

I find that naturally, but I'll change it if this is not the standard for Compilers / Assemblers around?

Btw. If I change it, I guess you will get in trouble with the autorun facility of relaunc, which can't find the prg file, so we will have to involve Daniel aswell. However, I guess having the prg-files in the KickAss dir is messy, but not a major problem.

2009-08-23 18:35
chatGPZ

Registered: Dec 2001
Posts: 11145
i would find it very strange if a compiler/assembler wouldnt save the output to current directory - or whatever destination is explictly given to the -o option .... and i dont think i have ever seen a compiler/assembler that behaves different in that respect :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 61 - 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
Flexman
goerp/F4CG/HF
Paulko64
Steveboy
Bacchus/FairLight
deetsay
Xiny6581/Dees Produc..
Guests online: 120
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Layers  (9.7)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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