I've recently started my own GB emulator and I'm currently trying to nail down the CPU.
I'm using Blaarg's cpu instructions test from this thread and I've got some that come back as passed but others that are failing, I'm not sure how to interpret the output of the failed tests to try and see where I'm going wrong.
The multi test craps out on test 4:
It's test 3 and 4 I'm not sure where to start with, the output from them is:
Test 03:
Test 04:
I'm not sure what the error codes printed from these individual tests mean.
Any clues as to where to start appreciated.
I'm using Blaarg's cpu instructions test from this thread and I've got some that come back as passed but others that are failing, I'm not sure how to interpret the output of the failed tests to try and see where I'm going wrong.
The multi test craps out on test 4:
Code:
cpu_instrs
01:ok 02:ok 03:01 04:01
Failed 2 tests.
01:ok 02:ok 03:01 04:01
Failed 2 tests.
It's test 3 and 4 I'm not sure where to start with, the output from them is:
Test 03:
Code:
03-op sp,hl
09
Failed
09
Failed
Test 04:
Code:
04-op r,imm
0E 0E
Failed
0E 0E
Failed
I'm not sure what the error codes printed from these individual tests mean.
Any clues as to where to start appreciated.