Page 1 of 1

PPC core fix

Posted: Fri Oct 31, 2008 1:53 am
by Tantric

Problem: After activating the PPC core, GBA-thumb.cpp wouldn't compile for me using gcc stating: unsupported relocation against xer.

 

Fix: replace two lines that have 'mtspr xer' with 'mtspr 1'.

 

This doc explains it: http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.aixassem/doc/alangref/mtspr.htm

 

mtspr - move to special purpose register

xer - register at 1

 

Works quite happily now! Now if only someone would update the GBA-arm.cpp PPC code...


PPC core fix

Posted: Fri Oct 31, 2008 5:04 am
by bgK

Good job ! Commited.

 

Does it give a good speed boost on the Wii ?


PPC core fix

Posted: Fri Oct 31, 2008 7:43 pm
by Tantric

It's hard to tell, but I think every little bit helps. VBA-Wii is actually running decently - games like Minish Cap run without frameskip, games like SMB3 run at frameskip 1 or 2 (totally unnoticeable). The only exception is stuff like Mode 7 - the intro for FFIV runs well at cough frameskip 15 cough.

 

GBA-thumb is the only part that's been PPC-activated, I think activating more would help more...


PPC core fix

Posted: Sat Nov 01, 2008 1:40 pm
by Squall Leonhart

So is the source ok to compile for the MAC yet? i want the guy here

 

http://forums.ngemu.com/visualboy-advance-discussion/113524-help-fire-emblem-6-a.html#post1495390

 

to take it for a test drive.


PPC core fix

Posted: Sat Nov 01, 2008 1:52 pm
by bgK

The SDL port has always been OK to build on MacOS X. The GTK+ port should build with very minor changes (mostly disabling XVideo). And I think KunaiTeam is working on a Cocoa port.

 

BTW modern macs aren't PPC anymore ...


PPC core fix

Posted: Sat Nov 01, 2008 4:58 pm
by Squall Leonhart

thanks bgK,


PPC core fix

Posted: Sun Nov 02, 2008 2:15 am
by KunaiTeam

Yeah, but there are still quite a few people who use them, so I went out of my way to make sure the VBA-M Launcher I made was a Universal Binary. As far as I know, the SDL works on PPC Macs. At least it did a few months ago when I last had a PPC Mac.

 

The VBA-M Launcher app I posted here may solve his problem.