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: 1382
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-05-05 17:34
saimo

Registered: Aug 2009
Posts: 36
Quote: saimo, congrats, thats a terribly masochistic way of doing it. :)

@Oswald

LOL

Indeed it bothers me a bit to have to write all those () and ;, but the power, freedom and flexibility I get from the rest outweight the nuisance by a long margin.
2016-05-05 18:05
Hypnosis

Registered: Mar 2015
Posts: 36
@saimo: Interesting and odd solution to the problem!

I rolled my own assembler.
2016-05-05 18:07
soci

Registered: Sep 2003
Posts: 474
Writing the instructions directly into the C source to create the desired output is way too easy ;)

Instead of doing that I wrote C program which reads in various text/binary files to describe the output. This way I gained freedom from syntactic limitations of the compiler too.
2016-05-05 18:08
Bitbreaker

Registered: Oct 2002
Posts: 501
So much syntactic sugar and brainwank for so few releases :-D
2016-05-05 18:46
soci

Registered: Sep 2003
Posts: 474
That's not entirely fair to him, not everyone wasted 20+ years on the scene yet.
2016-05-05 19:34
Slammer

Registered: Feb 2004
Posts: 416
"Focus on the journey, not the destination. Joy is found not in finishing an activity but in doing it." - Greg Anderson

But, yes. Finishing something is nice too.
2016-05-05 20:03
Oswald

Registered: Apr 2002
Posts: 5031
Quote: "Focus on the journey, not the destination. Joy is found not in finishing an activity but in doing it." - Greg Anderson

But, yes. Finishing something is nice too.


now I know why it is so hard to finish a demo :)
2016-05-05 20:07
saimo

Registered: Aug 2009
Posts: 36
Quote: Writing the instructions directly into the C source to create the desired output is way too easy ;)

Instead of doing that I wrote C program which reads in various text/binary files to describe the output. This way I gained freedom from syntactic limitations of the compiler too.


@soci

Not sure what you mean here. It sounds like you created some sort of custom compiler... is that so?
2016-05-05 20:25
Perplex

Registered: Feb 2009
Posts: 254
Quoting soci
That's not entirely fair to him, not everyone wasted 20+ years on the scene yet.

Time you enjoy wasting is not wasted time. ―Bertrand Russell
2016-05-05 20:35
saimo

Registered: Aug 2009
Posts: 36
Quote: So much syntactic sugar and brainwank for so few releases :-D

@BitBreaker

Well, it isn't just syntactic sugar: there's a new dimension that opens up new possibilities. I mean, besides the compile stage, where one can enjoy the power of macros and conditional compiling offered by the C compiler, there's also the intermediate stage of binary generation executed by a self-shaping program, which makes it possible to generate dinamically tailor-made ML code.
Hmm, I can't really find the words... F.ex., it is possible to include a binary file, analyze it, and generate code depending on the results of the analysis.
I feel I'm only scratching the surface for now, but, after all, at the moment I don't need anything complicated, and I'm enjoying the possibility of doing things like this:

pc = EmbedString(pc, "ZONE 1: CLIFFS");

which writes the string at the current pc address, returning the address of the first byte after the string, and mapping automatically the ASCII characters to the characters in the charset, which are arranged in a custom order (currently: graphical tiles, 0...9, A...Z, [SPACE], various symbols). Clean, robust, and easy ;)
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
Guests online: 81
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 No Bounds  (9.6)
7 Comaland 100%  (9.6)
8 Aliens in Wonderland  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.7)
5 Fungus  (9.7)

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