Chip8 Emulator in Swift Playgrounds
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chip8-emu.playground
.gitignore
README.md
Responses.md
screenshot.png

README.md

Chip8 Emulator in Swift Playgrounds

This playground was created for Apple's WWDC Scholarship Program 2018. It emulates the functionality of the Chip8 virtual CPU and includes several public domain ROMs for demo purposes (see the source code for more information). It runs on macOS.

This was my first time implementing an emulator as well as my first time using Swift. While perhaps not the best example of Swift coding style or efficient emulator architecture, the source code should be relatively understandable even to those without much Swift experience. Furthermore, Playgrounds allows users to poke at CPU internals like register state, memory state, and current opcode in real time, which may be helpful.

Screenshot

Connect4 Screenshot

Chip8-emu running a Connect4 ROM