--- np2/io/fdc.c 2004/01/30 01:29:13 1.10 +++ np2/io/fdc.c 2004/08/03 10:11:37 1.15 @@ -771,7 +771,12 @@ static REG8 IOINPCALL fdc_i94(UINT port) if (((port >> 4) ^ fdc.chgreg) & 1) { return(0xff); } - return(0x40); + if (port & 0x10) { // 94 + return(0x40); + } + else { // CC + return(0x70); // readyを立てるるる + } } @@ -822,7 +827,11 @@ void fdc_reset(void) { ZeroMemory(&fdc, sizeof(fdc)); fdc.equip = np2cfg.fddequip; +#if defined(SUPPORT_PC9821) + fdc.support144 = 1; +#else fdc.support144 = np2cfg.usefd144; +#endif fdcstatusreset(); dmac_attach(DMADEV_2HD, FDC_DMACH2HD); dmac_attach(DMADEV_2DD, FDC_DMACH2DD);