pspSdkLoadInetModules fails

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

pspSdkLoadInetModules fails

Post by Shine »

I've included WLAN support in Lua Player, but it fails with a SCE_KERNEL_ERROR_MODULE_MGR_BUSY at pspSdkLoadStartModule("flash0:/kd/ifhandle.prx", PSP_MEMORY_PARTITION_KERNEL). It is in SVN, if someone wants to test it. I've tested it with a 1.00 firmware PSP.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

I don't think that code is complete (or at least, not properly documented).
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

mrbrown wrote:I don't think that code is complete (or at least, not properly documented).
Thanks for your tip in #pspdev chat, now it works. I've committed the Lua Player sources to SVN, so you can test it with this program.

Would be nice to make the integration a bit easier, without the need to create a user mode thread by hand. And there are some TODOs in the source, e.g. looks like the term function doesn't work.
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

I've created a small pure-C sample for loading a web page, using the new PSPSDK functions: http://www.frank-buss.de/tmp/wget.zip . Perhaps it should be merged with John_K's WLAN sample in the PSPSDK, I've dropped him a note in #pspdev, but at least it could be used to help fixing the TODOs (in main.c and Makefile) and the termination bug.
Post Reply