PS3Hax Network - Playstation 3 Hacks and Mods

PS3Hax Network - Playstation 3 Hacks and Mods (http://www.ps3hax.net/forums.php)
-   PS3 | Technical Development and Coding Area (http://www.ps3hax.net/forumdisplay.php?f=151)
-   -   DynarecPS3 Support, first commit. CFW 421 CEX | DEX (http://www.ps3hax.net/showthread.php?t=52842)

IngPereira 03-02-2013 04:41 PM

DynarecPS3 Support, first commit. CFW 421 CEX | DEX
 
DynarecPS3

This tool make possible running JIT code on GameOS PS3 by loading patches to lv2, using peek | poke lv2 calls based in some codes from libkammy stuff on 3.41, right now just work on cfw 4.21 DEX or CEX, it need to be ported to others CFW.

It can be ported too to work on MFW (implementation on lv2_kernel.self, see bugs)

if anyone need help with porting to MFW (LV2_KERNEL) like cfw ps3ita or Rebug so have dynarec support patched without any pkg or lv2 patcher, just try to send me a pm or email.

https://github.com/IngPereira/DynarecPS3

So now is possible already to run dynamic recompiler on GameOS LV2, like i say by now just support 4.21 CFW CEX | DEX.

Download first commit 4.21 CEX | DEX already

POC: USING PSX DYNAREC EMULATOR

You can now try to use dynarec from PS3SX for example.

PS3SX POC

.- First run dynarec enabler to patch dynamic recompiler code support, it will beep and log on hdd0.

.- To use dynarec from ps3sx you have to leave "interpreter mode"=OFF so it will try to use dynamic recompiler maded by anonymous, if you don't launch first dynarec enabler then you will have a Black screen when trying to run any iso from ps3sx menu, so you need to run dynarec enabler before doing anything that need jit code support like this POC.

If you have run dynarec enabler before then you will see depending of the game (because this dynarec from ps3sx is too old and outdated, games works more faster but is not so compatible) that ps3sx will launch the game instead of black screen because GameOS is now patched.

Now we can make our own dynarecs for emulators that may use it, like n64 one or dosbox.

to see bugs, info see git.

Update about PS3SX POC it look for folders on usb000.

PS3SX .ini included

Quote:

Originally Posted by Ps3sxConf.ini
; Ps3sx GX config files PS3

[PS3SX] ;
version=1.1 ; Release Version

[psxrom]
rompath = /dev_usb000/psx ; Rom path Spaces around '=' are stripped

[psxsav]
savpath = /dev_usb000/mc ; Memory path

[psxsram]
srampath = /dev_usb000/sram ; Sram path

[psxbios]
biospath = /dev_usb000/bios ; bios path for the PSX Bios

[Read More]

STLcardsWS 03-02-2013 10:31 PM

Awesome work. :)

This is huge step in emulation for the PS3..

Keep up all the great work, very much appreciated

Theeze 03-02-2013 10:48 PM

I remember squarepusher talking about dynarec in order to push more out of the more intensive emulators such as ps3sx and possible future development of other emulators. Hopefully this will lead to an n64 emulator down the road...not too far I hope.

R3QU13M 03-02-2013 11:28 PM

Thanks for the information.

More scene development...

Hopefully this will help people with old and new projects for PS3 emulation.

Remember to keep this thread updated too. For we are many can follow progress.

STLcardsWS 03-03-2013 12:12 AM

A few issues @IngPereira

The Dynarec Enabled package just black screened and froze the ps3. No beep. Let it sit for awhile

here is the log
Quote:

APP: Running main base!
APP: Patching Lv2 hash on lv1...done
APP: Patching lv2 htab r|w|x access...
APP: LV2 HTAB r|w|x parcheado OK!
APP: done with -805236800 ret
APP: Installing new htab patch...
So then tried to run the ps3sx PKG
--gives an error on CEX 4.21.2 Rebug.

is it a DEX signed PKG?

Just as a headsup:
There is BIOS in the ps3sx download. That should be removed as many places, maybe even here won't allow it.

axledentaldj 03-03-2013 12:58 AM

Maybe someone will now look into the MAME MIPS Dynarec in getting a Killer Instinct 1 & 2 emulator going? Squarepusher talked to me a while back here about my wish:
http://forum.themaister.net/viewtopic.php?id=41

R3QU13M 03-03-2013 01:21 AM

Quote:

Originally Posted by axledentaldj (Post 550744)
Maybe someone will now look into the MAME MIPS Dynarec in getting a Killer Instinct 1 & 2 emulator going? Squarepusher talked to me a while back here about my wish:
http://forum.themaister.net/viewtopic.php?id=41

Agreed, there needs to be more eyes on this to get more emulators (N64, Sega Saturn, & Dreamcast) running on the PS3 that requires Dynarec.

manster 03-03-2013 04:14 AM

[Release] DynarecPS3 for 4.21 DEX/CEX CFW + PSX Dynarec Emulator POC
 
PS3dev IngPereira has pushed his project, DynarecPS3, to [Read More]

harryoke 03-03-2013 05:01 AM

This is not one step closer to helping develop emulators ...... It is a giant leap .... Great work can't wait to see what goodies will be released. :)

stevorkz 03-03-2013 05:06 AM

Im very excited about this and look forward to future emulator development :).

Man if a dev created an N64 emulator that would be the pinnacle of a hacked ps3 :(
At least for me.


All times are GMT -5. The time now is 12:53 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.