From cc537e30db7e3dc92c63e9eb74b43d0a9656d904 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Wed, 31 Oct 2018 17:04:16 +0100 Subject: 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. --- scripts/src/sound.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts/src') 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 -- cgit v1.2.3-70-g09d2