SceCompat: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
| 1.69 || SceCompat || Non-secure || Kernel || 0x7FA33B9B
| 1.69 || SceCompat || Non-secure || Kernel || 0x7FA33B9B
|-
|-
| 3.60 || SceCompat || Non-secure || Kernel || 0x8F2D0378
| 3.60-3.65 || SceCompat || Non-secure || Kernel || 0x8F2D0378
|-
| 3.65 || SceCompat || Non-secure || Kernel || 0x8F2D0378
|}
|}


Line 23: Line 21:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 3.60 || [[SceCompat#SceCompatForDriver|SceCompatForDriver]] || Non-secure || Kernel || 0x7CFA62CD
| 3.60-3.65 || [[SceCompat#SceCompatForDriver|SceCompatForDriver]] || Non-secure || Kernel || 0x7CFA62CD
|-
| 3.65 || [[SceCompat#SceCompatForDriver|SceCompatForDriver]] || Non-secure || Kernel || 0x7CFA62CD
|-
| 3.60 || [[SceCompat#SceCompatForVsh|SceCompatForVsh]] || Non-secure || User || 0xF68A1AD0
|-
|-
| 3.65 || [[SceCompat#SceCompatForVsh|SceCompatForVsh]] || Non-secure || User || 0xF68A1AD0
| 3.60-3.65 || [[SceCompat#SceCompatForVsh|SceCompatForVsh]] || Non-secure || User || 0xF68A1AD0
|-
|-
| 1.69 || [[SceCompat#SceCompat|SceCompat]] || Non-secure || User || 0x0F35909D
| 1.69-3.65 || [[SceCompat#SceCompat|SceCompat]] || Non-secure || User || 0x0F35909D
|}
|}


Line 71: Line 65:


== SceCompat ==
== SceCompat ==


=== sceCompatGetUpdateState ===
=== sceCompatGetUpdateState ===
Line 86: Line 79:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x138006A8
| 1.69-3.60 || 0x138006A8
|-
| 3.60 || 0x138006A8
|}
|}


Line 104: Line 95:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x1CD51530
| 1.69-3.60 || 0x1CD51530
|-
| 3.60 || 0x1CD51530
|}
|}


Line 114: Line 103:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x2306FFED
| 1.69-3.60 || 0x2306FFED
|-
| 3.60 || 0x2306FFED
|}
|}


Line 126: Line 113:
| 1.69 || 0x312782DC
| 1.69 || 0x312782DC
|-
|-
| 3.60 || NOT PRESENT
| 3.60 || not present
|}
|}


Line 134: Line 121:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x324112CA
| 1.69-3.60 || 0x324112CA
|-
| 3.60 || 0x324112CA
|}
|}


Line 154: Line 139:
| 0.990-1.69 || 0x4521505D
| 0.990-1.69 || 0x4521505D
|-
|-
| 3.60 || NOT PRESENT
| 3.60 || not present
|}
|}


Line 194: Line 179:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x73AA4871
| 1.69-3.60 || 0x73AA4871
|-
| 3.60 || 0x73AA4871
|}
|}


Line 206: Line 189:
| 1.69 || 0x782C980E
| 1.69 || 0x782C980E
|-
|-
| 3.60 || NOT PRESENT
| 3.60 || not present
|}
|}


Line 248: Line 231:
| 0.990-1.69 || 0x912B1C28
| 0.990-1.69 || 0x912B1C28
|-
|-
| 3.60 || NOT PRESENT
| 3.60 || not present
|}
|}


Line 304: Line 287:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xBC0E2B4C
| 1.69-3.60 || 0xBC0E2B4C
|-
| 3.60 || 0xBC0E2B4C
|}
|}


Line 314: Line 295:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xBD177787
| 1.69-3.60 || 0xBD177787
|-
| 3.60 || 0xBD177787
|}
|}


Line 348: Line 327:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xCC02A9FF
| 1.69-3.60 || 0xCC02A9FF
|-
| 3.60 || 0xCC02A9FF
|}
|}


Line 358: Line 335:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xD2E3370E
| 1.69-3.60 || 0xD2E3370E
|-
| 3.60 || 0xD2E3370E
|}
|}


Line 376: Line 351:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xD8B69F23
| 1.69-3.60 || 0xD8B69F23
|-
| 3.60 || 0xD8B69F23
|}
|}


Line 394: Line 367:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xDD30239E
| 1.69-3.60 || 0xDD30239E
|-
| 3.60 || 0xDD30239E
|}
|}


Line 404: Line 375:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xE97C1B5F
| 1.69-3.60 || 0xE97C1B5F
|-
| 3.60 || 0xE97C1B5F
|}
|}


Line 422: Line 391:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xFCE2422F
| 1.69-3.60 || 0xFCE2422F
|-
| 3.60 || 0xFCE2422F
|}
|}


Line 432: Line 399:
! Version !! NID
! Version !! NID
|-
|-
| 0.940 || 0xB9DBD54A
| 0.940-0.990 || 0xB9DBD54A
|-
| 3.60 || not present
|}
|}


Line 452: Line 421:
| 0.940 || 0x7E3E266D
| 0.940 || 0x7E3E266D
|}
|}
=== sceCompatResume ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990 || 0xCA184D5B
|-
| 3.60 || not present
|}
<source lang="C">
// 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);
</source>
=== sceCompatSuspend ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990 || 0x9EFFE36E
|-
| 3.60 || not present
|}
<source lang="C">
// step: must be either 1 (black screen) or 2 (suspend Pervasive, slow down CPU, wipe act.dat in memory)
int sceCompatSuspend(SceUInt32 step);
</source>
=== SceCompat_C37A463C ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990 || 0x9EFFE36E
|-
| 3.60 || not present
|}
Writes to SceCompatSharedSram.
<source lang="C">int SceCompat_C37A463C(SceUInt32 offset, const void *pBuf, SceSize size)</source>




[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Kernel]]

Revision as of 19:09, 11 April 2020

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)