| |
ChristopherJam
Registered: Aug 2004 Posts: 1409 |
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.... |
| |
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. |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
@saimo: Interesting and odd solution to the problem!
I rolled my own assembler. |
| |
soci
Registered: Sep 2003 Posts: 480 |
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. |
| |
Bitbreaker
Registered: Oct 2002 Posts: 508 |
So much syntactic sugar and brainwank for so few releases :-D |
| |
soci
Registered: Sep 2003 Posts: 480 |
That's not entirely fair to him, not everyone wasted 20+ years on the scene yet. |
| |
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. |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
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 :) |
| |
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? |
| |
Perplex
Registered: Feb 2009 Posts: 255 |
Quoting sociThat'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 |
| |
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 |