Skip to content

dsocolobsky/chp8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chp8

screenshot This is a simple Chip-8 emulator written in C. This is made purely for educational purposes and the code is intended to be as clear and readable as possible.

How to run

Just run make and then execute ./chp8 somerom.ch8. The project requires SDL2 and GLEW.

Features

  • Display
  • ROM Disassembly view and step-by-step debugger
  • Memory view
  • Both on-screen and keyboard input

Keymap

The keyboard is mapped to the Chip-8 keypad as follows: keymap

(Thanks HackADay for the picture, out of coincidence we ended up using the same mapping)

Roadmap

(In no particular order)

  • Add Sound
  • Add feedback when pressing keys in the on-screen keyboard
  • Fix screen's refresh-rate
  • Fix input's rate

How does it work?

The code is intented to be self-explanatory, for more information about Chip-8 you can read:

Acknowledgements

  • Ignacio Losiggio (@iglosiggio) for writing a big part of the GUI
  • Cowgod for his Chip-8 Reference

About

Chip-8 emulator written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published