移动平台
[ZT]All PSP Error Codes
First 4 digits indicate the functional area that reported an error : 8002 is the kernel, 8001 is the standard libc (and the error numbers correspond to the POSIX errno.h constants). Others are less well known, but you can see the wifi range from your list, for instance.
[ZT]PSP program formats
The PSP uses ELF (Executable and Linking Format) as the executable format. These are packaged into a EBOOT.PBP along with other files for easy distribution and loading. When loaded, the MIPS cpu can run the code in kernel or user mode. Most of the XMB and drivers for the hardware boot in kernel mode. Most of the kernel code and device drivers for the PSP are coded in a relocateable executable format with the extension .prx. This format is a proprietary format made by Sony. Note that .prx format code need not run in kernel mode, but a vast majority of them are because Sony provided them to control the PSP hardware.
[ZT]Porting a 1.50 firmware homebrew to 3.xx firmware
3.xx firmwares require your homebrew be in prx format. To get your homebrew in this format, you need to follow a few basic steps:
[ZT]里屋专用PSP知识普及贴0.40
买PSP已经快1年了,因为我平时就比较无聊 所以总是能抽出比较多的时间来研究
我会以尽量直白简单的话来写这篇帖子,不过因为个人习惯,所以打算多少讲解一些原理
如果明白原理的话以后出一些简单的问题大家就不会只是循规蹈矩了
你如果觉得明白原理没用或者你本来就明白甚至不想明白,那么各大PSP网站上有简单的流程攻略……最下面我会
关于hekkus sound system的wins build(2)
wins build在模拟器上出现system error(-2)的问题估计就是由于作者发布在包内的dll是给S60 2nd用的,所以在模拟器上无法加载。
播放音乐的问题已经解决了,在对比了手机上现有的hss.dll和发布包内的hss.dll的大小后发现版本不一致(2个dll大小不一样),于是意识到有可能是由于dll版本不一样导致的hssMusic在load的时候出现错误,于是删除了手机上的hss.dll(很奇怪的是,没有发现哪个程序包安装的这个dll,因为怀疑到的所有edge的游戏在删掉了这个dll后仍能正常运行,难道他们都用的是static lib?!那这个dll是裝哪个的时候弄过来的…),重新打包,这次将新的dll写进pkg里安装,ok,mod音乐正常播放了,加载mod文件的方式自己写好了,就是自己把文件读如内存,然后用load内存地址版的hssMusic的load函数加载,测试通过,下次放出代码。
现在如果找不到能在emulator上工作的dll版本的话,以后模拟器调试其他东西的时候就得把声音代码闭掉了,这岂不是很郁闷?
关于hekkus sound system的wins build
在研究了nokia官方提供的sound mixer例子后,发现其提供的方法使用起来不是很方便,比如例子中的wav文件好像只是扩展名是wav,并不是一般见到的win上的wav,内容只是一些sound的data没有像win上wav的一些必要格式(因为用wmp无法识别这种wav),但基本的混音作法已经基本掌握了。
Carbide.c++ 1.2导入项目时的一个问题
Cabide.c++导入symbian项目的时候只能通过.bld文件导入,不像CodeWarrior一样可以用.mmp,问题出现在如果我把要导入的项目放在carbide的默认workspace中的时候在导入的最后一步,会提示已有一个同名的项目存在(如果不放在workspace目录中则没事),不知道这是bug还是我的导入操作有问题,研究中…
关于用DirectGraphics的fillPolygon等绘制半透明图在模拟器上的显示问题
在索爱模拟器上显示为alpha为0xFF的该颜色,即没有半透明效果,在诺基的模拟器上基本能正常显示效果,打包后的jar用当前版本的手机顽童运行,效果为alpha为0,即完全透明(或者是根本没画,反正看不到)。