summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-10-31 17:04:16 +0100
committer Olivier Galibert <galibert@pobox.com>2018-11-05 15:35:07 +0100
commitcc537e30db7e3dc92c63e9eb74b43d0a9656d904 (patch)
tree8a3682112f175fad282d43662f3da506449f57cb /scripts/src
parentec8e3a038f515621705b8333e04fa5371320a01e (diff)
mu100: Make some noise [O. Galibert]
Two sample roms are missing, sad. Volume is not taken into account yet (because the registers are not yet understood), pan is though. Don't even think about reverb or effects :-) Current code plays a scale in a loop. Comment the timer alloc in machine_reset to kill that. Demo song (missing lots of sounds, because roms): U then > until demo then ENTER ENTER.
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 db5930d3801..f2d6c9b979d 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1497,3 +1497,15 @@ if (SOUNDS["IOPSPU"]~=null) then
MAME_DIR .. "src/devices/sound/iopspu.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/sound/swp30.h,SOUNDS["SWP30"] = true
+---------------------------------------------------
+
+if (SOUNDS["SWP30"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/swp30.cpp",
+ MAME_DIR .. "src/devices/sound/swp30.h",
+ }
+end