BOOSTEDEVERYTHING wrote: ↑2024 Feb 12, 10:48
Can you try to explain for me how you made the dir file from the tunerpro definition file please?
SAD806x will import XDF and export DIR files.
Its not perfect, but it helps a lot.
https://github.com/OpenEEC-Project/SAD806x
The basic process is;
Install SAD806x.
Open the target BIN.
Run the disassemble command.
Import the target XDF.
Run the disassemble command.
Export to DIR.
The DIR will need some clean up, that may include processing the DIR using a spreadsheet.
I would like to try another one and start a third comparison to try and find other subroutines that I cannot find similar between RZASA and EQE3.
The RZASA dir I posted was derived from a DMR file not a XDF file, but don't let that stop you.
Maybe OMAE2 as I also have a Harley Davidson F150, So I can apply things and see what may work and what does not.
I don't have a DMR file by that name, but don't let that stop you.
Also, Can you please point me to a write up for making a spreadsheet type def file for BE from a DIR file please?
First off you need to understand what a BE def looks like.
The help file has a section covering what is required in the def file.
http://www.eecanalyzer.net/dl/BE2012/He ... 20Help.pdf
Next look at some open def files, here's the GUFB one.
http://www.eecanalyzer.net/strategies?v ... fileId=553
Because you listened previously, you will have kept your DIR tidy and the columns aligned.
Your DIR will have lots of commands for Scalars, Functions, Tables and Payloads.
Others commands may not end up in your DIR.
Scalars are parameters at ROM addresses. Typically Bits, Bytes, Words and Longs. They could also be small code hacks.
Functions are the two column parameter blocks at ROM addresses.
Tables are the multi column multi row parameter blocks at ROM addresses.
Payloads are Bits, Bytes, Words and Longs at Register and RAM addresses.
The basic process is;
Open a new excel workbook.
You want to get the content from your DIR into excel and break it up into Scalars, Functions, Tables and Payloads.
Scalars, Functions, Tables and Payloads want to end up on individual sheets. The rest of the DIR ends up being discarded.
I usually import the whole thing to a worksheet then break it up over multiple worksheets within excel.
Import the DIR into a sheet or copy and paste to the sheet.
Use excels text to column command to break up the DIR into columns with the command, address, name, sign, size, comment and characters.
The DIR will have characters such as " and #, set column breaks so they can be discarded.
All columns need to be formatted as text.
You may need to create an index column from the hex address using =hex2dec(0xaddress).
Sort your columns by DIR command and address.
Copy and paste S, F, T & P rows to clean worksheets.
Use excel functions to convert the DIR cells into cells for the DEF.
Start a clean DEF workbook or use an existing one as a starting point.
Ensure all worksheets are formatted as text.
Copy the DEF cells from your DIR workbook and paste as text to your DEF workbook.
Complete all the other entries in your DEF workbook, such as equations etc.
Do not use the clear contents command in your DEF workbook, BE has issues with it. Use backspace or delete.
Again, ensure the whole DEF workbook is formatted as text.