--- np2/io/np2sysp.c 2005/02/27 15:07:36 1.19 +++ np2/io/np2sysp.c 2007/01/08 08:52:21 1.22 @@ -195,7 +195,7 @@ static BRESULT np2syspcmp(const char *p) int len; int pos; - len = STRLEN(p); + len = (int)STRLEN(p); if (!len) { return(FAILURE); } @@ -266,12 +266,9 @@ static void IOOUTCALL np2sysp_o0e9(UINT (void)port; } -static void IOOUTCALL np2sysp_o0eb(UINT port, REG8 dat) { +static REG8 IOINPCALL np2sysp_i0e9(UINT port) { - TRACEOUT(("mask %x", CPU_ADRSMASK)); - TRACEOUT(("%s", debugsub_regs())); - (void)port; - (void)dat; + return((UINT8)port); } #endif @@ -292,7 +289,7 @@ void np2sysp_bind(void) { #if defined(NP2APPDEV) iocore_attachout(0x00e9, np2sysp_o0e9); - iocore_attachout(0x00eb, np2sysp_o0eb); + iocore_attachinp(0x00e9, np2sysp_i0e9); #endif }