- 积分
- 213
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
发表于 2005-10-26 08:49:59
|
显示全部楼层
关于语言包的支持功能:
命令: sfe l[c] <bin|lng-file> [<ID|-langno|'string|+hexcode> [<langno>]]
sfe的语言包功能包括导出Flash中语言包的所有字串,显示Flash中的特定ID的字串,以及语言包中某个语言的字串等。其中支持文字到到语言包格式的转换。不过对中文的支持有点问题。
此外Riza在最新版本中添加了一些对语言包文件的支持,这个主要是为把特定程序作为语言包格式加载而作的准备,因为LG1的机器支持加载语言包和T9,其中语言包被加载到Flash的特定位置,利用这一特征,可以把bin格式的修改做成语言包的格式加载到Flash中。
运行语言包文件(LNG)就像运行BIN文件一样!
语言包可加载到Flash里的特定地址(地址0x560000用于语言一 以及 地址0x570000 用于 语言二), 随时调用,不像BIN文件存在Ram里则要经常载入。
Using LNG file just like a BIN ones:
There is another method to provide additional loadable function (max. size = 128KB, average = 60KB) --using LNG file-- (I did explain it one/two year ago in the GSM Programming section) ...
By using LNG file, the bytecode (patch) will be written in the firmware area (0x560000 for Language 1 and 0x570000 for Language 2), so it can be executed anytime (not like BIN file which is copied into the RAM area which can be used by any other routines, that's why we need to load it every time).
不知如何做语言包文件(*.lng)??
[ 本帖最后由 Xinshou 于 2005-10-26 10:16 编辑 ] |
|