Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C8

My attempt at an emudev hello world project, learning C at the same time. Using Raylib.

WIP

Build

From the root of the repo, builds in debug configuration by default:

Linux:

cd build && chmod +x ./premake5 && ./premake5 gmake && cd .. && make

Windows:

cd build && ./premake5.exe gmake && cd .. && make

Run

Debug:

./bin/Debug/c8 ./tests/ibm.ch8

Release:

./bin/Release/c8 ./tests/ibm.ch8

Tests

Test cartridges are located in tests. Most of these were taken from the https://github.com/Timendus/chip8-test-suite/ repository, which is very much appreciated.

Resources

Beep sound - https://bigsoundbank.com/beep-of-a-cash-register-s1417.html

TODO

  • Unfuck logging
    • Write into a file stream instead of stderr
  • Tests
  • Update shift instructions to be OG CHIP-8 compatible by default ig

About

CHIP-8 emulator in C

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Contributors

Languages