Skip to content

0xHaru/CHIP-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8

A CHIP-8 and S-CHIP emulator written in C99. The core has no I/O and is freestanding.

Supported platforms: "modern" CHIP-8, CHIP-48, S-CHIP 1.0 and S-CHIP 1.1.

Compilation and usage

To compile the SDL implementation, make sure that SDL2 is installed, and then run make.

You can launch the program with the following command:

./chip8 <scale-factor> <emulator-frequency> <ROM>

For instance:

./chip8 10 1200 ./ROMs/games/ALIEN

Common emulator frequencies: 540, 840 and 1200 (for S-CHIP games)

References

License

This source code is licensed under the GNU General Public License v3.0.