Welcome to Hacking the PSP Sign in | Join | Faq

Hacking the PSP: Second Edition Addendums

Started by NC17 at 10-14-2007 10:18 AM. Topic has 0 replies.

Print Search
Sort Posts:    
   10-14-2007, 10:18 AM
NC17 is not online. Last active: 10/14/2007 8:04:46 PM NC17

Top 500 Posts
Joined on 10-14-2007
Posts 1
Errata
Reply Quote
Bought the book - love it. I just started with the homebrew programming. (I haven't touched C in a long long time.) I had a lot of problems with the 'Hello World' program. There are a few errors in it and it took some time (for me! :) to track down since I wasn't sure whether I had made the mistakes in typing them in or if my toolchain didn't set itself up properly.

The short version: The correct 'Hello World' program I found at: http://www.psp-programming.com/tutorials/c/lesson02.htm

The long version: page 276, 'x11' should be '0x11' (that's a zero, not an 'o')

also, the line under '// Sleep the kernel until...' is a copy of the line above it. It should be
'sceKernelSleepThreadCB();'

page 277, the end of the SetupCallbacks function doesn't return a value (the other website says it should end with 'return thid;')

 page 280, it is not clear that the hyphen preceding 'pspsdk-path' is a double hyphen. (--pspsdk-path) <- and even that on my screen looks like it could be misread as a single hyphen.

I think that's it. These mistakes are repeated in the next section where you describe what each line does. (I did make one typo on my own! :)

Anyway, I didn't know if any of the other forums covered this already or not, so I thought it might be appropriate to post it here.

Thanks,

NC17


   Report 
Hacking the PSP » Forums » Hacking the PSP... » Errata

Powered by Community Server, by Telligent Systems