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 > Assembler preferences.
2016-02-09 06:03
ChristopherJam

Registered: Aug 2004
Posts: 968
Assembler preferences.

Two questions:
- what's everyone using these days?
- on large productions, do groups tend to enforce a single assembler for the entire project, or is the code base a bit heterogenous?

I'd like to keep this discussion purely focussed on assemblers; please leave code generators, loader toolchains etc for that other thread.


(as for me, I'm still using xa65 for most projects)
 
... 204 posts hidden. Click here to view all posts....
 
2019-09-19 11:04
ChristopherJam

Registered: Aug 2004
Posts: 968
Might be able to hack something out of .STRAT?
(cf https://www.cc65.org/doc/ca65-10.html#ss10.16 )
2019-09-19 12:14
Mixer

Registered: Apr 2008
Posts: 312
Is there any compiler which can count cycles when producing a code listing? This would be a nice feature. Also so that the start/end of counting could be set from within the asm code, and macros. I've got a tool for that, but it could be a feature in a compiler.
2019-09-19 13:01
JackAsser

Registered: Jun 2002
Posts: 1539
Quote: Might be able to hack something out of .STRAT?
(cf https://www.cc65.org/doc/ca65-10.html#ss10.16 )


Ca65 is quite easy to extend.. ;) and open source
2019-09-19 13:42
ChristopherJam

Registered: Aug 2004
Posts: 968
Quote: Ca65 is quite easy to extend.. ;) and open source

Get behind me, Satan!
2019-09-19 14:42
Krill

Registered: Apr 2002
Posts: 1253
Quote:
.define sectors_in_track(tk) (21-tk/18*2-tk/25-tk/31)


So i went with this one now: =)
.define SECTORS_ON_TRACK(T) (21 - ((.min(T, 18) / 18) * 2) - (T / 25) - (T / 31))
2019-09-20 06:23
Endurion

Registered: Mar 2007
Posts: 60
@Mixer:
C64Studio shows the cycle count in the left lane of the editor window.
2019-09-23 15:44
Zirias

Registered: Jan 2014
Posts: 38
Quoting ChristopherJam
I've switched over to ca65 for all but the tiniest of projects - mostly for the linker and the multiple segment support.
That's exactly the reason I always used ca65. I wouldn't want to do something a bit complex without a linker allowing me to configure the segments and memory layout and the code and corresponding data logically organized in different "compilation units".

If I need something ca65 can't do with macros, I write little C tools generating the code for it.
2019-09-24 07:56
oziphantom

Registered: Oct 2014
Posts: 350
because 64tass has an internal linker and that lets you perform sheer voodoo :D oh and 1 pass is soo 1984
2019-09-24 09:32
TheRyk

Registered: Mar 2009
Posts: 607
Three and a half years of pondering which assembler to use should be enough procrastination alibi, in that time you could have coded dozens of trackmos in SMON. So finally get coding you damn lazy bastards ;)
2019-09-26 11:15
ChristopherJam

Registered: Aug 2004
Posts: 968
Quote: Three and a half years of pondering which assembler to use should be enough procrastination alibi, in that time you could have coded dozens of trackmos in SMON. So finally get coding you damn lazy bastards ;)

But, but, I've just realised I need a smart memory allocator to put my 32 byte tables into pages that satisfy (page+1)&0x1f==0x1f so I can safely use SHX abs,y and SHY abs,x with five bit actor indices D':
Previous - 1 | ... | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 - 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
Apollyon/ALD
Matt
c0zmo
JCH/Vibrants
Twilight/ExCeSs
Mason/Unicess
hedning/G★P
Barbarossa
Medicus
Jammer/TooMany
Andy/AEG Soft
Guests online: 40
Top Demos
1 Uncensored  (9.7)
2 Unboxed  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.7)
5 Comaland 100%  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 C=Bit 18  (9.5)
9 Old Men in Used Cars  (9.5)
10 Rivalry  (9.5)
Top onefile Demos
1 Sprite Font Compo Re..  (9.8)
2 The Tuneful Eight [u..  (9.8)
3 Instinct  (9.6)
4 Dawnfall V1.1  (9.5)
5 Space Demo  (9.5)
6 Smile to the Sky  (9.5)
7 Crystal Gazer  (9.5)
8 Daah, Those Acid Pil..  (9.5)
9 Rewind  (9.5)
10 Innervasion  (9.4)
Top Groups
1 PriorArt  (9.7)
2 Fossil  (9.6)
3 Performers  (9.6)
4 Oxyron  (9.5)
5 Booze Design  (9.4)
Top Logo Graphicians
1 Pal  (9.5)
2 Mermaid  (9.2)
3 Yazoo  (9.1)
4 Elko  (9.1)
5 Compyx  (9.0)

Home - Disclaimer
Copyright © No Name 2001-2019
Page generated in: 0.042 sec.