Yes, I noticed a few seconds after I posted. As always. :)Zitat:
Zitat von yaustar
Thanks.
Printable View
Yes, I noticed a few seconds after I posted. As always. :)Zitat:
Zitat von yaustar
Thanks.
A module can only be loaded once. Almost all those modules there have already been loaded by the firmware (assuming that app is booted in the GAME mode). You would have to unload a module first before you can reload it.Zitat:
Zitat von Auraomega
My problem isn't coming in loading those modules, but in loading my module. I can't even load my module to load those ones, I was expecting an error when trying to load modules that are already running, but the error is comes in the loading of the loader.
-Aura
Not to be rude but can anyone help and btw it's not compiling problems it's just really text input.
Thanks,
Gavin/ITDemo
What's the problem itdemo?
And for what machine (a variety of questions lately have been meant for PC, so I gotta ask)
hey im having a problem with my compiler to, when i compile and run my program from the dev c++ it runs fine, but when i run the exe just the first line comes up, and nothing else
Blacbeltcon - what do you mean? If you mean you run the compiled binary out of Dev-c++ it closes real quick or what?
no it doesnt close, nothing apears in the dos screen, like i have it saying welcome to pardus easynotes
when i run the exe just a blank black window comes up, i dont no whats wrong with it.
-= Double Post =-
hey i got it, there was a problem with my file opening, lol i had it open a file before putting out word, so it just stoped at the opening of the file.
lol sorry to bug you guys
For the P.S.P and i am using Cygwin but its not a compiling prob.Zitat:
Zitat von SG57
Thanks for the reply and the problem is: is there any way to let the user input text into a program i am making using the psp built in text input keyboard. I have tried using pspDebugkbInit() but i can't get it to work properly.
Thanks,
Gavin/ITDemo
You could create your own OSK then. Promisses a lot of fun! :Jump:
Zitat:
Zitat von placo23
Just to show how much i appreciate what you said i will but to be honest i will probably fall into lot's of problems but i will start on it as soon as possible.
Thanks,
Gavin/ITDemo
Does the sample that the SDK comes with work? If it does, then something is wrong with the code. Maybe you are using the library incorrectly? What other related functions are there?Zitat:
Zitat von itdemo
You could use the offical SDK, its not the most effective (I can't remember the one used in iRShell), but thats handy too, I saw an example of how its made in LUA once, so you could take a look at that.
For some source code of the real SDK in use, take a look in LightMP3 too get an idea of how it works.
Of course, creating your own keyboard would be an idea, I personally like the one used in Basilisk, but it would be tricky to get normal people to use.
-Aura
I, personally, use that built in OSK for all my input needs :)
Well i am making a simple numeric one at the moment anyway but how do you use the built in one?Zitat:
Zitat von SG57
@ yaustar the problem i am having is that when i use the one in the sdk samples whatever they input becomes a string and i can't multiply that by a folat. When casting it didn't work and my uncle pointed out that it actually comes in as a pointer.
Thanks,
Gavin/ITDemo
It comes out as a C string which is a char *. You have to convert it to a float using stringstreams (C++) or sscanf (C).Zitat:
Zitat von itdemo
Thanks, but i am nearly done my osk anyway.Zitat:
Zitat von yaustar
If you are going to implement the OSK the way I think you are going to, you are going to hit the same problem as before.Zitat:
Zitat von itdemo
well the way i am doing it is loads of different images like if they press left it will load image with 2 highlighted but my dad said there is porbably an easier way but then again he doesn't no any comp laguages. So could you tell me.
Thanks,
Gavin/ITDemo
I was referring to functionally rather then visually. I.E How do you represent the data that the user has just inputted.Zitat:
Zitat von itdemo
He means that you're going to run into the variable type problem again. The user input will be stored as a string, and not a float. This puts you where you started.Zitat:
Zitat von itdemo
Well i don't think i am going to run into that problem because i can controll what happens when they press X eg. if (kb.Buttons & PSP_CTRL_CROSS) { kbinput = 1Zitat:
Zitat von Judas
}
Also i am having trouble bilting multiple images could some one help.
Thanks,
Gavin/ITDemo
Hello, I've done some research, but I can't find any functions for getting the psp's current volume, and setting the volume. I mean in general, not for the mp3 lib or anything like that, just the psp's actual volume. Thank you in advance, if you can answer.
The function you want is sceImposeGetParam(PSP_IMP OSE_MAIN_VOLUME), which returns the value set.
It's a kernel function.
Well, i have asked this question previously,bun unluckily it didn't work at all :(
Problem is, new and delete aren't supported by pspsdk.. or what?
Well, when i write anything it can use classes, templates and other c++ features... that is, except those two operators.
main.cpp:(.text+0xf4): undefined reference to `operator new(unsigned int)'
Checked it on ->
dev-cpp 4.9.9.2 with pspdevwin32.
visual c++ 2005 with cygwin & pspsdk
and now, on my new lappy
NetBeans with pspdevwin32.
So, what can i do to fix it? I really need to use them operators :/
You can check out the tutorial in my sig on images. It's pretty straightforward.Zitat:
Zitat von itdemo
This one compiles WITHOUT any errors or warnings but
this, Which is EXACTLY the same [theoretically].Code:WAV* moveplace;
WAV* introsound;
WAV* click;
Causes:Code:WAV* moveplace,introsound,click;
I thought in C we could doCode:main.c:92: error: incompatible types in assignment
main.c:116: error: incompatible type for argument 1 of 'WAV_Play'
main.c:135: error: incompatible type for argument 1 of 'WAV_Unload'
main.c:140: warning: assignment makes pointer from integer without a cast
main.c:145: error: incompatible types in assignment
main.c: In function 'ShowGeometrigList':
main.c:265: error: incompatible type for argument 1 of 'WAV_Play'
main.c:270: error: incompatible type for argument 1 of 'WAV_Play'
main.c:317: warning: implicit declaration of function 'DoGeomtrig'
main.c: In function 'ShowPhysicsList':
main.c:365: error: incompatible type for argument 1 of 'WAV_Play'
main.c:370: error: incompatible type for argument 1 of 'WAV_Play'
main.c: In function 'cCalculator':
main.c:2012: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2021: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2062: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2073: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2108: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2120: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2125: error: incompatible type for argument 1 of 'WAV_Play'
main.c: At top level:
main.c: In function 'MainMenu':
main.c:2476: error: incompatible type for argument 1 of 'WAV_Play'
main.c:2490: error: incompatible type for argument 1 of 'WAV_Play'
make: *** [main.o] Error 1
which is the same asCode:variabletype x,y,z;
:confused: Would anyone mind demystifing this absurddly bizarre behaviour of the compiler?Code:variabletype x;
variabletype y;
variabletype z;
is not the same asCode:WAV* moveplace;
WAV* introsound;
WAV* click;
what is the same is:Code:WAV* moveplace,introsound,click;
that should workCode:WAV *moveplace, *introsound, *click;
note that the arrays do not carry over to each variable only to the one specified which was the first hence why:
is the same asCode:int x;
int y;
iny z;
which would work as it has no arraysCode:int x,y,z;
That makes it clear :tup:Zitat:
Zitat von slicer4ever
Check your makefile.Zitat:
Zitat von Netaro
I believe you need the -lstdc++ flag added to your libraries line