Re: Hardware emulation of 6509 using 6502?

From: David Holz <david.holz_at_grindwork.com>
Date: Sat, 4 Nov 2017 10:14:31 -0700
Message-ID: <6d4427bf-e172-990e-bf2b-cd1c5b5dbde3@grindwork.com>
On 11/04/2017 09:59 AM, smf wrote:
> Self modifying code will break that, some 6502 software I've been
> looking at recently used operands for variable storage.

No, that's already handled.  The system knows what code has been
executed, and what hasn't.  If bytes written are known as previously
executed code, then it reverts back to BRKs to be reevaluated on next
execution.  If those bytes weren't yet executed as code, then they'll be
BRK trapped anyway and evaluated as code for the first time then.

       Message was sent through the cbm-hackers mailing list
Received on 2017-11-04 18:00:02

Archive generated by hypermail 2.2.0.