Skip to content

A C++ implementation of an emulator for the CHIP8 System

Notifications You must be signed in to change notification settings

kishore-ganesh/chip8Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chip8Emulator

A C++ implementation of an emulator for the CHIP8 System

This is a work in progress implementation of an emulator for the CHIP8 system. 34 opcodes have been implemented, and both graphics and input seem to be working fine(For most games).

Space Invaders is working correctly, as is Tetris, Blink, Pong, Maze and more. We haven't tested all games, but we've fixed bugs in the above games, which are now working fine.

SDL has been used for graphics, input and introducing timed delays.

Extensive testing has not been conducted yet, but it is rendering Pong and Space Invaders correctly.

Since 6432 pixels is too small for modern devices, we mapped these pixels to larger 1616 rectangles, and it looks fine.

P.S: The fontset was taken from multigesture.net. Huge thanks to this website for extensively documenting much of the CHIP8 emulation process, giving a great start to this project.

Future todos:

  1. Fix input issues (DONE)
  2. Make timer clock rates independent from emulation clock rate (DONE)

About

A C++ implementation of an emulator for the CHIP8 System

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published