WIP Atari ST ScummVM-lite

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

WIP Atari ST ScummVM-lite

Post by agranlund » Mon Apr 13, 2020 6:26 pm

I've been away from Atari for a while due to work, but managed to get enough meaningful progress done on my ScummVM port to show an early WIP video. I'm thinking I could use this thread to post updates whenever there is any :)

This is not intended to be a fully featured port of ScummVM but rather much stripped down and optimized for size and performance for specific game(s) on Atari. I am treating it more like if I was porting a game to a much lesser platform, not caring much about generic and portable code or compatability with anything other than Mi2/Indy4/Dott.
(There is already a fully-featured official port of ScummVM for Atari, and I'm not intending to reinvent that particular wheel)

My end goal is to have it running Monkey Island 2 on a RAM expanded but otherwise unaccelerated 8Mhz ST.
It's still a long way to go, but since most drawing is still horribly inefficient for the target platform I do have some hope in being able to reach the goal at some point.

Anyways, Day of the Tentacle obviously run quite well on my TF534 accelerated ST, in glorious 16 color ST Low resolution 8-)

https://youtu.be/9gYjQiyDxfQ

--Anders

User avatar
exxos
Site Admin
Site Admin
Posts: 12179
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
YouTube: https://www.youtube.com/user/exxosuk
Contact:

Re: WIP Atari ST ScummVM-lite

Post by exxos » Mon Apr 13, 2020 6:39 pm

Looking good :thumbup:
https://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxoshost.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.

User avatar
agranlund
Posts: 333
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund » Mon Apr 13, 2020 7:26 pm

exxos wrote:
Mon Apr 13, 2020 6:39 pm
Looking good :thumbup:
Surprisingly good for 16 colors! :D

User avatar
kodak80
Posts: 260
Joined: Sat Oct 21, 2017 1:14 am
Location: Brisbane,QLD Australia
Contact:

Re: WIP Atari ST ScummVM-lite

Post by kodak80 » Mon Apr 13, 2020 10:38 pm

I agree that this looks brilliant and brings new games to the ST platform. :goodpost:
Atari Falcon 030 | Atari 1040 STE | Atari 1040 STFM | Atari 1040 STF | Kryoflux & Supercard Pro Flux boards
Creator of the Atari ST Review magazine archive: https://www.chillichai.com/atari-st-review

mikro
Posts: 220
Joined: Mon Aug 28, 2017 11:22 pm

Re: WIP Atari ST ScummVM-lite

Post by mikro » Tue Apr 14, 2020 7:51 am

Not bad at all! I guess when you are finished it should be pretty straight-forward to re-add 8-bitplane graphics and make a TT/Falcon build of your optimised engine?

User avatar
Smonson
Trusted Guru
Trusted Guru
Posts: 565
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: WIP Atari ST ScummVM-lite

Post by Smonson » Wed Apr 15, 2020 9:29 am

Bravo! That is very impressive work!

terriblefire
Moderator Team
Moderator Team
Posts: 3331
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK
Contact:

Re: WIP Atari ST ScummVM-lite

Post by terriblefire » Wed Apr 15, 2020 11:52 am

Are you making use of fastram?
———
I get cranky when asked to repeat myself.

User avatar
agranlund
Posts: 333
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund » Wed Apr 15, 2020 9:15 pm

terriblefire wrote:
Wed Apr 15, 2020 11:52 am
Are you making use of fastram?
Absolutely! It'll use Fastram if it exists.
Only the final framebuffer is forced into ST-RAM, else the video circuit can't access it.

Programmers can use Mxalloc if they want to specify exactly which type of ram to allocate.
Or simply use malloc() which will prefer fastram if available, unless the program was flagged to only get access to ST-RAM (I assume they added that mechanism with the release of the TT as a compatability mode for programs that behave badly if loaded into and/or allocating from fastram)

User avatar
agranlund
Posts: 333
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: WIP Atari ST ScummVM-lite

Post by agranlund » Wed Apr 15, 2020 9:26 pm

Let there be sound! :D



I backported the midi code from current scummvm sources to my ancient codebase.
Midi-out from Atari is hooked up to midi-in on my Mac running an MT32 emulator.
Sounds fantastic!

I'd love to get my hands on a real MT32 but in the meanwhile my Mac is happy to pretend to be one :)

Not quite sure yet what to do about music for non-midi setups..
Adlib emulation and digitized sound will be too heavy for non-accelerated machines so I'm toying with the idea of driving the YM chip based on the midi notes - to at least get some kind of (crappy) music in those scenarios.
It's a problem for a much later day anyway, I'm super happy about the midi output!

terriblefire
Moderator Team
Moderator Team
Posts: 3331
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK
Contact:

Re: WIP Atari ST ScummVM-lite

Post by terriblefire » Wed Apr 15, 2020 9:38 pm

I'm really happy to see the TF boards enabling this sort of thing... :)
———
I get cranky when asked to repeat myself.

Post Reply

Return to “GAME ZONE”