Home
last modified time | relevance | path

Searched refs:wselbase (Results 1 – 11 of 11) sorted by relevance

/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/hardware/
H A Dopl.cpp457 Bits wselbase = regbase; local
458 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
460 assert(wselbase >= 0 &&
461 static_cast<size_t>(wselbase) < sizeof(wave_sel));
462 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
882 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
884 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
885 else wave_sel[wselbase] = val&3;
886 op_type *op_ptr = get_op(regbase2modop[wselbase] + ((num < 3) ? 0 : 9));
887 change_waveform(wselbase,op_ptr);
/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/
H A Dopl.c480 Bits wselbase = regbase; local
481 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
483 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
897 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
899 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
900 else wave_sel[wselbase] = val&3;
901 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
902 change_waveform(wselbase,op_ptr);
/dports/games/zdoom/zdoom-2.8.1/src/oplsynth/dosbox/
H A Dopl.cpp449 Bits wselbase = regbase; local
450 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
452 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
869 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
871 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
872 else wave_sel[wselbase] = val&3;
873 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
874 change_waveform(wselbase,op_ptr);
/dports/emulators/dosbox/dosbox-0.74-3/src/hardware/
H A Dopl.cpp456 Bits wselbase = regbase; local
457 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
459 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
873 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
875 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
876 else wave_sel[wselbase] = val&3;
877 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
878 change_waveform(wselbase,op_ptr);
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/oplsynth/dosbox/
H A Dopl.cpp447 Bits wselbase = regbase; local
448 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
450 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
867 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
869 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
870 else wave_sel[wselbase] = val&3;
871 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
872 change_waveform(wselbase,op_ptr);
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/hardware/
H A Dopl.cpp455 Bits wselbase = regbase; local
456 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
458 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
872 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
874 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
875 else wave_sel[wselbase] = val&3;
876 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
877 change_waveform(wselbase,op_ptr);
/dports/audio/libadplug/adplug-adplug-2.3.3/src/
H A Dwoodyopl.cpp458 Bits wselbase = regbase; local
459 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
461 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
877 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
879 if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
880 else wave_sel[wselbase] = val&3;
881 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
882 change_waveform(wselbase,op_ptr);
/dports/emulators/bochs/bochs-2.7/iodev/sound/
H A Dopl.cc487 Bits wselbase = regbase; local
488 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22
490 op_pt->tcount = wavestart[wave_sel[wselbase]]*FIXEDPT;
908 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] local
910 … if (adlibreg[0x105]&1) wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms accessible
911 else wave_sel[wselbase] = val&3;
912 op_type* op_ptr = &op[regbase2modop[wselbase]+((num<3) ? 0 : 9)];
913 change_waveform(wselbase,op_ptr);
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dopl.c553 Bits wselbase = regbase; in enable_operator() local
554 if (wselbase>=ARC_SECONDSET) in enable_operator()
555 wselbase -= (ARC_SECONDSET-22); // second set starts at 22 in enable_operator()
557 op_pt->tcount = wavestart[chip->wave_sel[wselbase]]*FIXEDPT; in enable_operator()
1134 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] in adlib_write() local
1137 …if (OPL->adlibreg[0x105]&1) OPL->wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms a… in adlib_write()
1138 else OPL->wave_sel[wselbase] = val&3; in adlib_write()
1139 op_ptr = &OPL->op[regbase2modop[wselbase]+((num<3) ? 0 : 9)]; in adlib_write()
1140 change_waveform(chip, wselbase,op_ptr); in adlib_write()
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dopl.c553 Bits wselbase = regbase; in enable_operator() local
554 if (wselbase>=ARC_SECONDSET) in enable_operator()
555 wselbase -= (ARC_SECONDSET-22); // second set starts at 22 in enable_operator()
557 op_pt->tcount = wavestart[chip->wave_sel[wselbase]]*FIXEDPT; in enable_operator()
1134 Bits wselbase = second_set?(base+22):base; // for easier mapping onto wave_sel[] in adlib_write() local
1137 …if (OPL->adlibreg[0x105]&1) OPL->wave_sel[wselbase] = val&7; // opl3 mode enabled, all waveforms a… in adlib_write()
1138 else OPL->wave_sel[wselbase] = val&3; in adlib_write()
1139 op_ptr = &OPL->op[regbase2modop[wselbase]+((num<3) ? 0 : 9)]; in adlib_write()
1140 change_waveform(chip, wselbase,op_ptr); in adlib_write()
/dports/games/dunelegacy/dunelegacy-0.96.4/src/FileClasses/adl/
H A Dwoodyopl.cpp441 Bits wselbase = regbase; in cellon() local
442 if (wselbase>=ARC_SECONDSET) wselbase -= (ARC_SECONDSET-22); // second set starts at 22 in cellon()
444 c->t = wavestart[wave_sel[wselbase]]; in cellon()