Changed IDE read sector timing to be the same as read multiple instead of write sector. [smf]

This commit is contained in:
smf- 2013-10-26 11:04:56 +00:00
parent 0b159718d3
commit 6feb1c98da

View File

@ -361,7 +361,7 @@ void ata_mass_storage_device::fill_buffer()
start_busy(TIME_MULTIPLE_SECTORS, PARAM_COMMAND);
}
else
start_busy(TIME_PER_SECTOR, PARAM_COMMAND);
start_busy(TIME_MULTIPLE_SECTORS, PARAM_COMMAND);
}
break;
}
@ -431,20 +431,15 @@ void ata_mass_storage_device::read_first_sector()
set_dasp(ASSERT_LINE);
/* just set a timer */
if (m_command == IDE_COMMAND_READ_MULTIPLE)
{
int new_lba = lba_address();
attotime seek_time;
int new_lba = lba_address();
attotime seek_time;
if (new_lba == m_cur_lba || new_lba == m_cur_lba + 1)
start_busy(TIME_NO_SEEK_MULTISECTOR, PARAM_COMMAND);
else
start_busy(TIME_SEEK_MULTISECTOR, PARAM_COMMAND);
m_cur_lba = new_lba;
}
if (new_lba == m_cur_lba || new_lba == m_cur_lba + 1)
start_busy(TIME_NO_SEEK_MULTISECTOR, PARAM_COMMAND);
else
start_busy(TIME_PER_SECTOR, PARAM_COMMAND);
start_busy(TIME_SEEK_MULTISECTOR, PARAM_COMMAND);
m_cur_lba = new_lba;
}
}