Search found 38 matches

by Archaemic
Thu Apr 30, 2009 3:42 am
Forum: PSP Development
Topic: List of what NIDs do?
Replies: 2
Views: 1347

Well, it's 0x38B2FD87 in both 3.95 and 4.05, so it's not different in every firmware (I would assume that NIDs were changed at some point between these two).

But yeah, this is a good point.
by Archaemic
Wed Apr 29, 2009 6:36 pm
Forum: PSP Development
Topic: Who are the authors of the PSPSDK ?
Replies: 3
Views: 2006

They didn't. A lot of these copyrights are from code that is reused from projects that predate the PSPSDK.
by Archaemic
Wed Apr 29, 2009 3:03 pm
Forum: PSP Development
Topic: List of what NIDs do?
Replies: 2
Views: 1347

List of what NIDs do?

Is there a list somewhere of which NIDs are known to do what? I don't mean SilverSpring's list of NIDs that just says what module they're in and, if known, their actual name. I mean an actual list descriptions (no matter how simple), because it seems like a lot more is known than I can find. The clo...
by Archaemic
Sun Nov 16, 2008 7:25 pm
Forum: PSP Development
Topic: psptoolchain installer buffer overflow
Replies: 4
Views: 2684

I got pspsh working too, it seems. It appears I was linking against Apple's readline still, despite using GNU's header, hence why it wasn't defined. A quick -L/opt/local/lib flag fixed it :) No more VM necessary, I guess.
by Archaemic
Sun Nov 16, 2008 9:48 am
Forum: PSP Development
Topic: psptoolchain installer buffer overflow
Replies: 4
Views: 2684

I installed that a while ago, and three functions still don't seem to be defined.
by Archaemic
Sun Nov 16, 2008 7:33 am
Forum: PSP Development
Topic: psptoolchain installer buffer overflow
Replies: 4
Views: 2684

psptoolchain installer buffer overflow

Because pspsh won´t compile on a Mac due to it using some readline methods that seem to only exist on Linux or something (I forget), I tried to install the psptoolchain on Linux in a VM. While building gcc-stage1, it buffer overflowed in the middle, so I can´t continue. Anyone have any insight as to...
by Archaemic
Tue Oct 28, 2008 7:54 am
Forum: PSP Development
Topic: Mac OS X toolchain script patches for Leopard and Tiger
Replies: 10
Views: 11645

Augh, I just spent a few hours fixing it myself (most of that was finding WHERE ac_cv_exeext got set)! Oddly, I only had to patch two lines, one in binutils/configure and ld/configure, and all of the toolchain built fine, except for psplinkusb. Freetype isn't compiling, either, but I think this is t...
by Archaemic
Wed Apr 09, 2008 11:16 am
Forum: PSP Development
Topic: SDL switched to usermode
Replies: 20
Views: 5922

Going to venture a guess here and say #pspdev on Freenode. At least, that's the PSP channel I go to. And I see IWN there. So I'd say it's a fairly good guess :P
by Archaemic
Wed Apr 09, 2008 7:50 am
Forum: PSP Development
Topic: SDL switched to usermode
Replies: 20
Views: 5922

Ahhh, okay, I admit that I did forget about that stuff. I looked through the patch, but I didn't see anything about the heap size...(I just looked again, and it is there...must've overlooked it the first time) Although, when I set the heap size to max, I had a problem. That is, SDL_Init couldn't cre...
by Archaemic
Wed Apr 09, 2008 5:56 am
Forum: PSP Development
Topic: SDL switched to usermode
Replies: 20
Views: 5922

Glad to see someone finally did something about this . Sorry, just being a little cynical here :P Speaking of things I've done that never got committed, did my patch to pbp-unpack , or similar, ever get committed? I mean, so far, the only PBP that fails is the 3.93 PBP, and only because it's oddly p...
by Archaemic
Thu Apr 03, 2008 10:04 am
Forum: PSP Development
Topic: SDL Home key input
Replies: 4
Views: 1783

I'd imagine it'd only register if your application is in kernel mode. Is it?
by Archaemic
Wed Apr 02, 2008 8:34 am
Forum: PSP Development
Topic: How can I load an EBOOT as a module from flash?
Replies: 4
Views: 2017

Read the DATA.PSP into a buffer and then use sceKernelLoadModuleBuffer.

I'd imagine. Haven't actually tried it.
by Archaemic
Mon Mar 31, 2008 1:47 pm
Forum: PSP Development
Topic: Cygwin\Toolchain problem
Replies: 6
Views: 3213

ERROR: Install autoconf before continuing.
Follow this advice.

Also, holy crap, make your avatar smaller.
by Archaemic
Wed Mar 26, 2008 11:14 am
Forum: PSP Development
Topic: Helping to improve the prx docs.
Replies: 5
Views: 3333

Sorry for bumping an old topic, but does anyone have a mirror for this? The download appears to have gone down.
by Archaemic
Fri Mar 21, 2008 2:09 pm
Forum: PSP Development
Topic: SDL on Slim?
Replies: 4
Views: 2048

SDL_FLAGS = $(shell $(PSPBIN)/sdl-config --cflags) CFLAGS += $(shell echo $(SDL_FLAGS) | sed -re s/-Dmain=\\S+//) #Remove main redefinition SDL_LIBS = $(shell $(PSPBIN)/sdl-config --libs) LIBS += $&#...
by Archaemic
Thu Mar 20, 2008 2:43 pm
Forum: PSP Development
Topic: Strange problem with japanese filenames and user mode app!
Replies: 3
Views: 1652

Ahh, I see, all the characters are read in depending on the current codepage that the system settings are set to.

Is there any way to circumvent this or have it use a certain codepage for the duration of the program?
by Archaemic
Thu Mar 20, 2008 4:17 am
Forum: PSP Development
Topic: Patch to unpack-pbp
Replies: 4
Views: 1979

No, that's for unarchiving the 3.93 PSAR, not for unpacking the 3.93 PBP into its constituents. Wholly different.
by Archaemic
Thu Mar 20, 2008 4:16 am
Forum: PSP Development
Topic: Strange problem with japanese filenames and user mode app!
Replies: 3
Views: 1652

I've been encountering the same problem, but was unaware that a kernel mode module could read properly...

Anyway, all non-ascii characters get read as -2.
by Archaemic
Wed Mar 19, 2008 9:43 am
Forum: PSP Development
Topic: Patch to unpack-pbp
Replies: 4
Views: 1979

...wow, how did I not notice that (and how did I write that in the first place)? Thank you. I must be dead today. Stupid midterms wreaking havoc on my brain!

E] Oh, wait, still dead. Let me see if it's not broken...it was working before, oddly.

E2] Yeah, it works.
by Archaemic
Wed Mar 19, 2008 6:06 am
Forum: PSP Development
Topic: Patch to unpack-pbp
Replies: 4
Views: 1979

Patch to unpack-pbp

With the release of the second version of 3.93 (that I've found--the PSAR is slightly bigger than the version that was up earlier), the beginning of the PBP was padded such that the offset listed for the beginning (the PARAM.SFO) wasn't directly after the header. This was not being read properly by ...
by Archaemic
Sun Mar 02, 2008 9:39 am
Forum: PSP Development
Topic: SDL HWSURFACE freeing patch
Replies: 2
Views: 2121

SDL HWSURFACE freeing patch

While trying to do some fancy stuff using the GU in conjunction with SDL, I noticed that it was impossible to SDL_FreeSurface a hardware surface. After doing some research, I noticed that SDL will only call PSP_FreeHWSurface if surface->hwdata is non-zero. It will also call free on surface->pixels i...
by Archaemic
Mon Jan 07, 2008 10:09 am
Forum: PSP Development
Topic: error 80020148
Replies: 10
Views: 4701

Psst: he said error 80020148, not 80020321.

Either way, it's not development related and hence not the topic of this forum.
by Archaemic
Mon Nov 19, 2007 1:40 pm
Forum: PSP Development
Topic: [Magically Solved] Developing SDL application for CFW 3xx
Replies: 35
Views: 19583

Ahhh, I completely forgot that SDLmain was a separate library. My mistake.
by Archaemic
Mon Nov 19, 2007 12:48 pm
Forum: PSP Development
Topic: SDL patch for optional kernel mode
Replies: 7
Views: 4519

SDL patch for optional kernel mode

As it is, SDL on the PSP is compiled to use kernel mode. So here's a patch to optionally compile it with or without. This is based on a patch by Dark_AleX, just replacing the commented out code with ifdefs. --- src/main/psp/SDL_psp_main.c 2007-11-15 23:57:58.000000000 -0500 +++ src/m...
by Archaemic
Mon Nov 19, 2007 12:39 pm
Forum: PSP Development
Topic: [Magically Solved] Developing SDL application for CFW 3xx
Replies: 35
Views: 19583

I'm really surprised that that would work at all for several reasons. Let's take a look at SDL_psp_main.c: PSP_MODULE_INFO("SDL App", 0x1000, 1, 1); PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU); Oh look, it already defines MODULE_INFO and MAIN_T...
by Archaemic
Mon Oct 08, 2007 1:30 pm
Forum: PSP Development
Topic: danzeff keyboard help
Replies: 4
Views: 2207

Impatient much. None of those system calls will work because they are dependent on an MS-DOS environment. system should never be used unless you really know what you are doing, and even then you probably shouldn't be using it. I don't think you even can use it on the PSP, but I have not tried. I don...
by Archaemic
Tue Jun 05, 2007 9:21 pm
Forum: PSP Development
Topic: SDL + Standby Mode
Replies: 3
Views: 3463

From what I've observed, it's waiting for threads to sleep. In your main loop, check if the PSP is trying to go into standby mode, and put in a sleep or something. I'm not really sure. I've never had a really busy program on the PSP before.
by Archaemic
Sat Jun 02, 2007 6:43 am
Forum: PSP Development
Topic: SDL_gfx's rotozoomer leads to bus (data) exceptions.
Replies: 0
Views: 1587

SDL_gfx's rotozoomer leads to bus (data) exceptions.

Whenever I try to use SDL_gfx's rotozooming functions on the PSP, it crashes. psp-addr2line tells me that it's on line 662, which is this: if (fabs(angle) > VALUE_LIMIT) { VALUE_LIMIT is defined as 0.001. The value of angle in this case SHOULD be 0. I honestl...
by Archaemic
Mon May 28, 2007 1:04 am
Forum: PSP Development
Topic: Strange occurances with PSPLink 2.0 + psp-gdb
Replies: 0
Views: 1577

Strange occurances with PSPLink 2.0 + psp-gdb

263 corners&#91;3&#93;.x = i+255; &#40;gdb&#41; print surf $26 = &#40;SDL_Surface *&#41; 0x8a6b860 &#40;gdb&#41; until 264 for&#40;j = dst->y; j <= dst->y+dst->h; j += 256&#41; &#123; &#40;gdb&#41; print surf $27 = &#40;SDL_Surface *&#41; ...
by Archaemic
Thu May 24, 2007 9:10 pm
Forum: PSP Development
Topic: Mixing SDL and PSPGU OR PSPGL texturing questions
Replies: 4
Views: 3409

That's what I thought too, until I saw this: http://psp.jim.sh/pspsdk-doc/group__GU.html#g744910ac833c3aeed7e04c790833dc3a Or wait, you said render to system memory. The SDL screen is allocated in hardware. I want to render something FROM memory TO vram. Really, I just want to take advantage of the ...