I use emulator projects to explore retrocomputing on small systems, learning about the hardware and its limits as I build. In May 2024 I described what I learned from a ZX Spectrum emulator, planned further improvements, and set out an Apple II emulator as a possible next project.
I found the ZX Spectrum emulator project a pretty cool experience.
I was able to study the RP2040 in depth while working on the emulator.
I read quite a bit of compiler-emitted assembly in the process.
I got a digital analyzer and played with the limits of SPI update frequency.
I planned to improve the Spectrum emulator a little bit in the next weeks.
I planned to test more games and keymaps for the Spectrum emulator.
I wanted to write an Apple II emulator from scratch, with small MCU systems in mind.
I said the Apple II and ZX Spectrum have basically zero hardware other than the video generation.
I describe both machines as CPU + VRAM video rendering + 1 bit sound controlled by the CPU directly.
In my opinion, the 6502 is a lot simpler / enjoyable to emulate than the Z80.
I'll call my emulator complete when it can run well Price of Persia.
My reverse-engineering work comparing the original system with QEMU had to pause because my @OpenAIDevs tokens were gone for the next 48h.
I needed the left tokens for Redis work, so the reverse engineering had to end there.
I said I would resume the reverse engineering in two days.
In my comparison of the original system with QEMU, I was already well into initialization.
I reported that fork() works in the reverse-engineered system.
I reported that sometimes the linking of /dev/console works too.
I shared a link to the reverse-engineering progress: https://t.co/vaYoDKV7hC.