src/mess/drivers/pc9801.c
| r15539 | r15540 | |
| 1728 | 1728 | } |
| 1729 | 1729 | |
| 1730 | 1730 | if(oldval && !newval) |
| 1731 | { |
| 1731 | 1732 | state->m_keyb_press = 0; |
| 1733 | pic8259_ir1_w(field.machine().device("pic8259_master"), 0); |
| 1734 | } |
| 1732 | 1735 | } |
| 1733 | 1736 | |
| 1734 | 1737 | /* for key modifiers */ |
| r15539 | r15540 | |
| 1742 | 1745 | pic8259_ir1_w(field.machine().device("pic8259_master"), 1); |
| 1743 | 1746 | } |
| 1744 | 1747 | else |
| 1748 | { |
| 1745 | 1749 | state->m_keyb_press = 0; |
| 1750 | pic8259_ir1_w(field.machine().device("pic8259_master"), 0); |
| 1751 | } |
| 1746 | 1752 | } |
| 1747 | 1753 | |
| 1748 | 1754 | static INPUT_PORTS_START( pc9801 ) |
| r15539 | r15540 | |
| 2488 | 2494 | pic8259_ir2_w(device->machine().device("pic8259_master"), 1); |
| 2489 | 2495 | state->m_vrtc_irq_mask = 0; // TODO: this irq auto-masks? |
| 2490 | 2496 | } |
| 2497 | else |
| 2498 | pic8259_ir2_w(device->machine().device("pic8259_master"), 0); |
| 2491 | 2499 | } |
| 2492 | 2500 | |
| 2493 | 2501 | |