Giter VIP home page Giter VIP logo

cheep8's Introduction

cheep8

CHIP-8 emulator/interpreter in Python

Dependencies

  • tk
  • pynput

Issues/Feature wishlist

  • Audio support
  • GUI to remap controls
  • Proper way to restart emulator without relaunching it (also stops user from loading another ROM)
  • GUI to change several settings (e.g. screen size/scale, clock speed)
  • CLI support
  • Port from Tk to Qt

Development notes

Initial code made in 4 days on a Windows laptop.

References

Tk

I only used Tk because it came built-in with Python for Windows. If I knew it didn't come with Python on Linux (and how ugly it looked there for that matter) I'd probably have used Qt instead. The method currently used to refresh the display is very slow and scales badly from just increasing the display size. It can only reliably meet the expected 60hz on my machine by disabling the "upscale" (setting scale to 1).

Variants/quirks

After using the quirks test from the test suite (link in references above) I was under the impression that I could add SCHIP and XO-CHIP support by just providing the options to toggle those specific quirks. Only later that I found [this link] in the test suite readme, containing an extensive list of difference including higher resolution modes, which I'm not interested in supporting at this moment. Either way, that's why I even bothered adding quirk settings and exposing them to the GUI.

Future plans

Probably not going to work on this anymore, might attempt to port it to Rust at some point, mostly for practice (just started learning it).

cheep8's People

Contributors

double-jumper 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.