80ab395823
Change the mainloop so that words are executed immediately after they're read. This greatly simplifies execution model and allow the "DEFINE" word to become an IMMEDIATE and stop its "copy from compiled words" scheme. The downside to this is that flow control words no longer work when being used directly in the input buffer. They only work as part of a definition. It also broke "RECURSE", but I've replaced it with "BEGIN" and "AGAIN". Another effect of this change is that definitions can now span multiple lines. All in all, it feels good to get rid of that COMPBUF... |
||
---|---|---|
apps | ||
avr | ||
doc | ||
emul | ||
fonts | ||
kernel | ||
recipes | ||
tests | ||
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. 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.
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.