--- np2/io/nmiio.c 2003/10/21 11:22:05 1.2 +++ np2/io/nmiio.c 2007/11/03 00:00:20 1.4 @@ -1,19 +1,18 @@ #include "compiler.h" -#include "i286.h" #include "pccore.h" #include "iocore.h" // ---- I/O -static void IOOUTCALL nmiio_o50(UINT port, BYTE dat) { +static void IOOUTCALL nmiio_o50(UINT port, REG8 dat) { nmiio.enable = 0; (void)port; (void)dat; } -static void IOOUTCALL nmiio_o52(UINT port, BYTE dat) { +static void IOOUTCALL nmiio_o52(UINT port, REG8 dat) { nmiio.enable = 1; (void)port; @@ -26,9 +25,11 @@ static void IOOUTCALL nmiio_o52(UINT por static const IOOUT nmiioo50[2] = { nmiio_o50, nmiio_o52}; -void nmiio_reset(void) { +void nmiio_reset(const NP2CFG *pConfig) { ZeroMemory(&nmiio, sizeof(nmiio)); + + (void)pConfig; } void nmiio_bind(void) {