WIP Atari ST ScummVM-lite

Our top picks of ST games!
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund »

jeloneal wrote: Mon Nov 09, 2020 2:15 pm Thanks for your continued efforts in this wonderful project!
Slowly but surely :)
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: WIP Atari ST ScummVM-lite

Post by stephen_usher »

I've just tried the 9th November build on my TT with a new monster.sou file extracted from the Remastered version of "Day of the Tentacle".

I have music!

However. plenty of crashes.

The first time I ran it there were two bombs just as Bernard got the note from the hamster. The second time, three bombs just as the Doctor was explaining that the pumps would have to turned off yesterday.

I've not tried the other games yet.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund »

stephen_usher wrote: Wed Nov 11, 2020 7:00 pm I've just tried the 9th November build on my TT with a new monster.sou file extracted from the Remastered version of "Day of the Tentacle".

I have music!

However. plenty of crashes.

The first time I ran it there were two bombs just as Bernard got the note from the hamster. The second time, three bombs just as the Doctor was explaining that the pumps would have to turned off yesterday.

I've not tried the other games yet.
Cheers Stephen!
My ST is taken apart but I'll have a proper go with DOTT to see if I can replicate the crashes once the machine is back together again.

If you get a chance, does it make a difference with either the music or speech disabled? I'm thinking if it's one of those that are causing issues.
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: WIP Atari ST ScummVM-lite

Post by stephen_usher »

I'll have a play and report back.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: WIP Atari ST ScummVM-lite

Post by stephen_usher »

No music + DMA sound - crashing
No sound + YM music - no crash

Testing YM sound and YM music now.

P.S. That's bombing too.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: WIP Atari ST ScummVM-lite

Post by stephen_usher »

I've tried MI2 & Indy4 but neither of those have sounds, probably due to the iffy downloads. :-)
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund »

stephen_usher wrote: Wed Nov 11, 2020 8:29 pm No music + DMA sound - crashing
No sound + YM music - no crash

Testing YM sound and YM music now.

P.S. That's bombing too.
Thank you!
Seems sound/speech related then, I'll see if I can replicate the issue here when the Atari is back from surgery :)
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: WIP Atari ST ScummVM-lite

Post by stephen_usher »

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!
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund »

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).
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: WIP Atari ST ScummVM-lite

Post by stephen_usher »

TT + SCSI (SCSI2SD V5.1) + HDDriver 10.x

I could try putting it on my UltraSATAN on the ACSI bus to see if that makes any difference.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Locked

Return to “GAME ZONE”