Go to file
Phil Bennett 7304faaece Added a PCM sample end/loop callback to the RF5C68 core [Barry Rodewald]
---------- Forwarded message ----------
From: Barry Rodewald <bsr@xnet.co.nz>
Date: Sat, Jan 2, 2010 at 10:13 AM
Subject: RF5C68 addition
To: submit@mamedev.org


Hi,

Here is a small update for the RF5C68 PCM core.  For the FM Towns MESS
driver, there needs to be some way to tell when a PCM sample has ended
or looped, as the system can generate an interrupt at this point,
usually to end the sample playback on the specified channel.  From the
RF5C68(A) datasheet, there appears to be no obvious way for an IRQ
signal to be sent, so I figure the PCM IRQ setup must be external to
the PCM chip itself.

Thus, I've added a simple callback, which should be called when the
end of a sample is reached, and with a parameter for the device
itself, and the channel on which the sample has ended.

Example of the result, with callback implemented:
http://mahlemiut.marpirc.net/mess_raiden.mp3  (sound effects are done
by the RF5C68, music is CD-DA).

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2010-01-11 12:24:53 +00:00
docs Changed behavior of -watchdog option to act like a real watchdog. It now 2009-12-24 02:52:17 +00:00
src Added a PCM sample end/loop callback to the RF5C68 core [Barry Rodewald] 2010-01-11 12:24:53 +00:00
.gitattributes First round of an attempted cleanup of header files in the system. 2010-01-10 00:29:26 +00:00
makefile Makefile changes: 2010-01-05 22:01:10 +00:00