This weekend was a long weekend in the US (Presidents’ Day, apparently). As well as spending some time with my family, I set myself the goal of doing something “cool”, programming-wise.
I borrowed the Z80 emulator from JSSpeccy and thankfully Richard’s Master System documentation is still on the web, so I had a great head-start.
Sonic wags his fingers at me.
You can take it for a spin here (I’ll hack it later to allow me to embed it here). Keys are W, S, A and D for movement, Enter and Space for the fire buttons. I’ve rather cheekily embedded two ROMs that work quite well, Sonic and Teddy Boy.
The source code is on github if you want to take a peek.
There’s a ton of bugs and things to implement (most notably sound), but I’m pretty damn pleased with the results.
Next up, fix some bugs and then perhaps think about a BBC Micro emulator…