An open API service indexing awesome lists of open source software.

https://github.com/jamesduncombe/dip

CHIP-8 emulator/interpreter
https://github.com/jamesduncombe/dip

c chip-8 chip8 chip8-emulator emulators interpreter sdl2

Last synced: 4 months ago
JSON representation

CHIP-8 emulator/interpreter

Awesome Lists containing this project

README

        

# Dip 🕹

Emulator / interpreter for the CHIP-8 VM.

On MacOS...

![Space Invaders on CHIP8](./invaders.png)

On an [ESP32](https://heltec.org/project/wifi-kit-32/) after some porting...

![Space Invaders on Heltec ESP32 Wifi Kit 32](./esp32-space-invaders.jpg)

## Building

Dip depends on [SDL2](https://www.libsdl.org/) and [SDL2_gfx](https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/).

To build under a Debian/Ubuntu based system:

```
apt-get install build-essential libsdl2-dev libsdl2-gfx-dev
```

Under MacOS, assuming you have Homebrew and clang installed, it's:

```
brew install sdl2 sdl2_gfx
```

Windows... I have no idea 🤩

Once you have those installed you should be able to build Dip with `make`.

Then spin it up with:

```
./dip -r [path to rom file]
```