The drives now once again poll the old way when FDC is in non-DMA mode, should fix floppies on PCjr.

This commit is contained in:
OBattler
2019-10-09 16:42:25 +02:00
parent 4c5e2f1c8f
commit 85dcfc1d90
4 changed files with 20 additions and 3933 deletions

View File

@@ -9,7 +9,7 @@
* Implementation of the NEC uPD-765 and compatible floppy disk
* controller.
*
* Version: @(#)fdc.c 1.0.19 2019/09/26
* Version: @(#)fdc.c 1.0.20 2019/10/09
*
* Authors: Miran Grca, <mgrca8@gmail.com>
* Sarah Walker, <tommowalker@tommowalker.co.uk>
@@ -248,6 +248,13 @@ fdc_is_mfm(fdc_t *fdc)
}
int
fdc_is_dma(fdc_t *fdc)
{
return ((fdc->flags & FDC_FLAG_PCJR) || !fdc->dma) ? 0 : 1;
}
void
fdc_request_next_sector_id(fdc_t *fdc)
{