My intro into emulator dev with Chip 8!
A chip8 emulator written in C and using SDL2 for rendering.
Chip8 is an old virtual machine. It has games and a pretty simple instruction set. Thus, its a pretty good start for emulator development.
Play chip8 roms. No sound yet but thats because im lazy.
I use CMake as a build system but a Makefile I wrote to automate stuff.
- Requirements
- CMake 3.13.4 or greater
- You may need libsdl2-dev if you cant build it with my Makefile
Using System SDL2 CMake
make USE_SYSTEM_SDL2=ON
Using SDL2 in subdirectory build (Unix or OSX)
git submodule update --init --recursive
make
Install
make install
Run BC_Test.ch8
make opcode_test
- Implement Opcodes and pass BC_Test
- Add SDL2 Dependency
- Implement Display
- Setup CMakeLists.txt build
- Implement Sound
- Something is wrong with the keymappings