added inital chat

This commit is contained in:
2025-12-12 14:09:35 -05:00
parent bf83b7495d
commit 2fa9be5ebf
3 changed files with 98 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
local kernel = require("kernel")
local monitor = kernel.addDriver("monitor-driver")
local data = kernel.addDriver("disk-driver")
local taskManager = kernel.addDriver("program-driver")
local chatProgram = kernel.addDriver("chat")
local function run()
monitor.initialize()
@@ -11,6 +13,9 @@ local function run()
computerName = data.getRead("computer-name")
os.setComputerLabel(computerName)
monitor.writeLine("Computer name: " .. computerName)
taskManager.addProgram("Coms", "chat.lua");
taskManager.listPrograms()
end
return { run = run }