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.
devisn 0576d2dfa1
a recipe for the ZX Spectrum (#105)
преди 3 години
apps Move "forth" folder to project's root folder преди 4 години
avr recipes/sms/kbd: use Collapse OS' AVR assembler преди 4 години
doc doc: add reverse engineering notes for trs80-4p преди 4 години
emul forth: transform (find) into FIND which is an indirect call преди 4 години
fonts sms/vdp: use fonts from kernel/fnt преди 4 години
forth forth: transform (find) into FIND which is an indirect call преди 4 години
kernel a recipe for the ZX Spectrum (#105) преди 3 години
recipes a recipe for the ZX Spectrum (#105) преди 3 години
tests forth: Replace "SKIP?" with "(?br)" преди 4 години
tools bin2c: add missing stdtypes.h преди 4 години
.gitignore cfspack: make into a library преди 4 години
.gitmodules Move "emul" folder to root преди 4 години
.travis.yml Add travis support преди 4 години
CODE.md basic: add buffer line index преди 4 години
CONTRIBUTING.md Add CONTRIBUTING.md (#53) преди 4 години
COPYING Re-license to GPLv3 преди 5 години
README.md Update README: Forth reboot in process преди 4 години
TRICKS.txt basic: add a print cmd преди 4 години
runtests.sh Move "emul" folder to root преди 4 години

README.md

Collapse OS

Bootstrap post-collapse technology

Collapse OS is a z80 kernel and a collection of programs, tools and documentation that allows you to assemble an OS that, when completed, will be able to:

  1. Run on minimal and improvised machines.
  2. Interface through improvised means (serial, keyboard, display).
  3. Edit text files.
  4. Compile assembler source files for a wide range of MCUs and CPUs.
  5. Read and write from a wide range of storage devices.
  6. Replicate itself.

Additionally, the goal of this project is to be as self-contained as possible. With a copy of this project, a capable and creative person should be able to manage to build and install Collapse OS without external resources (i.e. internet) on a machine of her design, built from scavenged parts with low-tech tools.

Forth reboot in process

You are currently looking at the master branch of the project, which is the first incarnation of Collapse OS, written in z80 assembler. A Forth reboot is being worked on and will soon replace this branch. You can look at it on the forth branch.

See it in action

Michael Schierl has put together a set of emulators running in the browser that run Collapse OS in different contexts.

Using those while following along with the User Guide is your quickest path to giving Collapse OS a try.

Organisation of this repository

  • kernel: Pieces of code to be assembled by the user into a kernel.
  • apps: Pieces of code to be assembled into “userspace” application.
  • recipes: collection of recipes that assemble parts together on a specific machine.
  • doc: User guide for when you've successfully installed Collapse OS.
  • tools: Tools for working with Collapse OS from “modern” environments. For example, tools for facilitating data upload to a Collapse OS machine through a serial port.
  • emul: Emulated applications, such as zasm and the shell.
  • tests: Automated test suite for the whole project.
  • forth: Forth is slowly taking over this project (see issue #4). It comes from this folder.

Status

The project unfinished but is progressing well! See Collapse OS’ website for more information.

Discussion

For a general discussion of Collapse OS and the ecosystem of technologies and ideas that may develop around it refer to r/collapseos

A more traditional mailing list and IRC (#collapseos on freenode) channels are also maintained.