Diff for /np2/io/printif.c between versions 1.4 and 1.7

version 1.4, 2003/12/24 16:11:40 version 1.7, 2004/02/19 11:32:12
Line 21  static void IOOUTCALL prt_o40(UINT port, Line 21  static void IOOUTCALL prt_o40(UINT port,
         }          }
         prt->write(prt, (UINT8)dat);          prt->write(prt, (UINT8)dat);
 //      TRACEOUT(("prt - %.2x", dat));  //      TRACEOUT(("prt - %.2x", dat));
           (void)port;
 }  }
   
 static REG8 IOINPCALL prt_i42(UINT port) {  static REG8 IOINPCALL prt_i42(UINT port) {
Line 28  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 37  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;
                 }                  }

Removed from v.1.4  
changed lines
  Added in v.1.7


RetroPC.NET-CVS <cvs@retropc.net>