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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user