Coder Social home page Coder Social logo

chip8's Introduction

Chip8 Emulator

This is my second Chip8 emulator, this time it was written in modern C++, with some usage of templates and smartpointers.

General Information

The emulator is quite simple, it works on the usual CPU interpretation model of fetch, decode, execute.

It implements all the usual Chip8 opcodes, the correctness has been tested against multiple test roms.

In the repository there's a bricks rom for testing.

Architecture

The emulator is separated in the main Chip8 class, Fonts, Keyboard, Renderer and Screen. Although all of them could have been implemented in the same file in a procedural way, I opted for implementing them using thin layers of abstraction with just enough separation, so that most of the specification and configuration of the specifications stayed all in the Chip8 class, and the rest is instantiated with their respective passed values.

In Action

This is a screenshot of the emulator working:

image info

Main Resources

CowGod's Chip8 Reference

chip8's People

Contributors

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