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..
 
... 590 posts hidden. Click here to view all posts....
 
2016-10-30 15:11
Mace

Registered: May 2002
Posts: 1799
This:
Relaunch64 3.3.7 (Build 20161031)
Mac OS X 10.11.6 (x86_64)
Java-Version 1.8.0_111 (Oracle Corporation)
KickAssembler v4.3

Produces this error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: kickass/KickAssembler : Unsupported major.minor version 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


Please help :(
2016-10-30 15:40
soci

Registered: Sep 2003
Posts: 473
You likely have 1.7 installed in parallel to 1.8. Try to change JAVA_HOME to point to 1.8 or uninstall 1.7.
2016-10-31 11:10
Mace

Registered: May 2002
Posts: 1799
Although Relaunch said I had Java 1.8 installed, the actual JDK was 1.6 with merely the 1.8 runtime (JRE) on top.
I manually removed Java 6 JDK and Java 8 JRE and installed Java 8 JDK last.

Now it works.
2016-11-07 08:31
Mace

Registered: May 2002
Posts: 1799
<deleted by user>
2016-11-11 21:39
Mace

Registered: May 2002
Posts: 1799
Okay, can someone explain me why this doesn't work?
While compiling, all I get is "null", it doesn't even do the .print
*=$2000
.var theFile = getPath()+"/"+"test.prg"
.print theFile
.import c64 theFile

If I replace the last line with ".import c64 "(proper path)/test.prg", it works. And I checked for typos 10 times, so I'm sure I'm doing it right.
2016-11-11 22:09
ruk

Registered: Jan 2012
Posts: 43
Change the .print to .printnow and you will see that it prints out the expected value in the first pass, before the odd "null" output.

I would say that this is bug since the value clearly is available in the first pass. The "null" is probably due to something going south while processing the .import directive
2016-11-12 09:01
Mace

Registered: May 2002
Posts: 1799
Ok, this is weird:
.print theFile
does nothing
.printnow theFile
produces the correct filepath.
.import c64 theFile
produces null
.import c64 "[correct path to file]"
imports the file.
2016-11-12 11:27
Mace

Registered: May 2002
Posts: 1799
Ok, this is a confirmed bug that will be resolved in the next update.
2017-02-16 04:14
Norrland

Registered: Aug 2011
Posts: 14
Hellu...
Tried to code some stuff and ran into some problems, searched the manual but haven't found what I'm looking for.
Is it possible to modify names of variables when declaring or adressing them?

Maybe following snippet of non-working-code explains my question (in this example I would like to create 50 lists with the names list_1, list_2, list_3..):

.for (var i=0 ; i<50 ; i++)
.var list_+i=List()
2017-02-16 13:56
Knut Clausen

Registered: Apr 2013
Posts: 18
Kickassembler won't let you create dynamic variable names like that.

.var myLists = List(50)
.for(var i = 0;i<myList.size();i++){
.eval myLists.add(List())
}

or

.var ht = Hashtable()
.for(var i = 0;i<50;i++){
.eval ht.put("list_" + i, List())
}

will give you what you need
Previous - 1 | ... | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 - 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
Asphodel
CreaMD/React
fox/bonzai
Inge/HVSC
St0rmfr0nt/Quantum
hedning/G★P
Guests online: 133
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.6)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

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