| |
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.. |
|
... 592 posts hidden. Click here to view all posts.... |
| |
neilbaldwin Account closed
Registered: Sep 2009 Posts: 48 |
I think I found a bug but it may be misunderstanding.
If I include a table of values at the end of my (small bit of) code;
.import source "table_of_values.asm"
the origin of the table gets forced to $2000 despite the fact that the .pc hasn't reached anywhere near that in the preceding code.
If I then edit the "table_of_values.asm" file and put;
.pc = *
at the start, it compiles at the right address.
|
| |
Pantaloon
Registered: Aug 2003 Posts: 124 |
i've bugged that bug last day and it was fixed a few hours later. there is a new distribution on the site. version 3.9. |
| |
LOGAN Account closed
Registered: Aug 2003 Posts: 71 |
Thanks Slammer for your continues development of KickAssembler.
I hope people work together to create a macro/function library for KickAss that will be useful for many people.
|
| |
Iapetus/Algarbi/Wood
Registered: Dec 2004 Posts: 71 |
How do I access a label which is inside a pseudopc block from outside?
I am getting: Error: Unknown symbol
Thanx |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
Algarbi: Minor error. It is fixed in the new version 3.11 which is now on the website. |
| |
Iapetus/Algarbi/Wood
Registered: Dec 2004 Posts: 71 |
Thanx |
| |
Garvin
Registered: Sep 2009 Posts: 5 |
I've just stared trying out kickass and took some old tasm code converting it and trying to make it follow the kickass syntax for labels and such. Haven't touched any asm in years.
First program was no problems, but the second proved a challenge, since the error wasn't what I'd expect.
Anyways, it seems like line comment screwed me up good.
Ex.
fadeRow: lda fader
-- snip --
beq tasm
rts
tasm: jmp wrap //change to $9000 to get back to tasm
-- snip --
more code
-- snip --
fader: ldx $53
lda $1ac0,x
sta a3+1
Now, I got "Error: Unknown symbol 'fader'".
Removing the comment and the error was gone =)
Btw, commenting out the line fadeRow: compiles to the row before the comment and throws no error. Block comment works fine tho.
This is using version 3.11 |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
Edit: deleted..
Could you pm me some code. The actual code would be nice, since I guess you use a label which is nested in another directive or something. |
| |
Garvin
Registered: Sep 2009 Posts: 5 |
Unfortunately I can't reach it, it's on my windoze desktop and not my linux. But I'll see if I'm allowed on the comp when I get back from work^^
The program compiles fine with the line comment removed tho. |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
The code in the post assemblers ok (if you insert the missing variables). Eg:
fadeRow: lda fader
beq tasm
rts
tasm: jmp wrap //change to $9000 to get back to tasm
wrap:
fader: ldx $53
lda $1ac0,x
sta a3+1
a3:
I'm planning a new release tonight. If you send me a failing example I'll se if I can include a bugfix. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ... | 61 - Next |