Search found 31 matches

by nikocronaldo
Wed Nov 26, 2008 1:10 am
Forum: PSP Development
Topic: My USB plugin doesn't work properly
Replies: 11
Views: 3897

moonlight wrote:Do a test commenting the calls to the display functions, to see if it crashes too or not.
Prx still crashes, any idea?
by nikocronaldo
Tue Nov 25, 2008 5:15 am
Forum: PSP Development
Topic: My USB plugin doesn't work properly
Replies: 11
Views: 3897

The psp stop function should be like this. The original function must be executed between the k1 stuff. This doesn't matter in the GetState one. int USB_Stop(const char* driverName, int size, void *args) { int k1 = pspSdkSetK1(0); sceDisplaySetBrightness(curBrightness, 0); int ret = sceUsbStop(driv...
by nikocronaldo
Tue Nov 25, 2008 4:51 am
Forum: PSP Development
Topic: My USB plugin doesn't work properly
Replies: 11
Views: 3897

moonlight wrote:You are not calling original functions, wo aht you would expect?
Your GetState and Stop functions should call original functions for this to work.
The PSP crashes with the original functions, with the same Mashphealt's code, why moonlight?
by nikocronaldo
Tue Nov 25, 2008 12:29 am
Forum: PSP Development
Topic: My USB plugin doesn't work properly
Replies: 11
Views: 3897

blu_eye4 wrote:what type of error does PSP show?
PSP shows the following error when I connect again to the USB Mode:

Code: Select all

An internal error has ocurred (80243101)
by nikocronaldo
Mon Nov 24, 2008 11:08 pm
Forum: PSP Development
Topic: My USB plugin doesn't work properly
Replies: 11
Views: 3897

My USB plugin doesn't work properly

Why my psp show the Sony error screen when I try this code : #include <pspkernel.h> #include <pspiofilemgr.h> #include <pspsdk.h> #include <stdio.h> #include <string.h> #include <psploadexec_kernel.h> #include <psploadcore.h> #include <pspsysmem.h> #include <pspsysmem_kernel.h> #include <systemctrl....
by nikocronaldo
Tue Jul 08, 2008 7:41 am
Forum: PSP Development
Topic: Simple Player doesn't work
Replies: 7
Views: 2420

Simple Player doesn't work

I made a simple player, it plays MP3 and OGG, but it doesn't work. It gives me this errors: psp-gcc -I. -IC&#58;/pspsdk/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=400 -c -o main.o main.c main.c&#58; In function 'Audio_Play'&#58; main.c&#58;106&#58; warning&#58; compariso...
by nikocronaldo
Sun Jul 06, 2008 8:38 am
Forum: PSP Development
Topic: Translate to several languages? As 4.01 M33 Recovery
Replies: 1
Views: 1126

Translate to several languages? As 4.01 M33 Recovery

I saw the new option.

How could we do to translate a Homebrew that way?
I refer to a file as "es_recovery.txt" with the program translated.

How should be the src?
by nikocronaldo
Fri Jul 04, 2008 8:51 am
Forum: PSP Development
Topic: Load PBP, any idea?
Replies: 1
Views: 989

Load PBP, any idea?

I wanna load a PBP file. I saw some posts but really the src's dind't work.
Any idea?
by nikocronaldo
Mon May 05, 2008 6:15 am
Forum: PSP Development
Topic: Open flash0 in write mode on the Slims, is possible?
Replies: 11
Views: 4489

Use BUILD_PRX = 1 in the makefile. An elf with that param will give error. Here the makefile to work: TARGET = main OBJS = main.o INCDIR = ../include CFLAGS = -O2 -G0 -Wall CXXFLAGS = $&#40;CFLAGS&#41; -fno-exceptions -fno-rtti ASFLAGS = $&#40;CFLAGS&#41; -c LIBDIR = ../lib LDFLAGS ...
by nikocronaldo
Sun May 04, 2008 10:18 am
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

Insert_witty_name wrote:You don't need the driver part of the library.

This update gives you the perfect opportunity to install the SDK as it was meant to be and not use one of those pre-compiled toolchains.
I'll install it...but Cygwin can be late to install xD,thanks you.
by nikocronaldo
Sun May 04, 2008 10:04 am
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

Insert_witty_name wrote:Update your SDK.

Just for you I updated the audio part of the SDK today ;)
I have Win32.

pd:If you don't mind to upload libpspaudio_driver...:)
by nikocronaldo
Sun May 04, 2008 9:11 am
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

If you're using Windows, someone here built a recent toolchain and made an installer for it and a bunch of the libs. You'll find all that here: http://sourceforge.net/project/showfiles.php?group_id=223830 Oh,great! Thanks you,I search it ;). I have other error: psp-gcc -I. -IC&#58;/PSPDev/psp/s...
by nikocronaldo
Sun May 04, 2008 6:50 am
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

Thanks ;) I saw your ogg player,but i don't have libFLAC,libvorbis and libvorbisfile, because I have a Pack of Marce82.
by nikocronaldo
Sun May 04, 2008 5:15 am
Forum: PSP Development
Topic: Open flash0 in write mode on the Slims, is possible?
Replies: 11
Views: 4489

It is possbile,put the src in this Kernel Mode:

Code: Select all

PSP_MODULE_INFO&#40;"APP", 0x800, 1, 0&#41;;
PSP_MAIN_THREAD_ATTR&#40;PSP_THREAD_ATTR_VSH&#41;;
I have it in my application Multi PSP and it works successfully ;)
by nikocronaldo
Sun May 04, 2008 1:59 am
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

Excuse me this post,I solved the error,but it doesn't work in FAT or in SLIM.

I put you a link with all the files that I have used: the main, libraries, makefile : http://d01.megashares.com/?d01=f6292f9
It's rare :( . Very thanks to all ;)
by nikocronaldo
Sat May 03, 2008 11:07 pm
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

I have solved the majority of errors, but now it has given me these: psp-gcc -I. -IC&#58;/PSPDev/psp/sdk/include -O3 -fomit-frame-pointer -ffast-math -fr ename-registers -G0 -Wall -D_PSP_FW_VERSION=371 -L. -LC&#58;/PSPDev/psp/sdk/lib -sp ecs=C&#58;/PSPDev/psp/sdk/lib/prxspecs -Wl,-q,-TC&...
by nikocronaldo
Sat May 03, 2008 8:59 am
Forum: PSP Development
Topic: Error compiling OGG Sample
Replies: 14
Views: 5280

Error compiling OGG Sample

I have done a program based on the LiGht MP3 that simply reproduces OGG, but it gives some mistakes to compile. Here the code of the MAIN is: #include <pspkernel.h> #include <pspctrl.h> #include <psphprm.h> #include <pspdebug.h> #include <pspaudio.h> #include <pspaudiolib.h> #include <psppower.h> #i...
by nikocronaldo
Sun Apr 06, 2008 8:31 pm
Forum: PSP Development
Topic: How to load an .elf?
Replies: 1
Views: 1150

How to load an .elf?

I have seen only a program to load elf, I believe that it was Despertar del Idstorage, for that reason ask what function loads elf. I have proven different ways, but no worked.
by nikocronaldo
Fri Apr 04, 2008 5:07 am
Forum: PSP Development
Topic: Idstorage?¿
Replies: 1
Views: 1073

Idstorage?¿

I tried a lot of things to dump the Idstorage,and it doesn't work.I tried the function to restore the idstorage and it doesn't work too.
Which function dump the idstorage?
Which function restore the idstorage?

I make it in kernel 3.xx
by nikocronaldo
Sun Mar 16, 2008 8:47 am
Forum: PSP Development
Topic: Press two buttons?
Replies: 6
Views: 1962

it doesn't work,or work START,or work CROSS.
thanks you.
by nikocronaldo
Sun Mar 16, 2008 7:06 am
Forum: PSP Development
Topic: Press two buttons?
Replies: 6
Views: 1962

Press two buttons?

if i want press two buttons to make a function,what do I put?
i saw this but it only works a button,i want the two buttons.

Code: Select all

if &#40;&#40;pad.Buttons & PSP_CTRL_START && pad.Buttons & PSP_CTRL_CROSS&#41;&#41;
what do I do?
by nikocronaldo
Thu Mar 13, 2008 8:47 am
Forum: PSP Development
Topic: Load Prx?
Replies: 4
Views: 1558

JumpR wrote:Just use this:

Code: Select all

pspSdkLoadStartModule&#40;"ms0&#58;/whatever.prx", PSP_MEMORY_PARTITION_KERNEL&#41;;
I'll try,thanks you.
by nikocronaldo
Thu Mar 13, 2008 8:23 am
Forum: PSP Development
Topic: Load Prx?
Replies: 4
Views: 1558

int loadStartModule&#40;const char *name, int argc, char **argv&#41; &#123; SceUID modid; int status; char args&#91;128&#93;; int len; modid = sceKernelLoadModule&#40;name, 0, NULL&#41;; if&#40;modid >= 0&#41; &#123; len = build_args&#40;args, name, argc,...
by nikocronaldo
Thu Mar 13, 2008 5:08 am
Forum: PSP Development
Topic: Load Prx?
Replies: 4
Views: 1558

Load Prx?

i want do an application EBOOT to load a prx when i press a determinate button, but don't work(i have the corrects functions to work).

Code: Select all

		if &#40;pad.Buttons & PSP_CTRL_CROSS&#41;
&#123;
loadStartModule&#40;"xxx.prx", 0, NULL&#41;;
		
&#125;
by nikocronaldo
Tue Mar 11, 2008 7:57 pm
Forum: PSP Development
Topic: Dump Flash0
Replies: 11
Views: 4458

Hi all ! Yes !!!!! How write a file in flash0 on slim (In User mode ^^) ? I already use a prx for my fonction but not work ! After I try dump my flash0 but not work too !!!!! Please ! help me!!! I need it soo much !!!!!! Ps: Sorry for my languague ! I am French boy ! I am 14 ! Before reassign the F...
by nikocronaldo
Tue Mar 11, 2008 6:27 pm
Forum: PSP Development
Topic: Dump Flash0
Replies: 11
Views: 4458

Oh, I got it, You'll never guess where I got it from. The SDK samples directory! You know, the file IO example called "Dumper"! But the x-flash is old, like dumper, since they work only in kernel 1.5, for slim it gives errors. I think that only it can one by one copy the archives of the f...
by nikocronaldo
Tue Mar 11, 2008 4:38 am
Forum: PSP Development
Topic: Dump Flash0
Replies: 11
Views: 4458

Yes,i knew,but i want that directly the function does the dump of the flash0.
Thanks you.
by nikocronaldo
Sat Mar 08, 2008 7:47 pm
Forum: PSP Development
Topic: Dump Flash0
Replies: 11
Views: 4458

thanks you,but but it would be of a file, i want that with a function it directly does dump of everything
by nikocronaldo
Sat Mar 08, 2008 6:49 am
Forum: PSP Development
Topic: Dump Flash0
Replies: 11
Views: 4458

Dump Flash0

how i put a function to dump the flash0?

The library of Arkarian(arklib.h) have some error
by nikocronaldo
Sun Feb 24, 2008 8:24 am
Forum: PSP Development
Topic: How is to write in Flash0
Replies: 2
Views: 1267

Other question,how is to dump the NAND?

pd:Excuse me my bad english