SceCompat

This is the primary kernel interface to the PSP Emulator.

sceCompatSetColorSpaceModeForDriver
Name might also be sceCompatSetDisplayConfigForDriver.

sceCompatGetTitleListForVsh
Reads ur0:emu_list/title_list.bin.

sceCompatIsPocketStationTitleForVsh
The first 4 characters of the Title Id are letters. The remaining numbers are converted to digital values with strtol,

XORed then compared to SceCompat hardcoded values.

sceCompatGetPspSystemSoftwareVersionForVsh
On emulated PSP FW 6.60, it returns 660. On emulated PSP FW 6.61, it returns 661.

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

sceCompatWriteSharedCtrl
Write pCtrl to Shared SRAM.

sceCompatAvailableColorSpaceSetting
Returns true only if (displayDeviceType & 3) equals 3.

sceCompatIsPocketStationTitle
The first 4 characters of the Title Id are letters. The remaining numbers are converted to digital values with strtol,

XORed then compared to SceCompat hardcoded values.

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

sceCompatCheckPocketStation
Checks PocketStation RIF.

sceCompatGetTitleList
Reads ur0:emu_list/title_list.bin.

sceCompatGetPspSystemSoftwareVersion
On emulated PSP FW 6.60, it returns 660. On emulated PSP FW 6.61, it returns 661.

sceCompatDatRead
Reads act.dat.

sceCompatInterrupt
Set a custom SceCompatMailbox address.

sceCompatInitEx
Loads  and , then  , calls  , and then issues compat_sm command 0x10006.

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

sceCompatWriteShared
Writes to SceCompatSharedSram.