|
|
| version 1.8, 2007/11/03 00:00:20 | version 1.9, 2007/11/11 13:54:14 |
|---|---|
| Line 32 static REG8 IOINPCALL prt_i42(UINT port) | Line 32 static REG8 IOINPCALL prt_i42(UINT port) |
| if (pccore.cpumode & CPUMODE_8MHZ) { | if (pccore.cpumode & CPUMODE_8MHZ) { |
| ret |= 0x20; | ret |= 0x20; |
| } | } |
| if (np2cfg.dipsw[0] & 4) { | if (pccore.dipsw[0] & 4) { |
| ret |= 0x10; | ret |= 0x10; |
| } | } |
| if (np2cfg.dipsw[0] & 0x80) { | if (pccore.dipsw[0] & 0x80) { |
| ret |= 0x08; | ret |= 0x08; |
| } | } |
| if (!(pccore.model & PCMODEL_EPSON)) { | if (!(pccore.model & PCMODEL_EPSON)) { |
| Line 44 static REG8 IOINPCALL prt_i42(UINT port) | Line 44 static REG8 IOINPCALL prt_i42(UINT port) |
| } | } |
| } | } |
| else { | else { |
| if (np2cfg.dipsw[2] & 0x80) { | if (pccore.dipsw[2] & 0x80) { |
| ret |= 0x02; | ret |= 0x02; |
| } | } |
| } | } |