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

Registered: Aug 2004
Posts: 1381
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 08:56
ChristopherJam

Registered: Aug 2004
Posts: 1381
.define sectors_in_track(tk) (21-tk/18*2-tk/25-tk/31)
2019-09-19 09:09
Krill

Registered: Apr 2002
Posts: 2854
Haha, brilliant! Glad i stated my actual problem and not just the wrong tree i've been barking up to. X-Y problem averted. =)

The academic question still remains, though. :]
2019-09-19 09:57
ChristopherJam

Registered: Aug 2004
Posts: 1381
Cheers!

But yeah, if I really need proper data structures I just use Python to generate source for ca65 to assemble. Scripting's not its strong point.
2019-09-19 10:28
Krill

Registered: Apr 2002
Posts: 2854
I'm generally opposed to the idea of a Turing-complete language embedded in assembly code, though (see above), so having external scripts for the complex stuff is a-okay.

But simple things like mappings i do like to have. :)
2019-09-19 11:04
ChristopherJam

Registered: Aug 2004
Posts: 1381
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: 422
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: 1990
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: 1381
Quote: Ca65 is quite easy to extend.. ;) and open source

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

Registered: Apr 2002
Posts: 2854
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: 72
@Mixer:
C64Studio shows the cycle count in the left lane of the editor window.
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
Matt
d'Arc/Topaz Beerline
skull
Meikel aka ZUX/Sparks
Mibri/ATL^MSL^PRX
Aki
Fritske
Guests online: 79
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 Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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