src/mess/machine/at.c
| r9371 | r9372 | |
| 747 | 747 | |
| 748 | 748 | static void pc_set_irq_line(running_machine *machine,int irq, int state) |
| 749 | 749 | { |
| 750 | | pc_state *st = machine->driver_data<pc_state>();; |
| 750 | at_state *st = machine->driver_data<at_state>();; |
| 751 | 751 | |
| 752 | 752 | switch (irq) |
| 753 | 753 | { |
| 754 | | case 0: pic8259_ir0_w(st->pic8259, state); break; |
| 755 | | case 1: pic8259_ir1_w(st->pic8259, state); break; |
| 756 | | case 2: pic8259_ir2_w(st->pic8259, state); break; |
| 757 | | case 3: pic8259_ir3_w(st->pic8259, state); break; |
| 758 | | case 4: pic8259_ir4_w(st->pic8259, state); break; |
| 759 | | case 5: pic8259_ir5_w(st->pic8259, state); break; |
| 760 | | case 6: pic8259_ir6_w(st->pic8259, state); break; |
| 761 | | case 7: pic8259_ir7_w(st->pic8259, state); break; |
| 754 | case 0: pic8259_ir0_w(st->pic8259_master, state); break; |
| 755 | case 1: pic8259_ir1_w(st->pic8259_master, state); break; |
| 756 | case 2: pic8259_ir2_w(st->pic8259_master, state); break; |
| 757 | case 3: pic8259_ir3_w(st->pic8259_master, state); break; |
| 758 | case 4: pic8259_ir4_w(st->pic8259_master, state); break; |
| 759 | case 5: pic8259_ir5_w(st->pic8259_master, state); break; |
| 760 | case 6: pic8259_ir6_w(st->pic8259_master, state); break; |
| 761 | case 7: pic8259_ir7_w(st->pic8259_master, state); break; |
| 762 | 762 | } |
| 763 | 763 | } |
| 764 | 764 | |