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....
 
2015-11-01 12:06
Slammer

Registered: Feb 2004
Posts: 416
Quote: Are there plans to introduce more handy arrays with x dimensions instead of workaround with list and hashtags? ;)

Not currently. You can use lists of lists to get multidimensional arrays.

If you need it, you can put it in the wishlist on the facebook-page.
2015-11-01 17:34
Dr.Science

Registered: Oct 2011
Posts: 39
Having the same issue as Subjik on OSX!
2015-11-01 18:00
Slammer

Registered: Feb 2004
Posts: 416
Ok, Could I get you to post the exact commandline you are using to run KickAssembler
2015-11-03 09:30
Dr.j

Registered: Feb 2003
Posts: 276
@Slammer: could be nice if possible to do such thing
like: .align $100 "my label" for the memory map. so to
expand the names not only for the .pc=$1000 "my label" .
your KA is the ultimate tool for coding in my eyes ;)
2015-11-11 22:09
Magic Man
Account closed

Registered: May 2015
Posts: 3
I have the same problem with OS X El Capitan. I found out that there is a very small workaround.

Just put the following directive somewhere in the code (i have it last):

.var elCapitanStartFix = LoadPicture("fix.gif", List().add($000000, $ffffff))

And have a fix.gif file which is like a one dot gif. Since you never do anything with the variable it doesn't change you produced program.

~Stephan
Magic Man/Crazy
2015-11-12 11:54
Dr.j

Registered: Feb 2003
Posts: 276
sorry for not resist myself and a big off the the topic
but Welcome Magicman i love your stuff back on "Crazy" days you were more than cool :) nice to see you here
2015-11-12 18:44
Slammer

Registered: Feb 2004
Posts: 416
I upgraded to El Capitan today, and I see your problem. I have also found a cure, but it requires some manual parsing of the arguments list since it starts the process differently. I guess there will be a release that fixes the problem this weekend.
2015-11-13 22:06
Magic Man
Account closed

Registered: May 2015
Posts: 3
Hi Slammer,

let me first say that I really like the good work you do with KickAssembler. It's quite a bit of fun coding with it since you can structure assembler at a very good way.

I have however a feature request. Why not have a "List" style pseudo command. For instance I wan't to fill multiple addresses with a single value. So what I want is something like

:mov #$00; [$2800; $2900; $2300]

the command would be like this

.pseudocommand src;[tar] {
lda src
.forall(t in tar) {
sta tar
}
}

I just used a pseudo for loop rather than the correct one. It's just to get the idea. Currently I have multiple mov commands defined putting the value into one, two, three or four destinations.

So since I haven't coded in 100 years on a C64 (I think in real it is 22 years) this maybe a stupid request ;-) If so flood it to the 00!

~Stephan
Magic Man/Crazy
2015-11-14 20:39
Slammer

Registered: Feb 2004
Posts: 416
Magic Man: A kind of '...' notation for an argument list like in java. Interesting. Right now the priority is v4, but perhaps later. However try this:

	:mov #1 ; $1000
	:mov #2 ; $1000 ; $1001
	:mov #3 ; $1000 ; $1001 ; $1003

.pseudocommand mov value;tar1;tar2;tar3;tar4;tar5;tar6;tar7;tar8;tar9;tar10 {
	lda value
	sta tar1
	.if (tar2.getType()!=AT_NONE) sta tar2
	.if (tar3.getType()!=AT_NONE) sta tar3
	.if (tar4.getType()!=AT_NONE) sta tar4
	.if (tar5.getType()!=AT_NONE) sta tar5
	.if (tar6.getType()!=AT_NONE) sta tar6
	.if (tar7.getType()!=AT_NONE) sta tar7
	.if (tar8.getType()!=AT_NONE) sta tar8
	.if (tar9.getType()!=AT_NONE) sta tar9
	.if (tar10.getType()!=AT_NONE) sta tar10
}
2015-11-15 10:49
Slammer

Registered: Feb 2004
Posts: 416
Hi, A couple of questions..

How are you guys experiencing the Vice-early-exit bug under El Capitan? Do you always get it or is it only sometimes? Right now it seams to me its only first time after a restart of the OS and I never get it when running from Eclipse.

Perhaps some timing issues are involved. If Vice need some info given by java (environment settings? Startup dir?) and java is terminating before vice has read those, it might cause Vice to crash. Any Vice-Guys here who can tell if there is a log that could cast some light on why Vice exits just after launching?
Previous - 1 | ... | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | ... | 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
t0m3000/ibex-crew
Alakran_64
Fungus/Nostalgia
Wayne/Art Ravers
Mike
grasstust/Hoaxers
codise
Acidchild/Padua
Guests online: 161
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 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 Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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