This is sample homebrew that demonstrates how to integrate the MIPS processor into homebrews without the need of a kernel plugin. This capability is beneficial for PS1, PS2 and N64 emulators.
This tool generates a bootcode that can be placed at PSP memory 0x88600000
and executed with sceCompatStart()
.
To enable PspEmu Capability in homebrews, you need to use 0x2800000000000013
flags in your fself.
Thanks to the patch rif_check_psp_patched in taiHEN, it is possible to load fake licenses. A license is required in order for sceCompatStart
to succeed.
The API for PSP compatibility is available at compat.h.
sceCompat
. We don't need that much memory.sceKermit
code, such that we can use sceCompatWaitIntr
, sceCompatInterrupt
, sceCompatWaitAndGetRequest
and sceCompatReturnValueEx
.