AltairZ80: Fixed breakpoint detection after PC wrap around
This commit is contained in:
parent
d92805f258
commit
f91d56c60f
1 changed files with 33 additions and 32 deletions
|
@ -6125,7 +6125,7 @@ static t_stat sim_instr_mmu (void) {
|
|||
}
|
||||
|
||||
/*
|
||||
** Save in instruction history ring buffer?
|
||||
** Save in instruction history ring buffer
|
||||
*/
|
||||
if (hst_lnt && ((chiptype == CHIP_TYPE_8080) || (chiptype == CHIP_TYPE_Z80))) {
|
||||
hst[hst_p].valid = 1;
|
||||
|
@ -6151,6 +6151,7 @@ static t_stat sim_instr_mmu (void) {
|
|||
}
|
||||
}
|
||||
|
||||
PC &= ADDRMASK; /* reestablish invariant */
|
||||
sim_interval--;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue