Mirror of CollapseOS
Go to file
Byron A. Grobe f65c189e9b
Replace bin2c.sh with a more portable implementation.
`xxd' is not available on all systems, and on others does not support
the `-i' flag. Since bin2c.sh relied on a tool that I can't seem to find
a compatible version of, I have included a simple, portable replacement in C.

Usage remains the same:
bin2c ARRAYNAME < inputfile > outputfile.

This change is also reflected in emul/Makefile.
2020-04-05 13:04:05 -05:00
apps Move "forth" folder to project's root folder 2020-03-18 22:25:44 -04:00
avr recipes/sms/kbd: use Collapse OS' AVR assembler 2020-02-26 23:10:43 -05:00
doc doc: add reverse engineering notes for trs80-4p 2020-02-21 10:39:51 -05:00
emul Replace bin2c.sh with a more portable implementation. 2020-04-05 13:04:05 -05:00
fonts sms/vdp: use fonts from kernel/fnt 2020-01-07 22:15:35 -05:00
forth forth: fix broken RAM+ 2020-04-02 13:42:49 -04:00
kernel recipes/trs80: use grid module 2020-02-26 16:27:27 -05:00
recipes recipes/sms/kbd: use Collapse OS' AVR assembler 2020-02-26 23:10:43 -05:00
tests forth: Replace "SKIP?" with "(?br)" 2020-03-29 09:10:23 -04:00
tools Replace bin2c.sh with a more portable implementation. 2020-04-05 13:04:05 -05:00
.gitignore cfspack: make into a library 2019-12-31 13:57:52 -05:00
.gitmodules Move "emul" folder to root 2019-12-31 13:34:24 -05:00
.travis.yml Add travis support 2019-10-30 19:12:02 -04:00
CODE.md basic: add buffer line index 2019-11-19 20:43:01 -05:00
CONTRIBUTING.md
COPYING
README.md Move "forth" folder to project's root folder 2020-03-18 22:25:44 -04:00
runtests.sh Move "emul" folder to root 2019-12-31 13:34:24 -05:00
TRICKS.txt basic: add a print cmd 2019-11-18 13:40:23 -05:00

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.

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.