Previous 15994 Revisions Next

r9372 Wednesday 13th October, 2010 at 14:43:18 UTC by Wilbert Pol
[AT Drivers] Fixed asserts.
[src/mess/machine]at.c

src/mess/machine/at.c
r9371r9372
747747
748748static void pc_set_irq_line(running_machine *machine,int irq, int state)
749749{
750   pc_state *st = machine->driver_data<pc_state>();;
750   at_state *st = machine->driver_data<at_state>();;
751751
752752   switch (irq)
753753   {
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;
762762   }
763763}
764764

Previous 15994 Revisions Next


© 1998-2018 The MESS Team