Hello guys,
I've been working on a new 6502 core for my NES emulator. I have basic PPU functionality implemented and input controllers.
I've gone for cycle accurate emulation.
The thing is that my CPU passes all of NesTest suite (Screenshot attached), yet I fail ALL of Blargg's CPU instructions tests except for the "01.basics.nes" single rom. Also the CPU passes some misc tests like "dummy reads" one (also Blargg's)...
I have no idea why (after 3 effective hours of logging / ranting / staring at my code). I'm looking for some advice from you guys, so I can start debugging in the right direction.
Thank you in advance!
I've been working on a new 6502 core for my NES emulator. I have basic PPU functionality implemented and input controllers.
I've gone for cycle accurate emulation.
The thing is that my CPU passes all of NesTest suite (Screenshot attached), yet I fail ALL of Blargg's CPU instructions tests except for the "01.basics.nes" single rom. Also the CPU passes some misc tests like "dummy reads" one (also Blargg's)...
I have no idea why (after 3 effective hours of logging / ranting / staring at my code). I'm looking for some advice from you guys, so I can start debugging in the right direction.
Thank you in advance!