65c816 test rom

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
funnyguy
Posts: 21
Joined: Tue Aug 11, 2015 2:31 am

65c816 test rom

Post by funnyguy »

Hi all,

I have developed an 65c816 cpu core emulation using ARM.

I need to have some test code to verify the core works perfectly.

Do anyone knows where I can find some test roms / assembly code that can test a 65c816 ?

Thanks for any pointers.
tepples
Posts: 22878
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: 65c816 test rom

Post by tepples »

Does its emulation mode (SEC XCE) run nestest correctly, at least until the part where the unofficial (and uninherited) instructions start? (Despite the name, it's a CPU test and has a mode with no dependency on the NES PPU.)
funnyguy
Posts: 21
Joined: Tue Aug 11, 2015 2:31 am

Re: 65c816 test rom

Post by funnyguy »

For the nestest.nes
My core pass all the test on the first page of normal instructions and address modes
For the second page of invalid opcodes, it hangs after issuing a beep.
Post Reply