English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 13 March 2020, 15:47   #1
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,733
Exclamation Help needed to fix music speed (albedo WHD beta)

hi,

I need help to finish whdload's patch for Albedo.

indeed on 68020+ music is too speed

pre-installed beta version for test in TheZone!

have you idea to fix it?

thanks in advance.

PS: music is correctly played on 68000

Last edited by CFOU!; 13 March 2020 at 16:04.
CFOU! is offline  
Old 13 March 2020, 16:14   #2
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,367
Just had a very quick look, at $4500+$34 is a routine which deals with a counter ($4500+$16070), if that routine is not called from a synchronised position/VBL it will behave differently depending on the speed of the CPU. You might want to check that.

Edit: at $4500+$ef12/$4500+$ef24/$4500+$f1e4/$4500+$f20a are CPU dependent DMA delay loops which need to be fixed too.

Last edited by StingRay; 13 March 2020 at 16:27.
StingRay is offline  
Old 13 March 2020, 16:35   #3
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,733
Quote:
Originally Posted by StingRay View Post
Just had a very quick look, at $4500+$34 is a routine which deals with a counter ($4500+$16070), if that routine is not called from a synchronised position/VBL it will behave differently depending on the speed of the CPU. You might want to check that.

Edit: at $4500+$ef12/$4500+$ef24/$4500+$f1e4/$4500+$f20a are CPU dependent DMA delay loops which need to be fixed too.
at $4500+$ef12/$4500+$ef24 was already tested

not 4500+$f1e4/$4500+$f20a i will test (edited)->tested not working

Last edited by CFOU!; 13 March 2020 at 16:41.
CFOU! is offline  
Old 13 March 2020, 16:36   #4
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,733
Quote:
Originally Posted by StingRay View Post
Just had a very quick look, at $4500+$34 is a routine which deals with a counter ($4500+$16070), if that routine is not called from a synchronised position/VBL it will behave differently depending on the speed of the CPU. You might want to check that.
it seems not used in title screen
CFOU! is offline  
Old 13 March 2020, 16:46   #5
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,367
Quote:
Originally Posted by CFOU! View Post
it seems not used in title screen
It should be checked anyway is it will cause problems somewhere in the game if it is not called from VBL/synchronised position. The DMA delay loops should be fixed as well.

I may have a more thorough look at the code later, for now I have to return to non-fun stuff (debugging code at work...).
StingRay is offline  
Old 13 March 2020, 16:48   #6
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,733
Quote:
Originally Posted by StingRay View Post
It should be checked anyway is it will cause problems somewhere in the game if it is not called from VBL/synchronised position. The DMA delay loops should be fixed as well.

I may have a more thorough look at the code later, for now I have to return to non-fun stuff (debugging code at work...).
thanks for your help ;=)
CFOU! is offline  
Old 13 March 2020, 17:00   #7
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,367
You're welcome. As for the DMA delays, these don't cause the music to be played too fast but they need to be fixed as otherwise there'll be bugs in the music replay on fast machines.
StingRay is offline  
Old 13 March 2020, 17:54   #8
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,733
I haven't found the solution yet.

I'm taking a break, but I'm uploading the latest version with code sources in TheZone! maybe you will be more successful than me. Music player fixes were never my strong point
CFOU! is offline  
Old 17 March 2020, 20:32   #9
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,733
i think i fix music problem

i can move music player in VBL interupt instead of level 6 interupt...

Last edited by CFOU!; 18 March 2020 at 04:16.
CFOU! 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
C64c Audio fix advice needed! hansel75 support.Other 30 15 March 2019 06:17
chipset/cpu speed (from beta thread) zygzak support.WinUAE 1 18 July 2007 16:32
Paradise v7.1 beta [WinXP *FIX*] ppill support.Apps 5 02 December 2006 00:38
good version of z-out whd needed ? silkworm request.Old Rare Games 4 04 December 2004 20:07
Bar Games ADF or WHD needed Pyromania request.Old Rare Games 1 15 November 2003 07: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:47.


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