src/mess/machine/wd17xx.c
| r8591 | r8592 | |
| 853 | 853 | w->buffer[5] = crc & 255; |
| 854 | 854 | |
| 855 | 855 | w->sector = id.C; |
| 856 | | wd17xx_set_busy(device, ATTOTIME_IN_USEC(400)); |
| 857 | | w->busy_count = 0; |
| 858 | 856 | |
| 859 | 857 | if (VERBOSE) |
| 860 | | logerror("read id succeeded.\n"); |
| 858 | logerror("wd17xx_read_id: read id succeeded.\n"); |
| 861 | 859 | |
| 862 | 860 | wd17xx_timed_data_request(device); |
| 863 | 861 | } |
| r8591 | r8592 | |
| 867 | 865 | w->status |= STA_2_REC_N_FND; |
| 868 | 866 | //w->sector = w->track; |
| 869 | 867 | if (VERBOSE) |
| 870 | | logerror("read id failed\n"); |
| 868 | logerror("wd17xx_read_id: read id failed\n"); |
| 871 | 869 | |
| 872 | 870 | wd17xx_complete_command(device, DELAY_ERROR); |
| 873 | 871 | } |
| r8591 | r8592 | |
| 1611 | 1609 | |
| 1612 | 1610 | w->command_type = TYPE_III; |
| 1613 | 1611 | w->status &= ~STA_2_LOST_DAT; |
| 1612 | w->status |= STA_2_BUSY; |
| 1613 | |
| 1614 | 1614 | wd17xx_clear_drq(device); |
| 1615 | 1615 | |
| 1616 | 1616 | if (floppy_drive_get_flag_state(w->drive, FLOPPY_DRIVE_READY)) |