Skip to content
Yet Another Chip 8 Emulator
Smalltalk
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Jun 11, 2018
Chip8.pck.st Sound enabled Nov 22, 2019
LICENSE Initial commit Jun 11, 2018
README.md readme Nov 22, 2019
screen.png LayoutMorph Nov 7, 2019

README.md

Cuis-Smalltalk-Chip8

Yet Another Chip 8 Emulator

What is it?

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

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

alt text

ROMs

A collection of public domain ROMs that can be used with this emulator can be found at https://www.zophar.net/pdroms/chip8/chip-8-games-pack.html

Running a ROM

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

Feature require: #'Chip8'.

And then:

Chip8 runProgram: '/path/to/rom/filename'.

Resources

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

  • Better morphic configuration
You can’t perform that action at this time.