After setting the CPU and PPU to something "default" or described in the wiki, I set my emulator to run the CPU for the RESET call. The first thing that runs is the RESET:
I wonder if there's an error, since my emu "fails" by 1 cycle in the APU reset timing (test suite 2005) and recently the SPR DMA and DMC DMA test.
Is this correct?
Code:
- set I_FLAG to 1;
- fetching two dummy bytes (2 cycles);
- decrement S three times, but nothing is written to the stack (3 cycles);
- fetch low byte of PC (1 cycle);
- fetch high byte of PC (1 cycle).
TOTAL: 7 cycles.
- fetching two dummy bytes (2 cycles);
- decrement S three times, but nothing is written to the stack (3 cycles);
- fetch low byte of PC (1 cycle);
- fetch high byte of PC (1 cycle).
TOTAL: 7 cycles.
I wonder if there's an error, since my emu "fails" by 1 cycle in the APU reset timing (test suite 2005) and recently the SPR DMA and DMC DMA test.
Is this correct?