English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 19 June 2020, 21:30   #1
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,066
Jaguar XJ220 WHDLoad runs too fast/too smooth

I made an issue here, maybe someone can double check:
http://mantis.whdload.de/view.php?id=4738

Check game speed in first race of Jaguar Xj220 floppy version running on 1MB A500 versus WHDLoad version on A1200. WHDLoad is way too fast. Makes 1st place on first race almost impossible to reach for me.
rsn8887 is offline  
Old 19 June 2020, 21:43   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,315
Have you tried ExpChip and/or NoCache tooltype as mentioned in the Readme?
daxb is offline  
Old 20 June 2020, 01:45   #3
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,066
That works I guess I should have read the manual. Also interesting that these things are fixed just recently, 2019 after all those years of being faulty. Thanks!
rsn8887 is offline  
Old 20 June 2020, 01:53   #4
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,066
Never mind, it is still a bit too fast. Problem with this game seems to be that it becomes more difficult even if it slightly runs too fast.

Last edited by rsn8887; 20 June 2020 at 02:05.
rsn8887 is offline  
Old 20 June 2020, 10:54   #5
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,403
ExpChip and/or NoCache tooltype just make the game not use fastmem / caches. But it's not proper speed regulation.

Quote:
Also interesting that these things are fixed just recently, 2019 after all those years of being faulty.
Well, I think i can explain why.

First, only a few people are still active in whdload team. Stingray, Psygore and myself (sorry if I forget someone). Bert (the author of whdload) is focusing on whdload itself.
So if the whdload slave source isn't available, we have to ask the author/disassemble/resource it so we can work on it.

Then I can only speak for myself but I didn't really know how games worked on the amiga until I code my own game. The fact that winuae is also more powerful, has MMU so we can code without testing too much on a real machine, and cross assemblers + lots of scripts on the windows side help a lot.

I also changed my method of fixing games. I first get clean dissassemblies of each part & each version of the game, so I can get a global picture. In the old days, I used to write down addresses/offsets on papers and that's it...

To fix a game which is too fast, you have to identify the main game loop. Then figure out the speed on a A500/A1200 (WinUAE is VERY useful, with a real amiga you just can't do that) and try to match it.

I suppose that the most common issue is for games running at 25Hz. Game HAS to sync on raster beam else there's flicker on the screen. It's often done properly (except for Test Drive II...) but the game doesn't check that TWO beam cycles have passed, so if the machine is fast enough, only ONE beam cycle can have passed. Forcing wait for 2 beam cycles (at the start of the mainloop) is the way to regulate the speed evenly. Using delay loops (even calibrated) doesn't work properly. I dropped that method. I applied the new method on recent fixes (Led storm, Populous 2, Magic Pockets to some extent, more I can't remember right now)
jotd is offline  
Old 22 June 2020, 19:28   #6
rsn8887
Registered User
 
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 1,066
Thank you jotd for the detailed explanation. I understand the reason now why those cache and memory tooltypes will not give the exact same speed as A500 what the game was designed for.
rsn8887 is offline  
Old 10 September 2023, 03:52   #7
kot_behemot53
Registered User
 
Join Date: May 2021
Location: Wroc?aw
Posts: 3
I know that this thread is 3 years old, but I just want to chime in that the game also sometimes does it on stock A500, so it doesn't have to be a WHDLoad issue. I recently had this when I fiddled with the radio before a race and clicked on the "seek" buttons that go through those faux radio frequencies. I'm not sure if it's a glitch or intended behaviour.
kot_behemot53 is offline  
Old 10 September 2023, 07:17   #8
Predseda
Puttymoon inhabitant
 
Predseda's Avatar
 
Join Date: Mar 2007
Location: Tromaville
Age: 46
Posts: 7,610
Send a message via ICQ to Predseda
No, the game includes this hidden speed mode (activated with the radio) from the beginning.

https://www.lemonamiga.com/games/cheats.php?id=1199
Predseda is offline  
Old 10 September 2023, 07:20   #9
DanyPPC
Registered User
 
Join Date: Dec 2016
Location: Italy
Posts: 780
Anyway it needs a better whdload fix to have a game that runs as on a stock A500.
Like the Buggy Boy recent slave..
DanyPPC is offline  
Old 10 September 2023, 09:07   #10
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,667
I'm currently trying to get that game running at all. It has some very odd behaviour, which seems to be related to the cheat mode that was added some updates ago (I immediately win ever race without doing anything, but no cheats are active).

Need to test older slaves...

//edit: issue found, posting in a new thread.

Last edited by derSammler; 10 September 2023 at 10:05.
derSammler is offline  
Old 10 September 2023, 10:03   #11
tomcat666
Retro Freak
 
tomcat666's Avatar
 
Join Date: Nov 2001
Location: Slovenia
Age: 51
Posts: 1,691
It is a problem on most very fast accelerators, even with EXPCHIP and NOCACHE options it cannot be slowed down enough to make it run in proper 25 fps
tomcat666 is offline  
Old 26 September 2023, 13:45   #12
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,667
For Emu68, use these settings to have the game run at normal speed.

This is for the 3A+ only. May not work for other Pi models.

And yes, ICNT=1 works fine with this slave.

ps: Make sure your Cleanup script reverts these options, or you end up on a very slow Workbench.
Attached Thumbnails
Click image for larger version

Name:	IMG_20230926_132714583.jpg
Views:	133
Size:	135.9 KB
ID:	80330   Click image for larger version

Name:	IMG_20230926_132941941.jpg
Views:	32
Size:	171.2 KB
ID:	80331  

Last edited by derSammler; 26 September 2023 at 14:00.
derSammler is offline  
Old 26 September 2023, 16:29   #13
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,403
it could be a known 68040 bug where vblank interrupt needs to be acknowledged twice.

This bug also affects PiStorm apparently.
jotd is offline  
Old 26 September 2023, 17:09   #14
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,667
If you refer to my post, using an older slave fixed my issue.
derSammler 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
jaguar xj220 whdload jolly11 support.Games 4 22 April 2010 03:10
Jaguar XJ220 mai support.Games 30 03 January 2010 02:45
Jaguar XJ220 game is now worth more than one XJ220 sparkplug! Paul_s MarketPlace 3 30 April 2009 16:58
WinUAE too fast speed problems (jaguar xj220) weatherlght New to Emulation or Amiga scene 3 31 August 2007 07:20
Jaguar XJ220 and saves Retroplay support.Games 41 22 March 2007 19:11

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 19:31.

Top

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