Diff for /np2/io/Attic/itf.c between versions 1.1.1.1 and 1.4

version 1.1.1.1, 2003/10/16 17:57:55 version 1.4, 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 void IOOUTCALL itf_o043d(UINT port, BYTE dat) {  static void IOOUTCALL itf_o043d(UINT port, REG8 dat) {
   
         switch(dat) {          switch(dat) {
                 case 0x10:                  case 0x10:
                         itf.bank = 1;                          CPU_ITFBANK = 1;
                         break;                          break;
   
                 case 0x12:                  case 0x12:
                         itf.bank = 0;                          CPU_ITFBANK = 0;
                         break;                          break;
         }          }
         (void)port;          (void)port;
Line 23  static void IOOUTCALL itf_o043d(UINT por Line 23  static void IOOUTCALL itf_o043d(UINT por
   
 // ---- I/F  // ---- I/F
   
 void itf_reset(void) {  
   
         itf.bank = 1;  
 }  
   
 void itf_bind(void) {  void itf_bind(void) {
   
         iocore_attachout(0x043d, itf_o043d);          iocore_attachout(0x043d, itf_o043d);

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


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