![]() |
|
#1
|
|||
|
|||
![]() Here is my source code with the image: http://rapidshare.com/files/22450998...ydeoN.rar.html Here is the program of psp-programming tutorial http://www.megaupload.com/?d=RVXI0H3C |
|
#2
|
|||
|
|||
|
You also have to put your main program code in an infinite loop, something like this:
Code:
int main(void) {
pspDebugScreenInit();
setupCallbacks();
while(1) {
// Do your stuff here
}
}
return 0;
}
I haven't tested this on your source, but I'm sure it should help you get it going.
__________________
2 Phat PSPs: First went through hell, reassembled scrap parts from 2 bad PSPs. Second is practically new except a repaired battery clip, both running 3.52 M33-4, first clean install, second modded. No, not planning to upgrade either. Last edited by over_clox; 04-22-2009 at 02:26 PM. |
|
#3
|
|||
|
|||
|
cool, i will try it later on...btw, where do you learned to program in PSP ?
|
|
#4
|
|||
|
|||
|
I'm still new to the language myself, and I'm only a few steps ahead of you right now. My knowledge of C/C++ started off from translating some parts of sources from C to QBasic back in the day, plus a little experimental side work with assembly.
The PSP is a little different, that's for sure, but most of it is straight C/C++ on top of a proprietary SDK. Most of the stuff that applies to the Cygwin environment also applies to the new SDK you're now using, so you might want to check out the link I already gave you because you'll learn a lot no matter which environment you use. I'll just skip you ahead past the Cygwin installation lesson this time: http://www.psp-programming.com/tutorials/c/lesson02.htm
__________________
2 Phat PSPs: First went through hell, reassembled scrap parts from 2 bad PSPs. Second is practically new except a repaired battery clip, both running 3.52 M33-4, first clean install, second modded. No, not planning to upgrade either. |
|
#5
|
|||
|
|||
|
ok, thanks a lot
|
|
#6
|
|||
|
|||
|
do you use PSPLink?
|
|
#7
|
||||
|
||||
|
Like I said, it's much easier to begin with OSLib, and then later move on to the PSP's native libraries if you feel competent enough.
__________________
|
|
#8
|
|||
|
|||
|
ok, and OSlib is another library right? I will install it right now. One more thing:im using the MinPSPW, Dev-C++ to only write the code and MS DOS to compile the source. I tried to install psplink, and i already copied the path psplink to psp. But how can i access PSP with MS DOS? is it possible or should i use Eclipse to do it?
|
|
#9
|
||||
|
||||
|
I would advise you learn how to use DOS before you go anywhere then O.O'
__________________
|
|
#10
|
|||
|
|||
|
is there any IDE that simulates the output in PSP? that would be perfect, you wouldnt have to send the eboot all the time to psp. Psp link makes it easier but even so i would prefer that IDE x)
|
![]() |
| Tags |
| c++, display, image, programming, psp |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|