def loop(msg): pyvga.cleartext() pyvga.entertext() while msg.count('\n'): n = msg.index('\n') print msg[:n] msg = msg[n+1:] while 1: stack.swap(None, idl_task)
def splashup(): pyvga.exittext() pyvga.framebuffer[:0xFA00] = pyvga.splashscreen[:0xFA00] pyvga.cleartext()
def loop(msg): pyvga.cleartext() pyvga.entertext() print msg while 1: pass