What is Nucleus?
Started by mr.devolver




13 posts in this topic
mr.devolver
Unregistered


 
04-08-2015, 10:00 PM -
#8
(04-08-2015, 08:02 PM)AlexAltea Wrote: Just a personal project. A few quickly/badly written key-points about existing/planned features are:
  • System libraries are LLE'd, except the ones that rely on IPC (e.g. cellSysutil) or performance critical modules (e.g. A/V decoding).
  • As a result of the previous, I've put more effort some reversing LV2 syscalls which would have been otherwise wrapped and never accessed directly (e.g. sys_rsx*).
  • Because of that, accurately emulating RSX contexts (e.g. actually mapping and using the dma_control, driver_info, report areas) is a must. What concerns rendering: OpenGL 4.3 for now, moving to 4.5 (AZDO stuff) atm. Vulkan once it's out.
  • Debugging: Each instance of Nucleus can optionally create an HTTP server that offers a RESTful API to control the emulator. The client can be run online from: http://alexaltea.github.io/nerve/ (old version). Docs: http://docs.nerve.apiary.io/ + Screenshot: http://embed.gyazo.com/2b3bdec14e73c35e7c17d70cea30a9a3.png
  • (Somewhat) documented: https://github.com/AlexAltea/nucleus/tree/master/docs and (integration) tested: https://github.com/AlexAltea/ps3autotests code. Extreme boredom may result in unit tests for PPU/SPU instructions but I am not making any promises, hehe.
  • A few lines platform-dependant code just to set up a DC and render the UI on it from one OpenGL context (sort of what PPSSPP does). Another thread for RSX emulation (all gets rendering to texture), allowing for fancy postprocessing and a smooth UI/overlay info even if the RSX renders at 2 FPS.
  • PPU recompiler will work AOT, not JIT. Should be faster, nicer (and harder). No idea about SPUs yet. LLVM as it's well tested and with plenty of backends. Not 100% happy with it though, but I can't think of anything better for now.
  • Targetting mobile platforms: iOS/Android. Something trivial once the Vulkan (=> GLES 3.1+ compatible hw, iirc) backend is running.

Again, there won't be any promises, forum, website or news about it in the near future. Just writing this here as answer to OP's question and media-whoring a bit on Emunewz Tongue It's just some personal project that I want to feel free to abandon at any time. It's open-source just in case someone finds it useful, for whatever reason. :-)

TL;DR: Random experiments that doesn't deserve too much attention.

EDIT: Should this thread be moved to some other forum area? This thread is kinda off-topic here (and I feel some guilt about spamming Nucleus links in this particular sub-forum).

Wow, thanks for so much in-depth information! Now, honestly most of it is something I don't understand Blush but then again observers don't need to understand how did a magician do his tricks, but the parts I did understand sound quite exciting! Like the UI that you compared to PPSSPP, that is something I totally love about PPSSPP so if you thought of making such thing for ps3 emulator, that would be just amazing! Also targetting mobile platforms, well I don't own any iOS nor Android device myself, but I can imagine if you manage to run a ps3 emulator there, it would be just insanely awesome, like portable ps3 and phone in one device! Big Grin Also, if there is an idea that such thing like ps3 emulator could run on a mobile platform, it gives me a hope that average current generation pc could handle it too, perhaps Vulkan coming out could be an answer to current performance issues of the emulator?


Messages In This Thread
RE: What is Nucleus? - by mr.devolver - 04-08-2015, 08:09 AM
RE: What is Nucleus? - by tambre - 04-08-2015, 05:27 PM
RE: What is Nucleus? - by Ru4slan - 04-08-2015, 06:04 PM
RE: What is Nucleus? - by DragonNeos - 04-08-2015, 06:22 PM
RE: What is Nucleus? - by tambre - 04-08-2015, 06:39 PM
RE: What is Nucleus? - by Ekaseo - 04-08-2015, 06:42 PM
RE: What is Nucleus? - by Darkriot - 04-08-2015, 09:24 PM
RE: What is Nucleus? - by mr.devolver - 04-08-2015, 10:00 PM
RE: What is Nucleus? - by tambre - 04-09-2015, 03:45 AM
RE: What is Nucleus? - by Darkriot - 04-09-2015, 05:16 AM
RE: What is Nucleus? - by ps0ne - 04-09-2015, 07:00 AM
RE: What is Nucleus? - by derpf - 04-09-2015, 10:16 AM
RE: What is Nucleus? - by ps0ne - 04-09-2015, 06:50 PM
RE: What is Nucleus? - by flashmozzg - 04-09-2015, 08:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)