Пример #1
0
def DoHome (fsm):
    global ignoreText

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    if r == 7 and c in range(60, 70):
        ignoreText = True
    else:
        screen = fsm.memory[0]
        screen.cursor_home (r,c)
Пример #2
0
def DoHome(fsm):
    global ignoreText

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    if r == 7 and c in range(60, 70):
        ignoreText = True
    else:
        screen = fsm.memory[0]
        screen.cursor_home(r, c)
Пример #3
0
def DoHomeOrigin(fsm):
    c = 1
    r = 1
    screen = fsm.something[0]
    screen.cursor_home(r, c)
Пример #4
0
def DoHome(fsm):
    c = int(fsm.something.pop())
    r = int(fsm.something.pop())
    screen = fsm.something[0]
    screen.cursor_home(r, c)
Пример #5
0
def DoHomeOrigin (fsm):

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home (r,c)
Пример #6
0
def DoHome (fsm):

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    screen = fsm.memory[0]
    screen.cursor_home (r,c)
Пример #7
0
def DoHome(fsm):

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    screen = fsm.memory[0]
    screen.cursor_home(r, c)
Пример #8
0
def DoHomeOrigin(fsm):

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home(r, c)
Пример #9
0
def DoHomeOrigin (fsm):
        c = 1
        r = 1
        screen = fsm.something[0]
        screen.cursor_home (r,c)
Пример #10
0
def DoHome (fsm):
        c = int(fsm.something.pop())
        r = int(fsm.something.pop())
        screen = fsm.something[0]
        screen.cursor_home (r,c)