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 > UltraEdit and Kick Assembler Thread
2010-07-28 17:47
TWW

Registered: Jul 2009
Posts: 545
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 18:06
chatGPZ

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

Registered: Jul 2009
Posts: 545
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 19:53
JackAsser

Registered: Jun 2002
Posts: 2014
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 03:31
TWW

Registered: Jul 2009
Posts: 545
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 03:38
chatGPZ

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

Registered: Jun 2002
Posts: 241
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 14:42
TWW

Registered: Jul 2009
Posts: 545
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 20:52
TWW

Registered: Jul 2009
Posts: 545
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 05:40
Perplex

Registered: Feb 2009
Posts: 255
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 00:46
TWW

Registered: Jul 2009
Posts: 545
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
csabanw
Bob/Censor Design
AMB/Level 64
CopAss/Leader
B.A./QUANTUM
deetsay
Sychamis
macx
theK/ATL
Acidchild/Padua
Jazzcat/Onslaught
Ben Breton/Absence o..
Guests online: 106
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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