--- np2/io/np2sysp.c 2005/02/15 18:42:20 1.18 +++ np2/io/np2sysp.c 2007/11/11 12:46:07 1.24 @@ -110,7 +110,7 @@ static void np2sysp_multiple(const void static void np2sysp_hwreset(const void *arg1, long arg2) { - hardwarereset = TRUE; + pcstat.hardwarereset = TRUE; (void)arg1; (void)arg2; } @@ -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,14 +265,21 @@ static void IOOUTCALL np2sysp_o0e9(UINT APPDEVOUT(dat); (void)port; } + +static REG8 IOINPCALL np2sysp_i0e9(UINT port) { + + return((UINT8)port); +} #endif // ---- I/F -void np2sysp_reset(void) { +void np2sysp_reset(const NP2CFG *pConfig) { ZeroMemory(&np2sysp, sizeof(np2sysp)); + + (void)pConfig; } void np2sysp_bind(void) { @@ -284,6 +291,7 @@ void np2sysp_bind(void) { #if defined(NP2APPDEV) iocore_attachout(0x00e9, np2sysp_o0e9); + iocore_attachinp(0x00e9, np2sysp_i0e9); #endif }