Diff for /np2/cbus/board118.c between versions 1.2 and 1.4

version 1.2, 2003/12/08 00:55:30 version 1.4, 2004/02/18 20:11:36
Line 60  static void IOOUTCALL ymf_o18e(UINT port Line 60  static void IOOUTCALL ymf_o18e(UINT port
         S98_put(EXTEND2608, opn.extreg, dat);          S98_put(EXTEND2608, opn.extreg, dat);
         opn.reg[opn.extreg + 0x100] = dat;          opn.reg[opn.extreg + 0x100] = dat;
         if (opn.extreg >= 0x30) {          if (opn.extreg >= 0x30) {
                 sound_sync();  
                 opngen_setreg(3, opn.extreg, dat);                  opngen_setreg(3, opn.extreg, dat);
         }          }
         else {          else {
Line 157  void board118_reset(void) { Line 156  void board118_reset(void) {
   
 void board118_bind(void) {  void board118_bind(void) {
   
           fmboard_fmrestore(0, 0);
           fmboard_fmrestore(3, 1);
           psggen_restore(&psg1);
           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);
         cs4231io_bind();          cs4231io_bind();
         cbuscore_attachsndex(0x188, ymf_o, ymf_i);          cbuscore_attachsndex(0x188, ymf_o, ymf_i);
         iocore_attachout(0xa460, ymf_oa460);          iocore_attachout(0xa460, ymf_oa460);

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


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