--- np2/io/gdc.c 2004/03/24 06:07:57 1.33 +++ np2/io/gdc.c 2005/02/07 14:46:11 1.35 @@ -417,7 +417,7 @@ const GDCCLK *clk; void gdc_restorekacmode(void) { - BYTE bit; + UINT8 bit; bit = (((!np2cfg.uPD72020) && (gdc.mode1 & 0x20))?0x00:0xff); if (gdc.bitac != bit) { @@ -490,6 +490,8 @@ static void IOOUTCALL gdc_o6a(UINT port, REG8 bit; + TRACEOUT(("port:%.4x %.2x", port, dat)); + if (!(dat & 0xf8)) { bit = (dat >> 1) & 3; dat &= 1; @@ -935,6 +937,7 @@ static REG8 IOINPCALL gdc_iae(UINT port) #if defined(SUPPORT_PC9821) static void IOOUTCALL gdc_o9a0(UINT port, REG8 dat) { + TRACEOUT(("port:%.4x,%.2x", port, dat)); gdc.ff2 = dat; (void)port; }