Git Product home page Git Product logo

6502emu's People

Contributors

denebtm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

6502emu's Issues

create keyboard plugin(s)

Handling keyboard input in the PET 2001 character device is rather meh, be nice if this could be done in its own plugin for purposes of reuse between different character device implementations

Requirements besides the obvious:

  • Should be able to catch key events on an ImGui window of choice
  • Adjustable keymap

decouple peripheral device instances from plugins

The changes from #4 cause symbol lookup errors upon loading a second instance of a plugin, due to the new namespace not having access to symbols in the main namespace

This currently causes a load failure on PIA2 with configs/{pet2001,basic4,basic4_turbo}.yaml (though nothing needs it right now anyways)

optimize plugin updates

Currently, plugins that provide an update function run it on each CPU clock cycle, which slows things down tremendously

Perhaps some sort of "run Plugin1 update on clock cycle X" system could be implemented without sacrificing emulation accuracy

per-plugin configuration options

Plugins should be able to have their own configuration options they can access at runtime

To think about: Maybe these should be shared between all plugins, so that e.g. Plugin1 can look up ConfigOptionA of Plugin2

refactor plugin callback system

The reason plugin_callback exists is because I couldn't get plugin-to-program symbol binding (e.g. extern Emu6502 cpu working. This should be re-evaluated, because void* arguments with a cast are an ugly C-ism.

Best-case: plugin-to-main symbol binding can work -> no callback, provide a few useful functions for plugins to use

Worst-case: have plugin_init populate a list of function pointers instead of a single callback

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.