A work in progress, but in a playable state. The initial Intel 8080 CPU is done. Writing a simple test suite helped find a ton of bugs. Hardware emulation is still in progress. Timing and refresh rate is off.
I'm using SDL3 as a vendored git submodule.
- cmake
- build-essential
git clone --recurse-submodules https://github.com/dean-martin/cpu-emulators
cd cpu-emulators
./build.sh && build/sdl_8080C to insert credit
1 & 2 for Start Player 1 and Start Player 2
Left, Right, UP/Spacebar for both players
P to Pause
T for TILT (historical anticheat for pinball, causes GAME OVER)
D for Debug stepping CPU in terminal on carriage return. In the terminal running the app, type 'd' then (carriage return, enter) to stop. 'q' to quit.
TODOs:
- Colors.
- Fix Timing, Refresh Rate.
- Scale scale OR stretch blitting. (Current window is very small)
- Sound Emulation
- Threading? Good chance to dabble with here.
Copyright Dean Martin

