680x0 Emulation

JimSoft

Member
Hi,

I'm searching for some direction with emulating 680x0 processors with a teensy 4.1 and psram. Has anyone ever used either Moira or Musashi successfully, or written their own emulator? I usually use Arduino IDE for coding but I'm not averse to using other environments if necessary.

Thanks, Graham.
 
I used the Musashi code under Linux but I can't think of any reason why it wouldn't also work with a Teensy. Which also uses the GCC compiler.

Well, that IDE instead of a makefile thing could require some work.
 
I actually have a little experience with this kind of thing. One of the many projects on which I'm working is creating a web-based version of Professor Chuck Kelly's EASy68K, which I affectionately dubbed Easiest68K. So far it runs most of the demos written for that simulator; you can find the (very unfinished) code at my GitLab as well as a thread about the project over at the AnyCPU forum.

One interesting thing I found while working on my simulator is that the existing projects out there emulate various features of the 68000 to varying degrees of success. That's not something I expected going into my own endeavor. I mean, I realize software bugs exist, but I guess I just kind of figured that, with simulators like this, if they worked well enough to run programs, they were 100% accurate, right? I mean, surely if there were any major incompatibilities, things would come to a spectacular halt. Nope. lol But that sent me down a rabbit hole which led to my simulator now being one of only two I found (And I checked several! Moira, Moo68k, Musashi, Sim68K, Tricky68k and WinUAE) which pass all BCD math tests with 100% accuracy.

Hope this helps!
 
Back
Top