Skip to content

Zipnx/ChipAight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChipAight

A minimal Chip8 emulator in C

Chip-8 Reference: http://devernay.free.fr/hacks/chip8/C8TECH10.HTM

Building

Will probably port this to windows at some point, only needs some tweaking in the Makefile.

Requires SDL2 to be available (uses sdl2-config for building)

You might have to change the compiler path for your specific system.

To build the emulator run

make build

To run you can then use

./emulator <CH8 Bytecode File>

or to print the help menu:

./emulator -h

If a file is not specified a default test file will be used

TODO:

  • Documentation (lmao)
  • Proper logging
  • More args
  • Make keys more responsive, current system is terrible
  • Fix the input mapping
  • Disassembler / Assembler Tools
  • Add a proper display
  • Properly have SDL2 render at 60fps
  • Cmdline arguments
  • Fix timers to tick at 60hz
  • Drawing to display
  • Keyboard inputs

About

A minimal Chip8 emulator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published