stephen_usher wrote: ↑Sun Nov 15, 2020 2:16 pm
As a test I turned off the TT-Ram flag (data) in the program and so far no crashes and I'm getting reasonably far into the game.
I'm guessing that your sound sub-system is allocating memory in TT-Ram and trying to DMA it or similar.
P.S. Spoke too soon!
It should allocate ST ram for the DMA buffer. This buffer is allocated once at startup so if you hear sound at all then that's proof enough it's in ST-RAM
There is usually a lot of disk activity when speech is played so this is rather high up on the points of investigation - especially since you mentioned you had the same crashes when using YM for speech which is a quite different codepath from DMA sound. This leads me to believe the source of the issue is not with the end playback but something on a higher level where the code is the same no matter the output device.
Out of curiosity, what type of drive do you have, which driver do you use, and which bus is it connected to?
One specific Mega STE, with the P.Putnik driver, had issues when loading too much/fast so I had to do some workaround to get the game stable on that one machine.
Not using TT-RAM also means data from the disk wont have to go through the FRB buffer in ST-RAM before being copied to TT-RAM, so there is a difference even with disk access when a program is using TT-RAM (for DMA devices at least).