|
|
| version 1.5, 2004/01/07 08:33:00 | version 1.6, 2004/01/13 05:30:58 |
|---|---|
| Line 29 static REG8 IOINPCALL prt_i42(UINT port) | Line 29 static REG8 IOINPCALL prt_i42(UINT port) |
| REG8 ret; | REG8 ret; |
| ret = 0x84; | ret = 0x84; |
| if (pc.cpumode & CPUMODE_8MHz) { | if (pccore.cpumode & CPUMODE_8MHz) { |
| ret |= 0x20; | ret |= 0x20; |
| } | } |
| if (np2cfg.dipsw[0] & 4) { | if (np2cfg.dipsw[0] & 4) { |
| Line 38 static REG8 IOINPCALL prt_i42(UINT port) | Line 38 static REG8 IOINPCALL prt_i42(UINT port) |
| if (np2cfg.dipsw[0] & 0x80) { | if (np2cfg.dipsw[0] & 0x80) { |
| ret |= 0x08; | ret |= 0x08; |
| } | } |
| if (!(pc.model & PCMODEL_EPSON)) { | if (!(pccore.model & PCMODEL_EPSON)) { |
| if (CPU_TYPE & CPUTYPE_V30) { | if (CPU_TYPE & CPUTYPE_V30) { |
| ret |= 0x02; | ret |= 0x02; |
| } | } |