diff options
author | 2020-04-23 12:48:10 -0400 | |
---|---|---|
committer | 2020-04-23 12:49:38 -0400 | |
commit | 9ce4560ee3155e70e433c00863ece1dd5d657b32 (patch) | |
tree | ec2dba09b6295fe1e9d192042e2442e7c2df46c5 /src/devices/cpu/hphybrid | |
parent | 822e05189678719821c9ec715f07f2424086a82d (diff) |
hphybrid: Add offset to interrupt callback to distinguish IRH from IRL (nw)
Diffstat (limited to 'src/devices/cpu/hphybrid')
-rw-r--r-- | src/devices/cpu/hphybrid/hphybrid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hphybrid/hphybrid.cpp b/src/devices/cpu/hphybrid/hphybrid.cpp index d1f907edf91..0c03210ea04 100644 --- a/src/devices/cpu/hphybrid/hphybrid.cpp +++ b/src/devices/cpu/hphybrid/hphybrid.cpp @@ -1326,8 +1326,8 @@ void hp_hybrid_cpu_device::check_for_interrupts() standard_irq_callback(irqline); - // Get interrupt vector in low byte - uint8_t vector = m_int_func(); + // Get interrupt vector in low byte (level is available on PA3) + uint8_t vector = m_int_func(BIT(m_flags , HPHYBRID_IRH_BIT) ? 1 : 0); uint8_t new_PA; // Get highest numbered 1 |