Search found 237 matches

by BOOSTEDEVERYTHING
2024 May 06, 14:22
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 362
Views: 60052

Re: EEC V file conversion

I do have a question on this one, I am going cross eyed!!! LOL

in OMAE2 I have:

Code: Select all

   Sub_0d215:
0d215: a1,c2,0b,46        ldw   R46,bc2          TMP0L = KFEGO2_CT1;
0d219: a1,d4,0b,34        ldw   R34,bd4          TMP1L = KFEGO1_CT_TL;
0d21d: c3,01,e6,0b,00     stw   R0,[R0+be6]      [10be6] = ZERO;
0d222: c3,01,ea,0b,00     stw   R0,[R0+bea]      KCAT21_SUM_T = ZERO;
0d227: 20,12              sjmp  0d23b            goto 0d23b;

   Sub_0d229:
0d229: a1,d4,0b,46        ldw   R46,bd4          TMP0L = KFEGO1_CT_TL;
0d22d: a1,e6,0b,34        ldw   R34,be6          TMP1L = be6;
0d231: c3,01,e8,0b,00     stw   R0,[R0+be8]      KFEGO2_CT_TL = ZERO;
0d236: c3,01,ec,0b,00     stw   R0,[R0+bec]      [10bec] = ZERO;
0d23b: c2,47,00           stw   R0,[R46++]       [TMP0L] = ZERO;
0d23e: 88,34,46           cmpw  R46,R34          
0d241: d3,f8              jnc   0d23b            if (TMP0L < TMP1L) goto 0d23b;
0d243: f0                 ret                    return;
In RZASA I have:

Code: Select all

   Sub_9f8be:
9f8be: a1,a6,06,46        ldw   R46,6a6          TMP0L = KFEGO1_CT1;
9f8c2: a1,be,06,34        ldw   R34,6be          TMP1L = KFEGO2_CT1;
9f8c6: c3,d8,50,00        stw   R0,[Rd8+50]      KFEGO1_CT_TL = ZERO;
9f8ca: c3,01,08,07,00     stw   R0,[R0+708]      KCAT11_SUM_T = ZERO;
9f8cf: c3,01,0c,07,00     stw   R0,[R0+70c]      KCAT12_SUM_T = ZERO;
9f8d4: c3,01,06,07,00     stw   R0,[R0+706]      KCATIF_SUM_T = ZERO;
9f8d9: 20,16              sjmp  9f8f1            goto 9f8f1;

   Sub_9f8db:
9f8db: a1,be,06,46        ldw   R46,6be          TMP0L = KFEGO2_CT1;
9f8df: a1,d0,06,34        ldw   R34,6d0          TMP1L = KFEGO1_CT_TL;
9f8e3: c3,d8,52,00        stw   R0,[Rd8+52]      KFEGO2_CT_TL = ZERO;
9f8e7: c3,01,0a,07,00     stw   R0,[R0+70a]      KCAT21_SUM_T = ZERO;
9f8ec: c3,01,0e,07,00     stw   R0,[R0+70e]      KCAT22_SUM_T = ZERO;
9f8f1: c2,47,00           stw   R0,[R46++]       [TMP0L] = ZERO;
9f8f4: 88,34,46           cmpw  R46,R34          
9f8f7: d3,f8              jnc   9f8f1            if (TMP0L < TMP1L) goto 9f8f1;
9f8f9: f0                 ret                    return;
If you look in the code prior to this it appears that 10be6=10708 but it does not compare correctly to these Subs. I know all of it is not going to be apples to apples but should be quite similar I would assume. You may want to ignore some of the labels in OMAE2 as I am now getting a bit confused and not quite sure what is what here. Thanks
Side note, or maybe bug report???....
I have also noticed that SAD v4.012 is missing a ton of things in both of the lst files, as far as labels go. They are defined in the DIR files for both but SAD is missing them, Is it possible if I have say SYM 0be6 "label" that it could be missing the ones that are labeled 10be6 in the code???
by BOOSTEDEVERYTHING
2024 May 06, 08:57
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 362
Views: 60052

Re: EEC V file conversion

What scalars and what files are you referring too?
Sorry, I have been a bit busy. There are a bunch of subroutines and SYMS that are named in several files but I can not find them in the Strategy Docs. I will try and grab a few for examples in the next few days to show you what I am referring to.

Also, I am posting my updated OMAE2 and RZASA dir files that I have added to, hopefully correctly, and my updated comparison spreadsheet. If you are at all interested. I welcome feedback as usual. Hopefully what i have added to RZASA is correct, if not please let me know so I can correct them and figure out where I went wrong. Thanks again for all of the help and feedback.
by BOOSTEDEVERYTHING
2024 Apr 18, 15:27
Forum: Hardware, Programming & Disassembly
Topic: 4 pin maf ground seperation
Replies: 1
Views: 287

Re: 4 pin maf ground seperation

There is a 12v power ground for the heater and a signal return (not really a ground) that is supposed to go back to the pcm for signal puroses. What type of issue are you having? you Should be able to run the ground wire of the mass air to a good ground with the rest of the chassis type grounds that you have run to about the same place as the ground for the megasquirt.
Also..last time I was using megasquirts they needed to be modified internally for proper operation with a MAF sensor. Really they run better with MAP that MAF. The auto tune function for drivability is spot on!!!

I attached a wiring diagram for the 2004 cobra for clarification.
by BOOSTEDEVERYTHING
2024 Apr 16, 08:17
Forum: Hardware, Programming & Disassembly
Topic: SAD Version 5 (alpha)
Replies: 143
Views: 15633

Re: SAD Version 5 (alpha)

I am not sure exactly how to describe the looped scan function, but if you take a look at my directive file you will see how many scan commands I had to use to make it through just 2 banks. Right now it seems that as soon as it finds a stopping point, it stops scanning. I will see if I can make a dir with just the scan codes to give you a clearer view. It would be awesome if it would scan a range of code if you put a start and end address for it to scan, where it wouldn't stop until it got to the end of the range. I guess that may be the easiest way to explain it, I guess. Maybe JSA could elaborate on it a bit...

Also, You will see examples of the byte and word values that I am talking about in my dir file. Again, I am very new, and I am following examples in the dir files I am given, Maybe there is a better way of doing it, or maybe I am misunderstanding the dir files?? Thanks for being so open to new ideas, especially from someone so new to this.
by BOOSTEDEVERYTHING
2024 Apr 13, 09:45
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 362
Views: 60052

Re: EEC V file conversion

Thank you. That worked. So Ratch_min is an inline scalar, and it should point to a function, or it should not? Sorry if that’s a stupid question. And if it does point to a function, is there a way to define it as an inline scalar instead of a generic function? I am also having issues finding some of the names in the strategy docs of some of the syms, is there another document somewhere I am missing that is used for some of the other names used in these for files?
by BOOSTEDEVERYTHING
2024 Apr 13, 09:37
Forum: Hardware, Programming & Disassembly
Topic: SAD Version 5 (alpha)
Replies: 143
Views: 15633

Re: SAD Version 5 (alpha)

TVRFan…is there a way to request a couple things to be added to the new versions of SAD? I would like to request to see if you could incorporate a looped scan command and possibly SAD produced branch comments, and loop comments. Also, SAD 5 still doesn't like an address to have both a word value and byte value assigned to it, could that also be incorporated? Or could you possibly add the previous 2 things to a previous version of SAD 4? I hate to ask for things, being as I am so new to the community. These would be a huge help for me as a newbie, and I think they may help other new people as well. Thanks for the consideration. And also thanks so much for the continuing development on this software.
by BOOSTEDEVERYTHING
2024 Apr 11, 16:02
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 362
Views: 60052

Re: EEC V file conversion

Yes, I get a bank error message with the above on sad v 4.012. Should all 4 of those entries be commented out, The first instance of both were not commented out and the second was. So wasn't exactly sure why there was a duplicate of each, just commented out.
by BOOSTEDEVERYTHING
2024 Apr 10, 08:03
Forum: Hardware, Programming & Disassembly
Topic: SAD Directive Formatting
Replies: 5
Views: 236

Re: SAD Directive Formatting

Here is the SAD documentation I have been using for SAD 4.012
by BOOSTEDEVERYTHING
2024 Apr 10, 07:58
Forum: Hardware, Programming & Disassembly
Topic: SAD Directive Formatting
Replies: 5
Views: 236

Re: SAD Directive Formatting

Here is the dir file I got from you and added a few entries and converted over most of the old context to the new. Some stuff could be wrong so you will have to double check some of the actual entries, but the context is correct, I hope.
by BOOSTEDEVERYTHING
2024 Apr 10, 07:54
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 362
Views: 60052

Re: EEC V file conversion

That is the DIR file I got from you, so I am not positive about that to be honest. The duplicates were there already and were commented out. I only commented out the first RATCH_MIN entry to see if I could make it clear, but it did not help.