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

version 1.3, 2004/02/03 08:24:40 version 1.5, 2005/02/09 20:11:33
Line 144  void board86_reset(void) { Line 144  void board86_reset(void) {
                                         ((np2cfg.snd86opt & 0x8) << 3));                                          ((np2cfg.snd86opt & 0x8) << 3));
         opngen_setcfg(3, OPN_STEREO | 0x038);          opngen_setcfg(3, OPN_STEREO | 0x038);
         if (np2cfg.snd86opt & 2) {          if (np2cfg.snd86opt & 2) {
                 soundrom_load(0xcc000, "86");                  soundrom_load(0xcc000, OEMTEXT("86"));
         }          }
         opn.base = (np2cfg.snd86opt & 0x01)?0x000:0x100;          opn.base = (np2cfg.snd86opt & 0x01)?0x000:0x100;
         fmboard_extreg(extendchannel);          fmboard_extreg(extendchannel);
Line 158  void board86_bind(void) { Line 158  void board86_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);
         pcm86io_bind();          pcm86io_bind();
         cbuscore_attachsndex(0x188 + opn.base, opna_o, opna_i);          cbuscore_attachsndex(0x188 + opn.base, opna_o, opna_i);
 }  }
Line 218  void board86c_bind(void) { Line 218  void board86c_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);
         sound_streamregist(&adpcm, (SOUNDCB)adpcm_getpcm);          sound_streamregist(&adpcm, (SOUNDCB)adpcm_getpcm);
         pcm86io_bind();          pcm86io_bind();
         cbuscore_attachsndex(0x188 + opn.base, opnac_o, opnac_i);          cbuscore_attachsndex(0x188 + opn.base, opnac_o, opnac_i);

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


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