Search found 9 matches

by leenoi
Wed Feb 21, 2007 12:22 pm
Forum: PSP Development
Topic: how to determine analog stick value for 8 direction?
Replies: 6
Views: 3387

dot_blank: thanks for the extra points :) leenoi: the result in aStickR is a value from 0 to 15 (16 different values) depending on the direction you pull the stick in. if it's -1, it means that it's not pulled in any direction (relatively) depending on the threshold value (4500). if you change the ...
by leenoi
Tue Feb 20, 2007 11:18 pm
Forum: PSP Development
Topic: how to determine analog stick value for 8 direction?
Replies: 6
Views: 3387

thank you very much I will try it.

but Saotome how you check for other direction. (16 direction)
by leenoi
Tue Feb 20, 2007 1:57 pm
Forum: PSP Development
Topic: how to determine analog stick value for 8 direction?
Replies: 6
Views: 3387

how to determine analog stick value for 8 direction?

I want to determine analog stick value to determine 8 direction. (S,SE,E,EN,N,NW,W,WS ) This is my code I edit from SDK 's example. Thank you very much int main(void) { SceCtrlData pad; pspDebugScreenInit(); SetupCallbacks(); sceCtrlSetSamplin...
by leenoi
Wed Jan 31, 2007 11:12 pm
Forum: PSP Development
Topic: Please help. I can't use Ram more then 12MB
Replies: 3
Views: 1762

Please use code tags in the future to encapsulate source. Regarding your problem, take a look at the png loader and how it changes the image width and height to the next power of two. So trying to load a 3200x1200 image will end up allocating memory for 4096x2048 pixels ~ 33MB. Too much for the PSP...
by leenoi
Wed Jan 31, 2007 8:11 pm
Forum: PSP Development
Topic: Please help. I can't use Ram more then 12MB
Replies: 3
Views: 1762

Please help. I can't use Ram more then 12MB

I check my ram before I load png picture it have free space 22.29MB so I try to load PNG pic (dimansion 3200 x 1200) 3200*1200*4 = 15.34MB it crash. when I load it. but when I change to anothor pic (3200 x 640) 3200*640*4= 8.19MB it work. you can take a look my load function was call from main() //*...
by leenoi
Tue Nov 15, 2005 7:41 pm
Forum: PSP Development
Topic: Any plans for futur PSPSDK "packages" ?
Replies: 17
Views: 12197

still waiting for new SDK 1.0.
by leenoi
Sun Jul 10, 2005 1:10 am
Forum: PSP Development
Topic: Bloodshed Dev-C++ as a PSP homebrew IDE
Replies: 17
Views: 7568

So , If I want to compile Nem 's HelloPsp which I download form this forums. Can you teach and guide me how to compile step by step , it will be good if you start from the beginning Thank you very much. I'm sory if I boring you. but I wishful I can use this SDK. and sory again if my English very poor.
by leenoi
Sat Jul 09, 2005 10:48 pm
Forum: PSP Development
Topic: Bloodshed Dev-C++ as a PSP homebrew IDE
Replies: 17
Views: 7568

do you have the path to the PSPSDK in your PATH? Hi Agoln ,Thank you very much about you answer, I'm very new about Open source , It 's my firs time to compile some staff like this , mostly in the pass I use VisualBasic and VisualC++(Directx). as you know I don't need to config anything , now I don...
by leenoi
Fri Jul 08, 2005 4:55 pm
Forum: PSP Development
Topic: Bloodshed Dev-C++ as a PSP homebrew IDE
Replies: 17
Views: 7568

anyone know why after I compile I got this message???? Compiler: PSP Executing make... make.exe -f "..\..\cygwin\usr\PSPDev\psp\sdk\lib\build.mak" all psp-gcc -I. -I/include -L. -L/lib -lpspdebug -lpsplibc -lpspkernel -o .elf /usr/PSPDev/bin/../lib/gcc/psp/4.0.0/../../../../psp/bin/ld: can...