English Amiga Board


Go Back   English Amiga Board > Support > support.Games

 
 
Thread Tools
Old 19 April 2023, 09:43   #21
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
Karlos says, double buffering in FastRAM should get approx 32 FPS if the game is not CPU limited? The limitation being by the copy speed of the 6bpl screen from FastRAM to ChipRAM?

The 680x0 CPU in PiStorm32 running Emu68 is significantly faster than any PC of the day.
alexh is offline  
Old 19 April 2023, 10:07   #22
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,167
Quote:
Originally Posted by alexh View Post
Karlos says, double buffering in FastRAM should get approx 32 FPS if the game is not CPU limited? The limitation being by the copy speed of the 6bpl screen from FastRAM to ChipRAM?

The 680x0 CPU in PiStorm32 running Emu68 is significantly faster than any PC of the day.
CPU speed definitely should not be a factor. I assumed, being a PC port, the game uses some form of C2P. Perhaps it uses some other approach that's more dependent on R/W access to chip memory.

If the game runs fine in UAE, where chip memory access speed penalty can be eliminated, then it's almost certainly something like that.
Karlos is offline  
Old 07 May 2023, 14:45   #23
tomcat666
Retro Freak
 
tomcat666's Avatar
 
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,648
Quote:
Originally Posted by jotd View Post
so all has been done to make the game as fast as possible.
Are you sure. Authors of Pistorm's FW have optimised it now to hit the theoretical MAX of chip ram write transfer rate:





Yes, that is the max amiga's chip ram is capable of, but we still get very low refresh rates and when I run the performance test inside the TFX configuration utility I get VERY slow transfer rates of 1.4Mb/s , while the system is actually capable of transfering 7Mb to chip ram:



I wonder if the game ever run smooth on ANY accelerator ?
tomcat666 is offline  
Old 07 May 2023, 14:52   #24
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
I think it has to do 32-bit long word access to get 7mbs
alexh is offline  
Old 07 May 2023, 14:56   #25
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,167
The speed of TFX leads me to believe there's something fundamentally wrong with it on the Amiga I doubt that it's CPU bound given how the PiStorm utterly crushes other CPU bound tasks.

I'd be looking for artificial frame caps, dodgy game timer code, trying to be clever with interrupts or something else like that.
Karlos is offline  
Old 07 May 2023, 16:32   #26
sokolovic
Registered User
 
sokolovic's Avatar
 
Join Date: Aug 2013
Location: Marseille / France
Posts: 1,437
Quote:
Originally Posted by Karlos View Post
The speed of TFX leads me to believe there's something fundamentally wrong with it on the Amiga I doubt that it's CPU bound given how the PiStorm utterly crushes other CPU bound tasks.

I'd be looking for artificial frame caps, dodgy game timer code, trying to be clever with interrupts or something else like that.
If the source code is available maybe you could check it like you've done for AB3D : TKG
sokolovic is offline  
Old 07 May 2023, 17:27   #27
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,167
First, and most obviously, how does it perform under UAE,and which emulation parameters affect performance most strongly?
Karlos is offline  
Old 07 May 2023, 18:15   #28
tomcat666
Retro Freak
 
tomcat666's Avatar
 
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,648
Quote:
Originally Posted by Karlos View Post
First, and most obviously, how does it perform under UAE,and which emulation parameters affect performance most strongly?
On UAE it is fast as it can get But WinUAE has chip ram speed on the max... not sure if one can lower chip ram speed to be the same as on A1200 ? Config test on WinUAE (very unrealistic chip ram speed )

tomcat666 is offline  
Old 07 May 2023, 19:00   #29
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,167
Well, that tells us something about what's wrong with it. What happens if you use cycle exact mode? I believe memory delays are modelled on 020+


I've not read all the threads around tfx but my guess is, it's got data in chip ram that shouldn't be there.
Karlos is offline  
Old 07 May 2023, 19:53   #30
tomcat666
Retro Freak
 
tomcat666's Avatar
 
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,648
Quote:
Originally Posted by Karlos View Post
Well, that tells us something about what's wrong with it. What happens if you use cycle exact mode? I believe memory delays are modelled on 020+


I've not read all the threads around tfx but my guess is, it's got data in chip ram that shouldn't be there.
Yes, it is even worse with WinUAE and Cycle Exact mode than with pistorm32 It gets around 430Kbytes/s even with the fastest CPU possible...
tomcat666 is offline  
Old 07 May 2023, 22:08   #31
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,167
This sounds like a job for someone with a good disassembler/reassembler suite. The mis-located data could be almost anything, it could be lookup tables, meshes, whatever. The only thing that should be in chip ram is the on screen graphics and sounds (assuming it just uses vanilla Paula playback).

Lol, I must be going senile. I said the same thing a few posts further up.

Last edited by Karlos; 07 May 2023 at 22:20.
Karlos is offline  
Old 08 May 2023, 00:22   #32
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,201
The latest version of TFX needs data in chipmem (bad hunk merging), but it could probably be relocated in fastmem, with exceptions done for copperlists, ... Not really a big job.

But not all executables have this particular issue. For instance the 040 compatible one (the one which has symbols) is okay.
jotd is offline  
Old 08 May 2023, 10:41   #33
Reynolds
Alien Breeder
 
Reynolds's Avatar
 
Join Date: Dec 2007
Location: Szigetszentmiklos / Hungary
Age: 46
Posts: 1,096
I wonder why never an RTG version was released. It would solve certain issues for sure, including low bandwith of Chipram.
Reynolds is offline  
Old 08 May 2023, 10:49   #34
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,201
very few games had a RTG version... Devs targetted a wide audience. TFX can run on a 68020...
jotd is offline  
Old 08 May 2023, 11:00   #35
Reynolds
Alien Breeder
 
Reynolds's Avatar
 
Join Date: Dec 2007
Location: Szigetszentmiklos / Hungary
Age: 46
Posts: 1,096
I know that but nowadays when Chip ram is more likely a bottleneck and several rtg based configs are all around it would worth it to release one... not all games really deserves an RTG versions, but something with this gfx-environment would deserve one. If I compare RTG vs AGA in games like Doom and other fps ports, framerate is significantly better on RTG, due to the obvious reason of the advantages of the gfx cards.
But this is just an idea of mine.
Reynolds is offline  
Old 08 May 2023, 11:42   #36
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
The Amiga source code is lost. Arguably the game was never completed (certainly never sold). I imagine shoe-horning RTG back into a pre-compiled binary isn't trivial.

As to why they never did it back in the day... because RTG cost the equivalent of £1000+
alexh is offline  
Old 08 May 2023, 11:53   #37
Reynolds
Alien Breeder
 
Reynolds's Avatar
 
Join Date: Dec 2007
Location: Szigetszentmiklos / Hungary
Age: 46
Posts: 1,096
AFAIK there was a pack of new executables a few years(?) back, so I presume someone still has the codes. But that needs to be checked to be sure.

Yes, noone ever believed that RTG will be so common as nowdays.
Reynolds is offline  
Old 08 May 2023, 12:07   #38
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
Quote:
Originally Posted by Reynolds View Post
AFAIK there was a pack of new executables a few years(?) back, so I presume someone still has the codes. But that needs to be checked to be sure.
There is another thread here that JOTD did as he examined all the files and determined why the newer ones crash and the older ones don't.

The source code was never released.
alexh is offline  
Old 03 June 2023, 20:25   #39
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Quote:
Originally Posted by jotd View Post
code is already running in fast ram. Only data segment is in chip for some version.
Is that the same thing happening with Digital Integration's Tornado?
Angus is offline  
Old 03 June 2023, 23:05   #40
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,201
nope. Tornado is full fastmem. It's just too ambitious.
jotd is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PiStorm32-Lite problems tech3475 support.Hardware 52 23 October 2023 17:49
Pistorm a500 & Pistorm32: Can you VNC? ElectroBlaster support.Hardware 4 09 March 2023 09:00
AGA, Amiga Demos on Pistorm32 nikosidis Amiga scene 8 06 March 2023 22:11
Unique - Origins on Pistorm32 nikosidis Amiga scene 5 01 March 2023 18:02
FS: Pistorm32 - GreaseWeazle - ATX Adaptors RetroPassionUK MarketPlace 0 14 January 2023 13:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:09.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10211 seconds with 14 queries