rclancy wrote:
It seems like CC65 (or in my case ca65) is the most popular environment for 6502 work....
It is indeed, and with good reason. It's a great assembler and toolchain, and even has this thing called a "C compiler" (whatever that is) thrown in as well. Dunno why anybody would ever use that, though. :-)
Quote:
But, in order to link it into a binary, ld65 needs a memory map of the 134. It doesn't look super hard to generate one, but I thought I'd check if anyone else had done the heavy lifting before I dove in. Thanks!
They look easy enough to generate, but given that you're just starting out, unless you foresee a need for separate assembly and relocation/linking abilities, or for writing in C, you may want simply to consider dropping a lot of that complexity and using a non-linking assembler. The speed difference should be inconsequential. (Cross-assemblers on modern hardware are so fast that assembling straight to the binary output is actually faster for small programs, and probably about the same speed for "large" programs, where "large" means a 64 KB or so system.
I myself am currently using the
ASxxxx suite, as I originally thought I'd want a linker, but at this point I'm looking at switching away from a system with a linker, perhaps to
AS. It's mainly just the switching cost that's got that on the back burner for me.