I'm a real newbie to emulation coding, and NES programming also.. Now, just for the fun of it, I've decided to try making a NES emulator in Java. I'm at the beginning stages, so I've just got the 6502 emulation right now (+PPU that does nothing except set VBlank flag).
I'm trying to run Super Mario Bros 1 on the cpu, and, naturally, it crashes after a few frames (8 to be exact, after a JMP to 0x0004 - which is garbage).
Now, this is probably because I haven't implemented anything related to the I/O registers and that stuff yet, but what I'm wondering is - is there any good method to test whether the cpu emulation is accurate (except writing a program myself, using all possible instructions and adressing modes)? Any CPU test programs out there I could use to determine this? I'd really like to know whether the cpu stuff works before continuing with this, and it's tough having to read 10 megs of CPU log :-)