Search found 16 matches

by fishdrop
Wed Jan 23, 2008 8:39 pm
Forum: PSP Development
Topic: Does stdout redirection of PSPLINK work normally above 3.30?
Replies: 2
Views: 1627

TyRaNiD wrote:You need to update newlib as > 3.30 does some weird stuff to stdout/stderr which breaks newlibs file descriptor mapper.
I reinstalled lastest toolchain/newlib/pspsdk.
But same problem exists and if use USE_PSPSDK_LIBC = 1, redirection does work.
So, problem seems newlib.

How can I fix it?
by fishdrop
Wed Jan 23, 2008 1:01 pm
Forum: PSP Development
Topic: Does stdout redirection of PSPLINK work normally above 3.30?
Replies: 2
Views: 1627

Does stdout redirection of PSPLINK work normally above 3.30?

Under CF 3.30, Everything is OK.
But above CF 3.30, stdout redirection of PSPLINK does not work.

My environment is following
- PSPSDK : 2007.11.06
- PSPLINK : lastest version in SVN.

Is it nomal?
If not, What is a problem?
by fishdrop
Thu Nov 22, 2007 3:31 pm
Forum: PSP Development
Topic: [Ann] PSP Development Tutorial, modules
Replies: 23
Views: 22214

Re: Is working patching import stub?

fishdrop wrote:I executed examples in your tutorial.
But patching import table method is not work in CF3.03 above.
Is it ture at CF 3.xx?
Sorry, I solved it.
by fishdrop
Wed Nov 21, 2007 6:47 pm
Forum: PSP Development
Topic: [Ann] PSP Development Tutorial, modules
Replies: 23
Views: 22214

Is working patching import stub?

I executed examples in your tutorial.
But patching import table method is not work in CF3.03 above.
Is it ture at CF 3.xx?
by fishdrop
Thu Sep 27, 2007 11:25 am
Forum: PSP Development
Topic: Debug message with psplinkusb
Replies: 2
Views: 1834

PSPJunkie wrote:PSPLink redirects the stdout and stderr so just use printf() to print text to the pspsh screen.
But it may be not work in slim psp.
How can I do?
by fishdrop
Tue Jan 30, 2007 9:13 pm
Forum: PSP Development
Topic: How to use SioKprintf in OE 3.03 Homebrew?
Replies: 2
Views: 1876

Re: How to use SioKprintf in OE 3.03 Homebrew?

Yes, I put sio module to kernel prx and call it.
but following error occurs when execute it.

SCE_KERNEL_ERROR_LIBRARY_NOTFOUND = 0x8002013c

What a problem?
by fishdrop
Tue Jan 30, 2007 6:06 pm
Forum: PSP Development
Topic: How to use SioKprintf in OE 3.03 Homebrew?
Replies: 2
Views: 1876

How to use SioKprintf in OE 3.03 Homebrew?

I want to develop 3.03 OE homebrew.
I can't use SioKprintf in homebrew code for 3.03 OE.
So it is very difficult to debugging.
Is it impossible to use of SioKprintf in 3.03 OE homebrew?
by fishdrop
Tue Jan 02, 2007 11:21 am
Forum: PSP Development
Topic: Anyone knows how to audio sampling rate conversion?
Replies: 6
Views: 5079

The most common sample rates are evenly divisible by 44100 are they not? So for say 22050, you could just let pspaudio play at 44100, and send the same data twice, for 11025, send it four times. Then there's no overhead for those sample rates. Below that, I think is not evenly divisible, but does a...
by fishdrop
Tue Jan 02, 2007 11:19 am
Forum: PSP Development
Topic: Anyone knows how to audio sampling rate conversion?
Replies: 6
Views: 5079

You could use SDL to do the audio conversion and playing. Of course SDL might slow things down a bit, although not too much, but as you're doing a player and not something of which the sound is secondary--like a game for example, I don't think a small overhead in sound output is a problem. Your own...
by fishdrop
Sun Dec 31, 2006 9:44 pm
Forum: PSP Development
Topic: Anyone knows how to audio sampling rate conversion?
Replies: 6
Views: 5079

Anyone knows how to audio sampling rate conversion?

I want to develop mp3 player which plays any sampling rate mp3.
But PSP's audio output is fixed at 44.1khz
So, sampling rate convertsion is needed in runtime.
If possible, I want to know how use firmware system call for performace issues.
Anyone knows this?
by fishdrop
Fri Nov 10, 2006 1:25 pm
Forum: General Discussion
Topic: PRXTool 1.0
Replies: 4
Views: 6217

Good job! But I have a question. In FW 2.71, following message and not working. What is problem and how to solve it? prxtool.exe -x usb271.prx > usb271.xml PRXTool v1.0 : (c) TyRaNiD 2k6 Loading usb271.prx Error: Magic value incorrect (not an ELF?) Error: Couldn't load prx file structures I found a...
by fishdrop
Fri Nov 10, 2006 11:42 am
Forum: General Discussion
Topic: PRXTool 1.0
Replies: 4
Views: 6217

Good job!

But I have a question.
In FW 2.71, following message and not working.
What is problem and how to solve it?

prxtool.exe -x usb271.prx > usb271.xml
PRXTool v1.0 : (c) TyRaNiD 2k6
Loading usb271.prx
Error: Magic value incorrect (not an ELF?)
Error: Couldn't load prx file structures
by fishdrop
Thu Nov 02, 2006 10:15 pm
Forum: PSP Development
Topic: SecKernelLoadExec in PRX with devhook(FW2.xx)?
Replies: 7
Views: 2891

You can't loadexec anything from kernel mode in 2.XX, the function sceKernelLoadExec in LoadExecForKernel doesn't exit anymore, and the function for LoadExecForUser gives the error illegal perm call when called from a vsh or kernel thread. Of course in kernel mode you can patch everything. Looking ...
by fishdrop
Wed Nov 01, 2006 11:21 am
Forum: PSP Development
Topic: SecKernelLoadExec in PRX with devhook(FW2.xx)?
Replies: 7
Views: 2891

Correct me if I'm wrong, but I thought homebrew voor 2xx (using Devhook) was only in user mode. nice to hear that I'm not the only one who tries to load 1.50 homebrew in 2.71 firmware (devhook or not, but expecialy for native 2.71 TA-82 users). I'm stucked at the point to emulate the 1.50 firmware ...
by fishdrop
Wed Nov 01, 2006 11:09 am
Forum: PSP Development
Topic: SecKernelLoadExec in PRX with devhook(FW2.xx)?
Replies: 7
Views: 2891

tnt wrote:Do you have USE_KERNEL_LIBS in your prx makefile ?
I think it's needed to use the kernel version of sceKernelLoadExec ...
Of cource, I use USE_KERNEL_LIBS=1 in makefile.
by fishdrop
Tue Oct 31, 2006 9:09 pm
Forum: PSP Development
Topic: SecKernelLoadExec in PRX with devhook(FW2.xx)?
Replies: 7
Views: 2891

SecKernelLoadExec in PRX with devhook(FW2.xx)?

I want to write prx code execute homebrew(fw1.50) in emulating mode(fw 2.xx). So, my testing code following.... PSP_MODULE_INFO("ExecuteHB", 0x1000, 1, 1); PSP_MAIN_THREAD_ATTR(0); ......... ercd = sceKernelLoadExec(homebrewpath, NULL); ......... But Error ocurs 0x80020149 which is SCE_KER...