|
Is ninja kazan\iga ninjytsuden fixed ?
#341628 - 06/18/15 09:14 PM
|
|
|
according to the news of Raine of some days ago
"kazan the clone of iganinju is now playable, and both these games have their sound effects fixed (apparently an optimization bug in the recent versions of gcc created a problem here - it was unnoticed for quite some time)."
is this bug he's talking about the same stuff that's preventing the game from running properly in mame?
|
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: Solstar]
#341629 - 06/18/15 10:06 PM
|
|
|
> is this bug he's talking about the same stuff that's preventing the game from running > properly in mame?
Im sure i read a comment from Haze a while back that problems with the above game in MAME was due to changes made to the protection/decrytion code a while back..??? As far as i know the games are still not currantly working
|
Arcade Addict
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: gamez fan]
#341656 - 06/19/15 02:15 PM
|
|
|
I've been looking forward to playing this game for a long time. I hope it gets fixed soon. I tested it on a recent EmuCR Git build and it still doesn't work properly.
|
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: gamez fan]
#341659 - 06/19/15 02:50 PM
|
|
|
IIRC is a problem of wrongly implemented/totally unimplemented IRQs. I looked at it some time ago and I was able to make small improvements. The game started to show something again but was very very slow. http://mametesters.org/view.php?id=2640 the bug report date is 10/11/2008.... at least 6 years passed...
|
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: Big Karnak]
#341662 - 06/19/15 04:45 PM
|
|
|
|
|
Re: Actually is fixed here on my PC....
[Re: Solstar]
#341663 - 06/19/15 09:20 PM
|
|
|
Code:
TIMER_DEVICE_CALLBACK_MEMBER(megasys1_state::megasys1A_scanline_kazan) { int scanline = param;
if(scanline == 240) // vblank clear all lines { m_maincpu->set_input_line(3, CLEAR_LINE); m_maincpu->set_input_line(2, CLEAR_LINE); m_maincpu->set_input_line(1, CLEAR_LINE); } if(scanline == 0) m_maincpu->set_input_line(1, ASSERT_LINE);
if(scanline == 128) m_maincpu->set_input_line(2, ASSERT_LINE);
if(scanline == 192) // completely a guess m_maincpu->set_input_line(3, ASSERT_LINE); }
and with this line commented out in original source enabled again:
Code:
m_rom_maincpu[0x00006e/2] = 0x0420; // the only game that does not like lev 3 interrupts
NOTE 1: this code breaks ALL other games in the driver, so it should be implemented only for Kazan. NOTE 2: it's a bit hacky, expecially the m_rom_maincpu patch. Though, it's necessary otherwise the game crash after the boot. This patch was enabled before the bug appeared and then commented out.
EDIT for Developers: the usage of HOLD_LINE with scanlines timers should be deprecated in favour of ASSERT_LINE and CLEAR_LINE. Probably my implementation is not 100% correct but hey, it took me an hour of investigations "fix" a 7 years old bug.
Edited by Mamesick (06/19/15 09:27 PM)
|
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: Robbbert]
#341674 - 06/20/15 04:50 AM
|
|
|
Quote:
You can try it out on Raine 0.64.5, since it now works there.
Hmm, Raine might be useful for a game or two after all.
The reason why Raine can play this game and not MAME is probably because it uses hacks to get it working, right?
Are there any other games off the top of your head, like this one, that Raine can play that MAME can't?
Edited by Big Karnak (06/20/15 06:25 AM)
|
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: Big Karnak]
#341685 - 06/20/15 02:59 PM
|
|
|
Final Burn Alpha will play Ninja Kazan as well just for the record
|
Arcade Addict
|
|
|
Re: Is ninja kazan\iga ninjytsuden fixed ?
[Re: gamez fan]
#341750 - 06/22/15 09:59 PM
|
|
|
> Final Burn Alpha will play Ninja Kazan as well just for the record
Because it also uses gross hacks, just for the record
|
|
|