local object = {} local bios = "" function object.getData() return bios end function object.setData(data) bios=data end function object.saveData() local file=fs.open("/AceVM/computers/"..tostring(aceVM.id).."/bios.lua", "w") file.write(bios) file.close() end function aceVM.components.bios(id) local file = fs.open("/AceVM/computers/"..tostring(id).."/bios.lua", "r") bios = file.readAll() file.close() aceVM.newComponent("bios", object) end