Previous 15994 Revisions Next

r15540 Thursday 5th July, 2012 at 21:35:51 UTC by Angelo Salese
Fix irq regression with PC-9801 class machines
[src/mess/drivers]pc9801.c

src/mess/drivers/pc9801.c
r15539r15540
17281728   }
17291729
17301730   if(oldval && !newval)
1731   {
17311732      state->m_keyb_press = 0;
1733      pic8259_ir1_w(field.machine().device("pic8259_master"), 0);
1734   }
17321735}
17331736
17341737/* for key modifiers */
r15539r15540
17421745      pic8259_ir1_w(field.machine().device("pic8259_master"), 1);
17431746   }
17441747   else
1748   {
17451749      state->m_keyb_press = 0;
1750      pic8259_ir1_w(field.machine().device("pic8259_master"), 0);
1751   }
17461752}
17471753
17481754static INPUT_PORTS_START( pc9801 )
r15539r15540
24882494      pic8259_ir2_w(device->machine().device("pic8259_master"), 1);
24892495      state->m_vrtc_irq_mask = 0; // TODO: this irq auto-masks?
24902496   }
2497   else
2498      pic8259_ir2_w(device->machine().device("pic8259_master"), 0);
24912499}
24922500
24932501

Previous 15994 Revisions Next


© 1998-2018 The MESS Team