MagicEngine
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Japanese English 

Etripator released

 
Post new topic   Reply to topic    MagicEngine Forum Index -> General
View previous topic :: View next topic  
Author Message
MooZ
Visitor
Visitor


Joined: 14 May 2002
Posts: 15
Location: France

PostPosted: Thu Oct 26, 2006 9:33 pm    Post subject: Etripator released Reply with quote

Hello!

It's been ages since i posted there.
So here it is. Some years ago, i wrote a very simple and stupid pcengine disassembler in order to check if the rom i produced with wla-dx were correct. And i forgot it for months...
Two weeks ago, i restarted working on it and decided to make a "public" release. Note that it's still in WIP.

Here it is
Readme

The directory contains the windows binary, actual source code with Makefiles for both windows and linux, and a dev c++ project.

As an example, I started to disassemble and comment Momotaro Densetsu Turbo

Comments and complains are welcome Smile
Back to top
View user's profile Send private message Visit poster's website
Tomaitheous
Elder
Elder


Joined: 27 Sep 2005
Posts: 306
Location: Tucson

PostPosted: Sun Oct 29, 2006 6:01 pm    Post subject: Reply with quote

It's a WIP, so are there any opcodes that don't disassemble correctly?
_________________
www.pcedev.net
Back to top
View user's profile Send private message
MooZ
Visitor
Visitor


Joined: 14 May 2002
Posts: 15
Location: France

PostPosted: Sun Oct 29, 2006 8:09 pm    Post subject: Reply with quote

All the opcodes are disassembled correctly.
It's a WIP because the interface can be improved. For example, if you only want let the disassembler extract the interupts fonctions, you have to provided an empty CSV. It sounds a little bit stupid. On the other hand, there 's no way to deactivate IRQ disassembly. It's mainly "interface" improvments. And another major issue is that i haven't tested it on cdrom data.
Back to top
View user's profile Send private message Visit poster's website
Tomaitheous
Elder
Elder


Joined: 27 Sep 2005
Posts: 306
Location: Tucson

PostPosted: Mon Oct 30, 2006 3:35 am    Post subject: Reply with quote

It errors out on ISO files. Also errors out on smaller files - tested on a file that is 0x1000 bytes.

I wrote a disassembler last year, but it's a dynamic in window disassebler for browsing through files - I never added save output and branch instructions showed the actual operand.

I could use yours if it had some other features though (I too lazy to try to go back and understand/update my old code/mess Razz ).

If there was an option to use Magickit format for the instructions/ASM ( i.e. '[' instead of '(' and '<' for zeropage) and have the additional info(address;opcode hex) to the right of the disassebled opcodes with a comment( ";") right before it so it can be easily modified and re-assembled, that be great. An option to exclude irq's would be great too( ISOs don't need or have it).

-Rich
_________________
www.pcedev.net
Back to top
View user's profile Send private message
MooZ
Visitor
Visitor


Joined: 14 May 2002
Posts: 15
Location: France

PostPosted: Mon Oct 30, 2006 11:30 am    Post subject: Reply with quote

Multiple output formats is a nice idea.
So... i think my todo list will be as follow:
1. Fix small file size problem
2. Add output format selection
3. Add iso support
Back to top
View user's profile Send private message Visit poster's website
Tomaitheous
Elder
Elder


Joined: 27 Sep 2005
Posts: 306
Location: Tucson

PostPosted: Fri Nov 03, 2006 9:05 pm    Post subject: Reply with quote

Cool. Looking forward to it Very Happy
_________________
www.pcedev.net
Back to top
View user's profile Send private message
MooZ
Visitor
Visitor


Joined: 14 May 2002
Posts: 15
Location: France

PostPosted: Mon Sep 03, 2007 10:52 pm    Post subject: Reply with quote

Tadam!

Finally a new release.Here the main features :
- Code cleanup.
- The disassembled data is no longer copied to ram (will prevent crash for isos)
- Label detection was added. This means that instead of having :
Code:
        nop
        bra $e040

We have:
Code:
l_e040: nop
        bra l_e040

- The mkit option was removed. Now only mkit compatible code will be output.
- A new command line option was added. It will let you specify the name of the main assembly file. This file will include all the data files and code. As long as the irq vector table if the irq detection option was enabled. (-o bla.asm or --out bla.asm)

The ReadMe file contains more detailed information.

sources
win32 binary

Please report any bug. I didn't have the time to test on a cd iso so it may crash.
Back to top
View user's profile Send private message Visit poster's website
Tomaitheous
Elder
Elder


Joined: 27 Sep 2005
Posts: 306
Location: Tucson

PostPosted: Thu Sep 06, 2007 9:06 pm    Post subject: Reply with quote

yay!
_________________
www.pcedev.net
Back to top
View user's profile Send private message
MooZ
Visitor
Visitor


Joined: 14 May 2002
Posts: 15
Location: France

PostPosted: Mon Jun 16, 2008 1:08 pm    Post subject: Reply with quote

For those interested, I made a new release of etripator some months ago.
The csv file format was simplified. It now only contains :
type;bank;org;size

The org and start field in the previous was (imo) redundant.

sources
win32 binary
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    MagicEngine Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group