thox startup

thox can boot in multiple Lua environments; therefore, in order to simplify compatibility management within the system itself, we need to manage it beforehand, by offering a uniform nterface to it like Multiboot in real-world system design.

On thox, this is accomplished using the startup script, which unifies the environment and available resources in a single canonical form while preserving all of the capabilities.

The obtained environment is composed of the following:

  • Standard implementations of the utilities are available directly; we base ourselves on the Lua 5.3 manual for what should be available.

  • Everything non standard is isolated within the bios module.


Describe the steps up to this point: the Java functions, how they are provided to Lua, the bios.lua, then how and when the current startup script is loaded.

Maybe quote the unbios.lua script which could be useful.


Restrict the number of available utilities?


This component could also check system integrity.


How does this component run the system?