Home
last modified time | relevance | path

Searched refs:apu (Results 1 – 25 of 1349) sorted by relevance

12345678910>>...54

/dports/audio/festalon/festalon/src/nes/
H A Dsound.c377 apu->fhcnt+=apu->fhinc; in FrameSoundUpdate()
379 FrameSoundStuff(apu, apu->fcnt); in FrameSoundUpdate()
380 apu->fcnt=(apu->fcnt+1)&3; in FrameSoundUpdate()
393 apu->DMCShift=apu->DMCDMABuf; in tester()
406 apu->DMCDMABuf=X6502_DMR(apu->X,0x8000+apu->DMCAddress); in DMCDMA()
437 apu->fhcnt+=apu->fhinc; in FCEU_SoundCPUHook()
462 apu->DMCacc+=apu->DMCPeriod; in FCEU_SoundCPUHook()
693 apu->fhcnt=apu->fhinc; in DECLFW()
769 …end=FESTAFILT_Do(apu->ff, (float *)apu->WaveHi,apu->WaveFinal,apu->WaveFinalLen, apu->X->timestamp… in FCEUSND_FlushEmulate()
805 apu->fhcnt=apu->fhinc; in FCEUSND_Reset()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dnp_nes_apu.c113 apu->sfreq[i] = apu->freq[i] + (apu->sweep_mode[i] ? -shifted : shifted); in sweep_sqr()
175 apu->freq[i] = apu->sfreq[i] < 0 ? 0 : apu->sfreq[i]; in NES_APU_np_FrameSequence()
176 if (apu->scounter[i] > apu->freq[i]) apu->scounter[i] = apu->freq[i]; in NES_APU_np_FrameSequence()
254 Tick(apu, (COUNTER_value(apu->tick_count) - apu->tick_last) & 0xFF); in NES_APU_np_Render()
257 apu->out[0] = (apu->mask & 1) ? 0 : apu->out[0]; in NES_APU_np_Render()
258 apu->out[1] = (apu->mask & 2) ? 0 : apu->out[1]; in NES_APU_np_Render()
265 voltage = apu->square_table[apu->out[0] + apu->out[1]]; in NES_APU_np_Render()
364 NES_APU_np_SetRate(apu, apu->rate); in NES_APU_np_Reset()
387 COUNTER_init(apu->tick_count, apu->clock, apu->rate); in NES_APU_np_SetRate()
467 if (apu->scounter[ch] > apu->freq[ch]) apu->scounter[ch] = apu->freq[ch]; in NES_APU_np_Write()
[all …]
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dnp_nes_apu.c113 apu->sfreq[i] = apu->freq[i] + (apu->sweep_mode[i] ? -shifted : shifted); in sweep_sqr()
175 apu->freq[i] = apu->sfreq[i] < 0 ? 0 : apu->sfreq[i]; in NES_APU_np_FrameSequence()
176 if (apu->scounter[i] > apu->freq[i]) apu->scounter[i] = apu->freq[i]; in NES_APU_np_FrameSequence()
254 Tick(apu, (COUNTER_value(apu->tick_count) - apu->tick_last) & 0xFF); in NES_APU_np_Render()
257 apu->out[0] = (apu->mask & 1) ? 0 : apu->out[0]; in NES_APU_np_Render()
258 apu->out[1] = (apu->mask & 2) ? 0 : apu->out[1]; in NES_APU_np_Render()
265 voltage = apu->square_table[apu->out[0] + apu->out[1]]; in NES_APU_np_Render()
364 NES_APU_np_SetRate(apu, apu->rate); in NES_APU_np_Reset()
387 COUNTER_init(apu->tick_count, apu->clock, apu->rate); in NES_APU_np_SetRate()
467 if (apu->scounter[ch] > apu->freq[ch]) apu->scounter[ch] = apu->freq[ch]; in NES_APU_np_Write()
[all …]
/dports/games/libretro-emux/emux-640d4ba/controllers/audio/
H A Dapu.c425 void pulse_update(struct apu *apu) in pulse_update() argument
520 void noise_update(struct apu *apu) in noise_update() argument
557 void dmc_update(struct apu *apu) in dmc_update() argument
661 void apu_tick(struct apu *apu) in apu_tick() argument
837 void sweep_tick(struct apu *apu) in sweep_tick() argument
951 void seq_tick(struct apu *apu) in seq_tick() argument
1026 struct apu *apu; in apu_init() local
1044 apu->main_region.data = apu; in apu_init()
1064 apu->seq_region.data = apu; in apu_init()
1073 apu->main_clock.data = apu; in apu_init()
[all …]
/dports/emulators/sameboy/SameBoy-0.14.7/Core/
H A Dapu.c426 gb->apu.pcm_mask[0] &= (gb->apu.noise_channel.current_volume << 2) | 0x1F; in tick_noise_envelope()
569 if (gb->apu.is_active[i] && gb->apu.square_channels[i].volume_countdown == 0) { in GB_apu_div_secondary_event()
574 if (gb->apu.is_active[GB_NOISE] && gb->apu.noise_channel.volume_countdown == 0) { in GB_apu_div_secondary_event()
593 gb->apu.current_lfsr_sample = gb->apu.noise_channel.lfsr & 1; in step_lfsr()
606 gb->apu.apu_cycles = 0; in GB_apu_run()
628 gb->apu.apu_cycles = gb->apu.channel_4_dmg_delayed_start * 4; in GB_apu_run()
654 gb->apu.channel1_completed_addend = gb->apu.sweep_length_addend; in GB_apu_run()
775 memset(&gb->apu, 0, sizeof(gb->apu)); in GB_apu_init()
776 gb->apu.lf_div = 1; in GB_apu_init()
999 memset(&gb->apu, 0, sizeof(gb->apu)); in GB_apu_write()
[all …]
/dports/multimedia/libxine/xine-lib-1.2.11/contrib/nosefart/
H A Dnes_apu.c52 static apu_t *apu; variable
118 apu = src_apu; in apu_setcontext()
126 #define APU_QEMPTY() (apu->q_head == apu->q_tail)
130 ASSERT(apu); in apu_enqueue()
131 apu->queue[apu->q_head] = *d; in apu_enqueue()
133 apu->q_head = (apu->q_head + 1) & APUQUEUE_MASK; in apu_enqueue()
147 ASSERT(apu); in apu_dequeue()
155 apu->q_tail = (apu->q_tail + 1) & APUQUEUE_MASK; in apu_dequeue()
165 ASSERT(apu); in apu_setchan()
891 if (apu->noise.enabled && apu->noise.vbl_length) in apu_read()
[all …]
/dports/audio/nosefart/nosefart-1.92f-mls/src/sndhrdw/
H A Dnes_apu.c47 static apu_t *apu; variable
113 apu = src_apu; in apu_setcontext()
121 #define APU_QEMPTY() (apu->q_head == apu->q_tail)
125 ASSERT(apu); in apu_enqueue()
126 apu->queue[apu->q_head] = *d; in apu_enqueue()
128 apu->q_head = (apu->q_head + 1) & APUQUEUE_MASK; in apu_enqueue()
142 ASSERT(apu); in apu_dequeue()
150 apu->q_tail = (apu->q_tail + 1) & APUQUEUE_MASK; in apu_dequeue()
160 ASSERT(apu); in apu_setchan()
886 if (apu->noise.enabled && apu->noise.vbl_length) in apu_read()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/
H A DPR100120.f9033 class(*), pointer :: apu(:) variable
103 apu => ain
106 select type(apu)
123 apu => ac1
126 select type(apu)
144 apu => acn
147 select type(apu)
164 apu => afd
167 select type(apu)
184 apu => abd
[all …]
/dports/games/libretro-quicknes/QuickNES_Core-901248a/nes_emu/
H A Dapu_state.cpp23 #define REFLECT( apu, state ) (mode ? void (apu = state) : void (state = apu)) argument
85 state->apu.w40xx [0x11] = dmc.dac; in save_state()
87 state->apu.w4015 = osc_enables; in save_state()
88 state->apu.w4017 = frame_mode; in save_state()
89 state->apu.frame_delay = frame_delay; in save_state()
90 state->apu.frame_step = frame; in save_state()
91 state->apu.irq_flag = irq_flag; in save_state()
112 int n = state.apu.w40xx [i]; in load_state()
120 frame_delay = state.apu.frame_delay; in load_state()
121 frame = state.apu.frame_step; in load_state()
[all …]
H A DNes_Core.cpp48 impl->apu.dmc_reader( read_dmc, this ); in init()
104 impl->apu.save_state( out->apu ); in save_state()
151 impl->apu.load_state( *in.apu ); in load_state()
157 impl->apu.reset(); in load_state()
265 if ( unsigned (addr - impl->apu.start_addr) <= impl->apu.end_addr - impl->apu.start_addr ) in write_io()
272 impl->apu.run_until( clock() + 1 ); in write_io()
298 return impl->apu.read_status( clock() ); in read_io()
348 impl->apu.reset(); in reset()
430 impl->apu.run_until( cpu_time() ); in emulate_frame_()
515 impl->apu.run_until_( cpu_time() ); in emulate_frame()
[all …]
H A DNes_Buffer.cpp33 buf->set_apu( apu ); in set_apu()
42 Nes_Apu* apu = nonlin.enable( b, &tnd ); in enable_nonlinearity() local
43 apu->osc_output( 0, &buf ); in enable_nonlinearity()
44 apu->osc_output( 1, &buf ); in enable_nonlinearity()
160 apu = NULL; in Nes_Nonlinearizer()
184 apu->osc_output( 2, buf ); in enable()
185 apu->osc_output( 3, buf ); in enable()
186 apu->osc_output( 4, buf ); in enable()
189 apu->enable_nonlinear( 1.0 ); in enable()
191 apu->volume( 1.0 ); in enable()
[all …]
/dports/www/mod_security/modsecurity-2.9.3/build/
H A Dfind_apu.m420 apu,
21 [AC_HELP_STRING([--with-apu=PATH],[Path to apu prefix or config script])],
23 …r-util /usr/local/libapu /usr/local/apu /usr/local/apr /usr/local /opt/libapr-util /opt/apr-util /…
36 …for APU_CONFIG in apu-1-mt-config apu-1-config apu-config-1 apu-mt-config-1 apu-mt-config apu-conf…
58 if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu VERSION: $APU_VERSION); fi
60 if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu CFLAGS: $APU_CFLAGS); fi
65 if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu LDADD: $APU_LDADD); fi
69 if test "$verbose_output" -eq 1; then AC_MSG_NOTICE(apu LINKLD: $APU_LINKLD); fi
83 AC_MSG_NOTICE([*** apu library not found.])
84 ifelse([$2], , AC_MSG_ERROR([apu library is required]), $2)
[all …]
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/gb/
H A DgbSound.cpp242 gb_apu_state_t apu; member
354 state.apu.regs [nr52] = 0x80; // power on in gbSoundReadGameOld()
373 gb_apu_state_t& s = state.apu; in gbSoundReadGameOld()
398 LOAD( int, state.apu.sweep_enabled ),
400 LOAD( int, state.apu.noise_divider ),
404 LOAD( int [4], state.apu.length_ctr ),
409 LOAD( int [3], state.apu.env_volume ),
410 LOAD( int [3], state.apu.env_enabled ),
422 gb_apu->save_state( &state.apu ); in gbSoundSaveGame()
435 gb_apu->save_state( &state.apu ); in gbSoundReadGame()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/pci/
H A Des1968.c450 u8 apu[4]; member
1001 apu = es->apu[channel]; in snd_es1968_playback_setup()
1092 int i, apu = es->apu[channel]; in init_capture_apu() local
1504 int apu; in snd_es1968_alloc_apu_pair() local
1506 for (apu = 0; apu < NR_APUS; apu += 2) { in snd_es1968_alloc_apu_pair()
1507 if (chip->apu[apu] == ESM_APU_FREE && in snd_es1968_alloc_apu_pair()
1508 chip->apu[apu + 1] == ESM_APU_FREE) { in snd_es1968_alloc_apu_pair()
1509 chip->apu[apu] = chip->apu[apu + 1] = type; in snd_es1968_alloc_apu_pair()
1510 return apu; in snd_es1968_alloc_apu_pair()
1521 chip->apu[apu] = chip->apu[apu + 1] = ESM_APU_FREE; in snd_es1968_free_apu_pair()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/pci/
H A Des1968.c450 u8 apu[4]; member
1001 apu = es->apu[channel]; in snd_es1968_playback_setup()
1092 int i, apu = es->apu[channel]; in init_capture_apu() local
1504 int apu; in snd_es1968_alloc_apu_pair() local
1506 for (apu = 0; apu < NR_APUS; apu += 2) { in snd_es1968_alloc_apu_pair()
1507 if (chip->apu[apu] == ESM_APU_FREE && in snd_es1968_alloc_apu_pair()
1508 chip->apu[apu + 1] == ESM_APU_FREE) { in snd_es1968_alloc_apu_pair()
1509 chip->apu[apu] = chip->apu[apu + 1] = type; in snd_es1968_alloc_apu_pair()
1510 return apu; in snd_es1968_alloc_apu_pair()
1521 chip->apu[apu] = chip->apu[apu + 1] = ESM_APU_FREE; in snd_es1968_free_apu_pair()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/pci/
H A Des1968.c450 u8 apu[4]; member
1001 apu = es->apu[channel]; in snd_es1968_playback_setup()
1092 int i, apu = es->apu[channel]; in init_capture_apu() local
1504 int apu; in snd_es1968_alloc_apu_pair() local
1506 for (apu = 0; apu < NR_APUS; apu += 2) { in snd_es1968_alloc_apu_pair()
1507 if (chip->apu[apu] == ESM_APU_FREE && in snd_es1968_alloc_apu_pair()
1508 chip->apu[apu + 1] == ESM_APU_FREE) { in snd_es1968_alloc_apu_pair()
1509 chip->apu[apu] = chip->apu[apu + 1] = type; in snd_es1968_alloc_apu_pair()
1510 return apu; in snd_es1968_alloc_apu_pair()
1521 chip->apu[apu] = chip->apu[apu + 1] = ESM_APU_FREE; in snd_es1968_free_apu_pair()
[all …]
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/target/yaz180/driver/apu/
H A Dapu_sdcc.lst1 target/yaz180/driver/apu/c/sdcc/apu_init
2 target/yaz180/driver/apu/c/sdcc/apu_reset
3 target/yaz180/driver/apu/c/sdcc/apu_check_idle
4 target/yaz180/driver/apu/c/sdcc/apu_command
5 target/yaz180/driver/apu/c/sdcc/apu_command_fastcall
6 target/yaz180/driver/apu/c/sdcc/apu_operand
7 target/yaz180/driver/apu/c/sdcc/apu_operand_callee
H A Dapu_sccz80.lst1 target/yaz180/driver/apu/c/sccz80/apu_init
2 target/yaz180/driver/apu/c/sccz80/apu_reset
3 target/yaz180/driver/apu/c/sccz80/apu_check_idle
4 target/yaz180/driver/apu/c/sccz80/apu_command
5 target/yaz180/driver/apu/c/sccz80/apu_operand
6 target/yaz180/driver/apu/c/sccz80/apu_operand_callee
/dports/emulators/anese/ANESE-0.9.1/src/nes/wiring/
H A Dcpu_mmu.cc9 Memory& apu, in CPU_MMU() argument
14 apu(apu), in CPU_MMU()
38 ADDR(0x4000, 0x4013) return this->apu.read(addr); in read()
40 ADDR(0x4015 ) return this->apu.read(addr); in read()
55 ADDR(0x4000, 0x4013) return this->apu.peek(addr); in peek()
57 ADDR(0x4015 ) return this->apu.peek(addr); in peek()
88 ADDR(0x4000, 0x4013) return this->apu.write(addr, val); in write()
90 ADDR(0x4015 ) return this->apu.write(addr, val); in write()
92 ADDR(0x4017 ) return this->apu.write(addr, val); // not JOY in write()
/dports/emulators/mednafen/mednafen/src/ngp/
H A Dsound.cpp28 static T6W28_Apu apu; variable
44 apu.reset(); in MDFNNGPCSOUND_SetEnable()
50 apu.write_data_left(ngpc_soundTS >> 1, data); in Write_SoundChipLeft()
56 apu.write_data_right(ngpc_soundTS >> 1, data); in Write_SoundChipRight()
83 apu.end_frame(ngpc_soundTS >> 1); in MDFNNGPCSOUND_Flush()
97 apu.output(st_buf.center(), st_buf.left(), st_buf.right()); in RedoVolume()
98 apu.volume(0.30); in RedoVolume()
121 apu.save_state(&sn_state); in MDFNNGPCSOUND_StateAction()
151 apu.load_state(&sn_state); in MDFNNGPCSOUND_StateAction()
/dports/emulators/snes9x-gtk/snes9x-1.54.1/libretro/
H A DMakefile.common1 INCFLAGS = -I$(CORE_DIR)/libretro -I$(CORE_DIR) -I$(CORE_DIR)/apu/ -I$(CORE_DIR)/apu/bapu
4 SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \
5 $(CORE_DIR)/apu/bapu/dsp/sdsp.cpp \
6 $(CORE_DIR)/apu/bapu/dsp/SPC_DSP.cpp \
7 $(CORE_DIR)/apu/bapu/smp/smp.cpp \
8 $(CORE_DIR)/apu/bapu/smp/smp_state.cpp \
/dports/games/libretro-beetle_ngp/beetle-ngp-libretro-74cc0d8/mednafen/ngp/
H A Dsound.cpp12 static T6W28_Apu apu; variable
27 apu.reset(); in MDFNNGPCSOUND_SetEnable()
33 apu.write_data_left(ngpc_soundTS >> 1, data); in Write_SoundChipLeftInternal()
39 apu.write_data_right(ngpc_soundTS >> 1, data); in Write_SoundChipRightInternal()
74 apu.end_frame(ngpc_soundTS >> 1); in MDFNNGPCSOUND_Flush()
88 apu.output(buf.center(), buf.left(), buf.right()); in RedoVolume()
89 apu.volume(0.30); in RedoVolume()
113 sn_state = apu.save_state(); in MDFNNGPCSOUND_StateAction()
147 apu.load_state(sn_state); in MDFNNGPCSOUND_StateAction()
/dports/emulators/mednafen/mednafen/src/sms/
H A Dsound.cpp29 static Sms_Apu apu; variable
42 apu.write_ggstereo(sms.timestamp, data); in psg_stereo_w()
48 apu.write_data(sms.timestamp, data); in psg_write()
113 apu.reset(); in SMS_SoundReset()
126 apu.end_frame(sms.timestamp); in SMS_SoundFlush()
142 apu.output(zebuf.center(), zebuf.left(), zebuf.right()); in RedoVolume()
143 apu.volume(0.50); in RedoVolume()
184 apu.save_state(&sn_state); in SMS_SoundStateAction()
204 apu.load_state(&sn_state); in SMS_SoundStateAction()
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/gba/
H A DSound.cpp601 gb_apu_state_t apu; member
689 LOAD( u8 [0x20], state.apu.regs [0x20] ),
723 LOAD( int, state.apu.sweep_enabled ),
725 LOAD( int, state.apu.noise_divider ),
729 LOAD( int [4], state.apu.length_ctr ),
734 LOAD( int [3], state.apu.env_volume ),
735 LOAD( int [3], state.apu.env_enabled ),
754 gb_apu->save_state( &state.apu ); in soundSaveGame()
804 memcpy( &state.apu.regs [0x20], &ioMem [0x90], 0x10 ); in soundReadGameOld()
829 gb_apu->save_state( &state.apu ); in soundReadGame()
[all …]
/dports/audio/lmms/lmms-1.2.2/plugins/papu/
H A DBasic_Gb_Apu.cpp30 apu.output( buf.center(), buf.left(), buf.right() ); in set_sample_rate()
37 apu.write_register( clock(), addr, data ); in write_register()
42 return apu.read_register( clock(), addr ); in read_register()
48 apu.end_frame( frame_length ); in end_frame()
66 apu.reset(); in reset()
71 apu.treble_eq( eq ); in treble_eq()

12345678910>>...54