mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-12-21 09:29:52 +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
|
||||
********************************************************/
|
||||
|
||||
#define VERSION "0.71"
|
||||
#define VERSION "0.72"
|
||||
|
||||
#if (CPU == Z80)
|
||||
#define NAME "ICE-T80"
|
||||
@ -1208,17 +1208,18 @@ void doCmdContinue(char *params) {
|
||||
cont = logDetails();
|
||||
hwCmd(CMD_WATCH_READ, 0);
|
||||
}
|
||||
if (status & INTERRUPTED_MASK || Serial_ByteRecieved0()) {
|
||||
log0("Interrupted\n");
|
||||
if (status & INTERRUPTED_MASK) {
|
||||
cont = 0;
|
||||
}
|
||||
if (Serial_ByteRecieved0()) {
|
||||
// Interrupt on a return, ignore other characters
|
||||
if (Serial_RxByte0() == 13) {
|
||||
cont = 0;
|
||||
}
|
||||
}
|
||||
Delay_us(10);
|
||||
} while (cont);
|
||||
|
||||
// Junk the interrupt character
|
||||
if (Serial_ByteRecieved0()) {
|
||||
Serial_RxByte0();
|
||||
}
|
||||
log0("Interrupted\n");
|
||||
|
||||
// Enable single stepping
|
||||
setSingle(1);
|
||||
|
Loading…
Reference in New Issue
Block a user