SceCompat

This is the primary kernel interface to the PSP Emulator.

sceCompatGetDevInf
Calls sceIoDevctlForDriver("ux0", 0x3001, NULL, 0, pInf, sizeof(SceIoDevInfo));.

sceCompatPrepareLoad
Loads Pcff (PSP Compat Flash Files) and Pcbc (PSP Compat Boot Code).

sceCompatGetPspSystemSoftwareVersion
On PSP FW 6.60, it returns 660.

sceCompatInterrupt
Set a custom SceCompatMailbox address.

sceCompatInit
Loads Pcff (PSP Compat Flash Files) and Pcbc (PSP Compat Boot Code).

sceCompatWriteShared
Writes to SceCompatSharedSram.