mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 01:31:51 -05:00
Attempted fix for the FDC turbo mode.
This commit is contained in:
parent
edb949090c
commit
8c783afcbc
1 changed files with 2 additions and 2 deletions
|
@ -2137,9 +2137,9 @@ d86f_turbo_read(int drive, int side)
|
|||
recv_data = d86f_get_data(drive, 0);
|
||||
d86f_compare_byte(drive, recv_data, dat);
|
||||
} else {
|
||||
if (dev->data_find.bytes_obtained < (128UL << dev->last_sector.id.n)) {
|
||||
if (dev->turbo_pos < (128UL << dev->last_sector.id.n)) {
|
||||
if (dev->state != STATE_16_VERIFY_DATA) {
|
||||
read_status = fdc_data(d86f_fdc, dat, dev->data_find.bytes_obtained == ((128UL << dev->last_sector.id.n) - 1));
|
||||
read_status = fdc_data(d86f_fdc, dat, dev->turbo_pos == ((128UL << dev->last_sector.id.n) - 1));
|
||||
if (read_status == -1)
|
||||
dev->dma_over++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue