Skip to content
/ CHIP-8 Public

Cross-platform Chip-8 interpreter written in C and OpenGL.

License

Notifications You must be signed in to change notification settings

grez96/CHIP-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8
CHIP-8

Cross-platform Chip-8 interpreter written in C and OpenGL.

Key FeaturesInstallationHow To UseCreditsLicense

pong gif

Key Features

  • Cross-platform - utilizes GLFW to handle native window management
    • Windows
    • Linux
    • Mac
  • Adjustable frame rate
  • Custom resolution
  • Modifiable color scheme

Installation

  • Required modules - to clone and build this aplication the following must be installed:
  • Building - From the command line run the following commands:
# Clone the repository, and enter the directory
git clone https://github.com/grez96/CHIP-8.git
cd CHIP-8

# Create the build directory (out of source build) and enter it
mkdir build
cd build

# Run CMake build system
cmake ..
  • Compilation - platform dependent
    • Linux and Mac systems (Windows as well if MiniGW is installed) can simply run make to create an executable
    • Windows systems will have to open the .sln file produced by CMake with Visual Studios and compile/run from there

How To Use

  • Main-menu - Command Line Interface
    • ROMs are numbered from 1-7, simply specify the number that corresponds to the desired ROM and press enter
    • 0 to exit
  • CHIP-8 - ROM Interpreter
    • ESC to exit any time
    • Windowing features such as minimizing, maximizing, closing, and resizing work in their native expected way
    • default keybindings:
+-+-+-+-+	+-+-+-+-+
|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|
+-+-+-+-+	+-+-+-+-+

Credits


License

MIT

About

Cross-platform Chip-8 interpreter written in C and OpenGL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages