English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 16 June 2022, 18:37   #1
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,059
James Pond GFX glitch

Just tried to run James Pond's first game, and there are graphics glitches at loading screen:






I tried both A500, A500+ setups (OCS and Full ECS), using IPF and ADF versions of the game, to the same results. (neither of games loads completely)


Am I missing something here?
Anubis is online now  
Old 16 June 2022, 18:50   #2
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,504
Just tested James Pond - Underwater Agent (1990)(Millennium)[cr PDX] in last official and last winuae.7z = no problem! (QS A500 ECS 512+512 config)
amilo3438 is offline  
Old 16 June 2022, 18:58   #3
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,535
Using most common A500 quickstart and the '3015' IPF it works fine for me in WinUAE 4.9.1.
TCD is offline  
Old 16 June 2022, 19:01   #4
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,059
Must be my video card. Will test it at home.

Thank you both for checking it.
Anubis is online now  
Old 16 June 2022, 19:01   #5
Zarnal
Registered User
 
Join Date: Feb 2018
Location: France
Posts: 504
IPF 3015 is also Ok. Quickstart A500.
Zarnal is online now  
Old 16 June 2022, 19:02   #6
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
which version of winuae do you use ?
turrican3 is offline  
Old 16 June 2022, 19:24   #7
Zarnal
Registered User
 
Join Date: Feb 2018
Location: France
Posts: 504
4.9.1
Zarnal is online now  
Old 16 June 2022, 19:30   #8
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,059
I used both IPFs - 3015 and 3016 and had the same results.

The same WinUAE version, 4.9.1, 64 bit exe.
Anubis is online now  
Old 16 June 2022, 19:43   #9
Zarnal
Registered User
 
Join Date: Feb 2018
Location: France
Posts: 504
Ok also with 4.9.1 64 bits and 3015.
Zarnal is online now  
Old 16 June 2022, 20:42   #10
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,174
those are blitter errors. use "immediate blitter" in WinUAE, or whdload version
jotd is offline  
Old 16 June 2022, 21:01   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
It is 100% not display driver related. Do you really use proper A500 config? (=Quickstart A500 with max compatibility)

(You don't use immediate blitter when emulating A500 accurately..)
Toni Wilen is online now  
Old 16 June 2022, 21:38   #12
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,059
Just used unmodified quick config for A500 and got the same screen.

Tried with FS-UAE and looks OK.


@jotd - that fixed it. 'Immediate blitter' instead of 'Wait for blitter' fixed the issue.

Not sure why 'Wait for blitter' is default.

Thank you!!


ps. Toni, can you add FIXED or SOLVED to title?

Last edited by Anubis; 16 June 2022 at 21:52.
Anubis is online now  
Old 16 June 2022, 23:09   #13
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
Quote:
Originally Posted by Anubis View Post
Just used unmodified quick config for A500 and got the same screen.

Tried with FS-UAE and looks OK.


@jotd - that fixed it. 'Immediate blitter' instead of 'Wait for blitter' fixed the issue.

Not sure why 'Wait for blitter' is default.

Thank you!!


ps. Toni, can you add FIXED or SOLVED to title?
Wait for blitter is default because there is no immediate blitter option on a real Amiga, wait for blitter is what a real Amiga expects.

Some code however is only expecting 68000, and on that processor, the programmer has written the code to sometimes not have a blitter wait because they know that by the time the blitter is setup for another blit operation, it has finished the previous blit.
Galahad/FLT is offline  
Old 17 June 2022, 00:00   #14
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,174
I've noticed that WinUAE wait for blitter option doesn't work or fix things for me when blitter waits are missing in the game. Immediate blitter does the trick, always.

Best way to code is to wait for blitter just before modifying anything for the next blit.

Sometimes blitter waits have been inserted in a lazy way (I plead guilty) to wait right after BLTSIZE because it's easier, but it's also slower.
jotd is offline  
Old 17 June 2022, 13:00   #15
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,059
Thank you for explaining.
Anubis is online now  
Old 17 June 2022, 13:24   #16
Zarnal
Registered User
 
Join Date: Feb 2018
Location: France
Posts: 504
Quote:
Originally Posted by Galahad/FLT View Post
Wait for blitter is default because there is no immediate blitter option on a real Amiga, wait for blitter is what a real Amiga expects.



I don't quite understand anymore. In principle "Wait for Blitter" is a compatibility hack if CPU is too fast. I thought it was only useful at 020+. What interest on a Quickstart A500 (in the case which interests us with James Pond)? I am wrong ?
Zarnal is online now  
Old 17 June 2022, 13:39   #17
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Maybe it's better to clarify a bit..
Perfect and better emulation requires neither "Immediate Blitter" nor "Wait for blitter".

"Immediate Blitter" does what it says: the blitter operation is performed in 'no time' during emulation, so there is no possibility that an incorrect blitter wait or annoying setting of the registers will be performed during an 'active' operation.
But obviously in this way there is no emulation of what really happens because there are no waiting times for the result and the timed operations risk failing.
I advise against activating it when you want to test your code because it does not provide reliable results for the corresponding real machines.

"Wait for Blitter" is a little more complicated to understand and often misunderstood.
Basically in this case the Blitter works like usual, unless the CPU code (or Copper) attempts to write to blitter registers while previous blit is still active.
If that happens, it wait for the blitter to finish (just like a coded blitterwait would).
That's why it can be found preset in some configurations with a fast processor: because in these cases a failed blitterwait (code expected to be slower and blitter already finished its job) causes video glitches (and that's what is done programmatically in patches or WHDLoad slaves).
For a perfect emulation also in this case the check should be removed.


EDIT:
Quote:
Originally Posted by Zarnal View Post
... I thought it was only useful at 020+. What interest on a Quickstart A500 (in the case which interests us with James Pond)? I am wrong ?
There could also be a case related to a normal A500 (but I have no idea if it concerns the game in question because I have not checked the code).
If the registers of the blitter are written before the previous blit is finished (therefore without a blitterwait), the result is 'undefined' (or rather, with a perfect internal emulation of Agnus it could become 'defined').
In that case the emulation could be incorrect and the result unexpected; a "Wait for Blitter" might fix it.
Theoretically, for a normal A500 this should never help

Last edited by ross; 17 June 2022 at 13:53.
ross is offline  
Old 17 June 2022, 14:57   #18
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
I presume this applies to the A500 plus.. As in neither are really needed to be set for correct emulation.
Mclane is offline  
Old 17 June 2022, 15:16   #19
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Quote:
Originally Posted by Mclane View Post
I presume this applies to the A500 plus.. As in neither are really needed to be set for correct emulation.
Yep, it applies to any 7Mz 68k machine.
ross is offline  
Old 17 June 2022, 17:41   #20
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Thanks Ross, appreciated..
Mclane 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
[AGA] GFX Bug :- James Pond 2 & Blobz & Bograts & Penguins Octopus66 support.WinUAE 39 11 October 2018 20:53
James Pond, Pond is Back! - Retro classic for a Kickstarter Neil79 Retrogaming General Discussion 1 26 September 2013 09:09
james pond 1 sareks support.Games 0 19 August 2005 15:42
James Pond 3 Galaxy HOL data problems 0 12 October 2004 14:14
Mon nom est Pond, James Pond ! RCK Retrogaming General Discussion 9 12 December 2001 15:20

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 13:52.

Top

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