Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- width,height=term.getSize()
- function C64()
- term.setBackgroundColor(colors.blue)
- for i=1,width do for j=1,height do term.setCursorPos(i,j) io.write(" ") end end
- term.setBackgroundColor(colors.lightBlue)
- term.setCursorPos(1,1)
- for i=1,height do
- if (i==1) or (i==height) then
- for j=1,width do
- term.setCursorPos(j,i)
- io.write(" ")
- end
- else
- for k=1,width do
- if k==1 or k==width then
- term.setCursorPos(k,i)
- io.write(" ")
- end
- end
- end
- end
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.lightBlue)
- term.setCursorPos(10,2)
- io.write("**** COMMODORE 64 BASIC V2 ****")
- term.setCursorPos(2,3)
- io.write("64K RAM SYSTEM 38911 BASIC BYTES FREE")
- term.setCursorPos(2,5)
- io.write("READY.")
- for i=1,7 do
- term.setCursorPos(2,6)
- term.setBackgroundColor(colors.lightBlue)
- io.write(" ")
- sleep(0.5)
- term.setCursorPos(2,6)
- term.setBackgroundColor(colors.blue)
- io.write(" ")
- sleep(0.5)
- end
- term.setCursorPos(2,6)
- textutils.slowPrint('LOAD"CRAFTOS",8,1')
- sleep(5)
- for i=1,200 do
- for i=1,height do
- term.setBackgroundColor(2^(math.random(0,15)))
- for j=1,width do
- term.setCursorPos(j,i)
- io.write(" ")
- end
- end
- end
- term.setTextColor(colors.white)
- end
Add Comment
Please, Sign In to add comment