summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-02-17 08:35:57 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-02-17 08:35:57 -0500
commitaf327dc4102874b3c3b8222a0bab9ec39ce61df8 (patch)
treec5a4b1196a835b5d5b9b0227fd72121e081d2f12
parent044d08a6c3138dc4e350d5f12ed7b47969afed8b (diff)
capbowl, bowlrama: Identify DAC type
-rw-r--r--src/devices/sound/dac.h1
-rw-r--r--src/mame/drivers/capbowl.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/dac.h b/src/devices/sound/dac.h
index 07156bdf777..4722fba682f 100644
--- a/src/devices/sound/dac.h
+++ b/src/devices/sound/dac.h
@@ -285,6 +285,7 @@ DAC_GENERATOR(AD7541, ad7541_device, dac_word_interface, dac_code_binary<12>, da
DAC_GENERATOR(AM6012, am6012_device, dac_word_interface, dac_code_binary<12>, dac_gain_r2r, "AM6012", "am6012")
DAC_GENERATOR(DAC08, dac08_device, dac_byte_interface, dac_code_binary<8>, dac_gain_r2r, "DAC08", "dac08")
DAC_GENERATOR(DAC0800, dac0800_device, dac_byte_interface, dac_code_binary<8>, dac_gain_r2r, "DAC0800", "dac0800")
+DAC_GENERATOR(DAC0832, dac0832_device, dac_byte_interface, dac_code_binary<8>, dac_gain_r2r, "DAC0832", "dac0832") // should be double-buffered?
DAC_GENERATOR(DAC1200, dac1200_device, dac_word_interface, dac_code_binary<12>, dac_gain_r2r, "DAC1200", "dac1200")
DAC_GENERATOR(MC1408, mc1408_device, dac_byte_interface, dac_code_binary<8>, dac_gain_r2r, "MC1408", "mc1408")
DAC_GENERATOR(MC3408, mc3408_device, dac_byte_interface, dac_code_binary<8>, dac_gain_r2r, "MC3408", "mc3408")
diff --git a/src/mame/drivers/capbowl.cpp b/src/mame/drivers/capbowl.cpp
index a709375bcea..384b276f3ed 100644
--- a/src/mame/drivers/capbowl.cpp
+++ b/src/mame/drivers/capbowl.cpp
@@ -355,7 +355,7 @@ static MACHINE_CONFIG_START( capbowl, capbowl_state )
MCFG_SOUND_ROUTE(2, "speaker", 0.07)
MCFG_SOUND_ROUTE(3, "speaker", 0.75)
- MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
+ MCFG_SOUND_ADD("dac", DAC0832, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
MACHINE_CONFIG_END