mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-12-22 16:30:06 +00:00
Only return will interrupt continue; version now 0.72
Change-Id: I6fc1fb0b268facf1fe80dd9f45f1790a53dd33e9
This commit is contained in:
parent
a785d7e73f
commit
d70c378245
BIN
AtomCpuMon.bit
BIN
AtomCpuMon.bit
Binary file not shown.
@ -10,7 +10,7 @@
|
|||||||
* VERSION and NAME are used in the start-up message
|
* VERSION and NAME are used in the start-up message
|
||||||
********************************************************/
|
********************************************************/
|
||||||
|
|
||||||
#define VERSION "0.71"
|
#define VERSION "0.72"
|
||||||
|
|
||||||
#if (CPU == Z80)
|
#if (CPU == Z80)
|
||||||
#define NAME "ICE-T80"
|
#define NAME "ICE-T80"
|
||||||
@ -1208,17 +1208,18 @@ void doCmdContinue(char *params) {
|
|||||||
cont = logDetails();
|
cont = logDetails();
|
||||||
hwCmd(CMD_WATCH_READ, 0);
|
hwCmd(CMD_WATCH_READ, 0);
|
||||||
}
|
}
|
||||||
if (status & INTERRUPTED_MASK || Serial_ByteRecieved0()) {
|
if (status & INTERRUPTED_MASK) {
|
||||||
log0("Interrupted\n");
|
|
||||||
cont = 0;
|
cont = 0;
|
||||||
}
|
}
|
||||||
|
if (Serial_ByteRecieved0()) {
|
||||||
|
// Interrupt on a return, ignore other characters
|
||||||
|
if (Serial_RxByte0() == 13) {
|
||||||
|
cont = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
Delay_us(10);
|
Delay_us(10);
|
||||||
} while (cont);
|
} while (cont);
|
||||||
|
log0("Interrupted\n");
|
||||||
// Junk the interrupt character
|
|
||||||
if (Serial_ByteRecieved0()) {
|
|
||||||
Serial_RxByte0();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Enable single stepping
|
// Enable single stepping
|
||||||
setSingle(1);
|
setSingle(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user