Intel 8080 CPU emulator to play Space Invaders in C (SDL2 for graphics)
gcc -o invaders cpu8080.c invaders.c -lSDL2
./invaders your_rom
Because of copyright you should find the rom on the internet and combine it to 1 file
cat invaders.h invaders.g invaders.f invaders.e > rom
| Key | Function |
|---|---|
| C | Insert coins |
| 1 | P1 plays |
| 2 | P2 plays |
| Z | P1 moves left |
| X | P1 moves right |
| V | P1 shoots |
| N | P2 moves left |
| M | P2 moves right |
| Dot (.) | P2 shoots |
