Giter Site home page Giter Site logo

yuhaaonan / oc2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fnuecke/oc2

0.0 0.0 0.0 4.83 MB

RISC-V VMs in Minecraft.

Home Page: https://www.curseforge.com/minecraft/mc-mods/oc2

License: Other

Shell 0.12% Python 0.33% Java 98.66% Lua 0.68% GLSL 0.21%

oc2's Introduction

OpenComputers II

OpenComputers II is a Minecraft mod adding virtual computers to the game. These computers run a virtual machine emulating a 64-Bit RISC-V architecture capable of booting Linux. On top of this, a high-level Lua API is provided to communicate with various devices in the game world. This enables adding virtual devices using a simple, Java-friendly API, without having to implement actual kernel drivers.

This mod is a successor to OpenComputers. At least in spirit. While many of the implementation details have changed quite dramatically, the core concepts of customizable hardware, persistence and sand-boxing are shared.

Gameplay Documentation

For documentation on how the to get computers up and running, and how to use them, see the documentation. It is available as a manual item in the game.

Development Documentation

While the mod isn't quite yet ready for release due to some remaining technical and usability issues, the API should be mostly stable at this point. For most people the high level device API will be sufficient, and is much more accessible. It centers around the RPCDevice. For a sample block implementation, see the redstone interface. For a sample item implementation, see the sound card. If you wish to dive deeper, and provide emulated hardware that requires a Linux driver, this centers around the VMDevice. For a sample block implementation, see the disk drive. For a sample item implementation, see the network card.

Building

To build this project, credentials for the Github Package Repository must be set up once on your machine (see the documentation for more information). In short, you'll want to add your username and a public access token with read:packages permissions into your ~/.gradle/gradle.properties. The properties must be named gpr.user and gpr.key.

oc2's People

Contributors

amandacameron avatar bs0dd avatar chloedawn avatar fnuecke avatar intquant avatar ipsumcapra avatar kore-signet avatar ktlo avatar lucsoft avatar mckuhei avatar squiddev avatar tome25 avatar zccafa3 avatar

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.