Wondering what kind of operating system you would use in a post-apocalyptic world after the collapse of society might sound like kind of a low priority. But that’s because you’re not actually in the situation and don’t have to worry about how humankind can make a go of it in Earth’s darkest hour yet. This is where Collapse OS, a new Z80 processor-based open-source operating system being developed by software developer Virgil Dupras, comes into play.

“I expect our global supply chain to collapse before we reach 2030,” Dupras wrote on his website. “With this collapse, we won’t be able to produce most of our electronics because it depends on a very complex supply chain that we won’t be able to achieve again for decades (ever?).”

collapse os after societys inside seelampur  india s largest e waste scrapyard
NEW DELHI, INDIA – JUNE 12: Discarded monitors lie stacked on roadside in Seelampur on June 12, 2016 in New Delhi, India.An E-waste market in New Delhi holds the largest collection of electronic scrap in India. Seelampur has the biggest e-waste market in the country, where computers, TVs, mobiles and refrigerators are compiled from several different states. Over 30,000 people – including children – are working inside the e-waste factories extracting valuable components – mainly copper – from the various electronic compliances.PHOTOGRAPH BY Shams Qari / Barcroft ImagesLondon-T:+44 207 033 1031 E:[email protected] –New York-T:+1 212 796 2458 E:[email protected] –New Delhi-T:+91 11 4053 2429 E:[email protected] www.barcroftimages.com (Photo credit should read Shams Qari / Barcroft Media via Getty Images / Barcroft Media via Getty Images)Barcroft Media / Getty Images

The kind of rapid technological progress we have in today’s world wouldn’t be possible in Dupras’ scenario. But electronics would still be an immensely important tool. To give human survivors a chance, Collapse OS is a “post-collapse” operating system designed to be run on minimal and improvised machines. It can be used to edit text files, compile assembler source files for a wide range of MCUs and CPUs, and read and write from a wide range of storage devices. According to Dupras, it could even theoretically run on a Sega Genesis console.

As the project website notes: “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.”

Whether society ever needs Collapse OS remains to be seen. But it’s a pretty darn intriguing idea. The project is currently available to check out on Github, and Dupras is welcoming contributors. Of course, as he notes, the project is only relevant if society’s collapse takes place within certain parameters. A “weak” collapse may not be enough to require something like Collapse OS. Meanwhile, a big enough collapse would render it less than useful. But a collapse that, as per Goldilocks and the Three Bears, is just right? That’s when we’ll need Collapse OS.