Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Kick Assembler Thread 2
2009-07-21 19:20
Slammer

Registered: Feb 2004
Posts: 401
Kick Assembler Thread 2

The previous thread took a little long to load, so this is a new fresh one..
 
... 551 posts hidden. Click here to view all posts....
 
2016-10-30 16:40
soci

Registered: Sep 2003
Posts: 315
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 12:10
Mace

Registered: May 2002
Posts: 1768
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 09:31
Mace

Registered: May 2002
Posts: 1768
<deleted by user>
2016-11-11 22:39
Mace

Registered: May 2002
Posts: 1768
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 23:09
ruk

Registered: Jan 2012
Posts: 39
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 10:01
Mace

Registered: May 2002
Posts: 1768
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 12:27
Mace

Registered: May 2002
Posts: 1768
Ok, this is a confirmed bug that will be resolved in the next update.
2017-02-16 05: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 14:56
Knut Clausen

Registered: Apr 2013
Posts: 8
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
2017-02-16 15:44
Norrland

Registered: Aug 2011
Posts: 14
Thx Knut, will try that!
Previous - 1 | ... | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 - 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
Hein
r242
uneksija
bugjam
Bacchus/FairLight
Trasher/Active
Style/Chrome
Acidchild/Padua
Toggle/Padua
Paul Bearer
Guests online: 45
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 The Shores of Reflec..  (9.7)
4 Coma Light 13  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.6)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Daah, Those Acid Pil..  (9.4)
3 SidRok  (9.4)
4 Treu Love [reu]  (9.4)
5 Tunnel Vision  (9.3)
6 Dawnfall  (9.3)
7 One-Der  (9.2)
8 Globe 2016 [reu]  (9.2)
9 Hardware Accelerated..  (9.2)
10 Safe VSP  (9.1)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.4)
3 Censor Design  (9.4)
4 Crest  (9.3)
5 SHAPE  (9.2)
Top Mega Swappers
1 Nightshade  (9.4)
2 Aslive  (9.3)
3 Calypso  (9.2)
4 Dishy  (9.0)
5 R.C.S.  (8.8)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.182 sec.