| |
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.... |
| |
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. |
| |
Garvin
Registered: Sep 2009 Posts: 5 |
Yeah, something in the full source is probably causing the parser to freak out (it's quite messy, I think I started coding it in a monitor and later reassembled it, judging for certain label names).
I'll try an get you a pm as soon as I get home =) |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
From the start of the KickAssembler project people have asked for executable files so you don't have to install Java. Well now we have it, atleast for Windows, with possibility for Linux support, if there is a demand for it. The executable version is up to 3 times faster than the java version. There will ofcause still be distributed a jar-file so all java platforms are supported.
Check out version 3.12 at http://www.theweb.dk/KickAssembler/Main.php |
| |
tlr
Registered: Sep 2003 Posts: 1742 |
It was a while since I tried it, but now I see that you have incorporated mostly everything I missed before, great work!
Linux support would be nice. I suggest you split the binary versions to separate downloads though.
The size of the archive grew from 1 Mbyte to 25 Mbyte, and I think you wouldn't want another 24 Mbytes extra download for each supported platform for all users.
Question:
Is there a way to differentiate between the memory address and the pseudo address for a given label?
(compare to LMA vs. VMA in ELF binaries)
This can of course be done with a fairly simple calculation function but it would be a neat feature.
example:
.pc = $1000
lda #5
sta somewhere.mem+1
:CopyPseudoCodeToTarget()
jsr somewhere // pseudo/VMA which is how it works already.
// Acc = 5
rts
.pseudopc $2000 {
somewhere:
lda #0
rts
}
|
| |
Slammer
Registered: Feb 2004 Posts: 416 |
tlr: Right now you can't, but i'll put it on the todo list. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ... | 61 - Next |