| |
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.... |
| |
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. |
| |
Dr.Science
Registered: Oct 2011 Posts: 39 |
Having the same issue as Subjik on OSX! |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
Ok, Could I get you to post the exact commandline you are using to run KickAssembler |
| |
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 ;) |
| |
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 |
| |
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 |
| |
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. |
| |
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 |
| |
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
} |
| |
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 |