CollpaseOS: Program microcontrollers through civilizational collapse

Gecko40721 pts0 comments

Collapse OS — Bootstrap post-collapse technology

Collapse OS

Bootstrap post-collapse technology

Winter is coming and Collapse OS aims to soften the blow. It is a<br>Forth (why Forth?) operating system and a collection of tools and<br>documentation with a single purpose: preserve the ability to program<br>microcontrollers through civilizational collapse. It is designed to:

Run on minimal and improvised machines.

Interface through improvised means (serial, keyboard, display).

Edit text and binary contents.

Compile assembler source for a wide range of MCUs and CPUs.

Read and write from a wide range of storage devices.

Assemble itself and deploy to another machine.

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

Features

Runs on Z80, 8086, 6809 and 6502 machines with very little resources.

Can assemble Z80, AVR, 8086, 6809 and 6502 binaries.

Can disassemble 6502 and 6809.

Can program AVR microcontrollers.

Has a command line text editor similar to Forth's traditional editor as<br>well as a visual text editor inspired by UNIX' VI.

Has a visual binary editor.

Has the full power of a reasonably well-featured Forth interpreter.

Can be built from a POSIX environment with minimal tooling: only cc and<br>make are needed.

Excluding machine-specific ports, less than 2000 lines of code.

Getting Collapse OS

Collapse OS is published as a git repository hosted on Sourcehut.

Funding

You are inspired by Collapse OS and would like to fund its development? I don't<br>do any kind of crowdfunding, but if you happen to be a rich philanthropist,<br>maybe we can do something.

Discussion

My name is Virgil Dupras and I can be reached at hsoft@hardcoded.net.

There's also Dusk OS' mailing list

Related efforts

Here is a list of related efforts that I find noteworthy:

Dusk OS

Tumble Forth

Fauche qui peut!

Public Domain Books to Restart Computer Technology

Civboot: a civilizational bootstrapper

Simplifier

Sci.Electronics.Repair FAQ

The Vintage Technology Digital Archive

A big collection of Apple-related documentation

Daniel Marks' electronic designs focusing on resilience

Michael Schierl's UXN port of Collapse OS

Deadly Optimism, Useful Pessimism

collapse forth technology editor program microcontrollers

Related Articles