From 690dde90262171bb9015a828a20caecf44631869 Mon Sep 17 00:00:00 2001 From: ReikoKitsune Date: Thu, 7 Apr 2016 21:18:22 +0300 Subject: [PATCH] Added new patches. --- src/NFirmwareEditor/NFirmwareEditor.csproj | 12 + .../Evic VTC Mini 3.01/3.01_logo_bt_alt.patch | 132 ++++++++ .../3.00_Presa75_batt_prc.patch | 304 ++++++++++++++++++ .../Presa TC75W 3.00/3.00_Presa75_ch2.patch | 98 ++++++ .../Presa TC75W 3.00/3.00_Presa75_chpic.patch | 41 +++ 5 files changed, 587 insertions(+) create mode 100644 src/NFirmwareEditor/Patches/Evic VTC Mini 3.01/3.01_logo_bt_alt.patch create mode 100644 src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_batt_prc.patch create mode 100644 src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_ch2.patch create mode 100644 src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_chpic.patch diff --git a/src/NFirmwareEditor/NFirmwareEditor.csproj b/src/NFirmwareEditor/NFirmwareEditor.csproj index 8e6019b..55dabc4 100644 --- a/src/NFirmwareEditor/NFirmwareEditor.csproj +++ b/src/NFirmwareEditor/NFirmwareEditor.csproj @@ -222,6 +222,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest @@ -258,6 +261,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest @@ -270,6 +276,12 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + PreserveNewest diff --git a/src/NFirmwareEditor/Patches/Evic VTC Mini 3.01/3.01_logo_bt_alt.patch b/src/NFirmwareEditor/Patches/Evic VTC Mini 3.01/3.01_logo_bt_alt.patch new file mode 100644 index 0000000..d13ff39 --- /dev/null +++ b/src/NFirmwareEditor/Patches/Evic VTC Mini 3.01/3.01_logo_bt_alt.patch @@ -0,0 +1,132 @@ + + Adds battery voltage, board temperature and 64x104 picture to the charge screen. Отображение при заряде над иконкой батареи текущего напряжения аккумулятора и температуры платы, а также добавление выше произвольного рисунка 64x104 пикселей. + +# eVic_VTC_Mini_V3.01.bin # +# Logo, battery voltage, # +# temperature on charge # +# Branch to additional drawing +5C7C: FF - 06 +5C7D: F7 - F0 +5C7E: 4C - A2 +5C7F: F8 - BA +# Draw battery symbol +C1C4: 00 - F8 +C1C5: 00 - F7 +C1C6: 00 - A8 +C1C7: 00 - FD +# Draw logo +C1C8: 00 - E3 ; logo charcode +C1C9: 00 - 22 +C1CA: 00 - 00 ; logo pos Y +C1CB: 00 - 21 +C1CC: 00 - 00 ; logo pos X +C1CD: 00 - 20 +C1CE: 00 - F8 +C1CF: 00 - F7 +C1D0: 00 - A3 +C1D1: 00 - FD +C1D2: 00 - 30 +C1D3: 00 - E7 +# Long branch to batt/temp +C036: 00 - FE +C037: 00 - F7 +C038: 00 - E6 +C039: 00 - BB +# Batt/temp +A806: FF - 1C +A807: D2 - B4 +A808: 4B - 11 +A809: FF - 48 +A80A: FE - 0B +A80B: 80 - 21 +A80C: 01 - 03 +A80D: 0F - 22 +A80E: FF - CD +A80F: C9 - E9 +A810: 93 - 00 +A811: FF - 12 +A812: F0 - 02 +A813: 80 - 23 +A814: 00 - 02 +A815: 01 - 88 +A816: FF - 69 ; voltage pos Y +A817: E8 - 21 +A818: 17 - 02 ; voltage pos X +A819: FF - 20 +A81A: 80 - FA +A81B: 00 - F7 +A81C: 00 - 99 +A81D: 00 - FA +A81E: 7F - 67 ; V charcode +A81F: E4 - 22 +A820: 27 - 6A ; V pos Y +A821: FE - 21 +A822: 00 - 18 ; V pos X +A823: 00 - 20 +A824: 00 - FA +A825: 00 - F7 +A826: 0F - 78 +A827: F3 - FA +A828: CF - 0A +A829: F0 - 48 +A82A: 00 - 0B +A82B: 00 - 21 +A82C: 00 - 02 +A82D: 00 - 22 +A82E: 03 - CD +A82F: F8 - E9 +A830: 1F - 00 +A831: C0 - 12 +A832: 00 - 00 +A833: 00 - 23 +A834: 00 - 02 +A835: 00 - 78 +A836: 00 - 69 ; temperature pos Y +A837: 7C - 21 +A838: 3E - 27 ; temperature pos X +A839: 00 - 20 +A83A: 00 - FA +A83B: 00 - F7 +A83C: 00 - 89 +A83D: 00 - FA +A83E: 00 - 54 ; 'C charcode +A83F: 07 - 22 +A840: F0 - 6A ; 'C pos Y +A841: 00 - 21 +A842: 00 - 35 ; 'C pos X +A843: 00 - 20 +A844: 00 - FA +A845: 00 - F7 +A846: 00 - 68 +A847: 0F - FA +A848: F8 - 1C +A849: 00 - BC +A84A: 00 - FB +A84B: 00 - F7 +A84C: 00 - 19 +A84D: 00 - BA +A850: FC - 56 +A851: 00 - 00 +A852: 00 - 00 +A853: 00 - 20 +A854: 00 - 42 +A855: 00 - 00 +A856: 00 - 00 +A857: 3F - 20 + +# Pointers to logos (charcode E3) +C55C: 11 - D0 +C55D: C0 - C9 +ACAC: 62 - 12 +ACAD: A7 - CD + +# Add logo 64x104 +C9D0: null - 40 +C9D1: null - 68 +CD11: null - 00 ; logo 1 end + +CD12: null - 40 +CD13: null - 68 +D053: null - 00 ; logo 2 end + + \ No newline at end of file diff --git a/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_batt_prc.patch b/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_batt_prc.patch new file mode 100644 index 0000000..4d482b9 --- /dev/null +++ b/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_batt_prc.patch @@ -0,0 +1,304 @@ + + Adds percentage value to the battery icon. Изменение стиля значка аккумулятора с добавлением значения уровня заряда в процентах. + +00005A2E: AE - 00 +00005A2F: 22 - BF +00005A30: 04 - 00 +00005A31: E0 - BF +00005A32: 81 - 05 +00005A33: 02 - F0 +00005A34: 08 - 2A +00005A35: D5 - BD +00005A3A: AF - C9 +00005A42: 08 - 1F +00005A48: AE - C8 +00005A4C: 08 - 1F +00005A5E: 09 - 20 +00005A62: 80 - 40 +00005A66: 7C - 7B +00005A6A: 0A - 21 +0000952E: 1F - 1A +00009534: 00 - FF +00009535: 00 - FF +00009536: 00 - FF +00009538: FF - 80 +00009539: FF - 00 +0000953A: FF - 01 +0000953B: F8 - 00 +0000953E: 00 - 01 +0000953F: 08 - 00 +00009543: 08 - 80 +00009547: 04 - C0 +0000954B: 06 - C0 +0000954F: 06 - 80 +00009552: 00 - 01 +00009553: 06 - 00 +00009556: 00 - 01 +00009557: 04 - 00 +00009558: 80 - FF +00009559: 00 - FF +0000955A: 00 - FF +0000955B: 08 - 00 +0000955C: 80 - 00 +0000955F: 08 - 00 +00009560: FF - 00 +00009561: FF - 00 +00009562: FF - 00 +00009563: F8 - 00 +00009570: 1F - 1A +00009576: 00 - FF +00009577: 00 - FF +00009578: 00 - FF +0000957A: FF - 80 +0000957B: FF - 09 +0000957C: FF - 01 +0000957D: F8 - 00 +0000957E: 80 - BF +0000957F: 00 - F3 +00009580: 00 - FD +00009581: 08 - 00 +00009583: FF - E7 +00009584: FF - FC +00009585: E8 - 80 +00009587: FE - C0 +00009588: FF - FC +00009589: E4 - C0 +0000958B: FD - 81 +0000958C: FF - FC +0000958D: E6 - C0 +0000958F: F8 - F3 +00009590: 7F - FC +00009591: E6 - 80 +00009593: FE - E7 +00009594: FF - FD +00009595: E6 - 00 +00009596: BF - 80 +00009597: FD - 48 +00009598: FF - 01 +00009599: E4 - 00 +0000959A: BF - FF +0000959D: E8 - 00 +0000959E: 80 - 00 +000095A1: 08 - 00 +000095A2: FF - 00 +000095A3: FF - 00 +000095A4: FF - 00 +000095A5: F8 - 00 +0000AE95: 1F - 1A +0000AE97: FC - FE +0000AE98: 04 - 02 +0000AE99: 04 - 02 +0000AE9A: 04 - 02 +0000AE9B: 04 - 02 +0000AE9C: 04 - 02 +0000AE9D: 04 - 02 +0000AE9E: 04 - 02 +0000AE9F: 04 - 02 +0000AEA0: 04 - 02 +0000AEA1: 04 - 02 +0000AEA2: 04 - 02 +0000AEA3: 04 - 02 +0000AEA4: 04 - 02 +0000AEA5: 04 - 02 +0000AEA6: 04 - 02 +0000AEA7: 04 - 02 +0000AEA8: 04 - 02 +0000AEA9: 04 - 02 +0000AEAA: 04 - 02 +0000AEAB: 04 - 02 +0000AEAC: 04 - 02 +0000AEAD: 04 - 02 +0000AEAE: 04 - 0E +0000AEAF: 04 - F0 +0000AEB0: 04 - 60 +0000AEB1: 04 - 07 +0000AEB3: 1C - 04 +0000AEB4: E0 - 04 +0000AEB5: C0 - 04 +0000AEB6: 1F - 04 +0000AEB7: 10 - 04 +0000AEB8: 10 - 04 +0000AEB9: 10 - 04 +0000AEBA: 10 - 04 +0000AEBB: 10 - 04 +0000AEBC: 10 - 04 +0000AEBD: 10 - 04 +0000AEBE: 10 - 04 +0000AEBF: 10 - 04 +0000AEC0: 10 - 04 +0000AEC1: 10 - 04 +0000AEC2: 10 - 04 +0000AEC3: 10 - 04 +0000AEC4: 10 - 04 +0000AEC5: 10 - 04 +0000AEC6: 10 - 04 +0000AEC7: 10 - 04 +0000AEC8: 10 - 07 +0000AEC9: 10 - 00 +0000AECA: 10 - 00 +0000AECB: 10 - 04 +0000AECC: 10 - 04 +0000AECD: 10 - 07 +0000AECE: 10 - 00 +0000AECF: 10 - 00 +0000AED0: 10 - 00 +0000AED1: 10 - 00 +0000AED2: 1C - 00 +0000AED3: 03 - 00 +0000AED4: 01 - 00 +0000AED5: 1F - 1A +0000AED7: FC - FE +0000AED8: 04 - 02 +0000AED9: F4 - FA +0000AEDA: F4 - FA +0000AEDB: F4 - FA +0000AEDC: F4 - FA +0000AEDD: F4 - FA +0000AEDE: F4 - FA +0000AEDF: F4 - FA +0000AEE0: F4 - BA +0000AEE1: F4 - 9A +0000AEE2: F4 - 8A +0000AEE3: F4 - 06 +0000AEE4: 74 - 12 +0000AEE5: 34 - 9A +0000AEE6: 54 - DE +0000AEE7: 74 - FA +0000AEE8: F4 - FA +0000AEE9: F4 - FA +0000AEEA: F4 - FA +0000AEEB: F4 - FA +0000AEEC: F4 - FA +0000AEED: F4 - 02 +0000AEEE: F4 - 0E +0000AEEF: F4 - F0 +0000AEF0: F4 - 60 +0000AEF1: F4 - 07 +0000AEF3: 1C - 05 +0000AEF4: E0 - 05 +0000AEF5: C0 - 05 +0000AEF6: 1F - 05 +0000AEF7: 10 - 05 +0000AEF8: 17 - 05 +0000AEF9: 17 - 05 +0000AEFA: 17 - 07 +0000AEFB: 17 - 05 +0000AEFC: 17 - 04 +0000AEFD: 17 - 06 +0000AEFE: 17 - 05 +0000AEFF: 17 - 05 +0000AF00: 17 - 05 +0000AF01: 17 - 05 +0000AF02: 17 - 05 +0000AF03: 17 - 05 +0000AF04: 15 - 05 +0000AF05: 16 - 05 +0000AF06: 17 - 05 +0000AF07: 17 - 04 +0000AF08: 17 - 07 +0000AF09: 17 - 00 +0000AF0A: 17 - 00 +0000AF0B: 17 - 05 +0000AF0C: 17 - 04 +0000AF0D: 17 - 07 +0000AF0E: 17 - 00 +0000AF0F: 17 - 00 +0000AF10: 17 - 00 +0000AF11: 10 - 00 +0000AF12: 1C - 00 +0000AF13: 03 - 00 +0000AF14: 01 - 00 +0000B280: FF - 1F +0000B281: FF - B4 +0000B282: FF - 15 +0000B283: FF - 20 +0000B284: FF - 75 +0000B285: FF - 21 +0000B286: FF - AC +0000B287: FF - 22 +0000B288: FF - F9 +0000B289: FF - F7 +0000B28A: FF - B6 +0000B28B: FF - FB +0000B28C: FF - 0E +0000B28D: FF - 20 +0000B28E: FF - 75 +0000B28F: FF - 21 +0000B290: FF - 0B +0000B291: FF - 22 +0000B292: FF - F9 +0000B293: FF - F7 +0000B294: 7F - B1 +0000B295: 7F - FB +0000B296: 3F - 0B +0000B297: 3F - 48 +0000B298: 1F - 02 +0000B299: 1F - 78 +0000B29A: 0F - 00 +0000B29B: 07 - 2A +0000B29C: 03 - 0F +0000B29D: 01 - D0 +0000B29E: 00 - 0A +0000B29F: 00 - 2A +0000B2A0: 00 - 08 +0000B2A1: 00 - D1 +0000B2A2: 00 - 75 +0000B2A3: 00 - 21 +0000B2A4: 00 - 08 +0000B2A5: 00 - 20 +0000B2A6: 00 - 0B +0000B2A7: 00 - 22 +0000B2A8: 00 - F9 +0000B2A9: 00 - F7 +0000B2AA: 00 - A6 +0000B2AB: 00 - FB +0000B2AC: 00 - 0C +0000B2AD: 00 - 22 +0000B2AE: 00 - 75 +0000B2AF: 00 - 21 +0000B2B0: 00 - 02 +0000B2B1: 00 - 20 +0000B2B2: 00 - 02 +0000B2B3: 00 - E0 +0000B2B4: 00 - 0B +0000B2B5: 00 - 32 +0000B2B6: 00 - 75 +0000B2B7: 00 - 21 +0000B2B8: 00 - 08 +0000B2B9: 01 - 20 +0000B2BA: 01 - F9 +0000B2BB: 01 - F7 +0000B2BC: 01 - 9D +0000B2BD: 03 - FB +0000B2BE: 03 - 1F +0000B2BF: 03 - BC +0000B2C0: 03 - 00 +0000B2C1: 03 - F0 +0000B2C2: 03 - E5 +0000B2C3: 03 - B8 +0000B2C4: 03 - 47 +0000B2C5: 03 - 00 +0000B2C6: 03 - 00 +0000B2C7: 03 - 20 +0000B48A: 03 - FF +0000B48B: 04 - F7 +0000B48C: 08 - F9 +0000B48D: 09 - BE +0000B48E: 0F - 81 +0000B48F: 00 - 02 +0000B490: 08 - 7A +0000B491: 0F - F5 +0000B492: 08 - DA +0000B493: 00 - AA +0000B494: 0F - C0 +0000B495: 02 - 04 +0000B496: 02 - 7A +0000B497: 02 - F5 +0000B498: 0F - D7 +0000B499: 00 - AA +0000B49A: 0F - FA +0000B49B: 00 - F7 +0000B49C: 01 - CE +0000B49D: 06 - BA + + \ No newline at end of file diff --git a/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_ch2.patch b/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_ch2.patch new file mode 100644 index 0000000..702b180 --- /dev/null +++ b/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_ch2.patch @@ -0,0 +1,98 @@ + + Adds battery voltage and PCB temperature to the charge screen. Отображение при заряде над иконкой батареи текущего напряжения аккумулятора и температуры платы. + +# Presa_TC75W_V3.00.bin # +# Battery voltage, # +# temperature on charge # +# Branch to additional drawing +5958: FF - 05 +5959: F7 - F0 +595A: 4E - 43 +595B: F8 - BD +# Batt/temp +B3E2: 00 - F9 +B3E3: 00 - F7 +B3E4: 00 - 09 +B3E5: 00 - FB +B3E6: 00 - 1C +B3E7: 00 - B4 +B3E8: 00 - 11 +B3E9: 00 - 48 +B3EA: 00 - 0B +B3EB: 00 - 21 +B3EC: 00 - 03 +B3ED: 00 - 22 +B3EE: 00 - CD +B3EF: 00 - E9 +B3F0: 00 - 00 +B3F1: 00 - 12 +B3F2: 00 - 02 +B3F3: 00 - 23 +B3F4: 00 - 02 +B3F5: 00 - 88 +B3F6: 00 - 69 ; voltage pos Y +B3F7: 00 - 21 +B3F8: 00 - 02 ; voltage pos X +B3F9: 00 - 20 +B3FA: 00 - F9 +B3FB: 10 - F7 +B3FC: 38 - 19 +B3FD: 7E - FB +B3FE: 7F - 67 ; V charcode +B3FF: FF - 22 +B400: FF - 69 ; V pos Y +B401: FF - 21 +B402: FF - 18 ; V pos X +B403: FF - 20 +B404: FF - F9 +B405: FF - F7 +B406: FF - F8 +B407: FF - FA +B408: FF - 0A +B409: FF - 48 +B40A: FF - 0B +B40B: FF - 21 +B40C: FF - 02 +B40D: FF - 22 +B40E: FF - CD +B40F: 7E - E9 +B410: 7C - 00 +B411: 38 - 12 +B412: 10 - 00 +B413: 00 - 23 +B414: 00 - 02 +B415: 00 - 78 +B416: 00 - 69 ; temperature pos Y +B417: 00 - 21 +B418: 00 - 27 ; temperature pos X +B419: 00 - 20 +B41A: 00 - F9 +B41B: 00 - F7 +B41C: 00 - 09 +B41D: 00 - FB +B41E: 00 - 54 ; 'C charcode +B41F: 00 - 22 +B420: 00 - 69 ; 'C pos Y +B421: 00 - 21 +B422: 00 - 35 ; 'C pos X +B423: 00 - 20 +B424: 00 - F9 +B425: 00 - F7 +B426: 00 - E8 +B427: 00 - FA +B428: 00 - 1C +B429: 00 - BC +B42A: 70 - FA +B42B: 80 - F7 +B42C: 00 - 97 +B42D: 80 - BA +B430: 00 - 56 +B431: E0 - 00 +B432: 30 - 00 +B433: E0 - 20 +B434: 00 - 42 +B435: 00 - 00 +B436: F0 - 00 +B437: 10 - 20 + + \ No newline at end of file diff --git a/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_chpic.patch b/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_chpic.patch new file mode 100644 index 0000000..987473f --- /dev/null +++ b/src/NFirmwareEditor/Patches/Presa TC75W 3.00/3.00_Presa75_chpic.patch @@ -0,0 +1,41 @@ + + Adds 64x104 logo to the charge screen. Добавляет изображение 64x104 на экране зарядки. + +00005954: 73 - 05 +00005955: 21 - F0 +00005956: 08 - BC +00005957: 20 - BC +0000B2D0: 01 - 73 +0000B2D1: 01 - 21 +0000B2D2: 00 - 08 +0000B2D3: 00 - 20 +0000B2D4: 00 - F9 +0000B2D5: 00 - F7 +0000B2D6: 00 - 90 +0000B2D7: 00 - FB +0000B2D9: 00 - 20 +0000B2DB: 00 - 21 +0000B2DC: 00 - E1 +0000B2DD: 00 - 22 +0000B2DE: 00 - FA +0000B2DF: 00 - F7 +0000B2E0: 00 - 3B +0000B2E1: 00 - BB + +# Pointers to logos (charcode E1) +B828: E5 - 50 +B829: B2 - BC +9F94: 50 - 92 +9F95: 9A - BF + +# Add logo 64x104 +BC50: null - 40 +BC51: null - 68 +BF91: null - 00 ; logo 1 end + +BF92: null - 40 +BF93: null - 68 +C2D3: null - 00 ; logo 2 end + + + \ No newline at end of file