Yet Another Chip 8 Emulator
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
.gitignore Initial commit Jun 11, 2018
Chip8.pck.st step time = 8 (faster) Jun 14, 2018
LICENSE Initial commit Jun 11, 2018
README.md Update README.md Jun 11, 2018

README.md

Cuis-Smalltalk-Chip8

Yet Another Chip 8 Emulator

What is it?

This project is a Chip 8 emulator written in Smalltalk (Cuis).

The original goal of these project was to learn how to code a simple emulator in smalltalk.

Running a ROM

After cloning this repo, open a workspace in Cuis and type:

Feature require: #'Chip8'.

And then:

(Chip8 new loadProgram: '/path/to/rom/filename'; asMorph) run.

You can get Chip-8 roms at https://www.zophar.net/pdroms/chip8/chip-8-games-pack.html

Regular Keys

The original Chip 8 had a keypad with the numbered keys 0 - 9 and A - F (16 keys in total). Without any modifications to the emulator, the keys are mapped as follows:

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

TODO

  • Enable sound
  • Better morphic configuration