Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > Your favourite cross assembler
2020-12-29 13:31
Henne

Registered: Feb 2005
Posts: 25
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:59
Henne

Registered: Feb 2005
Posts: 25
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: 25
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: 4660
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
Groepaz

Registered: Dec 2001
Posts: 9711
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: 842
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: 1737
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: 842
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: 409
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: 842
you rock Slammer, and yup didnt know you added it.

May I highlight "actively supported" again now? :)
2020-12-29 20:08
Krill

Registered: Apr 2002
Posts: 1737
Ah, ".import binary" is .incbin in all but verbatim name, then. So back to blaming lazy people. =)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
sebalozlepsi
Shadow/G★P/Noice
Trap/Bonzai
Nightlord/Glance
wbochar
j0x
Powerslave/ΤRIΛD
Tomsk/The Weekenders..
ibux/Artline Designs..
Pitcher/Fairlight
Didi/Laxity
doctorfargo/Binary L..
The Syndrom/Crest, TIA
Lord Crucifier/SCS*TRC
Murphy/Exceed
xpo
Scorpy/Replay, Singu..
Guests online: 102
Top Demos
1 Christmas Megademo  (9.7)
2 Uncensored  (9.6)
3 Unboxed  (9.6)
4 Edge of Disgrace  (9.6)
5 Coma Light 13  (9.6)
6 Memento Mori  (9.6)
7 Comaland 100%  (9.6)
8 Unboxed [6581 edition]  (9.6)
9 Lunatico  (9.6)
10 The Shores of Reflec..  (9.5)
Top onefile Demos
1 Copper Booze  (9.8)
2 To Norah  (9.8)
3 Lovecats  (9.6)
4 Elite Code Mechanics  (9.6)
5 The Sprite Demo  (9.6)
6 Square Booze  (9.6)
7 Daah, Those Acid Pil..  (9.5)
8 Quadrants  (9.5)
9 Dawnfall V1.1  (9.5)
10 Hyperborea  (9.5)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.4)
3 Fossil  (9.4)
4 Oxyron  (9.3)
5 PriorArt  (9.3)
Top Webmasters
1 Morpheus  (9.9)
2 Slaygon  (9.6)
3 Perff  (9.6)
4 Sabbi  (9.4)
5 CreaMD  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.048 sec.