Skip to content

ashwinvin/chip-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emulator running the rom "maze"

Chip-8 Emulator

Just another chip 8 emulator built to learn c. The emulator implementation is compliant with SUPER-CHIP specification from 1991 excluding the additional opcodes.

This project was started to quickly learn the ropes of c and its build system as such I did not pay much attention to optimization and structuring. The emulator uses raylib for its graphical needs, pretty elegant library I should say. The opcode decode and execute system is built as a huge switch case which I intend to change in future.

Caveats

  • Tone generation is not implemented.
  • The emulation speed cannot be customized.

Future Plan

  • Fix the caveats
  • Implement an actual SUPER-CHIP emulator.

Quick Start

Building

This repo is based on raylib's standard project template, hence the build process is identical.

# Run inside build/
./premake5 gmake2
# Run in project root
make config=release_x64

Running ROMs

chip-8 /path/to/rom

About

Bare bones chip8 emulator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors