--- np2/io/np2sysp.c 2005/03/02 04:28:17 1.20 +++ 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); } @@ -265,6 +265,11 @@ static void IOOUTCALL np2sysp_o0e9(UINT APPDEVOUT(dat); (void)port; } + +static REG8 IOINPCALL np2sysp_i0e9(UINT port) { + + return((UINT8)port); +} #endif @@ -284,6 +289,7 @@ void np2sysp_bind(void) { #if defined(NP2APPDEV) iocore_attachout(0x00e9, np2sysp_o0e9); + iocore_attachinp(0x00e9, np2sysp_i0e9); #endif }