Search found 27 matches
- Sun Oct 29, 2006 2:17 pm
- Forum: PSP Development
- Topic: "Standardized" Standby Support In C Libraries...
- Replies: 1
- Views: 1171
"Standardized" Standby Support In C Libraries...
It seems that a lot of homebrew software does not properly handle resuming from standby mode. It is my understanding that this is caused by the kernel closing all open file handles, and not opening them during the resume operation. I know there is a sample application that shows how to install the s...
- Wed Apr 19, 2006 1:12 pm
- Forum: PSP Development
- Topic: Is malloc/free thread-safe?
- Replies: 11
- Views: 4694
- Sat Mar 25, 2006 3:53 am
- Forum: PSP Development
- Topic: Virtual memory on psp need help !!!!
- Replies: 17
- Views: 10100
- Wed Mar 22, 2006 8:52 pm
- Forum: PSP Development
- Topic: Is malloc/free thread-safe?
- Replies: 11
- Views: 4694
What's funny is that after all of this re-entrant malloc/free was not my main problem... It was a stack overflow. (I guess it is only funny because it is 3:00 am and I have to be to work in a few hours.) Any bright ideas on how to make the SDL thread stack size programmable at run time (or is it bet...
- Wed Mar 22, 2006 7:04 pm
- Forum: PSP Development
- Topic: Is malloc/free thread-safe?
- Replies: 11
- Views: 4694
oops. bug in my code below caused things to hang instantly. not very fun dugging that. A couple general questions regarding fun with newlibc: 1. Do you really have to do clean recompiles of newlib, pspsdk, SDL and the app for each change to newlib? If I didn't do this I typically the fix-imports wou...
- Wed Mar 22, 2006 12:18 pm
- Forum: PSP Development
- Topic: Is malloc/free thread-safe?
- Replies: 11
- Views: 4694
- Wed Mar 22, 2006 10:08 am
- Forum: PSP Development
- Topic: Is malloc/free thread-safe?
- Replies: 11
- Views: 4694
Hi TyRaNiD,
Are you saying it will NEVER be thread safe (even after you finish your to-do list)?
If that is the case then thread support should be removed from the PSP SDL implementation (similiar to OS 9).
http://www.libsdl.org/faq.php?action=li ... egory=6#59
Are you saying it will NEVER be thread safe (even after you finish your to-do list)?
If that is the case then thread support should be removed from the PSP SDL implementation (similiar to OS 9).
http://www.libsdl.org/faq.php?action=li ... egory=6#59
- Wed Mar 22, 2006 5:19 am
- Forum: PSP Development
- Topic: Is malloc/free thread-safe?
- Replies: 11
- Views: 4694
Is malloc/free thread-safe?
I'm having a problem that looks to be caused by a multi-threaded SDL application calling into SDL functions in a re-entrant fasion (which in turn causes calls to malloc and free re-entrantly). (Not sure if "re-entrantly" is a word?) I believe that SDL assumes that malloc/free (and prehaps ...
- Mon Mar 20, 2006 4:57 am
- Forum: PSP Development
- Topic: Ur-Quan Masters 0.5.0 - PSP Port Rev 002 *UPDATED*
- Replies: 1
- Views: 2407
Ur-Quan Masters 0.5.0 - PSP Port Rev 002 *UPDATED*
I've completed an initial port of UQM (i.e. Star Control 2) for the PSP. Thanks to everyone at ps2dev for the great PSP SDK, SDL, etc... Details and download can be found here: http://www.dcemu.co.uk/vbulletin/showthread.php?s=&threadid=20763 -Sharkus *UPDATE* Rev 002 Available. Improves stabili...
- Sun Mar 19, 2006 2:22 pm
- Forum: PSP Development
- Topic: SDL Crash - Need Advice For Debug
- Replies: 3
- Views: 1900
Hmmm. As a last resort I reordered the library linking. It's a bit scary but things are working now... LDFLAGS='-L/usr/local/pspdev/psp/lib -lpspsdk -lSDLmain -lSDL_image -lSDL -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudi...
- Sun Mar 19, 2006 12:51 pm
- Forum: PSP Development
- Topic: MB_CUR_MAX link problem (with psp/include/stdlib.h)
- Replies: 1
- Views: 1412
MB_CUR_MAX link problem (with psp/include/stdlib.h)
I get the following a link error unless I change the following lines in psp/include/stdlib.h:
What is the "proper" way to fix this?
Code: Select all
#if 0 /* this causes link error */
#define MB_CUR_MAX __mb_cur_max
#endif
#define MB_CUR_MAX 1
- Sun Mar 19, 2006 5:08 am
- Forum: PSP Development
- Topic: SDL Crash - Need Advice For Debug
- Replies: 3
- Views: 1900
Thanks dot_blank. I've tried various resolutions including : 640x480, 480x272, 320x240, etc. All crash in the same way. Also, the SDL test apps work fine on the PSP with the 640x480. I've also tried every possible combination of SDL surfaces/bpp/flags (including the ones that work just fine with the...
- Sun Mar 19, 2006 3:49 am
- Forum: PSP Development
- Topic: SDL Crash - Need Advice For Debug
- Replies: 3
- Views: 1900
SDL Crash - Need Advice For Debug
I'm porting a fairly large SDL application to the PSP (UQM). This is my first PSP development effort so I'm a bit green when it comes to debuging crashes. My configuration: cygwin latest toolchain SDK / SDL / SDL_image / libTremor / libjpeg / libpng / zlib from svn (rev 1835) PSPLINK (running elf fi...
- Fri Mar 17, 2006 7:47 pm
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 297452
I ran into a problem where the stat() routine does not quite work properly for files on hostx:/ Basically, the mode member of the stat structure only returns the lower octlet (permissions), with the upper octlet always set as zero, which causes failures if applications use the mode to determine if s...
- Thu Mar 16, 2006 4:13 am
- Forum: PSP Development
- Topic: newest toolchain not working
- Replies: 4
- Views: 2133
- Wed Mar 15, 2006 2:34 pm
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 297452
I tried it on my Linux box (that has a slightly older build of the SDK). Loading .elf files work just fine there... I'll upgrade to the latest SDK (to match my Cygwin configuration) and post my results. **UPDATE** Everything works fine on my Linux box (with the latest build of everything). This is a...
- Wed Mar 15, 2006 12:14 pm
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 297452
Hmmm... Very frustrating. Here's my configuration: WinXP / Cygwin Latest toolchain / sdk (SVN revision 1835) PSPLink v0.9d using usbhostfs / pcterm PSPLink configuration: usbmass=1 usbhost=1 pluser=1 resetonexit=1 sioshell=0 wifi=0 wifishell=0 usbshell=1 usbgdb=1 conshell=0 consinterfere=0 I've trie...
- Wed Mar 15, 2006 8:53 am
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 297452
- Mon Mar 13, 2006 2:39 pm
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 297452
- Mon Mar 13, 2006 11:44 am
- Forum: PSP Development
- Topic: PSPLINK
- Replies: 313
- Views: 297452
- Sat Mar 11, 2006 5:28 am
- Forum: PSP Development
- Topic: How do I use the psptoolchain script?
- Replies: 82
- Views: 55547
Support for building GDB?
Is support for building psp-gdb going to be added to the perl based script? It took me a while to figure out that you needed to use the toolchain.sh script to do this...
- Thu Jun 30, 2005 5:31 pm
- Forum: PSP Development
- Topic: HOWTO: Windows, Cygwin & PSPSDK
- Replies: 3
- Views: 5872
Just to continue the tutorial a bit farther to where the compiled sample application is run on the PSP... (I hope this is not too basic. I think it might be useful for those just getting started...) NOTE: In the examples the PSP USB is connected as drive E: and cygwin is being used for command lines...
- Thu Jun 30, 2005 1:05 am
- Forum: PSP Development
- Topic: SDK Test and PSPE
- Replies: 13
- Views: 7256
- Tue Jun 28, 2005 10:37 am
- Forum: PSP Development
- Topic: Call for "standard" emulation rom/save directory s
- Replies: 9
- Views: 5678
- Tue Jun 28, 2005 3:57 am
- Forum: PSP Development
- Topic: Call for "standard" emulation rom/save directory s
- Replies: 9
- Views: 5678
- Tue Jun 28, 2005 3:19 am
- Forum: PSP Development
- Topic: Call for "standard" emulation rom/save directory s
- Replies: 9
- Views: 5678
Call for "standard" emulation rom/save directory s
With the recent flurry of emulators (with many flavors of each emulator) it would be great to have a standard directory stucture for storing ROMs and SAVEs. Some goals: * Share ROMS between different emulators * Easy emulator upgrades * Easy to understand where different ROMs go * Enable PC software...
- Wed Jun 22, 2005 9:13 am
- Forum: PSP Development
- Topic: WANTED:GCC 4.0 Toolchain for windows (supporting C++, float)
- Replies: 37
- Views: 15190
I tried building under MinGW/Msys. The first thing that dies is due to an include path problem. The problem seems to be common problem with building GCC 4.0 under MinGW and is mentioned here: https://sourceforge.net/forum/message.php?msg_id=3114120 As mentioned in the above post, I copied the config...