Supermodel r853: Problems with DSB2 audio.

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Supermodel r853: Problems with DSB2 audio.

Postby PDNEJOH » Thu Mar 04, 2021 6:43 pm

I'd like to report about the bugs in the newest revision of the emu
Games with DSB2 audio board (Daytona USA 2, Sega Rally, Spikeout) has a bug which caused the game's BGM stopped playing altogether when it switches to another music (Daytona USA 2, happens after you finished the race or entering your initials on the second time you played the game in one session), or sometimes keeps playing the same BGM instead of switching it (I've seen it once while playing Sega Rally 2, again during the finish part) or the music overlaps (Spikeout, noticeably in the "Here comes the Boss" part. Curiously, doesn't happen in FE version though, but IDK if it supposed to be sound like that in the original).
User avatar
PDNEJOH
 
Posts: 68
Joined: Thu Mar 22, 2012 2:42 am
Location: Indonesia

Re: Supermodel r853: Problems with DSB2 audio.

Postby Bart » Thu Mar 04, 2021 7:52 pm

PDNEJOH wrote:I'd like to report about the bugs in the newest revision of the emu
Games with DSB2 audio board (Daytona USA 2, Sega Rally, Spikeout) has a bug which caused the game's BGM stopped playing altogether when it switches to another music (Daytona USA 2, happens after you finished the race or entering your initials on the second time you played the game in one session), or sometimes keeps playing the same BGM instead of switching it (I've seen it once while playing Sega Rally 2, again during the finish part) or the music overlaps (Spikeout, noticeably in the "Here comes the Boss" part. Curiously, doesn't happen in FE version though, but IDK if it supposed to be sound like that in the original).


Can you capture videos of this? And are you sure it is with the latest version and does not occur in e.g. 851?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Supermodel r853: Problems with DSB2 audio.

Postby PDNEJOH » Thu Mar 04, 2021 8:05 pm

Bart wrote:
Can you capture videos of this? And are you sure it is with the latest version and does not occur in e.g. 851?


Yes, I'm pretty sure it's 853 because that what I downloaded earlier.
I'll capture the video of it later.
User avatar
PDNEJOH
 
Posts: 68
Joined: Thu Mar 22, 2012 2:42 am
Location: Indonesia

Re: Supermodel r853: Problems with DSB2 audio.

Postby Bart » Thu Mar 04, 2021 8:55 pm

PDNEJOH wrote:
Bart wrote:
Can you capture videos of this? And are you sure it is with the latest version and does not occur in e.g. 851?


Yes, I'm pretty sure it's 853 because that what I downloaded earlier.
I'll capture the video of it later.


I managed to reproduce it in Daytona 2 so no need. Not sure what the cause is. It must be my code somehow but I don't see how yet...
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Supermodel r853: Problems with DSB2 audio.

Postby PDNEJOH » Thu Mar 04, 2021 9:12 pm

Ah, one more thing, the BGM in Sega Rally 2 also sometimes doesn't fade out (always occurs during finish).

https://streamable.com/6an9dq

This one is when the music doesn't switch. (Also SR2)

https://streamable.com/zdu0x0
User avatar
PDNEJOH
 
Posts: 68
Joined: Thu Mar 22, 2012 2:42 am
Location: Indonesia

Re: Supermodel r853: Problems with DSB2 audio.

Postby gm_matthew » Fri Mar 05, 2021 5:10 pm

I've been testing myself and I haven't been able to reproduce any of the problems in Daytona 2 yet.

With regards to Sega Rally, I've just encountered the problem of the music sometimes not switching in SVN 851, so this is not a new bug.

EDIT: I've just been able to recreate the problem multiple times after bumping the clock speed of the DSB2 up to 12MHz (usually it's 4MHz). One time the CPU stopped executing altogether, another time it got stuck in an infinite loop. No idea yet what could be causing the issue, but at least I'm at the point where I can start to investigate.

EDIT 2: I've found the the source of the problem. I've e-mailed Bart about it so hopefully the SVN should be updated soon :D
gm_matthew
 
Posts: 224
Joined: Fri Oct 07, 2011 7:29 am
Location: Bristol, UK

Re: Supermodel r853: Problems with DSB2 audio.

Postby PDNEJOH » Sun Mar 07, 2021 7:09 am

Okay, just compiled the new r855 since the automated builds for it isn't available yet, and now the problem was mostly fixed, well for Daytona 2 anyway.

Sega Rally 2 finish music still doesn't fades out occasionally (usually happens on the first track), but I haven't encountered the "music not switching" bug though, at least from a earlier playthrough test, so it's a start.

But still, thanks :D

EDIT: I think I managed to fix the SR2 finish music not fading out bug, by increasing the PPC Frequency to 66. SR2 also needs at least 66 Mhz anyway to fix the cars flickering glitches, well the AI cars would still flickers at the last track though (Riveira). I think 70Mhz was the actually the right spot where it actually eliminates the flickering.

EDIT2: Turns out, I have to edit the DSB.h by increasing k_timerPeriod and k_framePeriod from 4000000 to 11000000 (I got the numbers accordingly from the MAME's model3.cpp) coupled with increasing the PPC Frequency to actually fix it.

EDIT3: Apparently, you only need the edit the DSB.h if you're limiting your framerates to 57fps, by using RTSS or similar tool. The normal 60fps should be fine by just increasing it to 66Mhz. Of course, only needed for Sega Rally 2.
Last edited by PDNEJOH on Mon Mar 08, 2021 11:27 pm, edited 1 time in total.
User avatar
PDNEJOH
 
Posts: 68
Joined: Thu Mar 22, 2012 2:42 am
Location: Indonesia

Re: Supermodel r853: Problems with DSB2 audio.

Postby Bart » Mon Mar 08, 2021 9:22 pm

Do we have the DSB clock frequency incorrect? 4MHz does sound suspiciously low for a late-90's 68000-class processor...
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron