working on require needs to be done before EOW

This commit is contained in:
2025-11-10 09:50:32 -05:00
parent fdb67d9afb
commit b288bb3cae
124 changed files with 9828 additions and 1 deletions

14
src/disks/2f/burn.lua Normal file
View File

@@ -0,0 +1,14 @@
local biosData = ({...})[1]
local disks = {}
for i,v in component.list() do
if i == "disk" then
disks[v.id]=v
end
end
local bootDisk = disks[biosData.bootDrive.open("/config").read()]
if not bootDisk.type=="udd" then
error("invalid")
end