Can someone help me figure out what's wrong with my CPU flags register? I am now passing all of kevtris' "Normal Ops" tests from his nestest.nes except for the Flag tests.
I am getting the following error code:
013h - PHP/flags failure (misc bit states)
That's not very descriptive/specific...especially "misc bit states"?? I'm reviewing my code now, but thought maybe I'd just put up this post in case someone had a quick answer. All PHP does is push the status register to the stack right? I don't see how I could be mucking up something so simple...
Does nestest take into account that the BCD flag is not used in the NES version of the 6502? I'm wondering if that's the problem...?
I am getting the following error code:
013h - PHP/flags failure (misc bit states)
That's not very descriptive/specific...especially "misc bit states"?? I'm reviewing my code now, but thought maybe I'd just put up this post in case someone had a quick answer. All PHP does is push the status register to the stack right? I don't see how I could be mucking up something so simple...
Does nestest take into account that the BCD flag is not used in the NES version of the 6502? I'm wondering if that's the problem...?