Home
last modified time | relevance | path

Searched refs:lfo_cnt (Results 1 – 25 of 49) sorted by last modified time

12

/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dym3438.h87 Bit8u lfo_cnt; member
H A Dfm.c671 UINT32 lfo_cnt; member
1087 OPN->lfo_cnt += OPN->lfo_inc; in advance_lfo()
1089 pos = (OPN->lfo_cnt >> LFO_SH) & 127; in advance_lfo()
H A Dfm2612.c673 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1225 OPN->lfo_cnt = ( OPN->lfo_cnt + 1 ) & 127; in advance_lfo()
1231 if (OPN->lfo_cnt<64) in advance_lfo()
1232 OPN->LFO_AM = (OPN->lfo_cnt ^ 63) << 1; in advance_lfo()
1234 OPN->LFO_AM = (OPN->lfo_cnt & 63) << 1; in advance_lfo()
1237 OPN->LFO_PM = OPN->lfo_cnt >> 2; in advance_lfo()
1791 OPN->lfo_cnt = 0; in OPNWriteMode()
2559 OPN->lfo_cnt = 0; in ym2612_reset_chip()
H A Dym3438.c843 chip->lfo_cnt++; in OPN2_UpdateLFO()
849 chip->lfo_cnt &= chip->lfo_en; in OPN2_UpdateLFO()
1252 chip->lfo_pm = chip->lfo_cnt >> 2; in OPN2_Clock()
1253 if (chip->lfo_cnt & 0x40) in OPN2_Clock()
1255 chip->lfo_am = chip->lfo_cnt & 0x3f; in OPN2_Clock()
1259 chip->lfo_am = chip->lfo_cnt ^ 0x3f; in OPN2_Clock()
H A Dymf278b.c86 INT32 lfo_cnt; member
312 slot->lfo_cnt = slot->lfo_step = 0; in ymf278b_slot_reset()
377 slot->lfo_cnt = (((slot->lfo_cnt << 8) / slot->lfo_max) * newlfo) >> 8; in ymf278b_slot_set_lfo()
398 op->lfo_cnt ++; in ymf278b_advance()
399 if (op->lfo_cnt < op->lfo_max) in ymf278b_advance()
403 else if (op->lfo_cnt < (op->lfo_max * 3)) in ymf278b_advance()
410 if (op->lfo_cnt == (op->lfo_max * 4)) in ymf278b_advance()
411 op->lfo_cnt = 0; in ymf278b_advance()
919 slot->lfo_cnt = 0; in ymf278b_C_w()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dfm.c704 UINT32 lfo_cnt; member
1176 OPN->lfo_cnt += OPN->lfo_inc; in advance_lfo()
1178 pos = (OPN->lfo_cnt >> LFO_SH) & 127; in advance_lfo()
2451 state_save_register_UINT32 (statename, num, "lfo_cnt" , &FM2203[num].OPN.lfo_cnt , 1); in YM2203_save_state()
H A Dym2612.c622 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1062 ym2612.OPN.lfo_cnt = ( ym2612.OPN.lfo_cnt + 1 ) & 127; in advance_lfo()
1066 if (ym2612.OPN.lfo_cnt<64) in advance_lfo()
1067 ym2612.OPN.LFO_AM = (ym2612.OPN.lfo_cnt ^ 63) << 1; in advance_lfo()
1069 ym2612.OPN.LFO_AM = (ym2612.OPN.lfo_cnt & 63) << 1; in advance_lfo()
1072 ym2612.OPN.LFO_PM = ym2612.OPN.lfo_cnt >> 2; in advance_lfo()
1547 ym2612.OPN.lfo_cnt = 0; in OPNWriteMode()
1934 ym2612.OPN.lfo_cnt = 0; in MDYM2612Reset()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/mame/
H A Dmame_ym2612fm.c718 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1284 OPN->lfo_cnt = ( OPN->lfo_cnt + 1 ) & 127; in advance_lfo()
1290 if (OPN->lfo_cnt<64) in advance_lfo()
1291 OPN->LFO_AM = (UINT32)(OPN->lfo_cnt ^ 63) << 1; in advance_lfo()
1293 OPN->LFO_AM = (UINT32)(OPN->lfo_cnt & 63) << 1; in advance_lfo()
1296 OPN->LFO_PM = OPN->lfo_cnt >> 2; in advance_lfo()
1836 OPN->lfo_cnt = 0; in OPNWriteMode()
1851 OPN->lfo_cnt = 0; in OPNWriteMode()
2718 OPN->lfo_cnt = 0; in ym2612_reset_chip()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/game-music-emu/gme/
H A DYm2612_MAME.cpp901 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1467 OPN->lfo_cnt = ( OPN->lfo_cnt + 1 ) & 127; in advance_lfo()
1473 if (OPN->lfo_cnt<64) in advance_lfo()
1474 OPN->LFO_AM = (UINT32)(OPN->lfo_cnt ^ 63) << 1; in advance_lfo()
1476 OPN->LFO_AM = (UINT32)(OPN->lfo_cnt & 63) << 1; in advance_lfo()
1479 OPN->LFO_PM = OPN->lfo_cnt >> 2; in advance_lfo()
2019 OPN->lfo_cnt = 0; in OPNWriteMode()
2034 OPN->lfo_cnt = 0; in OPNWriteMode()
2885 OPN->lfo_cnt = 0; in ym2612_reset_chip()
H A DYm2612_Nuked.cpp98 Bit8u lfo_cnt; member
1057 chip->lfo_cnt++; in OPN2_UpdateLFO()
1063 chip->lfo_cnt &= chip->lfo_en; in OPN2_UpdateLFO()
1466 chip->lfo_pm = chip->lfo_cnt >> 2; in OPN2_Clock()
1467 if (chip->lfo_cnt & 0x40) in OPN2_Clock()
1469 chip->lfo_am = chip->lfo_cnt & 0x3f; in OPN2_Clock()
1473 chip->lfo_am = chip->lfo_cnt ^ 0x3f; in OPN2_Clock()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/gx/
H A Dgx_ym2612.c640 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1079 ym2612->OPN.lfo_cnt = ( ym2612->OPN.lfo_cnt + 1 ) & 127; in advance_lfo()
1083 if (ym2612->OPN.lfo_cnt<64) in advance_lfo()
1084 ym2612->OPN.LFO_AM = (ym2612->OPN.lfo_cnt ^ 63) << 1; in advance_lfo()
1086 ym2612->OPN.LFO_AM = (ym2612->OPN.lfo_cnt & 63) << 1; in advance_lfo()
1089 ym2612->OPN.LFO_PM = ym2612->OPN.lfo_cnt >> 2; in advance_lfo()
1564 ym2612->OPN.lfo_cnt = 0; in OPNWriteMode()
1973 ym2612->OPN.lfo_cnt = 0; in YM2612GXResetChip()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/mamefm/
H A Dfm.cpp699 uint32_t lfo_cnt; member
1123 OPN->lfo_cnt += OPN->lfo_inc; in advance_lfo()
1125 pos = (OPN->lfo_cnt >> LFO_SH) & 127; in advance_lfo()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/nuked/
H A Dym3438.c865 chip->lfo_cnt++; in OPN2_UpdateLFO()
871 chip->lfo_cnt &= chip->lfo_en; in OPN2_UpdateLFO()
1271 chip->lfo_pm = chip->lfo_cnt >> 2; in OPN2_Clock()
1272 if (chip->lfo_cnt & 0x40) in OPN2_Clock()
1274 chip->lfo_am = chip->lfo_cnt & 0x3f; in OPN2_Clock()
1278 chip->lfo_am = chip->lfo_cnt ^ 0x3f; in OPN2_Clock()
H A Dym3438.h93 Bit8u lfo_cnt; in ScheduleWork()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/
H A Dfm.c671 UINT32 lfo_cnt; member
1079 OPN->lfo_cnt += OPN->lfo_inc; in advance_lfo()
1081 pos = (OPN->lfo_cnt >> LFO_SH) & 127; in advance_lfo()
H A Dfm2612.c668 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1216 OPN->lfo_cnt = ( OPN->lfo_cnt + 1 ) & 127; in advance_lfo()
1220 if (OPN->lfo_cnt<64) in advance_lfo()
1221 OPN->LFO_AM = OPN->lfo_cnt * 2; in advance_lfo()
1223 OPN->LFO_AM = 126 - ((OPN->lfo_cnt&63) * 2); in advance_lfo()
1226 OPN->LFO_PM = OPN->lfo_cnt >> 2; in advance_lfo()
1766 OPN->lfo_cnt = 0; in OPNWriteMode()
2465 OPN->lfo_cnt = 0; in ym2612_reset_chip()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A Dfm.c654 UINT32 lfo_cnt; member
1081 prev_pos = OPN->lfo_cnt>>LFO_SH & 127; in advance_lfo()
1083 OPN->lfo_cnt += OPN->lfo_inc; in advance_lfo()
1085 pos = (OPN->lfo_cnt >> LFO_SH) & 127; in advance_lfo()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/
H A Dfm.c654 UINT32 lfo_cnt; member
1081 prev_pos = OPN->lfo_cnt>>LFO_SH & 127; in advance_lfo()
1083 OPN->lfo_cnt += OPN->lfo_inc; in advance_lfo()
1085 pos = (OPN->lfo_cnt >> LFO_SH) & 127; in advance_lfo()
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/core/sound/
H A Dym3438.h93 Bit8u lfo_cnt; member
H A Dym2612.c604 UINT8 lfo_cnt; /* current LFO phase (out of 128) */ member
1047 ym2612.OPN.lfo_cnt = ( ym2612.OPN.lfo_cnt + 1 ) & 127; in advance_lfo()
1051 if (ym2612.OPN.lfo_cnt<64) in advance_lfo()
1052 ym2612.OPN.LFO_AM = (ym2612.OPN.lfo_cnt ^ 63) << 1; in advance_lfo()
1054 ym2612.OPN.LFO_AM = (ym2612.OPN.lfo_cnt & 63) << 1; in advance_lfo()
1057 ym2612.OPN.LFO_PM = ym2612.OPN.lfo_cnt >> 2; in advance_lfo()
1532 ym2612.OPN.lfo_cnt = 0; in OPNWriteMode()
1918 ym2612.OPN.lfo_cnt = 0; in YM2612ResetChip()
H A Dym3438.c854 chip->lfo_cnt++; in OPN2_UpdateLFO()
860 chip->lfo_cnt &= chip->lfo_en; in OPN2_UpdateLFO()
1244 chip->lfo_pm = chip->lfo_cnt >> 2; in OPN2_Clock()
1245 if (chip->lfo_cnt & 0x40) in OPN2_Clock()
1247 chip->lfo_am = chip->lfo_cnt & 0x3f; in OPN2_Clock()
1251 chip->lfo_am = chip->lfo_cnt ^ 0x3f; in OPN2_Clock()
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/
H A DOpenMsxYMF278.cpp169 lfo_cnt = lfo_step = 0; in reset()
219 lfo_cnt = (((lfo_cnt << 8) / lfo_max) * newlfo) >> 8; in set_lfo()
242 op.lfo_cnt++; in advance()
243 if (op.lfo_cnt < op.lfo_max) { in advance()
245 } else if (op.lfo_cnt < (op.lfo_max * 3)) { in advance()
249 if (op.lfo_cnt == (op.lfo_max * 4)) { in advance()
250 op.lfo_cnt = 0; in advance()
611 slot.lfo_cnt = 0; in writeRegOPL4()
983 slots[i].lfo_cnt = saveStateGet(state, tag, 0); in loadState()
1120 saveStateSet(state, tag, slots[i].lfo_cnt); in saveState()
H A DOpenMsxYMF278.h94 int lfo_cnt; variable
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/pico/sound/
H A Dym2612.c733 pos = (lfo_cnt >> LFO_SH) & 127; in advance_lfo()
904 UINT32 lfo_cnt; /* 30 */ member
950 …ct->pack = (ct->pack&0xffff) | (advance_lfo(ct->pack >> 16, ct->lfo_cnt, ct->lfo_cnt + ct->lfo_inc… in chan_render_loop()
951 ct->lfo_cnt += ct->lfo_inc; in chan_render_loop()
1264 ym2612.OPN.lfo_cnt = crct.lfo_cnt; in chan_render_finish()
1298 crct.lfo_cnt = ym2612.OPN.lfo_cnt; in chan_render()
1874 ym2612.OPN.lfo_cnt = 0; in YM2612ResetChip_()
1934 ym2612.OPN.lfo_cnt = 0; in YM2612Write_()
2065 UINT32 lfo_cnt; member
2137 sa.lfo_cnt = ym2612.OPN.lfo_cnt; in YM2612PicoStateSave2()
[all …]
H A Dym2612_arm.S288 @ r12=lfo_ampm[31:16], r1=lfo_cnt_old, r2=lfo_cnt, r3=scratch
704 ldr r1, [lr, #0x30] @ lfo_cnt
713 @ r12=lfo_ampm[31:16], r1=lfo_cnt_old, r2=lfo_cnt

12