LuPPC/src/lua/core/boot.lua

14 lines
326 B
Lua
Raw Normal View History

2016-01-05 04:20:40 +11:00
local boot = {}
function boot.boot()
2016-01-07 02:58:05 +11:00
local gpu = modules.component.api.proxy(modules.component.api.list("gpu", true)())
local w, h = gpu.getResolution()
print("r= " .. tostring(w) .. " " .. tostring(h))
gpu.fill(0, 0, w, h, " ")
2016-01-05 04:20:40 +11:00
print("LuPI L2 INIT")
print("FIXME: boot stub")
error("Unable to boot")
end
return boot