Search found 18 matches

by darksaboteur
Tue Nov 24, 2009 11:20 am
Forum: PSP Development
Topic: NetDialog Auto Connect To Last AP
Replies: 2
Views: 2714

Thanks

That did the trick.

Thank you very much :)

Thanks,
Darky
by darksaboteur
Sat Nov 21, 2009 12:06 pm
Forum: PSP Development
Topic: NetDialog Auto Connect To Last AP
Replies: 2
Views: 2714

NetDialog Auto Connect To Last AP

Hi,
I have been looking around for a way to emulate the behaviour of "PSP_UTILITY_HTMLVIEWER_CONNECTMODE_LAST" while connecting with netdialog.
So far I have not been unable to find a way to do this so far and was wondering if it is possible?

Thanks,
Darky
by darksaboteur
Sun Sep 27, 2009 1:10 pm
Forum: PSP Development
Topic: Note, Vol Up, Vol Down Button Input?
Replies: 9
Views: 6295

I have read many samples and tutorials and they all work. Interestingly if I rename main.c to main.cpp in the samples they get the same error my application gets during compilation. (mine is cpp). So it seems to be related to it being a cpp application? Does it need something different in the makefi...
by darksaboteur
Sun Sep 27, 2009 2:05 am
Forum: PSP Development
Topic: Note, Vol Up, Vol Down Button Input?
Replies: 9
Views: 6295

Having A Few Troubles...

Ok, I have tried to make a prx and am failing :( I get 'main.cpp:(.text+0x1064): undefined reference to `setSamplingCycle(int)' setSamplingCycle(int) is the function I created the in prx. I have followed the samples and looked around on the net to no avail. I can post full source if anyone is intere...
by darksaboteur
Sat Sep 26, 2009 11:24 pm
Forum: PSP Development
Topic: Note, Vol Up, Vol Down Button Input?
Replies: 9
Views: 6295

Doesn't Work

After adding 0x800 to PSP_MODULE_INFO("UniMote", 0x800, 1, 1);
I get "The game could not be started (80020148)"

Thanks,
Darky
by darksaboteur
Sat Sep 26, 2009 10:50 pm
Forum: PSP Development
Topic: Note, Vol Up, Vol Down Button Input?
Replies: 9
Views: 6295

Ok

I figured that would be the case.
Is there any disadvantages to this? The application is not designed for 1.5, I use it under a 5.xx kernel. It won't affect any of the my existing code?
Would you be able to point me to some examples of how to do this?

Sorry for the all the questions

Thanks,
Darky
by darksaboteur
Sat Sep 26, 2009 9:13 pm
Forum: PSP Development
Topic: Note, Vol Up, Vol Down Button Input?
Replies: 9
Views: 6295

Note, Vol Up, Vol Down Button Input?

Hi, I was wondering how to get Note, Vol Up, Vol Down input. In pspctrl.h I noticed "@note PSP_CTRL_HOME, PSP_CTRL_NOTE, PSP_CTRL_SCREEN, PSP_CTRL_VOLUP, PSP_CTRL_VOLDOWN, PSP_CTRL_DISC, PSP_CTRL_WLAN_UP, PSP_CTRL_REMOTE, PSP_CTRL_MS can only be read in kernel mode" I have no idea how to a...
by darksaboteur
Tue Jun 09, 2009 11:28 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

YAY :D

Hi,
First off I'd like to thank you both for you help and say thank you for all your help :).
It works!

I plan to put together a sample of how to use sircs on 5.XX for other noobs like me ;)

No one happens to know some sircs codes for a Sony Receiver.....

Thanks again,
Darky
by darksaboteur
Tue Jun 09, 2009 3:01 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

Thanks for that.
It now compiles and runs but does not actually work
SceSircsSend returns -2147352262

Sorry to a pain :(

Thanks,
Darky
by darksaboteur
Tue Jun 09, 2009 2:35 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

Ok, sorry about that. I am pretty new to C (and programming in general).
Do I still need "#include <pspsircs.h>"?

Thanks,
Darky
by darksaboteur
Tue Jun 09, 2009 12:31 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

@cory1492

Hi, Thanks for that, I tried your suggestion but couldn't get it to work (I'm in over my head somewhat) Heres what I did: - Created the mySceSircs.S file. - Included it with #include "mySceSircs.S" - Removed -lpspsircs from the makefile I ended up with lots of compile errors. I have commit...
by darksaboteur
Sat Jun 06, 2009 12:00 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

SVN

I have it in a SVN repo.

Code: Select all

svn&#58;//www.nicksplace.com.au/Nicksplace/trunk/UniMote
Thanks,
Darky
by darksaboteur
Sat Jun 06, 2009 1:49 am
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

Question

Hi, I have added the following code: SceUID mod = sceKernelLoadModule&#40;"ms0&#58;/path/to/module/sircs.prx", 0, NULL&#41;; if &#40;mod >= 0&#41; &#123; mod = sceKernelStartModule&#40;mod, 0, NULL, NULL, NULL&#41;; if &#40;mod < 0&#41; &#123; me...
by darksaboteur
Fri Jun 05, 2009 5:50 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

Thanks

Thanks for that, I had a feeling that's what I would need to do.
Are you able to push me in the right direction for the actual module loading?

Thanks,
Darky
by darksaboteur
Fri Jun 05, 2009 11:09 am
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 18924

Sircs on 5.XX

Hi, I am trying to get sircs to work on 5.xx. When I call "sceSircsSend" I get "The game could not be loaded" (or similar). I have looked into this and it seems that sircs was removed from newer firmwares. Is there a way I can load it in my program? I noticed the file "f0:\k...
by darksaboteur
Tue May 26, 2009 11:59 pm
Forum: PSP Development
Topic: How to set a timeout for connect() in sys/socket.h?
Replies: 4
Views: 3716

Got It Fixed :)

Just thought I'd post this in case anyone else has this problem. Changing to the sce sockets did not fix the problem, but changing the socket to being non-blocking did. The code now reads int netSocketConnect&#40;&#41; &#123; struct sockaddr_in server; unsigned long addr; int NoBlock; so...
by darksaboteur
Tue May 26, 2009 7:39 pm
Forum: PSP Development
Topic: How to set a timeout for connect() in sys/socket.h?
Replies: 4
Views: 3716

Thanks

Will give it a go and post back with how it goes.

Thanks,
Nick
by darksaboteur
Tue May 26, 2009 5:54 pm
Forum: PSP Development
Topic: How to set a timeout for connect() in sys/socket.h?
Replies: 4
Views: 3716

How to set a timeout for connect() in sys/socket.h?

Hi, I was wondering if anyone could help me out. In the code below when the connect() function is called it waits for quite a while if it cannot connect to the PC, ie. the PC is turned off. I was wondering how to implement a timeout for connect() so it only waits 1-2 seconds. I have googled and used...