KernlORG Galaxi presents
GBios v0.4
GBios is a ROM Pack that will let you customize your system at maximum, executing just after bios.lua, as it modifies /rom/programs/shell and /rom/programs/advanced/multishell to execute /vmgalaxi in the root directory. If you don't know yet, bios.lua is the minimum required for ComputerCraft programs to run, and this is what GBios does. You can put anything you want in /vmgalaxi. Why not /startup? Because that is executed later, in /rom/startup, that runs after the actual shell and multishell programs.
Update 0.3
I have added libgbios, that you can selectively load from /rom/apis/libgbios, that contains information about the current rom pack you're using, just by loading /rom/bios with dofile. Also, you can use libgbios.lsrom() to list everything recursively in the rom directory (as a treeview).
Also, a critical bug was fixed where it used shell.run in the actual shell script, now it's replaced by os.run.
And, a brand new feature! You can now automatically add files to the root directory, you can use compile.sh --autoroot that will create /rom/autogen, that will copy all files in /rom/root to / if /vmgalaxi doesn't exist.
NEW UPDATE! 0.4
On this update, shell and multishell will now check if /rom/autogen and /vmgalaxi exists, providing other fallback options and a rescue shell in case none of /vmgalaxi, /rom/vmgalaxi or /rom/root/vmgalaxi exists, it executes /rom/stock/vmgalaxi. /rom/stock is where default programs are put and that aren't meant to be executed in normal operation. Also, fixed a bug where compile.sh generated the zip wrong-way.
Grab it here!: https://github.com/daelvn/gbios
Edited by thecrimulo, 13 December 2016 - 09:17 PM.












