On Sat, 16 Aug 2014, A. P. Garcia wrote:
Date: Sat, 16 Aug 2014 08:31:18
From: A. P. Garcia <a.phillip.garcia at gmail.com>
Reply-To: "General Discussion: On-Topic and Off-Topic Posts"
<cctalk at classiccmp.org>
To: "General Discussion: On-Topic and Off-Topic Posts" <cctalk at
classiccmp.org>
Subject: Re: standard 6502 syntax?
On Sat, Aug 16, 2014 at 9:44 AM, Sean Caron <scaron at umich.edu> wrote:
<snip>
If you are talking about assembler macros and
stuff like that, I'm sure
there are as many variants as there were assemblers, little to no
standardization there from my experience, LOL. But regardless of the
computer, it's the same 6502 and same op-codes underneath.
Yes, that's what I was getting at. Given the lack of standardization,
my next set of questions would be: Was there a specific 6502 assembler
that you particularly enjoyed working with? Was there a dominant one
on the market--i.e. is there a particular assembler for which a
majority of available code was written for? Probably the most famous
bit of 6502 asm out there is the Apple II Prince of Persia
[
https://github.com/jmechner/Prince-of-Persia-Apple-II]. Which
assembler(s) can process this source as-is?
I'm in the middle of doing a little 6502 SBC
right now so I've been poring
through these publications quite a bit over the course of the last few
weeks ;)
Another neat reference is 'The 6800 Processor' by Jack Quinn, I know it's
not 6502-specific but the two CPUs were so similar, there's a lot of
relevance... nice book discussing the programming model on these CPUs
including a very thorough treatment on hand-assembly which I found to be
quite educational.
Nice. Thanks for the recommendation.
Thank you for the github link.
I think that the assembler source for Prince of Persia was
written for the Merlin version 2.52 assemlber. See the line:
* Merlin 2.52 --> RW18 "USR" interface routine.
near the top of the file "04 Support/MakeDisk/USR18.S".
--Ernest