Search found 1469 matches

by mrbrown
Mon Nov 14, 2005 8:23 am
Forum: PSP Development
Topic: sdl standby problem
Replies: 2
Views: 1452

When you suspend the PSP, the kernel closes all open file handles. It does not reopen them. Chances are your program was reading from a closed file which caused an exception somewhere else in your program. A solution to this problem is to install your own power callback that can handle suspend event...
by mrbrown
Sun Nov 13, 2005 2:23 am
Forum: PSP Development
Topic: Math.h !!!
Replies: 6
Views: 1812

You can also update to GCC 4.0.2 (PSPDEV 20051022) which is the latest version of the toolchain.
by mrbrown
Fri Nov 11, 2005 6:49 am
Forum: PSP Development
Topic: downloads?
Replies: 1
Views: 1183

This is off-topic.
by mrbrown
Fri Nov 11, 2005 2:29 am
Forum: PSP Development
Topic: Questions about the PSP 3d System & issues with sceGumRo
Replies: 17
Views: 4249

1. GUM is to GU as GLU is to GL.
2. Yes.
3. Why aren't you using pspgl? It supports the fragment you posted.
by mrbrown
Thu Nov 10, 2005 5:44 pm
Forum: PSP Development
Topic: aalib broke svn
Replies: 1
Views: 1437

It's not the repository that's broken but instead the way your OS treats filenames.

I've renamed to Font.c to _Font.c.
by mrbrown
Thu Nov 10, 2005 7:00 am
Forum: PSP Development
Topic: winsup question
Replies: 5
Views: 1800

Can you post the output of toolchain.sh?
by mrbrown
Thu Nov 10, 2005 3:13 am
Forum: PSP Development
Topic: winsup question
Replies: 5
Views: 1800

Are you using toolchain.sh? What OS are you using?
by mrbrown
Wed Nov 09, 2005 5:20 pm
Forum: PS2 Development
Topic: fopen issue
Replies: 7
Views: 3757

That's not a very good idea, as the IOP already handles all file I/O. Why would you duplicate code? The fileXio and iomanX drivers were specifically written to handle transparent access to all registered devices, whether they were the old-style or newer (HDD), so there's no reason to add yet another...
by mrbrown
Wed Nov 09, 2005 10:25 am
Forum: PSP Development
Topic: Browser Spec.
Replies: 1
Views: 991

This is OT.
by mrbrown
Wed Nov 09, 2005 4:30 am
Forum: PSP Development
Topic: libtool.m4 and ltmain.sh have a version mismatch!
Replies: 5
Views: 3469

If everything works then I'd guess it's ok to bypass that check. BTW, I added libogg and libvorbis so that I could get OGG support for SDL_mixer going. I then hacked SDL_mixer to be able to link with libTremor (the fastest OGG decoder on PSP). libogg and libvorbis are horribly slow on PSP. If you wa...
by mrbrown
Tue Nov 08, 2005 6:43 am
Forum: PSP Development
Topic: Makefile Help
Replies: 4
Views: 2111

The ELF file isn't stripped. So you can either strip it or just use "make kxploit" to create directories that can be used on 1.5.
by mrbrown
Tue Nov 08, 2005 6:02 am
Forum: PS2 Development
Topic: PS2 1xK BB Unit Club
Replies: 4
Views: 3167

10k machines were only released in Japan. There was never any 10k (or 15k) based hardware released outside of Japan. The 10k isn't well supported simply because nobody has one (except adresd). Anyway, TyRaNiD got PCMCIA working (he tested on a 15k machine IIRC) so ps2link should work if you have the...
by mrbrown
Tue Nov 08, 2005 2:36 am
Forum: PSP Development
Topic: sceUtilitySavedata patch
Replies: 1
Views: 1200

Thanks for the patch! I'll apply it a bit later today.
by mrbrown
Tue Nov 08, 2005 2:20 am
Forum: PSP Development
Topic: Glich in libTremor autorun.sh
Replies: 3
Views: 1972

Reverted to the original behavior, which is to pass --version.

Mac users can do "ln -s glibtool libtool".
by mrbrown
Mon Nov 07, 2005 8:18 pm
Forum: PSP Development
Topic: Linker error problems with pspgl
Replies: 10
Views: 3641

Wait .. pspgl should be installed in /psp/lib (and /psp/include), not /psp/sdk/lib. Only PSPSDK goes into /psp/sdk/lib.

I've checked in a change that installs it into the correct directory.
by mrbrown
Mon Nov 07, 2005 2:03 am
Forum: PSP Development
Topic: Wrighting to flash0 | Source
Replies: 16
Views: 7407

If you are writing/stealing code like this, then you definitely should not be messing with your firmware.
by mrbrown
Sun Nov 06, 2005 9:11 am
Forum: PSP Development
Topic: Strange semaphore behaviour
Replies: 9
Views: 2785

Ah... I see what you mean. Sorry, no ideas here that wouldn't require digging into the kernel :).
by mrbrown
Sun Nov 06, 2005 8:46 am
Forum: PSP Development
Topic: Strange semaphore behaviour
Replies: 9
Views: 2785

My guess would be that only threads in the same class (user, VSH, or USB/WLAN) can manipulate other threads in that class. If that's not the case then it's possible that VSH threads take precedence over user threads.
by mrbrown
Sat Nov 05, 2005 2:37 am
Forum: PSP Development
Topic: pthread support?
Replies: 3
Views: 1770

ooPo wrote:Any code you have to contribute would be greatly welcomed, however. Fire off a message to Oobles to get commit access to the svn repository.
After you demonstrate that you know how to write working code... :)
by mrbrown
Sat Nov 05, 2005 2:32 am
Forum: PSP Development
Topic: Has anyone tried building the GBA source?
Replies: 8
Views: 2844

Archive? I was referring to the VBA source in SVN. If this is some other package then why don't you ask the author how to build it?
by mrbrown
Fri Nov 04, 2005 8:35 pm
Forum: PSP Development
Topic: Has anyone tried building the GBA source?
Replies: 8
Views: 2844

Uh... doing:

Code: Select all

LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=`psp-config --psp-prefix`
worked just fine for me, and that's straight from SDL's README.PSP (minus -lpsputility which is no longer needed). Did you run autogen.sh first?
by mrbrown
Fri Nov 04, 2005 6:23 pm
Forum: PSP Development
Topic: Has anyone tried building the GBA source?
Replies: 8
Views: 2844

I haven't added a README.PSP to VisualBoyAdvance yet, but the configure params will be the same as those of any other SDL-based app (see SDL's README.PSP).
by mrbrown
Thu Nov 03, 2005 9:33 am
Forum: PSP Development
Topic: "undefined reference to _sprintf_r" in latest tool
Replies: 1
Views: 932

Looks like tmpnam() is violating newlib conventions and calling _sprintf_r() (instead of sprintf()) directly. I'm currently out of town, when I get back Friday I can fix it if no one else gets to it by then.
by mrbrown
Thu Nov 03, 2005 9:29 am
Forum: PSP Development
Topic: How to write homebrew for v2.0 firmware
Replies: 23
Views: 28741

Duo wrote:An option in the compiler that checks for 2.0 compatibility, giving line numbers of incompatible code would be cool.
That will never happen. Anyway, the compatiblity requirements listed by Fanjita should be more than enough.
by mrbrown
Thu Nov 03, 2005 9:27 am
Forum: PSP Development
Topic: Load PNG !?
Replies: 1
Views: 1158

Please search the forums, someone asks how to load a PNG at least once a week. Locked for redundancy.
by mrbrown
Thu Nov 03, 2005 9:26 am
Forum: PSP Development
Topic: How do you load BOOT/EBOOT.BINs
Replies: 9
Views: 3687

Sorry, we don't have any topics that have to do with loading files on the UMD. Locked.
by mrbrown
Thu Nov 03, 2005 9:24 am
Forum: PSP Lua Player Development
Topic: Virtual QWERTY keyboard for LUA
Replies: 11
Views: 8307

Moved to the proper forum.
by mrbrown
Thu Nov 03, 2005 9:17 am
Forum: PSP Development
Topic: ODEPsp (Alternate Version)
Replies: 11
Views: 8859

ector wrote:And that's why there's a flag you can pass D3D to not change the FP control word.
That flag is useless when using middleware that doesn't allow you to pass it... :P

Sorry for going OT.
by mrbrown
Mon Oct 31, 2005 1:25 am
Forum: PSP Development
Topic: Undefined reference to `sceUtilityGetSystemParamInt'
Replies: 2
Views: 1258

Update newlib (toolchain.sh -n).
by mrbrown
Mon Oct 31, 2005 1:23 am
Forum: PSP Development
Topic: ODEPsp (Alternate Version)
Replies: 11
Views: 8859

Direct3D breaks a great many libraries that aren't expecting it to change the FPU control word :P.