--- np2/io/iocore.c 2004/03/23 04:45:04 1.15 +++ np2/io/iocore.c 2004/04/04 22:22:26 1.18 @@ -435,10 +435,7 @@ static const IOCBFN resetfn[] = { // extend artic_reset, egc_reset, np2sysp_reset, - necio_reset, epsonio_reset, -#if !defined(CPUCORE_IA32) - emsio_reset, -#endif + necio_reset, epsonio_reset, emsio_reset, #if defined(SUPPORT_PC9821) pcidev_reset, #endif @@ -457,10 +454,7 @@ static const IOCBFN bindfn[] = { // extend artic_bind, egc_bind, np2sysp_bind, - necio_bind, epsonio_bind, -#if !defined(CPUCORE_IA32) - emsio_bind, -#endif + necio_bind, epsonio_bind, emsio_bind, #if defined(SUPPORT_PC9821) pcidev_bind, #endif @@ -490,7 +484,7 @@ void IOOUTCALL iocore_out8(UINT port, RE IOFUNC iof; -// VERBOSE(("iocore_out8(%x, %x)", port, dat)); +// TRACEOUT(("iocore_out8(%.2x, %.2x)", port, dat)); CPU_REMCLOCK -= iocore.busclock; iof = iocore.base[(port >> 8) & 0xff]; iof->ioout[port & 0xff](port, dat); @@ -499,17 +493,20 @@ void IOOUTCALL iocore_out8(UINT port, RE REG8 IOINPCALL iocore_inp8(UINT port) { IOFUNC iof; + REG8 ret; -// VERBOSE(("iocore_inp8(%x)", port)); CPU_REMCLOCK -= iocore.busclock; iof = iocore.base[(port >> 8) & 0xff]; - return(iof->ioinp[port & 0xff](port)); + ret = iof->ioinp[port & 0xff](port); +// TRACEOUT(("iocore_inp8(%.2x) -> %.2x", port, ret)); + return(ret); } void IOOUTCALL iocore_out16(UINT port, REG16 dat) { IOFUNC iof; +// TRACEOUT(("iocore_out16(%.4x, %.4x)", port, dat)); CPU_REMCLOCK -= iocore.busclock; #if defined(SUPPORT_IDEIO) if (port == 0x0640) {