Archived
1
Fork 0
Chip-8 emulator with debugging functionality
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2022-03-29 22:55:57 -04:00
cmake Add initial files 2020-04-29 14:47:33 -04:00
extern Update doctest header 2022-03-29 22:06:17 -04:00
misc Add screenshot to README 2020-05-30 05:39:38 -04:00
roms Add initial files 2020-04-29 14:47:33 -04:00
src Add special addressing functions for X, Y, N, etc 2022-03-29 22:55:57 -04:00
tests Add tests for 0x00E0 and 0x00EE 2022-03-29 22:25:46 -04:00
.gitignore Add CLion files to gitignore 2022-03-29 21:56:52 -04:00
CMakeLists.txt Fix Windows build 2022-03-27 21:16:43 -04:00
LICENSE Update license year 2022-02-28 21:25:40 -05:00
README.md Add mirror links 2022-03-22 10:33:27 -04:00

chip8

sourcehut GitHub
mirror ryne.moe
mirror

A chip8 emulator that I implemented in C++. It only implements the SCHIP instruction set, and can play many modern roms found online. There's a basic memory viewer and debugger available as well.

example result

This emulator also comes with a basic compiler that takes a C-style language as input and can spit out valid CHIP-8 code:

var count = 3;
label(main);
count += 3;
draw_char(0, 5, count)
jump(main);