Search found 26 matches

by matkeupon
Wed Feb 21, 2007 6:26 pm
Forum: PSP Development
Topic: Problem with latest toolchain
Replies: 4
Views: 2705

Problem with latest toolchain

Hi, I'm having problems using the latest toolchain from the svn. I just installed cygwin, and I never had problems using the toolchain before. Now it says it has some weird syntax errors... : command not founde 4: : command not founde 8: : command not founde 11: : command not founde 15: : command no...
by matkeupon
Thu Nov 03, 2005 11:03 pm
Forum: PSP Development
Topic: Linear data copy to VRAM
Replies: 4
Views: 2183

I also had a performance problem with memcpy and the VRAM (it seems, copying the content of the whole screen with it is longer than 1/60s...). There is an alignment requirement in the use of sceGuCopyImage() if I remember correctly. But using the Dmac functions would be better in your case. http://f...
by matkeupon
Wed Oct 19, 2005 6:13 pm
Forum: PSP Development
Topic: Media Engine?
Replies: 165
Views: 163694

Just one dumb question (which should be yes as you talked about the stack) - is it possible to call functions from this c code ? Is it possible to share a function between the CPU and the ME ?
by matkeupon
Fri Oct 14, 2005 7:32 pm
Forum: PSP Development
Topic: wifi and user mode
Replies: 4
Views: 3271

Well now that I've set up the exception handler, I can see that my main thread works fine, in user mode. Now I have problems loading the libs, I've got to figure out why nhlloaddrivers fails (exception - bus error). Thanks for your help, I won't try to load the libs from the constructor any more. Bu...
by matkeupon
Wed Oct 12, 2005 6:43 am
Forum: PSP Development
Topic: wifi and user mode
Replies: 4
Views: 3271

wifi and user mode

Hi all, I'm trying to add some multiplayer to my game, so I need the wlan modules in my game. My problem is, my game runs in user mode only. When I set the kernel flag, PSP_MAIN_THREAD_ATTR(0); Instead of PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); then...
by matkeupon
Tue Oct 11, 2005 8:06 pm
Forum: PSP Development
Topic: PSP Crashes When Accessing File
Replies: 2
Views: 1412

char *TestFile; This is a pointer to an array of char, but where is the actual array ?? In your example, it is not declared, so when you're writing into this array you're writing at a random place... Replace it with this: char TestFile[11] That way, the compiler makes some room for ...
by matkeupon
Mon Oct 10, 2005 9:57 pm
Forum: PSP Development
Topic: PSP Wifi code
Replies: 11
Views: 4322

I've had a play around with that wifi code. It's pretty easy to add it into your own code. Well, it's easy if your code runs in kernel mode. I'm trying to add wifi multiplayer on my game, but it won't support running in kernel mode (the game loads ok, but hangs on the splash screen). I tried to set...
by matkeupon
Wed Oct 05, 2005 5:50 am
Forum: PSP Development
Topic: Problems with mikmodlib and latest svn
Replies: 4
Views: 1732

Problems with mikmodlib and latest svn

Well, maybe not the latest, but since I reinstalled cygwin and the toolchain today, mikmodlib compiles and installs fine, but the example won't link (and my game too), an error related to libmmio.a... The error says: psp/lib/libc.a(pspcwd.o): In function '__psp_init_cwd': newlib/libc/sys/psp/pspcwd....
by matkeupon
Mon Sep 26, 2005 5:43 pm
Forum: PSP Development
Topic: trick about kernel mode
Replies: 6
Views: 6755

Thanks, I've been having problems for 2 weeks with that... I'm trying to add wifi to my game, and couldn't figure out why my game was freezing when the main thread was set to kernel mode.

I'll try your suggestions and tell if there are other things blocking.
by matkeupon
Mon Sep 05, 2005 5:00 am
Forum: PSP Development
Topic: ld error when trying to include mikmodlib
Replies: 2
Views: 1193

Well, made it run anyways. I had to change a few globals to static, and it compiled and ran just fine in my game :)

If anyone has the same problem, feel free to pm me.
by matkeupon
Mon Sep 05, 2005 2:21 am
Forum: PSP Development
Topic: ld error when trying to include mikmodlib
Replies: 2
Views: 1193

ld error when trying to include mikmodlib

Hi, I'm trying to add music to my game, and I'm having trouble including mikmodlib to my project. I compiled the lib with no problem, and compiled the example included. But when I add and use the lib in my project, ld returns this error: load_uni.c:22: relocation truncated to fit&...
by matkeupon
Sun Sep 04, 2005 4:20 am
Forum: PSP Development
Topic: Home control question (closing app functionality).
Replies: 1
Views: 1197

Well, you can catch it the first time with no problem (PSP_CTRL_HOME). But I don't know how to catch the 2nd event (when the user chooses to really quit the game or cancels). So I don't know when the user returns to the program. You could just close the file when the home button is first pressed, an...
by matkeupon
Thu Aug 25, 2005 5:43 pm
Forum: PSP Development
Topic: -Os should be used instead of -O2 (or -O3)
Replies: 9
Views: 3160

Personally I compiled the latest version of SmashGpsp with -Os. There is, in my case, absolutely no visible difference between the 2 settings regarding speed. And I gain 8 KB (210 KB with -Os, 218 with -O2).

As there is a very little size difference also, I'd say the 2 settings are quite similar.
by matkeupon
Wed Aug 10, 2005 8:44 am
Forum: PSP Development
Topic: Image Flickering using double buffer(very annoying).
Replies: 9
Views: 3395

You should try using the Gu then. Look at the blend example, you'll find how to blit simple planes with textures. Screen flip will get a lot easier then.
by matkeupon
Tue Aug 09, 2005 10:14 pm
Forum: PSP Development
Topic: Problems with sceKernelStartThread
Replies: 2
Views: 1494

This looks like the sdk's libpspaudio... So I guess you should just include it, it works fine, and without glitches. I also tried to adapt this initialisation for my game (using mono samples, and only one hardware channel), it won't hang, but it looks like the thread is not triggered when it should,...
by matkeupon
Mon Aug 08, 2005 10:27 pm
Forum: PSP Development
Topic: Image Flickering using double buffer(very annoying).
Replies: 9
Views: 3395

Hi, About your flickering problem, I believe it is the place where you put the sceDisplayWaitVblankStart(); that is wrong... But I also have a problem with it. On any other system, you would wait for vblank, and then just after, flip the buffers. But if your loop doesn't take enough time to complete...
by matkeupon
Tue Aug 02, 2005 6:48 am
Forum: PSP Development
Topic: found how to use color function (filtering)
Replies: 8
Views: 3757

Don't bother, I figured it out...

sceGuAlphaFunc(GU_GREATER, 0x80, 0xff);

does it fine :)
by matkeupon
Mon Aug 01, 2005 5:56 am
Forum: PSP Development
Topic: found how to use color function (filtering)
Replies: 8
Views: 3757

Can someone help me with the functions and mask values ?? I'm trying to blit stuff with a transparent color. I use 5551 textures, and only using the rgba test and bilinear filtering, then my transparent color is displayed on edges (I guess because of the filtering, turning it off just works fine). S...
by matkeupon
Sat Jul 30, 2005 6:00 am
Forum: PSP Development
Topic: Audio init problem
Replies: 0
Views: 1015

Audio init problem

Hi, As I use only mono samples, I'd like to init the sound output myself (not using the pspaudiolib). But I have a problem as there are always clicks in the sounds, as if there was some time between each buffer played... I need some help. void updatesound(unsigned short *buf, unsigned int re...
by matkeupon
Thu Jul 28, 2005 8:22 am
Forum: PSP Development
Topic: SmashGpsp 0.1
Replies: 1
Views: 1815

SmashGpsp 0.1

Hi there ! Just a little place to leave some feedback, for my SmashGp port on the PSP :) You can go grab it on my webpage: http://membres.lycos.fr/matkeupon/ You can grab a lot of characters also, here: http://www.gp32x.de/cgi-bin/cfiles.cgi?0,0,0,0,41 Thanks in advance for any comment, or bug repor...
by matkeupon
Wed Jul 06, 2005 12:16 am
Forum: PSP Development
Topic: The Rules Of The PSP Forums
Replies: 54
Views: 23407

Totally agreed.
by matkeupon
Tue Jul 05, 2005 11:52 pm
Forum: PSP Development
Topic: The Rules Of The PSP Forums
Replies: 54
Views: 23407

Well, I never asked anyone actually. But, well, I'm not in jail !!!! The important thing is to not make any profit, and also to not degrade the characters by any way. So even if Nintendo attacks me, they won't get much money from me. So I'm not worried. Anyways, the way you answer to posts is really...
by matkeupon
Tue Jul 05, 2005 10:41 pm
Forum: PSP Development
Topic: The Rules Of The PSP Forums
Replies: 54
Views: 23407

Well, rinco, sometimes you should get some informations instead of flaming people for nothing. If you read my post, you would have seen that I didn't attack nor piss on anyone. Check some gp32 forums and you'll see I know how to program, and be patient until the end of the month and you'll be able t...
by matkeupon
Tue Jul 05, 2005 7:15 pm
Forum: PSP Development
Topic: The Rules Of The PSP Forums
Replies: 54
Views: 23407

Hi all !! I'll try to expose my opinion here, as I don't agree with everything about the policy of ps2dev (about umd rips and "piracy"). 1st of all I have to say I understand why people here are so "jumpy" about piracy, as the phenomena is never good. But there is one thing that ...
by matkeupon
Sat Jul 02, 2005 11:30 pm
Forum: PSP Development
Topic: Having trouble with basic stuff
Replies: 3
Views: 2174

Thanks, TyRaNiD, I guess I didn't search the forum enough before posting as this can be found on the page 2...

Another question, as I am really lost I don't even know where to find the pspsdk updates nor the cvs...

Thanks again
by matkeupon
Sat Jul 02, 2005 11:05 pm
Forum: PSP Development
Topic: Having trouble with basic stuff
Replies: 3
Views: 2174

Having trouble with basic stuff

Hi all, I'm starting dev on the PSP, and I'm having some trouble figuring basic stuff out. Looks like I'm not doing some stuff correctly. As a test I tried to have a small 16x16 bitmap blitted on screen, moving from left to right. My problem is that, even when using double buffering, the bitmap flic...