2017-09-04 14:26:04 -04:00
|
|
|
//
|
|
|
|
// IRQDelegatePortHandler.cpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 04/09/2017.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-09-04 14:26:04 -04:00
|
|
|
//
|
|
|
|
|
|
|
|
#include "../6522.hpp"
|
|
|
|
|
|
|
|
using namespace MOS::MOS6522;
|
|
|
|
|
|
|
|
void IRQDelegatePortHandler::set_interrupt_delegate(Delegate *delegate) {
|
|
|
|
delegate_ = delegate;
|
|
|
|
}
|
|
|
|
|
2020-05-30 00:37:06 -04:00
|
|
|
void IRQDelegatePortHandler::set_interrupt_status(bool) {
|
2017-09-04 14:26:04 -04:00
|
|
|
if(delegate_) delegate_->mos6522_did_change_interrupt_status(this);
|
|
|
|
}
|