Re: 65C02 assembler / trace

From: Rhialto <rhialto_at_falu.nl>
Date: Sun, 30 Sep 2018 16:25:54 +0200
Message-ID: <20180930142554.GA4249@falu.nl>
On Sat 29 Sep 2018 at 23:17:39 -0700, David Holz wrote:
> On 09/29/2018 12:20 PM, didier derny wrote:
> > I'm rewriting my own monitor...
> >
> > any idea of the logic to use to trace 6502 instructions without
> > hardware help 
> 
> If you mean single-stepping, and without modded hardware, two ideas come
> to mind:
> 
> 1) Use a timer to trigger an interrupt such that it will fire after you
> RTI back into the "running" program, allowing 1 instruction to execute. 
> Hope that the program/OS doesn't use that timer or SEI if it's not an NMI.

This is I think what several existing monitors do. It isn't included in
my KosMon, it seems, so you'll have to look in MicroMon or some other
monitor for details.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl      -- if you're unable...to Speak." - Agent Elrond


Received on 2018-09-30 17:00:05

Archive generated by hypermail 2.2.0.