English Amiga Board


Go Back   English Amiga Board > Other Projects > project.Amiga Game Factory

 
 
Thread Tools
Old 29 April 2022, 00:47   #381
Muzza
Registered User

Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 187
I used the Turrican 2 WHDLoad source for the DMA delay code. It looks like this:
Code:
DMADelay:

     move.w  d0,-(a7)
    move.w    #8,d0
.bd_loop1
    move.w  d0,-(a7)
    move.b    $dff006,d0    ; VPOS
.bd_loop2
    cmp.b    $dff006,d0
    beq.s    .bd_loop2
    move.w    (a7)+,d0
    dbf    d0,.bd_loop1
    move.w    (a7)+,d0
    rts
Muzza is offline  
Old 29 April 2022, 01:11   #382
Muzza
Registered User

Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 187
Quote:
Originally Posted by ross View Post
About the DMAWait this is the relevant code (TFMX 7V player module V1.3, versionnum = $0892):
Huh... stupid me didn't notice that this DMAWait code was already in there, but commented out (and missing a few bits). I had added it new using the WHDLoad patch code as reference as to where to insert the DMAWaits.

The two differ slightly (WHDLoad has an extra DMAWait and calls them at slightly different positions), but both appear to work from my testing. I've changed my code to match the Eagle Player one as it seems a little neater.
Muzza is offline  
Old 29 April 2022, 01:15   #383
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 53
Posts: 1,469
For me looks good, 8 lines wait. Maybe jotd can test T2 title music under EP and check if it sounds ok or not? I think it can be problem related to interrupts handling. Perhaps the only difference between T2 code and T2 AGA code is memory used for TFMX 7V replay. Chip memory for T2 and fast memory for T2 AGA.
Don_Adan is offline  
Old 29 April 2022, 01:18   #384
Muzza
Registered User

Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 187
Quote:
Originally Posted by Don_Adan View Post
You are good. You will able to use adapted and modified by me original Chris Huelsbeck and Jochen Hippel TFMX 7V source.
Where can I get these from?
EDIT: Nevermind, I think I misunderstood - I thought you were saying there are special versions of the music samples that make the higher quality mixer more apparent.

Quote:
Originally Posted by Don_Adan View Post
Ok, then no SMC problems. This player was tested on 68000 7 MHz, 68030 50 MHz, 68040 25 MHz and 68060 50 MHz. And no problem was known me. Maybe jotd and Ross can check replay source for possible problems?
There was SMC in there still, but I just fixed it yesterday. When I first implemented this, I had problems getting it working (it was early days in my Amiga programming 'career') and I compared the source from eagle player to the raw ASM ripped from the original binary and restored what I could in an effort to get things working. So I think I have a frankenstein mix of original, Eagle Player and my own efforts. My recent changes have probably restored it to be more similar to Eagle Player.
Currently I have the new mixer on a switch (currently turned off, but I'd consider enabling it if the higher quality music is worth it).

Last edited by Muzza; 29 April 2022 at 01:36.
Muzza is offline  
Old 29 April 2022, 04:04   #385
Muzza
Registered User

Muzza's Avatar
 
Join Date: Sep 2019
Location: Sydney
Posts: 187
I've noticed that when emulating in WinUAE with a 68060 and chipset_hacks=0x8 there are problems with the loading and in-game music too (which use a different player). Not as obvious as the main menu but it is there.
Muzza is offline  
Old 15 May 2022, 18:31   #386
Redster
Registered User

 
Join Date: Nov 2021
Location: Sevenoaks
Posts: 9
This is fantastic, thanks for your efforts
Redster 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
Which ECS to AGA conversion worth playing? superturrican2 support.Games 8 16 December 2018 23:03
turrican,lotus etc aga version ??? why never done ? turrican3 Retrogaming General Discussion 6 24 July 2013 12:22
Best way to play Turrican 2 PC dos buckrogers Retrogaming General Discussion 17 24 October 2005 12:25
Turrican 2 AGA+HD fixed Ollibolli request.Old Rare Games 17 24 September 2002 04:13

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 22:03.


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