EEC V file conversion

All hardware related, disassembly / programming and code discussions belong here.
tvrfan
Posts: 88
Joined: 2023 Oct 22, 22:13
Location: New Zealand
Vehicle Information: Several Kit cars, Ford (Europe), EEC-IV, TVR Vixen, Tasmin (a.k.a Wedge),
Engine - Cologne 2.8 V6 (Europe) catch code 'AA'.

EEC_Disassembler https://github.com/tvrfan/EEC-IV-disassembler

Re: EEC V file conversion

Unread post by tvrfan »

From what I've seen, even bins with same strategy don't always have their calibration data in the same places. So it is a mistake to assume this. You do sometimes see stuff in the same order, but starting at different places/addresses.

We know that Ford used a higher level language to make the code, so as soon as it gets recompiled chances are everything will move around in the binary.

However, If you look more for patterns across bins, both data and code, you are far more likely to see matches. In software this is typical as programmers re-use and modify code which is proven to work well.

There are for example only two versions (so far) of the data table lookup code across all the bins.
BOOSTEDEVERYTHING
Posts: 235
Joined: 2023 Sep 06, 13:11
Location: Charlotte NC , USA
Vehicle Information: 1999 Ford Ranger with 2000 Explorer v8 swap, FLN0
2003 Ford F150 Harley Davidson, Built 5.4L SOHC with 3.4L Whipple and Built 4R100

Re: EEC V file conversion

Unread post by BOOSTEDEVERYTHING »

Well, I will not assume anything anymore. I guess mistakes are a part of learning. But I should have stayed with the procedures that were outlined by You(Tvrfan) and Jsa for me to properly learn. You both have been very helpful and have helped me tremendously and I don't want to do anything to jeopardize the help I have been getting from you both by doing things that I shouldn't, or assuming things, when I could have asked them and gotten the answers from you both. So I hope I haven't offended or angered either of you. I am going back through my assumptions as time permits and deleting the ones that do not seem to be correct. I really need to learn excel a bit better and create a spreadsheet of sorts to type in addresses and comparisons as I find them and somehow have them auto order themselves and tell me if I have entered duplicate entries or conflicting entries to the spreadsheet. That would be tremendously helpful for me because I have found myself putting in duplicate entries in the wrong locations of the dir file and confusing myself as to which one to use. If I have a spreadsheet that would show conflicting entries I could investigate them further at a later date, and if they are duplicate entries it could maybe count the number of times i put the entry in and keep a count so it would help verify the entry is correct without having it in the list several times, and just have a counter in a column saying I have found that similarity so many times. then maybe a column where I could put a tick saying I have added a dir entry and another saying I have added a cmt entry. Wishes and dreams< right?!!?! LOL

Jsa....On a totally unrelated note, My daughter asked me about summer and winter in Australia, and if when we are in the winter season, is Australia in the summer season and vise versa. Told her I really honestly could not answer that question for her but have made a friend that may be able to answer it for her. She is very smart, but I may be biased, and asks a lot of questions, which I like. She just turned 14 years old, so when she needs her Dad is something that doesn't happen much, LOL. I just can't remember from school that far back, LOL Maybe you can answer her question? We are heading into winter right now and its starting to get fairly cool out.
decipha
Posts: 5052
Joined: 2021 Feb 15, 12:23
Location: Metairie, LA
Vehicle Information: Work Truck
'19 F-150 3.3L

Re: EEC V file conversion

Unread post by decipha »

just use the cmt and dir file. Always put entries in chronological order and you can never go wrong.

https://www.australia.com/en/facts-and- ... asons.html
jsa
Posts: 274
Joined: 2021 Feb 16, 15:46
Location: Australia
Vehicle Information: 95 Escort RS Cosworth
2.0 YBP
CARD / QUIK / COSY / ANTI
GHAJ0
SMD-190 / SMD-490 EEC-IV

Binary Editor
ForDiag

Re: EEC V file conversion

Unread post by jsa »

It is spring now, going toward summer. The seasons are opposite, southern hemispere vs northern. All because of the tilt of the earth.

Just keep your DIR and CMT organised.
tvrfan
Posts: 88
Joined: 2023 Oct 22, 22:13
Location: New Zealand
Vehicle Information: Several Kit cars, Ford (Europe), EEC-IV, TVR Vixen, Tasmin (a.k.a Wedge),
Engine - Cologne 2.8 V6 (Europe) catch code 'AA'.

EEC_Disassembler https://github.com/tvrfan/EEC-IV-disassembler

Re: EEC V file conversion

Unread post by tvrfan »

It's all part of the learning - for example there are code snippets in CARD (4 cyl Cosworth manual trans) which are virtually identical to the A9L (v8 auto). CARD uses an 'injection table' which also looks very similar to the A9L ones, except it has fewer entries (= fewer cylinders). Chances are whoever put CARD together copied and modified the A9L version as it does the same job. The actual fixed numbers normally differ as things like timing intervals are different (different CPU clock speed etc), but code flow is the same.

SAD actually has only 4 different pattern matches (with a few extra bits) for the function data (1 dimension) lookup code and the table data (2 dimension) lookup code, and that includes all the multibanks. So Ford never changed this code much at all, for um...over 15 yeas ?

Australia and New Zealand are pretty much on the opposite side of the globe to UK/Europe. So day and night is swapped (NZ is +12 hours GMT), as are the seasons. Australia is huge and nearly all desert except for coastal areas (more or less), NZ is green and about same size as UK but has only 5 million people. New Zealand is on the Pacific 'ring of fire' so we get earthquakes, Australia typically does not. When I go back to see relatives in UK, it takes two flights, one is almost longest in the world at 17 hours (NZ-Dubai) + 8 hrs (Dubai - London or Manchester) so it takes more than one day to fly.
jsa
Posts: 274
Joined: 2021 Feb 16, 15:46
Location: Australia
Vehicle Information: 95 Escort RS Cosworth
2.0 YBP
CARD / QUIK / COSY / ANTI
GHAJ0
SMD-190 / SMD-490 EEC-IV

Binary Editor
ForDiag

Re: EEC V file conversion

Unread post by jsa »

CARD is a blend of GUFB, CDAN2 and LHBH1. CRAI8 has some relevant pieces, mostly because some stuff is the same going back to GUFB and further as TVRfan pointed out.

Victoria gets small quakes, apparently due to subduction of NZ's plate under Oz's.
BOOSTEDEVERYTHING
Posts: 235
Joined: 2023 Sep 06, 13:11
Location: Charlotte NC , USA
Vehicle Information: 1999 Ford Ranger with 2000 Explorer v8 swap, FLN0
2003 Ford F150 Harley Davidson, Built 5.4L SOHC with 3.4L Whipple and Built 4R100

Re: EEC V file conversion

Unread post by BOOSTEDEVERYTHING »

At least I have learned not to make assumptions. It is taking me longer to go back and double check everything than if I would have just looked for commonalities one at a time. lol.

My daughter thanks you both for the info as well. She thought it was pretty cool the differences. Especially because she was under the influence that Australia was all beaches and tropical wonderland because of tv. lol.
jsa
Posts: 274
Joined: 2021 Feb 16, 15:46
Location: Australia
Vehicle Information: 95 Escort RS Cosworth
2.0 YBP
CARD / QUIK / COSY / ANTI
GHAJ0
SMD-190 / SMD-490 EEC-IV

Binary Editor
ForDiag

Re: EEC V file conversion

Unread post by jsa »

Yep, better to make certain up front.

Oz is a big place, beaches and the tropics are nice. The red centre has it's charms too. Southern parts have a cool/cold climate.
tvrfan
Posts: 88
Joined: 2023 Oct 22, 22:13
Location: New Zealand
Vehicle Information: Several Kit cars, Ford (Europe), EEC-IV, TVR Vixen, Tasmin (a.k.a Wedge),
Engine - Cologne 2.8 V6 (Europe) catch code 'AA'.

EEC_Disassembler https://github.com/tvrfan/EEC-IV-disassembler

Re: EEC V file conversion

Unread post by tvrfan »

Off topic -

That JSA note makes me point out that 'cool/cold climate' to an Australian is still nice and warm compared to say Chicago and Canada in the Winter. There are some good places on the web for this info - There is something called a "Koppen climate map" which defines the weather patterns and average temps across the globe. Australia is about the same size as USA, excluding Alaska.

Personally, I think there are beautiful places everywhere on the planet - in both wet and dry, green and deserts.
jsa
Posts: 274
Joined: 2021 Feb 16, 15:46
Location: Australia
Vehicle Information: 95 Escort RS Cosworth
2.0 YBP
CARD / QUIK / COSY / ANTI
GHAJ0
SMD-190 / SMD-490 EEC-IV

Binary Editor
ForDiag

Re: EEC V file conversion

Unread post by jsa »

Lol, anything below 25°c is 'cold'.
Post Reply