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.