Is there a good and free disassembler?

Everything about the various Boulder Dash tools, and other stuff created by the fans.

Moderator: Admin

Post Reply
User avatar
LogicDeLuxe
Member
Posts: 637
Joined: Sun Jul 15, 2007 12:52 pm
Contact:

Is there a good and free disassembler?

Post by LogicDeLuxe »

The most important thing would be label generation which is not limited to jumps but to everything in a given RAM range, including tables of any kind. So moving code and reassembling it is just a matter of moving parts in the source text.

The free disassemblers I saw so far all used absolute addresses for any memory access. This won't help when you are about to edit the software.

Since I used the Action Replay monitor for coding, there is no source text available. This was a good compromise when coding with only 64 kB RAM back then, but it's time to move to some more advance coding techniques, I think.

In the nature of coding with the Action Replay monitor, many routines are fragmented throughout the memory, taking extra cycles. Another issue are many small unused memory areas between routines, which are just too small to add code between them.

Having an editable source text would be an easy way to optimize the code. I even could release the engine as open source. Releasing it under any free license won't be possible though, for several reasons.

After optimizing the engine, I might be able to add compatibility settings for BD1, BD2, PLCK and 1stB. Perhaps, I could even add the level feature from BD1 and BD2. Imagine 48 caves with 5 levels each. A CLCK 3.5 so to speak. How does this sound?
User avatar
paul_nicholls
Member
Posts: 108
Joined: Sun Dec 12, 2010 6:16 am
Location: Tasmania, Australia

Post by paul_nicholls »

Hi LogicDeluxe,
I don't know if this will help, but I found this page:

http://www.aartbik.com/MISC/c64.html

This page includes win2c64, which is an assembler that runs on any Microsoft Windows platform and generates code that can be executed on the Commodore 64.

I know this isn't a disassembler, but this sounds very useful!

Perhaps you could somehow use it to help make boulder dash games for the c64?

cheers,
Paul
User avatar
LogicDeLuxe
Member
Posts: 637
Joined: Sun Jul 15, 2007 12:52 pm
Contact:

Post by LogicDeLuxe »

Since XDC already does what I wanted, I don't really need a disassembler right now. The vast majority of XDC is written from scratch.
I use the assembler included in the CC65 package for it: http://www.cc65.org/
User avatar
paul_nicholls
Member
Posts: 108
Joined: Sun Dec 12, 2010 6:16 am
Location: Tasmania, Australia

Post by paul_nicholls »

LogicDeLuxe wrote:Since XDC already does what I wanted, I don't really need a disassembler right now. The vast majority of XDC is written from scratch.
I use the assembler included in the CC65 package for it: http://www.cc65.org/
Very nice!

What I would like to have is a Pascal -> c64 assembly compiler :wink:

Anyway, good luck with XDC :)

cheers,
Paul
Post Reply