File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -712,14 +712,24 @@ void ns32202_device::ipndh_w(u8 data)
712
712
713
713
void ns32202_device::isrvl_w (u8 data)
714
714
{
715
- LOGMASKED (LOG_REGW, " isrvl_w 0x%02x (%s)\n " , data, machine ().describe_context ());
716
- m_isrv = (m_isrv & 0xff00 ) | data;
715
+ if (u8 (m_isrv >> 0 ) ^ data)
716
+ {
717
+ LOGMASKED (LOG_REGW, " isrvl_w 0x%02x (%s)\n " , data, machine ().describe_context ());
718
+ m_isrv = (m_isrv & 0xff00 ) | data;
719
+
720
+ m_interrupt->adjust (attotime::zero);
721
+ }
717
722
}
718
723
719
724
void ns32202_device::isrvh_w (u8 data)
720
725
{
721
- LOGMASKED (LOG_REGW, " isrvh_w 0x%02x (%s)\n " , data, machine ().describe_context ());
722
- m_isrv = (u16 (data) << 8 ) | u8 (m_isrv);
726
+ if (u8 (m_isrv >> 8 ) ^ data)
727
+ {
728
+ LOGMASKED (LOG_REGW, " isrvh_w 0x%02x (%s)\n " , data, machine ().describe_context ());
729
+ m_isrv = (u16 (data) << 8 ) | u8 (m_isrv);
730
+
731
+ m_interrupt->adjust (attotime::zero);
732
+ }
723
733
}
724
734
725
735
void ns32202_device::imskl_w (u8 data)
You can’t perform that action at this time.
0 commit comments