6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Oct 06, 2024 2:14 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Jul 07, 2012 12:19 am 
Offline
User avatar

Joined: Mon Apr 02, 2012 8:34 pm
Posts: 9
Location: Ottawa, Ontario, Canada
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


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 07, 2012 2:11 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8413
Location: Midwestern USA
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!


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 07, 2012 6:09 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10949
Location: England
Nice one, thanks Jeff. It was tantalising seeing that code from WDC and then discovering it was unusable.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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: