Advertisement
Guest User

init.lua

a guest
Jul 17th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. local gpu = component.proxy(component.list("gpu")())
  2. local fs = component.proxy(component.list("filesystem")())
  3. gpu.bind(component.list("screen")(),false)
  4. _G["cursorx"] = 0
  5. _G["cursory"] = 0
  6. local gpulibfile = fs.open("/sys/gpulib.lua")
  7. local gpulibcode = fs.read(gpulibfile, fs.size("/sys/gpulib.lua")-10)
  8. --if gpulibcode.type == "gff".type then
  9. --  computer.beep(3200,4)
  10. --end
  11. local gpulibfunc = load(gpulibcode)
  12. gpulibfunc()
  13. gpulib.cls()
  14. gpulib.print("Hello")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement