Page 4 of 8
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Fri Jul 25, 2014 7:02 am
by Zepper
Ah, okay.

Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Fri Jul 25, 2014 7:09 pm
by *Spitfire_NES*
thanks for the clarification tepples. Just trying to sort out what the issue is exactly, or could be. It does not make any sense to me how the burai fix fixes mickey but not the game it was originally intended to.
What in the heck are we missing here lol.

Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Fri Jul 25, 2014 7:15 pm
by Zepper
Easy: fixes Nestopia and we'll get the answer.
Hacking the IRQ counter latch with +2 fixes the game. Other than that, I have no idea.
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Fri Jul 25, 2014 7:32 pm
by *Spitfire_NES*
Zepper wrote:Easy: fixes Nestopia and we'll get the answer.
Hacking the IRQ counter latch with +2 fixes the game. Other than that, I have no idea.
thanks zepper. Just so i understand:
this was the block of code added to nestopia to fix burai (but ended up fixing mickey)
NST_FORCE_INLINE void Ppu::UpdateScrollAddressLine()
{
if (io.line)
{
int a12_mask = ~((scroll.address & 0x2000) >> 1);
io.line.Toggle( (scroll.address & a12_mask) & 0x3FFF, cpu.GetCycles() );
}
}
so are you saying if i add +2 to this this will fix burai, (at the moment labeled a hack i take it) If i add +2 wont this then break mickeys in effect and other games that might rely on this behavior? Sorry to sound like a noob, i just want to understand your statement completely, thats all.
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Fri Jul 25, 2014 8:16 pm
by zxbdragon
*Spitfire_NES* wrote:Zepper wrote:Easy: fixes Nestopia and we'll get the answer.
Hacking the IRQ counter latch with +2 fixes the game. Other than that, I have no idea.
thanks zepper. Just so i understand:
this was the block of code added to nestopia to fix burai (but ended up fixing mickey)
NST_FORCE_INLINE void Ppu::UpdateScrollAddressLine()
{
if (io.line)
{
int a12_mask = ~((scroll.address & 0x2000) >> 1);
io.line.Toggle( (scroll.address & a12_mask) & 0x3FFF, cpu.GetCycles() );
}
}
so are you saying if i add +2 to this this will fix burai, (at the moment labeled a hack i take it) If i add +2 wont this then break mickeys in effect and other games that might rely on this behavior? Sorry to sound like a noob, i just want to understand your statement completely, thats all.
mmc3. wirte c000
data+2
irq.unit.SetLatch( data+2 );
....
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 12:58 am
by zxbdragon
Ninja Gaiden .....
FetchAttribute?
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 3:44 am
by *Spitfire_NES*
zxbdragon wrote:*Spitfire_NES* wrote:Zepper wrote:Easy: fixes Nestopia and we'll get the answer.
Hacking the IRQ counter latch with +2 fixes the game. Other than that, I have no idea.
thanks zepper. Just so i understand:
this was the block of code added to nestopia to fix burai (but ended up fixing mickey)
NST_FORCE_INLINE void Ppu::UpdateScrollAddressLine()
{
if (io.line)
{
int a12_mask = ~((scroll.address & 0x2000) >> 1);
io.line.Toggle( (scroll.address & a12_mask) & 0x3FFF, cpu.GetCycles() );
}
}
so are you saying if i add +2 to this this will fix burai, (at the moment labeled a hack i take it) If i add +2 wont this then break mickeys in effect and other games that might rely on this behavior? Sorry to sound like a noob, i just want to understand your statement completely, thats all.
mmc3. wirte c000
data+2
irq.unit.SetLatch( data+2 );
....
have you tried this fix zxbdragon?
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 4:08 am
by zxbdragon
have you tried this fix zxbdragon?[/quote]
Yes, I tried on the official code .Burai Fighter.
but the problem is that nmt ninja Gaiden, nestopia 1.39-->1.40, puu bug
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 5:28 am
by Zepper
What's wrong with Ninja Gaiden??
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 5:57 am
by zxbdragon
Zepper wrote:What's wrong with Ninja Gaiden??

- 24.jpg (32.85 KiB) Viewed 3302 times
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 6:00 am
by zxbdragon
Zepper wrote:What's wrong with Ninja Gaiden??
latch+2,How much influence MMC3 GAME
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 7:06 am
by Zepper
See yourself.
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 7:35 am
by zxbdragon
Zepper wrote:See yourself.
thank you,I build nestopia to tested!
Too many mmc3 game, do not know will not affect other games
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 8:07 am
by James
This is not the right way to fix it. You will break other games.
Re: Nestopia and Ninja Gaiden/Burai Fighter
Posted: Sat Jul 26, 2014 9:07 am
by zxbdragon
James wrote:This is not the right way to fix it. You will break other games.
yes,I'll worry about this