Previous Thread
Next Thread
Print Thread
Page 7 of 55 1 2 5 6 7 8 9 54 55
Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
The SDK is updated with the patch above.

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
BTW, ks, is the FM "a/b" thing you posted on HCS's board included or what? smile

Joined: Sep 2007
Posts: 56
K
Member
Offline
Member
K
Joined: Sep 2007
Posts: 56
Not yet. If you'd like to include it, here it is:

Code:
diff -Nru aosdk_base/eng_ssf/scsp.c aosdk/eng_ssf/scsp.c
--- aosdk_base/eng_ssf/scsp.c	2008-01-19 20:04:40.000000000 -0800
+++ aosdk/eng_ssf/scsp.c	2008-01-23 06:48:29.000000000 -0800
@@ -998,7 +998,10 @@
 		sample=(sample*EG_TABLE[EG_Update(slot)>>(SHIFT-10)])>>SHIFT;
 
 	if(!STWINH(slot))
-		*RBUFDST=sample;
+	{
+		unsigned short Enc=((TL(slot))<<0x0)|(0x7<<0xd);
+		*RBUFDST=(sample*SCSP->LPANTABLE[Enc])>>(SHIFT+1);
+	}
 		
 	return sample;
 }



Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Hmmmmm.

AO Debug CLI 1.0.1
File 1 (soa-299-02-00.minidsf) Song 1
W32 0 @ 802800
W32 0 @ 802800
W32 8000 @ 800000
W32 1f @ 800014
W32 8000 @ 800080
W32 1f @ 800094
W32 8000 @ 800100
W32 1f @ 800114
W32 8000 @ 800180
W32 1f @ 800194
W32 8000 @ 800200
W32 1f @ 800214
W32 8000 @ 800280
[...]

Joined: Dec 1969
Posts: 917
Likes: 3
R
Senior Member
Offline
Senior Member
R
Joined: Dec 1969
Posts: 917
Likes: 3
Here we go again... smile

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Heh. The replacement GSF driver's started playing stuff too, but the "sappy" driver used in about 95% of games doesn't work at the moment so there are problems :-)

The good news is it looks like Blargg's code is modular enough that I can run the old GB sound channels through that and magically have decent accuracy.

Joined: Nov 2003
Posts: 459
K
Senior Member
Offline
Senior Member
K
Joined: Nov 2003
Posts: 459
Originally Posted By R. Belmont
the "sappy" driver used in about 95% of games doesn't work at the moment so there are problems :-)


Ech, if only. This isn't DS, I'd say about 40% of the games (most of them Japanese budget releases) use it.

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Well, either a large majority of games use the same driver or they all stole code from one, because they all fail with identical traces.

Joined: Nov 2003
Posts: 459
K
Senior Member
Offline
Senior Member
K
Joined: Nov 2003
Posts: 459
Well, most of the available GSF rips use Sappy. Simply because there's an automated ripper for the driver.
The few that use other drivers had to be manually hacked, and this isn't really something anyone can do 'out of the box' (and the people who can generally don't have time to dawdle on some 2005 American game, etc).

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Is anyone actively doing GSF ripping now? Caitsith2's GSF page is starting to collect dust smile

Page 7 of 55 1 2 5 6 7 8 9 54 55

Moderated by  R. Belmont, Richard Bannister 

Link Copied to Clipboard
Who's Online Now
1 members (Dorando), 27 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,100
Posts119,253
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com