Diff for /np2/cbus/pc9861k.c between versions 1.3 and 1.5

version 1.3, 2003/12/08 00:55:30 version 1.5, 2004/01/30 01:56:01
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
   
   #if defined(SUPPORT_PC9861K)
   
 #include        "commng.h"  #include        "commng.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
Line 90  static UINT32 pc9861k_getspeed(REG8 dip) Line 93  static UINT32 pc9861k_getspeed(REG8 dip)
   
 static void pc9861_makeclk(PC9861CH m, UINT32 mul2) {  static void pc9861_makeclk(PC9861CH m, UINT32 mul2) {
   
         m->clk = pc.realclock * mul2 / ((m->speed) * 2);          m->clk = pccore.realclock * mul2 / ((m->speed) * 2);
 }  }
   
 static void pc9861ch1_open(void) {  static void pc9861ch1_open(void) {
Line 276  static REG8 IOINPCALL pc9861k_ib9(UINT p Line 279  static REG8 IOINPCALL pc9861k_ib9(UINT p
   
 // ---- I/F  // ---- I/F
   
 void pc9861k_construct(void) {  void pc9861k_initialize(void) {
   
         cm_pc9861ch1 = NULL;          cm_pc9861ch1 = NULL;
         cm_pc9861ch2 = NULL;          cm_pc9861ch2 = NULL;
 }  }
   
 void pc9861k_destruct(void) {  void pc9861k_deinitialize(void) {
   
         commng_destroy(cm_pc9861ch1);          commng_destroy(cm_pc9861ch1);
         cm_pc9861ch1 = NULL;          cm_pc9861ch1 = NULL;
Line 332  void pc9861k_midipanic(void) { Line 335  void pc9861k_midipanic(void) {
         }          }
 }  }
   
   #endif
   

Removed from v.1.3  
changed lines
  Added in v.1.5


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