joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.81k stars 383 forks source link

[pc98] PSG sounds go wrong depending on timing. #2682

Open hfgxgdfz opened 3 years ago

hfgxgdfz commented 3 years ago

Describe the bug FM sound effect mode is wrong.

To Reproduce 1.file download https://ufile.io/kpzqqfaa File:FM3.zip 2.FDD BOOT ex)boot D:FM3.FDI 3.Command execution music BGM00.MML 4.Press the R key every second.

Expected behavior Depending on the timing of the key, the sound is played back in a choppy fashion. In some cases, it plays normally.

Screenshots non

Environment (please complete the following information): Windows10 DOSBox-X 0.83.15 2021-07-01 08:53

Wengier commented 3 years ago

Have you put the SOUND.ROM (the ROM image of the PC-98 FM board) in the DOSBox-X directory, as mentioned in the DOSBox-X PC-98 Wiki page?

hfgxgdfz commented 3 years ago

Thanks for your comment, I use the same SOUND.ROM as NekoProject, and place it in DOSBOX-X current. However, it is hard to tell if DOSBOX-X recognizes the BIOS and it is unclear. The symptoms I am encountering are attached below. (GitHub did not allow me to attach mp3, so I have changed the extension to mp4)

NP21/W

https://user-images.githubusercontent.com/87491907/126022038-514be727-8c27-4775-8724-eace2bae3757.mp4

DOSBOX-X

https://user-images.githubusercontent.com/87491907/126022041-7a3edf4c-9e41-4395-aff9-91e2b6cc941b.mp4

hfgxgdfz commented 3 years ago

After checking, I found that the sound effect of MUSIC.COM does not use the FM sound effect mode, but uses the PSG sound source. For this reason, change the title from "[pc98] FM sound channel 3 "sound effect mode" error." to "PSG sounds go wrong depending on timing."