Date : Tue, 26 Feb 2008 16:24:08 +0000
From : fragula@... (Fragula)
Subject: BBC FPGA Boots to BASIC... almost...
Peter Coghlan wrote:
> What I meant to say is if a BRK is executed setting the B flag, maybe it
> never gets cleared again and things fall apart some number of IRQs later?
IIRC - and its possible that I don't - the BRK handler should do
something like:
PHP
PLA
;do AND or XOR magic to clear the break bit, but I canna remember which bit.
PHA
PLP
in order to clear the BRK flag.
Cheers!
M.