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

[1.5] BareMetal BIOS

Started by tesla1889, 08 March 2013 - 09:44 PM
tesla1889 #1
Posted 08 March 2013 - 10:44 PM
BareMetal BIOS is here!

enjoy the freedom of simplicity!
write your own custom BIOS on each computer!
includes a basic lua prompt for in-game interface

changelog:
Spoiler1.5
  • improved lua prompt
  • improved BAREMETAL globals

downloads:
Spoiler1.5

installation:
Spoilerdownload the version of BareMetal that is closest to the version of CC you want to use
replace bios.lua in ComputerCraft.zip/lua with that version of BareMetal
oeed #2
Posted 08 March 2013 - 11:02 PM
Could you give a slightly better description on what this does/the benefits of this are?
For example, what gains do I have using this than creating a new startup file.
Sorry for my ignorance, I just don't quite understand the purpose.
tesla1889 #3
Posted 08 March 2013 - 11:12 PM
well, it's more of an if-you-want-to-challenge-yourself type of thing
there is no actual benefit, other than being out of the sandbox
oeed #4
Posted 09 March 2013 - 12:04 AM
Oh, I see, does it have access to 'Debug'? Or is the higher level sandboxing?
tesla1889 #5
Posted 09 March 2013 - 04:38 AM
debug isnt possible without changing the java.
its really easy to do, but then i'd have to release the whole .zip file.

you just have to change

LuaValue _G = JsePlatform.standardGlobals;
to

LuaValue _G = JsePlatform.standardGlobals();
_G.set("debug",JsePlatform.debugGlobals());