SceCompat

From Vita Development Wiki
Revision as of 19:09, 11 April 2020 by CelesteBlue (talk | contribs)
Jump to navigation Jump to search

This is the primary kernel interface to the PSP Emulator.

Module

Known NIDs

Version Name World Privilege NID
1.69 SceCompat Non-secure Kernel 0x7FA33B9B
3.60-3.65 SceCompat Non-secure Kernel 0x8F2D0378

Libraries

Known NIDs

Version Name World Visibility NID
3.60-3.65 SceCompatForDriver Non-secure Kernel 0x7CFA62CD
3.60-3.65 SceCompatForVsh Non-secure User 0xF68A1AD0
1.69-3.65 SceCompat Non-secure User 0x0F35909D

SceCompatForDriver

SceCompatForDriver_6EBD9E01

Version NID
3.60 0x6EBD9E01

SceCompatForVsh

SceCompatForVsh_4915DEE7

Version NID
3.60 0x4915DEE7

SceCompatForVsh_70997F92

Version NID
3.60 0x70997F92

SceCompatForVsh_9C107CC9

Version NID
3.60 0x9C107CC9

SceCompat

sceCompatGetUpdateState

Version NID
3.60 0x0CDE9EC5

sceCompatGetDevInf

Version NID
1.69-3.60 0x138006A8

sceCompatGetPeripheralState

Version NID
0.990-3.60 0x176B2906

sceCompatWriteShared32

Version NID
1.69-3.60 0x1CD51530

sceCompatWriteSharedCtrl

Version NID
1.69-3.60 0x2306FFED

sceCompatSetSettings

Version NID
1.69 0x312782DC
3.60 not present

sceCompatSuspendResume

Version NID
1.69-3.60 0x324112CA

sceCompatSetDisplayConfig

Version NID
1.69 0x32BA3DCF

sceCompatRegRead

Version NID
0.990-1.69 0x4521505D
3.60 not present

sceCompatAvailableColorSpaceSetting

Version NID
3.60 0x456226DD

sceCompatCache

Version NID
0.940-3.60 0x6777390E

sceCompatAllocCdram

Version NID
1.69 0x6E8E3BA8

sceCompatWaitSpecialRequest

Version NID
0.940-3.60 0x714F7ED6

sceCompatReadShared32

Version NID
1.69-3.60 0x73AA4871

sceCompatGetSettings

Version NID
1.69 0x782C980E
3.60 not present

sceCompatIsPocketStationTitle

Version NID
3.60 0x7DCFBCCE

sceCompatWaitAndGetRequest

Version NID
3.60 0x8176C238

sceCompatSetUpdateState

Version NID
3.60 0x8A44206F

sceCompatStart

Version NID
0.940-3.60 0x8CA1632D

sceCompatRegWrite

Version NID
0.990-1.69 0x912B1C28
3.60 not present

sceCompatIdStorageLookup

Version NID
0.940-3.60 0x94AAA245

sceCompatCheckPocketStation

Version NID
3.60 0x96FC2A87

sceCompatGetTitleList

Version NID
3.60 0x99F13E04

sceCompatGetCurrentSecureTick

Version NID
3.60 0xA073EBEE

sceCompatAllocCdramWithHole

Version NID
3.60 0xA5039FFA

sceCompatGetPspSystemSoftwareVersion

Version NID
0.990-3.60 0xB113DCC0

sceCompatFrameBufferInit

Version NID
1.69-3.60 0xBC0E2B4C

sceCompatLCDCSync

Version NID
1.69-3.60 0xBD177787

sceCompatWaitIntr

Version NID
3.60 0xC1E14CF5

sceCompatGetRequest

Version NID
1.69 0xCB9F607B

sceCompatDatRead

Version NID
0.990-3.60 0xCBE73EBE

sceCompatReturnValueEx

Version NID
1.69-3.60 0xCC02A9FF

sceCompatGetStatus

Version NID
1.69-3.60 0xD2E3370E

sceCompatInterrupt

Version NID
0.940-3.60 0xD6AA36DD

sceCompatSetRif

Version NID
1.69-3.60 0xD8B69F23

sceCompatGetPrimaryHead

Version NID
1.69 0xDC9EE33A

sceCompatSetSuspendSema

Version NID
1.69-3.60 0xDD30239E

sceCompatInitEx

Version NID
1.69-3.60 0xE97C1B5F

sceCompatUninit

Version NID
0.990-3.60 0xEF929397

sceCompatStop

Version NID
1.69-3.60 0xFCE2422F

sceCompatInit

Version NID
0.940-0.990 0xB9DBD54A
3.60 not present

Loads Pcff and Pcbc.

sceCompatLCDCInit

Version NID
0.940 0x3021D626

sceCompatLCDCExec

Version NID
0.940 0x7E3E266D

sceCompatResume

Version NID
0.990 0xCA184D5B
3.60 not present
// step: must be either 1 (resume Pervasive, restore CPU speed) or 2 (write resume payload, reload act.dat)
int sceCompatResume(SceUInt32 step, int maybe_addr);

sceCompatSuspend

Version NID
0.990 0x9EFFE36E
3.60 not present
// step: must be either 1 (black screen) or 2 (suspend Pervasive, slow down CPU, wipe act.dat in memory)
int sceCompatSuspend(SceUInt32 step);

SceCompat_C37A463C

Version NID
0.990 0x9EFFE36E
3.60 not present

Writes to SceCompatSharedSram.

int SceCompat_C37A463C(SceUInt32 offset, const void *pBuf, SceSize size)