6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed May 15, 2024 5:14 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Sat Apr 25, 2015 12:09 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Hi guys

Does anyone know of a decent Win32/64 6502 disassembler? I.e. one that they've used and can recommend?
I've found a few already, but they're either web based or Win16 or Linux/Unit.

Any recommendations?

[edit]

I've found this one: http://sourceforge.net/projects/dis6502/
Seems ok, but will have a play. Recommendations still welcome, though :).


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 25, 2015 2:07 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
You might try Ruud's disassembler:
http://www.baltissen.org/htm/auto_dis.htm

I use the very basic facility in Ian Piumarta's lib6502: can dump a disassembly of memory and then get to work in a text editor.


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 25, 2015 2:20 pm 
Offline
User avatar

Joined: Sun Sep 08, 2013 10:24 am
Posts: 740
Location: A missile silo somewhere under southern England
Thanks for the recommendation, Ed. Unfortunately, it won't run under windows 7 x64 (it's a 16 bit DOS app). However, I do like the idea of his data auto detection routine that he mentions on the main page.


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 25, 2015 2:27 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
Oops!


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 25, 2015 3:31 pm 
Offline

Joined: Sun Apr 05, 2015 1:17 am
Posts: 6
Location: Belgium
for running 16bit dos app under Win7/8 64bit or whatever else there is DOSbox


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 25, 2015 5:34 pm 
Offline
User avatar

Joined: Fri Oct 31, 2003 10:00 pm
Posts: 199
banedon wrote:
Thanks for the recommendation, Ed. Unfortunately, it won't run under windows 7 x64 (it's a 16 bit DOS app). However, I do like the idea of his data auto detection routine that he mentions on the main page.


Turbo Pascal source is included, so perhaps Freepascal will compile it. Or run it in a VM or MS- DOS emulator


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 25, 2015 6:32 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8433
Location: Southern California
See if there's one in the list on my links page at http://wilsonminesco.com/links.html#assem that suits you. One or two of the links there are to other pages with further long lists of 65xx assemblers.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 26, 2015 3:36 am 
Offline

Joined: Tue Jul 24, 2012 2:27 am
Posts: 672
I've got one here that's quite powerful: http://www.white-flame.com/wfdis/ It requires HTML5 & Javascript enabled, but will run anywhere that runs. You can even download & run a local copy; it's not technically "web based", as it runs completely in local javascript.

It's currently Commodore 64 specific, but if you have a binary, prepending the 2-byte load address to the file will make it work as a "prg" file.

Features:
  • Tracing 6502 disassembler
  • CBM BASIC detokenization, finding SYS addresses and disassembling from there
  • Very slow emulator for running relocation or decompression code, allowing you to disassemble further from that
  • Understands .prg and .sid formats, as well as .d64 images containing them
  • Edit formatting (indentation, blank lines), and comments
  • Create or rename labels
  • Built-in C64 ROM & I/O labels
  • View areas as some C64 graphics types

This is technically just the front-end to my AI-driven disassembler back end, but I am also keeping it fully runnable client-side with just the rudimentary tracing disassembler.

Big caveat: no saving/export yet. Saving & loading the disassembler state does work, but there's no UI hook for it yet. Still, you can explore the workings of a file, and copy/paste out if you're desparate. :)

Small caveats: No "illegal" opcodes yet. Manually switching things from gfx back to binary sometimes doesn't register quite right.

To get more features in, just bug me.

Image

_________________
WFDis Interactive 6502 Disassembler
AcheronVM: A Reconfigurable 16-bit Virtual CPU for the 6502 Microprocessor


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 30, 2015 8:18 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
A timely post from Peter Fröhlich mentions a resurrection of "a flow-tracing 6502 disassembler first published in 1986 by Robert Bond" - it's a work in progress.

The project page has a link to Eric Smith's dis6502 page (including the original dis6502 sources)

Note that this is a command-line program and needs lex and yacc to build it - probably OK using cygwin or similar on Windows, but it's not a GUI program as was originally sought. Might be interesting anyway.

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 23, 2016 10:12 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
There's a mention of the impressive-looking open source 'radare' reverse engineering tool, and at least one simple command line disassembler, over in this thread.


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 23, 2016 10:53 pm 
Offline

Joined: Tue Jul 24, 2012 2:27 am
Posts: 672
Note that radare actually is an interactive disassembler, as the main part of its tool. I had to search to try to find how to do a simple commandline disassembly dump of a file, for that particular thread. :)

_________________
WFDis Interactive 6502 Disassembler
AcheronVM: A Reconfigurable 16-bit Virtual CPU for the 6502 Microprocessor


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 24, 2016 8:44 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
I'm glad you did search - for someone who prefers command line, it's essential to know that a GUI-looking tool also supports the command line.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


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 post attachments in this forum

Search for:
Jump to: