Search found 65 matches

by theHobbit
Fri Feb 19, 2010 9:24 am
Forum: PSP Development
Topic: Any one heard of DinoSNES emulator?
Replies: 0
Views: 5114

Any one heard of DinoSNES emulator?

Hi i just found DinoSNES the other day, it seems someone is working on a snes emu with a dynamic recompiler for the PSP :). It seems the project hasn´t been updated since last year. So i thought maybe some talented coders out there may want to help the programmer with it, I will try to contact the a...
by theHobbit
Thu Dec 24, 2009 12:59 am
Forum: PSP Development
Topic: [QUESTION] How to flush instruction cache?
Replies: 4
Views: 10620

Thanks for your answers, i will test those :).
by theHobbit
Wed Dec 23, 2009 11:19 am
Forum: PSP Development
Topic: [QUESTION] How to flush instruction cache?
Replies: 4
Views: 10620

[QUESTION] How to flush instruction cache?

Hi, i am trying to test the psx4all port for Dingoo on the PSP to learn about the mips recompiler it is using. But i found it uses the function cacheflush defined in sys/cachectl.h to flush the instruction cache, and it seems it isn´t available on the pspsdk. I found more about it here cacheflush Is...
by theHobbit
Mon Nov 16, 2009 1:26 pm
Forum: PSP Development
Topic: any ideas on how to get libgcov.a working?
Replies: 3
Views: 2847

Hi, just wondering if you had any luck with getting -fprofile-generate working. Please let me know if i can help with anything.
by theHobbit
Mon Nov 09, 2009 1:23 pm
Forum: PSP Development
Topic: any ideas on how to get libgcov.a working?
Replies: 3
Views: 2847

I posted about this the other day, here in the forums http://forums.ps2dev.org/viewtopic.php?t=12533 but i haven´t got any answer. If you use -fprofile-arcs and -ftest-coverage the code compiles ok, but no gcda files are generated. I tryied to modify the gcda paths in the object files manually but i...
by theHobbit
Thu Oct 22, 2009 11:38 pm
Forum: PSP Development
Topic: [QUESTION] Does -fprofile-generate, -fprofile-use works?
Replies: 0
Views: 1496

[QUESTION] Does -fprofile-generate, -fprofile-use works?

Hi there, i've been programming for the linux port for a chinnese console called Dingoo A320, and there is a nice tool to optimize code by using the -fprofile-generate and -fprofile-use flags in the gcc compiler. Wich can make some nice optimizations to the code, especially for emulators. Found abou...
by theHobbit
Thu Jun 18, 2009 11:32 am
Forum: PSP Development
Topic: Question about GPL licence
Replies: 5
Views: 4373

Now i get it, thanks everyone for your answers.
by theHobbit
Thu Jun 18, 2009 2:46 am
Forum: PSP Development
Topic: Question about GPL licence
Replies: 5
Views: 4373

Question about GPL licence

Hi there, i was reading about open source licences (especially the GPL and LGPL licences) the other day. But there is something a didn't understand quite well, for example if i use the SDL library wich is licenced under LGPL, with no modifications in my app, do i have to release the source code of t...
by theHobbit
Thu Apr 09, 2009 5:35 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Thanks a lot for your help, it's working as expected now. By the way if you use PSP_HEAP_SIZE_KB( 256 or higher ) in the prx, it does create a gmon file (around the same size) but with only the sceKernelRegisterExitCallback function.

Hope someone can figure it out.
by theHobbit
Wed Apr 08, 2009 9:47 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Mmm, i'm getting the same result with the gprof sample, only the sceKernelRegisterExitCallback is being profiled ...
by theHobbit
Wed Apr 08, 2009 4:53 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Yes everything is compiled and linked with -pg. Now just to let you know, I thought gprof was already part of the pspsdk but when i tryied to compile the code there was an error about some undefined reference to _mcount and there was no gprof sample in the pspsdk samples either. So i downloaded this...
by theHobbit
Wed Apr 08, 2009 12:21 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Need help with gprof

Hi, i'm trying to profile some code (from timidity++) but this is all i'm getting with gprof. Flat profile: Each sample counts as 0.001 seconds. % cumulative self self total time seconds seconds calls Ts/call Ts/call name 0.00 0.00 0.00 7755950 0.00 0.00 sceKernelRegisterExitCallback Call gr...
by theHobbit
Thu Mar 26, 2009 10:48 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Well enabling the Instruction Stepping Mode in the Debug view, allows me to step over any function withow breaking the program, even the sceDisplay* or sceGe* ones, but it does show a "No source available for "" " warning with these. Maybe because these functions are part of an e...
by theHobbit
Thu Mar 26, 2009 7:27 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Just to let you know, i have compiled successfully the simple cube demo following your tutorial, wich is really nice hope you can continue working on it, specially the debugging part. When i start debugging the app there is some error with the sceDisplayWaitVblankStart function, it complains about s...
by theHobbit
Thu Mar 26, 2009 6:04 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Thanks, i just installed cdt 5.0.1 and it worked fine.
by theHobbit
Wed Mar 25, 2009 9:12 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 176247

Hi, i´m trying to use minpspw with eclipse, i'm reading the pspeclipse document, but i got stuck in the Makefile Discovery Options -> Discovery Options part because the Discovery profile list is empty so i can't set the Compiler Invocation Command to psp-gcc. I've just installed the c/c++ Developers...
by theHobbit
Sat Nov 29, 2008 12:23 pm
Forum: PSP Development
Topic: [HELP] sceImposeGetParam not working in 5.00
Replies: 0
Views: 941

[HELP] sceImposeGetParam not working in 5.00

Hi there, I was using this code to call sceImposeGetParam: k1 = pspSdkSetK1(0); int ret = sceImposeGetParam(PSP_IMPOSE_MAIN_VOLUME); pspSdkSetK1(k1); this was working ok with firmwares 3.90 and 4.01 but it doesn't work with the 5.00 m33 firmware. Does ...
by theHobbit
Sat Nov 15, 2008 11:07 am
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 23526

Thanks, i will give it a try. Do you know if this works with 48k samplerate?

I've been trying to play a song with 48k with no luck :(
by theHobbit
Thu Oct 09, 2008 10:18 am
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 23526

Does anyone have an idea on how to implement a seek function with this library?
by theHobbit
Fri Sep 05, 2008 1:31 pm
Forum: PSP Development
Topic: Strange problem porting app.
Replies: 0
Views: 1164

Strange problem porting app.

Hi there, i'm trying to port vio2play to the psp. vio2play is a nintendo ds sound format (2sf) player for linux. I've already compiled a library with the vio2sf code and a simple test player. But when i try to run the app in the psp i get an 0x80020148 error, wich means 'Unsupported prx'. This error...
by theHobbit
Fri Jul 25, 2008 3:32 am
Forum: PSP Development
Topic: [QUESTION] What is the max heap size of a user prx?
Replies: 27
Views: 16426

Hi there, thanks all for the answers. I finally managed to fix the problem. As suggested i found that the plugin prxs were using all the memory left in the app, so first i rebuilt psplink with the MEMSIZE=1 patch and the app worked fine with the extra memory in the slim. But since i want to make the...
by theHobbit
Wed Jul 23, 2008 8:35 am
Forum: PSP Development
Topic: [QUESTION] What is the max heap size of a user prx?
Replies: 27
Views: 16426

Hi, thanks for the answers. But i guess i need to be more specific about my problem. I have a main app prx wich loads several modules (plugins) in the user memory partition, and everytime it loads a plugin i check how much memory is left in the main app with sceKernelTotalFreeMemSize but even if i s...
by theHobbit
Wed Jul 23, 2008 3:39 am
Forum: PSP Development
Topic: [QUESTION] What is the max heap size of a user prx?
Replies: 27
Views: 16426

[QUESTION] What is the max heap size of a user prx?

Hi there, just wondering, what is the max heap size of a user mode prx? Cuz i'm trying to set PSP_HEAP_SIZE_KB to 6Mb but i'm getting some errors with malloc and fopen, like i cant open a file larger than 6Kb and cant allocate around 2Mb of memory. Also i checked the free memory with sceKernelTotalF...
by theHobbit
Fri Jul 18, 2008 7:33 am
Forum: PSP Development
Topic: Sample Rate Converter (From 44k to 22k, 11k or 8k)
Replies: 3
Views: 1542

Thanks, in fact i'm using SDL in my app, but i thought the SDL audio converters werent working because the audio was playing like 2x faster.
Have you managed to get the SDL audio converter to work fine?. I´m trying to play audio in 22k using the adplug engine, but i cant get it to sound right.
by theHobbit
Thu Jul 17, 2008 5:43 am
Forum: PSP Development
Topic: Sample Rate Converter (From 44k to 22k, 11k or 8k)
Replies: 3
Views: 1542

Sample Rate Converter (From 44k to 22k, 11k or 8k)

Hi there, could someone point me to a fast and simple code to resample an audio buffer from 44k to 22k, 11k or 8k?, i have searched for a while and found libraries like libresample but i cant get to make it as fast as i would like. I'm not really interested in high quality so i thought it could be d...
by theHobbit
Fri Jul 04, 2008 7:51 am
Forum: PSP Development
Topic: Code for Drop shadow effect?
Replies: 1
Views: 1258

Code for Drop shadow effect?

Hi there, could anyone post the code to make a drop shadow effect of an image or sprite please?

Thanks in advance
by theHobbit
Sat May 24, 2008 11:24 am
Forum: PSP Development
Topic: ME library - a new project for a more elaborate ME library
Replies: 48
Views: 16324

Hi there, is there any release of the library? Cuz i'm really interested in this, it think it could help improve a lot of homebrew out there.
by theHobbit
Fri May 16, 2008 12:50 pm
Forum: PSP Development
Topic: Anyone interested in porting projectM (Milkdrop clone)?
Replies: 0
Views: 1589

Anyone interested in porting projectM (Milkdrop clone)?

Hi there, i have been working on porting projectM ( http://projectm.sourceforge.net/ ) to the PSP, but unfortunately i have to leave the project. So if anyone is interested in continue the project please contact me, and i will send you the code. Currently i have replaced all opengl routines with the...
by theHobbit
Fri May 09, 2008 7:42 am
Forum: PSP Development
Topic: Copy screen to texture?
Replies: 2
Views: 3137

Copy screen to texture?

Hi there, does anyone knows how to copy the screen to a texture. I'm trying with the pspsdk rendertarget sample and sceGuCopyImage, but with no result. Here is the code /* * PSP Software Development Kit - http://www.pspdev.org * ---------------------------------------------------------------...
by theHobbit
Mon Apr 14, 2008 12:08 pm
Forum: PSP Development
Topic: Problem with MODPLUG Code!
Replies: 5
Views: 3106

Thanks, i have solved it doing this:

Code: Select all

UINT nTrack = bswapLE16(ptracks[iPat][iChn*sizeof(USHORT)]);
But well i don't know if it's the best solution :)