Search found 376 matches

by Insert_witty_name
Thu Oct 01, 2009 7:24 am
Forum: PSP Development
Topic: Strange pspgu behaviour
Replies: 9
Views: 3035

For the cache problem, see the first paragraph here: http://wiki.ps2dev.org/psp:ge_faq

sceGuGetMemory() should work fine. I would address this issue instead of allocating vertex memory and clearing the cache.
by Insert_witty_name
Sun Jul 19, 2009 2:15 am
Forum: PSP Development
Topic: libpspvram error
Replies: 2
Views: 1318

The GU expects a relative pointer, not an absolute pointer. You can get the relative pointer using vrelptr(). ie. void *fbp = (void *)valloc(FRAMEBUFFER_SIZE); sceGuDispBuffer(SCREEN_WIDTH, SCREEN_HEIGHT, vrelptr(fbp), PSP_LINE_SIZE);
by Insert_witty_name
Wed Jul 15, 2009 6:54 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 15040

Everything that is kernel level can be handled in an external kernel level PRX.

You can then load this kernel PRX from your regular user-mode PRX and have access to the function 'wrappers'.

I think this method still works, there were a few bits of sample code about too...
by Insert_witty_name
Wed Jul 15, 2009 1:45 am
Forum: PSP Development
Topic: [Project]Joyau: Programming in Ruby for PSP
Replies: 37
Views: 15040

Your code is littered with calls to kernel level functions. All the USB code you have is kernel level. Think I spotted a few in Kernel.cpp too. As a general rule, any functions in a *_kernel.h or *_driver.h file are kernel level. I'll take a small look at it later after work if I get 10 minutes. [ED...
by Insert_witty_name
Tue Jul 14, 2009 9:45 pm
Forum: PSP Lua Player Development
Topic: Dynamic arrays in LUA ?
Replies: 4
Views: 3581

Tables.
by Insert_witty_name
Tue Jul 07, 2009 1:12 pm
Forum: PSP Development
Topic: Weird screen behavior
Replies: 38
Views: 15221

Check you're not overflowing the display list.

Check the alignment of everything you're passing to the GU (ensure you're vertex structs are 16 byte aligned by using __attribute__((aligned(16))))
by Insert_witty_name
Mon Jul 06, 2009 11:04 pm
Forum: PSP Development
Topic: better vram manager
Replies: 4
Views: 1748

There's libpspvram on the svn.
by Insert_witty_name
Wed Jun 24, 2009 8:54 am
Forum: Patch Submissions
Topic: [psp] [updated] libasfparser to decode asf frame
Replies: 7
Views: 5413

Confirmed working, thanks.
by Insert_witty_name
Wed Jun 24, 2009 4:16 am
Forum: Patch Submissions
Topic: [psp] [updated] libasfparser to decode asf frame
Replies: 7
Views: 5413

Something's broke: Making clean in base make[2]: Nothing to be done for `clean'. Making clean in audio test -z "libpspaudio.a libpspaudio_driver.a libpspaudiolib.a libpspaudiocodec.a" || rm -f libpspaudio.a libpspaudio_driver.a libpspaudiolib.a libpspaudiocodec.a rm -f *.o Making clean in ...
by Insert_witty_name
Mon Jun 15, 2009 9:47 pm
Forum: PSP Development
Topic: psp-addr2line question / help
Replies: 5
Views: 1948

What's the makefile look like?

Specifically the -G* flag.
by Insert_witty_name
Sat Apr 11, 2009 3:13 am
Forum: PSP Development
Topic: expected specifier-qualifier-list
Replies: 2
Views: 1658

You need to include the pthread header (also assuming you have the PSP pthread port installed too).
by Insert_witty_name
Sun Apr 05, 2009 10:25 pm
Forum: PSP Development
Topic: Web browser sample source?
Replies: 5
Views: 2643

It's in the SDK samples...
by Insert_witty_name
Sat Apr 04, 2009 9:53 pm
Forum: PSP Development
Topic: PRX & Networking Libraries... Help needed.
Replies: 4
Views: 2162

Use sceUtilityLoadModule() from psputility_modules.h to load the modules you need in user mode.
by Insert_witty_name
Sat Feb 21, 2009 11:16 pm
Forum: PSP Development
Topic: module self stop unload
Replies: 4
Views: 1989

Use 0x1000 in your PSP_MODULE_INFO instead of 0x1006 or 0x1007.
by Insert_witty_name
Fri Jan 09, 2009 9:58 am
Forum: PSP Development
Topic: sceMp3InitResource() returns 0x8002013A
Replies: 12
Views: 4326

Run the code that comes in the sample under the 3.71 M33 kernel or later.

If that still doesn't work then there's something you're not telling us.
by Insert_witty_name
Sat Dec 27, 2008 10:18 am
Forum: PSP Development
Topic: Strange problems with built-in osk
Replies: 8
Views: 3193

We need the rest of the code you use to draw.

My original statement still stands.
by Insert_witty_name
Thu Dec 25, 2008 5:55 am
Forum: PSP Development
Topic: Strange problems with built-in osk
Replies: 8
Views: 3193

You're either using un-aligned memory which should be aligned, or you're trashing your display list somehow.

Show some code.
by Insert_witty_name
Sun Dec 21, 2008 10:26 pm
Forum: PSP Development
Topic: Freetype compilation rpoblem
Replies: 13
Views: 4999

jojojoris is correct, anything which uses libtool fails to build since we updated the gcc version.
by Insert_witty_name
Fri Dec 12, 2008 9:30 am
Forum: PSP Development
Topic: Need fast font library
Replies: 26
Views: 7468

You could look at pgeFont, which uses TrueType fonts and is fast http://www.psp-programming.com/forums/i ... 458.0.html

intraFont is base on the code of pgeFont.

I'm unsure why you're getting such a slowdown with intraFont, unless you're doing something fundamentally wrong.
by Insert_witty_name
Fri Dec 05, 2008 4:21 am
Forum: PSP Development
Topic: Lninux ubuntu 8.10 and PSPToolChain (Isntalled can't run :/)
Replies: 14
Views: 5279

I don't know what changed, but freetype fails for me too and should fail for anyone who tries to install it.
by Insert_witty_name
Thu Dec 04, 2008 5:22 am
Forum: PSP Development
Topic: Lninux ubuntu 8.10 and PSPToolChain (Isntalled can't run :/)
Replies: 14
Views: 5279

Read the readme-ubuntu.txt file that comes with the toolchain.
by Insert_witty_name
Sun Nov 30, 2008 10:00 am
Forum: PSP Development
Topic: need help with some guTranslate problem
Replies: 3
Views: 1630

Something like this may help: sceGumMatrixMode(GU_MODEL); sceGumLoadMatrix(model->initialTransform); sceGumPushMatrix(); sceGumTranslate(model->position); // draw mesh sceGumDrawArray( GU_TRIANGLES,     model->mesh->vtype | GU_T...
by Insert_witty_name
Wed Nov 26, 2008 7:21 am
Forum: PSP Development
Topic: compiling latest toolchain on osx, iconv problem at stage 2
Replies: 6
Views: 3002

The script doesn't install libgmp and libmpfr. So, no. Also, installing them into /usr/local is generally a better idea. got it. gmp needs to be compiled with "ABI=32", else it will not match mpfr et al. Ahh yes, on Leopard that is true. I forgot that step. If you don't, it compiles it as...
by Insert_witty_name
Tue Nov 25, 2008 5:38 am
Forum: PSP Development
Topic: compiling latest toolchain on osx, iconv problem at stage 2
Replies: 6
Views: 3002

When I installed libgmp and libmpfr on Leopard I had to run configure passing the path to install to, instead of the default /opt/local.

Code: Select all

./configure --prefix=/usr
I think that was it.
by Insert_witty_name
Mon Nov 24, 2008 1:38 am
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 14304

It's in Sakya's lightMP3 source code IIRC.
by Insert_witty_name
Sun Nov 16, 2008 9:10 am
Forum: PSP Development
Topic: psptoolchain installer buffer overflow
Replies: 4
Views: 2105

Re: psptoolchain installer buffer overflow

Archaemic wrote: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)
Mac's come with there own version of readline. What you need to do is install readline from http://tiswww.case.edu/php/chet/readline/rltop.html and it will work fine.
by Insert_witty_name
Fri Nov 14, 2008 1:04 am
Forum: PSP Development
Topic: Adhoc questiion
Replies: 9
Views: 3624

I think those functions are from PSPPet's original adhoc sample code, which is almost 3 years old. You would be better to update your SDK, I've added lots of adhoc goodies over the past months. The code from PSPPet's sample uses PDP (similar to UDP) and it is possible to send in both directions. If ...
by Insert_witty_name
Thu Nov 13, 2008 11:57 pm
Forum: PSP Development
Topic: Need help in toolchain
Replies: 10
Views: 4232

I re-committed the patch for libcglue and performed a full install of the toolchain from scratch to test (revision 2446).

Worked fine for me.
by Insert_witty_name
Thu Nov 13, 2008 11:55 pm
Forum: PSP Development
Topic: Adhoc questiion
Replies: 9
Views: 3624

That depends on what protocol you're using.

Are you using PDP, PTP or GameMode?
by Insert_witty_name
Wed Nov 12, 2008 2:20 pm
Forum: PSP Development
Topic: Need help in toolchain
Replies: 10
Views: 4232

I've reverted back libcglue.c to how it was before the recent patch.

Should work fine now.