Matt Borgerson
4cf920d594
apu: Disable buffer sampling for now
2019-07-12 18:42:03 -07:00
Matt Borgerson
dd20a673ed
apu: Fix unused var warnings used only in debug prints
2019-07-12 18:42:03 -07:00
Matt Borgerson
ededef3b38
apu: Use MCPX_DPRINTF instead of printf
2019-07-12 18:42:03 -07:00
Matt Borgerson
3ae172c209
apu: Fix indentation for step_envelope
2019-07-12 18:42:03 -07:00
Matt Borgerson
e90304a223
apu: Buffer playback cleanup and build fixes
2019-07-12 18:42:03 -07:00
Matt Borgerson
4073c3200e
apu: Import JayFoxRox's basic buffer sampling code
...
This patch adds the code necessary to perform basic buffer sampling for
HW voices. Includes new register definitions, support for a few new
methods, envelope stepping, ADPCM decoding, and the individual voice
buffer sampling to be added to the VP output mixbufs. This code does not
add system audio playback nor streaming support.
Some portions are disabled as they will need to be fixed up for
compilation in this new tree.
This code originates from Jannik Vogel's 2017 audio branch. Copied into
the current, recently LGPL-licensed version of this file with
permission.
https://github.com/JayFoxRox/xqemu-espes/commits/audio
2019-07-12 18:42:03 -07:00
Jannik Vogel
c5962e0920
apu: Add mixbin beep tone for debugging
2019-02-18 11:49:31 -07:00
Jannik Vogel
f2901a24d4
apu: Add VP framework
2019-02-18 11:49:31 -07:00
Jannik Vogel
46dccb0182
apu: Use GP_DSP_MIXBUF_BASE to refer to MIXBUF base
2019-02-18 11:49:31 -07:00
Jannik Vogel
e7bd7bf228
dsp: Support FIFO output in DMA
2019-01-28 12:01:58 -07:00
Jannik Vogel
2e660193a0
apu: Add support for DSP FIFOs
2019-01-28 12:01:58 -07:00
Jannik Vogel
423b6f57bc
apu: Fix off-by-one in scatter gather page entry check
2019-01-28 12:01:58 -07:00
Jannik Vogel
e3a93c48fb
apu: Access system memory directly
2018-12-27 15:00:35 -07:00
Jannik Vogel
9cac29fe07
apu: Activate voice on VOICE_ON, regardless of list position
2018-12-26 15:44:15 -07:00
Jannik Vogel
7c43feded0
apu: Fix offset of scratch space PRD control word
2018-12-26 15:44:15 -07:00
Jannik Vogel
8579e23ecb
apu: Use NV1BA0_PIO_VOICE_OFF_HANDLE mask
2018-12-26 15:44:15 -07:00
espes
e12aa122cf
relicense xbox components as LGPL
...
(with permission)
2018-10-10 13:38:16 +10:00
Stefan Schmidt
1c6bb37bec
Replace ffs() calls with ctz32()
2018-10-08 11:34:23 -07:00
Jannik Vogel
92af9ca78e
dsp: Implement GP memory register access
2018-07-30 12:27:15 -07:00
Jannik Vogel
2543aaf615
dsp: Fix EP memory register reads; implement writes
2018-07-30 12:27:15 -07:00
Matt Borgerson
20414991be
Fix Xbox ACI/APU code
2018-06-26 17:07:41 -07:00
Matt Borgerson
3f557e6d45
Add hw/xbox sources from XQEMU 1.x @ 4d9107e
2018-06-26 15:08:01 -07:00