1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-11 08:30:55 +00:00

Don't page if acknowleding interrupts.

This commit is contained in:
Thomas Harte 2024-01-02 22:23:40 -05:00
parent ce2337f91e
commit 2447029631

View File

@ -288,19 +288,19 @@ template <bool has_scsi_bus> class ConcreteMachine:
evaluate_interrupts(); evaluate_interrupts();
// TODO: NMI // TODO: NMI
} } else {
// Latch the paged ROM in case external hardware is being emulated.
active_rom_ = *value & 0xf;
// latch the paged ROM in case external hardware is being emulated // apply the ULA's test
active_rom_ = *value & 0xf; if(*value & 0x08) {
if(*value & 0x04) {
// apply the ULA's test keyboard_is_active_ = false;
if(*value & 0x08) { basic_is_active_ = false;
if(*value & 0x04) { } else {
keyboard_is_active_ = false; keyboard_is_active_ = !(*value & 0x02);
basic_is_active_ = false; basic_is_active_ = !keyboard_is_active_;
} else { }
keyboard_is_active_ = !(*value & 0x02);
basic_is_active_ = !keyboard_is_active_;
} }
} }
} }