|
|
| version 1.1, 2003/10/16 17:57:57 | version 1.2, 2003/12/08 00:55:32 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "i286.h" | #include "cpucore.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| // ---- I/O | // ---- I/O |
| static BYTE IOINPCALL prt_i42(UINT port) { | static REG8 IOINPCALL prt_i42(UINT port) { |
| BYTE ret; | REG8 ret; |
| ret = 0x84; | ret = 0x84; |
| if (pc.cpumode & CPUMODE_8MHz) { | if (pc.cpumode & CPUMODE_8MHz) { |
| Line 21 static BYTE IOINPCALL prt_i42(UINT port) | Line 21 static BYTE IOINPCALL prt_i42(UINT port) |
| ret |= 0x08; | ret |= 0x08; |
| } | } |
| #ifndef EPSON_286 | #ifndef EPSON_286 |
| if (CPUTYPE & CPUTYPE_V30) { | if (CPU_TYPE & CPUTYPE_V30) { |
| ret |= 0x02; | ret |= 0x02; |
| } | } |
| #else | #else |