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 > Your favourite cross assembler
2020-12-29 13:31
Henne

Registered: Feb 2005
Posts: 26
Your favourite cross assembler

Hi all,

I was wondering which cross assembler you use for C64 coding and started a
survey on this (see link below). I'm aware that there have been threads about
this in the past. Nevertheless I'd like to know what you use these days. New
assemblers appear (e.g. BadAss) and people might switch from one assembler to
the other.

So, here's the link to the survey:

https://fragab.de/35Ff8TS

I'm curious about your votes!

If your favourite assembler is not listed, please drop a note in this thread.
I will then add it to the list of options.

cheers,
Henne
 
... 58 posts hidden. Click here to view all posts....
 
2020-12-29 17:53
Krill

Registered: Apr 2002
Posts: 2839
I'd find individual reasons to prefer or dislike specific assemblers much more entertaining and informative than just a simple yes/no matrix, tbh. =)
2020-12-29 17:59
Henne

Registered: Feb 2005
Posts: 26
Quote: Can you implement a ranking when using multiple assemblers? I have my personal favourite, but I sometimes have to use others.

I'm just using this platform for the survey. I don't have access to the code. It seems like a ranking isn't supported, sorry.
2020-12-29 18:03
Henne

Registered: Feb 2005
Posts: 26
Quote: I'd find individual reasons to prefer or dislike specific assemblers much more entertaining and informative than just a simple yes/no matrix, tbh. =)

Feel free to post your reasons in this thread! ;-)

I'm mainly interested in how much the different assemblers are used. At the moment, it seems that KickAss is used much more than the others. But let's see...
Well, at least more people are using KickAss. Doesn't mean they produce more code than the rest, of course.
2020-12-29 18:34
Oswald

Registered: Apr 2002
Posts: 5017
Quote: I'd find individual reasons to prefer or dislike specific assemblers much more entertaining and informative than just a simple yes/no matrix, tbh. =)

So let the assembler wars begin! :)

64tass because..

I'm very rigid in my coding style like an old man, so after 2 decades of turbo assembler, switching to 64tass was a no brainer. (I even set up my notepad++ with c64 font and turbo ass like colors)

Also I dont have much exposure to modern style programming. I am not programming for a living, never was.

So I hardly ever use macros, not even virtual brackets for labeling etc, most of the code I write is max 2000 lines, really simple.

That explains mostly my choice, I see the flexibility of KickAss but I like to think that its easyer to fully understand what your code does if you see your code as is, than coding a code that spits out code that gets assembled. (imho understanding your code at a low level leads to better optimizations, often I have ideas while looking at my code in monitor)

Importing picture to sprites, generating textures easily, yes nice KickAss features, but better keep it seperated. So it doesnt slow down your trial and error cycle.
2020-12-29 19:00
chatGPZ

Registered: Dec 2001
Posts: 11114
Quote:
I'd find individual reasons to prefer or dislike specific assemblers much more entertaining and informative than just a simple yes/no matrix, tbh. =)

didnt we have that thread a while ago? :)
2020-12-29 19:25
Burglar

Registered: Dec 2004
Posts: 1031
Quote: I'd find individual reasons to prefer or dislike specific assemblers much more entertaining and informative than just a simple yes/no matrix, tbh. =)

oh noes! you unleashed the dragon /o\

so yea, I use KickAss, there are many things I like about it:
- portability, just requires jre
- scripting capabilities
- macros & functions
- built-ins like getMultiColorByte
- lots of usable examples on codebase64.org
- actively supported

there are also some things I do not like:
- syntax like .eval i++
- no built-in incbin
- its still java ;)

and there's one thing I hate:

lda #>$c000 - >$8000 = #$bf ($c000 - $80 = $bf80)
lda #(>$c000) - (>$8000) = #$40
2020-12-29 19:41
Krill

Registered: Apr 2002
Posts: 2839
Quoting Burglar
- no built-in incbin
Really! D= No other way to link random binaries either? How do you include SID tunes at $1000 then, convert to endless rows of ".byte"? =)

And i thought those requests to port random stuff to KickAss were just due to laziness. (I will still continue to scoff at those. :D)
2020-12-29 19:45
Burglar

Registered: Dec 2004
Posts: 1031
Quoting Krill
Quoting Burglar
- no built-in incbin
Really! D= No other way to link random binaries either? How do you include SID tunes at $1000 then, convert to endless rows of ".byte"? =)

no, simply:
.var music = LoadSid("bla.sid)
.pc = music.location "Music"
.fill music.size, music.getData(i)

and incbin can be easily scripted:
.macro LoadBin(filename, length, offset) {
    .var file = LoadBinary(filename)
    .fill length, file.get(offset+i)
}
.macro LoadPrg(filename, length, offset) {
    :LoadBin(filename, length, offset+2)
}
2020-12-29 19:53
Slammer

Registered: Feb 2004
Posts: 416
There is 'incbin' functionality. See here: http://theweb.dk/KickAssembler/webhelp/content/ch03s09.html
// import the bytes from the file 'music.bin', but skip the first 100 bytes
.import binary "Music.bin", 100

// Imports $200 bytes starting from position $402 (the two extra bytes is because its a c64 file)  
.import c64 "charset.c64", $400, $200


(I know, Communicating out new stuff is not always clear)
2020-12-29 19:56
Burglar

Registered: Dec 2004
Posts: 1031
you rock Slammer, and yup didnt know you added it.

May I highlight "actively supported" again now? :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - 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
Higgie/Kraze/Onslaught
Viti/Hokuto Force
Alakran_64
jmin
Enforcer/Deers
macx
Kojote/Speckdrumm
The MeatBall
Guests online: 85
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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