爱技术

 找回密码
 注册会员

QQ登录

只需一步,快速开始

微信登录

微信扫一扫,快速登录

搜索
查看: 322|回复: 6
收起左侧

[求助] 求S65V53的ELF2.31基础补丁和API

[复制链接]
发表于 2007-11-16 21:40:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?注册会员 微信登录

x
我在论坛里找了很久也没找到个合适的补丁,尤其是API根本没找到,搜索也没有?请那DX传上来,还有MP3补丁
发表于 2007-11-16 22:00:22 | 显示全部楼层
给你一个!!!
回复 支持 反对

使用道具 举报

发表于 2007-11-16 22:05:14 | 显示全部楼层
给你一个!!!,无法上传附件!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-16 22:12:45 | 显示全部楼层
晕~~~~~~~为什么啊?
回复 支持 反对

使用道具 举报

发表于 2007-11-16 23:23:31 | 显示全部楼层
论坛系统正在维护中,我刷elf 2.31没有刷api,我用的是s65,呵呵:/kka
回复 支持 反对

使用道具 举报

发表于 2007-11-17 00:03:39 | 显示全部楼层
;* API *
;This Patch contains some useful functions which have not been found in FW
;It is universal and can be installed on every x65-x75 phone without changing
;v14.0
#pragma enable old_equal_ff
;----------------------------------------
; API - OpenReadCloseFile - fix
; v1.1
; (c) Lisugar
; (!) FunctionLibrary(f010, f011, f013, f015, f020)

;因为C6C一直没有找到这个函数影响进度, 因此, 写了这个函数暂时代替
;C6C必须刷这个函数其他机型可以不刷

; R0 = the address of filename
; R1 = a pointer to the address of buffer want to read in
;      the address of buffer will be malloced automaticly
; return R0 -1 when find err else return filesize
; return R1 the pointer of the address of buffer

0xFCFFA0: FEB581B00E1C6B4680221102F0F750F8
0xFCFFB0: 051C431C002B1DD0281C002102226B46
0xFCFFC0: F0F75AF800280FDD041CF0F769F83060
0xFCFFD0: 281C002100226B46F0F74EF8281C3168
0xFCFFE0: 221C6B46F0F738F8061C6946281CF0F7
0xFCFFF0: 3BF8301C01B0FEBD
;----------------------------------------
;OpenWriteCloseFile
;v1.1
;(c) 1nvisible
;Writes Buffer to a File
;R0 - File Name
;R1 - Buffer Pointer
;R2 - Bytes to Write

0FCF000: FFB50D1C161C0849FF2201326B46F1F7
0FCF010: 1FF8291C321C061C6B46F1F721F8301C
0FCF020: 6946F1F721F8FFBD01030000
;----------------------------------------
;ReturnProcedure
;v1.0
;(c) 1nvisible
;Returns from ldr/blx patches by adding 4 to LR

0FCF030: 0040BDE804E08EE21EFF2FE1
;----------------------------------------
;Hex2Int
;v1.0
;(c) empeka
;This function converts numerical string containing hexadecimal value to 32bit integer
;Parameters:
;R0: pointer to string
;R1: address for pointer containing last processed byte from input string (optional)
;Output:
;R0: received value (32bit)
;R1: pointer to last processed character
;Notes:
;Function automatically skips blanks (0x20) and new lines (0x13) in given string, so "123 4" is possible in input
;If function encounters character, which is one of above, nor hexadecimal digit, it breaks execution.

0FCF050: 10B5002302780130141C093C042CF9D9
0FCF060: 202AF7D0302A15D3662A13D8392A09DD
0FCF070: 412A0FDB462A03DD612A0BDB573A02E0
0FCF080: 373A00E0303A1C1C102363439B180278
0FCF090: 0130E7E7002901D001380860181C10BD
;----------------------------------------
; StrAnsi2Uni
; in:  R0 = pointer to ANSI string (0-term),
;      R1 = pointer to Unicode string buffer (1st word - len)

0FCF0A0: FFB5021C00230224D05C002805D000F0
0FCF0B0: 17F8085301330234F6E70B80FFBD
;----------------------------------------
; StrUni2Ansi
; in:  R0 = pointer to Unicode string (1st word - len),
;      R1 = pointer to ANSI string buffer

0FCF0C0: FFB50388821C108800F03AF808700131
0FCF0D0: 0232013B002BF6D10B70FFBD
;----------------------------------------
; CharAnsi2Unicode
; in:  R0 = ANSI char
; out: R0 = Unicode char

0FCF0E0: 02B5A821884228DB15D0401A182803DB
0FCF0F0: 572822DC08381DE002280ED007280ED0
0FCF100: 0A280ED00B280ED010280ED012280ED0
0FCF110: 17280ED011E001200CE004200AE00720
0FCF120: 08E0062006E0562004E0512002E05420
0FCF130: 00E0572004210902401802BD
;----------------------------------------
; CharUnicode2Ansi
; in:  R0 = Unicode char
; out: R0 = ANSI char

0FCF140: 02B504210902884228DB401A102803DB
0FCF150: 4F280ADC083020E001280FD004280FD0
0FCF160: 06280FD007280FD018E051280ED05428
0FCF170: 0ED056280ED057280ED00FE000200CE0
0FCF180: 02200AE00A2008E0072006E0102004E0
0FCF190: 122002E00B2000E01720A83002BD
;----------------------------------------
;DrawText
;v1.1
;(c) 1nvisible
;(r) benj9, KreN
;Draws a text string.
;R0 - wstring
;R1 - x
;R2 - y
;R3 - font
;[SP] - width
;[SP+4] - height
;[SP+8] - alignment
;[SP+12] - text color
;[SP+16] - bg color
;[SP+20] - inversion

0FCF1B0: F0B5FFB0041C1D1C859B009304A8849B
0FCF1C0: F1F7F2F808A804A9899A2B1C0093869B
0FCF1D0: 0193029402ABF1F7EBF808A88799889A
0FCF1E0: F1F7EAF808A8F1F7EFF808A8F1F7F0F8
0FCF1F0: 7FB0F0BD
;----------------------------------------
;OpenReadCloseFile
;v1.1
;(c) KreN
;Reads whole file to RAM. Supports >64k files.
;R0 - File Name (0-term str)
;R1 - RAM for ptr (4 bytes)

0FCF200: FEB582B00D1C041C00F04AF8411C36D0
0FCF210: 061E201C802211026B46F0F719FF0190
0FCF220: 411C2CD0701CF0F73BFF2860051C0024
0FCF230: 84550294029901291AD0802000020030
0FCF240: 86420CD9211C019800226B46F0F714FF
0FCF250: 8022120200322919A418B61A03E02919
0FCF260: 321C0120029001986B46F0F7F5FEE1E7
0FCF270: 01986946F0F7F8FEA01902B0FEBD0020
0FCF280: 2860C043F9E7
;----------------------------------------
;GetFileSize
;v1.1
;(c) KreN
;Returns File Size.
;R0 - File Name (0-term str)

0FCF2A0: FEB58BB06A4601A9F1F7BAF8411C00D0
0FCF2B0: 02980BB0FEBD
;----------------------------------------
;Seconds2iTime
;v1.0
;(c) benj9
;in: R0 - time (seconds)
;out: R0 - iTime

0FCF300: FEB505210902143141430620F1F758F9
0FCF310: FEBD
;----------------------------------------
; CanvasDraw
; R0 - X
; R1 - Y
; R2 - Pic
0FCF320: FFB570BC101CF0F7EFFE40190121401A
0FCF330: 03B4301CF0F7ECFE0319013B2A1C211C
0FCF340: F1F722FA381CF0F7EFFE02B0F8BD
;----------------------------------------
; DrawPicWithCanvas
; R0 - X
; R1 - Y
; R2 - Pic
0FCF350: FFB570BCFFF7E4FF70B407BCF0F7E0FE
0FCF360: F8BD
;----------------------------------------
; DrawColorPicWithCanvas
; R0 - X
; R1 - Y
; R2 - Pic
; R3 - * color (color addr)
; [SP] - * bg color (color addr)
0FCF370: FFB570BCFFF7D4FF069A08BC04B470B4
0FCF380: 07BCF0F7D5FE01B0F0BD

#pragma disable old_equal_ff
回复 支持 反对

使用道具 举报

发表于 2007-12-13 11:16:16 | 显示全部楼层

回复 6# 的帖子

M65不用刷api?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员 微信登录

本版积分规则

小黑屋|Archiver|手机版|爱技术 ( 沪ICP备08115260号-3 )

GMT+8, 2025-8-2 01:19

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表