Skip to content

0dm/dent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dent - a CHIP-8 interpreter

Includes some free ROMs to try.

usage:

dent <path_to_rom>

Screenshots

Breakout

BREAKOUT

PONG

PONG

Controls

  • F1: Pause
  • F2: Restart Game
  • F4: Exit
  • F11: Toggle Fullscreen
  • Down: Increase Game Speed (+100ms)
  • Up: Decrease Game Speed (-100ms)

Gamepad:

1 2 3 4
q w e r
a s d f
z x c v

Build

GCC: g++ main.cpp CPU/CPU.cpp GFX/GFX.cpp -lmingw32 -lSDL2main -lSDL2 -O3 -o dent.exe

Run mingw_makefile.bat to use CMake with MinGW

TODO:

-Add Sound
-Cleaner Instruction Handling

Resources

Wikipedia

Short Tutorial