33 auto connected = config.
getChildData(
"irq_connected",
"irq");
34 if (connected ==
one_of(
"irq",
"true")) {
36 }
else if (connected ==
"nmi") {
38 }
else if (connected ==
"false") {
42 "Unknown IRQ sink \"", connected,
"\" in <irq_connected>");
std::string_view getChildData(std::string_view name) const
void lowerNMI()
This methods lowers the non-maskable interrupt again.
void raiseIRQ()
This method raises a maskable interrupt.
void raiseNMI()
This method raises a non-maskable interrupt.
void lowerIRQ()
This methods lowers the maskable interrupt again.
OptionalIRQ(MSXCPU &cpu, const DeviceConfig &config)
This file implemented 3 utility functions: