Bios.lua

From ComputerCraft Wiki
Revision as of 18:58, 10 April 2016 by Lupus590 (Talk | contribs) (trying to expand this a bit)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This page is a stub.
Please help us by expanding it.

bios.lua is the main component in a computer (computers, pocket computers, turtles). If you were to look at the .jar file, you would see bios.lua is in the same directory as rom (The root directory) but doesn't show up when used with ls, dir or list. It is a file that is run on boot of the computer and you can't edit it internally but can edit it externally with programs like Notepad++. The functions, however, can be overwritten with simple Lua code. Most Top Level Coroutine overrides use this ability to overwrite functions to work.