obhq / obliteration

Experimental PS4 emulator written in Rust for Windows, macOS and Linux
https://obliteration.net
MIT License
586 stars 17 forks source link

Implements device ioctl #792

Closed SuchAFuriousDeath closed 3 months ago

SuchAFuriousDeath commented 3 months ago

Just as a sidenote, with a couple of half-assed implementations, I'm already able to reach image

SuchAFuriousDeath commented 3 months ago

We currently crash on this, after loading so many libraries that all the outputted text doesn't fit inside the terminal(I don¨t mean our terminal by the way, I mean the default Windows one, I'm currently stuck on a Windows machine)

image

SuchAFuriousDeath commented 3 months ago

We currently load libKernel.sprx libSceLibcInternal.sprx libSceSysmodule.sprx libSceDiscMap.sprx libSceFios2.sprx libSceNet.sprx libSceIpmi.sprx libSceMbus.sprx libSceRegMgr.sprx libSceRtc.sprx libSceAvSetting.sprx libSceVideoOut.sprx libSceGnmDriver.sprx libSceAudioOut.sprx libSceAudioIn.sprx libSceAjm.sprx libScePad.sprx libSceCamera.sprx libSceNetCtl.sprx libSceHttp.sprx libSceSsl2.sprx libSceNpCommon.sprx libSceNpManager.sprx libSceNpWebApi.sprx libSceSaveData.sprx libSceSystemService.sprx libSceUserService.sprx libSceCommonDialog.sprx libSceSysUtil.sprx

I¨ve spoken with mikusp and he says that the current crash is caused by #614 (i.e. the init function of the modules aren't being ran, which also means that There's a lot of unimplemented syscalls that got skipped because of that)

SuchAFuriousDeath commented 3 months ago

After doing a temp fix, we now reach syscall 593, which there is a PR for (although, with a lot of todo!'s).