• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

PS3 SPU Emulation Alpha 2 Module, Allows x86 PCs to Emulate SPU

Category: PS3 Hacks & JailBreak  By: PS3 News - (psx-scene.com)
Tags: ps3 spu emulation alpha 2 ps3 module ps3 x86 ps3 pcs emulate ps3 spu ps3 hax ps3 hacks

52w ago - Following up on the initial release, today KDSBest has updated their PS3 / PC SPU emulation project to Alpha 2 which allows your x86 machine to emulate the PlayStation 3 SPU.

Download: PS3 SPU Emulation Alpha 2 Module

To quote: SPU Emulation Alpha2 has been released: mBox implemented and MFC prepared, bugfixes, breakpoints implemented and all commands for metldr as far as KDSBest knows.

Hi Community,

I wanted to contribute to the scene, so I coded a tool that might help the community our members and fellow dev's. This Tool is intended for dev's so please be careful if you don't know what you do. I will not be held responsible for any harm.

My tool is a emulator for PS3 modules (e.g metldr), it is in pre alpha stage but I thought, it would be great to get some community feedback.

How to use:

Not all SPU Commands are implemented yet, but it is easily extendable and I will make it support DMA, all SPU Commands and SPU Mailbox soon.

First open a .kds file. Check out the metldr.kds to see an example. The rest is like a normal debugger. If you put dumps of your reversed functions in the KnownFunctions folder, it will detect it and mark that function for you.

Just for example Mark the whole cellSpuAesDecryptCbcCfb128 function in HexView in IDA -> Right Click -> Save to File
Name the File "cellSpuAesDecryptCbcCfb128" without extension and copy it to the KnownFunctions Directory of the Emulator. Now all similar functions get automatic detected!

"Step" Executes next command, "Run" runs till breakpoint (Breakpoints are not implemented yet).
Debug SPU Code in Windows.

Any questions?

Just get back to me at twitter

Stay tuned

KDSBest
twitter.com/#!/KDSBest

PS: Thx for MK and cfwprophet (Team acid) and of course to fail0verflow for anergistic, which helps a lot with it and even uses some functions of them.




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 22 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
PS3 News's Avatar
#17 - PS3 News - 52w ago
Reply
Shortly following the Alpha 2 Module release, today KDSBest has updated their PS3 / PC SPU emulation project which allows your x86 machine to emulate the PlayStation 3 SPU to Beta status.

Download: http://multiupload.biz/8ge4s19t0ja5/SPU%20simulation%20beta_MultiUpload.biz.rar.html

To quote: Let's call it beta (SPU emulation). Tested with my own elf a lot commands if they work properly. Disabled buttons depending on state.

And last but not least, if you press run a new thread is spawned. Now you are able to press pause and it stops the run ofc. The performance get a super boost with the threading.

Project Update: alpha2 - pre alpha so it is not in pre alpha stage anymore. It detects code modifications on the fly too. The new feature list is not complete that's my fault I guess.

Thanks for the news update. I need some infos from some reversers to create the next stunning feature:

Crypto dumping... dumps all crypto calls... Let's call it function parameter dumping cause it will work for everything and will implement a callback on known functions which will make dumping at certain calls possible.

I try to implement this and GET/PUT DMA commands this weekend. I think I can't finish it this weekend, but this will be the beta stage. V0.9 should then just implement the rest of the commands that anergistic implements.

After that it is unknown what I do and so on. Since then my reversing starts to get more focus.

Update: From mr_wicked: I was trying to run an SPU module in anergistic with no success. In IBM systemsim (in combination with libspe2) my code ran just fine..

Finding a broken instruction in anergistic is like finding a needle in a haystack. So I ended up throwing IBM systemsim in IDA and exported all SPU instructions to .asm. After writing a small emulator around these instructions I was able to find two nasty errors. One in "andhi" and one in the "cgx" instruction. Here are the corrected Anergistic instructions:


00010101,ri10,andhi,half,signed
{
int i;
for (i = 0; i < 8; ++i)
rth[i] = rah[i] & i10;
}

01101000010,rr,cgx
{
int i;
for (i = 0; i < 4; ++i)
{
u64 r = (u64)(rtw[i] & 1) + (u64) raw[i] + (u64) rbw[i];
rtw[i] = (r >> 32) & 1;
}
}
My application also needed rotqbybi and rotqbi so I implemented those as well:


00111001100,rr,rotqbybi
{
u32 shift_count = (rbw[0] & 0x7f) >> 3;
rtw[0] = raw[0];
rtw[1] = raw[1];
rtw[2] = raw[2];
rtw[3] = raw[3];
while (shift_count--)
{
rtw[0] = (rtw[0] > 24);
rtw[1] = (rtw[1] > 24);
rtw[2] = (rtw[2] > 24);
rtw[3] = (rtw[3] > 24);
}
}

00111011000,rr,rotqbi
{
u32 shift_count = (rbw[0] & 0x7f) & 7;
rtw[0] = raw[0];
rtw[1] = raw[1];
rtw[2] = raw[2];
rtw[3] = raw[3];
while (shift_count--)
{
u32 t = (rtw[1] >> 31) | 2 * rtw[0];
rtw[1] = (rtw[2] >> 31) | 2 * rtw[1];
rtw[2] = (rtw[3] >> 31) | 2 * rtw[2];
rtw[3] = (rtw[0] >> 31) | 2 * rtw[3];
rtw[0] = t;
}
}
Although trivial to fix it was really nasty to find these. I couldn't find a repository with active development, so I'm posting it here.


More PlayStation 3 News...

KDSBest's Avatar
#16 - KDSBest - 53w ago
Reply
It is not for game emulation and it will never emulate the ppc. If you want that go to code.google.com/p/rpcs3/ , their work is not done and nearly nothing work, but they are the guys that write an emu for games and so on. This is just for reversing, so you don't have only a static analysis.

cfwprophet's Avatar
#15 - cfwprophet - 54w ago
Reply
Naaaa np i knowed what you meant it was more a joke and a informing post for others who don't know

Exactly it emulates PS3 code running in the SPU sub Core of the CellBE of PS3 ON PC x86 ak 32bit systems. But also working on 64bit systems.

Ni72ous's Avatar
#14 - Ni72ous - 54w ago
Reply
Sorry mate did not come out right, what i meant was this was i don't think it was intended as a whole system emulator where it would be possible to play games.

Neo Cyrus's Avatar
#13 - Neo Cyrus - 54w ago
Reply
Andrew it says in the title, it is for SPUs to be emulated on PCs. So yes, PS3 code on PCs so to say.

Page 2 of 5 «‹12345›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• PSPMinis / PS3Minis / Bite v1.5.1 Update for PS3 is Now Released
• PS3 Fan Control Utility v1.7 for PS3 CFW CEX 3.41 to 4.41 Arrives
• PSPMinis / PS3Minis / Bite v1.5 for PS3 with PSP Homebrew Support
• PS3 Fan Control Utility v1.6 for PS3 CFW CEX 3.41 to 4.40 Arrives
• OpenSCETool (OSCETool) v0.9.2 By SpacemanSpiff for PS3 is Released
• PUAD GUI v1.5 - PS3 PUP Unpacker, Repacker and Decrypter Out
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
a little help recqired plzzz - 5m ago

mughal1990's Avatar
Quote i am on 3.55 cfw and want to go to 4.4cfw , if i do so will my backed up games on my ps3's hard dive will be lost/deleted or will it be retained ? plz...
By mughal1990 with
 0 Comments »
PS3 Fan Control Utility v0.3 for 4.31 and 4.40 CFW CEX is Released - 50m ago

mschumacher69's Avatar
Quote There's no such thing as DREX firmware, D-REX is REX but installable on DEX firmware. Once you install D-REX, you end up on REX. So this sentence s...
By mschumacher69 with
 18 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 2h ago

veritech4's Avatar
Quote Hey im new as well have a 120gb psc cech 2501A and interested on opening up the walls...
By veritech4 with
 6984 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 3h ago

mateen1610's Avatar
Quote Hello. New user here. Find this website very resourceful. Hope I can contribute. Cheers....
By mateen1610 with
 6984 Comments »

Latest PlayStation 3 Trophies
PixelJunk Monsters : Encore : Zero Carat
PixelJunk Monsters : Encore : Wishing Well
PixelJunk Monsters : Encore : Scrooge's Return
PixelJunk Monsters : Encore : Black Flag

Latest PlayStation Vita Trophies
Jacob Jones and the Bigfoot Mystery : Low Notes
Jacob Jones and the Bigfoot Mystery : Unjammed
Jacob Jones and the Bigfoot Mystery : Low Roller
Jacob Jones and the Bigfoot Mystery : Quick Packer

Latest PlayStation 3 Releases
Muvluv Alternative Total Eclipse JPN PS3-HR - 05-17-2013
Skate 2 EUR PS3-Googlecus - 05-16-2013
The Walking Dead A Telltale Games Series PS3-COLLATERAL - 05-15-2013
The Cube PS3-ANTiDOTE - 05-14-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-11-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News