8000 GitHub - geaz/emu-chip-8: A CHIP-8 emulator written in C++
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

geaz/emu-chip-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A CHIP-8 emulator written in C++

This project was done to learn how to write a simple emulator, get a bettter understanding of CPUs and to learn a bit of C++.

Because I wanted to display some debug information, I was forced to learn a bit of OpenGL (core mode), too. I wrote a small "screen" framework for OpenGL. The CHIP-8 output, memory debugger and register debugger are all seperate "screens", added to the OpenGL window by defining a simple grid layout. The grid layout is very naive, but enough to be used by this application. It also includes a simple resource manager to load shaders and fonts. The font class contains a method to render text and uses stb_truetype to create a bitmap of the font fil 669A e.

This emulator should run cross platform. Use CMAKE to compile it and run it with the roms in the roms folder.

Usage example (Windows):

emu-chip-8.exe roms/BRIX

The emulator is in pause state on start.
Use p to pause/play.
Use n to step to next operation.

emu-chip-8-gif

Ressources

About

A CHIP-8 emulator written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0