Search found 46 matches

by sturatt
Tue Sep 09, 2008 4:40 pm
Forum: PSP Development
Topic: PSPLink & GDB work fine, how do I figure out what went w
Replies: 3
Views: 1931

Re: PSPLink & GDB work fine, how do I figure out what we

Hi guys, I am doing some game programming on the PSP, and I have run into some problems. I am using GDB to debug the program over PSPLink. What I don't understand, however, is the stuff that GDB throws me: ms0:/psp/game/azalende/> Exception - Bus error (data) Thread ID - 0x0...
by sturatt
Thu Sep 04, 2008 12:02 am
Forum: PSP Development
Topic: PSP Optimasations
Replies: 2
Views: 1514

One I'll mention here is avoid flushing the caches. You'll see code from some folks that flush the dcache every single rendered frame. That DESTROYS your speed. Rather, put all the graphics stuff you're using into uncached space (addr | 0x40000000). This goes for framebuffers too, both onscreen or ...
by sturatt
Wed Aug 27, 2008 11:25 pm
Forum: PSP Development
Topic: psplink debugging/shell problems
Replies: 7
Views: 2842

but since psplink requires a 1.50 firmware
you could use psplinkusb which supports newer kernel stuff


I know that doesnt solve the debugging problem, but you might want to post all of the steps you are going through to start debugging as well.
by sturatt
Mon Aug 25, 2008 11:36 pm
Forum: PSP Development
Topic: help on using gdb and psplink
Replies: 3
Views: 1802

One thing I had to do in order for it to work was turn off compiler optimizations, so -O0, but I dont know if that will solve your problem as well

Also make sure you have gdbdebug option turned on in usbhostfs_pc, I dont know if you enabled that or not
by sturatt
Mon Aug 25, 2008 11:32 pm
Forum: PSP Development
Topic: usbhostfs_pc + ubuntu
Replies: 3
Views: 1719

ah jsharrad, you rule. That seems to have fixed the problem, thank you so much :)
by sturatt
Mon Aug 25, 2008 2:07 pm
Forum: PSP Development
Topic: usbhostfs_pc + ubuntu
Replies: 3
Views: 1719

usbhostfs_pc + ubuntu

I am on ubuntu 8.04 Hardy Heron. Whenever I reset psplink by typing "reset" into pspsh, I have to completely restart usbhostfs_pc for it to detect the psp again, does anyone know how to fix this?
by sturatt
Sat Jun 28, 2008 4:24 am
Forum: PSP Development
Topic: psplink wifi
Replies: 9
Views: 3460

maybe signal is too weak or psplink don't support some sorf of securities of ur network.. anyway i will be thanfull if u can pack ur psplink directory with settings ini and upload to some upload site, coz' i can't configure .ini properly or i have bad compilied psplink, i dont know ^^ That reminds ...
by sturatt
Fri Jun 27, 2008 6:15 am
Forum: PSP Development
Topic: debug symbols
Replies: 1
Views: 1110

debug symbols

I am having some trouble with psp-gdb. I am trying to debug a simple hello world app just to get things setup. I cant seem to get this to compile with debug symbols though. Whenever I start debugging and type "info locals" while I am in main, it tells me "No locals." Am I doing s...
by sturatt
Fri Jun 27, 2008 6:09 am
Forum: PSP Development
Topic: psplink wifi
Replies: 9
Views: 3460

J.F. wrote:Have you tested the connection? Does it work in the PSP browser? If not, then that is the problem (a connection setting or reception at the wifi hotspot).
yes, the connection works fine in the browser.
by sturatt
Thu Jun 26, 2008 10:19 pm
Forum: PSP Development
Topic: psplink wifi
Replies: 9
Views: 3460

Re: psplink wifi

I am trying to get psplink to work, but whenever I try to start the wifi shell, it never gets past "connection state 2 of 4." When it prints this message, the wifi light comes on solid for a second, then never blinks again. I have tried deleting the wifi profile and remaking it. Does anyo...
by sturatt
Thu Jun 26, 2008 4:15 pm
Forum: PSP Development
Topic: psplink wifi
Replies: 9
Views: 3460

psplink wifi

I am trying to get psplink to work, but whenever I try to start the wifi shell, it never gets past "connection state 2 of 4." When it prints this message, the wifi light comes on solid for a second, then never blinks again. I have tried deleting the wifi profile and remaking it. Does anyon...
by sturatt
Wed May 16, 2007 4:28 am
Forum: PSP Development
Topic: whats the psp sdk graphics api like
Replies: 8
Views: 4055

sceGuSwapBuffers() returns the pointer to the new draw buffer
by sturatt
Sat Apr 21, 2007 2:04 am
Forum: PSP Development
Topic: simple skinning
Replies: 5
Views: 2320

Nobody knows what im doing wrong?
by sturatt
Thu Apr 19, 2007 3:33 pm
Forum: PSP Development
Topic: simple skinning
Replies: 5
Views: 2320

I still dont know what im doing wrong. It seems like my model should show up just as it did before, but adding these things seem to stop it from showing up at all... I added hte weights to the vertex structure: typedef struct pspVertex { float weights[8]; float u,v; unsigned...
by sturatt
Thu Apr 19, 2007 2:41 am
Forum: PSP Development
Topic: simple skinning
Replies: 5
Views: 2320

Thanks for the replys :) After reading what you said, i went back and changed it so that the first weight on each vertex is 1.0f. With the first bone matrix being an identity matrix, shouldn't my geometry show up unchanged? @Raphael Yeah, i thought so, but i was just throwing stuff in there to try a...
by sturatt
Wed Apr 18, 2007 9:05 am
Forum: PSP Development
Topic: simple skinning
Replies: 5
Views: 2320

simple skinning

Im trying to learn about skinning, so i am modifying a smiple program that i have that just draws colored triangles. I've added all the parts that i thought i needed to get it to render, but when i compile with all this stuff, i get a black screen. Here is the stuff ive added: i changed my vertex to...
by sturatt
Sat Apr 14, 2007 5:58 am
Forum: PSP Development
Topic: Simple C++ Animation Class Not Working!
Replies: 9
Views: 4446

seventoes wrote:frame and length are declared as members of Animation though, and int's can be typecasted to floats just fine, right?
yes, but you need to actually typecast it:

n = (float)frame/length;

the way you have it now, n will always be 0 unless frame >= length
by sturatt
Tue Apr 10, 2007 4:55 am
Forum: PSP Development
Topic: How use libpng ?
Replies: 1
Views: 1380

If you actually look at graphics.c it shows you how to use libpng

also, this should help you out
http://www.libpng.org/pub/png/libpng-1.2.5-manual.html
by sturatt
Thu Apr 05, 2007 5:12 am
Forum: PSP Development
Topic: drawing with gu (translations and such)
Replies: 2
Views: 1611

Re: drawing with gu (translations and such)

After looking at milkshape, ive discovered that instead of that, the meshes and triangles formed from the vertices are seperate from the bones entirely, only the vertices are connected to the bones. This makes sense, since if have a mesh with two bones and you move one, you want to triangles betwee...
by sturatt
Wed Apr 04, 2007 9:22 am
Forum: PSP Development
Topic: drawing with gu (translations and such)
Replies: 2
Views: 1611

drawing with gu (translations and such)

I guess ill start with what im trying to do. What i want to do is write an exporter for milkshape (a 3d modeling program) to write a custom model format. Ive looked into it a bit, and have come across something that im not quite sure how to handle. I always assumed that for bones and animation, ther...
by sturatt
Tue Mar 27, 2007 5:09 am
Forum: PSP Development
Topic: Mipmapping and swizzling
Replies: 20
Views: 6871

if you turn on swizzling, you need to actually change your texture data, so it knows how to read it.

if you look around the forums, there are plenty of examples on how to swizzle your textures, and i think there are some examples on this site's wiki.
by sturatt
Wed Mar 21, 2007 10:41 am
Forum: PSP Development
Topic: Weird GU behavior
Replies: 6
Views: 3237

i realize that, but the problem that i originally asked was because i mistyped and forgot to put an m in my code. I thought it might be better (especially for me) to ask about why i needed the m in sceGu m DrawArray, and what the difference was withoutout it, rather than to have a huge question aski...
by sturatt
Mon Mar 19, 2007 5:42 am
Forum: PSP Development
Topic: Weird GU behavior
Replies: 6
Views: 3237

i dont know how to delete this post, but my new question in the first post stands.
by sturatt
Sun Mar 18, 2007 7:08 pm
Forum: PSP Development
Topic: Weird GU behavior
Replies: 6
Views: 3237

The problem was fixed ^^ but i dont know how to delete posts.
by sturatt
Sun Mar 18, 2007 12:37 pm
Forum: PSP Development
Topic: Weird GU behavior
Replies: 6
Views: 3237

Weird GU behavior

I've edited the post because the question was answered, i needed to use sceGumDrawArray instead of sceGuDrawArray, but can anyone tell me why? what is the difference between the two?
by sturatt
Thu Mar 15, 2007 1:31 pm
Forum: PSP Development
Topic: Need some help configuring a development environment.
Replies: 10
Views: 5730

Bytrix I tried to setup my Visual c++ like you said, but when i try to build the project it says device not ready? 1>------ Build started: Project: TestProj, Configuration: Debug Win32 ------ 1>Performing Makefile project actions 1>The device is not ready. 1>Project : error PRJ0002 : Error result 1 ...
by sturatt
Sun Aug 20, 2006 1:00 pm
Forum: PSP Development
Topic: mp3 playback problem [resolved]
Replies: 2
Views: 2151

nevermind, i figured it out. i was only putting in half the amount of samples (was counting each left and right byte as its own sample). stupid mistake.

thanks for trying to look though, i really do appreciate it
by sturatt
Fri Aug 18, 2006 4:36 pm
Forum: PSP Development
Topic: mp3 playback problem [resolved]
Replies: 2
Views: 2151

mp3 playback problem [resolved]

Im trying to get mp3 playback to work with libmad, but i cant for some reason. i can get the mp3 to play, and you can recognize it, but it just sounds funny. it sounds like parts of it are getting skipped, i dont get it. http://rafb.net/paste/results/3ubQen72.html i put my code up there so it would ...
by sturatt
Sat Aug 05, 2006 1:11 am
Forum: PSP Development
Topic: function stops app from exiting correctly [Resolved]
Replies: 4
Views: 3498

turns out that memset was all it needed.. any idea why?
by sturatt
Fri Aug 04, 2006 3:39 pm
Forum: PSP Development
Topic: function stops app from exiting correctly [Resolved]
Replies: 4
Views: 3498

function stops app from exiting correctly [Resolved]

This is pretty weird, if i dont call this function, my app closes fine, but when i do, it freezes on exit... i dont get it void openPl() { printf("Test\n"); sceKernelDelayThread(1000000); struct SceIoDirent plst; int fd = sceIoDopen&...