PPSSPP iOS Port
|
03-10-2013, 04:42 PM
Post: #256
|
|||
|
|||
RE: PPSSPP iOS Port
You can try something like this but it didn't work for me, as mentioned:
Code: diff --git a/Common/MemoryUtil.cpp b/Common/MemoryUtil.cpp -[Unknown] |
|||
03-10-2013, 08:14 PM
(This post was last modified: 03-10-2013 09:25 PM by the avenger.)
Post: #257
|
|||
|
|||
RE: PPSSPP iOS Port
(03-10-2013 04:42 PM)[Unknown] Wrote: You can try something like this but it didn't work for me, as mentioned:i am confused,how do i use this code,anyway i say we move from the Jit problem for now and start on other issues like mediaengine and sound. EDIT:also it looks like MAP_FILE is not allowed |
|||
03-10-2013, 11:03 PM
(This post was last modified: 03-10-2013 11:45 PM by the avenger.)
Post: #258
|
|||
|
|||
RE: PPSSPP iOS Port
(03-10-2013 12:39 AM)xsacha Wrote: I think he's just saying it's possible because technically it is possible -- just no one does it yet.actually cydia itself uses JIT(but not dynarec) and many other cydia apps use JIT,also i know you said it doesn't but the description on cydia of n64ios says that it uses dynarec,to quote it to the letter it says features include: Fast dynarec cpu emulation so you might wanna look into that |
|||
03-11-2013, 12:28 AM
(This post was last modified: 03-11-2013 12:40 AM by xsacha.)
Post: #259
|
|||
|
|||
RE: PPSSPP iOS Port
(03-10-2013 11:03 PM)the avenger Wrote:(03-10-2013 12:39 AM)xsacha Wrote: I think he's just saying it's possible because technically it is possible -- just no one does it yet.actually cydia itself uses JIT(but not dynarec) and many other cydia apps use JIT,also i know you said it doesn't but the description on cydia of n64ios says that it uses dynarec,to quote it to the letter it says JIT = dynarec. Although the emulator supports JIT, in the source code you can see that the app disables it for iOS. It looks like a repacked mupen64plus and doesn't even include the iOS clear cache so JIT wouldn't even be possible with the source provided. Maybe I'm wrong but the source code isn't available in that case. |
|||
03-11-2013, 10:28 PM
Post: #260
|
|||
|
|||
RE: PPSSPP iOS Port
I don't no much about coding emulators. But I did I little digging...it's seems that ari64 and mupen64plus developed the dynarec for zodttd's n64 emulator. And as mentioned above...dynarec is the same as JIT? Maybe the answer lies there?
|
|||
03-11-2013, 10:31 PM
(This post was last modified: 03-12-2013 12:32 AM by the avenger.)
Post: #261
|
|||
|
|||
RE: PPSSPP iOS Port
(03-11-2013 12:28 AM)xsacha Wrote:ok,any idea about sound?(03-10-2013 11:03 PM)the avenger Wrote:(03-10-2013 12:39 AM)xsacha Wrote: I think he's just saying it's possible because technically it is possible -- just no one does it yet.actually cydia itself uses JIT(but not dynarec) and many other cydia apps use JIT,also i know you said it doesn't but the description on cydia of n64ios says that it uses dynarec,to quote it to the letter it says EDIT:updated cydia package with 7.0 |
|||
03-12-2013, 09:05 AM
Post: #262
|
|||
|
|||
RE: PPSSPP iOS Port
(03-11-2013 10:31 PM)the avenger Wrote:(03-11-2013 12:28 AM)xsacha Wrote:ok,any idea about sound?(03-10-2013 11:03 PM)the avenger Wrote:(03-10-2013 12:39 AM)xsacha Wrote: I think he's just saying it's possible because technically it is possible -- just no one does it yet.actually cydia itself uses JIT(but not dynarec) and many other cydia apps use JIT,also i know you said it doesn't but the description on cydia of n64ios says that it uses dynarec,to quote it to the letter it says support!!!!:P 请大家遵守论坛制度,谢谢 |
|||
03-12-2013, 10:47 AM
(This post was last modified: 03-12-2013 10:48 AM by the avenger.)
Post: #263
|
|||
|
|||
RE: PPSSPP iOS Port
i am starting to think the error is in the code not in the OS,as jailbreaking removes the limitations for jit compiling,to quote from the ios hacker's handbook:
Quote:vm_map_enter |
|||
03-12-2013, 05:46 PM
Post: #264
|
|||
|
|||
RE: PPSSPP iOS Port
could you compile the app universally, avenger? FullForce works fine for the menu, but I haven't tried to play a game, so I'm not sure how that'd affect the screen resolution. I'm on an iPhone 5.
|
|||
03-12-2013, 05:58 PM
Post: #265
|
|||
|
|||
RE: PPSSPP iOS Port
(03-12-2013 05:46 PM)auriculogenesis Wrote: could you compile the app universally, avenger? FullForce works fine for the menu, but I haven't tried to play a game, so I'm not sure how that'd affect the screen resolution. I'm on an iPhone 5. I used full force on the ipad and it scaled the emulator perfectly, it even works when playing games. Its surprising because full force usually breaks emulators and games. |
|||
03-12-2013, 08:16 PM
(This post was last modified: 03-12-2013 08:21 PM by xsacha.)
Post: #266
|
|||
|
|||
RE: PPSSPP iOS Port
(03-12-2013 10:47 AM)the avenger Wrote: i am starting to think the error is in the code not in the OS,as jailbreaking removes the limitations for jit compiling,to quote from the ios hacker's handbook:I think it's safe to say that jailbreaks today do not include the patch referenced here because otherwise JIT would 'just work' . Right now, the emulator complains that PROT_EXEC is *not* enabled whereas this patch was meant to make sure it was. Sounds like an old quote. Maybe it's possible to find this patch and add it manually for jailbroken OS. In any case, it's unrelated to PPSSPP. |
|||
03-13-2013, 07:51 AM
(This post was last modified: 03-13-2013 08:05 AM by the avenger.)
Post: #267
|
|||
|
|||
RE: PPSSPP iOS Port
(03-12-2013 08:16 PM)xsacha Wrote:Oh ok,but any any case it doesn't crash there if you add MAP_JIT,it crashes in armxemitter::write32(03-12-2013 10:47 AM)the avenger Wrote: i am starting to think the error is in the code not in the OS,as jailbreaking removes the limitations for jit compiling,to quote from the ios hacker's handbook:I think it's safe to say that jailbreaks today do not include the patch referenced here because otherwise JIT would 'just work' . Right now, the emulator complains that PROT_EXEC is *not* enabled whereas this patch was meant to make sure it was. https://github.com/comex/datautils0 |
|||
03-13-2013, 07:56 AM
Post: #268
|
|||
|
|||
RE: PPSSPP iOS Port
It probably crashes there because the allocation of writable/executable memories failed, so write32 just writes into space.
|
|||
03-13-2013, 01:00 PM
Post: #269
|
|||
|
|||
RE: PPSSPP iOS Port
Wow . . . It seems like something really strange is going on here . . .
Why doesn't someone try contacting saurik (creator of Cydia) or one of the iOS jailbreakers like planetbeing, MuscleNerd, pod2g, or Nikias Bassen (pimskeks)? Maybe one of them could help . . . Also, there's a thread on PPSSPP over on the r/jailbreak Reddit. There's definitely interest in getting JIT to work over there. Maybe someone there can help. http://www.reddit.com/r/jailbreak/commen...unning_on/ Hope this helps! |
|||
03-13-2013, 05:18 PM
(This post was last modified: 03-13-2013 05:49 PM by BubblegumBalloon.)
Post: #270
|
|||
|
|||
RE: PPSSPP iOS Port
If its an issue with the OS then I have an idea but its a long shot...
Basically jit CAN work on iOS but it is only enabled on apples own 1st party apps that come preinstalled on the device. If any 3rd party app tries to use jit then the OS will kill the app. There is a jailbreak tweak called Nitrous and what Nitrous does is enable the Nitrous javascript engine that is used in safari to be used with other apps. Now you may be wondering what this has to do with ppsspp? Well basically the Nitrous javascript engine uses jit so im guessing that the Nitrous jailbreak tweak somehow gives permission for 3rd party applications to use jit without being killed by the OS. I havent tried this out myself yet since nitrous is a paid tweak but if anybody is willing to try it out this could be a potential solution to getting jit to work on ppsspp without crashing. EDIT: I did a bit more research and I found then even though iOS does not support JIT by default it does support AOT. AOT is not as fast as JIT but its still heck of a lot faster than using Interpreter. |
|||
« Next Oldest | Next Newest »
|