https://github.com/jinxedbuffer/emu8
A CHIP-8 emulator (or interpreter) written in C++.
https://github.com/jinxedbuffer/emu8
chip-8 chip8 chip8-emulator chip8-interpreter cpp emu8 sdl2
Last synced: 4 months ago
JSON representation
A CHIP-8 emulator (or interpreter) written in C++.
- Host: GitHub
- URL: https://github.com/jinxedbuffer/emu8
- Owner: jinxedbuffer
- License: mit
- Created: 2024-04-04T15:39:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-10T03:58:53.000Z (about 1 year ago)
- Last Synced: 2024-04-10T05:04:44.773Z (about 1 year ago)
- Topics: chip-8, chip8, chip8-emulator, chip8-interpreter, cpp, emu8, sdl2
- Language: C++
- Homepage:
- Size: 114 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EMU8
A CHIP-8 emulator (or interpreter) written in C++ with SDL.# Screenshots
# Run
To run, type `./emu8 [game filename]`.
Or you can run `make` to compile it from source code (make sure you have `libsdl2-dev` installed).# Keypad
```
ACTUAL CHIP8 EMU8
KEYPAD KEYPAD
+---------+ +---------+
| 1 2 3 C | | 1 2 3 4 |
| 4 5 6 D | | Q W E R |
| 7 8 9 E | | A S D F |
| A 0 B F | | Z X C V |
+---------+ +---------+```
# Customizatons
- To change the clock speed of CPU according to your need, just modify `CLOCK_SPEED` in `src/include/cpu.h`. By default, it has been set to 540hz.
- To change the frequency and volume of the beep sound, go to `src/include/beeper.h` and modify `BEEP_FREQUENCY` and `AMPLITUDE` respectively.
- To change the screen size of window, go to `src/include/gfx.h` and modify `SCALE_FACTOR` according to your need.# TODO
- [x] Add sound
- [x] Performance improvements
- [ ] GUI Interface# References