Git Product home page Git Product logo

chip8-squeak's Introduction

Yet Another Chip 8 Emulator

What is it?

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

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

alt text

Installing and running a ROM

  1. Make sure you have Metacello installed, running:
Installer ensureRecentMetacello.
  1. Load the project with:
Metacello new
  baseline: 'Chip8';
  repository: 'github://thiagoslino/Chip8-Squeak:master';
  load
  1. Running a ROM
Chip8Presenter runProgram: '/path/to/rom/filename'.

The CHIP-8 had no specified clock speed, so we'll use a delay to control it. Different games run best at different speeds, so we can control it here.

ROMs

A collection of public domain ROMs that can be used with this emulator can be found at:

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 Keypad Keyboard Key
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

Resources

TODO

  • Automatic ROMs download from Zophar
  • Better morphic configuration (roms download button, etc...)

chip8-squeak's People

Contributors

thiagoslino avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.