Notices
ECU Flash

Sample disassembly

Thread Tools
 
Search this Thread
 
Old May 29, 2011, 09:11 PM
  #1  
Evolving Member
Thread Starter
 
dparrish's Avatar
 
Join Date: Apr 2011
Location: Sydney
Posts: 145
Likes: 0
Received 0 Likes on 0 Posts
Sample disassembly

I've decided it's time to start delving into the disassembly side of flashing, and it's a steep learning curve. I've already started on my stock 96260009 ROM and I've found most of the relevant maps and I'm starting to look at the code that uses them.

What I'd like though is if someone has a more complete disassembly handy, I could use that as a reference. tephra? mrfred? Anyone?

I'm using IDA Pro 5.

Also if someone has a good 96260009 XML handy that would be awesome. The one I have (on the SVN repo) doesn't seem to match a lot of the tables in my rom.
Old May 30, 2011, 12:27 PM
  #2  
Evolving Member
iTrader: (1)
 
HyperDisorder's Avatar
 
Join Date: Jul 2010
Location: Whakatane, NZ
Posts: 198
Received 28 Likes on 21 Posts
Oh I'm trying to get off the ground doing the same. Though I'm scratching my head trying to remember how to read low-level stuff!

I've found defined plenty of tables in 96260009, but am yet to share them because I want to be sure that they're right. Like to collaborate a little/ a lot?

A sample disassembly would be fantastic.

Cheers
Old May 30, 2011, 09:42 PM
  #3  
Evolved Member
iTrader: (2)
 
logic's Avatar
 
Join Date: Apr 2003
Location: Berkeley, CA
Posts: 1,022
Likes: 0
Received 6 Likes on 5 Posts
dparrish: I don't have a copy of it with me right now, but Acamus had a great automated "getting started" script for IDA that did a great job of doing a pretty complete disassembly, located the MUT table, and a few other things. That, along with a reasonable sh3.cfg that labels the interrupt vectors and registers for you, will give you a pretty damn readable disassembly.

You could also try out the Python disassembler, which does a lot of this stuff as well (along with a few things that IDA can't currently, such as partial automated table/axis determination and correlation), but you won't have the full-featured IDE that IDA gives you (and that can be a very big deal, after you've used IDA for a while).
Old May 31, 2011, 12:11 AM
  #4  
Evolving Member
Thread Starter
 
dparrish's Avatar
 
Join Date: Apr 2011
Location: Sydney
Posts: 145
Likes: 0
Received 0 Likes on 0 Posts
I managed to find a copy of onload.idc on another forum at http://www.geekmapped.com/forums/showthread.php?t=853 but I don't know if it's a recent version. It seems to work though, I stuck it in and loaded up a rom last night, it did quite a bit of stuff.
Old May 31, 2011, 01:01 AM
  #5  
And
Evolving Member
 
And's Avatar
 
Join Date: Dec 2005
Location: Bristol, England
Posts: 414
Likes: 0
Received 0 Likes on 0 Posts
which tables don't match? is it one that I've uploaded? are you running any mods? I've just checked with a standard rom and the tables look normal?

Andy
Old May 31, 2011, 06:41 PM
  #6  
Evolving Member
Thread Starter
 
dparrish's Avatar
 
Join Date: Apr 2011
Location: Sydney
Posts: 145
Likes: 0
Received 0 Likes on 0 Posts
My stock rom was a 96260009 and I've seen two different versions of the XML floating around. Both versions seem to work for different people, which is odd.

Perhaps there are 2 slightly different roms around with the same id? That would be painful but would definitely explain what I'm seeing.
Old Jun 1, 2011, 08:32 AM
  #7  
EvoM Guru
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
Originally Posted by HyperDisorder
Oh I'm trying to get off the ground doing the same. Though I'm scratching my head trying to remember how to read low-level stuff!

...

Cheers
with lots of patience and code commenting.

i'll post up a link to my latest 8859 disassem later today.
Old Jun 1, 2011, 12:19 PM
  #8  
Evolving Member
iTrader: (1)
 
HyperDisorder's Avatar
 
Join Date: Jul 2010
Location: Whakatane, NZ
Posts: 198
Received 28 Likes on 21 Posts
Originally Posted by mrfred
with lots of patience and code commenting.

i'll post up a link to my latest 8859 disassem later today.
Haha yeah patience sounds about right. Keen as to learn though.

Cheers for the disassembly.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
HyperDisorder
ECU Flash
19
Feb 14, 2017 04:59 PM
peter-pie
ECU Flash
8
Sep 2, 2013 02:22 PM
richardjh
ECU Flash
1
Feb 4, 2013 07:07 PM
r4p.t0x
ECU Flash
5
Aug 5, 2012 04:26 AM
widge
ECU Flash
4
Jul 31, 2010 05:22 PM



Quick Reply: Sample disassembly



All times are GMT -7. The time now is 07:32 PM.