Cita:
Iniciado por barrigaverde
santi escelente aportacion lo he revisado y no me sale tan claro como has descomprimido o es que has hecho un desensamblado??
|
No es un desensamblado, simplemente un análisis en busca de las posiciones en las que se encuentran los comandos de respuesta del mando
Dichos comandos en hex se obtienen inicialmente copiandolos del mando con el [B]"WinLIRC"[/B] al igual que hicieron para portarlo al "MOD" y una vez encontrados, sustituirlos por los que nos interesan.
Aqui tenéis los del ultimo firm de Truman
[CODE]
---------------------------------------------------------------------------
"Truman_EMU_1.3.63_AMSTAR_maincode(AV)_lzma-Unpack.bin" // MANDO TRUMAN
---------------------------------------------------------------------------
0x13E358: AF 50 02 02 18 00 00 00 --> $AF50 (1010111101010000) ; POWER
0x13E360: 0F F0 02 02 15 00 00 00 --> $0FF0 (0000111111110000) ; MUTE
0x13E368: 7F 80 02 02 01 00 00 00 --> $7F80 (0111111110000000) ; 1
0x13E370: BF 40 02 02 02 00 00 00 --> $BF40 (1011111101000000) ; 2
0x13E378: 3F C0 02 02 03 00 00 00 --> $3FC0 (0011111111000000) ; 3
0x13E380: DF 20 02 02 04 00 00 00 --> $DF20 (1101111100100000) ; 4
0x13E388: 5F A0 02 02 05 00 00 00 --> $5FA0 (0101111110100000) ; 5
0x13E390: 9F 60 02 02 06 00 00 00 --> $9F60 (1001111101100000) ; 6
0x13E398: 1F E0 02 02 07 00 00 00 --> $1FE0 (0001111111100000) ; 7
0x13E3A0: EF 10 02 02 08 00 00 00 --> $EF10 (1110111100010000) ; 8
0x13E3A8: 6F 90 02 02 09 00 00 00 --> $6F90 (0110111110010000) ; 9
0x13E3B0: 5D A2 02 02 35 00 00 00 --> $FF00 (0101110110100010) ; PAUSE
0x13E3B8: FF 00 02 02 00 00 00 00 --> $5DA2 (1111111100000000) ; 0
0x13E3C0: 47 B8 02 02 2C 00 00 00 --> $47B8 (0100011110111000) ; RECALL
0x13E3C8: 97 68 02 02 2B 00 00 00 --> $9768 (1001011101101000) ; FAV
0x13E3D0: FD 02 02 02 0E 00 00 00 --> $FD02 (1111110100000010) ; MENU
0x13E3D8: A7 58 02 02 26 00 00 00 --> $A758 (1010011101011000) ; INFO
0x13E3E0: BD 42 02 02 34 00 00 00 --> $BD42 (1011110101000010) ; EPG
0x13E3E8: 17 E8 02 02 29 00 00 00 --> $17E8 (0001011111101000) ; ?????
0x13E3F0: 7D 82 02 02 10 00 00 00 --> $7D82 (0111110110000010) ; EXIT
0x13E3F8: 2F D0 02 02 0C 00 00 00 --> $2FD0 (0010111111010000) ; CH-UP
0x13E400: F7 08 02 02 0A 00 00 00 --> $F708 (1111011100001000) ; V+
0x13E408: 4F B0 02 02 0F 00 00 00 --> $4FB0 (0100111110110000) ; OK
0x13E410: 77 88 02 02 0B 00 00 00 --> $7788 (0111011110001000) ; V-
0x13E418: 57 A8 02 02 17 00 00 00 --> $57A8 (0101011110101000) ; VERDE - TV/RADIO
0x13E420: 8F 70 02 02 0D 00 00 00 --> $8F70 (1000111101110000) ; CH-DOWN
0x13E428: C7 38 02 02 2A 00 00 00 --> $C738 (1100011100111000) ; ?????
0x13E430: 07 F8 02 02 1D 00 00 00 --> $07F8 (0000011111111000) ; P+
0x13E438: 1D E2 02 02 2D 00 00 00 --> $1DE2 (0001110111100010) ; ?????
0x13E440: 87 78 02 02 1E 00 00 00 --> $8778 (1000011101111000) ; P-
0x13E448: CF 30 02 02 16 00 00 00 --> $CF30 (1100111100110000) ; ?????
0x13E450: E7 18 02 02 39 00 00 00 --> $E718 (1110011100011000) ; ?????
0x13E458: 67 98 02 02 30 00 00 00 --> $6798 (0110011110011000) ; ?????
0x13E460: B7 48 02 02 47 00 00 00 --> $B748 (1011011101001000) ; ?????
0x13E468: 37 C8 02 02 33 00 00 00 --> $37C8 (0011011111001000) ; ?????
0x13E470: 27 D8 02 02 3D 00 00 00 --> $27D8 (0010011111011000) ; M/P
0x13E478: D7 28 02 02 44 00 00 00 --> $D728 (1101011100101000) ; ?????
0x13E480: DD 22 02 02 28 00 00 00 --> $DD22 (1101110100100010) ; ?????
0x13E488: 01 00 FF FF 0C 00 00 00 --> $0100 (0000000100000000) ; ?????
0x13E490: 02 00 FF FF 0A 00 00 00 --> $0200 (0000001000000000) ; ?????
0x13E498: 20 00 FF FF 0E 00 00 00 --> $2000 (0010000000000000) ; ?????
0x13E4A0: 04 00 FF FF 0B 00 00 00 --> $0400 (0000010000000000) ; ?????
0x13E4A8: 10 00 FF FF 0F 00 00 00 --> $1000 (0001000000000000) ; ?????
0x13E4B0: 08 00 FF FF 0D 00 00 00 --> $0800 (0000100000000000) ; ?????
0x13E4B8: 80 00 FF FF 18 00 00 00 --> $8000 (1000000000000000) ; ?????
0x13E4C0: 40 00 FF FF 10 00 00 00 --> $4000 (0100000000000000) ; ?????
---------------------------------------------------------------------------
[/CODE]
y si comparamos las dos tablas seria algo asi:
Código:
0x106D20: [B][COLOR="Blue"]1E[/COLOR][COLOR="Cyan"] 01[/COLOR] 00 00 [COLOR="Lime"]18 [/COLOR]00 00 00[/B] --> $1E (00011110) ; POWER // SL65
0x13E358: [B][COLOR="Blue"]AF 50[/COLOR] [COLOR="Cyan"]02 02[/COLOR] [COLOR="Lime"]18[/COLOR] 00 00 00[/B] --> $AF50 (1010111101010000) ; POWER // TRUMAN
[COLOR="Blue"]1E[/COLOR] -> Código hex IR
[COLOR="Cyan"]01[/COLOR] -> Numero de Bytes ??
[COLOR="Lime"]18 [/COLOR] -> Función del Código