Search found 15 matches

by Devun_06
Mon Jan 25, 2010 11:07 am
Forum: PSP Development
Topic: OSK 50 Char Limit?
Replies: 2
Views: 2745

http://www.qj.net/psp/homebrew-development/danzeff-osk-source-released.html This is the source code to the OSK, find the formal parameter or implementation for the string input, and jack it up some. If not, I don't see any other way, except accepting the input and adding the string to another chara...
by Devun_06
Mon Jan 25, 2010 10:25 am
Forum: PSP Development
Topic: [SOLVED] sceCtrlReadLatch() strange behavior
Replies: 8
Views: 12192

If you get the home button, your code skips to send the information to the socket on a server, then waits a little while to avoid freezing. If you assume waiting will fix the problem, that means another thread must be running that isn't quite finished yet in some cases. If that's the case, use sceKe...
by Devun_06
Sun Jan 24, 2010 1:12 pm
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5203

Look up Cooperative Multitasking. When a thread is running, nothing else[1] can run When a thread sleeps, it's put on a queue for its priority level with a restart time of now+sleep time, and the next queued highest priority thread that is ready to run is restarted. Every thread must play this game...
by Devun_06
Sun Jan 24, 2010 4:43 am
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5203

It is quite old, but this thread was my better option to gathering whether or not I may have had a thread issue, instead of opening an entire new one, since this may actually already have a solution to my problem. PSP_MODULE_INFO("LevolAVG", 0, 1, 6); PSP_MAIN_THREAD_ATTR&a...
by Devun_06
Sat Jan 23, 2010 1:26 pm
Forum: PSP Development
Topic: Prx loading issue
Replies: 0
Views: 1437

Prx loading issue

Okay, I'm using a very old method I found long before now that by source, claimed you could launch a module in user mode supplying NULL into your "optional" option parameter. This made made complete sense reading the library. But, I keep getting problems. First, the module loading process...
by Devun_06
Fri Jan 01, 2010 1:43 am
Forum: PSP Development
Topic: Double Pointer Allocation, and Validity Testing Errors?
Replies: 10
Views: 13815

Thanks Everyone, I'm assuming since I can't, but the "Cool\0" == strlen() case both equaled four, it must've been just another horrible test situation. I don't know for sure, but I find it easier to believe sizeof() returned 4 for the test case, not because there were four letters, which w...
by Devun_06
Thu Dec 31, 2009 1:25 pm
Forum: PSP Development
Topic: Double Pointer Allocation, and Validity Testing Errors?
Replies: 10
Views: 13815

Thanks Jim. No, the question has been completely distorted now, and to prevent further confusion this is a summery. *Summery* I tried testing pointers as the first helpful reply had insisted, but I was unsure because of the failed response, and had decided to figure out what the problem was, and bla...
by Devun_06
Thu Dec 31, 2009 11:49 am
Forum: PSP Development
Topic: Double Pointer Allocation, and Validity Testing Errors?
Replies: 10
Views: 13815

Why is it that the size of the allocated space cannot be tested? Isn't realloc supposed to return the value of the pointer untouched in some cases? I want to embed the realloc process in another that will check for null, and in the case of null, return the pointer to the original like so: void *vi_r...
by Devun_06
Thu Dec 31, 2009 10:58 am
Forum: PSP Development
Topic: Double Pointer Allocation, and Validity Testing Errors?
Replies: 10
Views: 13815

That instance is not the problem(it's one of them), it just proved that even though I parsed through all the methods available for detecting size inaccurate values, the one I found to work of them all was horribly wrong. When I tested it, I first tried: Ptr ==strlen()+1 Ptr ==strlen()+0 *Ptr ==strle...
by Devun_06
Thu Dec 31, 2009 2:59 am
Forum: PSP Development
Topic: Double Pointer Allocation, and Validity Testing Errors?
Replies: 10
Views: 13815

Thanks, I'm reviewing now. I'm going to try to make sense of it first, then test it. Shouldn't be too hard. Again, thank you. Done. BRILLIANT! SIMPLY BRILLIANT. Makes complete sense, I can't believe I overlooked that. Really, I can't. Thanks!!! I de-referenced the pointer to beyond what was needed, ...
by Devun_06
Thu Dec 31, 2009 2:17 am
Forum: PSP Development
Topic: Double Pointer Allocation, and Validity Testing Errors?
Replies: 10
Views: 13815

Double Pointer Allocation, and Validity Testing Errors?

I have a header declaring a double pointer, char **file. But, my double pointer is not responding appropriately to the validity test I run on it. The error occurs as so: int max2 = 18; char **file; file=malloc&#40;max2 * sizeof&#40;char *&#41;&#41;; int i; for&#40;i=0; i< max2; i...
by Devun_06
Thu Jul 27, 2006 5:22 am
Forum: PSP Development
Topic: PRX & Moduling Help
Replies: 6
Views: 3685

Okay, I've made the necessary changes now, but I'm still not getting anything to boot from it except now the PSP doesn't crash unless I release the error codes as comments. What exactly is messing up my code now? int LoadAndStartModule_PRX&#40;char *ModuleFILE, int UserMode&#41;//UserMode mo...
by Devun_06
Sun Jun 18, 2006 10:49 am
Forum: PSP Development
Topic: Press a key without pressing it
Replies: 23
Views: 9049

Well, I'd love to see how this is done, simply because it's the only way I see a program being able to turn off the PSP's screen and I want to introduce a nice sleep feature within my own program/eboot.
by Devun_06
Sun Jun 18, 2006 6:48 am
Forum: PSP Development
Topic: PRX & Moduling Help
Replies: 6
Views: 3685

I suppose that you have previously called pspSdkInstallNoPlainModuleCheckPatch (which requires kernel mode), right? Also, if you call pspSdkInstallNoDeviceCheckPatch, you wouldn't need the sceKernelLoadModuleMs, the normal sceKernelLoadModule would work better. It seems that the sceKernelLoadModule...
by Devun_06
Sat Jun 17, 2006 7:14 pm
Forum: PSP Development
Topic: PRX & Moduling Help
Replies: 6
Views: 3685

PRX & Moduling Help

I'm trying to get my homebrew to load other eboots and call itself back up upon the exiting of the eboot my homebrew has loaded, but so far... I can't even tackle my first attempt at this moduling thing... can some one help me with this... my code doesn't look wrong to me. Execution: ///////////////...