Search found 534 matches

by tvrfan
Tue Dec 01, 2020 5:37 pm
Forum: EECGeeks
Topic: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU
Replies: 79
Views: 14805

Re: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU

Probst Book - if it's the dark blue one, I had this for a while. It doesn't give much at all on how the innards and communication protocols work, it does give some sensor data, but only really from a view of 'external tuning' (i.e. fiddling with the sensors). So not a lot of use for EEC internals. I...
by tvrfan
Wed Nov 18, 2020 10:16 pm
Forum: EECGeeks
Topic: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU
Replies: 79
Views: 14805

Re: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU

I've found a jump calculation error in the check for the interrupt vectors, where a 'negative' value (top bit set) causes the wrong answer, but it only happens when there is no ROMBANK prefix. So now I know why. This has been hiding for a long time. I haven't changed this code, even for the RZAS bin...
by tvrfan
Sun Nov 15, 2020 5:01 pm
Forum: EECGeeks
Topic: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU
Replies: 79
Views: 14805

Re: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU

Huh ??? Don't understand...... SAD doesn't assume any order or conventions, as you rightly say, there's "no standards". If there is a fourth bank in that file (which I haven't checked in detail yet) then there's a bug in my 'bank finder' code. SAD first scans the bin file for 'fingerprint' bank star...
by tvrfan
Sun Nov 15, 2020 2:02 pm
Forum: EECGeeks
Topic: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU
Replies: 79
Views: 14805

Re: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU

Guys, To let you all know, SAD doesn't work on these bins as they only have 3 detectable banks. I coded SAD to reject a 3 bank bin as it can't possibly be valid (1 bank select bit = 2 banks, 2 bits = 4 banks). [NB. But I must check if there's a bug causing 4th bank to be missed] Reason is that Hardw...
by tvrfan
Tue Nov 03, 2020 12:35 am
Forum: EECGeeks
Topic: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU
Replies: 79
Views: 14805

Re: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU

I can't remember if heads are plain hex, or the 'star' pattern.... ? Maybe I'm confusing with something else....maybe Euro vs US boxes ? Have a good look with a magnifier to confirm.... Hex driver will easily chew up a star head and then it gets REALLY hard to undo. Been there.....(not on an EEC box...
by tvrfan
Sun Nov 01, 2020 2:28 pm
Forum: EECGeeks
Topic: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU
Replies: 79
Views: 14805

Re: Project on Reverse Engineering binaries, assembly, coding and learning more about the ECU

Welcome to the world of geek................... I've been doing this FAR TOO LONG, and people like jsa WON'T LET ME ESCAPE !! (just joking). Seriously, welcome, and we are all of a similar aim, to try to get a full decode of all EEC-IV and V binaries. For me personally, I no longer own any qualifyin...
by tvrfan
Fri Jul 24, 2020 12:58 am
Forum: EECGeeks
Topic: I've got the EEC Software Manual and Custom IC Hardware Architecture Reference
Replies: 74
Views: 20193

Re: I've got the EEC Software Manual and Custom IC Hardware Architecture Reference

BUMP.

This deserves to be at the top for a while longer !!
by tvrfan
Fri Jul 24, 2020 12:55 am
Forum: EECGeeks
Topic: quick question about indexed ops
Replies: 11
Views: 6111

Re: quick question about indexed ops

and there is this gem in A9L, which shows a word wraparound.......... but again signed/unsigned makes no difference, I reckon. it is really weird to do it this way though - I still wonder if it's correct..............why not stb, R42, [R0+9b] or a straight stb R42, R9B ??? # Diagnostic Proc Table D ...
by tvrfan
Thu Jul 23, 2020 3:37 pm
Forum: EECGeeks
Topic: quick question about indexed ops
Replies: 11
Views: 6111

Re: quick question about indexed ops

I can only say that disassembly works perfectly (as far as I can tell) with byte = signed, long = unsigned. So I agree with Bob. However, I think it's true that nearly all of the long indexes you see are based on R0, so in a 16 bit field, it would actually make no difference. If you feed a signed ne...
by tvrfan
Thu Jul 23, 2020 3:21 pm
Forum: EECGeeks
Topic: I've got the EEC Software Manual and Custom IC Hardware Architecture Reference
Replies: 74
Views: 20193

Re: I've got the EEC Software Manual and Custom IC Hardware Architecture Reference

F-A-N-T-A-S-T-I-C !!!!! I've scanned the'software' one and it contains EVERYTHING, including details about some of those nagging little questions we had about edge conditions, odd stuff found in bin code etc. Wonderful. The handbook was brilliant, this is a step above that. Great. I now don't have t...
by tvrfan
Wed Jul 01, 2020 8:53 pm
Forum: EECGeeks
Topic: SAD 4.0.6 in Github
Replies: 2
Views: 1823

Re: SAD 4.0.6 in Github

TrainWreck ?? Not really............. If it was the "RSAZ" ones, it was that they have a 'short bank' in the middle of the file, (Bank 1 is 0x2000-0xdfff) and I had not allowed for this in SAD. It's fixed in next version (4.0.7.1) in GitHub 'daily' subdiv where the tests go. These bins also seem to ...
by tvrfan
Tue Jun 23, 2020 7:12 pm
Forum: Lounge
Topic: EXPIRED CERTIFICATE
Replies: 6
Views: 3456

EXPIRED CERTIFICATE

WHEN ARE YOU GOING TO SORT OUT THE EXPIRED CERTIFICATE ???

Yes, I deliberately shouted. This has been faulty for many months.

Does anyone actually care any more ??
by tvrfan
Tue Jun 23, 2020 7:11 pm
Forum: EECGeeks
Topic: SAD 4.0.6 in Github
Replies: 2
Views: 1823

SAD 4.0.6 in Github

Released latest SAD to github. Has a BIG list of fixes - thanks to jsa for all his testing to help get here. It's still not perfect, and I was sent some newer .bin files which don't work, so 4.0.7 will be in the daily updates today or tomorrow..... Eventually I'll get to version 4 as a full proper w...
by tvrfan
Fri Jun 05, 2020 8:42 pm
Forum: Hardware Discussions
Topic: Need the EEC ARCHITECTURE AND HARDWARE REFERENCE MANUAL
Replies: 8
Views: 6933

Re: Need the EEC ARCHITECTURE AND HARDWARE REFERENCE MANUAL

Also don't forget the OPEN EEC PROJECT on GITHUB, which has copies of tom cloud's doc and lots of other stuff. https://github.com/OpenEEC-Project This is where we are still trying to decode and understand the actual CPU binary code. Simpler ones done, and A9L which was a very common early US box, ha...
by tvrfan
Sat Mar 07, 2020 9:57 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

I could not think of a good reply, so instead I have posted a DB version of what SAD uses for its internal data structures when disassembling. Of course this is quite different to an 'information database' which will have a lot more comments and user based items than a plain disassembly would. SAD c...
by tvrfan
Tue Mar 03, 2020 3:42 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

86GT - Thanks for that. I started off by suggesting the SQLite system because it's available on almost every platform, and it allows the binary itself to be stored within that same database. Therefore only ONE file could hold everything for everyone. It's a worry already though that the Linux versio...
by tvrfan
Mon Mar 02, 2020 5:56 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

Right - I'll do this backwards, JSA first. Remember that a Primary Key can be multiple fields. Scratch registers - I'm assuming you mean different NAMES/SYMBOLS, but anyway (Register_addr + Range) is then a primary key. Again, MAP (or its equivalent register whatever) becomes (address+Unit type) for...
by tvrfan
Mon Mar 02, 2020 1:49 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

Pym, thank you for taking my comment in a positive way. My DB experience - I did quite a few database designs for various systems (Police, govt ministries, commercial product tracking). This had different design aims, but all stored the various kinds of information, text (= comments), semi-formatted...
by tvrfan
Mon Mar 02, 2020 3:36 am
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

Oh damn..........., I don't know how to say this gently, so I will not.... I HATE, HATE, HATE, DATABASE TRIGGERS. THEY ARE THE INVENTION OF THE DEVIL. THEY VIOLATE THE KISS PRINCIPLE. THEY NEARLY ALWAYS EXIST TO COVER UP BAD DESIGN. Truly, I don't understand why you need them at all for a simple DB,...
by tvrfan
Sun Mar 01, 2020 2:22 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

Pym, My extract of the original DB file left out some fields I think. So my extra fields comments are wrong. The text one is much better.... thanks. I seem to be getting an error with " Skip BOOLEAN DEFAULT (False) " in the create table in the linux versions of SQlite tools. "Error: default value of...
by tvrfan
Sat Feb 29, 2020 6:31 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

I just want to be clear here, so there is no misunderstanding. It doesn't actually matter how you choose to store your data internally (hey, it's YOUR program after all). I am only aiming for a shared db format which is as simple as possible (KISS principle), for the easy sharing of the DECODED CALI...
by tvrfan
Fri Feb 28, 2020 2:28 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

Re: feedback please - moving to SQLite database files

My answer from a disassembly point of view - I agree that the simplest universal address system would be to use 5 hex digits. The CPU itself is only a 16 bit unit. It expands by keeping the top 4 bits of its address banks in separate places, and adding them by default to the 16 bit address operation...
by tvrfan
Fri Feb 21, 2020 4:17 pm
Forum: EECGeeks
Topic: feedback please - moving to SQLite database files
Replies: 23
Views: 9705

feedback please - moving to SQLite database files

For consideration and comments - Do you like SAD806x and its graphical format ??? If yes, then this is the right time to ask the question about how to share data between different applications. We already have xdef files for tunerpro (etc), I use plain text files for SAD (which doesn't truly store a...
by tvrfan
Thu Feb 20, 2020 5:39 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 74562

Re: SAD disassembler progress

The tool is fully functional on Windows, haven't tried it on Linux yet. Ah, of course I forgot, one must always use a bin which conforms to 'the rules', like the venerable A9L. My humble AA.bin (and others) don't work of course, because it's European, or more likely because it doesn't begin with 0x...
by tvrfan
Wed Feb 19, 2020 9:31 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 74562

Re: SAD disassembler progress

Pym's SAD806x source is posted on OpenEEC if you want to poke through it. He's got some handy utilities built in to that tool. finally managed to get Mono installed on linux (in a VM) and SAD806x actually compiles and runs, which is great. I don't know what works on Windows, but on Linux it opens t...
by tvrfan
Sat Feb 15, 2020 4:30 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 74562

SAD bugs in 4.0.4

Just a note for users of SAD - Am working on data cleanups and table/function sizes/layouts/ends, which don't always work correctly. I've found a couple of bugs to fix....may find some more.......... 1) indexed instruction prints sometimes drop the register part of the index in the pseudo code, and ...
by tvrfan
Thu Feb 13, 2020 7:41 pm
Forum: EECGeeks
Topic: SAD disassembler progress
Replies: 165
Views: 74562

Re: SAD disassembler progress

Pym's SAD806x source is posted on OpenEEC if you want to poke through it. He's got some handy utilities built in to that tool. thanks - But now my inner dinosaur comes out... How do I compile c# on linux ?? Ummmm....... :oops: <short delay whilst frantic typing noises happen>...Damn, this stuff is ...
by tvrfan
Tue Feb 11, 2020 1:43 pm
Forum: EECGeeks
Topic: quick question about indexed ops
Replies: 11
Views: 6111

Re: quick question about indexed ops

Bob, Yep, No worries. I was checking that perhaps a non-zero register with long index might possibly be signed, but that xdt2 example shows it's not. All good. Thanks for that piece of info about the RAM, it explains what's going on in the code, I thought RAM/KAM was always below 0x2000. I now see t...
by tvrfan
Tue Feb 11, 2020 4:39 am
Forum: EECGeeks
Topic: quick question about indexed ops
Replies: 11
Views: 6111

Re: quick question about indexed ops

If the 2nd byte of the instruction is even then it is short indexed, if the 2nd byte is odd then it is long indexed. I can only recall seeing the zero register being used with long indexing and it's an unsigned index. Thanks Bob. But you do see long indexes with non-zero register here and there as ...
by tvrfan
Mon Feb 10, 2020 11:53 pm
Forum: EECGeeks
Topic: quick question about indexed ops
Replies: 11
Views: 6111

Re: quick question about indexed ops

Having dug around for info and thought about it... It looks like it may be that - Short index is SIGNED (A9L for proof) Long index is SIGNED ?? (Guess) Zero index (short and long) is UNSIGNED. This would explain why it has a separate section in the 8096 manual, when it's really just using R0. And it...
cron