Search found 26 matches

by AllSystemGo
Mon Oct 22, 2007 10:51 pm
Forum: PSP Development
Topic: Cursor? Work this code?
Replies: 24
Views: 6290

You cannot make a infinit loop like that

Code: Select all

while(1)
you should use something like

Code: Select all

while(running)
I'm trying to get you the thread that is talking ab out that but I just can't find one . I'll post the link a bit later.
by AllSystemGo
Fri Sep 21, 2007 11:39 pm
Forum: PSP Development
Topic: Compile JumpGunnerJump
Replies: 9
Views: 3304

You probably have to create an account to be able to download something.
by AllSystemGo
Mon Sep 17, 2007 10:20 pm
Forum: PSP Development
Topic: font displaying suggestions?
Replies: 6
Views: 2581

I guess he figured out his problem...
by AllSystemGo
Mon Sep 10, 2007 10:13 pm
Forum: PSP Development
Topic: Need to understand PSPLink
Replies: 3
Views: 2272

Wow this is the best explaination ever!!!

Thank you very much for your help I realy appreciate it

BTW: Does it matter if I am using the Firmware M33-2. If it does what should I do exactly??
by AllSystemGo
Mon Sep 10, 2007 11:05 am
Forum: PSP Development
Topic: Problems with sdl and c++
Replies: 12
Views: 4266

Here is my Makefile TARGET = Test OBJS = main.o $(PSP_OBJS) INCDIR = CFLAGS = -G4 -Wall -O3 -I/usr/local/pspdev/psp/include/SDL CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS) PSPSDK=$(shell psp-config --pspsdk-path) ...
by AllSystemGo
Mon Sep 10, 2007 10:49 am
Forum: PSP Development
Topic: Problems with sdl and c++
Replies: 12
Views: 4266

Did you add the SDL in your Makefile??

I'm new to this psp deving too, I'm just trying to help.

BTW I'm using the SDL in my project!!
by AllSystemGo
Mon Sep 10, 2007 10:24 am
Forum: PSP Development
Topic: Problems with sdl and c++
Replies: 12
Views: 4266

Are you sure you installed the SDL???
by AllSystemGo
Mon Sep 10, 2007 10:19 am
Forum: PSP Development
Topic: Need to understand PSPLink
Replies: 3
Views: 2272

Need to understand PSPLink

Hi, I just finished installing PSPLink on Ubuntu and I would like to understand how to analyse the messages it sends me. 1- I get this once I start pspsh host0:/> Exception - Bus error (data) Thread ID - 0x04600843 Th Name - user_main Module ID - 0x04625335 Mod Name - "i...
by AllSystemGo
Thu Sep 06, 2007 3:43 am
Forum: PSP Development
Topic: usb_init?
Replies: 4
Views: 2830

Happy I could finally help someone!!

:)

Cheers
by AllSystemGo
Wed Sep 05, 2007 11:47 am
Forum: PSP Development
Topic: usb_init?
Replies: 4
Views: 2830

Try this:

apt-get install libusb-dev

Hope it helps.
by AllSystemGo
Wed Aug 29, 2007 1:58 am
Forum: PSP Development
Topic: Memory leak
Replies: 7
Views: 3456

Still the same problem. I'll repost my main.cpp and the class main.cpp /* iPDA June 18 2007 */ #include <pspkernel.h> #include <pspdebug.h> #include <pspctrl.h> #include <pspdisplay.h> #include <psppower.h> #include <psprtc.h> #include <png.h> #include <SDL/SDL.h> #include <SDL/SDL_image.h> #include...
by AllSystemGo
Tue Aug 28, 2007 1:19 pm
Forum: PSP Development
Topic: Memory leak
Replies: 7
Views: 3456

Thank you for the replies. I will check into the TTF_Init missing, and for Danzel the FreeSurface wasn't there before and it still crashed, I'll remove that and try with the TTF_Init

Thank you again.
by AllSystemGo
Tue Aug 28, 2007 5:41 am
Forum: PSP Development
Topic: Memory leak
Replies: 7
Views: 3456

I do understand what you are saying J.F. but the thing is if I remove the Button butSettings(xxxxx); and the butSettings.Render(ecran);

Everything loads perfectly. That is my concern, why when I declare a second button the PSP stays black for 15 seconds then shutdown...

Thxs
by AllSystemGo
Mon Aug 27, 2007 11:51 pm
Forum: PSP Development
Topic: Memory leak
Replies: 7
Views: 3456

Memory leak

Hi everyone, I curently have a problem with memory leak I think. I created a new class that draws all the icons on screen, and for some reason as soon as I create a second icon the PSP goes into a loop the shutdown. If I only create one it paints on the screen perfectly. I'll post what I think is th...
by AllSystemGo
Mon Aug 27, 2007 6:50 am
Forum: PSP Development
Topic: trouble to launch code
Replies: 3
Views: 2853

Can you post some of your code??? BTW are you loading picture, image or sounds?? Maybe they are not in the correct folder!!

Please post some code I'll try to help you!

Cheers
by AllSystemGo
Thu Aug 23, 2007 4:51 am
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Just to keep you posted on my problem J.F. I figured out a way to bypass the sceKernlDelayThread by adding a condition like so while&#40;isrunning&#41; &#123; sceRtcGetCurrentTick&#40;&CurTick&#41;; if &#40;sceRtcCompareTick&#40;&CurTick, &CmpTick&#41; >= ...
by AllSystemGo
Thu Aug 23, 2007 3:14 am
Forum: PSP Development
Topic: SDL Library question
Replies: 1
Views: 1540

SDL Library question

Can anyone tell me if there is some SDL event that we can trap. I'll explain what I would like to do exactly. In my main loop I would like to be able to trap the events like when the joystick is moving so this way I would only paint the "mouse" pointer when they actually move the mouse. I ...
by AllSystemGo
Mon Aug 13, 2007 11:29 am
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Thank you for your advice J.F. I would like to point out one little small problem. Now with the reduce speed the mouse, that is used as a pointer device to select stuff, is really slow on the screen and doesn't run smoothly... Is there anything to do with that? BTW It seems to have solved the proble...
by AllSystemGo
Fri Aug 10, 2007 6:13 am
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Thank you JF I'll post more of my code then. #include <pspkernel.h> #include <pspdebug.h> #include <pspctrl.h> #include <pspdisplay.h> #include <psppower.h> #include <psprtc.h> #include <SDL/SDL.h> #include <SDL/SDL_image.h> #include <SDL/SDL_ttf.h> #include <stdlib.h> #include <stdio.h> #include <t...
by AllSystemGo
Fri Aug 10, 2007 2:43 am
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Nope I'm not using psplink. Can you tell me exactly what it does???
by AllSystemGo
Fri Aug 10, 2007 1:43 am
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Thank you for your answer Mihawk. But I would like to know the "correct" and polite way to post over here, cause it seems every forums has his own way or rulke about that, and from now on I would like to be able to post the correct way here. And I'm sorry if I bumped that early, but I am s...
by AllSystemGo
Thu Aug 09, 2007 11:30 pm
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

abracadabra.. Please!
by AllSystemGo
Thu Aug 09, 2007 10:13 pm
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Anyone??
by AllSystemGo
Thu Aug 09, 2007 10:36 am
Forum: PSP Development
Topic: Trouble with libmad
Replies: 15
Views: 8384

Trouble with libmad

Ok here is what I would like to accomplish and what I did right now to try to get there. All I want to do is play a MP3 at a specified time, like and alarm, then stop and continue what I was doing. void AlarmManager&#58;&#58;PlaySound&#40;&#41; &#123; pspAudioInit&#40;&#4...
by AllSystemGo
Thu Aug 09, 2007 1:23 am
Forum: PSP Development
Topic: sceRtcGetTick
Replies: 0
Views: 1293

sceRtcGetTick

Can anyone help me out on how to make the sceRtcGetTick return something other then 0 Here is my code void AlarmManager&#58;&#58;Save&#40;&#41; &#123; ofstream writefile; list<Alarm*> alarms; u64 *CurTick = NULL; pspTime CurTime; list<Alarm*>&#58;&#58;iterator iter; write...
by AllSystemGo
Sat Jun 02, 2007 1:18 am
Forum: PSP Development
Topic: Need help with toolchain
Replies: 1
Views: 1582

Need help with toolchain

I'm trying to start the ./toolchain.sh but I think that there is a problem in my user name cause right now it's in 2 words ex: JF H...

So when he's trying to access it it goes /home/JF and gives me a folder not found...

How can I fix this so it takes JF H not cut at the space.

Cheers