English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 09 September 2010, 09:09   #1
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
Question Older UAEs: Turrican II diamond collect sound wrong

In older versions of UAE (0.8.xx) and WinUAE the sample for collecting diamonds isn't correctly played.

It's just a short "ding!"-sound instead of the nice full sample we know from real Amigas and more recent versions of WinUAE.

@Toni Wilen: Do you still remember with which WinUAE version you fixed this? Did it just work after a major rewrite of the audio-emulation part? Or is there a simple fix one could apply to the old source to make this sample be fully played?

Last edited by john4p; 09 September 2010 at 09:21.
john4p is offline  
Old 09 September 2010, 12:19   #2
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
Set sound emulation to exact (slowest) if it is available in your version. This fixes it in winuae as old as 0.8.27 at least.
rare_j is offline  
Old 09 September 2010, 12:43   #3
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
Although it's not available in my version it's a clue where to look. Thanks.
john4p is offline  
Old 09 September 2010, 14:03   #4
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
Okay, just commented these lines out (in audio.cpp):

static __inline__ void audio_handler (int nr):
Code:
//else if (cdp->dat < maxhpos * CYCLE_UNIT / 2)
//    (cdp+1)->per = maxhpos * CYCLE_UNIT / 2;
void AUDxPER(int nr, uae_u16 v):
Code:
//if (per < maxhpos * CYCLE_UNIT / 2)
//    per = maxhpos * CYCLE_UNIT / 2;
Now the diamonds sound like they're supposed to in UAE4All. Also other sfx sound more clean.

</thread>
john4p is offline  
Old 09 September 2010, 15:34   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,535
I think I have rewritten it at least twice
Toni Wilen is offline  
Old 09 September 2010, 20:40   #6
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
Glad this simple fix already worked - because the rewritten audio emulation sources would need a lot more effort to get them working with UAE4All.

Of course the newer sources are even more accurate - but the old audio-emulation is good enough.
john4p is offline  
Old 09 September 2010, 22:26   #7
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
Simple fix may not be that simple, on Winuae.8.27 if you enable sound emulation 'Enabled 100% Accurate' then it fixes diamonds in Turrican II, but the Chaos Engine (and some other games) will not load. Sound emulation has to be switched back to 'Enabled' for those games.
Attached Thumbnails
Click image for larger version

Name:	sndopt.gif
Views:	270
Size:	1.2 KB
ID:	26412  
rare_j is offline  
Old 10 September 2010, 07:35   #8
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
Okay - thanks a lot for the info. I'll let the "speedy sound" as an option in then, too.
john4p 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
CXZ Black Diamond Washac Retrogaming General Discussion 0 22 March 2012 20:25
Mitsubishi Diamond Scan 20M Unknown_K support.Hardware 2 12 September 2011 00:16
Mega Turrican/Turrican 3 Alien Queen Sprite Request Zenotorn project.Sprites 5 09 June 2010 16:39
I need Diamond Fever soul request.Old Rare Games 8 04 February 2005 16:43
To Play ? Or To Collect ? sut Retrogaming General Discussion 51 03 August 2004 13:28

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

Top

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