trunk/src/emu/machine/idehd.c
| r26130 | r26131 | |
| 14 | 14 | |
| 15 | 15 | #define TIME_PER_SECTOR (attotime::from_usec(100)) |
| 16 | 16 | #define TIME_PER_ROTATION (attotime::from_hz(5400/60)) |
| 17 | | #define TIME_MULTIPLE_SECTORS (attotime::from_usec(1)) |
| 17 | #define TIME_MULTIPLE_SECTORS (attotime::from_usec(50)) |
| 18 | 18 | |
| 19 | | #define TIME_SEEK_MULTISECTOR (attotime::from_msec(13)) |
| 20 | | #define TIME_NO_SEEK_MULTISECTOR (attotime::from_nsec(16300)) |
| 19 | #define TIME_SEEK_MULTISECTOR (attotime::from_usec(13000)) |
| 20 | #define TIME_NO_SEEK_MULTISECTOR (attotime::from_usec(1000)) |
| 21 | 21 | |
| 22 | 22 | ata_mass_storage_device::ata_mass_storage_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source) |
| 23 | 23 | : ata_hle_device(mconfig, type, name, tag, owner, clock, shortname, source), |
| r26130 | r26131 | |
| 354 | 354 | { |
| 355 | 355 | set_dasp(ASSERT_LINE); |
| 356 | 356 | |
| 357 | | if (m_command == IDE_COMMAND_READ_MULTIPLE) |
| 358 | | { |
| 359 | | if (m_sectors_until_int != 1) |
| 360 | | /* make ready now */ |
| 361 | | finished_read(); |
| 362 | | else |
| 363 | | start_busy(TIME_MULTIPLE_SECTORS, PARAM_COMMAND); |
| 364 | | } |
| 365 | | else |
| 366 | | start_busy(TIME_MULTIPLE_SECTORS, PARAM_COMMAND); |
| 357 | start_busy(TIME_MULTIPLE_SECTORS, PARAM_COMMAND); |
| 367 | 358 | } |
| 368 | 359 | break; |
| 369 | 360 | } |