Coder Social home page Coder Social logo

chip8's Introduction

chip8

My implementation of a chip 8 emulator using c++

The program was devloped under Debian 10 using the following application requirements to build and execute:

This code is incomplete and a WIP (don't use it).

Usage

To build the code from scratch use:

$ ./build.sh

This will generate the Makefile using cmake and execute the build process. If successful, then an executable named chip8 will be available in ./build/chip8. The program is executed directly using:

$ ./build/app {rom file}

e.g.

$ ./build/app roms/INVADERS

The project also contains a BASH wrapper at the root of the script to perform the execution:

$ ./chip8 roms/INVADERS

The build uses an "out of source" method for building its objects. To remove all intermediate files use:

$ ./clean.sh

This will remove the build directory and executable files. One could also just remove the build directory directly.

To see debugging messages set the DEBUG environment variable to true and rebuild the project. This will be slower than the release type build becuase the exe will contain debug symbols and log messages will be printed to standard out.

References

  1. https://www.libsdl.org/
  2. https://sourceforge.net/p/cppcheck/wiki/Home/

chip8's People

Contributors

jmquigley avatar

Watchers

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