Skip to content

alvaruto/chip-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Emulator (Interpreter)

Very basic CHIP-8 emulator written in C/C++ using Simple DirectMedia Layer as input/graphics library.

Usage

chip8emulator.exe game.ch8 delayValue scale

Where delayValue will vary between one computer and another (this is because the CHIP-8 clock is adjusted using a busy loop, will change in the future), but a natural number between 1 and 10 should be fine. scale is up to the user, 10 or 20 are good numbers to try for the first time.

Hex keypad is setup like this:

Keypad 		Keyboard
+-+-+-+-+ 	+-+-+-+-+
|1|2|3|C| 	|1|2|3|4|
+-+-+-+-+ 	+-+-+-+-+
|4|5|6|D| 	|Q|W|E|R|
+-+-+-+-+	+-+-+-+-+
|7|8|9|E| 	|A|S|D|F|
+-+-+-+-+ 	+-+-+-+-+
|A|0|B|F| 	|Z|X|C|V|
+-+-+-+-+ 	+-+-+-+-+

Where can I download games to try it?

I have played some games as well as tested the emulator implementation using ROMs from The Old Computer

References

About

CHIP-8 Emulator (Interpreter)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages