Search found 357 matches

by coolkehon
Tue Jun 16, 2009 2:35 am
Forum: PSP Development
Topic: Exception Handler for Kernel 3.xx
Replies: 23
Views: 10900

so is there no solution for this and if it helps i'm using cpp for the whole project but this file is .c i externed the initExceptionHandler() function so that it would be c
by coolkehon
Tue Jun 16, 2009 2:32 am
Forum: PSP Development
Topic: SDL and SceGu examples?
Replies: 6
Views: 1852

have u tried pspgl which is opengl for the psp although not fully ported but most majorly used functions are there and SDL can be built for psp so that it uses pspgl as opengl so that you can have opengl with SDL on the psp
by coolkehon
Mon Jun 15, 2009 10:23 pm
Forum: PSP Development
Topic: SDL and SceGu examples?
Replies: 6
Views: 1852

thanks searched and followed links and got this
http://www.megaupload.com/?d=TCI80TYM

it appears he did it in a separate thread thought i tried before but will try again thanks again
by coolkehon
Mon Jun 15, 2009 10:01 pm
Forum: PSP Development
Topic: psp-addr2line question / help
Replies: 5
Views: 2157

makefile: PSPSDK=$(shell psp-config --pspsdk-path) PSPBIN = $(PSPSDK)/../bin MAKE = $(shell make) TARGET = make EVENTS = events/Callbacks.o \ events/sys_redraw.o \ events/control_callbacks.o IMPORTS = ../controls/control_bridge.o \ ../initconf/initconf...
by coolkehon
Mon Jun 15, 2009 2:01 pm
Forum: PSP Development
Topic: SDL and SceGu examples?
Replies: 6
Views: 1852

well if you can get this to work then maybe there can be sceUtility dialogs with SDL
by coolkehon
Mon Jun 15, 2009 12:59 pm
Forum: PSP Development
Topic: Exception Handler for Kernel 3.xx
Replies: 23
Views: 10900

tried all of that to no aval it still doesnt work even removed both
by coolkehon
Mon Jun 15, 2009 7:00 am
Forum: PSP Development
Topic: Exception Handler for Kernel 3.xx
Replies: 23
Views: 10900

still cant find but here is the makefile PSPSDK=$(shell psp-config --pspsdk-path) PSPBIN = $(PSPSDK)/../bin MAKE = $(shell make) TARGET = make EVENTS = events/Callbacks.o \ events/sys_redraw.o \ events/control_callbacks.o IMPORTS = ../controls/control_...
by coolkehon
Mon Jun 15, 2009 6:36 am
Forum: PSP Development
Topic: psp-addr2line question / help
Replies: 5
Views: 2157

well i added -g option and got this when trying to compile got that same error above with the relocation and i cant figure out how to fix any suggestion would be appreciated Code: relocation truncated to fit: R_MIPS_GPREL16 against `_ftext' full: Code: exception/exception.o: In funct...
by coolkehon
Mon Jun 15, 2009 5:29 am
Forum: PSP Development
Topic: Exception Handler for Kernel 3.xx
Replies: 23
Views: 10900

got that same error above with the relocation and i cant figure out how to fix any suggestion would be appreciated relocation truncated to fit: R_MIPS_GPREL16 against `_ftext' full: exception/exception.o: In function `ExceptionHandler': exception.c:(.text+0xa8...
by coolkehon
Mon Jun 15, 2009 5:25 am
Forum: PSP Development
Topic: psp-addr2line question / help
Replies: 5
Views: 2157

psp-addr2line question / help

i have no idea how to use this so can someone explain it and i've looked it up and not really sure of the options etc now the main reason is my app consit of alot of prx's can psp-addr2line find out which file/line the problem occured on if it occures in a prx and not in the main how can i use pspli...
by coolkehon
Mon Jun 01, 2009 9:07 am
Forum: PSP Development
Topic: Drawing to gu from prx
Replies: 1
Views: 731

Drawing to gu from prx

is it possible to draw to the gu from a prx when the gu isnt inited from the prx but from the main app and if so how like mabye and example
by coolkehon
Sat May 30, 2009 5:28 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

i know that and i already knew / know why strings crash its because of the allocating of memory and freeing when it gets into a another prx / module it tries to free itself in the deconstructor but the memory is inside of the prx and theorefore is not freed correctly and causes all kinds of errors w...
by coolkehon
Fri May 29, 2009 9:03 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

i got the prx to work with exporting c/c++ functions but it crashes when trying to return strings also what is the constructer i know someone has to know i think i saw it somewhere a long time ago it has something like __atribute__("constructor") but dont know how to use that and what exac...
by coolkehon
Wed May 27, 2009 6:42 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

and if i have crto included then what
also i believe i need crto for c++ dont i
by coolkehon
Tue May 26, 2009 6:34 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

ok i tryed it and it still doesnt work this time i uploaded as to not clog up the page here is the source also no one ever answered the question what is the psp's "constructor" for a user app that will enable me to install patches at startup and call functions that are kernel direct from m...
by coolkehon
Tue May 26, 2009 4:32 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

how can i tell it to output what it prints to a text file so that i can read it because the terminal buffer isnt long enough edit: nvm found it http://ubuntuforums.org/showthread.php?t=138349 wow all this time and it was that simple man well good to know edit: lol it compiled i will test when i get ...
by coolkehon
Tue May 26, 2009 1:51 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

i'm new to programming as advanced as this so it may take some explaing on your behalf of what stuff means because i learned through java the basics then learned c/c++ (self taught) then learned the psp stuff although need to (doing right now) learning the gu but i would not have thought for a secon...
by coolkehon
Mon May 25, 2009 12:58 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

No, they are C++ too. That is why some of the NID's are so difficult to crack, because of name mangling. An example (from paf.prx): 0xDB230BE1 _ZN3paf8PhWidget7SetTextERKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEEi which demangled becomes: paf::PhWidget::SetText(paf::basic_string<wch...
by coolkehon
Mon May 25, 2009 12:56 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

Your problem is you don't understand how c++ works, in theory you can export static/global c++ functions no problem, if you understood what the export builder does and what c++ does. Alas you haven't bothered to try and understand. i actually read you guide for the psp and the module tutorial yeste...
by coolkehon
Sun May 24, 2009 7:58 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

it crashes the whole app and why can i not compile and export c++ functions there isnt much of a difference and also why has the pspsdk stoped being developed as much as getting upgrades such as c++ exports
by coolkehon
Sun May 24, 2009 7:56 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 2800

could you explain what a stack is for me i've seen on other sites but it would be helpful if described in noobs term
by coolkehon
Sat May 23, 2009 10:18 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 2800

do you have enoph heap allocated for this thread
by coolkehon
Sat May 23, 2009 10:17 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 2800

no you have to do either or not both pspSdkSetK1 if in kernel thread or set the thread to a user thread not both or else your calling a kernel funct in a user thread
by coolkehon
Sat May 23, 2009 9:51 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

so also here is how the module is loaded ass you can see it accepts args int argsc = 1; char * args&#91;argsc&#93;; args&#91;0&#93; = &#40;char *&#41;malloc&#40;&#40;workingDir + "/var/init.cfg"&#41;.length&#40;&#41;&#41;; strcpy&#40;args...
by coolkehon
Sat May 23, 2009 9:42 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 2800

so if i make a kernel thread in my main eboot does that mean i can access kernel functions
by coolkehon
Sat May 23, 2009 9:36 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

lol that person was me and the exports is here and here is the initconf.h they are externed exports.exp # Define the exports for the prx PSP_BEGIN_EXPORTS # These four lines are mandatory &#40;although you can add other functions like module_stop&#41; # syslib is a psynonym for the single ma...
by coolkehon
Sat May 23, 2009 8:10 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

no what i'm saying there are accessor functions initconf_getXXX but its not giving me the values i always get a negative number and it doesnt return a value
by coolkehon
Sat May 23, 2009 1:04 am
Forum: PSP Development
Topic: using prx to load values/store values (exports not working)
Replies: 23
Views: 6017

using prx to load values/store values (exports not working)

i want my initconf prx to do all the parsing for my main and then be unloaded but just getting started i cant figure out why it wont hold varaibles and pass them to main when i call the exports i get nothing here is the prx and its makefile initconf.cpp #include <pspkernel.h> #include <stdio.h> #inc...
by coolkehon
Sat May 23, 2009 1:01 am
Forum: PSP Development
Topic: Using Boost4PSP help
Replies: 8
Views: 2176

i can compile with -frtti but not sure how to do it the compiling part
by coolkehon
Sat May 23, 2009 1:00 am
Forum: PSP Development
Topic: how to enable rtti
Replies: 2
Views: 1023

i've heard from somewhere "bronsky" that the psp doesnt support RTTI but i added -frtti to the makefile and it still compiled and the psp supports exceptions (-fexceptions) if i remove -fno-exceptions so does it support RTTI if i remove -fno-rtti and replace it with -frtti