def processkeys(self, cpu):
        keyptr = 0x9000
        for i in range(0, 16):
            if not cpu.memory[keyptr + i]:
                try:
                    key = self.term.keys.pop()
                except __HOLE__:
                    break
                cpu.memory[keyptr + i] = key
dataset/ETHPy150Open jtauber/dcpu16py/plugins/terminalplugin.py/TerminalPlugin.processkeys