Welcome!

Final Burn Neo => FBN Development => Topic started by: Death Metal on March 05, 2005, 11:33:49 PM

Title: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on March 05, 2005, 11:33:49 PM
Hey guys.

I'm not sure whether it's only me or not, but these two games (for the CPS-1 system) do not seem to work on the latest FBA version (0.2.95.23). The screen goes black and the games never start. The strange thing is that their current drivers appear to be authentic to their 0.2.94.98 counterparts (well, in a further comparison, the variable "slamPro" has been taken out, but the "CpsQs" one seems to do same job, so far I've examined). Does anyone else face this bug? If not, could you please post their Init drivers here so that I can take a lot to see if mine are different (though I've been attempting to use the  drivers that came with the source), please?

Thanks in advance.
Title: Slam Masters & Muscle Bomber Duo bug
Post by: iq_132 on March 06, 2005, 02:22:34 AM
That bug is known by the fba team.  Jan said on IRC that it was broken because he took some code out he thought he didn't need :p
Title: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on March 06, 2005, 05:18:59 AM
Oh, I see. That's sad, but oh well. :p
Title: Slam Masters & Muscle Bomber Duo bug
Post by: netbug on March 06, 2005, 07:35:25 AM
Let's wait and see official updating.
Otherwise,my owner version works fine now. :p  :rolleyes:  :eek: :D
Title: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on March 10, 2005, 03:12:09 AM
Yo netbug. Would you mind sharing the init codes in case you have it, please?
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: mai on January 02, 2006, 09:59:52 AM
if there any chance, that Slam Masters will be emulated by FB Evolution in future releases?
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: JiMMy_PaGe on January 02, 2006, 10:49:56 AM
if there any chance, that Slam Masters will be emulated by FB Evolution in future releases?
I donno, i need to work on that... but it seens that all the CPS system codes are fine, i think the problem is caused because the sek (68K) and the zet (z80) codes were updated on the new source...thats why we get a black screen, because the decryption code for that game is fine (its the same as the old code)... anyway, im just guessing it, i need to check it out to confirm my thoughts   :biggrin:
C ya
PS: looks like fba team have already fixed it on the new source, take a look at the latest test version  :wink:
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: mai on January 03, 2006, 01:42:12 AM
I donno, i need to work on that... but it seens that all the CPS system codes are fine, i think the problem is caused because the sek (68K) and the zet (z80) codes were updated on the new source...thats why we get a black screen, because the decryption code for that game is fine (its the same as the old code)... anyway, im just guessing it, i need to check it out to confirm my thoughts   :biggrin:
C ya
PS: looks like fba team have already fixed it on the new source, take a look at the latest test version  :wink:
yeah, thanks for advice ;)
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: JiMMy_PaGe on August 17, 2006, 10:21:39 PM
Today i started to work on slammast again, and i've got some sweet results  :biggrin: the game runs fine, no bugs on the 68000 program till now, the only bug i've got so far is that when you pass the title screen, the sound stops playing :idiot: you only hear a strange noise, i think its probably because of the QSound and / or Z80 chips. Just give some time to revise and work better on the code, after that i'll post the capcom fba source updated with the code  :wink:
(http://img205.imageshack.us/img205/9914/slammast1yi5.th.jpg) (http://img205.imageshack.us/my.php?image=slammast1yi5.jpg)
(http://img207.imageshack.us/img207/4086/slammast2rx2.th.jpg) (http://img207.imageshack.us/my.php?image=slammast2rx2.jpg)
(http://img208.imageshack.us/img208/4617/slammast3dt2.th.jpg) (http://img208.imageshack.us/my.php?image=slammast3dt2.jpg)
(http://img204.imageshack.us/img204/6791/slammast4ic4.th.jpg) (http://img204.imageshack.us/my.php?image=slammast4ic4.jpg)
C ya bros
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: James33 on August 18, 2006, 10:54:15 AM
Thanks for the news :)
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on August 21, 2006, 03:55:56 PM
That's great, Jimmy, thanks for the heads up. Would love to have these working again on my build. :smilie:
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on September 06, 2006, 10:24:54 PM
Yo Jimmy. Hope things are going well with with slammast there. Hopefully you haven't dropped it.
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: iq_132 on September 07, 2006, 01:24:12 PM
He's got it work 100% now, the Z80 error was something simple. 
He just needs to clean up the code (which afaik is at the bottom of his todo list).
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on September 08, 2006, 02:54:43 AM
That's great! If we take a look at the dates, it's been like 1 year and a half that I posted that. You can tell I'm kind of excited for some reason. :p
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on November 15, 2006, 11:43:23 AM
Any news on this?
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: iq_132 on November 15, 2006, 09:59:14 PM
jimmy is still working on his next fba evo release, but i will see if i can put together something before he releases it.  (he has got the ID software release schedule -- When it is done, it will be done  :wink: )
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: BisonSAS on November 18, 2006, 05:11:33 AM
My code fix version. :cool:

In src/burn/capcom/cps_rw.cpp
Find this:
Code: [Select]
#if 0
if (Cps1Qs == 1) {
//CPS1 EEPROM write
if (ia == 0xc007) {
}
}
#endif
   
Replace this:
Code: [Select]
if (Cps1Qs == 1) {
//CPS1 EEPROM write
if (ia == 0xc007) {
EEPROMWrite(d & 0x40, d & 0x80, d & 0x01);
return;
}
}
   
   
In src/burn/capcom/cps_mem.cpp

Find this:
Code: [Select]
if (Cps1Qs == 1) {
// Map the 1st 32KB of the QSound ROM into the 68K address space
for (int i = 0x7FFF; i >= 0; i--) {
CpsEncZRom[(i << 1) + 0] = CpsEncZRom[i];
CpsEncZRom[(i << 1) + 1] = 0xFF;
}
// SekMapMemory(CpsEncZRom, 0xF00000, 0xF0FFFF, SM_ROM);
SekMapHandler(3, 0xF00000, 0xF0FFFF, SM_ROM);
SekSetReadByteHandler(3, haxx0rReadByte);

Replace this:
Code: [Select]
if (Cps1Qs == 1) {
// Map the 1st 32KB of the QSound ROM into the 68K address space
for (int i = 0x7FFF; i >= 0; i--) {
CpsEncZRom[(i << 1)] = CpsEncZRom[i];
CpsEncZRom[(i << 1) + 1] = 0xFF;
}
SekMapMemory(CpsEncZRom, 0xF00000, 0xF0FFFF, SM_ROM); // QSound ROM

In src/burn/capcom/dc_slammast.cpp
Find this:
Code: [Select]
nCpsZRomLen= 1*0x020000;
replace this:
Code: [Select]
nCpsZRomLen= 2*0x020000;
(http://209.85.12.234/1023/174/upload/p4025614.gif)

(http://209.85.12.234/1023/174/upload/p4025615.gif)

Driver include this changes in attachment.
 :cool: :smilie: :wink:
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: iq_132 on November 18, 2006, 05:10:31 PM
Excellent. Thanks for saving me the time/work :)
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on November 19, 2006, 12:13:37 AM
Thank you guys so much! Finally I'll have this working again after so much time (I know I could have used another emulator, but I didn't want to "cheat" on my own release of FBA :p).
Title: Re: Slam Masters & Muscle Bomber Duo bug
Post by: Death Metal on November 23, 2006, 07:20:52 PM
Oh, and by the way, YAY IT WORKED!

:p