Operating system for OpenComputers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
XeonSquared 2fbee483b2 move actual preproc lib into folder rather than symlinking to the version in lib/, a better solution will be considered later il y a 3 ans
cfg default rc configuration il y a 4 ans
lib move libraries out of main dist and into PsychOSPackages il y a 3 ans
module made require search the pkgfs if available il y a 4 ans
service remove vcomponent and vtunnel because they are now included in the PsychOSPackages repo il y a 3 ans
.editorconfig clipboard: Make the clipboard service work under the new service sys il y a 4 ans
.gitignore clipboard: Make the clipboard service work under the new service sys il y a 4 ans
LICENSE Initial commit il y a 5 ans
README.md updated the README to represent the current state of the system il y a 4 ans
build.lua added the preproc library, meaning PsychOS is nominally self-hosting il y a 4 ans
build.sh bumped the version number because we selfhosting now il y a 4 ans
docs-metadata.yml added a title for PDF generation il y a 4 ans
finddesc.lua Fix document generation on Windows (using Git Bash) il y a 4 ans
gendoc.lua added doc() support for pre-compiled API documentation, wrote a generator for it, and included that in the build script il y a 4 ans
luapreproc.lua added type annotations and descriptions for functions where appropriate il y a 4 ans
package.sh added minitel to the default init, updated the package script il y a 4 ans
preproc.lua move actual preproc lib into folder rather than symlinking to the version in lib/, a better solution will be considered later il y a 3 ans
template.tex updated finddesc to use the new doc library, allowing type annotations and building a directory of documentation il y a 4 ans

README.md

OC-PsychOS2

A lightweight, multi-user operating system for OpenComputers

Building

The kernel

The kernel is composed of a number of modules, found in the module/ directory. Which modules are included can be customised by changing the include statements in module/init.lua; copying it and customizing that is recommended, so you can git pull later without having to stash or reset your changes.

Unix-like systems

The kernel can be built using the preproc library and provided scripts:

lua build.lua module/init.lua kernel.lua

PsychOS

The kernel can be built from inside PsychOS using the preproc library, assuming you have the kernel source available:

preproc("module/init.lua","kernel.lua")

The boot filesystem

A boot filesystem contains several things:

  • The kernel, as init.lua
  • 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

Documentation is generated as the system is built with build.sh; a set of markdown files will be placed into doc/, as well as an all-in-one apidoc.md. If pandoc is installed, an apidoc.pdf will also be generated.