Giter Club home page Giter Club logo

liskelos's Introduction

Liskel OS

A basic OpenComputers operating system that is fast and lightweight.

Versions

Current version: LiskelOS 2.2.1

Previous version: LiskelOS 1.8 (Deprecated)

Features

  • Basic lightweight file input and output library.
  • Basic lightweight graphics library.
  • Shuts down and starts up instantly on any computer.
  • Console history and command recall function.
  • Scroll up and down your console history using mousewheel (requires compatible monitor).
  • Load custom libraries and programs using liskel's built in autorun capability.
  • Lightweight enough that it can run on a potato.
  • Does not change much of the core lua libraries and does not load any unnecessary libraries into memory.
  • Perfect as a test bootloader for another operating system.
  • Basically a barebones operating system designed for use with developing custom BIOS'es and OS'es
  • Liskel 2.1 offers a modular design and an improved system management

Installation

To install LiskelOS follow these steps:

  • In OpenOS, mount an empty drive (mount)
  • Go into where the drive is mounted (cd)
  • Create an init.lua file in the drive using the text editor (edit init.lua)
  • Copy the LiskelOS code from here: liskel2.lua
  • Paste the code into the new file. [Middle Mouse Button] or [Insert] to paste
  • Press [Ctrl-S] to save and [Ctrl-W] to exit the text editor
  • Shutdown and remove other drives with an OS to ensure that LiskelOS is selected by the EEPROM at boot
  • Start up the computer

How to use

  • Note: Some commands in OpenOS are not available in Liskel since they are implemented in OpenOS and thus are not in the core libraries. *

  • Based on OS 2.1 *

Print to console:

print("hello world!")

Getting a file handler

-- returns a file handler which can be used as a parameter for other commands
f.open("openfile.txt")

Reading a file:

-- read file contents to console
print(f.readfile(f.open("afile.txt")))

Writing to file:

f.write(f.open("newfile.txt"),"text to write out")

Run a lua file:

-- no need to put .lua on the end of the filename
f.run("luafile")

Print a table

-- prints the table named 'mytable'
print(mytable)

-- alternatively this can be used to print out the functions in a table like 'component'
-- examples:
print(component) -- prints out functions provided by component
print(f) -- prints all functions provided by the built in file IO library
print(component.filesystem.address) -- prints out filesystem UUID
print(_G) -- prints out all functions and tables in global (2.1 only)

And much more! Just use the print feature above!

liskelos's People

Contributors

cyntachs avatar rollinghog 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.