Errata

Hacking the PSP: Second Edition Addendums

Errata


NC17 10-14-2007, 10:18 AM
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

Copyright (c) 2005-2008 Auri Rahimzadeh

Powered by Community Server, by Telligent Systems