mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
pic8259 : when using level trigger mode we are taking current lines on EOI (no whatsnew)
This commit is contained in:
parent
cfabeee3ab
commit
37a5826373
@ -308,6 +308,8 @@ WRITE8_DEVICE_HANDLER( pic8259_w )
|
||||
if (pic8259->isr & mask)
|
||||
{
|
||||
pic8259->isr &= ~mask;
|
||||
if (pic8259->level_trig_mode)
|
||||
pic8259->irr = pic8259->irq_lines;
|
||||
pic8259->irr &= ~mask;
|
||||
break;
|
||||
}
|
||||
@ -342,6 +344,8 @@ WRITE8_DEVICE_HANDLER( pic8259_w )
|
||||
if( pic8259->isr & mask )
|
||||
{
|
||||
pic8259->isr &= ~mask;
|
||||
if (pic8259->level_trig_mode)
|
||||
pic8259->irr = pic8259->irq_lines;
|
||||
pic8259->irr &= ~mask;
|
||||
pic8259->prio = (pic8259->prio + 1) & 7;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user