Finding a bug in my emulator

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
User avatar
oRBIT2002
Posts: 698
Joined: Sun Mar 19, 2006 3:06 am
Location: Gothenburg/Sweden

Finding a bug in my emulator

Post by oRBIT2002 »

Balloon Fight (PAL version) plays a song during the titlescreen in my emulator. This doesn't happen on any other emulator I've tried.
Do you guys have any good hints of locating a bug like this? Or is the only way to team up with a good disassembler to locate the songrelated code? :)
I've tried a few CPU-testing ROMs back in the days and they all pass (with except for the illegal opcodes but I'm pretty sure Balloon Fight doesn't use them...?)
User avatar
Jeroen
Posts: 1048
Joined: Tue Jul 03, 2007 1:49 pm

Post by Jeroen »

Which emulators did you try?
User avatar
oRBIT2002
Posts: 698
Joined: Sun Mar 19, 2006 3:06 am
Location: Gothenburg/Sweden

Post by oRBIT2002 »

FCE Ultra and Rocknes.
qeed
Posts: 61
Joined: Tue Jun 17, 2008 11:51 am

Post by qeed »

Well if its sound then its just the APU, rather than the CPU. Check your $4015/$4017 code to see if the logic is correct or not, see if it is turning on when its not supposed to.
User avatar
Dwedit
Posts: 5083
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

I know of a bad dump of Balloon Fight floating around that plays music at the title screen if you zero-initialize your RAM. It doesn't play music if the ram is initialized to something else.
But this may or may not be a different problem.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Post Reply