More work on the PSP port.
Links and runs now, but does not show any output yet.