openMSX
|
#include <IRQHelper.hh>
Public Member Functions | |
IntHelper (const IntHelper &)=delete | |
IntHelper & | operator= (const IntHelper &)=delete |
IntHelper (MSXMotherBoard &motherboard, const std::string &name) | |
Create a new IntHelper. More... | |
IntHelper (MSXMotherBoard &motherboard, const std::string &name, const DeviceConfig &config) | |
~IntHelper () | |
Destroy this IntHelper. More... | |
void | set () |
Set the interrupt request on the bus. More... | |
void | reset () |
Reset the interrupt request on the bus. More... | |
void | set (bool s) |
Convenience function: calls set() or reset(). More... | |
bool | getState () const |
Get the interrupt state. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned) |
Definition at line 55 of file IRQHelper.hh.
|
delete |
|
inline |
Create a new IntHelper.
Initially there is no interrupt request on the bus.
Definition at line 64 of file IRQHelper.hh.
|
inline |
Definition at line 70 of file IRQHelper.hh.
|
inline |
Destroy this IntHelper.
Resets interrupt request if it is active.
Definition at line 81 of file IRQHelper.hh.
References openmsx::IntHelper< SOURCE >::reset().
|
inline |
Get the interrupt state.
Definition at line 116 of file IRQHelper.hh.
Referenced by openmsx::MC6850::peekStatusReg(), and openmsx::YM2148::pendingIRQ().
|
delete |
|
inline |
Reset the interrupt request on the bus.
Definition at line 96 of file IRQHelper.hh.
Referenced by openmsx::YM2148::readData(), openmsx::MC6850::readDataReg(), openmsx::PioneerLDControl::readMem(), openmsx::YM2148::reset(), openmsx::MC6850::reset(), openmsx::Y8950::reset(), openmsx::YM2151::reset(), openmsx::PioneerLDControl::reset(), openmsx::MSXMidi::reset(), openmsx::MSXRS232::reset(), openmsx::Y8950::resetStatus(), openmsx::IntHelper< SOURCE >::set(), openmsx::YM2148::writeData(), openmsx::MC6850::writeDataReg(), openmsx::V9990::writeIO(), and openmsx::IntHelper< SOURCE >::~IntHelper().
|
inline |
Definition at line 121 of file IRQHelper.hh.
References openmsx::IntHelper< SOURCE >::set().
|
inline |
Set the interrupt request on the bus.
Definition at line 87 of file IRQHelper.hh.
Referenced by openmsx::IntHelper< SOURCE >::serialize(), openmsx::IntHelper< SOURCE >::set(), openmsx::Y8950::setStatus(), openmsx::PioneerLDControl::videoIn(), openmsx::YM2148::writeCommand(), openmsx::MC6850::writeControlReg(), and openmsx::PioneerLDControl::writeMem().
|
inline |
Convenience function: calls set() or reset().
Definition at line 105 of file IRQHelper.hh.
References openmsx::IntHelper< SOURCE >::reset(), and openmsx::IntHelper< SOURCE >::set().