[OT] Acme::6502
Andy Armstrong
andy at hexten.net
Mon Sep 3 12:02:50 BST 2007
On 3 Sep 2007, at 11:52, Michael G Schwern wrote:
>> http://search.cpan.org/~andya/Acme-6502/
>
> Whoa, the chip that ran the Commodore computers?! Wow! I'll
> gladly play with
> that. Why'd you put it in Acme, that's a serious bit of work.
Thanks :)
I'm stuggling to find a sensible use for it - although it works well
enough to run the BBC Basic ROM from a BBC Micro:
http://www.hexten.net/2007/03/12/fizzbuzz-in-6502-assembler
> Got some example code? 6502 API documentation? Also most of the
> functions
> don't say what they return.
I just googled for the 6502 instruction set. Bizarrely I was able to
remember most of how the processor actually worked - in terms of the
semantics of the various flags and so on.
Clearly you working on it isn't a high priority. I guess I should
document it a bit better and provide you with a version that includes
a copy of the BBC Basic ROM. BBC Basic has a sweet built in assembler
so you can use that to write code and try it out.
It really is a bit of a poisoned chalice - I had the benefit of a few
years in which I wrote almost exclusively 6502 assembler - and in
spite of that I'd decided that testing it was going to be a bit of a
bugger :)
--
Andy Armstrong, hexten.net
More information about the tapx-dev
mailing list