NC firmware update (thanks spsf). opencomputers now uses mutiple gpus to speed up rendering and now has net drivers. currently working on kernel memory protections to prevent malicious kernel drivers. spm does not work on opencomputers, this is a known issue i am working on fixing it :D sorry for the slow development.

This commit is contained in:
Astronand committed 2026-11-04 14:19:15 -05:00
1 parent fbaafc7cff
commit ef4b856ee6
89 files changed
+3955 -563

No files matched your search

@@ -0,0 +1,2 @@
--:Minify:--
local kernel=...
@@ -78,15 +78,24 @@ for addr, typ in kernel.oc.component.list("keyboard") do
elseif op=="open" then
local h = {
read=function(amount)
amount = amount or 1
local rv=""
for i=1, amount or 1 do
for i=1, amount do
local event = {kernel.oc.keyboards[addr].events.pop()}
if event[1] then
rv=rv..event[1]
else
break
end
end
if rv=="" then rv=nil end
return rv
if rv~="" then return rv end
local task=kernel.currentTask
task.status="D"
task.io=function()
local event = {kernel.oc.keyboards[addr].events.pop()}
if event[1] then return event[1] end
end
return nil
end,
write=function(content)
end,