F.A.Q по портированию замэйновых патчей : Патчестроение : Форум |
Страница 7 из 7: « 1 ... 3 4 5 6 [7] |
RaANdOoM: |
28.11.11, 02:58 |
Neodzen, писал: du 0 у тебя перед каждой строкой, убери 0. [ Редактировано RaANdOoM в 28.11.11 01:59 ] |
Neodzen: |
29.11.11, 21:49 |
RaANdOoM, Код: aCard_1 du 0, '/card/',0 DCB 0 DCB 0 aTpa_1 du 0, '/tpa/',0 aPlatformDbDScr du 0, '-Platform: DB%d' db 0xA du '-Screen size: %dx%d' db 0xA du '-Brightness: %d%%' db 0xA du '-Battery: %d%%' db 0xA du '-Temperature: %dш' aCBatteryTempD du 'C' db 0xA du '-Battery temp: %dш' aCBtStateSHeapD du 'C' db 0xA du '-BT state: %s' db 0xA du '-Heap: %d Kb' db 0xA du '-Silent mode: %s' db 0xA du '-Headsets state: %s' db 0xA du '-Profile: %s' db 0xA du '-Date and Time: %02d/%02d/%02d - %02d:%02d:%02d' db 0xA db 0xA du '----Memory stick----' db 0xA du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA du '----Phone memory----' db 0xA du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA du '-GPRS last session info-' db 0xA du 'Bytes sent: %d Kb' db 0xA du 'Bytes recieved: %d Kb',0 |
E1kolyan: |
29.11.11, 22:00 |
тут че не убрал? должно быть так... aCard_1 du '/card/',0 db 0xA du '-Free space: %d Mb',0 и т.д. |
Neodzen: |
29.11.11, 22:24 |
E1kolyan, такой код Код: aCard_1 du '/card/',0 db 0xA aTpa_1 du '/tpa/',0 aPlatformDbDScr du '-Platform: DB%d' db 0xA du '-Screen size: %dx%d' db 0xA du '-Brightness: %d%%' db 0xA du '-Battery: %d%%' db 0xA du '-Temperature: %dш' aCBatteryTempD du 'C' db 0xA du '-Battery temp: %dш' aCBtStateSHeapD du 'C' db 0xA du '-BT state: %s' db 0xA du '-Heap: %d Kb' db 0xA du '-Silent mode: %s' db 0xA du '-Headsets state: %s' db 0xA du '-Profile: %s' db 0xA du '-Date and Time: %02d/%02d/%02d - %02d:%02d:%02d' db 0xA db 0xA du '----Memory stick----' db 0xA du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA du '----Phone memory----' db 0xA du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA du '-GPRS last session info-' db 0xA du 'Bytes sent: %d Kb' db 0xA du 'Bytes recieved: %d Kb',0 Код: include "x.inc" include "k800_r8bf003.lib.asm" addr=0x45483C08 org 0x45C71278 DCD loc_45CF87BC+1 CODE16 org 0x45CF8560 sub_45CF8560: ; CODE XREF: ROM:45CF87C6p var_8C4 = -0x8C4 var_8C0 = -0x8C0 var_8BC = -0x8BC var_8B8 = -0x8B8 var_8B4 = -0x8B4 var_8B0 = -0x8B0 var_8AC = -0x8AC var_8A8 = -0x8A8 var_8A4 = -0x8A4 var_8A0 = -0x8A0 var_89C = -0x89C var_898 = -0x898 var_894 = -0x894 var_890 = -0x890 var_88C = -0x88C var_888 = -0x888 var_880 = -0x880 var_87C = -0x87C var_878 = -0x878 var_874 = -0x874 var_870 = -0x870 var_854 = -0x854 var_850 = -0x850 var_834 = -0x834 LDR R0, dword_45CF8780 PUSH {R4-R7,LR} LDR R4, off_45CF8784 ADD SP, R0 LDR R0, dword_45CF8788 MOV R2, 0x1C ADD R0, SP loc_45CF856E: ; CODE XREF: sub_45CF8560+14j SUB R2, R2, 4 LDR R1, [R4,R2] STR R1, [R0,R2] BNE loc_45CF856E BL sub_45CF87CC STR R0, [SP,0x8C4+var_8BC] ADD R1, SP, 0x8C4+var_888 MOV R0, 0 BL sub_45CF87D4 MOV R1, SP MOV R0, 0 BL sub_45CF87DC LDR R1, [SP,0x8C4+var_8C4] ADD R2, SP, 0x8C4+var_8C0 LSL R1, R1, 0x10 LSR R1, R1, 0x10 MOV R0, 0 BL sub_45CF87E4 MOV R0, SP LDRB R0, [R0,0x8C4+var_8C0] adr R7, aOff ; "Off" adr R6, aOn ; "On" CMP R0, 0 BNE loc_45CF85AA LSL R0, R7, 0 B loc_45CF85AC ; --------------------------------------------------------------------------- loc_45CF85AA: ; CODE XREF: sub_45CF8560+44j LSL R0, R6, 0 loc_45CF85AC: ; CODE XREF: sub_45CF8560+48j STR R0, [SP,0x8C4+var_89C] BL sub_45CF87EC CMP R0, 0 BEQ loc_45CF85B8 LSL R7, R6, 0 loc_45CF85B8: ; CODE XREF: sub_45CF8560+54j STR R7, [SP,0x8C4+var_898] BL sub_45CF87F4 CMP R0, 0 BEQ loc_45CF85C8 LSL R0, R4, 0 ADD R0, 0x1C B loc_45CF85CC ; --------------------------------------------------------------------------- loc_45CF85C8: ; CODE XREF: sub_45CF8560+60j LSL R0, R4, 0 ADD R0, 0x28 loc_45CF85CC: ; CODE XREF: sub_45CF8560+66j STR R0, [SP,0x8C4+var_894] BL sub_45CF87FC MOVL R1, 0xFE00 ANDS R1, R0 MOVL R0, 0x7000 CMP R1, R0 BEQ loc_45CF8612 MOVL R0, 0x8000 CMP R1, R0 BEQ loc_45CF8618 MOVL R0, 0x9800 CMP R1, R0 BEQ loc_45CF861C MOVL R0, 0xC800 CMP R1, R0 BEQ loc_45CF8620 MOVL R0, 0xD800 CMP R1, R0 BEQ loc_45CF8624 MOVL R0, 0xE800 CMP R1, R0 BEQ loc_45CF862A MOVL R0, 0xF000 CMP R1, R0 BEQ loc_45CF862E B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF8612: ; CODE XREF: sub_45CF8560+7Ej MOVL R5, 0x7D0 B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF8618: ; CODE XREF: sub_45CF8560+86j LDR R5, dword_45CF8794 B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF861C: ; CODE XREF: sub_45CF8560+8Ej LDR R5, dword_45CF8798 B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF8620: ; CODE XREF: sub_45CF8560+96j LDR R5, dword_45CF879C B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF8624: ; CODE XREF: sub_45CF8560+9Ej MOVL R5, 0xC80 B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF862A: ; CODE XREF: sub_45CF8560+A6j LDR R5, dword_45CF87A0 B loc_45CF8630 ; --------------------------------------------------------------------------- loc_45CF862E: ; CODE XREF: sub_45CF8560+AEj LDR R5, dword_45CF87A4 loc_45CF8630: ; CODE XREF: sub_45CF8560+B0j ; sub_45CF8560+B6j ... ADD R1, SP, 0x8C4+var_874 LSL R0, R4, 0 ADD R0, 0x38 BL sub_45CF8804 ADD R1, SP, 0x8C4+var_854 LSL R0, R4, 0 ADD R0, 0x48 BL sub_45CF8804 MOVL R1, 0x860 ADD R1, SP MOV R0, 0 BL sub_45CF880C ADD R1, SP, 0x8C4+var_880 MOV R0, 0 BL sub_45CF8814 MOV R0, 0 BL sub_45CF881C STR R0, [SP,0x8C4+var_890] MOV R0, 0 BL sub_45CF8824 STR R0, [SP,0x8C4+var_88C] MOV R0, 0 BL sub_45CF882C LDR R2, [SP,0x8C4+var_850] LDR R3, [SP,0x8C4+var_854] LDR R1, [SP,0x8C4+var_878] LSL R6, R0, 0 LDR R0, [SP,0x8C4+var_87C] SUB R3, R3, R2 STR R3, [SP,0x8C4+var_8B8] STR R2, [SP,0x8C4+var_8B4] LDR R2, [SP,0x8C4+var_854] ADD R7, SP, 0x8C4+var_888 STR R2, [SP,0x8C4+var_8B0] LDR R2, [SP,0x8C4+var_870] LDR R3, [SP,0x8C4+var_874] SUB R3, R3, R2 STR R3, [SP,0x8C4+var_8AC] STR R2, [SP,0x8C4+var_8A8] LDR R2, [SP,0x8C4+var_874] STR R2, [SP,0x8C4+var_8A4] ASR R2, R1, 9 LSR R2, R2, 0x16 ADD R1, R2, R1 ASR R3, R1, 0xA ASR R1, R0, 9 LSR R1, R1, 0x16 ADD R0, R1, R0 LDR R1, [SP,0x8C4+var_8B8] ASR R2, R0, 0xA LDR R0, [SP,0x8C4+var_8B8] ASR R0, R0, 0x13 LSR R0, R0, 0xC ADD R0, R0, R1 ASR R1, R0, 0x14 LDR R0, [SP,0x8C4+var_8B4] MOV R12, R1 ASR R0, R0, 0x13 LSR R1, R0, 0xC LDR R0, [SP,0x8C4+var_8B4] ADD R0, R1, R0 ASR R0, R0, 0x14 MOV R1, R12 PUSH {R0-R3} LDR R0, [SP,0x8D4+var_8B0] LDR R1, [SP,0x8D4+var_8B0] ASR R0, R0, 0x13 LSR R0, R0, 0xC ADD R0, R0, R1 LDR R1, [SP,0x8D4+var_8AC] ASR R3, R0, 0x14 LDR R0, [SP,0x8D4+var_8AC] ASR R0, R0, 0x13 LSR R0, R0, 0xC ADD R0, R0, R1 LDR R1, [SP,0x8D4+var_8A8] ASR R2, R0, 0x14 LDR R0, [SP,0x8D4+var_8A8] ASR R0, R0, 0x13 LSR R0, R0, 0xC ADD R0, R0, R1 ASR R1, R0, 0x14 LDR R0, [SP,0x8D4+var_8A4] MOV R12, R1 ASR R0, R0, 0x13 LSR R1, R0, 0xC LDR R0, [SP,0x8D4+var_8A4] ADD R0, R1, R0 ASR R0, R0, 0x14 MOV R1, R12 PUSH {R0-R3} LDRH R0, [R7] LDRB R1, [R7,4] LDRB R2, [R7,5] LDRB R3, [R7,6] PUSH {R0-R3} LDR R0, [SP,0x8F4+var_8C4] LDR R1, dword_45CF87A8 LDRB R3, [R7,2] LSL R0, R0, 2 LDRB R2, [R7,3] ADD R1, SP LDR R1, [R1,R0] LDR R0, [SP,0x8F4+var_894] PUSH {R0-R3} LDR R0, [SP,0x904+var_8BC] LDR R1, [SP,0x904+var_8BC] LDR R3, [SP,0x904+var_89C] ASR R0, R0, 9 LSR R0, R0, 0x16 ADD R0, R0, R1 LDR R1, [SP,0x904+var_898] ASR R2, R0, 0xA LDR R0, dword_45CF87AC ADD R0, SP LDR R0, [R0] PUSH {R0-R3} LDR R3, dword_45CF87B0 LDR R1, [SP,0x914+var_890] MOV R0, 0x8B ADD R3, SP LDR R3, [R3] LSL R0, R0, 4 ADD R0, SP ADD R0, 0x20 LDRB R2, [R0] LDR R0, [SP,0x914+var_88C] PUSH {R0-R3} LDR R1, dword_45CF87B4 PUSH {R6} LSL R3, R5, 0 LSL R2, R4, 0 ADD R2, 0x54 ADD R0, SP, 0x928+var_834 BL sub_45CF8834 LDR R1, dword_45CF87B4 ADD SP, SP, 0x64 ADD R2, SP, 0x8C4+var_8A0 adr R0, aMenu_phone_sta ; "MENU_PHONE_STATUS_TXT" BL sub_45CF8844 LDR R2, dword_45CF87B4 MOV R1, 0 ADD R0, SP, 0x8C4+var_834 BL sub_45CF884C LSL R4, R0, 0 MOV R1, 0 MOV R0, 0 PUSH {R0,R1} MOV R3, 2 LSL R2, R0, 0 LDR R0, [SP,0x8CC+var_8A0] LSL R1, R4, 0 BL sub_45CF8854 LDR R0, dword_45CF87B8 ADD SP, R0 POP {R4-R7,PC} ; End of function sub_45CF8560 ; --------------------------------------------------------------------------- align 4 dword_45CF8780 DCD 0xFFFFF750 ; DATA XREF: sub_45CF8560r align 4 off_45CF8784 DCD off_45CF88D8 ; DATA XREF: sub_45CF8560+4r dword_45CF8788 DCD 0x894 ; DATA XREF: sub_45CF8560+8r aOff DCB "Off",0 ; DATA XREF: sub_45CF8560+3Eo aOn DCB "On",0 ; DATA XREF: sub_45CF8560+40o align 4 dword_45CF8794 DCD 0x7DA ; DATA XREF: sub_45CF8560:loc_45CF8618r dword_45CF8798 DCD 0x7E4 ; DATA XREF: sub_45CF8560:loc_45CF861Cr dword_45CF879C DCD 0xC4E ; DATA XREF: sub_45CF8560:loc_45CF8620r dword_45CF87A0 DCD 0xC8A ; DATA XREF: sub_45CF8560:loc_45CF862Ar dword_45CF87A4 DCD 0xD16 ; DATA XREF: sub_45CF8560:loc_45CF862Er dword_45CF87A8 DCD 0x8C4 ; DATA XREF: sub_45CF8560+1A2r dword_45CF87AC DCD 0x8B4 ; DATA XREF: sub_45CF8560+1C2r dword_45CF87B0 DCD 0x8C8 ; DATA XREF: sub_45CF8560+1CAr dword_45CF87B4 DCD 0xFFFF ; DATA XREF: sub_45CF8560+1E0r ; sub_45CF8560+1F0r ... dword_45CF87B8 DCD 0x8B8 ; DATA XREF: sub_45CF8560+21Ar ; --------------------------------------------------------------------------- loc_45CF87BC: ; DATA XREF: ROM:45C71278o PUSH {LR} BL sub_45CF8864 CMP R0, 0 BNE locret_45CF87CA BL sub_45CF8560 locret_45CF87CA: ; CODE XREF: ROM:45CF87C4j POP {PC} ; =============== S U B R O U T I N E ======================================= sub_45CF87CC: ; CODE XREF: sub_45CF8560+16p ; FUNCTION CHUNK AT 45087488 SIZE 00000006 BYTES align 4 LDR R3, off_45CF87D0 BX R3 ; int GetFreeBytesOnHeap( void ); ; End of function sub_45CF87CC ; --------------------------------------------------------------------------- off_45CF87D0 DCD GetFreeBytesOnHeap+1 ; DATA XREF: sub_45CF87CCr ; int GetFreeBytesOnHeap( void ); ; =============== S U B R O U T I N E ======================================= sub_45CF87D4: ; CODE XREF: sub_45CF8560+20p LDR R3, off_45CF87D8 BX R3 ; void REQUEST_DATEANDTIME_GET( const int* sync, DATETIME* dt ); ; End of function sub_45CF87D4 ; --------------------------------------------------------------------------- off_45CF87D8 DCD REQUEST_DATEANDTIME_GET+1 ; DATA XREF: sub_45CF87D4r ; void REQUEST_DATEANDTIME_GET( const int* sync, DATETIME* dt ); ; =============== S U B R O U T I N E ======================================= sub_45CF87DC: ; CODE XREF: sub_45CF8560+28p LDR R3, off_45CF87E0 BX R3 ; int REQUEST_PROFILE_GETACTIVEPROFILE( const int* sync, int* level ); ; End of function sub_45CF87DC ; --------------------------------------------------------------------------- off_45CF87E0 DCD REQUEST_PROFILE_GETACTIVEPROFILE+1 ; DATA XREF: sub_45CF87DCr ; int REQUEST_PROFILE_GETACTIVEPROFILE( const int* sync, int* level ); ; =============== S U B R O U T I N E ======================================= sub_45CF87E4: ; CODE XREF: sub_45CF8560+36p LDR R3, off_45CF87E8 BX R3 ; int REQUEST_SETTING_SILENCE_GET( const int* sync, u16 profile, char* silence_mode ); ; End of function sub_45CF87E4 ; --------------------------------------------------------------------------- off_45CF87E8 DCD REQUEST_SETTING_SILENCE_GET+1 ; DATA XREF: sub_45CF87E4r ; int REQUEST_SETTING_SILENCE_GET( const int* sync, u16 profile, char* silence_mode ); ; =============== S U B R O U T I N E ======================================= sub_45CF87EC: ; CODE XREF: sub_45CF8560+4Ep LDR R3, off_45CF87F0 BX R3 ; int Bluetooth_GetState( void ); ; End of function sub_45CF87EC ; --------------------------------------------------------------------------- off_45CF87F0 DCD Bluetooth_GetState+1 ; DATA XREF: sub_45CF87ECr ; int Bluetooth_GetState( void ); ; =============== S U B R O U T I N E ======================================= sub_45CF87F4: ; CODE XREF: sub_45CF8560+5Ap ; FUNCTION CHUNK AT 453E6124 SIZE 00000006 BYTES LDR R3, off_45CF87F8 BX R3 ; int PHF_GetState( void ); ; End of function sub_45CF87F4 ; --------------------------------------------------------------------------- off_45CF87F8 DCD PHF_GetState+1 ; DATA XREF: sub_45CF87F4r ; int PHF_GetState( void ); ; =============== S U B R O U T I N E ======================================= sub_45CF87FC: ; CODE XREF: sub_45CF8560+6Ep ; FUNCTION CHUNK AT 4423DB64 SIZE 00000006 BYTES LDR R3, off_45CF8800 BX R3 ; int GetChipID( void ); ; End of function sub_45CF87FC ; --------------------------------------------------------------------------- off_45CF8800 DCD GetChipID+1 ; DATA XREF: sub_45CF87FCr ; int GetChipID( void ); ; =============== S U B R O U T I N E ======================================= sub_45CF8804: ; CODE XREF: sub_45CF8560+D6p ; sub_45CF8560+E0p LDR R3, off_45CF8808 BX R3 ; int GetVolumeSize( wchar_t* root_folder, VOLUMESIZE* ); ; End of function sub_45CF8804 ; --------------------------------------------------------------------------- off_45CF8808 DCD GetVolumeSize+1 ; DATA XREF: sub_45CF8804r ; int GetVolumeSize( wchar_t* root_folder, VOLUMESIZE* ); ; =============== S U B R O U T I N E ======================================= sub_45CF880C: ; CODE XREF: sub_45CF8560+ECp LDR R3, off_45CF8810 BX R3 ; int GetBatteryState( void* unused, BATT* ); ; End of function sub_45CF880C ; --------------------------------------------------------------------------- off_45CF8810 DCD GetBatteryState+1 ; DATA XREF: sub_45CF880Cr ; int GetBatteryState( void* unused, BATT* ); ; =============== S U B R O U T I N E ======================================= sub_45CF8814: ; CODE XREF: sub_45CF8560+F4p LDR R3, off_45CF8818 BX R3 ; int GPRS_GetLastSessionInfo( int, GPRS_SESSION_INFO* ); ; End of function sub_45CF8814 ; --------------------------------------------------------------------------- off_45CF8818 DCD GPRS_GetLastSessionInfo+1 ; DATA XREF: sub_45CF8814r ; int GPRS_GetLastSessionInfo( int, GPRS_SESSION_INFO* ); ; =============== S U B R O U T I N E ======================================= sub_45CF881C: ; CODE XREF: sub_45CF8560+FAp LDR R3, off_45CF8820 BX R3 ; int Display_GetBrightness( int display ); ; End of function sub_45CF881C ; --------------------------------------------------------------------------- off_45CF8820 DCD Display_GetBrightness+1 ; DATA XREF: sub_45CF881Cr ; int Display_GetBrightness( int display ); ; =============== S U B R O U T I N E ======================================= sub_45CF8824: ; CODE XREF: sub_45CF8560+102p LDR R3, off_45CF8828 BX R3 ; int Display_GetHeight( int display ); ; End of function sub_45CF8824 ; --------------------------------------------------------------------------- off_45CF8828 DCD Display_GetHeight+1 ; DATA XREF: sub_45CF8824r ; int Display_GetHeight( int display ); ; =============== S U B R O U T I N E ======================================= sub_45CF882C: ; CODE XREF: sub_45CF8560+10Ap LDR R3, off_45CF8830 BX R3 ; int Display_GetWidth( int display ); ; End of function sub_45CF882C ; --------------------------------------------------------------------------- off_45CF8830 DCD Display_GetWidth+1 ; DATA XREF: sub_45CF882Cr ; int Display_GetWidth( int display ); ; =============== S U B R O U T I N E ======================================= sub_45CF8834: ; CODE XREF: sub_45CF8560+1ECp PUSH {R3} LDR R3, off_45CF8840 MOV R12, R3 POP {R3} BX R12 ; int snwprintf( wchar_t* buffer, int size, const wchar_t* fmt, ... ); ; End of function sub_45CF8834 ; --------------------------------------------------------------------------- NOP ; --------------------------------------------------------------------------- off_45CF8840 DCD snwprintf+1 ; DATA XREF: sub_45CF8834+2r ; int snwprintf( wchar_t* buffer, int size, const wchar_t* fmt, ... ); ; =============== S U B R O U T I N E ======================================= sub_45CF8844: ; CODE XREF: sub_45CF8560+1F8p LDR R3, off_45CF8848 BX R3 ; int textidname2id( const wchar_t* idname, int maxnamelen, TEXTID* id ); ; End of function sub_45CF8844 ; --------------------------------------------------------------------------- off_45CF8848 DCD textidname2id+1 ; DATA XREF: sub_45CF8844r ; int textidname2id( const wchar_t* idname, int maxnamelen, TEXTID* id ); ; =============== S U B R O U T I N E ======================================= sub_45CF884C: ; CODE XREF: sub_45CF8560+202p LDR R3, off_45CF8850 BX R3 ; TEXTID TextID_Create( const void* wstr, TEXT_ENCODING flag, int len ); ; End of function sub_45CF884C ; --------------------------------------------------------------------------- off_45CF8850 DCD TextID_Create+1 ; DATA XREF: sub_45CF884Cr ; TEXTID TextID_Create( const void* wstr, TEXT_ENCODING flag, int len ); ; =============== S U B R O U T I N E ======================================= sub_45CF8854: ; CODE XREF: sub_45CF8560+216p PUSH {R3} LDR R3, off_45CF8860 MOV R12, R3 POP {R3} BX R12 ; int MessageBox( TEXTID header_text, TEXTID message_text, IMAGEID, int style, int time, BOOK* book ); ; End of function sub_45CF8854 ; --------------------------------------------------------------------------- NOP ; --------------------------------------------------------------------------- off_45CF8860 DCD MessageBox+1 ; DATA XREF: sub_45CF8854+2r ; int MessageBox( TEXTID header_text, TEXTID message_text, IMAGEID, int style, int time, BOOK* book ); ; =============== S U B R O U T I N E ======================================= sub_45CF8864: ; CODE XREF: ROM:45CF87BEp ; FUNCTION CHUNK AT 45483C08 SIZE 0000000C BYTES LDR R3, off_45CF8868 BX R3 ; End of function sub_45CF8864 ; --------------------------------------------------------------------------- off_45CF8868 DCD addr+1 ; DATA XREF: sub_45CF8864r align 4 aMenu_phone_sta du 0, 'MENU_PHONE_STATUS_TXT',0 ; DATA XREF: sub_45CF8560+1F6o aNormal DCB "Normal",0 ; DATA XREF: ROM:off_45CF88D8o aMeeting DCB "Meeting",0 ; DATA XREF: ROM:45CF88DCo aInCar DCB "In Car",0 ; DATA XREF: ROM:45CF88E0o aOutdoors DCB "Outdoors",0 ; DATA XREF: ROM:45CF88E4o aHandsfree DCB "Handsfree",0 ; DATA XREF: ROM:45CF88E8o aHome DCB "Home",0 ; DATA XREF: ROM:45CF88ECo aOffice DCB "Office",0 ; DATA XREF: ROM:45CF88F0o align 4 off_45CF88D8 DCD aNormal ; DATA XREF: ROM:off_45CF8784o ; "Normal" DCD aMeeting ; "Meeting" DCD aInCar ; "In Car" DCD aOutdoors ; "Outdoors" DCD aHandsfree ; "Handsfree" DCD aHome ; "Home" DCD aOffice ; "Office" aConnected DCB "Connected",0 aDisconnected DCB "Disconnected",0 db 0 db 0 db 0 aCard_1 du '/card/',0 db 0xA aTpa_1 du '/tpa/',0 aPlatformDbDScr du '-Platform: DB%d' db 0xA du '-Screen size: %dx%d' db 0xA du '-Brightness: %d%%' db 0xA du '-Battery: %d%%' db 0xA du '-Temperature: %dш' aCBatteryTempD du 'C' db 0xA du '-Battery temp: %dш' aCBtStateSHeapD du 'C' db 0xA du '-BT state: %s' db 0xA du '-Heap: %d Kb' db 0xA du '-Silent mode: %s' db 0xA du '-Headsets state: %s' db 0xA du '-Profile: %s' db 0xA du '-Date and Time: %02d/%02d/%02d - %02d:%02d:%02d' db 0xA db 0xA du '----Memory stick----' db 0xA du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA du '----Phone memory----' db 0xA du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA du '-GPRS last session info-' db 0xA du 'Bytes sent: %d Kb' db 0xA du 'Bytes recieved: %d Kb',0 |
RaANdOoM: |
29.11.11, 23:44 |
Neodzen, хмм, не заметил... не db 0xA, а наверное все таки dh 0xA. Unicode же - уж точно не 1 байт на символ. |
MNS81: |
30.11.11, 01:28 |
Neodzen, писал: du '-Total size: %d Mb' db 0xA du '-Free space: %d Mb' db 0xA du '-Used memory: %d Mb' db 0xA db 0xA А так? Код: du '-Total size: %d Mb',0xA du '-Free space: %d Mb',0xA du '-Used memory: %d Mb',0xA,0xA |
Neodzen: |
30.11.11, 21:20 |
RaANdOoM, ну респектище те огромное, все заработало как надо MNS81, по твоему способу получается аналогичный с радномом патч. |
Страница 7 из 7: « 1 ... 3 4 5 6 [7] |
URL этой темы: https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=4457&start=60 © 2005-2018 supertrubka.org |