Search found 16 matches

by Anissian
Sat Mar 10, 2007 6:23 pm
Forum: PSP Development
Topic: [Ann] PSP Development Tutorial, modules
Replies: 23
Views: 22070

You don't give source code to makefile and exports.exp. thanks for your comments. I will provide the source for the examples in the fixed version. Unfortunately, several typos are present in the document, such as the SP_CREATE. Regarding the error yo get, that's because the example is supposed to b...
by Anissian
Wed Mar 07, 2007 11:43 pm
Forum: PSP Development
Topic: Display text in xmb with prx
Replies: 14
Views: 6296

there is not much documentation or anything really to do with displaying reliable and usable text and graphics onto the xmb... Let me add that I share the same concerns. It is not something I have played a lot with, but I agree that the idea of e.g. having a firmware plugin that when the user press...
by Anissian
Sat Mar 03, 2007 11:59 pm
Forum: PSP Development
Topic: Check if a file exists? Threads in a prx?
Replies: 5
Views: 2981

Use a single entry point and then create two threads. This is a skeleton, a few things are missing (such as the exit callbacks for "home key", etc). Not sure if you want user mode, kernel mode, a main thread or not, or whether you don't want a "main" function. #include <pspsdk.h>...
by Anissian
Sat Mar 03, 2007 11:42 pm
Forum: PSP Development
Topic: Check if a file exists? Threads in a prx?
Replies: 5
Views: 2981

I don't know exactly what you are trying to do, a more detailed explanation of the problem would help. Maybe you are confusing the concept of module entry point and the action of launching a thread?. In any case, yes, it is possible to lauch a thread from the PRX, and that's what the code seems to b...
by Anissian
Thu Mar 01, 2007 4:57 am
Forum: PSP Development
Topic: [Ann] PSP Development Tutorial, modules
Replies: 23
Views: 22070

Re: [Ann] PSP Development Tutorial, modules

I think this common error comes from when you try to disassemble with psp-objdump or prxtool which uses the old register naming by default. Indeed. Thank you hlide, I will incorporate these remarks in the reviewed version. I used prxtool extensively, and a few docs about R4000. I will dobule check ...
by Anissian
Wed Feb 28, 2007 7:15 pm
Forum: PSP Development
Topic: [Ann] PSP Development Tutorial, modules
Replies: 23
Views: 22070

[Ann] PSP Development Tutorial, modules

All, Please find (link below, PSP dev totorials section) a new PSP development tutorial concerning modules and PRXs, written by yours truly. There are a few rough edges and some parts are being fixed / completed / clarified. Many thanks to the reviewers for their insighful comments. http://ps2dev.or...
by Anissian
Wed Feb 21, 2007 7:13 am
Forum: PSP Development
Topic: Keep freezing on exit
Replies: 14
Views: 5479

Hi, I'm unsure about what's causing the freeze, but browsing the code I tend to think that the problem may be due to the fact that the "main_thread" is waiting for thread "update_thread" (the one that setup the exit callback) to terminate. You may already know / have tried this (...
by Anissian
Mon Feb 19, 2007 9:55 pm
Forum: PSP Development
Topic: PSAR Dumper 2.0 (PRX 2.0 format decrypted)
Replies: 60
Views: 122930

I thought this could be an appropriate thread for requesting clarification about psardumper (as of v03). Apologies if this are answered elsewhere, I have not been able to find them: Until now, I thought that when requesting a demangle or a decrypt by using the "g_mangleProc" or the "s...
by Anissian
Fri Feb 16, 2007 1:42 am
Forum: PSP Development
Topic: Basic PRX Template Please
Replies: 5
Views: 3700

oh so the main thread is not the same as the main function in this case?? No, not really. These are two different (although related) concepts: a) Having no "main" function, means that you don't want / need the crt0 and initialization that the SDK performs for you and that your module just...
by Anissian
Wed Feb 14, 2007 9:35 am
Forum: PSP Development
Topic: Need help troubleshooting a simple prx
Replies: 7
Views: 3112

It's a bit late here and I am a sleepy, but.. aren't you returning the address of an array allocated in the stack? (char szWallName[MAXPATH]; ... return szWallName)... that's a source of crashes, and it will not always work. Possible fixes: * declare it static as in static char szWallName[MAXPATH]; ...
by Anissian
Tue Feb 13, 2007 4:27 am
Forum: PSP Development
Topic: Building PRXes in PSPSDK
Replies: 22
Views: 28341

The stubs do not currently support variables and I dont think they ever will, it would require too much hackery or modification to ld to be really worth it. If you design needs global variables then imo you haven't designed it correctly ;) Heh I agree :o). This may not be the right thread, but chec...
by Anissian
Sat Feb 10, 2007 8:26 am
Forum: PSP Development
Topic: Get flash1 from Eboot
Replies: 9
Views: 3811

edit: misread
by Anissian
Thu Feb 08, 2007 9:50 pm
Forum: PSP Development
Topic: Problems with PRX exports using C++
Replies: 9
Views: 5748

As you can see, I use the PSP_NO_CREATE_MAIN_THREAD() call, but I still need a main() function in my code. If I comment it out (as above) the link phase raises a crt0_prx.o undef ref to main in _main() error (along with the other two I mentioned before). I am unsure whether you want kernel mode or ...
by Anissian
Thu Feb 08, 2007 7:50 am
Forum: PSP Development
Topic: Problems with PRX exports using C++
Replies: 9
Views: 5748

Re: Problems with PRX exports using C++

(...) all I do is: psp-build-exports -s UI_Exports.exp This generates a PSPRadio_UI.S file, so in PSPRadio's Makefile, I have PSPRadio_UI.o as one of the defined objects.. And that's it.... Raf, Indeed, this works, although the original post was referring to the fact that if you generate a .cc usin...
by Anissian
Thu Feb 08, 2007 6:36 am
Forum: PSP Lua Player Development
Topic: Luaplayer standalone Makefile issues
Replies: 0
Views: 2813

Luaplayer standalone Makefile issues

All, I was trying to produce a standalone EBOOT.PBP for a lua script, so I tried to use the standalone makefile, (as in svn), and I found a few minor issues. I created another adhoc Makefile (mixing the common and standalone Makefiles) and I managed to run the standalone PBP sucessfully in OE 303. T...
by Anissian
Fri Jan 26, 2007 9:51 pm
Forum: PSP Development
Topic: Problems with PRX exports using C++
Replies: 9
Views: 5748

Problems with PRX exports using C++

All, I recently started PSP development using C++ and I have a couple of questions. I apologize in advance if they are answered or RTFM, I goggled and searched in the forums, but without success. a) first, regarding PRX exports. psp-build-exports generates a valid C file, but g++ chokes if we try to...