Significantly speed up floppy turbo mode when the FDC is using DMA.

This commit is contained in:
OBattler
2025-05-07 23:08:26 +02:00
parent 58f342c277
commit d6338e42cc
3 changed files with 25 additions and 3 deletions

View File

@@ -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)
{