Operating system for OpenComputers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sam Roxanne 76de8ca302 find, filter, skeletons 1 month ago
.buildactions s m o l 1 month ago
cfg find, filter, skeletons 1 month ago
lib find, filter, skeletons 1 month ago
module s m o l 1 month ago
service find, filter, skeletons 1 month ago
.editorconfig clipboard: Make the clipboard service work under the new service sys 1 month ago
.gitignore clipboard: Make the clipboard service work under the new service sys 1 month ago
LICENSE Initial commit 1 year ago
README.md updated the build instructions, script and gitignore 8 months ago
build.sh s m o l 1 month ago
build.sh.old s m o l 1 month ago
docs-metadata.yml added a title for PDF generation 2 months ago
escape.lua s m o l 1 month ago
finddesc.lua Fix document generation on Windows (using Git Bash) 2 months ago
gendoc.lua added doc() support for pre-compiled API documentation, wrote a generator for it, and included that in the build script 2 months ago
luabuild.lua s m o l 1 month ago
luapreproc.lua added type annotations and descriptions for functions where appropriate 2 months ago
package.sh added minitel to the default init, updated the package script 7 months ago
psychos.tsar find, filter, skeletons 1 month ago
template.tex updated finddesc to use the new doc library, allowing type annotations and building a directory of documentation 2 months ago
test.lua s m o l 1 month ago
zlua.lua s m o l 1 month ago

README.md

OC-PsychOS2

A lightweight, multi-user operating system for OpenComputers

Building

The kernel

The kernel can be built using luapreproc:

./luapreproc.lua module/init.lua kernel.lua

The boot filesystem

A boot filesystem contains several things:

  • The kernel, as init.lua
  • The exec/ directory, as this contains all executables
  • The lib/ directory, containing libraries
  • The service/ directory, containing system services

This has been automated in the form of build.sh, pending a real makefile.

Documentation

To generate function documentation, run:

./finddesc.lua module/* lib/* > apidoc.md