Git Product home page Git Product logo

chippy8's Introduction

Chippy8

Chip8 emulator, assembler, disassembler, with simplistic curses debugging interface.

Requirements

Chipp8 has been tested with python3.8.

Install the requirements with:

pip install -r requirements.txt

Usage

Demo

To assemble the simple demo program:

chippy8 asm demo/23.asm demo_23.c8

To run it:

chippy8 emulator demo_23.c8

Chippy8 emulator demo

To run it in debug mode:

chippy emulator -d demo_23.c8

Chippy8 emulator debug demo

Chippy8 Assembler

chippy8 asm PROGRAM.asm BINARY

Assembles PROGRAM.asm into the Chip8 binary file BINARY

Chippy8 Disassembler

chippy8 disasm BINARY OUT.asm

Disassembles BINARY, writting the assembly code into OUT.asm

Chippy8 Emulator

chippy8 emulator BINARY

Execute BINARY using on the chip8 emulator.

Optional flags:

  • -d: run in debug mode, displaying current registry values, and program execution flow. SPACE key will stop execution. n key will execute instructions step by step.
  • -b: add a breakpoint at the start of the program. Use the n key for step by step execution. Ignored if not in debug mode (-d).
  • -f FREQ: specify (approximate) CPU frequency. Defaults to 60Hz

chippy8's People

Contributors

nbr23 avatar

Watchers

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