SDK Sample

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
donour
Posts: 9
Joined: Thu Jun 30, 2005 11:18 am

SDK Sample

Post by donour »

Is the sample program supposed to be working at this point? I know SDK is not yet marked as 1.0 stable, but I can't infer from the commit log whether the sample program works at this point.

EDIT: I'm referring to the "sdktest" sample app in the subversion tree.

EDIT2: Of course, I ask this and a new makefile is checked into svn like two minutes later. :)


thanks

d
wulf
Posts: 81
Joined: Wed Apr 13, 2005 6:56 pm

Post by wulf »

works for me..
donour
Posts: 9
Joined: Thu Jun 30, 2005 11:18 am

Post by donour »

wulf wrote:works for me..
Forgive my ignorance, but what exactly does it do?

Looking at the source, I see a couple of threads, some basic printing, and examples of how to use callbacks. Does the printing (stack info, gp register value, etc) actually show up somewhere? When I try to run it on my unit (firmware 1.50) it just reads the memory card for a while, then powers off the psp.

thanks [again]

d
wulf
Posts: 81
Joined: Wed Apr 13, 2005 6:56 pm

Post by wulf »

yeay, it gives some debug-ish info on the screen..
ie, what directory the app was executed from, etc..

if your psp is powering off, then there is something wrong.. (;P)

make sure that your toolchain is up to date..

btw, You probably know this, but you don't need to use the outpatch anymore.. the elfs just work now..

sorry I couldn't be more help...
donour
Posts: 9
Joined: Thu Jun 30, 2005 11:18 am

Post by donour »

Thanks for the info.

I using the most recent toolchain, 6-25, and the most recent check-ins to subversion. I have a _lot_ experience building software tools and I had zero problems building the toolchain, sdk, and then the sample. I'm a little embarressed because everything seems to have built fine, but when trying to run -- plop!

d
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

Have you tried rebuilding both the toolchain and sdk? Be sure to get rid of everything in $PSPDEV/.

If that doesn't work we can always help you inspect the .elf or .pbp.
Post Reply