Mirror of CollapseOS
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.

59 lines
2.1KB

  1. # Introduction to Collapse OS
  2. Collapse OS is a minimal operating system created to preserve
  3. the ability to program microcontrollers through civilizational
  4. collapse. Its author expects the collapse of the global supply
  5. chain means the loss of our computer production capability. Many
  6. microcontrollers require a computer to program them.
  7. Collapse OS innovates by self-hosting on extremely tight resour-
  8. ces and is thus (theoretically thus far) able to operate and be
  9. improved in a world without modern computers.
  10. # Forth
  11. This OS is a Forth. It doesn't adhere to any pre-collapse stand-
  12. ard, but is pretty close to the Forth described in Starting
  13. Forth by Leo Brodie. It is therefore the recommended introduct-
  14. ory material to learn Forth in the context of Collapse OS.
  15. If you don't have access to this book and don't know anything
  16. about Forth, learning Collapse OS could be a rough ride, but
  17. don't despair. There's a Forth primer in primer.txt.
  18. # Documentation and self-hosting
  19. Collapse OS is self-hosting, its documentation is not, that is,
  20. Collapse OS cannot read this document you're reading. Text
  21. blocks could, of course, be part of Collapse OS' blocks, but
  22. doing so needlessly uses blocks and make the system heavier than
  23. it should.
  24. This documentation is expected to be printed before the last
  25. modern computer of your community dies.
  26. # Where to begin?
  27. If you're reading this and don't know where to begin, you're
  28. likely to have access to a modern computer. The best place to
  29. begin is to build the C VM of Collapse OS in /cvm. You can then
  30. begin playing with it with the help of usage.txt and impl.txt.
  31. When you're ready to move to real hardware, read hw/intro.txt.
  32. # Other topics in this documentation
  33. * Frequently asked questions (faq.txt)
  34. * Dictionary of core Forth words (dict.txt)
  35. * Editing text (ed.txt)
  36. * Assembling binaries (asm.txt)
  37. * Remote Shell (rsh.txt)
  38. * Programming AVR chips (avr.txt)
  39. * Bootstrap Collapse OS to a new system (bootstrap.txt)
  40. * Cross-compilation mechanisms (cross.txt)
  41. * Protocols (protocol.txt)
  42. * Grid subsystem (grid.txt)
  43. * Sega Master System ROM signatures (sega.txt)
  44. * Self-hosting notes (selfhost.txt)