Some games really benefit from the speedup:
And some become instant "hard mode"
I tried a bunch of games and contrary to what I would have guessed the majority didn't actually suffer from becoming unplayably fast so I think it's worth it to tidy this up into a proper feature.
It needs a bit of cleanup in the firmware, the ability to enable/disable from software, and as a first pass have a look at making the software side update cache after file i/o for those that are using floppy or acsi drives.
It's all in a rather quick and dirty proof-of-concept stage at the moment
(Atari) ST-RAM boost WIP
Moderators: terriblefire, Terriblefire Moderator
Re: (Atari) ST-RAM boost WIP
Castle master
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
- mrbombermillzy
- Posts: 1441
- Joined: Sun Jun 03, 2018 7:37 pm
Re: (Atari) ST-RAM boost WIP
I must admit, I did have a quick look into a similar performance speedup (for TT rather than TF though).
Basically, I concluded that the Shifter RAM needed relocating before anything really useful speed-wise could be done.
Im currently using a Shadow TT RAM system for copy/transform operations of screen data.
However, you are taking a different direction here with OS call (+ possibly MMU) relocations for speedups and I will be very interested in what you come up with.
Keep up the good work!
Basically, I concluded that the Shifter RAM needed relocating before anything really useful speed-wise could be done.
Im currently using a Shadow TT RAM system for copy/transform operations of screen data.
However, you are taking a different direction here with OS call (+ possibly MMU) relocations for speedups and I will be very interested in what you come up with.
Keep up the good work!
Re: (Atari) ST-RAM boost WIP
@agranlund Frontbench time ?
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: (Atari) ST-RAM boost WIP
So this is a custom firmware for the tf536 (regular edition) ? I wouldn't mind having this enabled for my H5 tf536 because it runs from IDE & doesn't need blitter.
Re: (Atari) ST-RAM boost WIP
Yep. It's for the regular edition.
I eventually abandoned that particular path I wrote about before in the thread, but there is a firmware (and new maprom) which enables the L1 cache for ST-RAM - this attempts to solve the same thing but in a different way.
It isn't as big of a speed boost for ST-RAM programs as some of the earlier and more complicated experiments, but for the simplicity I think it works surprisingly well and it can make quite a difference for games running from ST-RAM.
There is before and after videos here:
https://www.exxosforum.co.uk/forum/viewt ... 318#p83155
And the firmware + new maprom program can be found here:
https://www.exxosforum.co.uk/forum/viewt ... =30#p83177
You may or may not have issues in TOS206, especially with Floppy and maybe other DMA devices. Turning cache off may help in that case.
Some programs may not work at all with cache enabled, some may run to fast etc..
Disabling the cache option in the Tos menu should help in that case.
I've ran a bunch of games but I don't want to say it's very well tested and I can't tell for sure how it effects overall compatibility.
Re: (Atari) ST-RAM boost WIP
Its a shame SRAM doesn't have a clear pin I was thinking about this the other day . I mean writing to a shadow ram and reading from it is doable as proven. Problem is it needs a 1 extra bit per address to tell if the shadow ram as been written to so we know it has valid data. On a bus master access it would need to clear the whole bank of that extra bit. Not possible with SRAM
If however we could fit like 50 million flip flops into a PLD I think it would actually be possible to cache the whole ST RAM area.. Within alt-ram. Simple idea, but doable not so much
If however we could fit like 50 million flip flops into a PLD I think it would actually be possible to cache the whole ST RAM area.. Within alt-ram. Simple idea, but doable not so much
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: (Atari) ST-RAM boost WIP
You need the DMA signal that goes from GLUE to MMU. You also need the databus, of course. And you also need to snoop writes to the DMA address registers.
If you snoop bus maters access you never need to invalidate the shadow ram. It is always valid.exxos wrote: ↑Wed Apr 13, 2022 6:14 pm Its a shame SRAM doesn't have a clear pin I was thinking about this the other day . I mean writing to a shadow ram and reading from it is doable as proven. Problem is it needs a 1 extra bit per address to tell if the shadow ram as been written to so we know it has valid data. On a bus master access it would need to clear the whole bank of that extra bit. Not possible with SRAM
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
Re: (Atari) ST-RAM boost WIP
Yep, Was talking to @Badwolf about just that a few weeks back. Time is never on anyone's side, unfortunately.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.