808x: Clear prefetch queue on soft reset, fixes the CTRL+ALT+DEL hang on Amstrad 808x machines, fixes #408.
This commit is contained in:
@@ -563,9 +563,10 @@ reset_808x(int hard)
|
|||||||
_opseg[3] = &cpu_state.seg_ds;
|
_opseg[3] = &cpu_state.seg_ds;
|
||||||
|
|
||||||
pfq_size = (is8086) ? 6 : 4;
|
pfq_size = (is8086) ? 6 : 4;
|
||||||
pfq_clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pfq_clear();
|
||||||
|
|
||||||
load_cs(0xFFFF);
|
load_cs(0xFFFF);
|
||||||
cpu_state.pc = 0;
|
cpu_state.pc = 0;
|
||||||
if (is_nec)
|
if (is_nec)
|
||||||
|
@@ -2124,7 +2124,6 @@ kbd_write(uint16_t port, uint8_t val, void *priv)
|
|||||||
|
|
||||||
case 0x66:
|
case 0x66:
|
||||||
softresetx86();
|
softresetx86();
|
||||||
cpu_set_edx();
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user