1b8b113536
We now treat the block device as fixed-size rather than trying to grow it in response to kernel activity. Previously, if you tried to create 2 files in a row, only the first 1 would actually appear, because the device only ever got larger when a byte was written immediately past the end of the device. Now we just let the kernel write bytes to the disk anywhere, so new files can be created even when the previous file is not completely full. Also, fix buffer overrun in reading filesystem image, and use a more idiomatic fgetc loop. |
||
---|---|---|
apps | ||
doc | ||
fonts | ||
kernel | ||
recipes | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CODE.md | ||
CONTRIBUTING.md | ||
COPYING | ||
README.md | ||
runtests.sh | ||
TRICKS.txt |
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:
- Run on minimal and improvised machines.
- Interface through improvised means (serial, keyboard, display).
- Edit text files.
- Compile assembler source files for a wide range of MCUs and CPUs.
- Read and write from a wide range of storage devices.
- 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.
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. Mostly development tools, but also contains emulated zasm, which is necessary to build Collapse OS from a non-Collapse OS machine.
Each folder has a README with more details.
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.