mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 10:28:19 -07:00
Significantly speed up floppy turbo mode when the FDC is using DMA.
This commit is contained in:
@@ -279,6 +279,15 @@ fdc_is_mfm(fdc_t *fdc)
|
||||
return fdc->mfm ? 1 : 0;
|
||||
}
|
||||
|
||||
int
|
||||
fdc_is_dma(fdc_t *fdc)
|
||||
{
|
||||
if ((fdc->flags & FDC_FLAG_PCJR) || !fdc->dma)
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
fdc_request_next_sector_id(fdc_t *fdc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user