Import
This commit is contained in:
12
tools/chrisBoot.lua
Normal file
12
tools/chrisBoot.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
---@diagnostic disable: undefined-global
|
||||
local diskpath="put your path here"
|
||||
periphemu.create("right", "drive")
|
||||
disk.insertDisk("right", diskpath)
|
||||
local file = fs.open("/disk/boot/cct/eeprom", "r")
|
||||
local text = file.readAll()
|
||||
file.close()
|
||||
|
||||
local func = load(text, "@bios.lua")
|
||||
|
||||
---@diagnostic disable-next-line: need-check-nil
|
||||
func("/disk")
|
||||
Reference in New Issue
Block a user