summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kangaroo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/kangaroo.cpp')
-rw-r--r--src/mame/drivers/kangaroo.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mame/drivers/kangaroo.cpp b/src/mame/drivers/kangaroo.cpp
index ef755d6b5ee..a6651d1b415 100644
--- a/src/mame/drivers/kangaroo.cpp
+++ b/src/mame/drivers/kangaroo.cpp
@@ -166,7 +166,7 @@
#include "speaker.h"
-#define MASTER_CLOCK XTAL(10'000'000)
+#define MASTER_CLOCK (10_MHz_XTAL)
@@ -282,17 +282,6 @@ void kangaroo_state::sound_map(address_map &map)
}
-/* yes, this is identical */
-void kangaroo_state::sound_portmap(address_map &map)
-{
- map(0x0000, 0x0fff).rom();
- map(0x4000, 0x43ff).mirror(0x0c00).ram();
- map(0x6000, 0x6000).mirror(0x0fff).r("soundlatch", FUNC(generic_latch_8_device::read));
- map(0x7000, 0x7000).mirror(0x0fff).w("aysnd", FUNC(ay8910_device::data_w));
- map(0x8000, 0x8000).mirror(0x0fff).w("aysnd", FUNC(ay8910_device::address_w));
-}
-
-
/*************************************
*
@@ -438,7 +427,7 @@ MACHINE_CONFIG_START(kangaroo_state::nomcu)
MCFG_DEVICE_ADD("audiocpu", Z80, MASTER_CLOCK/8)
MCFG_DEVICE_PROGRAM_MAP(sound_map)
- MCFG_DEVICE_IO_MAP(sound_portmap)
+ MCFG_DEVICE_IO_MAP(sound_map) // yes, this is identical
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", kangaroo_state, irq0_line_hold)