Fixed Erich's Disasm, hopefully - SR20 Forum
Nissan SR20 Forum Nissan SR20 Forum Header Right
HomeForumGalleryClassifiedsAbout UsAdvertiseContact Us

Welcome to the SR20 Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Auto Insurance
» Featured Product
» Wheel & Tire Center

Go Back   SR20 Forum > Vendor Customer Support > CalumSult (Archived for Informational Purposes) > ROM & ECU tuning file exchange



Sr20Forum.com is the premier Nissan SR20 Forum on the internet. Registered Users do not see the above ads.
Reply
 
Thread Tools
Old 05-18-2006, 06:05 PM   #1 (permalink)
ClamSlut
 
Calum's Avatar

 
Join Date: Dec 2001
Location: Lubbock, TX

Feedback Score: 26 reviews
Fixed Erich's Disasm, hopefully

If anyone here cares, I think I fixed Erich's Disasm program (this was my C++ problem from a while back). This seems to perfectly disassmble the roms (program is posted at the end of the thread below, for some reason I can't add attachments here anymore). Assuming this is a good fix, it just needs to be rewritten to handle nested JSRs and its done, but Nissan didn't use any nested JSRs in the roms I tested so it will work as is.

If anybody else can test it on roms and scan through the output for correctness that'd be cool.

Anybody up for really wading through the rom?

http://eccs.hybridka.com/viewtopic.php?t=75&start=30

Last edited by Calum; 05-18-2006 at 06:08 PM.
Calum is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 05-18-2006, 08:16 PM   #2 (permalink)
Charlie Brown look alike

 
Join Date: Dec 2001
Location: Suffolk, Virginia

Feedback Score: 23 reviews
Congrats! Calum. I'll let the guy at work know.
__________________
'92 Super Black Se-r w/ just mods - SOLD
'91 Super Black Se-r stock (for now )
"I'm more afraid of being nothing then I am of being hurt."
Peanuthead is offline   Reply With Quote
Old 05-19-2006, 09:22 PM   #3 (permalink)
ClamSlut
 
Calum's Avatar

 
Join Date: Dec 2001
Location: Lubbock, TX

Feedback Score: 26 reviews
Ok, so it did need to handle multiple stages of JSRs, I was wrong. So I've posted a new version on the other thread. This version does recursive handling of JSRs, and points out suspect disassembly when it gets done. It also gives you something to look at as it chugs along, and sticks the result straight in a file. New run mode:

*** binfile index(8000) outfile

This version will b*tch about some spots, and for some bins produce a runtime error (just hit ignore, it should keep going), but the resulting disassembly looks perfect. Also, I compiled in Visual C++, which probably means if you don't use .NET it will hose you. For some reason when compiled with Bloodshed's Dev++ the output hangs half way through. Meh.

I suspect some of the comments (the call from and tos) might be incomplete, but otherwise the disassembly looks really good. Erich did a good job with the original version.

Last edited by Calum; 05-19-2006 at 09:33 PM.
Calum is offline   Reply With Quote
Sponsored Links
Advertisement
 
Reply

  SR20 Forum > Vendor Customer Support > CalumSult (Archived for Informational Purposes) > ROM & ECU tuning file exchange


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Powered by vBadvanced CMPS v3.2.2

All times are GMT -4. The time now is 03:53 AM.



Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
© The SR20 Forum - Content from this site may not be used without permission