Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if window or multishell then
- sleep(0)
- --tlco
- local a = _G.printError
- function _G.printError()--when the bios goes to print the error, we run our code
- _G.printError=a
- --no multishell
- term.redirect(term.native())
- multishell=nil
- --no window
- term.setTextColor(colors.yellow)term.setBackgroundColor(colors.black)
- term.clear()term.setCursorPos(1,1)
- write"Multishelless Top-level "
- os.run({},"rom/programs/shell")
- end
- os.queueEvent"terminate"--cause the shell to terminaye
- else
- shell.run"newStartup"
- end
Advertisement
Add Comment
Please, Sign In to add comment