Previous 15994 Revisions Next

r6150 Tuesday 20th October, 2009 at 22:05:17 UTC by Barry Rodewald
[X680x0] Added small workaround for avoiding MFP spurious interrupts. Parodius, Detana Twinbee and others work again.
[src/mess/drivers]x68k.c

src/mess/drivers/x68k.c
r6149r6150
18101810   static int prev;
18111811   if(prev == CLEAR_LINE && state == CLEAR_LINE)  // eliminate unnecessary calls to set the IRQ line for speed reasons
18121812      return;
1813   if(state != CLEAR_LINE)
1814      state = HOLD_LINE;  // to get around erroneous spurious interrupt
18131815//  if((x68k_sys.ioc.irqstatus & 0xc0) != 0)  // if the FDC is busy, then we don't want to miss that IRQ
18141816//      return;
18151817   cputag_set_input_line(device->machine, "maincpu", 6, state);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team