Search found 1145 matches

by jimparis
Thu Oct 06, 2005 2:50 am
Forum: PSP Development
Topic: newlib open(...) fix.
Replies: 15
Views: 6472

Convert code to use stat() instead? :) Well, yeah :) But a working fstat would be nice too. if there is no sceIoFstat or, any other function like char * sceIoFname (SceUID fd) the only(?) choice is to use fd->filename map. and this will slow down(?) all the io; lock map, check/add/del io, unlock ma...
by jimparis
Thu Oct 06, 2005 1:33 am
Forum: PSP Development
Topic: newlib open(...) fix.
Replies: 15
Views: 6472

OK, done in rev 1121. The biggest remaining problem with I/O that I see now is that fstat() is pretty much useless, but I'm not sure how to fix that without tracking fd->filename mappings and using sceIoStat (there's no sceIoFstat). Any suggestions?
by jimparis
Thu Oct 06, 2005 12:30 am
Forum: PSP Development
Topic: newlib open(...) fix.
Replies: 15
Views: 6472

There are a bunch of cases like this that Sony doesn't handle in the "expected" way. I think I'll make all of the newlib stubs just normalize pathnames.
by jimparis
Wed Oct 05, 2005 6:25 pm
Forum: PSP Development
Topic: SDL_SemWaitTimeout(...) fix.
Replies: 1
Views: 1560

Applied in rev 1119, thanks.
by jimparis
Wed Oct 05, 2005 3:21 pm
Forum: PSP Development
Topic: Problems with mikmodlib and latest svn
Replies: 4
Views: 1596

What are the least time consuming steps for rebuilding everything? Do I need to run the script which I downloaded last week with '-p' ? Get the latest psptoolchain directory from svn and run "./toolchain.sh -n" shortly before going to bed. Next thing you know, it's morning and it's done. :)
by jimparis
Wed Oct 05, 2005 12:19 pm
Forum: PSP Development
Topic: PSP Flower 1.0
Replies: 37
Views: 20161

memon wrote:Actually the other sample that crashes is the USB sample
Tried that sample, both with and without -O2, didn't get any crashes. Exception handler example works fine too. Still trying to reproduce this problem... :)
by jimparis
Wed Oct 05, 2005 7:34 am
Forum: PSP Development
Topic: Problems with mikmodlib and latest svn
Replies: 4
Views: 1596

Re: Problems with mikmodlib and latest svn

psp/lib/libc.a(pspcwd.o): In function '__psp_init_cwd': newlib/libc/sys/psp/pspcwd.c:28: undefined reference to '__psp_argv_0' newlib/libc/sys/psp/pspcwd.c:28: undefined reference to '__psp_argv_0' This error is because you're using pspsdk from svn but an older version of the newlib patch from some...
by jimparis
Tue Oct 04, 2005 5:38 pm
Forum: PSP Development
Topic: localtime doesn't use the configured timezone
Replies: 8
Views: 3296

Re: localtime doesn't use the configured timezone

This doesn't help, because I'm not living in the EST5 timezone :-) It was a proof of concept :P Thanks for the init code. I just committed changes so that the timezone is initialized on startup. As a side-effect, newlib now requires linking with -lpsputility. This is handled automatically if you us...
by jimparis
Tue Oct 04, 2005 12:29 pm
Forum: PSP Development
Topic: PSP Flower 1.0
Replies: 37
Views: 20161

Re: PSP Flower 1.0

Strange - first piece of homebrew I've tried that hasn't worked - "The game could not be started. (80020130)" I get the same problem reakt gets. dont work for me either :/ This isn't surprising, and is exactly the reason why the psksdk's "make kxploit" target does not (and shoul...
by jimparis
Tue Oct 04, 2005 8:28 am
Forum: PSP Development
Topic: PSP Flower 1.0
Replies: 37
Views: 20161

I had some problems when creating the program, though. Unless I used the O2 compiler flags it did not work. Maybe it is somehow realated. I think I got the same error when I tried to build and run the 'cwd' example without the O2 flag. I just tested the cwd sample with a fresh checkout and build of...
by jimparis
Tue Oct 04, 2005 5:35 am
Forum: PSP Development
Topic: PSP Flower 1.0
Replies: 37
Views: 20161

Love it! gerbera next? ;)
by jimparis
Mon Oct 03, 2005 5:30 am
Forum: PSP Development
Topic: Cross compile guidelines
Replies: 2
Views: 1441

Re: Cross compile guidelines

The PSP is not a Unix system, and the pspsdk is not POSIX compliant. It's close in some places, but you can't expect to just take any code that compiles fine on a POSIX system and have it work. For example: pspsdk uses newlib, which lacks some of glibc's features and headers. libc is not linked by d...
by jimparis
Sun Oct 02, 2005 8:34 pm
Forum: PSP Development
Topic: Unexpected EOF error
Replies: 4
Views: 1524

Those were supposed to be backquotes, not apostrophes.
by jimparis
Sun Oct 02, 2005 12:32 pm
Forum: PSP Development
Topic: localtime doesn't use the configured timezone
Replies: 8
Views: 3296

Re: localtime doesn't use the configured timezone

Shine wrote:The code below demonstrates the problem, if you have confgured a different timezone for your PSP than UTC.
See if something like

Code: Select all

setenv("TZ","EST5EDT");
before localtime helps.
by jimparis
Sun Oct 02, 2005 6:03 am
Forum: PSP Development
Topic: Unexpected EOF error
Replies: 4
Views: 1524

Re: Unexpected EOF error

/bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file make: *** [hello.elf] Error 2 What is the output of the commands psp-config --pspsdk-path `psp...
by jimparis
Fri Sep 30, 2005 12:13 am
Forum: PSP Development
Topic: constant values for time() and clock()
Replies: 1
Views: 1044

Re: constant values for time() and clock()

McZonk wrote:I'm not sure what I'm doing wrong, but I get constant values for clock() and time();
They both work fine for me on 1.5. Here's what I built: http://psp.jim.sh/tmp/clock/
by jimparis
Wed Sep 28, 2005 6:48 am
Forum: PSP Development
Topic: Errors Compiling Samples
Replies: 4
Views: 2573

And the debug/kprintf one was fixed just now.
by jimparis
Tue Sep 27, 2005 3:42 am
Forum: PSP Development
Topic: SDL Graphics Tearing Problem
Replies: 16
Views: 4245

Re: SDL Graphics Tearing Problem

I can only guess this has something to do with the SDL not drawing the image during the Vertical Blank period. I have examined the SDL video source file SDL_pspvideo.c and it appears that it uses sceGuDrawArray to paint images. I do not see any calls to sceDisplayWaitVblankStart as I would expect t...
by jimparis
Sat Aug 06, 2005 2:01 am
Forum: PSP Development
Topic: PSP remote control pinout?
Replies: 78
Views: 92814

rinco wrote:So I opted for a max232, powered by the PC.
Make sure you reduce the max232's logic output voltage with a divider or diode drops. You don't want to put 5V on the PSP.
by jimparis
Sat Aug 06, 2005 1:58 am
Forum: PSP Development
Topic: Headphone remote controller routine
Replies: 3
Views: 1635

Re: Headphone remote controller routine

Deok Whan Choi wrote:Does anyone know the function to read the headphone remote controller button input?
With SDL, they show up as keypresses F10-F15.
by jimparis
Thu Jul 14, 2005 11:08 am
Forum: PSP Development
Topic: Font creation tool
Replies: 34
Views: 12421

Consider sfont instead of reinventing the wheel.
by jimparis
Sun Jul 10, 2005 2:18 am
Forum: PSP Development
Topic: Call for samples
Replies: 31
Views: 20024

Shine wrote:I don't have write access to SVN repository, but see this topic for an IrDA communication between two PSPs, should be added to the samples.
It's in now, thanks.
by jimparis
Thu Jun 30, 2005 4:29 am
Forum: PSP Development
Topic: DEAD CHARGER?? :(
Replies: 4
Views: 2573

Re: DEAD CHARGER?? :(

Because you dropped it in a bucket of molten boron?
by jimparis
Wed Jun 29, 2005 5:16 am
Forum: PSP Development
Topic: Some sceNet / sceHttpInit usage questions
Replies: 63
Views: 61304

PspPet wrote: Very primitive, very lame telnetd-like test app.
Impressive! I can telnet and it displays what I type. Works great here (1.5).
PspPet wrote: if it stops at "00000003", then turn off DHCP
It also stops at 00000003 if you leave the SSID blank. I had to explicitly set my SSID for it to work.
by jimparis
Wed Jun 29, 2005 3:49 am
Forum: PSP Development
Topic: PSPSDK 1.0+Beta Win32 downloads here
Replies: 4
Views: 9517

Agoln wrote:Mirror is down
Looks fine to me.
by jimparis
Wed Jun 29, 2005 2:11 am
Forum: PSP Development
Topic: SDK Test and PSPE
Replies: 13
Views: 6579

by jimparis
Wed Jun 29, 2005 2:08 am
Forum: PSP Development
Topic: PSPSDK 1.0+beta released!
Replies: 59
Views: 54211

TommyBear wrote:Can someone please mirror the win32 installer?
http://psp.jim.sh/setup.exe

Feel free to redirect your URL there, too.
by jimparis
Sat Jun 25, 2005 1:18 pm
Forum: PSP Development
Topic: Creating PMF movie clips
Replies: 13
Views: 14436

glitchbit wrote:This is interesting
That's just the start of an MPEG-2 program stream. As pspvideo9 said, you need to now
pspvideo9 wrote:Multiplex the H.264 video stream into a MPEG-2 Program Stream.
Just appending an mp4 in a container format to a partial MPEG-2 PS won't do any good.
by jimparis
Thu Jun 23, 2005 1:21 pm
Forum: PSP Development
Topic: Format string vulnerability on 1.51 and 1.52
Replies: 19
Views: 13397

Format string vulnerability on 1.51 and 1.52

Split from the psp-dev have released their exploit for ver. 1.5 thread. It appears that the reason the single-card KXploit works on 1.5 is twofold: Treating the filename as a format string causes the HELLO% folder name to be translated to HELLO when being passed to the bootstrap code The 1.50 bootst...