summaryrefslogtreecommitdiffstats
path: root/scripts/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-05-31 11:20:28 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-05-31 11:20:28 -0700
commit05cacea947d7db129c25f33c85aca7ec74be6799 (patch)
tree1211caac4a3428254f73596af8c61b0b6fe9f9b1 /scripts/src
parentb1e775504bb02c1168d64853ca058cbcce6b5978 (diff)
ympsr60: Fleshed out the PSR60/PSR70 drivers
* Split YM2154 into a separate device * Created fake YM2154 ROMs as placeholders * Created new BBD sound device in src/devices/sound/bbd.cpp * Created new mixer device in src/devices/sound/mixer.cpp * Connected YM2154 and BBD devices * Approximated BBD driver behavior * Exposed analog sliders as adjusters (accessible via ` menu) * Added sliders to layout and animated them
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/sound.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 6de550d5dde..f9710d96547 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -10,12 +10,16 @@
----------------------------------------------------------------------------
files {
+ MAME_DIR .. "src/devices/sound/bbd.cpp",
+ MAME_DIR .. "src/devices/sound/bbd.h",
MAME_DIR .. "src/devices/sound/flt_biquad.cpp",
MAME_DIR .. "src/devices/sound/flt_biquad.h",
MAME_DIR .. "src/devices/sound/flt_vol.cpp",
MAME_DIR .. "src/devices/sound/flt_vol.h",
MAME_DIR .. "src/devices/sound/flt_rc.cpp",
MAME_DIR .. "src/devices/sound/flt_rc.h",
+ MAME_DIR .. "src/devices/sound/mixer.cpp",
+ MAME_DIR .. "src/devices/sound/mixer.h",
MAME_DIR .. "src/devices/sound/samples.cpp",
MAME_DIR .. "src/devices/sound/samples.h",
}
@@ -1169,6 +1173,7 @@ end
---------------------------------------------------
-- Yamaha FM synthesizers
+--@src/devices/sound/ym2154.h,SOUNDS["YM2154"] = true
--@src/devices/sound/ymopm.h,SOUNDS["YM2151"] = true
--@src/devices/sound/ymopz.h,SOUNDS["YM2414"] = true
--@src/devices/sound/ymopq.h,SOUNDS["YM3806"] = true
@@ -1185,6 +1190,13 @@ end
--@src/devices/sound/ymopl.h,SOUNDS["Y8950"] = true
---------------------------------------------------
+if (SOUNDS["YM2154"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ym2154.cpp",
+ MAME_DIR .. "src/devices/sound/ym2154.h",
+ }
+end
+
if (SOUNDS["YM2151"]~=null or SOUNDS["YM2164"]~=null) then
files {
MAME_DIR .. "src/devices/sound/ymopm.cpp",