Diff for /np2/win9x/board118.c between versions 1.1 and 1.3

version 1.1, 2004/02/03 08:24:40 version 1.3, 2004/02/18 20:11:37
Line 20  static void romeo_restore(BOOL opna) { Line 20  static void romeo_restore(BOOL opna) {
         for (i=0x30; i<0xa0; i++) {          for (i=0x30; i<0xa0; i++) {
                 juliet_YMF288A(i, opn.reg[i]);                  juliet_YMF288A(i, opn.reg[i]);
         }          }
         for (i=0xb7; i>=0xa0; i--) {          for (i=0; i<3; i++) {
                 juliet_YMF288A(i, opn.reg[i]);                  juliet_YMF288A((UINT8)(i + 0xa4), opn.reg[i + 0x0a4]);
                   juliet_YMF288A((UINT8)(i + 0xa0), opn.reg[i + 0x0a0]);
                   juliet_YMF288A((UINT8)(i + 0xb0), opn.reg[i + 0x0b0]);
                   juliet_YMF288A((UINT8)(i + 0xb4), opn.reg[i + 0x0b4]);
         }          }
         if (opna) {          if (opna) {
                 for (i=0x30; i<0xa0; i++) {                  for (i=0x30; i<0xa0; i++) {
                         juliet_YMF288B(i, opn.reg[i + 0x100]);                          juliet_YMF288B(i, opn.reg[i + 0x100]);
                 }                  }
                 for (i=0xb7; i>=0xa0; i--) {                  for (i=0; i<3; i++) {
                         juliet_YMF288B(i, opn.reg[i + 0x100]);                          juliet_YMF288B((UINT8)(i + 0xa4), opn.reg[i + 0x1a4]);
                           juliet_YMF288B((UINT8)(i + 0xa0), opn.reg[i + 0x1a0]);
                           juliet_YMF288B((UINT8)(i + 0xb0), opn.reg[i + 0x1b0]);
                           juliet_YMF288B((UINT8)(i + 0xb4), opn.reg[i + 0x1b4]);
                 }                  }
                 juliet_YMF288A(0x11, opn.reg[0x11]);                  juliet_YMF288A(0x11, opn.reg[0x11]);
                 juliet_YMF288A(0x18, opn.reg[0x18]);                  juliet_YMF288A(0x18, opn.reg[0x18]);
Line 275  void board118_bind(void) { Line 281  void board118_bind(void) {
                 fmboard_rhyrestore(&rhythm, 0);                  fmboard_rhyrestore(&rhythm, 0);
                 sound_streamregist(&opngen, (SOUNDCB)opngen_getpcm);                  sound_streamregist(&opngen, (SOUNDCB)opngen_getpcm);
                 sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm);                  sound_streamregist(&psg1, (SOUNDCB)psggen_getpcm);
                 sound_streamregist(&rhythm, (SOUNDCB)rhythm_getpcm);                  rhythm_bind(&rhythm);
                 cbuscore_attachsndex(0x188, ymf_o, ymf_i);                  cbuscore_attachsndex(0x188, ymf_o, ymf_i);
         }          }
         cs4231io_bind();          cs4231io_bind();

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


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