Page 1 of 1

Psms on MemoryCard

Posted: Mon Jul 19, 2004 3:56 am
by not6
I try to load psms 1.5 mc version but i had a bug with the files.txt
no ways to get it works .

so i take psms 1.2 src , correct files.txt and try to make my own mc version , its works fine as i load from pksh .

but when i try to get it works with ps1drv as boot.elf it
always fail and can't load mc0:/BEDATA-SYSTEM/SJPCM.IRX.
(sio2man,mcman,mcserv are loaded)

Why does it load from pksh the sjpcm.irx and not from ps1drv?

ps: i also try to put sjpcm.irx in the elf (like modules in ps2menu) ,
but it freeze after boot (i thnk addrs pb).

Posted: Mon Jul 19, 2004 5:32 am
by mrbrown
Do you have sjpcm.irx in mc0:/BEDATA-SYSTEM/ named as SJPCM.IRX?

Posted: Mon Jul 19, 2004 5:44 am
by not6
yes of course in mc0:/BEDATA-SYSTEM/SJPCM.IRX

it load perfect when exec from pksh .

Posted: Mon Jul 19, 2004 6:21 am
by mrbrown
Sounds like psms needs to use the sbv-lite patches to enable loading IRX's from the memory card. You could also use SifExecModuleFile() instead.

Posted: Mon Jul 19, 2004 8:32 am
by not6
Thks M.R.brown,

once again you are right ,

i just add :
sbv_patch_enable_lmb();
sbv_patch_disable_prefix_check();

and now it works :)