Search found 52 matches

by roby65
Fri Mar 05, 2010 7:21 am
Forum: PSP Development
Topic: Cannot create a prx
Replies: 11
Views: 6161

jojojoris wrote:You only need the debug symbols in the elf. you use the elf file as input for ie. psp-addr2line.

Or am i wrong?
I need to debug line to line the prx (psplink doesn't load the elf)
by roby65
Fri Mar 05, 2010 5:25 am
Forum: PSP Development
Topic: Cannot create a prx
Replies: 11
Views: 6161

Your ELF must at least export module_start in syslib . SDK will take care of that. I think the error he is getting is missing relocation table. The real strange thing is that it doesn't compile a prx by itself. I tryed compiling it manually: C:\Documents and Settings\roberto\Desktop\platform\o-psp-...
by roby65
Thu Mar 04, 2010 10:31 pm
Forum: PSP Development
Topic: Cannot create a prx
Replies: 11
Views: 6161

Why odes it always create a .elf? Because as I said, PSP uses ELF executables, dude... And PRX are just a custom ELF type. If you're exporting functions, make sure your exports file is set correctly. I don't export anything..... :( I mean, i don't need to export anything, and i don't have an export...
by roby65
Thu Mar 04, 2010 8:51 pm
Forum: PSP Development
Topic: Cannot create a prx
Replies: 11
Views: 6161

Actually the only factor that controls if a prx gets created is the BUILD_PRX=1 line as far as I know. You could manually create it by psp-prxgen input.elf output.prx Already tried. It says something about not finding the export table, or something like that. I checked the prx template, and the onl...
by roby65
Thu Mar 04, 2010 5:14 pm
Forum: PSP Development
Topic: Cannot create a prx
Replies: 11
Views: 6161

A PRX is an ELF. And your PRX is "inside" the EBOOT.PBP. Comment out EXTRA_TARGETS = EBOOT.PBP and you'll get your PRX. Already tried. Doesn't work. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\roberto\Desktop\platform\o-psp-c>m...
by roby65
Thu Mar 04, 2010 8:06 am
Forum: PSP Development
Topic: Cannot create a prx
Replies: 11
Views: 6161

Cannot create a prx

Hi, this is my makefile: TARGET = platform OBJS = intraFont.o libccc.o font.o common.o parser.o dialogs.o graphic.o libmsn/msntest/custompoll.o exceptionHandler\utility\exception.o main.o BUILD_PRX=1 INCDIR = CFLAGS = -O2 -G0 -Wall -g CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti -O2 -g ASFLAGS = $...
by roby65
Mon Feb 22, 2010 1:59 am
Forum: PSP Development
Topic: OpenSSL and syscall not implemented
Replies: 0
Views: 1786

OpenSSL and syscall not implemented

Ok, i already have the porting of openssl for psp, and i'm porting a lib that uses it. The library works pretty well, until it needs to do a SSL connection. Here comes the pain: newWritten = SSL_write(mySocketsSsl[idx].ssl, data, (int) (size - written&...
by roby65
Sat Feb 20, 2010 8:48 am
Forum: PSP Development
Topic: Select() broken?
Replies: 2
Views: 3945

jimparis wrote:What's ret? If it's zero due to timeout (yours is extremely short), maybe the fd_sets aren't being cleared. You can try also try drilling down into newlib's libc/sys/psp/select.c to see where they're getting set.
That's the problem, i must check if ret is 0 due to timeout, thanks! :)
by roby65
Sat Feb 13, 2010 1:20 am
Forum: PSP Development
Topic: Select() broken?
Replies: 2
Views: 3945

Select() broken?

Hi guys, can someone confirm me that select() is broken? I use it for testing if a socket is ready to send and receive, and it always tell me that the socket is ready for reading and writing also if it is not. code: #define POLLIN 1 #define POLLOUT 2 #define POLLERR 4 #define POLLHUP POLLERR #define...
by roby65
Fri Feb 12, 2010 7:10 am
Forum: PSP Development
Topic: Libmsn porting: bus error exception
Replies: 2
Views: 3766

Libmsn porting: bus error exception

Hi guys, i have a problem i can't understand. I ported the libmsn to pspsdk, compiled -> ok. But when i execute it, at a certain points the psp shuts down with this exception: Exception details: Exception - Bus error (data) EPC - 08907450 / tform_test".text + 00007414 Ca...
by roby65
Thu Feb 11, 2010 8:22 am
Forum: PSP Development
Topic: Socket pools?
Replies: 2
Views: 3201

jimparis wrote:Are you talking about poll or pool?
If poll, just use select instead.
If pool, that makes no sense.
Poll :D
Ok, i will try!
Thanks!
by roby65
Thu Feb 11, 2010 1:58 am
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 7821

SceUID buff_id; if ((buff_id = sceIoOpen(filename, SCE_O_RDONLY,0)) < 0){ printf("Problems here..."); return -1; } it seems like the application couldn't find my sound file... Here is how my dir structure....I have a working dir named PSPSound and I have my compiled output (prx...) in PSP...
by roby65
Thu Feb 11, 2010 1:41 am
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 7821

jiuhu wrote:Thanks for the suggestion, I just tried it, but same results...
Do I need to further specify the sound file that I want to use for my PRX?

Thank you.

Regards,
JiuHu
Post code, it whould work :)
by roby65
Wed Feb 10, 2010 7:07 pm
Forum: PSP Development
Topic: Openssl for psp?
Replies: 4
Views: 2578

coolkehon wrote:you can compile it with minpspw
The problem was that i could not do configure :)
I launched configure on linux then compiled on minimalist pspsdk, thanks for the help! :)
by roby65
Wed Feb 10, 2010 7:30 am
Forum: PSP Development
Topic: Socket pools?
Replies: 2
Views: 3201

Socket pools?

Hi guys,
i'm porting a msn library but i have a problem:
it uses socket polls (sys/poll.h) that is not in the pspsdk, can someone tell me if the pools work with the psp or if there is a way to get async sockets?

Thank,
Roby
by roby65
Sat Feb 06, 2010 1:57 am
Forum: PSP Development
Topic: Strange GU crash
Replies: 4
Views: 3110

Maybe there is something with the printf?
I saw in another tutorial this:

pspDebugScreenSetOffset((int)fbp0);

I never use it, maybe this leads to a crash? (using printf on an old buffer?)

edit:
including pspgum.h in the main.cpp solved the problem. O_O
by roby65
Fri Feb 05, 2010 8:51 pm
Forum: PSP Development
Topic: Strange GU crash
Replies: 4
Views: 3110

Does adding a sleep to the loop help? You'll need to yield to the other threads or the watchdog will reset the psp. Jim It doesn't. It crashes almost istantly, after 3-4 seconds, without showing nothing. A strange thing, is that also the printf doesn't show. (There are some printf in the init of in...
by roby65
Fri Feb 05, 2010 7:41 am
Forum: PSP Development
Topic: Openssl for psp?
Replies: 4
Views: 2578

jojojoris wrote:Yes
2 actually
one in svn and one newwer one ported by me.
http://jojosoft.1free.ws
In the libs part.
I am using minimalist pspsdk, can you provide me a precompiled library with the headers?
by roby65
Fri Feb 05, 2010 7:39 am
Forum: PSP Development
Topic: Strange GU crash
Replies: 4
Views: 3110

Strange GU crash

Hi guys, i have a REAL strange thing with GU and intrafont. In practise, if i initialize the GU and render the scene in the main() function, then it's all ok (i can see the text of intrafont). But if i put the render code in another function, for example: while&#40;1&#41; &#123; Platform...
by roby65
Fri Feb 05, 2010 6:36 am
Forum: PSP Development
Topic: Openssl for psp?
Replies: 4
Views: 2578

Openssl for psp?

Hi guys,
i'm porting a c++ lib for msn to psp, but a "little" problem blocks me.
The problem is:
it uses openssl, and AFAIK there isn't a openssl for psp, am i right?
by roby65
Tue Feb 02, 2010 8:17 pm
Forum: PSP Development
Topic: Using GU for 2d rendering
Replies: 2
Views: 2053

Using GU for 2d rendering

Hey guys, i have a question.
Is there anywhere a sample for using the GU for 2d rendering?
I need to draw some buttons stored in bmp's, but i didn't find a sample on the pspsdk...
by roby65
Fri Jan 08, 2010 11:05 pm
Forum: PSP Development
Topic: Connection to AP, nothing happens
Replies: 6
Views: 2818

Draan wrote:This can be silly but...
have you initialised all funny inet modules?
Lol my error, i edited the previous post, can you tell me why now it gives me this error?
by roby65
Fri Jan 08, 2010 10:35 pm
Forum: PSP Development
Topic: Connection to AP, nothing happens
Replies: 6
Views: 2818

Hi, quite interesting - what would be the purpose of such code ? However, if this is the case you would not need any callback setup i guess, but you need to call the exit method at the end of your code, which will end your homebrew as needed. Sending an HTML POST to a webpage :) regarding the text ...
by roby65
Fri Jan 08, 2010 9:40 pm
Forum: PSP Development
Topic: Connection to AP, nothing happens
Replies: 6
Views: 2818

Hi, in your main function there seem to be no main loop running until the home button was pressed. The last statement before exiting should be: sceKernelExitGame&#40;&#41;; the main loop should look like: while&#40;running&#40;&#41;&#41;&#123; //do all your stuff here ma...
by roby65
Fri Jan 08, 2010 6:31 pm
Forum: PSP Development
Topic: Connection to AP, nothing happens
Replies: 6
Views: 2818

Connection to AP, nothing happens

Hi guys, i'm making a little HB to test my lib. I want to: connect to AP->Send a POST to a site->Write answer from site->Quit This is the main (i'm omitting all the pspsdk includes): #include "common.h" PSP_MODULE_INFO&#40;"Platform_test", 0, 0, 71&#41;; int main&#40;...
by roby65
Mon Oct 19, 2009 10:54 pm
Forum: PSP Development
Topic: Edit a savegame
Replies: 2
Views: 1847

Edit a savegame

How to edit a savegame?
Is it encrypted?
Is it checksummed?

I want to try to edit some game savegames

Thx for the answers =D
by roby65
Sat Apr 11, 2009 3:50 am
Forum: PSP Development
Topic: Problem debugging with psplink and eclipse
Replies: 1
Views: 1743

Problem debugging with psplink and eclipse

Hi guys, i have the minimalist pspsdk and i configured eclipse to work with it... I'm trying to debug code, but i can't understand how.... I launch usbhost, psp-sh, then type "debug cube.prx" and press the eclipse debug button, the debu starts fine but i can't stop, pause or other things, ...
by roby65
Fri Apr 03, 2009 1:30 am
Forum: PSP Development
Topic: Get sio from remote
Replies: 2
Views: 1743

Get sio from remote

I cutted the remote controller of the psp to get the cables, i have a problem...i don't know what colours are for vcc, tx etc.
I have the slim connector, can someone help me? :(

edit:i fund ALL except the dground.....it seems not connected to the remote controller! why?
by roby65
Wed Apr 01, 2009 6:29 am
Forum: PSP Development
Topic: Studying sio port
Replies: 4
Views: 1769

i'm trying to see if the sio example in the pspsdk works with the remote control of the psp, but....why i must use a prx?
by roby65
Tue Mar 31, 2009 2:49 am
Forum: PSP Development
Topic: Studying sio port
Replies: 4
Views: 1769

Studying sio port

Hi guys, i want to make a cool thing....use devices with the sio of the psp. I'm studying how it works, and i'm going to buy a pic to use with serial communication.....but i have a question: how does the port works in a psp program? I know there is a "putchar" function, but...will the devi...