Recently I've added MBC1 support so I can test the main cpu_instrs.gb test ROM.
It seems to run fine until it starts actually testing.
This is the output:
Code: Select all
cpu_instrs
01:05
Failed 1 tests.
The bad instruction is most likely not in the test routine itself, but before it even gets there. My question is, how would I debug this? I really don't feel like using a working emulator and stepping over every line until they change. That would take forever.
Thanks!