Previous 199869 Revisions Next

r32319 Tuesday 23rd September, 2014 at 17:41:43 UTC by O. Galibert
wd_fdc: Hopefully fix reading sectors with DDAM [lowen, O. Galibert]
[src/emu/machine]wd_fdc.c

trunk/src/emu/machine/wd_fdc.c
r32318r32319
16781678            }
16791679            break;
16801680         }
1681         if((cur_live.data_reg & 0xfe) != 0xfa && (cur_live.data_reg & 0xfe) != 0xfc) {
1681         if((cur_live.data_reg & 0xfe) != 0xfa && (cur_live.data_reg & 0xfe) != 0xf8) {
16821682            live_delay(SEARCH_ADDRESS_MARK_DATA_FAILED);
16831683            return;
16841684         }
16851685
16861686         cur_live.bit_counter = 0;
1687         cur_live.state = READ_SECTOR_DATA;
1688         break;
1687         if((cur_live.data_reg & 0xfe) != 0xf8)
1688            status |= S_DDM;
1689         live_delay(READ_SECTOR_DATA);
1690         return;
16891691      }
16901692
16911693      case SEARCH_ADDRESS_MARK_DATA_FAILED:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team