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....
 
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: 422
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

2010-03-24 19:48
Slammer

Registered: Feb 2004
Posts: 416
If you use an editor that uses nonstandard codes for lineshift the linecomment won't be terminated.

Try using a different editor and examine the file with an hexeditor.
2010-03-24 20:37
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
I have been using scite for ages and never had problems. I clicked on "convert line end characters" under Options and it worked.

Thank you
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
Ninja/The Dreams
taper/ΤRIΛD
tlr
Nordischsound/Hokuto..
Magic/Nah-Kolor
Hornet/Agony Design
t0m3000/HF^BOOM!^IBX
Faayd/Quantum
Guests online: 118
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Layers  (9.7)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Stinsen  (9.7)
3 Jeroen Tel  (9.6)
4 Linus  (9.6)
5 MacMagix  (9.6)

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