View Code? Open in Web Editor
NEW
A fully funtional CHIP8 Emulator build in C using Raylib for GUI handling. Handles all 35 opcodes.
chip8's Introduction
- Handles all 35 opcodes as mentioned in the CHIP8 archives.
- Renders most of the ROM's. (Excluding Super CHIP8)
- Currently running at 800 instructions per frame.
- Emulator configured to 60 FPS.
- Plan to add sound timer for ROM's utilising the sound register.
- Making the Emulator more cocnfigurable from the terminal using args. (In terms of display size, refresh rate etc).
- Creating my very own test ROM.
- Make sure build-essentials are installed on the system
sudo apt-get install build-essentials
.
make
Compiles the release code provided raylib package is located on the system.
make debug
Compiles the Debug binary which has required debug output for different opcodes.
make clean
Removes the binary which is compiled and cleans up the folder.
- After compiling to run
./chip8 <Rom file name>
- Verifying most opcodes are working
![Screenshot from 2024-05-09 19-18-29](https://private-user-images.githubusercontent.com/76161837/329266828-30b039d7-662b-4563-bfff-c10cf87f9364.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyOTg1NDIsIm5iZiI6MTcyNTI5ODI0MiwicGF0aCI6Ii83NjE2MTgzNy8zMjkyNjY4MjgtMzBiMDM5ZDctNjYyYi00NTYzLWJmZmYtYzEwY2Y4N2Y5MzY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDE3MzA0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2YmM5ZDdlZjA3NjFlNTkyMjg0ZDEzNTg4YTk0ZTMzZTMxNWExMjViYjYwNzk0NDgzMTM4ZTZlNDMzOTg0NjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.c6IIhV5cjImEtj77w-_KT0IuY1RooTXoQejc99rYC-I)
chip8's People
Contributors
Stargazers
Watchers