(Couldn't come up with a name)
Demo: https://cupboard.daftgames.net/NotA32BlitEmulator/
Runs unmodified .blit files by translating 32blit API calls to the 32blit-sdl equivalent (in most cases). Game code is run in an interpreter (copied from DERP and extended).
Distraction from one of my 32blit-replacement projects. (The idea of making something 100% compatible)
Nope. No attempt is made at accurate timing in the interpreter, it just runs as fast as it can. Also the lack of the firmware sometimes allows games to get away with using more memory than they should.
There are also some bugs and missing features in the CPU interpreter. Tell me if you find an obvious one!
Because of the lack of actually emulating the hardware, it's faster than DERP at least.
Maybe if I ported the GDB server and fault handling from DERP.
Yes.
Unlike the real hardware, yes... Assuming it builds, I've only tested Linux.
Standard 32blit-sdk build things...
cmake -B build -G Ninja -D32BLIT_DIR=/path/to/32blit-sdk
ninja -C build
(Okay, that wasn't a standard example)
./BlitSim game.blit, or put a copy of launcher.blit and some other .blits next to the executable and run it for the full 32blit experience. (Except the system menu)
Rebuild with -DENABLE_SCREEN_SPEED_HACKS=1 to patch more functions to run outside the interpreter.