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..
 
... 592 posts hidden. Click here to view all posts....
 
2009-10-28 21:22
Slammer

Registered: Feb 2004
Posts: 416
Algarbi: Minor error. It is fixed in the new version 3.11 which is now on the website.
2009-10-28 21:32
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
Thanx
2009-12-08 20:54
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
2009-12-08 21:47
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.
2009-12-09 08:47
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.
2009-12-09 10:04
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.
2009-12-09 11:12
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 =)
2009-12-10 21:47
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
2009-12-11 21:40
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
}

2009-12-12 16:48
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
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
TheRyk/MYD!
CA$H/TRiAD
Quetzal/Chrome
Jammer
Mixer
Jangler/Artline Desi..
Guests online: 74
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 Uncensored  (9.6)
7 Comaland 100%  (9.6)
8 No Bounds  (9.6)
9 Aliens in Wonderland  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Morph  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Offence  (9.3)
Top Original Suppliers
1 Black Beard  (9.7)
2 Derbyshire Ram  (9.5)
3 Fungus  (9.3)
4 hedning  (9.2)
5 Baracuda  (9.1)

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