Giter Club home page Giter Club logo

chippin8's Introduction

Chippin8

Chippin8 is an emulator for a CHIP-8 system, which is an interpreted programming language and virtual machine that was used in early microcomputers such as COSMAC VIP. The simplicity of the virtual machine makes it a great introduction for designing emulators.

This emulator is capable of running CHIP-8 ROMs (.ch8 files) and uses the keyboard for input. CHIP-8 uses a hex keyboard layout, so 16 keys in total. This emulator uses the following:

1 | 2 | 3 | 4
Q | W | E | R
A | S | D | F
Z | X | C | V

Dependencies

Chippin8 uses the SDL2 library to render graphics to the screen, handle keyboard inputs, as well as set the frame rate of the display.

Build

Use the Chippin8.sln file to build the project in Visual Studio. Make sure you have SDL2 installed and that the include and library paths are set appropriately in your Project Settings. You can find the built executable in ./x64/Debug/Chippin8.exe.

Usage

Run the program through the Terminal/Powershell and provide the path of a CHIP-8 ROM file as its argument. Optionally, you can set the display scale size and the cycle delay as addidional arguments.

./<Chippin8>.exe <ROM_file>.ch8 [Video Scale (number)] [Cycle Delay (number)]

Screenshots

screenshotIBM screenshotSoccer

References

I used a variety of sources and leanred a lot while doing this project. Here are some references I used to learn and understand the system and write the emulator

chippin8's People

Contributors

caffeine98 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.