On Fri, 6 Dec 2002, Cameron Kaiser wrote:
Seriously, though, the emulator core is
system-independent but it needs
a 6502 to run on (or an '816, I guess). To get all of the proper
processor flags set quickly, it actually does run selected parts of the
code natively. For example, an LDA-absolute is turned into two steps;
first is the fetch from emulated memory, and then that result is turned
into a native LDA-immediate and executed so I get my N and V flags set
for free. I'd have to do a lot more work on another architecture.
Cameron, yopu are simply AWESOME!
I want to play with this on my Apple ][.
I seem to remember a program I had for the Apple ][ that emulates the 6502
also. In fact, I have it here in my office. I think I'll dig it out and
try to figure out how it worked (since I never really played with it back
then).
But still, Cameron, you are AWESOME!
Sellam Ismail Vintage Computer Festival
------------------------------------------------------------------------------
International Man of Intrigue and Danger
http://www.vintage.org
* Old computing resources for business and academia at
www.VintageTech.com *