• 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 Beta Module, Allows x86 PCs to Emulate SPU

Category: PS3 Hacks & JailBreak  By: PS3 News - (psx-scene.com)
Tags: ps3 spu emulation beta ps3 modules allows x86 pcs emulate ps3 spu kdsbest ps3 ps3 hacks

52w ago - 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: PS3 SPU Emulation Beta Module

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] << 8) | (rtw[1] >> 24);
        rtw[1] = (rtw[1] << 8) | (rtw[2] >> 24);
        rtw[2] = (rtw[2] << 8) | (rtw[3] >> 24);
        rtw[3] = (rtw[3] << 8) | (rtw[0] >> 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.




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
#2 - PS3 News - 54w ago
Reply
Cheers for the release cfwprophet, I have mainpaged it now and +Rep for the news!

cfwprophet's Avatar
#1 - cfwprophet - 54w ago
Reply
TeaM_AC1D in the wild, from one of our newest and highly skilled members KDSBest we have something nice for the scene - a PS3 SPU emulation pre-alpha module that allows x86 PCs to emulate the SPU.

Download: http://multiupload.biz/44jzbeg5vo3v/SPU%20simulation_MultiUpload.biz.rar.html

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.


More PlayStation 3 News...

Page 5 of 5 «‹12345

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Simple PS3Updates v1.6 Build 2 Final PS3 Homebrew App Updated
• Video: Super Pixel Jumper v1.2 PS3 Homebrew Game is Released
• Video: Pointman: The Akkadian Wars PS3 Homebrew Game Arrives
• 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
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
Introductions: Hello Everyone, I'm New at PS3News.com! - 7m ago

playboyj305's Avatar
Quote Hello everyone! Just getting my toes wet with this jailbreaking thing. Join date 2006 lol...
By playboyj305 with
 7000 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 20m ago

najeebnss's Avatar
Quote Hi every body This my first reply...
By najeebnss with
 7000 Comments »
PS3 Fan Control Utility v0.3 for 4.31 and 4.40 CFW CEX is Released - 37m ago

Neo Cyrus's Avatar
Quote Am I doing something wrong or is it not functioning properly on Rebug Rex 4.30.2? I select the automatic payload and exit so then it goes to sleep. I ...
By Neo Cyrus with
 21 Comments »
PS3 EDAT NPDRM Decryption / Re-Encryption Tools Are Released - 39m ago

PS3 News's Avatar
Quote Following up on his previous update, today PlayStation 3 homebrew developer Quake of SubZero Dezigns has updated his PS3 homebrew application c...
By PS3 News with
 37 Comments »

Latest PlayStation 3 Trophies
Call of Juarez: Gunslinger: Keep At It
Call of Juarez: Gunslinger: True Story
Call of Juarez: Gunslinger: Grows In The Telling
Call of Juarez: Gunslinger: Turkey Shoot

Latest PlayStation Vita Trophies
Men's Room Mayhem: Toilet Trouble
Men's Room Mayhem: Mayhem Master
Men's Room Mayhem: Hygiene Award
Men's Room Mayhem: Sand in the Face

Latest PlayStation 3 Releases
Resident Evil Revelations PS3-ANTiDOTE - 05-19-2013
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

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-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