| |
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? |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
does it work from the commandline? could be some classpath is missing |
| |
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). |
| |
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.
|
| |
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. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
i would expect it has to be $INPUT or %INPUT or sth like that. |
| |
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 |
| |
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! |
| |
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). |
| |
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.
|
| |
TWW
Registered: Jul 2009 Posts: 545 |
This can be sorted out with Pantalons KickVice program. Do a release search and you'll find it! |