Hi, two weeks ago... Where is the beta versión? Please, if you cant upload your version, please tell us only that or when. Please, put some news some day on every weeks for informate us.
Thanks, we wait you
I'm sorry, people. I'm with almost zero-free time.
Now for the news. I will just post some explanations here. From now on, I will be posting weekly (at least) updates on the PSP port in my blog. (
http://danielt3.zzl.org/wordpress).
The PSP port is somewhat difficult. Not only because lots of things are not documented so have to go like in a trial and error process. Altough there are a lot of code already written for the PSP, I could not figure out somethings myself (like exporting single variables from dynamic loaded modules). I'm using as a base some code I borrowed from the ScummVM and DaedalusX64 PSP ports. I'm not an experienced PSP programmer and I'm learning things in the whole process. After I finish and get something useful, the code will be avaliable for anyone who wants to learn from it too and I will be here to answer any questions I able to.
PSP does have a dynamic linking mechanism, the so called PRX. PRX are poorman's DLL. Good news! Bad news: they are not documented at all (at least not for anyone who do not have a oficial SDK, which costs a lot of money). The examples in the PSP-SDK are outdated and do not work at all. The process of creating a dynamic loadable module is:
1.) create your source file with some special macro telling it is a module (in bennugd, i have to add the macro and some other things to the source of e.g. libblit, libdraw, etc). libblit, libdraw will become each one a prx.
2.) create (manually, really a PITA) a file which tells what symbols a PRX exports. This file will be compiled to a assembly source file which will be compiled and linked against whatever modules that imports one of the symbols the PRX exports.
3.) compile and link your own PRX
Sorry my lack of time to work on this. I really would like to have more time and see BennuGD fully working in PSP. PSP is a great plataform to write games and BennuGD in PSP would be even more cool.
I will work on a larger more complete post to the blog. So stay tuned.