Code Monkey home page Code Monkey logo

cppchip8emu's Introduction

Chip8 Emulator

This is a chip8 emulator written in C++.

This project works on Ubuntu with cmake and libsdl2-dev installed.

To compile:

    cd cmake-build-debug
    cmake ..
    make

To run:

```
   cd cmake-build-debug
   ./Chip8_Emulator ../roms/PONG
```

To get some help run:

```
   cd cmake-build-debug    
   ./Chip8_Emulator -help
```

Use the -t flag to print the program counter, register values and opcode executed each cycle.

Use the -s flag to execute one instruction at a time waiting for you to press enter after each cycle

Here's a screenshot:

The key mapping is 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

License

This project is licensed under the GPLv3+. The file LICENSE includes the full license text.

cppchip8emu's People

Contributors

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