Search found 1145 matches

by jimparis
Fri Dec 09, 2005 4:05 am
Forum: PSP Development
Topic: SDL_ttf & pspgl
Replies: 3
Views: 2913

Re: Yes!

fowl416 wrote:I could not agree with you more.
This was fixed in r1514. Give details if you're still having problems.
http://svn.ps2dev.org/log.php?repname=p ... %2FSDL_ttf
by jimparis
Tue Dec 06, 2005 7:12 am
Forum: PSP Development
Topic: Toolchain installation error
Replies: 2
Views: 1514

Looks like the toolchain script didn't install the headers in /usr/local/pspdev/psp/sdk/include properly. Make sure you're running it with permission to write to /usr/local/pspdev.
by jimparis
Sun Nov 27, 2005 5:19 am
Forum: PSP Development
Topic: clock() doesn't work anymore
Replies: 7
Views: 3436

The fix in 1489 is definitely right for clock, but I think time and gettimeofday should keep __psp_set_errno. You could check the return value of time(123) and gettimeofday(123, 456) to see. I can't test it at the moment.
by jimparis
Sun Nov 27, 2005 4:54 am
Forum: PSP Development
Topic: clock() doesn't work anymore
Replies: 7
Views: 3436

__psp_set_errno should probably be removed from clock() and maybe time() in newlib-psp/newlib/libc/sys/psp/libcglue.c.
by jimparis
Wed Nov 09, 2005 12:28 am
Forum: PSP Development
Topic: WLAN Support in PSPSDK
Replies: 16
Views: 10678

danzel wrote:0x74: Connection Timed out
0x6f: Connection Refused
Those are ETIMEDOUT and ECONNREFUSED in sys/errno.h.
by jimparis
Fri Nov 04, 2005 11:19 am
Forum: PSP Development
Topic: Problem "relocation truncated to fit",please help,
Replies: 4
Views: 1458

Try adding -G0 to your own program too.
by jimparis
Tue Nov 01, 2005 4:59 am
Forum: PSP Development
Topic: Error when running Toolchain.sh
Replies: 2
Views: 1504

Sounds to me like your newlib patches are very outdated. Get the psptoolchain dir from subversion (svn://svn.pspdev.org/psp/trunk/psptoolchain) and use that.
by jimparis
Sat Oct 29, 2005 6:39 am
Forum: PSP Development
Topic: Service mode by power supply pins?
Replies: 68
Views: 71090

I checked; there's no activity on this line at all when the battery is not present.
by jimparis
Sat Oct 29, 2005 3:55 am
Forum: PSP Development
Topic: Service mode by power supply pins?
Replies: 68
Views: 71090

Why do you think it is a bidirectional protocol? Because there's at least some communication initiated by the PSP, and it's used to get status information from the battery. I could build a better circuit and figure out which data comes from where, but unless we think this is more than just battery ...
by jimparis
Fri Oct 28, 2005 3:38 pm
Forum: PSP Development
Topic: 2D accelerated Sample ?
Replies: 14
Views: 4388

I propose an environment variable be used to preserve aspect ratio I propose we make it even more flexible: SDL_VIDEO_WINDOW_POS=x1,y1,x2,y2. For example fullscreen is 0,0,479,271, 4:3 aspect ratio would be around 59,0,421,271, and an unscaled 320x240 is 80,16,400,256. Could specify a fullscreen ro...
by jimparis
Fri Oct 28, 2005 1:23 pm
Forum: PSP Development
Topic: Service mode by power supply pins?
Replies: 68
Views: 71090

The IPL is only accesible by the sceNand driver, so it's relatively protected from a casual bricking. They do reflash it from 1.x -> 2.x, so it could still get messed up for entirely innocent behavior, although that's unlikely since the IPL is so small. ... which *only* initializes flash, DDR, GPIO...
by jimparis
Fri Oct 28, 2005 7:49 am
Forum: PSP Development
Topic: SDL Graphics Tearing Problem
Replies: 16
Views: 4242

This isn't quite true - some do and some don't. For example, the SVGA driver definately does wait for a vblank, and the DirectX5 driver will depending on the video driver settings. The SDL docs say that SDL_Flip() should set up a flip but return immediately, so having the flip wait for vblank would...
by jimparis
Fri Oct 28, 2005 2:31 am
Forum: PSP Development
Topic: Service mode by power supply pins?
Replies: 68
Views: 71090

I wonder if the IPL would even be involved with flash recovery, seeing as how the IPL is in flash too.
by jimparis
Fri Oct 28, 2005 2:23 am
Forum: PSP Development
Topic: 2D accelerated Sample ?
Replies: 14
Views: 4388

There's some stuff in the existing code that could be cleaned up a bit. For example GuUpdateRects should only update the rects it's passed, not the entire screen, and there's a bug I'd like to track down where the scaled screen is sometimes shifted right a few pixels, and sometimes doesn't show up a...
by jimparis
Fri Oct 28, 2005 12:55 am
Forum: PSP Development
Topic: Wifi GDB Stub
Replies: 20
Views: 5273

dankydoo wrote:I see that SIO is the most unintrusive, what exactly do we need for a USB implementation?
We'd need to figure out how to write a USB driver on the PSP, or turn on the USB storage driver and use files on the memory stick to communicate with the PC.
by jimparis
Thu Oct 27, 2005 9:20 am
Forum: PSP Development
Topic: SDL_image
Replies: 4
Views: 2357

It's the same linker that Linux uses, but you generally don't see this problem when linking against shared libraries. When doing static linking as on the PSP, the linker goes in order and only includes objects found in each library if it needs them to solve an earlier dependency. You can repeat libr...
by jimparis
Wed Oct 26, 2005 10:43 pm
Forum: PSP Development
Topic: Service mode by power supply pins?
Replies: 68
Views: 71090

nem: When does IPL run? When power is applied or when the power switch is pressed?
by jimparis
Tue Oct 25, 2005 8:01 pm
Forum: PSP Development
Topic: errno & libc
Replies: 4
Views: 3114

OK, I've cleaned up the errno handling in r1223. It should be more or less correct now, except that the actual errno values still need to get fixed up.
by jimparis
Tue Oct 25, 2005 7:17 pm
Forum: PSP Development
Topic: Wifi GDB Stub
Replies: 20
Views: 5273

From http://forums.ps2dev.org/viewtopic.php?t=3435:
The most important thing to note is your module must start in kernel mode, but you app should only be in user mode
It looks to me like you're running your main thread in kernel mode, and the sign-extension on the pc is just a side-effect of that.
by jimparis
Tue Oct 25, 2005 6:18 am
Forum: PSP Development
Topic: wrong CLOCKS_PER_SEC?
Replies: 9
Views: 3300

It was broken back in r1096 when the newlib patch as regenerated. It should be fixed (for good) in r1218.
by jimparis
Mon Oct 24, 2005 2:16 am
Forum: PSP Development
Topic: SDL setup question
Replies: 24
Views: 10092

Just follow README.PSP and it will get installed into /usr/local/pspdev/psp/lib. Make sure you're running bash to avoid the problems above.
by jimparis
Sun Oct 23, 2005 11:06 am
Forum: PSP Development
Topic: SDL setup question
Replies: 24
Views: 10092

Well of course the best place to start is the first error: LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser -lpsputility" ./configure --host psp --prefix=`psp-config --psp-prefix` configure: error: expected an absolute directory name for --prefix: psp-config ...
by jimparis
Sat Oct 22, 2005 7:21 am
Forum: PSP Development
Topic: Recompiling DGEN
Replies: 5
Views: 2113

Yeah, you'll need to also rebuild newlib. Use the latest toolchain from oopo's site (currently psptoolchain-20051021.tgz) or get it from svn.
by jimparis
Sat Oct 22, 2005 5:58 am
Forum: PSP Development
Topic: [solved] Help installing toolchain !
Replies: 5
Views: 1820

Both psptoolchain-20050906.tgz and psptoolchain-20051011.tgz are out of date; get it from Subversion instead:

Code: Select all

svn co svn://svn.pspdev.org/psp/trunk/psptoolchain
cd psptoolchain
./toolchain.sh
by jimparis
Thu Oct 20, 2005 7:10 pm
Forum: PSP Development
Topic: libc opendir freezes PSP
Replies: 7
Views: 4805

OK, rev 1172 has these changes (move dirent inside DIR, zero dirent before calling sceIoDread). Don't free the dirent returned by readdir() anymore. Let me know if it gives you any trouble.
by jimparis
Thu Oct 20, 2005 3:52 pm
Forum: PSP Development
Topic: doxygen-docs
Replies: 15
Views: 6132

The toolchain script now copies the built docs to /usr/local/pspdev/psp/sdk/doc, so if you have doxygen installed when you build the toolchain, you should be able to point your browser to [url]file:///usr/local/pspdev/psp/sdk/doc/html/index.html[/url] when it's done.
by jimparis
Thu Oct 20, 2005 6:55 am
Forum: PSP Development
Topic: possible bug in newlib chdir?
Replies: 2
Views: 978

Seems to work just fine here, can you provide an example?
by jimparis
Wed Oct 19, 2005 8:16 pm
Forum: PSP Development
Topic: SDL setup question
Replies: 24
Views: 10092

Sure, paste that (and config.log) on rafb.net/paste
by jimparis
Wed Oct 19, 2005 7:29 pm
Forum: PSP Development
Topic: SDL setup question
Replies: 24
Views: 10092

No idea, it works here. Maybe try removing and reinstalling everything from a clean slate (http://wiki.ps2dev.org/psp:programming_faq)
by jimparis
Wed Oct 19, 2005 7:17 pm
Forum: PSP Development
Topic: PSPLINK
Replies: 313
Views: 273715

I finally got around to testing this. Nice work! I only had some minor issues for which I've committed fixes: accept ascii 127 as backspace pass argp in load_start_module, otherwise the first exec wouldn't get any argv[0] passed. Only tested it on some simple small programs so far, but I'll start us...