Homebrew is old hat. I officially declare the end of it. My new technology is called Pwnbrew. It gives the PSP a much richer graphics engine and will allow it to run nearly any game a computer can. This is a sneak peak of the new technology. I will only release a snippet of code from my new project. Here is a picture of what I have done so far:
As you can see, it runs Day of Defeat: Source fairly well. I still only get around 6-7 FPS on it, but I'm working on improving that by working with the source engine and its options.
I have also opened a freely passable internet port that can connect to any game available. I was able to play DoD:S online with my friend who was in the room, on the computer. I've looked into putting Everquest 2 on it as well. Here's a shot:
As you can see, the PSP has no real anti-aliasing, so EQ's incredible graphics show up quite poorly, though I've tested and you can play Everquest 1. In EQ2, I get around 3-6FPS in town and 6-9 outdoors. The lack of many buttons makes it largely unplayable. I enabled mouse so you could choose from the game's many features, but it's quite difficult to move around and use combat abilities correctly because of the screen size.
As promised, here is a snippet of the code I'm using for the custom graphics engine that runs many of the games.
Code:
#ifdef _MSC_VER
inline uint64 System::getCycleCount() {
uint32 timehi, timelo;
__asm
{
rdtsc
mov timehi, edx;
mov timelo, eax;
}
return ((uint64)timehi << 32) + (uint64)timelo;
}
#elif (defined(G3D_PWN) || defined(G3D_SOURCE32))
inline uint64 System::getCycleCount() {
uint32 timehi, timelo;
_asm_ _volatile_ (
"rdtsc "
: "=a" (timelo),
"=d" (timehi)
: );
return ((uint64)timehi << 32) + (uint64)timelo;
}
That's all for now. I'm fine tuning the code, so it won't be long before it's out (one month, max). Once this comes out, I'll allow anyone to edit it fully, as long as credit goes to me.
Pwnbrew works with Any firmware 2.0.1 and up. I needed the new internet connectivity code to use it, so you'll have to upgrade. It has a shell that works much like Windows, so it will be familiar. There are so many things to mention. I'll update later before release. Don't worry, Pwnbrew is coming soon!