/dports/games/libretro-snes9x2005/snes9x2005-218be8e/source/ |
H A D | apu.c | 49 memset(APU.OutPorts, 0, sizeof(APU.OutPorts)); in S9xResetAPU() 58 APU.Cycles = 0; in S9xResetAPU() 69 APU.ShowROM = true; in S9xResetAPU() 76 APU.Timer [i] = 0; in S9xResetAPU() 79 APU.DSP [j] = 0; in S9xResetAPU() 86 APU.DSP [APU_ENDX] = 0; in S9xResetAPU() 87 APU.DSP [APU_KOFF] = 0; in S9xResetAPU() 88 APU.DSP [APU_KON] = 0; in S9xResetAPU() 90 APU.KeyedChannels = 0; in S9xResetAPU() 266 S9xFixEnvelope(reg >> 4, APU.DSP [reg + 2], byte, APU.DSP [reg + 1]); in S9xSetAPUDSP() [all …]
|
H A D | cpuexec.c | 437 APU.Cycles = 0; in S9xDoHBlankProcessing_SFX() 506 APU.Timer [2] += 4; in S9xDoHBlankProcessing_SFX() 507 while (APU.Timer [2] >= APU.TimerTarget [2]) in S9xDoHBlankProcessing_SFX() 510 APU.Timer [2] -= APU.TimerTarget [2]; in S9xDoHBlankProcessing_SFX() 520 if (APU.Timer [0] >= APU.TimerTarget [0]) in S9xDoHBlankProcessing_SFX() 531 if (APU.Timer [1] >= APU.TimerTarget [1]) in S9xDoHBlankProcessing_SFX() 567 APU.Cycles = 0; in S9xDoHBlankProcessing_NoSFX() 637 while (APU.Timer [2] >= APU.TimerTarget [2]) in S9xDoHBlankProcessing_NoSFX() 640 APU.Timer [2] -= APU.TimerTarget [2]; in S9xDoHBlankProcessing_NoSFX() 650 if (APU.Timer [0] >= APU.TimerTarget [0]) in S9xDoHBlankProcessing_NoSFX() [all …]
|
H A D | apumem.h | 44 APU.OutPorts [Address - 0xf4] = byte; in S9xAPUSetByteZ() 53 APU.TimerTarget [Address - 0xfa] = 0x100; in S9xAPUSetByteZ() 55 APU.TimerTarget [Address - 0xfa] = byte; in S9xAPUSetByteZ() 97 APU.OutPorts [Address - 0xf4] = byte; in S9xAPUSetByte() 106 APU.TimerTarget [Address - 0xfa] = 0x100; in S9xAPUSetByte() 108 APU.TimerTarget [Address - 0xfa] = byte; in S9xAPUSetByte() 118 APU.ExtraRAM [Address - 0xffc0] = byte; in S9xAPUSetByte() 119 if (!APU.ShowROM) in S9xAPUSetByte()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/ |
H A D | nes_apu.cpp | 503 info->APU.tri.linear_length = info->sync_times2[info->APU.tri.regs[0] & 0x7F]; in apu_regwrite() 542 info->APU.dpcm.vol = (info->APU.dpcm.regs[1]-64); in apu_regwrite() 814 info->APU.tri.adder = 0; in nesapuReset() 816 info->APU.tri.enabled = 0; in nesapuReset() 820 info->APU.noi.cur_pos = 0; in nesapuReset() 838 info->APU.dpcm.vol = 0; in nesapuReset() 840 info->APU.regs[k] = 0; in nesapuReset() 842 info->APU.buf_pos = 0; in nesapuReset() 927 SCAN_VAR(info->APU.squ); in nesapuScan() 928 SCAN_VAR(info->APU.tri); in nesapuScan() [all …]
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/ |
H A D | nes_apu.c | 490 if (info->APU.tri.enabled) in apu_regwrite() 529 if (info->APU.tri.enabled) in apu_regwrite() 533 info->APU.tri.linear_length = info->sync_times2[info->APU.tri.regs[0] & 0x7F]; in apu_regwrite() 556 if (info->APU.noi.enabled) in apu_regwrite() 574 info->APU.dpcm.vol = (info->APU.dpcm.regs[1]-64); in apu_regwrite() 576 info->APU.dpcm.vol = info->APU.dpcm.regs[1]; in apu_regwrite() 590 info->APU.step_mode = 5; in apu_regwrite() 592 info->APU.step_mode = 4; in apu_regwrite() 857 info->APU.tri.Muted = 0x00; in device_start_nesapu() 858 info->APU.noi.Muted = 0x00; in device_start_nesapu() [all …]
|
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/ |
H A D | nes_apu.c | 490 if (info->APU.tri.enabled) in apu_regwrite() 529 if (info->APU.tri.enabled) in apu_regwrite() 533 info->APU.tri.linear_length = info->sync_times2[info->APU.tri.regs[0] & 0x7F]; in apu_regwrite() 556 if (info->APU.noi.enabled) in apu_regwrite() 574 info->APU.dpcm.vol = (info->APU.dpcm.regs[1]-64); in apu_regwrite() 576 info->APU.dpcm.vol = info->APU.dpcm.regs[1]; in apu_regwrite() 590 info->APU.step_mode = 5; in apu_regwrite() 592 info->APU.step_mode = 4; in apu_regwrite() 859 info->APU.tri.Muted = 0x00; in device_start_nesapu() 860 info->APU.noi.Muted = 0x00; in device_start_nesapu() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/ |
H A D | nes_apu.cpp | 609 info->APU.tri.linear_length = info->sync_times2[info->APU.tri.regs[0] & 0x7F]; in apu_regwrite() 649 info->APU.dpcm.vol = info->APU.dpcm.regs[1]; in apu_regwrite() 933 memset(&info->APU.squ, 0, sizeof(info->APU.squ)); in nesapuReset() 934 memset(&info->APU.tri, 0, sizeof(info->APU.tri)); in nesapuReset() 935 memset(&info->APU.noi, 0, sizeof(info->APU.noi)); in nesapuReset() 936 memset(&info->APU.dpcm, 0, sizeof(info->APU.dpcm)); in nesapuReset() 937 memset(&info->APU.regs, 0, sizeof(info->APU.regs)); in nesapuReset() 940 info->APU.noi.lfsr = 1; in nesapuReset() 1061 SCAN_VAR(info->APU.squ); in nesapuScan() 1062 SCAN_VAR(info->APU.tri); in nesapuScan() [all …]
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | APU.cpp | 13 APU::APU(shared_ptr<Console> console) in APU() function in APU 40 APU::~APU() in ~APU() 82 uint8_t APU::GetStatus() in GetStatus() 140 void APU::Run() in Run() 167 void APU::SetNeedToRun() in SetNeedToRun() 185 void APU::Exec() in Exec() 195 void APU::EndFrame() in EndFrame() 210 void APU::ProcessCpuClock() in ProcessCpuClock() 269 bool APU::IsApuEnabled() in IsApuEnabled() 278 void APU::FillDmcReadBuffer() in FillDmcReadBuffer() [all …]
|
/dports/emulators/anese/ANESE-0.9.1/src/nes/apu/ |
H A D | apu.cc | 14 APU::Mixer::Mixer() { in Mixer() 54 APU::~APU() { in ~APU() 58 APU::APU(const NES_Params& params, Memory& mem, InterruptLines& interrupt) in APU() function in APU 73 void APU::power_cycle() { in power_cycle() 83 void APU::reset() { in reset() 90 u8 APU::read(u16 addr) { in read() 98 u8 APU::peek(u16 addr) const { in peek() 101 APU::StateReg state {0}; in peek() 460 void APU::clock_timers() { in clock_timers() 480 void APU::clock_sweeps() { in clock_sweeps() [all …]
|
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/math/float/am9511/z80/ |
H A D | am32_pushl.asm | 11 ; asm_am9511_pushl - am9511 APU push long 14 ; Load long into Am9511 APU stack 37 ; in a,(__IO_APU_STATUS) ; read the APU status register 41 ld bc,__IO_APU_DATA ; the address of the APU data port in bc 42 outi ; load LSW into APU 46 outi ; load MSW into APU 63 ; in a,(__IO_APU_STATUS) ; read the APU status register 67 ld bc,__IO_APU_DATA ; the address of the APU data port in bc 68 out (c),l ; load LSW into APU 70 out (c),e ; load MSW into APU
|
H A D | am32_popl.asm | 11 ; asm_am9511_popl - am9511 APU pop long 14 ; Load long from Am9511 APU stack 41 in a,(__IO_APU_STATUS) ; read the APU status register 45 ld bc,__IO_APU_DATA ; the address of the APU data port in bc 49 ind ; load MSW into APU 53 ind ; load LSW into APU 73 in a,(__IO_APU_STATUS) ; read the APU status register 77 ld bc,__IO_APU_DATA ; the address of the APU data port in bc 78 in d,(c) ; load MSW from APU 80 in h,(c) ; load LSW from APU
|
H A D | am32_pushf.asm | 11 ; asm_am9511_pushf - am9511 APU push float 14 ; Load IEEE-754 float into Am9511 APU stack 40 ; in a,(__IO_APU_STATUS) ; read the APU status register 45 outi ; load LSW into APU 64 outi ; load mantissa MSB into APU 70 out (c),a ; load exponent into APU 76 outi ; load mantissa MSB into APU 89 out (c),a ; load zero mantissa into APU 92 out (c),a ; load zero exponent into APU 134 out (c),l ; load LSW into APU [all …]
|
H A D | am32_pushi.asm | 11 ; asm_am9511_pushi - am9511 APU push integer 14 ; Load integer into Am9511 APU stack 38 ; in a,(__IO_APU_STATUS) ; read the APU status register 42 ld bc,__IO_APU_DATA ; the address of the APU data port in bc 43 outi ; load LSW into APU 61 ; in a,(__IO_APU_STATUS) ; read the APU status register 65 ld bc,__IO_APU_DATA ; the address of the APU data port in bc 66 out (c),l ; load LSW into APU
|
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/math/float/am9511/z80/am32_stack/ |
H A D | am32_1_popl.asm | 11 ; asm_am9511_1_popl - am9511 APU pop long 14 ; Load long from Am9511 APU stack 41 in a,(__IO_APU1_STATUS) ; read the APU status register 45 ld bc,__IO_APU1_DATA ; the address of the APU data port in bc 49 ind ; load MSW into APU 53 ind ; load LSW into APU 73 in a,(__IO_APU1_STATUS) ; read the APU status register 77 ld bc,__IO_APU1_DATA ; the address of the APU data port in bc 78 in d,(c) ; load MSW from APU 80 in h,(c) ; load LSW from APU
|
H A D | am32_1_pushl.asm | 11 ; asm_am9511_1_pushl - am9511 APU push long 14 ; Load long into Am9511 APU stack 41 in a,(__IO_APU1_STATUS) ; read the APU status register 45 ld bc,__IO_APU1_DATA ; the address of the APU data port in bc 46 outi ; load LSW into APU 50 outi ; load MSW into APU 71 in a,(__IO_APU1_STATUS) ; read the APU status register 75 ld bc,__IO_APU1_DATA ; the address of the APU data port in bc 76 out (c),l ; load LSW into APU 78 out (c),e ; load MSW into APU
|
H A D | am32_0_popl.asm | 11 ; asm_am9511_0_popl - am9511 APU pop long 14 ; Load long from Am9511 APU stack 41 in a,(__IO_APU0_STATUS) ; read the APU status register 45 ld bc,__IO_APU0_DATA ; the address of the APU data port in bc 49 ind ; load MSW into APU 53 ind ; load LSW into APU 73 in a,(__IO_APU0_STATUS) ; read the APU status register 77 ld bc,__IO_APU0_DATA ; the address of the APU data port in bc 78 in d,(c) ; load MSW from APU 80 in h,(c) ; load LSW from APU
|
H A D | am32_0_pushl.asm | 11 ; asm_am9511_0_pushl - am9511 APU push long 14 ; Load long into Am9511 APU stack 41 in a,(__IO_APU0_STATUS) ; read the APU status register 45 ld bc,__IO_APU0_DATA ; the address of the APU data port in bc 46 outi ; load LSW into APU 50 outi ; load MSW into APU 71 in a,(__IO_APU0_STATUS) ; read the APU status register 75 ld bc,__IO_APU0_DATA ; the address of the APU data port in bc 76 out (c),l ; load LSW into APU 78 out (c),e ; load MSW into APU
|
H A D | am32_2_popl.asm | 11 ; asm_am9511_2_popl - am9511 APU pop long 14 ; Load long from Am9511 APU stack 41 in a,(__IO_APU2_STATUS) ; read the APU status register 45 ld bc,__IO_APU2_DATA ; the address of the APU data port in bc 49 ind ; load MSW into APU 53 ind ; load LSW into APU 73 in a,(__IO_APU2_STATUS) ; read the APU status register 77 ld bc,__IO_APU2_DATA ; the address of the APU data port in bc 78 in d,(c) ; load MSW from APU 80 in h,(c) ; load LSW from APU
|
H A D | am32_2_pushl.asm | 11 ; asm_am9511_2_pushl - am9511 APU push long 14 ; Load long into Am9511 APU stack 41 in a,(__IO_APU2_STATUS) ; read the APU status register 45 ld bc,__IO_APU2_DATA ; the address of the APU data port in bc 46 outi ; load LSW into APU 50 outi ; load MSW into APU 71 in a,(__IO_APU2_STATUS) ; read the APU status register 75 ld bc,__IO_APU2_DATA ; the address of the APU data port in bc 76 out (c),l ; load LSW into APU 78 out (c),e ; load MSW into APU
|
H A D | am32_3_popl.asm | 11 ; asm_am9511_3_popl - am9511 APU pop long 14 ; Load long from Am9511 APU stack 41 in a,(__IO_APU3_STATUS) ; read the APU status register 45 ld bc,__IO_APU3_DATA ; the address of the APU data port in bc 49 ind ; load MSW into APU 53 ind ; load LSW into APU 73 in a,(__IO_APU3_STATUS) ; read the APU status register 77 ld bc,__IO_APU3_DATA ; the address of the APU data port in bc 78 in d,(c) ; load MSW from APU 80 in h,(c) ; load LSW from APU
|
H A D | am32_3_pushl.asm | 11 ; asm_am9511_3_pushl - am9511 APU push long 14 ; Load long into Am9511 APU stack 41 in a,(__IO_APU3_STATUS) ; read the APU status register 45 ld bc,__IO_APU3_DATA ; the address of the APU data port in bc 46 outi ; load LSW into APU 50 outi ; load MSW into APU 71 in a,(__IO_APU3_STATUS) ; read the APU status register 75 ld bc,__IO_APU3_DATA ; the address of the APU data port in bc 76 out (c),l ; load LSW into APU 78 out (c),e ; load MSW into APU
|
H A D | am32_0_pushf.asm | 11 ; asm_am9511_0_pushf - am9511 APU push float 14 ; Load IEEE-754 float into Am9511 APU stack 50 in a,(__IO_APU0_STATUS) ; read the APU status register 55 outi ; load LSW into APU 74 outi ; load mantissa MSB into APU 80 out (c),a ; load exponent into APU 86 outi ; load mantissa MSB into APU 99 out (c),a ; load zero mantissa into APU 102 out (c),a ; load zero exponent into APU 148 out (c),l ; load LSW into APU [all …]
|
/dports/security/erlang-jose/erlang-jose-1.11.1/src/jwe/ |
H A D | jose_jwe_alg_ecdh_es.erl | 125 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 133 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 138 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 146 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 154 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 179 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 185 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 192 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 200 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 255 from_map_ecdh_es(F = #{ <<"apu">> := APU }, H) -> [all …]
|
/dports/security/elixir-jose/erlang-jose-1.11.1/src/jwe/ |
H A D | jose_jwe_alg_ecdh_es.erl | 125 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 133 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 138 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 146 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 154 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 179 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 185 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 192 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 200 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 255 from_map_ecdh_es(F = #{ <<"apu">> := APU }, H) -> [all …]
|
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/jose/src/jwe/ |
H A D | jose_jwe_alg_ecdh_es.erl | 125 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 133 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 138 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 146 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 154 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 179 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 185 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 192 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 200 DerivedKey = jose_jwa_concat_kdf:kdf(sha256, Z, {Algorithm, APU, APV, SuppPubInfo}, KeyDataLen), 255 from_map_ecdh_es(F = #{ <<"apu">> := APU }, H) -> [all …]
|