--- np2/io/emsio.c 2004/01/25 06:08:05 1.1 +++ np2/io/emsio.c 2007/11/03 00:00:20 1.3 @@ -4,9 +4,6 @@ #include "iocore.h" -// 本I/Oは 80286のみ有効です。 -#if !defined(CPUCORE_IA32) - // ---- I/O static void IOOUTCALL emsio_o08e1(UINT port, REG8 dat) { @@ -47,14 +44,18 @@ static REG8 IOINPCALL emsio_i08e9(UINT p // ---- I/F -void emsio_reset(void) { +void emsio_reset(const NP2CFG *pConfig) { ZeroMemory(&emsio, sizeof(emsio)); +#if 1 || !defined(CPUCORE_IA32) emsio.maxmem = pccore.extmem; +#endif emsio.addr[0] = 0xc0000; emsio.addr[1] = 0xc4000; emsio.addr[2] = 0xc8000; emsio.addr[3] = 0xcc000; + + (void)pConfig; } void emsio_bind(void) { @@ -73,5 +74,4 @@ void emsio_bind(void) { iocore_attachinp(0x08e9, emsio_i08e9); } } -#endif