Search found 417 matches

by tvrfan
Mon Nov 05, 2018 7:42 pm
Forum: EECGeeks
Topic: Modern day potential of J3 devices beyond TwEECer and QH
Replies: 48
Views: 8961

Re: Modern day potential of J3 devices beyond TwEECer and QH

That's true about Analogue inputs, as the sample schematics I've seen often have a resistor network of some type, either to change voltage or to adjust the sensor results. Anything of non-linear response is of course is easy, that's what the 1D function lookup takes care of.... but Yes, a possible g...
by tvrfan
Mon Nov 05, 2018 1:59 pm
Forum: EECGeeks
Topic: Modern day potential of J3 devices beyond TwEECer and QH
Replies: 48
Views: 8961

Re: Modern day potential of J3 devices beyond TwEECer and QH

I want to add something to this - a view from the hardware/electronics viewpoint - If you've got access to the ROM ( = program) you can actually repurpose ANY of the inputs and outputs to do something else, within reason. Each injector output is effectively a PWM driver with a decent current capabil...
by tvrfan
Sun Nov 04, 2018 6:20 pm
Forum: EECGeeks
Topic: Modern day potential of J3 devices beyond TwEECer and QH
Replies: 48
Views: 8961

Re: Why auto disassembly is tough

I can't help but think of Hondata in this case... From what I understand, the ROM chip is replaced with an interface controller, which also adds features like boost control and flex fuel. Er, unless I am misunderstanding, isn't that exactly the same as the various J3 port plug in boards ? They too ...
by tvrfan
Sun Oct 28, 2018 6:11 pm
Forum: EECGeeks
Topic: Modern day potential of J3 devices beyond TwEECer and QH
Replies: 48
Views: 8961

Re: Why auto disassembly is tough

You could do that, sure. For me, to make it as simple as possible, I would still just go with MegaSquirt (or Emerald etc) replacement, and get the right hardware sensor interface bits/options for the engine. KISS principle wins.... I see there's DIY retrofits for stuff like the old mechanical Bosch ...
by tvrfan
Fri Oct 26, 2018 1:50 pm
Forum: EECGeeks
Topic: Modern day potential of J3 devices beyond TwEECer and QH
Replies: 48
Views: 8961

Re: Why auto disassembly is tough

Honestly, if i was doing a home made tune today, I would not keep the EEC-IV or V. Even with a plug in module, it's too hard IMHO. I would simply replace it...... I totally agree with several points raised - I would use a Megasquirt (or similar type) EEC for any project. You can get at all the param...
by tvrfan
Thu Oct 25, 2018 7:49 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Good question, I'm honestly not sure.. As far as I know..... Higher level languages ('C' and upwards to things like Java) have some pretty good compilers, and they tend to have optimisation options for each main processor family. They already have a lot of 'code shortcut' optimisation tricks built i...
by tvrfan
Thu Oct 25, 2018 2:18 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Wouldn't be surprised if it's in a lot of binaries - if it's a compiler thing (which it could well be) then probably a whole family have it. Sort of interesting on a different level - A9L does appear to have been 'hacked' afterwards (IMHO), with jumps inserted and odd bits which are never called, an...
by tvrfan
Mon Oct 22, 2018 11:19 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

here's a great one to "do yer 'ead in" as they would say in dear old Blighty (UK slang) I found this in 22CA whilst trying to get variable arguments to work, and spent AGES looking at it for why SAD wouldn't pass on the function lookup attributes..... and then the light dawned...... SUBFunLU1: 86dbc...
by tvrfan
Fri Oct 19, 2018 6:23 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Actually, there's quite a lot of wait loops in low level coding, everywhere. Trouble is the CPU is often faster than the hardware it's driving. On the slightly bigger machines I worked on, many of the peripherals used interrupts to communicate, but even then there often had to be a wait between read...
by tvrfan
Thu Sep 27, 2018 2:35 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

I'm sure many people do, possibly even yourself if you have an ECU with flash ROM in it. Try enabling the flashing pin................ I only ever had a couple of older actual EEC-IV boxes as part of classic car and engine swaps/kits from several years ago. Boxes were all UK/European ones, from bef...
by tvrfan
Wed Sep 26, 2018 2:35 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: SAD 3.08 released

Thank you for the new version release. Any of those oddball two code bank bins have something other than 8 and 1 for calibration pointers and _maybe_ number of tunes or something? 2020: 08 byte 8 2021: 01 byte 1 I've not seen anything other than the 8 (regs) and 1 (set) yet. Earlier bins have no fo...
by tvrfan
Wed Sep 26, 2018 2:28 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Seriously but - I've collected quite a few bins for my test set, I've got over 100 now. About time I did that really, as I'm still discovering new code tricks in them. There are a couple where whoever did the dump had faulty hardware/connection, as it always has one of the bits set (so not useable),...
by tvrfan
Wed Sep 26, 2018 2:20 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

So that means you're not going to support any more than 4 banks? :wink: Actually, I've written the code so that it should handle ALL 16 banks, so there !! Well, yeah, OK, code does check for 0,1,8,9 in a few places, but for all addressing, it's full 20 bits, 16 banks capable. Anyone got a (8065) bi...
by tvrfan
Tue Sep 25, 2018 7:25 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: SAD 3.08 released

Er - I can see that what I wrote might be misleading.... Perhaps I should have said " 2 x bank 8" Yes, *ALL* banks in a multibank can have both code and data, but only ONE contains a true 'start' jump at the beginning of the bank, which is bank 8. A true start is the one which jumps over the interru...
by tvrfan
Mon Sep 24, 2018 6:52 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

SAD 3.08 released

Just released 3.08. Mainly, this is for sorting out bank detection, for all bins, including those with a few missing or extra bytes at the front, and empty front banks. I was doing further carry/conditional stuff (from jsa) but stumbled across the bank problem after a PM from ranga83 telling me he c...
by tvrfan
Wed Sep 19, 2018 3:59 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Update ..... This is a bit like Whackamole.... I downloaded more bins to test, and discovered that whilst it's not too bad to write code which works for *many* bins, getting it to work for *all* bins is a lot harder..... I'm still testing, but discovered more bugs in the way that - 1) banks are dete...
by tvrfan
Mon Aug 20, 2018 5:46 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Just a quick note - I've discovered that SAD does not work properly for single bank 8065 cpus if file size is not exactly 56 or 64K. That is, if file does not 1) start immediately, or 2) has 'standard' 0x2000 filler at the front. This might apply for some multibanks too. (the 4TAB I have is an 'odd'...
by tvrfan
Sat Aug 18, 2018 7:27 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Got PM now on this login.... Yeah, for you (jsa) and anyone else reading - there are a few argument getters which appear pretty much standard across the binaries. There is a fixed size one, which basically is POP, one or more LDB (or STB) with autoincrement, and then a PUSH. 3697: cc,3a pop R3A R3A ...
by tvrfan
Sat Aug 18, 2018 3:30 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Hit a big problem with variable arguments which I'll have to rethink. It's looking more and more like if I can get A9L to work, ANYTHING else will probably work.....I reckon some of the 'nasty' code in there is patches applied afterwards by engineers. So I shall go back to current prod version (3.07...
by tvrfan
Fri Aug 17, 2018 8:38 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Oops, you are right. It don't work -- OK, I'll add that to the list of stuff....
by tvrfan
Thu Aug 16, 2018 11:23 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

How about an alternate method ? Versions 3.04 on have prototype/test code for printing an OPERAND in the comment. I haven't worked on it in a while so it might crash, but try it out with a \1 \2 or \3 in the text line. It should work....and resolve names for indexed/indirect etc. as it calls the sam...
by tvrfan
Sun Aug 12, 2018 3:02 pm
Forum: EECGeeks
Topic: Orb 0 and Xrw 0
Replies: 11
Views: 2228

Re: Orb 0 and Xrw 0

Thanks for the code example. Yes that code seems weird. So it's not my suggestion of a PSW check....OK. er ..... a mystery then. I know that some things DO appear to have time sync/delay requirements from the code. Here's one from xdt2 (8065 CPU) 8246e: 90,35,34 orb R34,R35 R34 |= R35; 82471: f2 pus...
by tvrfan
Sat Aug 11, 2018 8:49 pm
Forum: EECGeeks
Topic: Orb 0 and Xrw 0
Replies: 11
Views: 2228

Re: Orb 0 and Xrw 0

Oops - a brain fart there..... I was thinking of the bitswap trick which actually uses 3 xors.... apologies. Yes XOR requires the bits to be different to produce a '1' output. Thanks Bob. But the XOR will still set the PSW according to the result (from Ford handbook) as per the R47 orb. So I reckon ...
by tvrfan
Sat Aug 11, 2018 5:01 am
Forum: EECGeeks
Topic: Orb 0 and Xrw 0
Replies: 11
Views: 2228

Re: Orb 0 and Xrw 0

First one doesn't change R47, but does set the PSW for a subsequent conditional jump.... You may also see R30 += 0 and similar, which do the same thing. It's not stated anywhere (that I've found), but I guess it's perhaps quicker to execute than a cmp, which effectively does a subtract, and bitwise ...
by tvrfan
Fri Aug 10, 2018 3:20 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

Yes, I feel it's now pretty much essential to sort out arguments as next thing, before going on with anything else. (unless someone find a crash or something...)
by tvrfan
Thu Aug 09, 2018 2:58 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

TIMER - Actually I didn't mean it that way - I was just checking. Timer command is still experimental, and may fail. SYMS - you could do sym xxx 1 2345 ... and sym xxx 2500 9ffff .... which would do the same ! Currently, I'm a bit distracted - to explain why. I'm deep into trying to get subr argumen...
by tvrfan
Fri Aug 03, 2018 5:12 am
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

jsa, Damn, that example makes me realise that probably ALL the 3 op source substitutions "if (source) goto)" are WRONG.... OK - will look at that. Well spotted. I take it example 2 is from the timer list ?? From your PM earlier. symbol names - the problem is that sometimes, immediates ARE pointers t...
by tvrfan
Mon Jul 30, 2018 3:35 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

I'm Back.....
by tvrfan
Fri Jun 15, 2018 2:33 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

3.07 released

jsa - No - I haven't got a bit field option in an arguments list. I'll add thet to my list - I assume it's so you can get a symbol name ?? I've just pushed 3.07 as my last thing before disappearing for a while..... I've not fully tested it, but have got address ranges for symbols and rbases, and var...
by tvrfan
Wed Jun 13, 2018 3:03 pm
Forum: EECGeeks
Topic: Why auto disassembly is tough
Replies: 310
Views: 71148

Re: Why auto disassembly is tough

You should be able to override any part you want with a command in a <name>_dir.txt file ( so "m0m2_dir.txt") if it's a regular 2D table, then use a TABLE command, or if not use a STRUCT command and specify each element of the row. SAD knows how many rows by the start and end address (it calculates ...