Nestopia and Ninja Gaiden/Burai Fighter

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
Zepper
Formerly Fx3
Posts: 3264
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by Zepper »

Ah, okay. :)
User avatar
*Spitfire_NES*
Posts: 306
Joined: Fri May 21, 2010 4:10 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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. :P
User avatar
Zepper
Formerly Fx3
Posts: 3264
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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.
User avatar
*Spitfire_NES*
Posts: 306
Joined: Fri May 21, 2010 4:10 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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.
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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 );
....
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by zxbdragon »

Ninja Gaiden .....
FetchAttribute?
User avatar
*Spitfire_NES*
Posts: 306
Joined: Fri May 21, 2010 4:10 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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?
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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
User avatar
Zepper
Formerly Fx3
Posts: 3264
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by Zepper »

What's wrong with Ninja Gaiden??
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by zxbdragon »

Zepper wrote:What's wrong with Ninja Gaiden??
24.jpg
24.jpg (32.85 KiB) Viewed 3302 times
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by zxbdragon »

Zepper wrote:What's wrong with Ninja Gaiden??
latch+2,How much influence MMC3 GAME
User avatar
Zepper
Formerly Fx3
Posts: 3264
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by Zepper »

See yourself.
Attachments
burai.png
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post 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
User avatar
James
Posts: 429
Joined: Sat Jan 22, 2005 8:51 am
Location: Chicago, IL
Contact:

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by James »

This is not the right way to fix it. You will break other games.
get nemulator
http://nemulator.com
zxbdragon
Posts: 492
Joined: Mon Dec 12, 2011 8:15 pm

Re: Nestopia and Ninja Gaiden/Burai Fighter

Post by zxbdragon »

James wrote:This is not the right way to fix it. You will break other games.
yes,I'll worry about this
Post Reply