def runThis() : global stdscr, mainwin stdscr = curses.initscr() curses.start_color() setupColors(curses.COLOR_BLUE) curses.noecho() #stdscr.cbreak() curses.curs_set(0) stdscr.nodelay(1) stdscr.keypad(1) vice.on_frame(doVblank) vice.run_frames(30000)
import sys import vice vice.warp_frames(150) #vice.run_frames(25) vice.put_key(ord('a')) vice.run_frames(30000)