6502 disassembler
Go to file
Eric Smith eca9847e7a Initial revision 2003-09-13 01:06:10 +00:00
COPYING Initial revision 2003-09-13 01:06:10 +00:00
Makefile rewrite. 2003-09-13 00:54:33 +00:00
README *** empty log message *** 2003-09-13 01:04:02 +00:00
README.Bond Initial revision 2003-09-12 23:56:49 +00:00
README.Finkelstein Initial revision 2000-04-27 23:29:28 +00:00
dis.h defined addr_t. added trace queue to eliminate recursion. 2003-09-12 08:54:24 +00:00
dis6502.1 added address argument for -r option. 2003-09-13 01:05:37 +00:00
initopts.c defined addr_t. added trace queue to eliminate recursion. 2003-09-12 08:54:24 +00:00
lex.l defined addr_t. added trace queue to eliminate recursion. 2003-09-12 08:54:24 +00:00
main.c assign dummy value to operand for single-byte case to avoid warning. 2003-09-13 00:54:07 +00:00
print.c assign dummy value to operand for single-byte case to avoid warning. 2003-09-13 00:54:07 +00:00
ref.c defined addr_t. added trace queue to eliminate recursion. 2003-09-12 08:54:24 +00:00
tbl.c defined addr_t. added trace queue to eliminate recursion. 2003-09-12 08:54:24 +00:00
trace_queue.c Initial revision 2003-09-12 08:54:24 +00:00

README

dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
Copyright 2000, 2003 Eric Smith
$Id: README,v 1.2 2003/09/13 01:04:02 eric Exp $

dis6502 is a flow-tracing disassembler for the 6502, originally written
by Robert Bond and supporting Atari binary files.  Robert posted dis6502
to the Usenet newsgroup net.sources on 9-Oct-1986, and to
comp.sources.unix 7-Jun-1988.  Udi Finkelstein ported dis6502 to the
Amiga, added support for Commodore 64 object files, and posted it to
comp.sources.amiga on 4-Nov-1988.  These versions were in the public
domain.

This version of dis6502 has been modified in several ways:

* Can read raw binary files.

* Option to specify alternate reset and interrupt vector addresses.

* Line numbers are no longer necessary with equates in definition files.

* If a data reference is made to an address that does not have an
  assigned name, but address-1 does, the reference will be disassembled
  as name+1.  This is convenient for two-byte variables, particularly in
  zero page.

* New definition file directives:

        <name> .equ <addr>                     same as .eq

               .jtab2 <addr>,<addr>,<count>    table of code pointers, split
                                               into high and low byte tables

               .rtstab <addr>,<addr>,<count>   like jtab2, but each entry
					       contains the target address
					       minus one, for use with RTS

* Rather than using recursive calls to trace every instruction, there is
  now a trace queue

* Updated to use ANSI C function prototypes and include files

* Amiga/Manx changes have been removed

dis6502 has been tested on Red Hat Linux 9, but should work on other
Linux, BSD, and Unix systems.

dis6502 is distributed under the terms of the Free Software Foundation's
General Public License, Version 2.  See the file COPYING for details.

The original release notes from Robert Bond and Udi Finkelstein are in
the files README.Bond and README.Finkelstein.