Diff for /np2/cbus/amd98.c between versions 1.2 and 1.5

version 1.2, 2003/10/21 11:22:05 version 1.5, 2003/11/14 05:26:53
Line 11  static void setamd98event(BOOL absolute) Line 11  static void setamd98event(BOOL absolute)
   
         SINT32  cnt;          SINT32  cnt;
   
         if (pit.value[3].w > 8) {                                       // º¬µò¤Ê¤·          if (pit.value[3] > 8) {                                         // º¬µò¤Ê¤·
                 cnt = pc.multiple * pit.value[3].w;                  cnt = pc.multiple * pit.value[3];
         }          }
         else {          else {
                 cnt = pc.multiple << 16;                  cnt = pc.multiple << 16;
         }          }
           if (pc.baseclock == PCBASECLOCK25) {
                   cnt = cnt * 16 / 13;                                    // cnt * 2457600 / 1996800
           }
         nevent_set(NEVENT_MUSICGEN, cnt, amd98int, absolute);          nevent_set(NEVENT_MUSICGEN, cnt, amd98int, absolute);
 }  }
   
Line 111  static void IOOUTCALL amd_ode(UINT port, Line 114  static void IOOUTCALL amd_ode(UINT port,
   
 // ----  // ----
   
   static void psgpanset(PSGGEN psg) {
   
           psggen_setpan(psg, 0, 1);
           psggen_setpan(psg, 1, 0);
           psggen_setpan(psg, 2, 2);
   }
   
 void amd98_bind(void) {  void amd98_bind(void) {
   
           psgpanset(&psg1);
           psgpanset(&psg2);
           psgpanset(&psg3);
         sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm);          sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm);
         sound_streamregist(&psg2, (SOUNDCB)psggen_getpcm);          sound_streamregist(&psg2, (SOUNDCB)psggen_getpcm);
         sound_streamregist(&psg3, (SOUNDCB)psggen_getpcm);          sound_streamregist(&psg3, (SOUNDCB)psggen_getpcm);

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


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