Open frno7 opened 4 years ago
Not sure about what is missing here, but want to mention FreeMiNT has also a GPL 2.0 C driver for playing sounds using the STE DMA sound hardware, cf https://github.com/freemint/freemint/blob/5e8dd40e53b6535188f9bcf956d4ff770ccd8a0c/sys/xdd/audio/README.
I used this driver to play .au files via cat file.au > /dev/audio
and it haven't failed me so far.
@EmmanuelKasper, I gather the Freemint driver you’re referring to is meant to be used with Atari hardware? This issue is about emulating that kind of hardware. :-) The emulation is almost complete, save for the hardware completion interrupt.
you are right of course !
MFP GPIP I7 DMA interrupts are asserted in commit 8de3566da18a1623ef76ba8203b8ea2749962ceb. Double buffer DMA sound registers in commit d5d2cee0e6876a7f0d780df35e7f0b26ad702afa.
Add an example file (dir) that's been flagged to me. SNDH archive:gwEm/DMA/Stardust_Memories.sndh
Add an example file (dir) that's been flagged to me. SNDH archive:
gwEm/DMA/Stardust_Memories.sndh
Confirmed. DMA drums are missing, apparently.
Some SNDH files made for the Atari STE make use of its sound DMA hardware. Let PSG play emulate this piece of hardware. Plan:
lib/atari/sound.c
;