| |
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.... |
| |
lA-sTYLe
Registered: Sep 2003 Posts: 63 |
no idea why, nor used to Kickass,
but how about .byte $2c,$01 ? |
| |
xIII
Registered: Nov 2008 Posts: 210 |
Quote: no idea why, nor used to Kickass,
but how about .byte $2c,$01 ?
yes thx, ofcourse it works with .byte but it should work with .word ;) |
| |
soci
Registered: Sep 2003 Posts: 473 |
No one wants to say but you're likely doing something wrong. The examples given work with the last version. |
| |
xIII
Registered: Nov 2008 Posts: 210 |
@soci: indeed I was doing something wrong, I found a ROR in my routine that caused the 1 to become 80 :( |
| |
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 :( |
| |
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. |
| |
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. |
| |
Mace
Registered: May 2002 Posts: 1799 |
<deleted by user> |
| |
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. |
| |
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 |
Previous - 1 | ... | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 - Next |