Giter Club home page Giter Club logo

love-8's Introduction

LOVE-8

A LOVE-8 relationship

This is a CHIP-8 emulator that aims to embrace the platform's diversity.

CHIP-8 was created in 1977 as a virtual machine for computer games, and has since seen a wide variety of extensions and implementations. Today, creating a CHIP-8 interpreter is a "Hello, world"-style rite of passage for any emulator developer, and there's an interpreter for nearly every computing platform in existence.

Many of the CHIP-8 extensions are obscure and poorly supported, while many popular implementations today are subtly incompatible with the original interpreter.

Written in Lua, using the LÖVE framework. To run, install LÖVE first.

love-8's People

Stargazers

 avatar

Watchers

 avatar  avatar

love-8's Issues

Emulate cycles

Not sure if this is a duplicate of #2 or not.

Things to think about:

  • Fetch and execute more than one opcode at a time
  • Make sure timers tick down at ~60 Hz
  • Lock FPS? (See above)

Debug options

  • Break on unknown opcode
  • Breakpoints
  • Break on V access/change
  • Break on memory write/read

Test ROM

I want to make a test ROM that doesn't simply test for SCHIP compatibility (like all the existing ones do?) but classifies your compatibility.

Draw to canvas

Don't draw everything to the screen each frame, that's probably pretty slow (see #2). Instead, draw to a canvas whenever the screen data changes, and draw the canvas to the screen each frame.

Reorganize code base

  • Get rid of globals
  • Create CPU object, and probably others
  • Split into multiple files

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.