Disassembly Write Up

Disassembly, Programming, Coding, Assembly, Binary information and all hacking discussions belong here.

Re: Disassembly Write Up

Unread postby decipha » Sun Jan 22, 2017 12:39 pm

a6d4 to a6e3 isnt code at all, go and xcode it in your dir file
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Tue Jan 24, 2017 4:18 am

got another bunch of "INV's"
would it be the samw deal here? not code at all?
Code: Select all
9695: 83,8c                       word 

9697: 05,08                       decw  R8             INT_MASK--;
9699: 76,87,8c                    ad2b  R8c,[R86++]    R8c += [R86++];
969c: 05,10                       decw  R10            HSO_IPEND1--;
969e: 76,2b,2a                    ad2b  R2a,[R2a++]    R2a += [R2a++];
96a1: 08,80,77                    shrw  R77,R80        R77 = R77 >> R80;
96a4: 84,73,07                    xrw   R7,R73         AD_TMD_CMD ^= R73;
96a7: 80,87,05                    orw   R5,R87         WD_TIMER |= R87;
96aa: 82,20,08                    orw   R8,[R20]       INT_MASK |= [STACK];
96ad: 20,23                       sjmp  96d2           goto 96d2;

96af: 05,22                       decw  R22            ALTSTACK--;
96b1: b0,06,41                    ldb   R41,R6         R41 = IO_TIMER;
96b4: 7a,04,10                    sb2b  R10,[R4]       HSO_IPEND1 -= [AD_LO];
96b7: 70,42,6a                    an2b  R6a,R42        R6a &= R42;
96ba: 04                          !INV!

96bb: 26,6e                       sjmp  952b           goto 952b;

96bd: 04                          !INV!

96be: 26,76                       sjmp  9536           goto 9536;

96c0: 04                          !INV!

96c1: 41,7b,04,80,82              an3w  R82,R80,47b    R82 = R80 & ACNTM;
96c6: 41,7c,04,20,82              an3w  R82,R20,47c    R82 = STACK & ACWTM;
96cb: 26,6c                       sjmp  9539           goto 9539;

96cd: 04                          !INV!

96ce: 89,26,04,80                 cmpw  R80,426       
96d2: 77,2b,fc,05,80              ad2b  R80,[R2a+5fc]  R80 += [R2a+5fc];
96d7: 77,81,27,04,40              ad2b  R40,[R80+427]  R40 += [R80+427];
96dc: 70,89,28                    an2b  R28,R89        R28 &= R89;
96df: 04                          !INV!

96e0: 01,70                       clrw  R70            R70 = 0;
96e2: 2b,2a                       scall 9a0e           9a0e();
96e4: 04                          !INV!

96e5: 01,70                       clrw  R70            R70 = 0;
96e7: 83,2e,04,40                 orw   R40,[R2e+4]    R40 |= [R2e+4];
96eb: 76,23,68                    ad2b  R68,[R22++]    R68 += [ALTSTACK++];
96ee: 04                          !INV!

96ef: 40,73,23,f2                 an3w  Rf2,R23,R73    Rf2 = R23 & R73;
96f3: 06,40                       sexw  R40            R40L = (long)R40;
96f5: 7e,41,16                    ml2b  R16,[R40++]    HSO_IMASK2 *= [R40++];
96f8: 05,80                       decw  R80            R80--;
96fa: 70,81,22                    an2b  R22,R81        ALTSTACK &= R81;
96fd: 05,20                       decw  R20            STACK--;
96ff: 77,81,25,04,20              ad2b  R20,[R80+425]  STACK += [R80+425];
9704: 70,83,60                    an2b  R60,R83        R60 &= R83;
9707: 04                          !INV!

9708: 01,77                       clrw  R77            R77 = 0;
970a: 40,f3,04,22                 an3w  R22,R4,Rf3     ALTSTACK = AD_LO & Rf3;
970e: 5c,04,83,c4                 ml3b  Rc4,R83,R4     Rc4W = R83B * AD_LOB;
9712: 04                          !INV!

9713: 40,91,23,c0                 an3w  Rc0,R23,R91    Rc0 = R23 & R91;
9717: 04                          !INV!

9718: 20,75                       sjmp  978f           goto 978f;

971a: 81,e4,06,40                 orw   R40,6e4        R40 |= 6e4;
971e: 7d,22,64                    ml2b  R64,22         R64 *= 22;
9721: 04                          !INV!

9722: 20,b2                       sjmp  97d6           goto 97d6;

9724: 05,80                       decw  R80            R80--;
9726: 9b,04,20,19                 cmpb  R19,[R4+20]   
972a: 05,22                       decw  R22            ALTSTACK--;
972c: 2c,04                       scall 9332           9332();
972e: 22,00                       sjmp  9930           goto 9930;

9730: 05,22                       decw  R22            ALTSTACK--;
9732: 02,05                       cplw  R5             WD_TIMER = ~WD_TIMER;
9734: 46,26,06,23                 ad3w  R23,R6,[R26]   R23 = IO_TIMER + [R26];
9738: 24,06                       sjmp  9340           goto 9340;

973a: 80,8e,23                    orw   R23,R8e        R23 |= R8e;
973d: 38,06,10                    jb    B0,R6,9750     if (B0_IO_TIMER) goto 9750;
9740: 8e,23,50                    divw  R50,[R22++]    R50 = R50L / [ALTSTACK++];
9743: 06,40                       sexw  R40            R40L = (long)R40;
9745: 8e,23,32                    divw  R32,[R22++]    R32 = R32L / [ALTSTACK++];
9748: 06,02                       sexw  R2             LSO_PORTL = (long)LSO_PORT;
974a: 88,23,2e                    cmpw  R2e,R23       
974d: 06,20                       sexw  R20            STACKL = (long)STACK;
974f: 8e,23,44                    divw  R44,[R22++]    R44 = R44L / [ALTSTACK++];
9752: 06,08                       sexw  R8             INT_MASKL = (long)INT_MASK;
9754: 8e,23,1e                    divw  R1e,[R22++]    HSO_LSLOT = HSO_LSLOTL / [ALTSTACK++];
9757: 06,40                       sexw  R40            R40L = (long)R40;
9759: 8b,23,52,06,04              cmpw  R4,[R22+652]   
975e: 70,23,56                    an2b  R56,R23        R56 &= R23;
9761: 06,40                       sexw  R40            R40L = (long)R40;
9763: 89,23,22,06                 cmpw  R6,2223       
9767: 40,8d,22,6a                 an3w  R6a,R22,R8d    R6a = ALTSTACK & R8d;
976b: 06,81                       sexw  R81            R81L = (long)R81;
976d: bb,06,08,81                 sbbb  R81,[R6+8]     R81 -= [IO_TIMER+8] - CY;
9771: 80,bc,06                    orw   R6,Rbc         IO_TIMER |= Rbc;
9774: 84,bf,06                    xrw   R6,Rbf         IO_TIMER ^= Rbf;
9777: 82,b8,06                    orw   R6,[Rb8]       IO_TIMER |= [Rb8];
977a: 20,ba                       sjmp  9836           goto 9836;

977c: 06,81                       sexw  R81            R81L = (long)R81;
977e: e5                          !INV!

977f: 06,80                       sexw  R80            R80L = (long)R80;
9781: 7d,44,72                    ml2b  R72,44         R72 *= 44;
9784: 07,84                       incw  R84            R84++;
9786: 9c,05,26                    divb  R26,R5         R26 = R26 / AD_HI;
9789: 60,07,26                    an2w  R26,R7         R26 &= AD_TMD_LO;
978c: 66,07,26                    ad2w  R26,[R6++]     R26 += [IO_TIMER++];
978f: 0a,08,24                    asrw  R24,8          R24 = R24 / 100;
9792: 12,08                       cplb  R8             INT_MASK = ~INT_MASK;
9794: 20,13                       sjmp  97a9           goto 97a9;

9796: 08,8b,04                    shrw  R4,R8b         AD_CMD = AD_CMD >> R8b;
9799: 08,40,9e                    shrw  R9e,R40        R9e = R9e >> R40;
979c: 86,08,08                    xrw   R8,[R8]        INT_MASK ^= [INT_MASK];
979f: 44,2f,08,00                 ad3w  0,R8,R2f       0 = INT_MASK + R2f;
  Sub26:
97a3: 28,11                       scall 97b6           Sub232();
97a5: 28,78                       scall 981f           Sub233();
97a7: 28,be                       scall 9867           Sub234();
97a9: 71,f7,80                    an2b  R80,f7         R80 &= f7;
97ac: 36,9e,06                    jnb   B6,R9e,97b5    if (B6_R9e)  {
97af: 32,a0,03                    jnb   B2,Ra0,97b5    if (B2_Ra0)  {
97b2: 91,08,80                    orb   R80,8          R80 |= 8; } }
97b5: f0                          ret                  return;
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Tue Jan 24, 2017 7:19 am

97a3 on down is obviously code and just above it looks to be too, but above that youll have to go through it and follow it all out to make any sense of it
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby decipha » Fri Jan 27, 2017 9:17 am

dis write up is updated with a quick find drop down now and posted also added more content
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Fri Jan 27, 2017 8:45 pm

how hard is it to fix that sizing? hurts my eyes trying to read it and damn near impossible on my phone.
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Fri Jan 27, 2017 10:48 pm

too large or too small ?
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Sat Jan 28, 2017 12:56 am

Its too small. Ill upload screenshots
From my phone
Screenshot_2017-01-28-17-57-15.png

from my laptop. all that wasted blank screen haha
Screenshot (106).png
You do not have the required permissions to view the files attached to this post.
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Tue Jan 31, 2017 1:29 am

check it out now, I added a sliding side bar to un-clutter it and expanded the page to load completely
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Tue Jan 31, 2017 1:39 am

much better. took 3 "refreshes" to take effect, but thats perfect. for me anyway.
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby ranga83 » Mon Sep 11, 2017 8:09 am

IM BACK! Been offline for a while but still playing with my disassembly. Massive thanks to decipha for getting me involved in it, i have finally found the scalar ive been searching for that made me want to start learning (imrc rpm switchpoint). Along with others along the way like idle spark scaling and functions.
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Mon Sep 11, 2017 11:53 am

nice disassembly sucks but when you find what your looking for it always make it seem like its partially worthwhile lol
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Wed Sep 13, 2017 5:51 am

so, decided to try and figure out fan control with my bin. I have found the controls for the later models as they use a single scalar each for hi and low speed fans and a compare lookup. see example 1:
Code: Select all
8 b45e: b3,62,93,38                         ldb   R38,[R62+93]   R38 = [613];    "ECT"
8 b462: 7b,fb,ce,02,38                      sb2b  R38,[Rfa+2ce]  R38 -= [5754];  "desired ECT"
8 b467: c7,68,b8,38                         stb   R38,[R68+b8]   [932] = R38;    "ECT err"
8 b46b: 3e,7e,17                            jb    B6,R7e,b485    if (B6_R7e) goto b485;
8 b46e: 3f,7e,07                            jb    B7,R7e,b478    if (B7_R7e) goto b478;
8 b471: 9b,fb,b7,02,38                      cmpb  R38,[Rfa+2b7] 
8 b476: de,37                               jlt   b4af           if (R38 < [573d]) goto b4af; "low speed fan temp"
8 b478: b1,01,46                            ldb   R46,1          R46 = 1;
8 b47b: 91,80,7e                            orb   R7e,80         R7e |= 80;
8 b47e: 9b,fb,b8,02,38                      cmpb  R38,[Rfa+2b8] 
8 b483: de,1b                               jlt   b4a0           if (R38 < [573e]) goto b4a0; "high speed fan temp"
8 b485: b1,03,46                            ldb   R46,3          R46 = 3;
8 b488: 91,40,7e                            orb   R7e,40         R7e |= 40;
8 b48b: b3,fb,b8,02,3a                      ldb   R3a,[Rfa+2b8]  R3a = [573e];
8 b490: 7b,fb,b9,02,3a                      sb2b  R3a,[Rfa+2b9]  R3a -= [573f];  "fan temp hys"


however my bin is nothing like that. it looks like it uses a function to control the fans (could be wrong)
Code: Select all
5d82: b3,64,94,39                         ldb   R39,[R64+94]   R39 = ECT;
5d86: 7b,ff,f6,05,39                      sb2b  R39,[Rfe+5f6]  R39 -= [e542]; "desired ect"
5d8b: 11,38                               clrb  R38            R38 = 0;
5d8d: c3,6a,c2,38                         stw   R38,[R6a+c2]   [742] = R38;
5d91: ef,77,dc                            call  3a0b           SUWordLU(e5a6,38);
5d94: 5a,e6,38,00                         #args 
5d98: c0,3c,40                            stw   R40,R3c        R3c = R40;
5d9b: a3,6a,c8,3a                         ldw   R3a,[R6a+c8]   R3a = [748];
5d9f: a3,ff,12,06,3e                      ldw   R3e,[Rfe+612]  R3e = [e55e];
5da4: ef,d7,dc                            call  3a7e           Sub76();
5da7: c3,6a,c8,46                         stw   R46,[R6a+c8]   [748] = R46;
5dab: 32,89,07                            jnb   B2,R89,5db5    if (B2_R89)  {
5dae: a3,ff,2c,06,46                      ldw   R46,[Rfe+62c]  R46 = [e578];
5db3: 20,23                               sjmp  5dd8           goto 5dd8; }

5db5: a3,68,c8,38                         ldw   R38,[R68+c8]   R38 = [648];
5db9: 6b,ff,f8,05,38                      sb2w  R38,[Rfe+5f8]  R38 -= [e544];
5dbe: c3,6a,c4,38                         stw   R38,[R6a+c4]   [744] = R38;
5dc2: ef,46,dc                            call  3a0b           SUWordLU(e6aa,38);
5dc5: 5e,e7,38,00                         #args 
5dc9: c0,3c,40                            stw   R40,R3c        R3c = R40;
5dcc: a3,6a,ca,3a                         ldw   R3a,[R6a+ca]   R3a = [74a];
5dd0: a3,ff,14,06,3e                      ldw   R3e,[Rfe+614]  R3e = [e560];
5dd5: ef,a6,dc                            call  3a7e           Sub76();
5dd8: c3,6a,ca,46                         stw   R46,[R6a+ca]   [74a] = R46;


have you ever seen anything like this Decipha?
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Wed Sep 13, 2017 4:40 pm

thats kind of similar to how the variable speed fans are controlled, they have a function that controls fan duty cycle based on temperature from desired ect
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Wed Sep 13, 2017 6:06 pm

Well fan 1 has 2 speeds 1400rpm and 2400rpm. Fan 2 has 3 speed. 1400 1900 and 2400. Going from the workshop manual
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby ranga83 » Fri Dec 01, 2017 5:36 am

quick question, is there a way to label the table call addresses in SAD like you can label functions and payloads? for example, I want the "c4fa" to show as "fuel base table"
Code: Select all
540f: 45,dc,00,f4,40                      ad3w  R40,Rf4,dc     R40 = c4fa;                   
5414: ef,7f,e7                            call  3b96           UTabLU();
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Fri Dec 01, 2017 6:39 am

you can either declare it a table with the beginning and end range or do it the simple way like I do and just use sym just like you would a scalar
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby ranga83 » Fri Dec 01, 2017 7:10 am

I have it as a "sym" but its not changing. Also have it labelled as a table with start and end addresses which doe show it as a table at that address, just doesnt change the call address. I think because it isnt in brackets
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Fri Dec 01, 2017 8:31 am

no idea what your saying but a simple

sym c4fa "fn_xxxx"

should suffice

i don't recommend declaring it a sym and a table in the directive that will only cause confusion in the disassembler
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby motorhead1991 » Fri Dec 01, 2017 9:28 am

Try manual mode (Opts M). I had an issue where the vector pointers weren't being named, and Manual mode took care of it. I don't know why Auto mode couldn't do it, and everything else was already IDed, so manual is fine at this point.
motorhead1991
 
Posts: 257
Joined: Mon Apr 03, 2017 6:46 pm
Name: Anthony Cox
Vehicle Information: 1990 Ford Ranger FLH2 conversion. Ford forged/dished pistons, Total Seal file-fit rings, Clevite rod and main bearings, Clevite cam bearings, IHI turbo, Siemens Deka 60lb/hr injectors, Ford slot MAF in custom 3" housing. Moates Quarterhorse with Binary Editor, using the PAAD6 database.
Vehicle 2 Information: Stock 1990 Ranger. ICM relocation, Volvo 31lb Bosch injectors, custom tune, e85: 82hp/103tq

Re: Disassembly Write Up

Unread postby jsa » Fri Dec 01, 2017 2:32 pm

ranga83 wrote: I want the "c4fa" to show as "fuel base table"


SAD will choke on the space characters.

"fuel_base_table"
Cheers
John
jsa
Power Poster
 
Posts: 454
Joined: Thu Jan 16, 2014 1:44 am
Location: In the shed or On the Computer, 'straya
Name: John
Vehicle Information: Escort RS Cosworth
EEC-IV GHAJ0
ANTI, COSY, QUIK or CARD

Re: Disassembly Write Up

Unread postby ranga83 » Fri Dec 01, 2017 6:49 pm

decipha wrote:no idea what your saying but a simple

sym c4fa "fn_xxxx"

should suffice

i don't recommend declaring it a sym and a table in the directive that will only cause confusion in the disassembler

this is how I have it in my dir
Code: Select all
SYM   c4fa "FN1317fuel_base_table"

also have this
Code: Select all
table   c4fa  c553 "fuel_base_table" :Y O +10 V+128
which labels it correctly in the data section at address c4fa
Code: Select all
fuel_base_table:
c4fa: 66,69,6c,6f,6f,72,73,76,7b,80  table        0.8 ,  0.82,  0.84,  0.87,  0.87,  0.89,  0.9 ,  0.92,  0.96,  1   
c504: 6c,6e,71,72,76,78,78,7c,7d,80  table        0.84,  0.86,  0.88,  0.89,  0.92,  0.94,  0.94,  0.97,  0.98,  1   
c50e: 6d,6f,72,74,77,7a,7a,80,80,80  table        0.85,  0.87,  0.89,  0.91,  0.93,  0.95,  0.95,  1   ,  1   ,  1   
c518: 66,69,6d,6f,76,78,7a,80,80,80  table        0.8 ,  0.82,  0.85,  0.87,  0.92,  0.94,  0.95,  1   ,  1   ,  1   
c522: 63,63,63,63,69,6f,74,7c,7d,80  table        0.77,  0.77,  0.77,  0.77,  0.82,  0.87,  0.91,  0.97,  0.98,  1   
c52c: 60,60,60,60,66,6e,73,7b,7c,80  table        0.75,  0.75,  0.75,  0.75,  0.8 ,  0.86,  0.9 ,  0.96,  0.97,  1   
c536: 5c,5c,5c,60,66,6d,71,7a,7c,80  table        0.72,  0.72,  0.72,  0.75,  0.8 ,  0.85,  0.88,  0.95,  0.97,  1   
c540: 5a,5a,5a,5d,64,6c,6f,76,7b,80  table        0.7 ,  0.7 ,  0.7 ,  0.73,  0.78,  0.84,  0.87,  0.92,  0.96,  1   
c54a: 5a,5a,5a,5d,64,6c,6f,76,7b,80  table        0.7 ,  0.7 ,  0.7 ,  0.73,  0.78,  0.84,  0.87,  0.92,  0.96,  1   
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby ranga83 » Fri Dec 01, 2017 7:05 pm

motorhead1991 wrote:Try manual mode (Opts M). I had an issue where the vector pointers weren't being named, and Manual mode took care of it. I don't know why Auto mode couldn't do it, and everything else was already IDed, so manual is fine at this point.

just tried, didn't work
ranga83
Power Poster
 
Posts: 261
Joined: Sat May 24, 2014 10:40 pm
Location: melbourne, victoria, australia
Name: kendall
Vehicle Information: 1996 EF Falcon 4.0 inline 6, 4TAD ecu, tunerpro, and moates q/h

Re: Disassembly Write Up

Unread postby decipha » Mon Dec 04, 2017 10:10 am

just comment that line out and move on no need in worrying about trivial stuff
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Re: Disassembly Write Up

Unread postby CausticUrbanCoast » Fri Aug 24, 2018 12:11 pm

Just a small, technical bump for the writeup. Not sure if you want to update the link for Tomas's ForDiag software; the one linked to is version 1.25.06, as of April 2018 it is now at Version 1.30.13

http://forum.fordiag.cz/viewforum.php?f ... 6b01c6c4f5
CausticUrbanCoast
General Poster
 
Posts: 15
Joined: Fri Aug 10, 2018 1:43 pm
Name: Nigel
Vehicle Information: 1997 F350 460 7.5L Manual with Holland Vialle LPi

Re: Disassembly Write Up

Unread postby decipha » Tue Oct 08, 2019 10:17 am

update the disassembly write up with some bank swapping cheat sheets for pcmflash
links referenced from the getting started write up

the rest of it is still a mess... one day
User avatar
decipha
Tooner
 
Posts: 17845
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce
07 GMC 2500HD 6L - Veranafer

Previous

Return to Programming & Coding

Who is online

Users browsing this forum: No registered users and 1 guest