GithubHelp home page GithubHelp logo

chip8-rust's People

Contributors

yamgent avatar

Watchers

 avatar

chip8-rust's Issues

Instructions for chip8

Basic:

  • 00E0 (clear screen)
  • 1NNN (jump)
  • 6XNN (set register VX)
  • 7XNN (add value to register VX)
  • ANNN (set index register I)
  • DXYN (display/draw)

Others:

  • 0NNN: Execute machine language routine
  • 00EE and 2NNN: Subroutines
  • 3XNN, 4XNN, 5XY0 and 9XY0: Skip
  • 8XY0: Set
  • 8XY1: Binary OR
  • 8XY2: Binary AND
  • 8XY3: Logical XOR
  • 8XY4: Add
  • 8XY5 and 8XY7: Subtract
  • 8XY6 and 8XYE: Shift
  • BNNN: Jump with offset
  • CXNN: Random
  • EX9E and EXA1: Skip if key
  • FX07, FX15 and FX18: Timers
  • FX1E: Add to index
  • FX0A: Get key
  • FX29: Font character
  • FX33: Binary-coded decimal conversion
  • FX55 and FX65: Store and load memory

Cpu tests

Ensure that each instruction behaves as we expected.

Fix beep sound artifacts

Sometimes, the beep sound stops and starts abruptly, resulting in a "glitchy" sound. This can be fixed by making the sound fade instead of immediately stopping / starting it.

Support configuring CPU quirks

Some instructions have ambiguous behaviours. Perhaps a command line argument / JSON config can be provided to change the behaviour of the CPU, for programs that depend on alternative behaviours.

Can also allow configuring other values such as the frequency of the beep.

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.