I've seen two little samples that show how to use the ME to simply run a counter and display on screen, but I can't seem to find anything else that uses the ME at all.
My first question is, what does the ME do? (I know I can probably find out, but there's not a whole lot of documentation on it).
Secondly, I'm thinking the ME could be used to handle a second thread for a game (depending on what it's actually doing normally when the PSP is running). Say to process physics calculations. Does anyone know of any homebrew that uses the ME as a second thread processor? or have any example source code?
This isn't really essential, it's just I have no idea what this extra processor is doing there and if it's not doing much I might aswell try and use it.
Anyone use the ME?
I'm working on it. It is not a very easy task because ME is not exactly an identical processor to the main one.
1) no VFPU on ME processor so I wouldn't consider any physics calculations on it.
2) no basic kernel functions, you just run plain kernel code so you need to handle everything, including the way to communicate between SC and ME processors. Access to file system for instance is probably beyond reach because there is no reason that all hardware registers are accessible from ME processor.
3) in fact a lot of things still need to be discovered. For example, no one seems how to use rpc calls or even how to signal the other processor an interrupt (it looks as if you need to run a setup code to enable the int 31 on ME processor which is not by default).
1) no VFPU on ME processor so I wouldn't consider any physics calculations on it.
2) no basic kernel functions, you just run plain kernel code so you need to handle everything, including the way to communicate between SC and ME processors. Access to file system for instance is probably beyond reach because there is no reason that all hardware registers are accessible from ME processor.
3) in fact a lot of things still need to be discovered. For example, no one seems how to use rpc calls or even how to signal the other processor an interrupt (it looks as if you need to run a setup code to enable the int 31 on ME processor which is not by default).