Search found 44 matches

by Rex_VF5
Thu Jul 30, 2009 5:03 pm
Forum: PS3 Development
Topic: Anybody any idea about the official Sony devkit..?
Replies: 11
Views: 8356

There is another route available (probably): academic development kits. Read about that here: http://www.develop-online.net/news/3237 ... S3-dev-kit
by Rex_VF5
Sun Jun 14, 2009 8:42 am
Forum: PS3 Development
Topic: Is there a ps3sdk?
Replies: 14
Views: 10111

Actually there is an original (Sony's) SDK for PS3 and it even appeared in the wild (I do not have it - just before you ask). It allows one thing current Linux-based SKDs won't do - access the GPU. However it is useless for you as it is intended for DEBUG/TEST machines (I don't have one either).The ...
by Rex_VF5
Thu Dec 11, 2008 8:58 pm
Forum: PSP Development
Topic: pspsdk vs official sdk
Replies: 4
Views: 2545

Unless the original SDK used different language than C/C++ I guess there would not be much difference. You have a platform that provides some amount of calls you can use. There may be some additional features in original SDK that would allow you to to do debugging/profiling/etc. stuff different way,...
by Rex_VF5
Thu Dec 11, 2008 4:42 pm
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

J.F., no problem with posting the whole sources - after all it is just 3 libraries put together (libupnp, pthreads-emb and mcupnp) and one slightly modified example from mcupnp. When I wrote I'll post .elf/.prx I just thought the sources were stored inside .elf. Here's the file: http://www.sendspace...
by Rex_VF5
Thu Dec 11, 2008 6:52 am
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

I've increased heap size to 4096K and stack size to 1024K and the result is the same. It hangs in debugger with only printing the begging of the debug line. When ran directly it continues past this point somehow...

Would someone be willing to have a look at the .prx/.elf if I posted it?
by Rex_VF5
Wed Dec 10, 2008 4:43 pm
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

Might be too small a stack or heap. When doing 3.xx+ homebrew in prx form, you need to set the heap size specifically. Also, the stack defaults to 256K. If you use more local storage than that, you'll need to set the stack size as well. Is there a way in gdb (or ddd) to find out current stack/heap ...
by Rex_VF5
Wed Dec 10, 2008 7:12 am
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

I have changed the select line back to original and ran this through debugger and that gave interesting results: Upon executing select the errno equals to 0 which in turn translates to " Connection timed out " in errorBuffer . When doing next step (i.e. UpnpPrintf( UPNP_CRITICAL, SSDP, __F...
by Rex_VF5
Sun Dec 07, 2008 5:07 pm
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

J.F. wrote:Your first arg is wrong. It needs to be max_socket_num+1.
As can be seen in the sources I changed it from ret = select( maxMiniSock, &rdSet, NULL, &expSet, NULL ); because I found somewhere such suggestion. With the original line it produces the same error.
by Rex_VF5
Sun Dec 07, 2008 3:41 am
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

Please, anyone?
by Rex_VF5
Fri Dec 05, 2008 8:36 pm
Forum: PSP Development
Topic: in need
Replies: 3
Views: 1883

This is a development forum dealing with software - not the best place to ask what you have asked for. But to answer your question: search on eBay - there's plenty of sellers offering PSP motherboards and other circuitry/controls/etc...
by Rex_VF5
Fri Dec 05, 2008 4:40 pm
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

J.F. wrote:Have you tried just printing the error number? Maybe it's something strerror doesn't recognize.
The error number is contained in the subject of this thread: 80410005 printed through %X.
by Rex_VF5
Fri Dec 05, 2008 7:11 am
Forum: PSP Development
Topic: select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)
Replies: 12
Views: 4550

select error 0x80410005 - help(RaF, J.F., TyRaNiD, pspZorba)

First of all: sorry for asking for attention this way but I am desperate and do not know how to proceed at all. The code obviously works on many platforms (it's libupnp) but on PSP give this strange error that strerrorr can't describe. Here's the snippet from the code (it gives the error on the line...
by Rex_VF5
Mon Dec 01, 2008 10:13 pm
Forum: PSP Development
Topic: Problems debugging
Replies: 2
Views: 1609

TyRaNiD, thanx for the info - I feel like a complete idiot. I am quite a newbie with Linux debugging tools and I'd swear I saw somewhere I need to 'run' the thing. With your advice I managed it to run (actually I use ddd with psp-gdb) and am approaching the problem spot. It seems to access some arra...
by Rex_VF5
Fri Nov 28, 2008 7:05 am
Forum: PSP Development
Topic: Problems debugging
Replies: 2
Views: 1609

Problems debugging

I am trying to resolve the exception I receive (see my post http://forums.ps2dev.org/viewtopic.php?p=76524#76418). I have setup the PSPLINK and all the other stuff needed. However I cannot seem to get debugger running the target. usbhostfs_pc is up and running. in pspsh I load my PRX: host1:...
by Rex_VF5
Wed Nov 12, 2008 8:01 am
Forum: PSP Development
Topic: libupnp 1.6.6 PSP port available here
Replies: 9
Views: 4034

Hmm... one thing to remember about PSP threading - it's cooperative, not preemptive. Other threads don't run unless you call system functions that yield time to the other threads. In networking code where you have a separate thread handling the networking, you'll often see something like "sceK...
by Rex_VF5
Tue Nov 11, 2008 8:02 pm
Forum: PSP Development
Topic: libupnp 1.6.6 PSP port available here
Replies: 9
Views: 4034

Perfect! Sorry to be so anal about the whole thing. :) It's great to see someone (relatively) new whose first few posts are about a library they got compiling on the PSP rather than the more typical "please help a noob" post. No problem - if there's some stuff that people are used why bre...
by Rex_VF5
Tue Nov 11, 2008 4:22 pm
Forum: PSP Development
Topic: libupnp 1.6.6 PSP port available here
Replies: 9
Views: 4034

Done.
by Rex_VF5
Tue Nov 11, 2008 9:22 am
Forum: PSP Development
Topic: libupnp 1.6.6 PSP port available here
Replies: 9
Views: 4034

Done.
by Rex_VF5
Tue Nov 11, 2008 6:14 am
Forum: PSP Development
Topic: libupnp 1.6.6 PSP port available here
Replies: 9
Views: 4034

libupnp 1.6.6 PSP port available here

OK boys and girls (if any here). As my first project on PSP and an attempt to do some C/C++ coding I decided non-the-less to do UPNP client (I aim for PS3 look-and-feel - i.e. integrated into XMB creating a virtual drive holding all the UPnP servers & available media). The base for this is to be...
by Rex_VF5
Mon Nov 10, 2008 7:07 am
Forum: PSP Development
Topic: pthreads
Replies: 24
Views: 11850

I have been trying to figure this out whole weekend but didn't progress much. However I compiled pthread-psp-test and ran it. It gets stuck at Semaphore test #4. I thought maybe the FW was to blame - I was on 5.00 M33-3 so I downgraded to 3.90 M33-3 but the result is the same. Under 5.00 I tried to ...
by Rex_VF5
Sat Nov 08, 2008 1:26 am
Forum: PSP Development
Topic: pthreads
Replies: 24
Views: 11850

I have used this library to compile another library. When it tries to create a thread it crashes like this: host0:/> Exception - Address load/inst fetch Thread ID - 0x04E49B7D Th Name - pthread0002__8a05110 Module ID - 0x01FF992D Mod Name - upnpcmd EPC - 0x0883A1C4 Cause - 0x10000010 Excepti...
by Rex_VF5
Mon Nov 03, 2008 5:24 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4633

First of all , do you really need that(ask yourself :"Do i really need that")? For example , if you were going to program a game , there are only a few parts of the engine that will have to be initialized once(window/graphics/sound/input). So , their types/classes can become member variab...
by Rex_VF5
Mon Nov 03, 2008 4:09 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4633

PosX100, while b) looks certainly nicer I wonder if it is equivalent. Main purpose of singleton pattern is to ensure only one instance of certain class exists. That is done by making constructor private and only used in singleton getter method. In your example I do not quite get how that is done but...
by Rex_VF5
Mon Nov 03, 2008 3:02 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4633

I know I deserve this post to be marked "lamer of the month" ;-) Yes , but for another reason ... For abusing C++. Singletons & CPP = bad choise ... In Java this is one of the most used patterns. Also this is part of a library - not my code. Anyway - can you tell me what would "g...
by Rex_VF5
Sun Nov 02, 2008 8:02 pm
Forum: The Incredible Hall Of Shame
Topic: Accessing PS3 Hard Drive (Downloadable content) using PC.
Replies: 4
Views: 7857

"Breaking through barrier" is not that easy. If they used AES there is (currently) no way to brute-force it (would take more years then you're going to live) and there is no known crypto-attack. So either some weakness is found or someone leaks the private keys or some hackers find some ho...
by Rex_VF5
Sun Nov 02, 2008 7:09 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4633

Thank you very much. I know I deserve this post to be marked "lamer of the month" ;-)
by Rex_VF5
Sun Nov 02, 2008 6:42 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4633

Re: C++ compilation problem

no wonder, i cannot see xxx.o : psp-gcc -I. -I/opt/toolchains/psp//psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -L. -L/opt/toolchains/psp//psp/sdk/lib test.o xxx.o -lstdc++ -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputi...
by Rex_VF5
Sun Nov 02, 2008 5:56 am
Forum: PSP Development
Topic: C++ compilation problem
Replies: 15
Views: 4633

C++ compilation problem

First of all I swear I have gone through searching for solution and I have tried reordering libs and also adding extern "C" on every possible place. Nothing helped (maybe because I am pretty lame with C/C++ and much more skilled with Java). I am running SDK built out of SVN. I have narrowe...
by Rex_VF5
Sat Nov 01, 2008 5:35 pm
Forum: The Incredible Hall Of Shame
Topic: Accessing PS3 Hard Drive (Downloadable content) using PC.
Replies: 4
Views: 7857

The HD is encrypted so you won't see a thing. So far all attempts to "hack" into it failed... That's the power of cryptography. So basically you're out of luck. You may try some of the proxy methods to fool PS3 that you're downloading something for your region...
by Rex_VF5
Fri Oct 31, 2008 7:06 am
Forum: PSP Development
Topic: pthreads
Replies: 24
Views: 11850

Stupid me - there was a typo -lpthread s -psp Now I get something like this: --------------------------- pthread stuff ------------------------------------- checking for pthread_join in LIBS=-lpthread-psp -lpspsdk with CFLAGS=... yes checking for joinable pthread attribute... unknown checking if mor...