--- np2/io/epsonio.c 2004/01/05 06:07:26 1.3 +++ np2/io/epsonio.c 2007/11/03 00:00:20 1.7 @@ -45,6 +45,7 @@ static void IOOUTCALL epsonio_o043d(UINT CPU_ITFBANK = 0; break; } + (void)port; } static void IOOUTCALL epsonio_o043f(UINT port, REG8 dat) { @@ -58,10 +59,13 @@ static void IOOUTCALL epsonio_o043f(UINT epsonio.bankioen |= 0x01; break; } + (void)port; } static void IOOUTCALL epsonio_oc07(UINT port, REG8 dat) { + TRACEOUT(("EPSON ROM MODE - %.2x", dat)); + switch(dat) { case 0x2a: // 0010|1010 case 0x2b: @@ -86,6 +90,7 @@ static void IOOUTCALL epsonio_oc07(UINT CopyMemory(mem + 0x1f8000, mem + 0x1c0000, 0x08000); break; } + (void)port; } static REG8 IOINPCALL epsonio_ic03(UINT port) { @@ -103,14 +108,16 @@ static REG8 IOINPCALL epsonio_ic13(UINT // ---- I/F -void epsonio_reset(void) { +void epsonio_reset(const NP2CFG *pConfig) { epsonio.cpumode = 'R'; + + (void)pConfig; } void epsonio_bind(void) { - if (pc.model & PCMODEL_EPSON) { + if (pccore.model & PCMODEL_EPSON) { iocore_attachout(0x043d, epsonio_o043d); iocore_attachout(0x043f, epsonio_o043f); iocore_attachout(0x0c07, epsonio_oc07);