Skip to content

Emulated Space Invaders arcade machine running on Intel 8080 processor

Notifications You must be signed in to change notification settings

danhalv/spaceinvaders-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders - Emulator

This is an emulation of the 1978 arcade machine used to play Space Invaders written in C. The emulator consists of two parts: the Intel 8080 CPU found inside the machine and the rest of the hardware necessary to run the game.

Menu screen and attract mode

main menu attract mode

How to build

ROMs

First of all the project requires the ROM files for the game. These are copyrighted and can't be uploaded with the project, but can be found online. In the project folder they should be saved in a folder called /res/roms/. The following files are required:

  • invaders.e
  • invaders.f
  • invaders.g
  • invaders.h

Building the project requires a C compiler and is easiest built using make.

Dependencies:
  • SDL2

Ubuntu 18.04

  1. Get SDL2 library:

     sudo apt install libsdl2-dev
    
  2. In project folder, run:

    • gcc:

        make && ./spaceinvaders
      
    • clang or other compiler:

        make CC=clang && ./spaceinvaders
      

Controls

ACTION KEY
Insert Coin c
Start 1P return
Start 2P 2
Shoot Space
Move Left
Move Right
Quit q

References

About

Emulated Space Invaders arcade machine running on Intel 8080 processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published