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-22 18:44
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 ;)
2016-10-22 18:59
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.
2016-10-22 19:50
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 :(
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.
Previous - 1 | ... | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 - 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
The Human Co../Maste..
Mike
Honcho
Lavazza/Censor Design
TheRyk/MYD!
Broti/DT/KRN
Walt/Bonzai
DeeKay/Crest
zscs
Oswald/Resource
radius75
Guests online: 143
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (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 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.065 sec.