Previous 15994 Revisions Next

r8766 Thursday 12th August, 2010 at 10:20:48 UTC by Angelo Salese
Fix fdc offsets
[src/mame/machine]archimds.c

src/mame/machine/archimds.c
r8765r8766
457457      logerror("17XX: %x to addr %x mask %08x\n", data, offset*4, mem_mask);
458458      wd17xx_data_w(fdc, offset&0xf, data&0xff);
459459   }
460   else if (offset == 0xd40006)
460   else if (offset == 0xd4006)
461461   {
462462      // latch A
463463      if (data & 1)
r8765r8766
480480      wd17xx_set_side(fdc,(data & 0x10)>>4);
481481
482482   }
483   else if (offset == 0xd40010)
483   else if (offset == 0xd4010)
484484   {
485485      // latch B
486486      wd17xx_dden_w(fdc, BIT(data, 1));

Previous 15994 Revisions Next


© 1998-2018 The MESS Team