hypersplash upd
This commit is contained in:
1 parent
fcf729b4c4
commit
2a6f7a80ea
12 files changed
+45
-20
No files matched your search
@@ -32,8 +32,7 @@ for _,term in pairs(kernel.vfs.listdir("/dev/tty/")) do
|
||||
kernel.vfs.devctl(file, "sfgc", 0x00FFFF)
|
||||
kernel.vfs.devctl(file, "sbgc", 0x000000)
|
||||
|
||||
local tmp = kernel.vfs.devctl(file, "size")
|
||||
local w,h = tonumber(tmp:sub(1, tmp:find(";")-1)), tonumber(tmp:sub(tmp:find(";")+1))
|
||||
local w,h = kernel.vfs.devctl(file, "size")
|
||||
|
||||
local hc=(h/2)-(#logo/2)
|
||||
local function printCenter(text, yo)
|
||||
|
||||
@@ -71,7 +71,7 @@ local function bf(...)
|
||||
ip=ip+1
|
||||
itrs=itrs+1
|
||||
end
|
||||
print("[Brainfuck] Ran in "..tostring(itrs).." itrations")
|
||||
print("[Brainfuck] Ran in "..tostring(itrs).." iterations")
|
||||
print("[Brainfuck] and "..tostring(syscall.getUptime()-startime))
|
||||
syscall.exit()
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user