English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 05 May 2014, 13:41   #1
ED-209
Registered User

ED-209's Avatar
 
Join Date: Mar 2012
Location: OCP
Age: 37
Posts: 960
Buggy Boy WHD

So we are playing buggy boy in the competition and there's a problem with the WHD version under winuae - works ok on real amiga.

The game freezes whenever you crash into rocks or walls etc, forcing you to reset.

I've tried CE modes on/off, nocache etc.

To reproduce just start the first track and crash into the first rocks you see
Attached Thumbnails
Click image for larger version

Name:	003.png
Views:	176
Size:	13.2 KB
ID:	39901  
ED-209 is offline  
AdSense AdSense  
Old 05 May 2014, 19:47   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,522
It is a bug and not a bug.. (I guessed what happens without testing)

68020+ modes have audio hack that stops audio immediately when audio DMA is disabled to prevent programs that have CPU audio DMA wait delays to execute too fast in 68020+ modes. (=missing samples etc.., this is very common, on real hardware slow chip ram accesses can hide this bug easily)

But this game needs the delay.

Real problem is design flaw in Paula audio hardware, there is no 100% reliable way to know if audio channel is idle or still active and it is not possible to force it to immediate idle state. (except wait long enough and waste time)

Next version will disable this hack when using 68020 "cycle-exact" mode because it should be slow enough since 2.7.0 but it won't fix 68020+ non-ce modes. At least in JIT modes it is impossible to emulate it correctly.
Toni Wilen is online now  
Old 06 May 2014, 12:58   #3
ED-209
Registered User

ED-209's Avatar
 
Join Date: Mar 2012
Location: OCP
Age: 37
Posts: 960
Interesting.. could this hack cause other occasional audio side-effects? eg. beginning of samples sometimes clipped, samples not always playing when they should etc
ED-209 is offline  
Old 06 May 2014, 20:17   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,522
Quote:
Originally Posted by ED-209 View Post
Interesting.. could this hack cause other occasional audio side-effects? eg. beginning of samples sometimes clipped, samples not always playing when they should etc
It should not. It prevents that from happening, even if CPU is "too fast". Examples?
Toni Wilen is online now  
Old 07 May 2014, 06:36   #5
ED-209
Registered User

ED-209's Avatar
 
Join Date: Mar 2012
Location: OCP
Age: 37
Posts: 960
Nothing worth reporting, I've noticed this sometimes on a few games. Real amiga probably behaves the same way

Toni the buggy boy problem may not be audio hack at all, leathered said it freezes on his real 030.. I tried the game again with audio emulation disabled but it still froze..(unless the hack is still active with audio disabled.)
ED-209 is offline  
Old 07 May 2014, 18:44   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,522
http://www.winuae.net/files/b/winuae.zip will fix the hang (improved audio hack implemented, not yet sure if it works as designed..)
Toni Wilen is online now  
Old 08 May 2014, 03:57   #7
ransom1122
Registered User
ransom1122's Avatar
 
Join Date: Aug 2011
Location: Omnicorp
Posts: 2,521
I was a long time player of buggy boy on a real a500 with 1mb mem. And did find the game froze like that every now and then and not only on rocks. But on the poles leading into the bridge over the water as well.
ransom1122 is online now  
Old 08 May 2014, 04:22   #8
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 40
Posts: 7,061
Send a message via MSN to dlfrsilver
just a hint, the game has been ported by the team behind ghosts'n'goblins. If it is again the mark cooksey music driver used in buggy boy, this could explain that, as ghosts'n'goblins had frozes due to the music driver.

Maybe it needs an update (Don Adan could maybe have a look?)
dlfrsilver is offline  
Old 08 May 2014, 05:59   #9
ED-209
Registered User

ED-209's Avatar
 
Join Date: Mar 2012
Location: OCP
Age: 37
Posts: 960
Quote:
Originally Posted by Toni Wilen View Post
http://www.winuae.net/files/b/winuae.zip will fix the hang (improved audio hack implemented, not yet sure if it works as designed..)
Yep, it's working now thanks toni!
I guess now it will *occasionally* freeze like on real amiga, which is much better than crashing all the time

I see Don Adan helped fix GNG, I guess if freezing is persistent enough then could be worth asking. Thanks guys
ED-209 is offline  
Old 08 May 2014, 11:55   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,522
Remaining rare hangs may be caused by something totally different.
Toni Wilen is online now  
Old 10 May 2014, 19:33   #11
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,114
Ive checked an adf version on the latest WinUAE 2.8.0 most common config. ...

Ive got freezing only when mouse touchpad on my laptop is enabled (there is a hw-switch) and in that case if press LMB it usually continues to work.

But, when the mouse touchpad is disabled and how many times I tried it did not froze ... weird ?!

(p.s. It also happens with QS 1.2 0.5Mb+0.5Mb config!)

Last edited by amilo3438; 12 May 2014 at 22:04. Reason: mouse pad => I meant touchpad !!!
amilo3438 is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
EAB/Lemon Super League 2014: Round 6 - Buggy Boy Graham Humphrey EAB's competition 58 25 May 2014 01:20
EAB/Lemon Super League 2012: Round 5 - Buggy Boy Graham Humphrey EAB's competition 32 06 May 2012 01:01
Gunshoot, Wizball, Frostbyte, Rolling Thunder, Buggy Boy CrystalHammer request.Old Rare Games 3 10 September 2004 05:16
The Immortal whd and Elfmania whd PiCiJi request.Old Rare Games 1 02 November 2003 23:23
Final Fight whd and Entity whd? PiCiJi request.Old Rare Games 7 18 October 2003 03:16

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 08:29.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.15569 seconds with 12 queries