Table of Contents

Name

debug6502 - Debugger and emulator for the 6502 microprocessor.

Synopsis

debug6502 filename

Description

The debug6502 program assembles, emulates and runs a debugger on a 6502 assembly source file. The program will let you disassemble the current program in memory, set breakpoints and dump sections of memory.

Options

debug6502 accepts the following options:
filename
A source file is required to run the debugger.

Environment

Once the debugger is started a handful of single letter commands will preform different task.

n
Executes the next instruction.
a
filename Disassembles the program in memory and saves it to a file.
c
Continues running the program until a break point is reached.
d
start[,end] Dumps a section of memory to the screen. The start and end address need to be base 16.
q
Quits the debugger.
?
Prints the help screen.

Trademarks

The Original 6502 was developed by MOS Technology.

See Also

http://www.6502asm.com/

Copyright

2007 by Jeremy English. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

Author

Original 6502 emulator was written by Stian Soreng <6502asm@gmail.com>. The emulator was ported to C and the debugger was written by Jeremy English <jhe@jeremyenglish.org>


Table of Contents