65816 Disassembler and Trace utility

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
User avatar
tranter
Posts: 9
Joined: 02 Apr 2012
Location: Ottawa, Ontario, Canada
Contact:

65816 Disassembler and Trace utility

Post by tranter »

The manual "Programming the 65816 Including the 6502, 65C02 and 65802" available from The Western Design Center has a chapter describing and giving the source code for a program called DEBUG16 that can perform disassembly and instruction tracing of 65816 machine code. I ported the code to the CC65 assembler and got the disassembler running on my Replica 1 computer which has been modified to support a 65816 CPU. I haven't yet got the trace code ported and debugged.

Details and a link to the source code can be found here on my blog: http://jefftranter.blogspot.ca/2012/07/ ... trace.html
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: 65816 Disassembler and Trace utility

Post by BigDumbDinosaur »

tranter wrote:
The manual "Programming the 65816 Including the 6502, 65C02 and 65802" available from The Western Design Center has a chapter describing and giving the source code for a program called DEBUG16 that can perform disassembly and instruction tracing of 65816 machine code. I ported the code to the CC65 assembler and got the disassembler running on my Replica 1 computer which has been modified to support a 65816 CPU. I haven't yet got the trace code ported and debugged.

Details and a link to the source code can be found here on my blog: http://jefftranter.blogspot.ca/2012/07/ ... trace.html

I'll bet that port kept you up at nights for a while. :lol: Good job.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: 65816 Disassembler and Trace utility

Post by BigEd »

Nice one, thanks Jeff. It was tantalising seeing that code from WDC and then discovering it was unusable.
Post Reply