Notices
ECU Flash

Sample disassembly

Thread Tools
 
Search this Thread
 
Old May 29, 2011 | 09:11 PM
  #1  
dparrish's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2011
Posts: 145
Likes: 0
From: Sydney
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.
Reply
Old May 30, 2011 | 12:27 PM
  #2  
HyperDisorder's Avatar
Evolving Member
iTrader: (1)
 
Joined: Jul 2010
Posts: 198
Likes: 29
From: Whakatane, NZ
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
Reply
Old May 30, 2011 | 09:42 PM
  #3  
logic's Avatar
Evolved Member
iTrader: (2)
 
Joined: Apr 2003
Posts: 1,022
Likes: 7
From: Berkeley, CA
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).
Reply
Old May 31, 2011 | 12:11 AM
  #4  
dparrish's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2011
Posts: 145
Likes: 0
From: Sydney
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.
Reply
Old May 31, 2011 | 01:01 AM
  #5  
And's Avatar
And
Evolving Member
20 Year Member
 
Joined: Dec 2005
Posts: 419
Likes: 0
From: Bristol, England
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
Reply
Old May 31, 2011 | 06:41 PM
  #6  
dparrish's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2011
Posts: 145
Likes: 0
From: Sydney
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.
Reply
Old Jun 1, 2011 | 08:32 AM
  #7  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
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.
Reply
Old Jun 1, 2011 | 12:19 PM
  #8  
HyperDisorder's Avatar
Evolving Member
iTrader: (1)
 
Joined: Jul 2010
Posts: 198
Likes: 29
From: Whakatane, NZ
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.
Reply
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




All times are GMT -7. The time now is 03:58 PM.