Any update / anybody has experience with the sceHprmRegisterCallback and the rest of the "not-in-the-include-file" sceHprm calls?
I tried chid = sceKernelCreateCallback("Hprm Callback", hprm_callback, NULL);sceHprmRegisterCallback(chid); with no luck...
sceHprmRegisterCallback
you mean like this
check psplink sio source for more info here
http://svn.ps2dev.org/filedetails.php?r ... rev=0&sc=0
Code: Select all
static void _sioInit(void)
{
/* Shut down the remote driver */
sceHprmEnd();
/* Enable UART 4 */
sceSysregUartIoEnable(4);
/* Enable remote control power */
sceSyscon_driver_44439604(1);
}
Code: Select all
void sioInit(int baud, int kponly)
{
_sioInit();
if(!kponly)
{
g_eventflag = sceKernelCreateEventFlag("SioShellEvent", 0, 0, 0);
sceKernelRegisterIntrHandler(PSP_HPREMOTE_INT, 1, intr_handler, NULL, NULL);
sceKernelEnableIntr(PSP_HPREMOTE_INT);
/* Delay thread for a bit */
sceKernelDelayThread(2000000);
}
sioSetBaud(baud);
sioInstallKprintf();
}
http://svn.ps2dev.org/filedetails.php?r ... rev=0&sc=0
10011011 00101010 11010111 10001001 10111010