--- np2/io/iocore.c 2004/03/19 03:36:52 1.14 +++ np2/io/iocore.c 2004/03/29 05:50:29 1.16 @@ -33,6 +33,10 @@ _SYSPORT sysport; _UPD4990 uPD4990; +#if defined(SUPPORT_PC9821) + _PCIDEV pcidev; +#endif + // ---- @@ -431,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 @@ -453,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 @@ -582,6 +580,7 @@ REG16 IOINPCALL iocore_inp16(UINT port) void IOOUTCALL iocore_out32(UINT port, UINT32 dat) { + CPU_REMCLOCK -= iocore.busclock; #if defined(SUPPORT_PC9821) if ((port & 0xfffb) == 0x0cf8) { pcidev_w32(port, dat); @@ -596,6 +595,7 @@ UINT32 IOINPCALL iocore_inp32(UINT port) UINT32 ret; + CPU_REMCLOCK -= iocore.busclock; #if defined(SUPPORT_PC9821) if ((port & 0xfffb) == 0x0cf8) { return(pcidev_r32(port));