Closed vitorsilverio closed 4 years ago
Traceback (most recent call last):
File "pygb\pygb\instruction_performer.py", line 278, in perform_instruction
instruction = getattr(self, 'inst' + hex(opcode))
AttributeError: 'InstructionPerformer' object has no attribute 'inst0x19600'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\main.py", line 26, in <module>
main()
File ".\main.py", line 22, in main
emulator.run()
File "pygb\pygb\emulator.py", line 30, in run
self.cpu.step()
File pygb\pygb\cpu.py", line 38, in step
self.perform_instruction(instruction)
File "pygb\pygb\cpu.py", line 73, in perform_instruction
self.ticks = self.instructionPerformer.perform_instruction(instruction)
File "pygb\pygb\instruction_performer.py", line 281, in perform_instruction
return self.unimplemented(opcode)
File "pygb\pygb\instruction_performer.py", line 3006, in unimplemented
raise NotImplementedError()
NotImplementedError
DEBUG: 0xc4e0: CALL 0xc7f3 [A: 0xff F: 0x50 BC: 0xfff0 DE: 0x102 HL: 0xc76c: SP: 0xdffb PC: 0xc4e3 ]
DEBUG: 0xc7f3: LD C, 0x0 [A: 0xff F: 0x50 BC: 0xff00 DE: 0x102 HL: 0xc76c: SP: 0xdff9 PC: 0xc7f5 ]
DEBUG: 0xc7f5: CALL 0xc7fe [A: 0xff F: 0x50 BC: 0xff00 DE: 0x102 HL: 0xc76c: SP: 0xdff9 PC: 0xc7f8 ]
DEBUG: 0xc7fe: LD HL, 0xc82e [A: 0xff F: 0x50 BC: 0xff00 DE: 0x102 HL: 0xc82e: SP: 0xdff7 PC: 0xc801 ]
DEBUG: 0xc801: LD B, (HL) [A: 0xff F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82e: SP: 0xdff7 PC: 0xc802 ]
DEBUG: 0xc802: PUSH HL [A: 0xff F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82e: SP: 0xdff5 PC: 0xc803 ]
DEBUG: 0xc803: LD HL, 0xc82e [A: 0xff F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82e: SP: 0xdff5 PC: 0xc806 ]
DEBUG: 0xc806: PUSH BC [A: 0xff F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82e: SP: 0xdff3 PC: 0xc807 ]
DEBUG: 0xc807: PUSH HL [A: 0xff F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82e: SP: 0xdff1 PC: 0xc808 ]
DEBUG: 0xc808: PUSH BC [A: 0xff F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82e: SP: 0xdfef PC: 0xc809 ]
DEBUG: 0xc809: LD A, (HL+) [A: 0x0 F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82f: SP: 0xdfef PC: 0xc80a ]
DEBUG: 0xc80a: LD B, A [A: 0x0 F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc82f: SP: 0xdfef PC: 0xc80b ]
DEBUG: 0xc80b: LD A, (HL+) [A: 0x1 F: 0x50 BC: 0x0 DE: 0x102 HL: 0xc830: SP: 0xdfef PC: 0xc80c ]
DEBUG: 0xc80c: LD C, A [A: 0x1 F: 0x50 BC: 0x1 DE: 0x102 HL: 0xc830: SP: 0xdfef PC: 0xc80d ]
DEBUG: 0xc80d: LD A, (HL+) [A: 0x2 F: 0x50 BC: 0x1 DE: 0x102 HL: 0xc831: SP: 0xdfef PC: 0xc80e ]
DEBUG: 0xc80e: LD D, A [A: 0x2 F: 0x50 BC: 0x1 DE: 0x202 HL: 0xc831: SP: 0xdfef PC: 0xc80f ]
DEBUG: 0xc80f: LD A, (HL+) [A: 0x4 F: 0x50 BC: 0x1 DE: 0x202 HL: 0xc832: SP: 0xdfef PC: 0xc810 ]
DEBUG: 0xc810: LD E, A [A: 0x4 F: 0x50 BC: 0x1 DE: 0x204 HL: 0xc832: SP: 0xdfef PC: 0xc811 ]
DEBUG: 0xc811: PUSH DE [A: 0x4 F: 0x50 BC: 0x1 DE: 0x204 HL: 0xc832: SP: 0xdfed PC: 0xc812 ]
DEBUG: 0xc812: LD A, (HL+) [A: 0x8 F: 0x50 BC: 0x1 DE: 0x204 HL: 0xc833: SP: 0xdfed PC: 0xc813 ]
DEBUG: 0xc813: LD D, A [A: 0x8 F: 0x50 BC: 0x1 DE: 0x804 HL: 0xc833: SP: 0xdfed PC: 0xc814 ]
DEBUG: 0xc814: LD A, (HL+) [A: 0x10 F: 0x50 BC: 0x1 DE: 0x804 HL: 0xc834: SP: 0xdfed PC: 0xc815 ]
DEBUG: 0xc815: LD E, A [A: 0x10 F: 0x50 BC: 0x1 DE: 0x810 HL: 0xc834: SP: 0xdfed PC: 0xc816 ]
DEBUG: 0xc816: POP HL [A: 0x10 F: 0x50 BC: 0x1 DE: 0x810 HL: 0x204: SP: 0xdfef PC: 0xc817 ]
DEBUG: 0xc817: POP AF [A: 0x0 F: 0x0 BC: 0x1 DE: 0x810 HL: 0x204: SP: 0xdff1 PC: 0xc818 ]
DEBUG: 0xdef5: JP 0xdef8 [A: 0x0 F: 0x0 BC: 0x1 DE: 0x810 HL: 0x204: SP: 0xdff1 PC: 0xdef8 ]
ERROR: 0xdefa: Unknow Opcode 0x19600
Fixed by fc5594b
Based on test http://gbdev.gg8.se/files/roms/blargg-gb-tests/cpu_instrs.zip