Hi.
I've some question about using LoadExecPS2 function.
I try to write my own demo loader from DVD, but after calling LoadExecPS2 my console clear the screen and hangs up. Naplink report about "Get Reboot Request From EE".
I use a call like
LoadExecPS2("cdrom0:\\DEMO1.ELF;1",0,NULL);
Also I was try to use a piece of code from ps2menu - RunLoaderElf(char *filename), but it seems libcdvd 1.15 don't work with DVD and can't read the elf into memory.
Please, give me an advice how to solve this problem.
Thanks in advance
LoadExecPS2 have a troubles...
"Get Reboot Request From EE" means the IOP was reset, which kills off host: and tty (printf) support. LoadExecPS2 resets the IOP, so it's normal to lose those things and you just kinda have to deal with it ;)
Personally, I can't see any purpose for using a DVD.
Personally, I can't see any purpose for using a DVD.
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
It works. Since it rebooted the IOP, it loaded the elf, rebooted the IOP, and started running the elf. Now, I'd say that your demo1.elf is the one that has to be blamed.
So, you shouldn't use LoadExePS2, but rather load the ELF, and start a thread for it. Look for pkoLoadElf and pkoExecEE inside ps2link's cmdHandler.c: http://cvs.ps2dev.org/cgi-bin/viewcvs.c ... cvs-markup
So, you shouldn't use LoadExePS2, but rather load the ELF, and start a thread for it. Look for pkoLoadElf and pkoExecEE inside ps2link's cmdHandler.c: http://cvs.ps2dev.org/cgi-bin/viewcvs.c ... cvs-markup
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.