[Tools] Etripator

hu, cd, scd, acd, supergrafx discussions.
User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

[Tools] Etripator

Post by MooZ » Sat Aug 28, 2010 4:20 pm

Hy people!

Here's a new version of Etripator. Your favorite pcengine disassembler. Unfortunately I can't update the M$ Visual C++ project/solution nor the DevCpp project files for the time being. So you'll have to do it yourself or wait a few weeks (months? :D). So... What's new? Not much. Except that there's a new configuration file format supported.
Wave goodbye to the old CSV file (well it's still here via --csv command line) and give a warm welcome to the infamous INI/CFG file :)
Here's a copy/paste from the README.txt file:
The almighty README.txt wrote:Each section starts with the name of the output file between square brackets. The supported fields are :
  • type (mandatory) : values are code ,bin_data or inc_data.
    • 'code' is self explanatory.
    • 'inc_data' means that the section is pure data. But it will be output as code directives (.db)
    • 'bin_data' is also for data section. The output file will contain binary data.
  • bank (mandatory) : bank of the current section. It will be used to compute the file offset of the section if the 'offset' field is missing.
  • org (mandatory) : program counter location. Just like 'bank', it will be used to compute file offset if there's no 'offset' field.
  • offset : file offset. This field is useful for CD-ROM disassembly.
  • size : section size. For code section, a negative (or missing size) means that the disassembly will stop when a RTS or RTI instruction is found. This field is mandatory for data sections.
Here's a complete random example:

Code: Select all

[your_file.something]
type=code
bank=A
org=C0A2
offset=15e0f

[some_data.bin]
type=bin_data
bank=8
org=6000
offset=21CD
size=2000
NOTE : Comments are not supported for the moment.

I'll update this post as new versions appears. Please feel free to report any bugs or feature requests.

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Thu Sep 23, 2010 4:34 pm

This versions includes:
  • visual c++ project 2010 files
  • a label is output at the beginning of the code

I compiled the exe with Visual Express C++ 2010 under Win7. Tell me if you have problems with it.

tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Re: [Tools] Etripator

Post by tomaitheous » Thu Sep 23, 2010 5:25 pm

Yeah, saw the message :) Thank yee

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Mon May 02, 2011 8:22 am

Etripator's code is now on github: https://github.com/BlockoS/Etripator.
I created a bunch of issues for the next release [here]. So if you have any requests, just create new ones. And maybe consider joining or forking the project :)

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Sun Jun 12, 2011 3:33 pm

17 days to go until the deadline and so much stuffs still to be done :(
Who has a temporal regulator or a cloning machine to share?

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Fri Jul 22, 2011 12:31 pm

Deadline failed :) I got lost in the "Make it support multiple plateform" plan.
By the way I was thinking about adding support for disassembling HES files. Anyone interested?

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Wed May 09, 2012 9:42 pm

Etripator 0.3 is released (link).
There're no binaries for the moment. I'll post them tomorrow.

So what's new?
Nothing much. Some bugfixes. I added a licence (gpl v3). There's a Makefile for linux/mingw. The magic value for the code section was changed to 0.

By the way, I don't plan to work much on it unless people start to complain (or just use it).

Here's the Windows binary file.

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Sun Nov 10, 2013 10:59 am

Work on the 1.0 version have officially started.
This version will try to add multi-platform support, smarter configuration via scripts.
There's no deadline yet.

tomaitheous
Posts: 88
Joined: Mon Jun 23, 2008 1:58 pm

Re: [Tools] Etripator

Post by tomaitheous » Tue Dec 31, 2013 7:52 pm

Have you thought about doing a tracer? It's part dissassembler and part cpu emulator. It basically starts from the reset vector, and follows every possible code path it can take. I started writing one many years ago, but it quick quite complex.

User avatar
MooZ
Site Admin
Posts: 389
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Wed Jan 01, 2014 5:52 pm

That's planed but that will require to conceptualize some stuffs (like register, memory, storage, etc...).
At the moment I'm on the boring stuffs (command line parsing, etc...).

Post Reply