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: 1380
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....
 
2016-02-11 20:32
soci

Registered: Sep 2003
Posts: 474
Fungus: I'm not sure what you mean, at least what I think of is quite old. Unless I misunderstood the question.

The built-in "size()" function returns the length. The .logical/.here (pseudo pc stuff) is a "transparent" code block. You can access this block by defining a label at it's start, and it's size is probably what you're looking for.
stuff .logical $300
       nop
      .here

      .word size(stuff) ; length of .logical/.here
      ldx #size(stuff)

It's also mentioned in the "Usage tips" section of the manual in an example for copying zeropage code to it's final place.
2016-02-12 00:25
TheRyk

Registered: Mar 2009
Posts: 2076
@enthusi: I think you should give current ACME a chance, as most (or even all) of what you complain about has been realised inbetween. Of course you might need to "learn" a few tokens.

As for
Quote:
automated filling and shit *g*

there is
!fill,<no. of bytes>,<fillbyte>

to determine yourself which range to fill with what
plus, there is
!initmem

to make clear how "empty" areas not specified via !fill are supposed to be filled (zero by default if you do not use !initmem)

I can only tell you, ask Mac Bacon, whenever sth is unclear or you want sth to be improved. My experience is, he's a true genius but also a really nice and helpful guy, who always replies quickly or - if you convince him sth is worth improving - even updates ACME in next to no time.
2016-02-12 05:49
enthusi

Registered: May 2004
Posts: 675
yes, I believe all of that :) While back then I had a reason to change, I do not have one now, though. XA feels more 'raw' which is what I prefer in fact.
2016-02-12 06:38
Oswald

Registered: Apr 2002
Posts: 5023
so what does initmem do ? why should the assembler know how memory looks like ? I dont get it
2016-02-12 11:22
chatGPZ

Registered: Dec 2001
Posts: 11135
* = $1000
nop
* = $2000
nop

what should go to $1001-$1fff ? -> initmem
2016-02-12 12:28
Oswald

Registered: Apr 2002
Posts: 5023
ah! thx
2016-02-12 18:22
Fungus

Registered: Sep 2002
Posts: 624
@soci

Ah yes, that's exactly what I meant. I was still doing it the old tass way with using calculations :)

hrm... we need wiki's for these things. CSDB needs a wiki system :D
2016-02-12 18:36
soci

Registered: Sep 2003
Posts: 474
Calculations are fine if you don't mind a second symbol.

There's codebase64, so I think we have a wiki already.
2016-02-12 18:49
Fungus

Registered: Sep 2002
Posts: 624
I meant a wiki in general dedicated to use of tools and what not. :)
2016-02-12 19:09
AlexC

Registered: Jan 2008
Posts: 293
Quote: I meant a wiki in general dedicated to use of tools and what not. :)

There is already codebase64 wiki but page about cross tools is terrible outdated - just like many other parts of this great site - for example it provides link to long gone ACME homepage. Wouldn't it be better if try to update codebase64 instead of creating another wiki?
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ... | 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
krissz
Frostbyte/Artline De..
MAT64
t0m3000/ibex-crew
chronos/Therapy
Adder/Triad
Krill/Plush
Didi/Laxity
JackAsser/Booze Design
Guests online: 98
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 Memento Mori  (9.6)
10 Bromance  (9.5)
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 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Black Beard  (9.7)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Jazzcat  (8.6)

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