This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
wolfboyft's profile picture

Different (and new) OS/Shell/BIOS for each type of computer.

Started by wolfboyft, 19 January 2015 - 04:09 PM
wolfboyft #1
Posted 19 January 2015 - 05:09 PM
Hi there!
I've been wanting to modify ComputerCraft's JAR file/or have a forced resource pack of sorts to make it so that each different type of computer (i.e. both desktop types, all 2 wireless pocket types and the remaining 2 isolated pocket types (I don't care about turtles.)) can have its own… BIOS, Shell and OS. If that's in any way possible.
Also, I wouldn't make it so that it's just a startup file xD …
Basically, what I'm aiming at, is to have Pocket Computers turn into simple Gameboys ( :D/> ), and leave the other computers to it, after turning them into different OS-using computers.
I'm fairly decent at programming in computercraft… I can create a variety of different programs (I need to learn the actual code for randomising soon, however)
So, possible…?
Lyqyd #2
Posted 19 January 2015 - 06:05 PM
You can't redistribute the jar if you modify it and bios.lua can't be replaced with a resource pack. However, you shouldn't need to modify bios.lua to accomplish what you're looking to do. Here's the question, though: what do you want to be on brand new computers? Without some sort of starting point (CraftOS), they're essentially useless. Whatever system you end up using is going to amount to putting a startup file on the computer anyway, so what's wrong with doing it that way?
wolfboyft #3
Posted 19 January 2015 - 06:14 PM
You can't redistribute the jar if you modify it and bios.lua can't be replaced with a resource pack. However, you shouldn't need to modify bios.lua to accomplish what you're looking to do. Here's the question, though: what do you want to be on brand new computers? Without some sort of starting point (CraftOS), they're essentially useless. Whatever system you end up using is going to amount to putting a startup file on the computer anyway, so what's wrong with doing it that way?

Well… modifying the shell program is what I'm looking for… but, obviously, it's in the ROM, so… I have to either find some way to force in resource packs (e.g. suggesting forced lua resource packs, but, of course, not redistributing any modified CC .jars…) or perish!

Anyway… to answer your question (if I got the gist of it right), I'd simply make my own desktop CC OS etc, after an amount of training, of course.

But for the pockets… basically, I'm just trying to make pocket computers use their own shell to have a separate operating system than the desktops. Which doesn't use startup files, because that's… simply put, not an OS.
wolfboyft #4
Posted 19 January 2015 - 06:52 PM
Actually, can you lock this topic? As you've said, it's not possible to properly make a new OS. I'm going to make a suggestion about new OSs and installation of new shells.
Lignum #5
Posted 19 January 2015 - 09:36 PM
You can use a top level coroutine override to become the shell. This means that there is no coroutine that you're depending on, you're pretty much running your code from inside the bios. That's the closest you can get and honestly, it's all you really need.