Search found 6 matches

by d1mbu1b
Tue Oct 28, 2008 11:27 pm
Forum: PSP Development
Topic: optimizing threads
Replies: 0
Views: 1096

optimizing threads

I am having trouble getting a threaded program to run efficiently. When I break the code into two threads it runs much slower. Please let me know if there is any specific tuning I should look into. Do I need -DREENTRANT? I am using the default pspsdk Makefile template. There is no need for mutual ex...
by d1mbu1b
Fri Oct 03, 2008 5:18 am
Forum: PSP Development
Topic: samples/net/simple on FW390
Replies: 2
Views: 1430

I found an example at psp programming... you have to set user mode and replace... /* if(pspSdkLoadInetModules() < 0) { printf("Error, could not load inet modules\n"); sceKernelSleepThread(); } */ sceUtilityLoadNetModule(1); sceUtilityLoadNetModule(3);
by d1mbu1b
Fri Oct 03, 2008 1:41 am
Forum: PSP Development
Topic: samples/net/simple on FW390
Replies: 2
Views: 1430

samples/net/simple on FW390

I cannot get this to run on my FW390 PSP. It simply, either crashes the PSP or returns "The game could not be started." (8002013C) I tried all combinations of setting PSP_FW_VERSION=390 PSP_MODULE_INFO("name", 0, 1, 1); Do the socket operations require kernel mode? does it have t...
by d1mbu1b
Wed May 28, 2008 5:07 am
Forum: PSP Development
Topic: Serial cable for dummies :-)
Replies: 35
Views: 48445

Peope say max232 is not good for slim because the 1,8v is so litlle for max232 (we can see that in the datasheet too),. The threshold voltage for both 5v and 3.6v ttl is still 1.5 volts. Like you said, and as you can see in the image the Tx line is driven to about 1.8 volts. Here is the Tx line of ...
by d1mbu1b
Fri May 23, 2008 5:52 am
Forum: PSP Development
Topic: portability question (posix and sce/psp)
Replies: 6
Views: 2176

Thank you all for your insight and help. It sounds like the answer is: use the sceFunctions. but people here willl help you, if you start by searching before in the previous threads (Read the Previous Fucking Threads!), you can find lots of samples in the SDK as well. I will. Hopefully, I don't get ...
by d1mbu1b
Fri May 23, 2008 12:38 am
Forum: PSP Development
Topic: portability question (posix and sce/psp)
Replies: 6
Views: 2176

portability question (posix and sce/psp)

Please give me guidance on how to write portable code for the PSP. What are the trade offs between using the sceFunctions() and posix calls? I see a pthread wrapper and what looks to be a posix complaint socket library, but file and serial IO use the sceFunctions(). Do macros exist for fopen and ope...