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
Ogre Battle Gaiden: Zenobia no Ouji. No sound when meet a enemy. #48
Comments
On NGP.EMU, it plays the entire digitized speech correctly? With NEOPOP, I get partial speech and then glitched until battle tune starts. Latest Mednafen gets broken speech + no battle music / sfx either (same with Beetle core). Guess I'll ping Mednafen author again if I get somewhere. |
NGP.EMU = incorrect. No DAC speech: Fight it out, Liberation, Lucky, Boo Boo, Thank you, etc. This looks to be a hard one.
DAC src and/or counter gets reset to new values in the middle of playback, causing static and garble. It's random but very likely to trigger. At best, you'll hear most of the speech sample or some of it. Usually you get trash. And if unlucky, it never stops trashing and carries over everywhere. Created a dirty, ugly Ogre Battle hack for NEOPOP that will pretty often play speech correctly. Inside TLCS900h_interpret, we can save those 2 ram values before executing opcode. If opcode changes it to bad values, we rewind ram values back again. Not so likely I'll find cause of this error, maybe ever. And not too interested in figuring it out given difficulty. But I will try merging this into beetle core. Leave it to core maintainers whether to accept such hack. edit: Better idea. Do checks in storeL. |
@stellarporter |
@leoxxx You can test the Windows fix here. (edit: new link) I'll add it later for the Android tester kits. |
While the hack works, this is the fix we need:
We are supposed to raise the firing interrupt by 1, not the actual current IFF. This will prevent game from firing IRQs inside the DAC IRQ routine, which breaks the speech. As I do not know the interrupt levels, I am hesitant to submit an actual fix to the repo. |
It's no problem in NGP.EMU.
When meet a enemy, play a nosie sound till battale beginning in NEOPOP.
The text was updated successfully, but these errors were encountered: