Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local gpu = component.proxy(component.list("gpu")())
- local fs = component.proxy(component.list("filesystem")())
- gpu.bind(component.list("screen")(),false)
- _G["cursorx"] = 0
- _G["cursory"] = 0
- local gpulibfile = fs.open("/sys/gpulib.lua")
- local gpulibcode = fs.read(gpulibfile, fs.size("/sys/gpulib.lua")-10)
- --if gpulibcode.type == "gff".type then
- -- computer.beep(3200,4)
- --end
- local gpulibfunc = load(gpulibcode)
- gpulibfunc()
- gpulib.cls()
- gpulib.print("Hello")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement