M0M2 (EFI-MA35C) Development & Discussion

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

M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Sun Jul 16, 2017 4:59 pm

Attached below are the files so far, that I've managed to develop for this ECM, with a ton help of another user from the Yahoo groups. I'm sharing these for anyone interested in helping and providing constructive criticism. I can share the memory addresses that hve already been ID'ed upon request.

M0M2 7zip

Both 7zip and standard zips are provided, just as a courtesy. They are identical.



m0m2 info.zip
You do not have the required permissions to view the files attached to this post.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Fri Jul 21, 2017 11:03 pm

I've already mapped out the MAF transfer and one of the OL fuel tables. Really all I need now is to ID the injector settings, possibly the iSC transfer, load, and the OL/CL transition settings to have a basic tuneable strategy. SAD hasn't been able to ID these quite yet.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Sun Jul 23, 2017 9:09 pm

Code: Select all
9c2c: 7f,90  func              7f, 90
9c2e: 78,90  func              78, 90
9c30: 3c,70  func              3c, 70
9c32: f6,00  func              f6,  0
9c34: 80,00  func              80,  0
9c36: 80,00  func              80,  0

9c38: ff                fill 

9c39: 7f,5c  func              7f, 5c
9c3b: 71,7f  func              71, 7f
9c3d: 00,5c  func               0, 5c
9c3f: 71,50  func              71, 50
9c41: 00,a6  func               0, a6

9c43: 79,23,00,93       ??    121, 35,  0,147     35,-31853,

9c47: 83,0a,00,41       orw   R41,[Ra]
9c4b: 8a,ec,ff          cmpw  Rff,[Rec]
9c4e: cd                !INV!


The function at 9c2c looks to be one of the ECT scalers, but it looks different than the one in A9L. As for the second, it doesn't look right to me at all, unless that second "71" is a signed value.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Sun Jul 23, 2017 10:38 pm

looking at the hex function values is absolutely useless all you can see there is thats its a signed byte function

thats second function doesnt look like a function, but to verify find the code accessing it and see what its doing with it

you have to find the code thats looking up that function to see whats it doing, but of course you knew that
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Mon Jul 24, 2017 12:14 am

That address might still be masked, along with the MAF calc (I know for sure the address of the function though). I'm still figuring out the directives, and the file is quite messy still.


Compressed folders updated, for those interested in helping.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Mon Jul 24, 2017 2:07 pm

until u find the code its impossible to know what it is

thats like looking at the color of a single pixel on a screen and trying to decipha what the image is, impossible
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Mon Jul 24, 2017 7:17 pm

Is there something I'm missing in my options? The MAF curve address doesn't resolve.
Code: Select all
opts   :N P S Z

8061 CPU

I did find the "Calc_Fuel", "Calc_AFR" and "Load_Calc" routines though.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Tue Jul 25, 2017 4:53 am

make sure you define your rbase in your directive
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Tue Jul 25, 2017 7:42 pm

Rbase calls are between the code and routine IDs, and I'm not sure why I keep getting this in my msg file.
Code: Select all
ignore add rbase, reg f0 val 9a00


Code: Select all
cscan b04b
word    b05a  b05b
cscan b05e
cscan b068
cscan b082
word    b082  b084   
func    b096  b0ef :W
word    b0f0  b0f1 :W
fill    b0fb  ffff 


rbase f0 9a00
rbase f2 9cf4
rbase f4 9d0e
rbase f6 a588
rbase f8 a61c
rbase fa ac8a
rbase fc af24
rbase fe af2e

sub  15  "Reset_All" 
sub  24  "Sub20" 
sub  89  "Sub24" 
sub  108  "Sub7" 
sub  191  "Sub30" 
sub  517  "Sub23"
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Tue Jul 25, 2017 9:35 pm

instead of cscan i recommend using code xxxx xxxx to designate non disassembled areas as code to be disassembled

you have a word with :W at the end, thats an error word in the directive cant accept options

put all the rbase at the very top of your directive file

those sub commands are not rom address, lower memory and scratch registers are all ram, sub 15 is trting to assign the ram register 0x15 as a subroutine of code, which it is not. If anything those subroutines would be at a minimum 2015 instead, and I recommend putting subr 2015 xxxx instead of sub 2015 xxxx

although sub and subr do the same thing subr will be easier to identify when your directive file becomes larger

Ive never seen an rbase be ignored before, I assume that was in your msg file?
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Tue Jul 25, 2017 10:22 pm

The cscan method has proven quite messy, and I will have to remember that for next time.

Easy enough to remove the W and watch the output. I think that's one I put there.

rbase commands moved already, they still got ignored.

I meant to address those RAM addresses, just haven't got to it. The guy I got the files from have a lot of those IDed already, so I can move them to the symbols.

And the rbase ignore is indeed from the disassembly messages.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Tue Jul 25, 2017 11:17 pm

Can words be clumped together like code, or split up like subroutines and bytes?
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Wed Jul 26, 2017 12:07 am

both
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Wed Jul 26, 2017 12:33 am

decipha wrote:both

Good to know, that'll shrink my directive decently.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Wed Jul 26, 2017 10:53 pm

Another question:
Where is the "line" between a blob of code and a structure? Anything I should be looking for specifically?

Also, can a subroutine map code like the "code" command, as such?
Code: Select all
subr    2032  2051 "Reset_All"
code    2060  21ca
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Wed Jul 26, 2017 11:20 pm

im not sure what your asking about the blob and structure? each "line" of code is determined by the operand

no, the subr command only assigns a label to an address same basic function as using the sym command

you still have to define code xxxx xxxx in the directive for that routine if it isnt automatically disassembled already
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Jul 27, 2017 10:44 pm

By "blob", I'm referring to the sections that aren't called on anywhere, but have opcodes and labels.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 09, 2017 1:54 am

So, no major development has happened on this, since I've been busy with life, and street tuning my Ranger again (Its alive once more). On the bright side, I managed to patch the XDF to support Decipha's universal ADX. Currently, all that's left to do on that front is to write up the payload list and test it (man, I need a chip burner handy...)
You do not have the required permissions to view the files attached to this post.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Thu Nov 09, 2017 7:30 am

motorhead1991 wrote:By "blob", I'm referring to the sections that aren't called on anywhere, but have opcodes and labels.


its very possible that code is still called you just hadn't identified where it's being called from. Some routines will push an address to the stack and return to call variable routines, in those cases it won't be identified automatically.

Or it could very well be code for something you don't have, say its for an auto trans and your vehicle is a manual, or it could be for the power steering pressure transducer and you don't have one etc... Henry reused code so its not too uncommon to see left overs that aren't accessed anywhere. The knock sensor routines come to mind.

Cool the patch looks good, if it supports the universal adx then it supports the superlogger :) I have an updated adx I will be posting soon but that won't affect you any, carry on lol.

did you see in the disassembly write up the order that the payload list needs to be in? I recently reordered the top of the list for eec-v, it won't make a difference for eec-iv

here's the direct link http://efidynotuning.com/dis.htm#ram
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 09, 2017 8:57 am

I did. I actually saved your explanation to Pym as a text file, since to me its easier to understand. Between the two, I might be able to make something work :D
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Sat Nov 11, 2017 10:43 pm

What am I missing here? It almost looks right, but I don't know enough about structures to say for sure.
You do not have the required permissions to view the files attached to this post.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Sun Nov 12, 2017 7:06 am

no idea why do u have all that as a struct it cant be correct
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Sun Nov 12, 2017 12:47 pm

It doesn't look correct as code either though. Being EEC-IV, I figured it was the injector table.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Sun Nov 12, 2017 6:33 pm

but not all of that, look at how wide of a range you have as a struct
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Mon Nov 13, 2017 10:37 pm

I see a trend but I'm obviously missing something...

I see that 3 of the lines reference two subroutines (which don't have names AFAIK, comparing to A9L), but they're separated by those other two longer lines. Of all the stuff that goes on in these ECMs, structs seem to be the most irritating :D :evil:
You do not have the required permissions to view the files attached to this post.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Wed Nov 15, 2017 11:46 am

Having found an old post on eectuning.org, I learned how to read the lookup tables, and that I was missing a few register pointers. I believe I've found the CID scalar, and am hunting down the injector slope.

Have you ever heard of the slope being stored as part of the R76 register? It resolves to around 314 in memory. If that's not correct, I need to keep digging.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby jsa » Wed Nov 15, 2017 1:48 pm

The registers used for a particular parameter vary from one strategy to the next.
Cheers
John
jsa
Power Poster
 
Posts: 388
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 or COSY

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Wed Nov 15, 2017 2:48 pm

yea every strat will be different

it sounds like your referring to 76 as a base register and adding in the offset gives you that 314 address

if your just figuring out how a ram address is accessed you prob do not have your base registers assigned, the rbase comand i mentioned a few posts up
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Wed Nov 15, 2017 4:29 pm

decipha wrote:yea every strat will be different

it sounds like your referring to 76 as a base register and adding in the offset gives you that 314 address

if your just figuring out how a ram address is accessed you prob do not have your base registers assigned, the rbase comand i mentioned a few posts up


I didn't before. I need to update the zip/7z with my current files for everyone to follow along with.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Wed Nov 15, 2017 7:49 pm

Updated files, including a partial cheat sheet for previously identified code.

I'm slowly making sense of this stuff, and it seems simplistic yet complex at the same time.
You do not have the required permissions to view the files attached to this post.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 16, 2017 12:45 am

Ok, now I know I'm not crazy...

Code: Select all
6447: a0,38,32          ldw   R32,R38        R32 = R38;
644a: ad,05,34          ldzbw R34,5          R34 = (uns)5;
644d: 45,ac,02,f4,38    ad3w  R38,Rf4,2ac    R38 = 9fba;
6452: ef,3c,f1          call  5591           UTabLU();
6455: 11,3a             clrb  R3a            R3a = 0;
6457: 4c,42,3a,3c       ml3w  R3c,R3a,R42    R3cL = R3a * R42;
645b: 2b,d8             scall 6835           Sub213();
645d: c3,76,46,3e       stw   R3e,[R76+46]   [3c6] = R3e;
6461: c3,76,48,3e       stw   R3e,[R76+48]   [3c8] = R3e;

6465: a3,76,96,22       ldw   R22,[R76+96]   ALTSTACK = [316];

6469: 4c,22,3e,3c       ml3w  R3c,R3e,R22    R3cL = R3e * ALTSTACK;
646d: 2b,c6             scall 6835           Sub213();
646f: af,fa,08,40       ldzbw R40,[Rfa+8]    R40 = (uns)[ac92];
6473: 6c,3e,40          ml2w  R40,R3e        R40L *= R3e;
6476: 88,42,00          cmpw  0,R42         
6479: df,03             je    647e           if (0 == R42) goto 647e;
647b: bd,ff,40          ldsbw R40,ff         R40 = (int)ff;


Everything I'm seeing on this compared to A9L says that's the low slope (isolated)

For posterity's sake, here is my rbase and the pointers in the ROM.
Code: Select all
rbase 72 180
rbase 74 280
rbase 76 380
rbase 78 480
rbase 7a 580
rbase 7c 780
rbase f0 9a00
rbase f2 9cf4
rbase f4 9d0e
rbase f6 a588
rbase f8 a61c
rbase fa ac8a
rbase fc af24
rbase fe af2e


Code: Select all
214a: a1,80,01,72       ldw   R72,180        R72 = 180;
214e: a1,80,02,74       ldw   R74,280        R74 = 280;
2152: a1,80,03,76       ldw   R76,380        R76 = 380;
2156: a1,80,04,78       ldw   R78,480        R78 = 480;
215a: a1,80,05,7a       ldw   R7a,580        R7a = 580;
215e: a1,80,07,7c       ldw   R7c,780        R7c = 780;
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Thu Nov 16, 2017 6:01 am

the rbase commands have to be the first commands at the top of your directive file
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 16, 2017 9:01 am

They are
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Thu Nov 16, 2017 2:22 pm

well shit

i guess the fuckin things btoken
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 16, 2017 2:57 pm

decipha wrote:well shit

i guess the fuckin things btoken


That's not what I wanted to hear... Maybe someone at CoreTuning, sailorbob or tvrfan has seen this before.

Its definitely not an 8065 though

http://developer-aa51.com/.pictures/IMG_20171116_134926.jpg
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Thu Nov 16, 2017 3:08 pm

core and sailorbob doesnt use andys disassembler so they wouldnt have any problems with the rbase not being resolved
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 16, 2017 3:14 pm

The directive is in the latest zip. Maybe you'll spot something I goofed up.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Thu Nov 16, 2017 3:44 pm

any errors in the msg file?
User avatar
decipha
Tooner
 
Posts: 15337
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby motorhead1991 » Thu Nov 16, 2017 4:46 pm

decipha wrote:any errors in the msg file?


Ya know. I didn't think to look at that, but its also in the zip

EDIT: Just checked. I need to pass the "Z" option to it to see what it spits out.
motorhead1991
Power Poster
 
Posts: 134
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

Re: M0M2 (EFI-MA35C) Development & Discussion

Unread postby decipha » Thu Nov 16, 2017 4:48 pm

thats cool, i wont be able to look at it anytime soon, im about 3-4 months behind right now so its not gonna be soon by me at all, maybe one of the other guys will be able to check it out
User avatar
decipha
Tooner
 
Posts: 15337
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

Next

Return to Programming & Coding

Who is online

Users browsing this forum: No registered users and 1 guest

cron