What's the password you ask... DONOTEDIT
viewtopic.php?p=5523&hilit=DONOTEDIT#p5523
So once you have an unpassworded xdf from this site, the tunerpro site or where ever, you can open it in a text editor like notepad or whatever.
Better options are;
XML Copy Editor
https://xml-copy-editor.sourceforge.io/
XML Notepad
https://microsoft.github.io/XmlNotepad/
You should be able to open it or import it into excel, but maybe the file extension needs to change from xdf to xml.
To compare, edit and view bins I'm using 010 Editor.
https://www.sweetscape.com/
In one of the Ford Documents in openeec on github, descriptions for Scalars, Functions and Tables are provided. While not really a how to find in LST, it explains what they are.
Basically a function uses an input value to lookup an output value, so you get two columns of data.
The first column of data always goes from maximum to minimum, starting at the hex maximum value and ending at the hex minimum value.
SAD gets most of them and has been getting better at it as releases roll out.
Some examples from your LST.
This is an unsigned word size function.
Code: Select all
Func_120bc:
120bc: ff,ff,00,09 func 65535, 9
120c0: 40,51,00,09 func 20800, 9
120c4: d0,07,00,00 func 2000, 0
120c8: 00,00,00,00 func 0, 0
120cc: 00,00,00,00 func 0, 0
120d0: 00,00,00,00 func 0, 0
120d4: 00,00,00,00 func 0, 0
Code: Select all
Func_120f4:
120f4: ff,f3 func 255, 243
120f6: e6,f3 func 230, 243
120f8: cd,7a func 205, 122
120fa: b3,52 func 179, 82
120fc: 9a,3e func 154, 62
120fe: 80,32 func 128, 50
12100: 57,27 func 87, 39
12102: 05,14 func 5, 20
12104: 00,10 func 0, 16
12106: 00,10 func 0, 16
12108: 00,10 func 0, 16
Code: Select all
Func_1256c:
1256c: ff,7f,c3,75 func 32767, 30147
12570: 6e,00,c3,75 func 110, 30147
12574: 4b,00,9a,79 func 75, 31130
12578: 19,00,66,86 func 25, 34406
1257c: f6,ff,3d,8a func -10, 35389
12580: 00,80,3d,8a func -32768, 35389
12584: 00,80,3d,8a func -32768, 35389
Code: Select all
Func_12142:
12142: 7f,19 func 127, 25
12144: 75,00 func 117, 0
12146: 50,00 func 80, 0
12148: 1e,1f func 30, 31
1214a: 0a,26 func 10, 38
1214c: f6,32 func -10, 50
1214e: 80,32 func -128, 50
12150: 80,32 func -128, 50
You can copy these to DIR, then change the names and change the conversion.
Code: Select all
func 120bc 120d7: UW X 10 : UW X 10 V 256
sym 120bc "Func_120bc" # auto
You can copy these to DIR, change their names or even add your own additional ones.
Code: Select all
# ------------ Subroutine list----------
sub 83202 "SUYFuncLU_83202" $ F suyflu 36
sub 83208 "SSYFuncLU_83208" $ F ssyflu 36
sub 8320d "USYFuncLU_8320d" $ F usyflu 36
sub 83212 "UUYFuncLU_83212" $ F uuyflu 36
sub 83219 "UUYFuncLU_83219" $ F uuyflu 36
sub 83265 "SUWFuncLU_83265" $ F suwflu 36
sub 8326b "SSWFuncLU_8326b" $ F sswflu 36
sub 83270 "USWFuncLU_83270" $ F uswflu 36
sub 83275 "UUWFuncLU_83275" $ F uuwflu 36
sub 8327c "UUWFuncLU_8327c" $ F uuwflu 36
sub 833dc "SYTabLU_833dc" $ F sytlu 3c 38
sub 833e1 "UYTabLU_833e1" $ F uytlu 3c 38
sub 833ee "SYTabLU_833ee" $ F sytlu 3c 38
sub 833f3 "UYTabLU_833f3" $ F uytlu 3c 38
The output is saved to register R34.
Code: Select all
080d7: 10,08 rombk 8
080d9: ef,99,b1 call 83275 UUWFuncLU_83275 (
080dc: 5c,00 #arg 1 Func_120bc,
080de: 86,01 #arg 2 186 );
080e0: a0,3c,34 ldw R34,R3c R34 = R3c;
Having read the available tech documents you will have found that the MAF function is 30 rows long, which also happens to be the longest function.
SAD has found it.
Code: Select all
Func_12254:
12254: ff,ff,dd,11 func 65535, 4573
12258: c0,ec,65,0e func 60608, 3685
1225c: 00,e0,53,0c func 57344, 3155
12260: c0,d1,4a,0a func 53696, 2634
12264: 80,c9,41,09 func 51584, 2369
12268: 40,c0,36,08 func 49216, 2102
1226c: c0,b6,32,07 func 46784, 1842
12270: c0,a5,8e,05 func 42432, 1422
12274: 40,9c,be,04 func 40000, 1214
12278: 80,96,4e,04 func 38528, 1102
1227c: 00,91,e8,03 func 37120, 1000
12280: 00,8b,82,03 func 35584, 898
12284: 00,84,14,03 func 33792, 788
12288: c0,7c,ae,02 func 31936, 686
1228c: c0,73,41,02 func 29632, 577
12290: c0,6f,13,02 func 28608, 531
12294: 40,6a,db,01 func 27200, 475
12298: 40,64,a3,01 func 25664, 419
1229c: 00,5f,74,01 func 24320, 372
122a0: 00,58,3c,01 func 22528, 316
122a4: 00,50,05,01 func 20480, 261
122a8: c0,4b,ea,00 func 19392, 234
122ac: 80,48,d7,00 func 18560, 215
122b0: 80,3d,9f,00 func 15744, 159
122b4: 80,37,83,00 func 14208, 131
122b8: 80,30,68,00 func 12416, 104
122bc: c0,2a,55,00 func 10944, 85
122c0: 80,24,42,00 func 9344, 66
122c4: 00,00,00,00 func 0, 0
122c8: 00,00,00,00 func 0, 0