Debugging the cpu core

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
James
Posts: 429
Joined: Sat Jan 22, 2005 8:51 am
Location: Chicago, IL
Contact:

Re: Debugging the cpu core

Post by James »

koitsu wrote:in the case of the NES/FC (and the Apple II series) the processor pushes PC+2.
Which is what my emulator does as well. I was (probably incorrectly) assuming that Dartht33bagger is incrementing PC on opcode fetch, e.g,. something like execute_opcode(PC++);. Looking back through this thread, that's probably not the case.

So yeah, PC+2 :)
get nemulator
http://nemulator.com
Post Reply