r/EmuDev • • 3h ago

Finding the instruction that wrote a byte in an 8080 emulator

Thumbnail
gallery
1 Upvotes

I just released emuStudio 0.50, an open-source emulator and assembly IDE for vintage computers. This release adds ZX Spectrum 48K + AY emulation and rebuilds the debugger around what the CPU actually did during a run.

The Altair clip shows my favorite part. An 8080 program prints # on an ADM-3A terminal. After the run, I select the recorded LDA 2000h and click Find previous write. The debugger jumps to the earlier STA 2000h and shows the byte it wrote.

The 8080 debugger records memory accesses in execution order alongside register changes. The disassembly can also show the branch paths the CPU took. If you’ve built a trace viewer, I’d be curious how you handle an address that gets written hundreds of times in one run.

Download and quickstart · Altair 8800 guide · ZX Spectrum 48K guide · Space Invaders guide


r/EmuDev • • 15h ago

Diving into a GBA emulator after developing a GBC emulator

1 Upvotes

Hello everyone so lately I have developed my own GBC emulator in Python, I decided to write one for the GBA as well. I will switch to another language, I think I could develop with Python but I don't want to (16 MHz is no joke), Rust seems like a good choice. I started reading some specifications from GBAtek and it is not that bad! I understand there is an 16 Kb BIOS, (I wonder where I will find that...) the ARM instruction format is radically different from the gameboy's one byte opcode format but still not that hard to parse etc. Anyways, as emu devs, I think lots of you made this transition :D how did it go? Any caveats, great sources you would recommend? I am still in the reading the technical documentations phase :D


r/EmuDev • • 23h ago

I turned an old wired gamepad into a Bluetooth controller with an ESP32 (code and wiring are open source)

Thumbnail reddit.com
1 Upvotes