|
|
| version 1.1, 2004/01/25 06:08:05 | version 1.2, 2004/03/29 05:50:29 |
|---|---|
| Line 4 | Line 4 |
| #include "iocore.h" | #include "iocore.h" |
| // 本I/Oは 80286のみ有効です。 | |
| #if !defined(CPUCORE_IA32) | |
| // ---- I/O | // ---- I/O |
| static void IOOUTCALL emsio_o08e1(UINT port, REG8 dat) { | static void IOOUTCALL emsio_o08e1(UINT port, REG8 dat) { |
| Line 50 static REG8 IOINPCALL emsio_i08e9(UINT p | Line 47 static REG8 IOINPCALL emsio_i08e9(UINT p |
| void emsio_reset(void) { | void emsio_reset(void) { |
| ZeroMemory(&emsio, sizeof(emsio)); | ZeroMemory(&emsio, sizeof(emsio)); |
| #if 1 || !defined(CPUCORE_IA32) | |
| emsio.maxmem = pccore.extmem; | emsio.maxmem = pccore.extmem; |
| #endif | |
| emsio.addr[0] = 0xc0000; | emsio.addr[0] = 0xc0000; |
| emsio.addr[1] = 0xc4000; | emsio.addr[1] = 0xc4000; |
| emsio.addr[2] = 0xc8000; | emsio.addr[2] = 0xc8000; |
| Line 73 void emsio_bind(void) { | Line 72 void emsio_bind(void) { |
| iocore_attachinp(0x08e9, emsio_i08e9); | iocore_attachinp(0x08e9, emsio_i08e9); |
| } | } |
| } | } |
| #endif | |