Result of 24 first hours with psp toolchain.
Just yesterday, I cloned psptoolchain from Github and built it:
https://github.com/pspdev/psptoolchain
And I’m just fluttered to do some programming on it.
Compiled some of shipped samples and tried it on PPSSPP emulator, also cloned & built Minecraft-PSP:
https://github.com/Woolio/Minecraft-PSP
Had some problems though, i.e samples that were shipped needed a flag to be set in their makefile in order to work properly:
USE_PSPSDK_LIBC = 1
Which I took from one of their issues page:
https://github.com/pspdev/pspsdk/issues/26
And in the Minecraft-PSP, I needed to remove linkage with MMIO, since there was no such library provided, and comment out a few functions (which utilized MMIO, but were not called anyway). Here it is:
And the reflections sample:
out of curiosity, what was using MMIO ?
LikeLike
Probably nothing, since after removing -lmmio from the makefile, I got some undefined references from libmikmod (MikMod_LoadSong/MikMod_FreeSong) that *i think* were unrelated and caused by using old Minecraft-PSP codebase with latest version of psptoolchain
It was this file that I completely purged and then it worked:
https://github.com/Woolio/Minecraft-PSP/blob/master/LameCraft/sound_utils/mod.c
LikeLike