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


Forums > C64 Coding > UltraEdit and Kick Assembler Thread
2010-07-28 19:47
TWW

Registered: Jul 2009
Posts: 92
UltraEdit and Kick Assembler Thread

So there I was, Swapping in my old computer for a sparkling new Win7-64bit elitebook...

I have descided to use Kickass & Ultraedit for coding purposes on my new setup.

Problem is I used Project64 before but it was a bit buggy and I believe with the syntax highlighting someone made available on the codebase for UltraEdit makes UltraEdit a more professional option (A LOT of options I'll for sure never use but I figgure why not!).

So I have managed to put in the syntax highlighting and I am now trying to get Ultraedit to compile some code.

I have set up a "tool" as folows (Advanced - Tool Configuration):

Command Line: java –jar kickass.jar -log c64error.txt -libdir c:\c64\code\lib\ INPUT -o OUTPUT

Working Directory: C:\c64\KickAssembler

When i then try to compile some code i get the folowing error msg:

java.lang.NoClassDefFoundError: –jar
Caused by: java.lang.ClassNotFoundException: –jar
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: –jar.  Program will exit.
Exception in thread "main"


Any advice on the matter by someone who uses Ultraedit and Kickass?
2010-07-28 20:06
Groepaz

Registered: Dec 2001
Posts: 4241
does it work from the commandline? could be some classpath is missing
2010-07-28 21:29
TWW

Registered: Jul 2009
Posts: 92
C:\Program Files (x86)\Java\jre6\bin>java -jar c:\c64\KickAssembler\kickass.jar c:\c64\code\delta.asm
//------------------------------------------------------
//------------------------------------------------------
// Kick Assembler v3.11 - (C)2006-2009 Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
parsing
flex pass 1
Output pass

Memory Map
----------

WARNING! No data in memory!
Writing file: c:\c64\code\delta.prg
Writing Symbol file: c:\c64\code\delta.sym

C:\Program Files (x86)\Java\jre6\bin>

So it looks like it works from the command prompt...

However I wasn't able to call the java-binary from outside the java install directory without using the proper path (meaning the java.exe file isn't included in windows' path-statement).
2010-07-28 21:53
JackAsser

Registered: Jun 2002
Posts: 765
U've used the wrong kind of minus character. Look closely at the error log:

"Could not find the main class: –jar. Program will exit.".

As you can see some, probably UTF-8, stuff have been entered into the command line.

Also the post here on CSDb suggest the same. The character looks wider than an ordinary minus. It's probably one of those used for sentences beginning with a quote.
2010-07-29 05:31
TWW

Registered: Jul 2009
Posts: 92
You where right Jack! thanx.

The funny shit was that I copied this argument directly from project64 :)

Alright now as this is fixed my next problem is as follows(sight):

//------------------------------------------------------
//------------------------------------------------------
// Kick Assembler v3.11 - (C)2006-2009 Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
Error: Inputfile 'INPUT' doesn't exist.

all statements as in my original post except the minus thingy.
2010-07-29 05:38
Groepaz

Registered: Dec 2001
Posts: 4241
i would expect it has to be $INPUT or %INPUT or sth like that.
2010-07-29 10:33
JCB

Registered: Jun 2002
Posts: 149
You need to read up on the UE options ;) There are different % commands for filenames, filenames with paths etc here so INPUT could be %n%e or just %f for full path. Output can be %n.obj etc

*edit*
btw, using the % variables will make it work on the file you're currently editing. If you've got a fixed "main" file just hard code that into the commandline or you could do "%p"main.asm (not sure if you need the " with kick ass or if it's needed because EU needs it that way so give it a try with and without.

Also when using %n%e you probably need to set the working directory with %p, that's how I do it to call ATASM.

Pete
2010-07-29 16:42
TWW

Registered: Jul 2009
Posts: 92
Fucking aye! It works... JCB your a good man, I don't care what they say about you!


edit: I figgured some shit out :)


More questions will follow!
2010-08-01 22:52
TWW

Registered: Jul 2009
Posts: 92
This is starting to look good but I have one more question;

Can I get my setup use an existing VICE (i.e. reset the emulator and reload the latest binary) application instead of opening a new one every time i try to compile some code (Yes I know I can close the one which is opened manually but this is not what I want).
2010-08-02 07:40
Perplex

Registered: Feb 2009
Posts: 31
VICE 2.2 has a "remote monitor" feature that could be used for reloading/restarting your code. However, it's not documented (yet), and I'm not even sure if it's available in WinVICE.
2010-08-18 02:46
TWW

Registered: Jul 2009
Posts: 92
This can be sorted out with Pantalons KickVice program. Do a release search and you'll find it!
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
Impetigo/Crescent
The Phantom/FOE/KRX
tsm_carmine
sebalozlepsi
Guests online: 21
Top Demos
1 Edge of Disgrace  (9.7)
2 Deus Ex Machina  (9.3)
3 Andropolis  (9.3)
4 +H2K  (9.2)
5 One-Der  (9.2)
6 Desert Dream  (9.2)
7 Snapshot  (9.2)
8 Tower Power 100%  (9.1)
9 Pearls for Pigs  (9.1)
10 Royal Arte 100%  (9.1)
Top Groups
1 Crest  (9.5)
2 Booze Design  (9.3)
3 Maniacs of Noise  (9.3)
4 JEDI  (9.3)
5 Horizon  (9.2)
Top Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Wayne Schmidt  (9.6)
4 Veto  (9.6)
5 Electric  (9.6)


Home - Disclaimer
Copyright © No Name 2001-2010
Page generated in: 0.35 sec.