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....
 
2010-03-13 16:49
Slammer

Registered: Feb 2004
Posts: 416
The site can't be updated right now, so I uploaded the new release to CSDB.

** It also seems that my email is dead, so pm me here on CSDB instead (The feedback on the site, and the kickass@theweb.dk address won't work) **

Nitro: I fixed the dir bug, however because of the filesize of the executable I can't upload it to csdb. About execution times, I noticed that it takes some time to load the first time you run KickAss.exe, but then it gets faster (probably some libraries have to be loaded or something). Have you tried to time it with the -time option? If the performance seems much worse let me know.
2010-03-14 10:10
Nitro
Account closed

Registered: Aug 2008
Posts: 13
I wasn't talking about the executable load time but assemble time, the differences are huge :)
EXE: Assemble time = 9168 ms
JAR: Assemble time = 2010 ms
I'm including about 33 files, 4,85kb each.
2010-03-14 12:18
Mace

Registered: May 2002
Posts: 1799
Haha, and then ppl say JAVA is slow!
2010-03-14 12:18
Slammer

Registered: Feb 2004
Posts: 416
Ok, I wasn't aware of this. I can only recomend using the java version then. I might tweak the compiler to produce faster code, but my hopes are not high (Perhaps they forgot to buffer the input in the load library)
2010-03-17 19:50
Mace

Registered: May 2002
Posts: 1799
Copied from "What assembler/compiler are you using?"
Quoting Slammer
Whats your favorite feature of the assembler you are using? What feature really helps you? (...)
The main reason why I switched from 64TASS to KickAss is because of the List() directive, math functions like sin() so I don't need a sinus generator anymore.
Namespacing and scoping look useful too, but have had no need for them yet.

What I like less about KickAss compared to 64TASS is the import of binaries. In 64TASS it's a matter of .binary "file",offset,length and it's in the memory.
No need to do .fill stuff and such.
2010-03-17 20:52
Slammer

Registered: Feb 2004
Posts: 416
Mace: Have you tried

.import binary “Music.bin” or
.import c64 "prog.c64"

I'll se if I can add an optional offset and length parameter in a later version. (until then you can always write a macro (.macro importFile(filename,offset, length) {..})

Btw. The favorite feature question is intended for all assemblers.
2010-03-17 21:29
Mace

Registered: May 2002
Posts: 1799
Of course I tried .import, but it's not the same since it fetches the entire file and not just a part of it.
What I use the offset and length for is for importing parts of externally created data, like graphics.
2010-03-19 11:03
Digger

Registered: Mar 2005
Posts: 424
Slammer, I am getting a weird error after first pass:

Memory Map
----------
WARNING! No data in memory!

What's that about? I've searched the manual but no info there.
Thanks!
2010-03-19 11:56
Slammer

Registered: Feb 2004
Posts: 416
You have assembled a program that contains no bytes. Eg. if you assemble
.for(var i=0; i<10; i++)
   .print "i="+i
you will get the 'WARNING! No data in memory!'. The first two lines is the memory map which is empty.
2010-03-24 19:39
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
I am getting a problem when I use //, the compiler can't find lables after the use of //

For instance:

lda #$00
sta pintaTileX+1

pintaTileY: lda #$00 // y coord

.
.
.

pintaTileX: lda #$00

Error: Unknown symbol 'pintaTileX'

If I change the first line containing // to:

pintaTileY: lda #$00 /* y coord */

it works

Previous - 1 | ... | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | ... | 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
Guests online: 51
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 Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Jammer  (9.6)
4 Stinsen  (9.6)
5 Mutetus  (9.6)

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