English Amiga Board


Go Back   English Amiga Board > Support > support.Games

 
 
Thread Tools
Old 05 June 2023, 18:35   #61
tomcat666
Retro Freak
 
tomcat666's Avatar
 
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,648
Quote:
Originally Posted by Seiya View Post
But does emu68 working in jit?
Emu68 is JIT yes. Unfortunetly it means that emulators like DOSBOX don't work well in it just because of it aparently.
tomcat666 is offline  
Old 05 June 2023, 18:57   #62
Seiya
Registered User
 
Seiya's Avatar
 
Join Date: Nov 2014
Location: Italy
Posts: 2,369
not for that. i asket to know how it works emu68. in WinUAE you can choose to enable or disable Jit.
So emu68k works like Amithlon where UAE working always in JIT.

emu68k emulate a so fast 680x0 processor that with few games there are problems of performance due to a bottlenek
Seiya is offline  
Old 05 June 2023, 19:37   #63
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Rats! Foiled again! ;-)
Angus is offline  
Old 05 June 2023, 19:55   #64
van_dammesque
Registered User
 
Join Date: Aug 2014
Location: England
Posts: 231
[ Show youtube player ]
van_dammesque is offline  
Old 05 June 2023, 20:07   #65
tomcat666
Retro Freak
 
tomcat666's Avatar
 
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,648
Quote:
Originally Posted by van_dammesque View Post
[ Show youtube player ]
Well, we are now upto the theoretical 7.0 Mb/s on the pistorm32... so pretty much there when it goes to chip ram writes:



He should update the video...
tomcat666 is offline  
Old 05 June 2023, 20:13   #66
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,355
Quote:
Originally Posted by Seiya View Post
not for that. i asket to know how it works emu68. in WinUAE you can choose to enable or disable Jit.So emu68k works like Amithlon where UAE working always in JIT.
PiStorm can run emu68k JIT or Mushashi interpreter

Quote:
Originally Posted by Seiya View Post
emu68k emulate a so fast 680x0 processor that with few games there are problems of performance due to a bottlenek
No. The problems are in the code of the game and nothing to do with the CPU they are running on

The fact TFX doesn't get any faster with a Much Much faster CPU can only be due to the way the game was written. It either artificially limits the speed OR uses hardware in a way that the CPU spends most of its time waiting for something.

Last edited by alexh; 05 June 2023 at 20:20.
alexh is offline  
Old 05 June 2023, 22:04   #67
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,169
It's clear that tfx is crippled by something that isn't the CPU. It's slow on PiStorm, slow on UAE with cycle accurate memory access and fast on UAE with all the stops pulled out.

It's definitely some crappy memory / chipset access loop somewhere hogging it all.
Karlos is online now  
Old 05 June 2023, 23:06   #68
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,004
Quote:
Originally Posted by Karlos View Post
It's clear that tfx is crippled by something that isn't the CPU. It's slow on PiStorm, slow on UAE with cycle accurate memory access and fast on UAE with all the stops pulled out.

It's definitely some crappy memory / chipset access loop somewhere hogging it all.
Surely you should be able to activate the HEATMAP option in WinUAE which will physically point to what the problem is?
Galahad/FLT is offline  
Old 05 June 2023, 23:11   #69
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
Quote:
Originally Posted by tomcat666 View Post
Well, we are now upto the theoretical 7.0 Mb/s on the pistorm32... so pretty much there when it goes to chip ram writes:



He should update the video...

These results are for the beta releases that many of the testers on pistorm32-dev Discord have issues with, which is why it was not added to the official releases yet.
I had issues with these betas and reverted back to the latest nightly.
UberFreak is offline  
Old 05 June 2023, 23:28   #70
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,169
Quote:
Originally Posted by Galahad/FLT View Post
Surely you should be able to activate the HEATMAP option in WinUAE which will physically point to what the problem is?
Maybe someone can try
Karlos is online now  
Old 06 June 2023, 18:38   #71
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
With the WinUAE DMA debugger it sure appears to be doing something slow. For each displayed frame it has a bunch of frames with quite a bit of CPU access to chip mem, then 1.5 with basically nothing and then a burst of blitter activity (seems to be a large copy D=A using the BLTSIZV/H).

So it's likely something that could be fixed, and at least it's quick to get into demo mode to show the issue. First point of action would be someone (not me) doing some basic reverse engineering of the code to figure out what it's actually doing.

EDIT: It seems to be doing essentially doing "putpixel" with bset/bclr into chipram thousands of times per second...

Last edited by paraj; 06 June 2023 at 18:58.
paraj is offline  
Old 06 June 2023, 22:44   #72
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,169
Quote:
Originally Posted by paraj View Post
EDIT: It seems to be doing essentially doing "putpixel" with bset/bclr into chipram thousands of times per second...
Oblique line drawing?

If I was just prototyping something and had to put up with planar graphics I sure as hell wouldn't be rolling my own code until absolutely necessary during an optimisation cycle.
Karlos is online now  
Old 06 June 2023, 23:18   #73
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
so we're talking about TFX or Tornado ?

bset/bclr from chip could be replaced by fastmem backbuffer and then copy screen to chip in the end: when copper interrupt or vblank is triggered, in the non-displayed buffer (surely the game uses double buffering)
jotd is offline  
Old 06 June 2023, 23:39   #74
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,169
Quote:
Originally Posted by jotd View Post
so we're talking about TFX or Tornado ?

bset/bclr from chip could be replaced by fastmem backbuffer and then copy screen to chip in the end: when copper interrupt or vblank is triggered, in the non-displayed buffer (surely the game uses double buffering)
What if the chip memory is being drawn to by the blitter ? Your fast nem buffer transfer would clobber it.
Karlos is online now  
Old 07 June 2023, 07:32   #75
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
true. Some rare games (Red Zone) don't use the blitter but most 3D games use it.
jotd is offline  
Old 07 June 2023, 08:30   #76
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,355
This is a very late 3D game. Designed for accelerated Amiga's. I'm not saying it doesn't use the blitter but they knew it would be slower than the CPU. Especially with 020+ binaries
alexh is offline  
Old 07 June 2023, 09:13   #77
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Would a comparison of how the AGA and ECS versions perform on UAE offer any more indication of what is going on?
Angus is offline  
Old 07 June 2023, 09:41   #78
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
Sorry, yes, that was for Tornado (not sure how I got them mixed up).

TFX uses the blitter a bit, but not too much. It also plots directly in planar mode using the CPU but is clearly optimized to reduce the number of chip accesses (always doing longword accesses). This is OK, but I think it would be faster if it just operated on a fast ram buffer and copied that to chip mem (maybe only parts that have been changed).

TFX.040 includes quite a number of symbols, so it's not too hard to figure out what is going on.
paraj is offline  
Old 07 June 2023, 11:04   #79
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,206
Quote:
Originally Posted by paraj View Post
Sorry, yes, that was for Tornado (not sure how I got them mixed up).

it's Angus fault
jotd is offline  
Old 07 June 2023, 11:18   #80
Angus
Amiga Games Database
 
Angus's Avatar
 
Join Date: Jun 2006
Location: South West England
Posts: 1,254
Always! ;-)
Angus 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 11:11.

Top

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