6502 disassembler
Go to file
Eric Smith 2857fc340e Add jtab. 2018-03-11 12:02:12 -06:00
.gitignore Update version to 0.15. 2018-01-23 11:14:14 -07:00
COPYING Initial revision 2003-09-13 01:06:10 +00:00
Makefile Update version to 0.15. 2018-01-23 11:14:14 -07:00
README added -7 option. 2003-09-15 21:50:57 +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 Add jtab. 2018-03-11 12:02:12 -06:00
dis6502.1 added -7 option. added copyright notice. 2003-09-15 21:46:32 +00:00
initopts.c Use stdbool.h. 2018-03-08 15:32:24 -07:00
lex.l Add jtab. 2018-03-11 12:02:12 -06:00
main.c Add jtab. 2018-03-11 12:02:12 -06:00
print.c Use stdbool.h. 2018-03-08 15:32:24 -07:00
ref.c Use stdbool.h. 2018-03-08 15:32:24 -07:00
tbl.c Use stdbool.h. 2018-03-08 15:32:24 -07:00
trace_queue.c Use stdbool.h. 2018-03-08 15:32:24 -07:00

README

dis6502 by Robert Bond, Udi Finkelstein, and Eric Smith
Copyright 2000-2003 Eric Smith
$Id: README,v 1.4 2003/09/15 21:50:57 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.

* Added a "-7" option to mask off MSB of character data.

* 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.