コード例 #1
0
	def init_aux_mem(self):
		commands = []
		commands += [pinproc.aux_command_disable()]

		for j in range(1,255):
			commands += [pinproc.aux_command_jump(0)]

		self.game.proc.aux_send_commands(0,commands)
コード例 #2
0
    def init_aux_mem(self):
        commands = []
        commands += [pinproc.aux_command_disable()]

        for j in range(1, 255):
            commands += [pinproc.aux_command_jump(0)]

        self.game.proc.aux_send_commands(0, commands)
コード例 #3
0
    def write_commands(self):

        # Initialize command list and disable the first end so program
        # doesn't start 'running' until fully written.
        commands = []
        commands += [pinproc.aux_command_disable()]

        for command_set in self.commands:
            if command_set: commands += command_set

        commands += [pinproc.aux_command_jump(0)]
        self.game.proc.aux_send_commands(0, commands)

        commands = []
        commands += [pinproc.aux_command_jump(1)]
        self.game.proc.aux_send_commands(0, commands)
コード例 #4
0
	def write_commands(self):

		# Initialize command list and disable the first end so program
		# doesn't start 'running' until fully written.
		commands = []
		commands += [pinproc.aux_command_disable()]

		for command_set in self.commands:
			if command_set: commands += command_set

		commands += [pinproc.aux_command_jump(0)]
		self.game.proc.aux_send_commands(0,commands)

		commands = []
		commands += [pinproc.aux_command_jump(1)]
		self.game.proc.aux_send_commands(0,commands)