mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-15 20:31:36 +00:00
Add admission.
This commit is contained in:
parent
bb84a5a474
commit
a5038259bc
@ -224,6 +224,9 @@ template<bool is_brk> inline void Executor::perform_interrupt(uint16_t vector) {
|
||||
}
|
||||
|
||||
void Executor::set_interrupt_request(uint8_t ®, uint8_t value, uint16_t vector) {
|
||||
// TODO: this allows interrupts through only if fully enabled at the time they
|
||||
// signal. Which isn't quite correct, albeit that it seems sufficient for the
|
||||
// IIgs ADB controller.
|
||||
reg |= value;
|
||||
if(!interrupt_disable_ && (reg & (value >> 1))) {
|
||||
perform_interrupt<false>(vector);
|
||||
|
Loading…
x
Reference in New Issue
Block a user