Code Monkey home page Code Monkey logo

microprocessed's People

Contributors

nrivard avatar

Watchers

 avatar  avatar

microprocessed's Issues

Convert `Microprocessor` to an `actor`

Microprocessor is currently a class but makes no effort to protect its internal state when accessed from other threads. We should explore converting this to the new actor model. This will likely affect speed but this could be an acceptable trade-off

Keep track of cycles executed

Microprocessor doesn't currently care about cycle accuracy so certain timing schemes that rely on this won't work with this simulation. Many C implementations already have this so perhaps we can look at those and add that to this implementation.

Abstract `Microprocessor` to a protocol

It would be nice to abstract Microprocessor to a protocol so we can have multiple 6502 implementations or even other 8-bit cpu implementations: 6800 or Z80 come to mind.

Speed still very slow

we are spending a ton of time just doing opcode comparisons. the opcode layout though is pre-known, so the multitude of Set<UInt8>s that we have should all be converted to a pre laid out (and possibly unsafe because we use every single number in UInt8) Array. then we can see what other speed improvements are possible.

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.