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();
|
||||
|
||||
// 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
|
||||
active_rom_ = *value & 0xf;
|
||||
|
||||
// apply the ULA's test
|
||||
if(*value & 0x08) {
|
||||
if(*value & 0x04) {
|
||||
keyboard_is_active_ = false;
|
||||
basic_is_active_ = false;
|
||||
} else {
|
||||
keyboard_is_active_ = !(*value & 0x02);
|
||||
basic_is_active_ = !keyboard_is_active_;
|
||||
// apply the ULA's test
|
||||
if(*value & 0x08) {
|
||||
if(*value & 0x04) {
|
||||
keyboard_is_active_ = false;
|
||||
basic_is_active_ = false;
|
||||
} else {
|
||||
keyboard_is_active_ = !(*value & 0x02);
|
||||
basic_is_active_ = !keyboard_is_active_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user