Skip to content

dean-martin/cpu-emulators

Repository files navigation

CPU Emulators

attractdemo start

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.

Building

  • cmake
  • build-essential
git clone --recurse-submodules https://github.com/dean-martin/cpu-emulators
cd cpu-emulators
./build.sh && build/sdl_8080

Controls

C 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

About

Intel 8080 emulator for Space Invaders (1978)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published