Giter Site home page Giter Site logo

emulib's Introduction

emuLib

emuLib Build Maven Central License: GPL v3

emuLib is a run-time library used by emuStudio, universal emulation platform, and its plugins.

Usage

For Maven, use:

    <dependency>
        <groupId>net.emustudio</groupId>
        <artifactId>emulib</artifactId>
        <version>12.0.0</version>
    </dependency>

For Gradle, use:

    implementation 'net.emustudio:emulib:12.0.0'

Important changes

Until version 9.0.0 emuLib used different group (net.sf.emustudio) and artifactId (emuLib). From version 10.0.0 onwards it uses group net.emustudio and artifactId emulib (all lowercase).

Deployment

The library should be placed in lib/ directory where emuStudio is installed. For example: emuStudio/lib/emulib.jar.

Getting started

TLDR; Click here for more robust documentation of plugin development.

The library defines API for emuStudio plugins. A plugin is represented by single object which implements net.emustudio.emulib.plugins.Plugin interface (or it's derivative). Plugins can also implement so-called "contexts", which are used for inter-plugin communication.

Plugins can also communicate with emuStudio application API, using object net.emustudio.emulib.runtime.ApplicationApi obtained during plugin construction.

Generally, package net.emustudio.emulib.plugins is the API which plugins need to implement. Then, in package net.emustudio.emulib.runtime.helpers are utility classes which might be useful for the runtime, like:

  • Number utilities which can do various radix conversions or other number manipulations (NumberUtils, RadixUtils, DecodingStrategies)
  • Intel HEX file generator/loader (IntelHEX)

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.