mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 05:29:23 +00:00
Merge pull request #1300 from TomHarte/ElectronPaging
Don't page if acknowleding interrupts.
This commit is contained in:
commit
439535e44b
@ -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_;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user