Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outrun - Master System FM Sound version glitch #26

Closed
the1ross opened this issue Mar 28, 2019 · 13 comments
Closed

Outrun - Master System FM Sound version glitch #26

the1ross opened this issue Mar 28, 2019 · 13 comments

Comments

@the1ross
Copy link

This only happens when the sound is set to FM sound.

When you begin the opening stage, there is noticeable audio distortion that can be heard until you crash into another car, after which the game sounds fine.

@theflynn49
Copy link
Contributor

theflynn49 commented May 1, 2019

What game do you mean exactly (please insert complete name and crc32 of your image here so I make sure)

In fact Outrun (not Europa) doesn't run. Maybe you mean Outrun Europa ?

@theflynn49
Copy link
Contributor

Forget it.
It does work with MiST and I can hear the problem with the SMS version, not in the GG one.
Seems like the noise generator is not initialized properly and produces sound until it is used in a crash, then it gets stopped.

@theflynn49
Copy link
Contributor

theflynn49 commented May 1, 2019

... and if you disable "FM Sound" you don't get the trouble.
and I should have read the title of this issue before commenting lol

@theflynn49
Copy link
Contributor

theflynn49 commented May 1, 2019

My problem with OutRun is that most of the ROMs I have begin with garbage :

hexdump -C OutRun\ (UE)\ [b2].sms | head
00000000 10 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200 f3 ed 56 31 00 de 18 7c 7b d3 bf 7a d3 bf c9 ff |..V1...|{..z....|

$000 to $1FF is garbage, I guess MiST removes it somehow, but Mister doesn't like this.

note: isn't this supposed to be dealt with in SMS.sv ? whatever.

@the1ross
Copy link
Author

the1ross commented May 2, 2019

Yeah, I thought it might be the ROM but I tried it on Kega Fusion and it worked fine with FM sound.

@sorgelig
Copy link
Member

sorgelig commented May 2, 2019

this line is SMS.sv:

.raddr(ioctl_addr[9] ? (ram_addr - 10'd512) & cart_mask512 : ram_addr & cart_mask),

supposed to skip the header if it presents.

@theflynn49
Copy link
Contributor

theflynn49 commented May 2, 2019

Yes, I just realized that 2^9=512 ... I was confused yesterday :)
The sources for the YM2413 are pretty abstruse , I didn't catch much at first sight. On another hand, I didn't get the 1-line rom size thing yesterday, so that was not my day to look into those sources I guess ...

Anyway, the fact that the header removal thing doesn't work on MiSTer for OutRun is worrysome, I'll have a look into that.

@SegaSnatcher
Copy link
Contributor

Yes was just going to post this issue. Any updates?

@theflynn49
Copy link
Contributor

I thought I fixed this long ago, maybe I am confused. But I haven't done anything for the audio bug.

@SegaSnatcher
Copy link
Contributor

PSG sounds fine, but the FM bug is still a problem. I.E. White noise until you hit something.

@theflynn49
Copy link
Contributor

This.
As far as I remember, pb is in VM2413, but not much people seem to be working on this module lately. Not much of a SMS pb anyway.

@greyrogue
Copy link
Contributor

#108

@thehughhefner
Copy link

Has this issue been fixed? If so then this ticket can be closed

@sorgelig sorgelig closed this as completed Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants