Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) 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-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?
2015-11-15 16:55
Magic Man
Account closed

Registered: May 2015
Posts: 3
I get the bug at any time when I build and run from sublime3. Only when I add the work around I posted above it works all the time. It is regardless if it is the first time after restart or not. It either works (with workaround fix) or it doesn't work (without the fix).

I try the one with the commands. When I added a command which wasn't filled I got an error that all arguments have to be set so I didn't dogged into it. I give it a try thank you :-)

~Stephan
2015-11-22 20:21
Slammer

Registered: Feb 2004
Posts: 416
I finally got time to look at the Vice problem and might have found a solution.

First of all, the bug seems to have nothing to do with Kick Assembler. A simple test program in a few lines can trigger it. Seems like it is Vice and Java on OSX El Capitan that don't like each other. I made a little test program that start up 4 programs, one of them is Vice, and the only one crashing is Vice. Vice is run with no parameters, so it can't be a half written .prg file or breakpoint file that makes it crash.

I'm not sure if it has anything to do with it, but OSX complains about Vice using some deprecated libraries on each startup:

1. "using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h"

2. "The gestalt selector gestaltSystemVersion is returning 10.9.1 instead of 10.11.1. This is not a bug in Gestalt -- it is a documented limitation .Use NSProcesssInfo's operatingSystemVersion property to get correct system version number."

I guess there are timing issues involved, since the bug come and goes.

However I managed to tweak it to work, atleast it seems so (you never know for sure with timing issues involved). Explicitly redirecting the stdout and errout seems to make a difference. THERE IS A NEW VERSION ON THE WEBSITE NOW. Try downloadling it, and if you get the error then send the file 'ExecuteOutputLog.txt' to me.
2016-01-10 00:02
Jammer

Registered: Nov 2002
Posts: 1289
Does Kickass allow for using parametric memory block labels? I need to save series of prg files with filename and suffix like 001 002 003. Is fixed string value is the only option? Whatever I try, I get block with label 'Unnamed' ;)
2016-01-10 00:13
chatGPZ

Registered: Dec 2001
Posts: 11100
Quote:
Any Vice-Guys here who can tell if there is a log that could cast some light on why Vice exits just after launching?

the OSX port is currently unmaintained and subject for deletion - the VM we are using to at least keep it in a state that it compiles is running 10.8 (mountain lion) for that matter. anything after that.... no idea, noone cares apparently. there is no log other than what is printed to console for that matter :)
PS: anyone who is interested in keeping the OSX port alive is invited to freenode #vice-dev :)
2016-01-10 09:11
ruk

Registered: Jan 2012
Posts: 43
Quote:

the OSX port is currently unmaintained and subject for deletion - the VM we are using to at least keep it in a state that it compiles is running 10.8 (mountain lion) for that matter. anything after that.... no idea, noone cares apparently. there is no log other than what is printed to console for that matter :)
PS: anyone who is interested in keeping the OSX port alive is invited to freenode #vice-dev :)


Say what? I bet there are a lot of us using OS X as the preferred weapon of choice.
If VICE wasn't on OS X, I really wouldn't know what to do :-(
Guess I'll be joining #vice-dev... Anyone care to join me?

PS. I recently submitted a patch for bug #637 (Keyboard presses cause lag in Vice for MacOS) and reported some other stuff while at it.
2016-01-10 17:07
JackAsser

Registered: Jun 2002
Posts: 1987
Quote: Quote:

the OSX port is currently unmaintained and subject for deletion - the VM we are using to at least keep it in a state that it compiles is running 10.8 (mountain lion) for that matter. anything after that.... no idea, noone cares apparently. there is no log other than what is printed to console for that matter :)
PS: anyone who is interested in keeping the OSX port alive is invited to freenode #vice-dev :)


Say what? I bet there are a lot of us using OS X as the preferred weapon of choice.
If VICE wasn't on OS X, I really wouldn't know what to do :-(
Guess I'll be joining #vice-dev... Anyone care to join me?

PS. I recently submitted a patch for bug #637 (Keyboard presses cause lag in Vice for MacOS) and reported some other stuff while at it.


I'm sure both me and Mr.Sid can contribute, being Cocoa-developers... :)
2016-01-10 17:09
Frantic

Registered: Mar 2003
Posts: 1627
I can't really contribute to the coding part of this, for various reasons, but being a mac user (10.10.5) I could at least do some testing if needed.
Previous - 1 | ... | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | ... | 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
Sulevi/Virtual Dreams
Guests online: 66
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 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
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 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (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 Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

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