OT: You’ve said that there are no libraries available, right now is everything just being done in C?
Mat: This is essentially the case. There are teams of people looking at dumps of the 1.0 firmware and UMDs in order to find their way into libraries the PSP has available. They’re looking to find function names, how to call them. Every day more is being deciphered — functions for basic sound functionality just yesterday for instance. Right now however there is very little to use, no maths, no graphics libraries. The language in use is C, being cross compiled for the MIPS R4000 using GCC
OT: What you’re working on is a zippy little Robotron clone. Is that because of your love for shooters, the limitations of what could be done strictly through C, or both?
Mat: It’s a case of creating something that I do love and also of not overextending myself at such an early stage. With none of the PSP’s graphic libraries, no memory allocation, no maths libraries (I could go on here…) available yet, a simple 2D game is very much a challenge in itself as all we have access to graphically is the PSPs VRAM. Writing a 2D PSP game is little different than writing something similar for the GBA, PC, etc. Just kinda cool in addition :-)
OT: Let’ s say hypothetically we never get access to any of the higher-level tools used in the PSPfor game programming. You’ve made a working game in about three days, what’s the upper limit a small team with more time can do?
Mat: Really there’s as much scope for PSP development as on any system one could imagine, it’s totally a blank slate to be used as you wish. To do any sort of graphics programming all you need is some VRAM to write to and that much is available already (I’m sure we all remember a world before 3D cards and OpenGL :-) ).
Over the last 10 days or so we’ve seen a working Gameboy Color emulator, NES emulator, and now SNES9X & even a small voxel rendering engine. All of these are being done by small teams of people with the tools available now & scavenging from old libraries and code that are still relavent.
Seeing the progress being made by the teams of people working on extracting symbols from the PSPs libraries, it’s only a matter of time before we are able to use those libraries too. The graphic libraries are shown in Sony’s presentations to be very OpenGL-like, so working out how to use them once calls are found should not be an insurmountable task.
OT: From what we know now, how long until we’re able to run this code from our stupid American 1.5 units?
Mat: That’s a very tough call, from the dumping of the 1.0 firmware it seems that there’s a number of certificates and some very strong encryption being used to sign code; I’m no security expert but it doesn’t look promising. Sony is already releasing new games that require a 1.5 firmware update to run. If things don’t look up we may well see an ever-dwindling number of PSPs that can run unsigned code.
OT: So what’s next for you after this? Were you just trying to see if it could be done, or do you plan on doing something more ambitious?
Mat: From compiling the very first Hello World it has been a question of ‘can this be done’, every addition to my project seems ambitious and exciting (to me at least :-) ).
There is plenty of scope in the project for it to last some time yet — adding more devious AI routines, fancy bullet patterns, more interesting graphical effects, sound effects, just making it run faster — so I’m by no means done quite yet.
As for next, I have some more complex idea’s I’ve been floating so who knows, as long as it remains as interesting then I can see one or two more projects heading the PSPs way.
What’s interesting about this is just how quickly work is being done on the PSP in order to get emulators and other applications to run on it, and how unsecured the 1.0 firmware is. While we can hope for a crack later, it’s possible that a large number of gamers will keep their imported units at the earlier firmware in order to run these applications. At least personally, having seen Mat’s game in action, I can only hope for a crack for my 1.5 firmware so I can be a part of the homebrew community (and get some tasty emulation running).