Lua BIOS

From ATLauncher Wiki
Jump to: navigation, search
Lua BIOS
Lua BIOS

Name Lua BIOS
Source Mod OpenComputers
ID Name Unknown
Type EEPROM
Stackable Yes (64)

The Lua BIOS is a simple EEPROM that can be used to boot any kind of computer with a default Lua-based processor. It can be programmed onto any EEPROM chip by crafting without the help of another computer, and is thus the only EEPROM that a player can use to boot their first computer.

By default this BIOS checks the EEPROM's data storage for a default file system address to boot from. If that file system contains an init.lua file at root level, it is executed. Otherwise all other connected file systems are checked, and the first bootable one is set as the default and booted from. If the boot was successful, a beep is emitted, otherwise the computer is shut down.

In previous versions of OpenComputers that did not yet support EEPROMs and custom BIOSes, the Lua BIOS was part of the kernel that is integrated in every computer. This has been changed to allow deeper manipulation of the boot process, now the kernel is only responsible for setting up the Lua sandbox, anything beyond that is done by the installed EEPROM.

The source code for the kernel and BIOS can be found on GitHub.

Recipe[edit]

GUI Crafting Table.png
Shapeless
EEPROM
Book






Lua BIOS

Once one has a Lua BIOS, it can simply be duplicated by crafting:

GUI Crafting Table.png
Shapeless
EEPROM
Lua BIOS






Lua BIOS
GridNumbersCSS.pngGridNumbersCSS.pngGridNumbersCSS.png

Usage[edit]

Lua BIOS can be used to create the following items:
  • Lua BIOS Lua BIOS