GLaDOS446

Computercraft Bootloader für Diskette

Jan 23rd, 2020
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. --Datei 1--
  3. term.clear()
  4. term.setCursorPos(1,1)
  5. textutils.slowPrint("Es werden 2 Programme Runtergeladen und Installiert")
  6. term.setCursorPos(1,3)
  7. term.setTextColor(colors.blue)
  8. print("druecken sie ein beliebe Taste um Fortzufahren")
  9. os.pullEvent(y)
  10. term.setTextColor(colors.white)
  11. term.clear()
  12. term.setCursorPos(1,1)
  13. textutils.slowPrint("Programm 1 wird Runtergeladen")
  14. shell.run("pastebin get mMX58AY6 startup")
  15. sleep(2)
  16. term.clear()
  17. term.setCursorPos(1,1)
  18. textutils.slowPrint("Programm 2 wird Runtergeladen")
  19. shell.run("pastebin get 7d9g44n1 clear")
  20. sleep(2)
  21. term.clear()
  22. term.setCursorPos(1,1)
  23. textutils.slowPrint("Alle 2 Programme Fertig runtergeladen")
  24. term.setCursorPos(1,3)
  25. term.setTextColor(colors.blue)
  26. print("Installation starten einfach beliebige Druecken")
  27. os.pullEvent(y)
  28. term.setTextColor(colors.white)
  29. term.clear()
  30. term.setCursorPos(1,1)
  31. textutils.slowPrint("Installiere Programm 1 von 2")
  32. shell.run("cp startup ..")
  33. shell.run("delete startup")
  34. sleep(2)
  35. term.setCursorPos(1,3)
  36. print("I I")
  37. sleep(1)
  38. for i = 1, 10,1 do
  39. term.setTextColor(colors.green)
  40. term.setCursorPos(1,3)
  41. print("I I")
  42. term.setCursorPos(2,3)
  43. textutils.slowPrint("***************")
  44. term.setCursorPos(2,3)
  45. textutils.slowPrint(" ")
  46. end
  47. sleep(2)
  48. term.setCursorPos(2,3)
  49. textutils.slowPrint("***************")
  50. sleep(0.5)
  51. textutils.slowPrint("Programm 1 von 2 Fertig Installiert")
  52. sleep(2)
  53. term.setTextColor(colors.white)
  54. --Datei 2--
  55. term.clear()
  56. term.setCursorPos(1,1)
  57. textutils.slowPrint("Installiere Programm 2 von 2")
  58. shell.run("cp clear ..")
  59. shell.run("delete clear")
  60. sleep(2)
  61. term.setCursorPos(1,3)
  62. print("I I")
  63. sleep(1)
  64. for i = 1, 10,1 do
  65. term.setTextColor(colors.green)
  66. term.setCursorPos(1,3)
  67. print("I I")
  68. term.setCursorPos(2,3)
  69. textutils.slowPrint("***************")
  70. term.setCursorPos(2,3)
  71. textutils.slowPrint(" ")
  72. end
  73. sleep(2)
  74. term.setCursorPos(2,3)
  75. textutils.slowPrint("***************")
  76. sleep(0.5)
  77. textutils.slowPrint("Programm 2 von 2 Fertig Installiert")
  78. sleep(2)
  79. term.clear()
  80. term.setCursorPos(1,1)
  81. textutils.slowPrint("Neustart in")
  82. sleep(1)
  83. term.setCursorPos(1,2)
  84. print("3")
  85. sleep(1)
  86. term.setCursorPos(1,2)
  87. print("2")
  88. sleep(1)
  89. term.setCursorPos(1,2)
  90. print("1")
  91. sleep(1)
  92. os.pullEvent = os.pullEvent
  93. disk.eject("top")
  94. disk.eject("bottom")
  95. disk.eject("left")
  96. disk.eject("right")
  97. disk.eject("back")
  98. disk.eject("front")
  99. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment