View previous topic :: View next topic |
Author |
Message |
MooZ Visitor

Joined: 14 May 2002 Posts: 15 Location: France
|
Posted: Thu Oct 26, 2006 9:33 pm Post subject: Etripator released |
|
|
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  |
|
Back to top |
|
 |
Tomaitheous Elder

Joined: 27 Sep 2005 Posts: 306 Location: Tucson
|
Posted: Sun Oct 29, 2006 6:01 pm Post subject: |
|
|
It's a WIP, so are there any opcodes that don't disassemble correctly? _________________ www.pcedev.net |
|
Back to top |
|
 |
MooZ Visitor

Joined: 14 May 2002 Posts: 15 Location: France
|
Posted: Sun Oct 29, 2006 8:09 pm Post subject: |
|
|
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 |
|
 |
Tomaitheous Elder

Joined: 27 Sep 2005 Posts: 306 Location: Tucson
|
Posted: Mon Oct 30, 2006 3:35 am Post subject: |
|
|
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 ).
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 |
|
 |
MooZ Visitor

Joined: 14 May 2002 Posts: 15 Location: France
|
Posted: Mon Oct 30, 2006 11:30 am Post subject: |
|
|
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 |
|
 |
Tomaitheous Elder

Joined: 27 Sep 2005 Posts: 306 Location: Tucson
|
Posted: Fri Nov 03, 2006 9:05 pm Post subject: |
|
|
Cool. Looking forward to it  _________________ www.pcedev.net |
|
Back to top |
|
 |
MooZ Visitor

Joined: 14 May 2002 Posts: 15 Location: France
|
Posted: Mon Sep 03, 2007 10:52 pm Post subject: |
|
|
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 :
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 |
|
 |
Tomaitheous Elder

Joined: 27 Sep 2005 Posts: 306 Location: Tucson
|
Posted: Thu Sep 06, 2007 9:06 pm Post subject: |
|
|
yay! _________________ www.pcedev.net |
|
Back to top |
|
 |
MooZ Visitor

Joined: 14 May 2002 Posts: 15 Location: France
|
Posted: Mon Jun 16, 2008 1:08 pm Post subject: |
|
|
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 |
|
 |
|