Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user hoist ! (Registered 2024-10-04) 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-10 20:31
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.
2009-10-10 22:07
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.
2009-10-13 11:26
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.

2009-10-28 17:22
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
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.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ... | 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
stephan-a
Guests online: 58
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Morph  (9.5)
8 Dawnfall V1.1  (9.5)
9 Onscreen 5k  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Facet  (9.6)
4 Carrion  (9.6)
5 Pal  (9.6)

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