summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/sound.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/sound.lua')
-rw-r--r--scripts/src/sound.lua141
1 files changed, 38 insertions, 103 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 1d643268548..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,124 +1173,64 @@ end
---------------------------------------------------
-- Yamaha FM synthesizers
---@src/devices/sound/ym2151.h,SOUNDS["YM2151"] = true
---@src/devices/sound/ym2203.h,SOUNDS["YM2203"] = true
---@src/devices/sound/ym2413.h,SOUNDS["YM2413"] = true
---@src/devices/sound/ym2608.h,SOUNDS["YM2608"] = true
---@src/devices/sound/ym2610.h,SOUNDS["YM2610"] = true
---@src/devices/sound/ym2612.h,SOUNDS["YM2612"] = true
---@src/devices/sound/ym3526.h,SOUNDS["YM3526"] = true
---@src/devices/sound/ym3812.h,SOUNDS["YM3812"] = true
---@src/devices/sound/ymf262.h,SOUNDS["YMF262"] = true
+--@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
+--@src/devices/sound/ymopn.h,SOUNDS["YM2203"] = true
+--@src/devices/sound/ymopl.h,SOUNDS["YM2413"] = true
+--@src/devices/sound/ymopn.h,SOUNDS["YM2608"] = true
+--@src/devices/sound/ymopn.h,SOUNDS["YM2610"] = true
+--@src/devices/sound/ymopn.h,SOUNDS["YM2612"] = true
+--@src/devices/sound/ymopl.h,SOUNDS["YM3526"] = true
+--@src/devices/sound/ymopl.h,SOUNDS["YM3812"] = true
+--@src/devices/sound/ymopl.h,SOUNDS["YMF262"] = true
+--@src/devices/sound/ymopl.h,SOUNDS["YMF278B"] = true
--@src/devices/sound/ymf271.h,SOUNDS["YMF271"] = true
---@src/devices/sound/ymf278b.h,SOUNDS["YMF278B"] = true
---@src/devices/sound/y8950.h,SOUNDS["Y8950"] = true
+--@src/devices/sound/ymopl.h,SOUNDS["Y8950"] = true
---------------------------------------------------
-if (SOUNDS["YM2151"]~=null) then
+if (SOUNDS["YM2154"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/ym2151.cpp",
- MAME_DIR .. "src/devices/sound/ym2151.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ym2154.cpp",
+ MAME_DIR .. "src/devices/sound/ym2154.h",
}
end
-if (SOUNDS["YM2413"]~=null or SOUNDS["YM2423"]~=null or SOUNDS["YMF281"]~=null or SOUNDS["DS1001"]~=null) then
+if (SOUNDS["YM2151"]~=null or SOUNDS["YM2164"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/ym2413.cpp",
- MAME_DIR .. "src/devices/sound/ym2413.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ymopm.cpp",
+ MAME_DIR .. "src/devices/sound/ymopm.h",
}
end
-if (SOUNDS["YM2203"]~=null or SOUNDS["YM2608"]~=null or SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null or SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
---if (SOUNDS["YM2203"]~=null) then
+if (SOUNDS["YM2414"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/ay8910.cpp",
- MAME_DIR .. "src/devices/sound/ay8910.h",
- MAME_DIR .. "src/devices/sound/ym2203.cpp",
- MAME_DIR .. "src/devices/sound/ym2203.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ymopz.cpp",
+ MAME_DIR .. "src/devices/sound/ymopz.h",
}
---end
-
+end
---if (SOUNDS["YM2608"]~=null) then
+if (SOUNDS["YM3806"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/ay8910.cpp",
- MAME_DIR .. "src/devices/sound/ay8910.h",
- MAME_DIR .. "src/devices/sound/ym2608.cpp",
- MAME_DIR .. "src/devices/sound/ym2608.h",
- MAME_DIR .. "src/devices/sound/ymadpcm.cpp",
- MAME_DIR .. "src/devices/sound/ymadpcm.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ymopq.cpp",
+ MAME_DIR .. "src/devices/sound/ymopq.h",
}
---end
+end
---if (SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null) then
+if (SOUNDS["YM2203"]~=null or SOUNDS["YM2608"]~=null or SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null or SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
files {
MAME_DIR .. "src/devices/sound/ay8910.cpp",
MAME_DIR .. "src/devices/sound/ay8910.h",
- MAME_DIR .. "src/devices/sound/ym2610.cpp",
- MAME_DIR .. "src/devices/sound/ym2610.h",
- MAME_DIR .. "src/devices/sound/ymadpcm.cpp",
- MAME_DIR .. "src/devices/sound/ymadpcm.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
- }
---end
-
---if (SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
- files {
- MAME_DIR .. "src/devices/sound/ym2612.cpp",
- MAME_DIR .. "src/devices/sound/ym2612.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
- }
---end
-end
-
-if (SOUNDS["YM3812"]~=null or SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null) then
---if (SOUNDS["YM3812"]~=null) then
- files {
- MAME_DIR .. "src/devices/sound/ym3812.cpp",
- MAME_DIR .. "src/devices/sound/ym3812.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ymopn.cpp",
+ MAME_DIR .. "src/devices/sound/ymopn.h",
}
---end
-
---if (SOUNDS["YM3526"]~=null) then
- files {
- MAME_DIR .. "src/devices/sound/ym3526.cpp",
- MAME_DIR .. "src/devices/sound/ym3526.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
- }
---end
-
---if (SOUNDS["Y8950"]~=null) then
- files {
- MAME_DIR .. "src/devices/sound/y8950.cpp",
- MAME_DIR .. "src/devices/sound/y8950.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
- MAME_DIR .. "src/devices/sound/ymadpcm.cpp",
- MAME_DIR .. "src/devices/sound/ymadpcm.h",
- }
---end
end
-if (SOUNDS["YMF262"]~=null) then
+if (SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null or SOUNDS["YM3812"]~=null or SOUNDS["YMF262"]~=null or SOUNDS["YMF278B"]~=null or SOUNDS["YM2413"]~=null or SOUNDS["YM2423"]~=null or SOUNDS["YMF281"]~=null or SOUNDS["DS1001"]~=null) then
files {
- MAME_DIR .. "src/devices/sound/ymf262.cpp",
- MAME_DIR .. "src/devices/sound/ymf262.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
+ MAME_DIR .. "src/devices/sound/ymopl.cpp",
+ MAME_DIR .. "src/devices/sound/ymopl.h",
}
end
@@ -1297,15 +1241,6 @@ if (SOUNDS["YMF271"]~=null) then
}
end
-if (SOUNDS["YMF278B"]~=null) then
- files {
- MAME_DIR .. "src/devices/sound/ymf278b.cpp",
- MAME_DIR .. "src/devices/sound/ymf278b.h",
- MAME_DIR .. "src/devices/sound/ymfm.cpp",
- MAME_DIR .. "src/devices/sound/ymfm.h",
- }
-end
-
---------------------------------------------------