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.

README.md 1.3KB

5 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. # OC-PsychOS2
  2. A lightweight, multi-user operating system for OpenComputers
  3. ## Building
  4. ### The kernel
  5. The kernel is composed of a number of modules, found in the *module/* directory, as specified by a file in the *kcfg* directory, `base` by default. Which modules are included can be customised by changing the include statements in the kernel configuration file; copying it and customizing that is recommended, so you can *git pull* later without having to stash or reset your changes.
  6. #### Unix-like systems
  7. The kernel can be built using the preproc library and provided scripts:
  8. lua build.lua kcfg/base.cfg kernel.lua
  9. #### PsychOS
  10. The kernel can be built from inside PsychOS using the preproc library, assuming you have the kernel source available:
  11. preproc("kcfg/base.cfg","kernel.lua")
  12. ### The boot filesystem
  13. A boot filesystem contains several things:
  14. - The kernel, as init.lua
  15. - The lib/ directory, containing libraries
  16. - The service/ directory, containing system services
  17. - The exec/ directory, containing single-shot executable files
  18. This has been automated in the form of build.sh, pending a real makefile.
  19. ## Documentation
  20. 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.