Re: EEC V file conversion
Posted: 2023 Oct 21, 19:06
Ok.BOOSTEDEVERYTHING wrote: ↑2023 Oct 16, 13:43 I will also post up my results from the previous few tasks that you gave me to learn on. Thanks
Ok.BOOSTEDEVERYTHING wrote: ↑2023 Oct 16, 13:43 I will also post up my results from the previous few tasks that you gave me to learn on. Thanks
Code: Select all
FUN 12254 122CB "uuwFn036_MAF_Transfer" :W V +4096 :W V +1 P +5 # Mass Air Flow meter transfer function.Code: Select all
STR 16D8A 16DB7 $Q1 :Y :WN #
STR 16DB8 16DD0 $Q1 :Y :WN #I believe I will require assistance with this. I will be using a Moates QH Tunerpro RT BIN and presumably need a conversion to do a PCM flash thing. Currently waiting on hardware to arrive. I’m willing to pay to. Just a service technician but I do know the more we support each other the easier it is to help each other.mechanicalmatch wrote: ↑2022 Jul 30, 22:02 post your file here with information of what you used read (pcm flash, qh , etc...) with and what you want it to be converted to be used on (pcm flash, qh , etc...)and i will convert it for you.
Yes, but the uuw in the name has no impact on SAD's treatment of the data.BOOSTEDEVERYTHING wrote: ↑2023 Oct 22, 10:40ok....Sorry for the delay, This one is defining a function from address 12254 to address 122cb, named "uuwFn036_MAF_Transfer".Code: Select all
FUN 12254 122CB "uuwFn036_MAF_Transfer" :W V +4096 :W V +1 P +5 # Mass Air Flow meter transfer function.
it is an unsigned in unsigned out word value as denoted by the uuw in the title.
Use of UW would command the default Unsigned WordW= as a word data value
Yes, however the + is optional these days.V= with a divisor of
+4096= i'm guessing the + means a positive value of 4096
which is dividing the actual values in those columns by 4096 to end up with a human "readable" value
Yes. SAD does not allow the use of enough decimal places to convert counts to kg/hr. SAD V5 should resolve that.thw second column is about the same but divides the actual value by +1 meaning positive value of 1?
Yes it is meant to control print width.the P +5 i think is to print (display) the value with 5 digits?
As TVRfan has explained, the user is king. If the user puts incorrect info in the DIR or CMT, LST will be incorrect. It is important to get commands right.BOOSTEDEVERYTHING wrote: ↑2023 Oct 22, 11:10 I seem to be getting some differences between the raw lst and lst with dir file but not sure if they are all differences that should be present. I attached a screenshot with an example of what I am talking about.
Code: Select all
rbase f0 12060
sub 83212 "UUYFuncLU_83212" $ F uuyflu 36
Code: Select all
Sub 83212 "SLU83212_UUYFn" $ F uuyflu 36 :E4 F0 N :WN
Code: Select all
0692b: ef,e4,c8 call 83212 SLU83212_UUYFn (
0692e: 88,63 #arg 1 Func_13a00,
06930: 9d,02 #arg 2 29d );
06932: 20,09 sjmp 0693d goto 0693d; }
YesBOOSTEDEVERYTHING wrote: ↑2023 Oct 22, 11:07these define a couple of structuresCode: Select all
STR 16D8A 16DB7 $Q1 :Y :WN # STR 16DB8 16DD0 $Q1 :Y :WN #
str= structure
start and end addresses
$= start of a group of global options
The AD command sub loops through the structure, one structure line at a time. There needs to be away to break out of the loop.Q1= terminator byte with a value of 1---do not completely understand this command
Code: Select all
83173: 56,34,00,04 ad3b R4,R0,[R34] AD_Cmd = [R34];
83177: de,21 jlt 8319a if (AD_Cmd >= 0) {
The byte is the analog channel number of the processor internally or external AICE.:= start of a new data item
Y= the item is byte sized
W=the item is word sized
N= asks the software to look for and display the name, I think
and I think opcode C3 is STW, which is instructing the computer to store a word sized value, and I think the C3 opcode is a short or long indexed address mode,
Code: Select all
9c04c: c3,01,c8,17,3e stw R3e,[R0+17c8] MAF__A = TMP6L;
9c057: c3,e6,f0,42 stw R42,[Re6+f0] MAF = TMP8L;Yes, all the same command with different address modes.as C0, C2, & C3 opcodes all seem to be instructing to store word sized values, just in different address modes?