From 58e445e10b14dc5165baaf0c7acf8c72998a213c Mon Sep 17 00:00:00 2001 From: David Banks Date: Thu, 24 Oct 2019 19:09:28 +0100 Subject: [PATCH] Firmware: remove manual step in cmdContinue (no longer needed on 6502 or Z80) Change-Id: I75cdb43b782f8a016ea8e1009cbdac1ecd67169e --- firmware/AtomBusMon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/AtomBusMon.c b/firmware/AtomBusMon.c index eeb2ea5..6788e91 100644 --- a/firmware/AtomBusMon.c +++ b/firmware/AtomBusMon.c @@ -1319,8 +1319,10 @@ void doCmdContinue(char *params) { shiftBreakpointRegister(0, 0, 0, 0); } - // Step the 6502, otherwise the breakpoint happends again immediately +#if defined(CPU_6809) + // Step the 6809, otherwise the breakpoint happends again immediately hwCmd(CMD_STEP, 0); +#endif // Enable breakpoints hwCmd(CMD_BRKPT_ENABLE, 1);