diff options
Diffstat (limited to 'src/mame/audio/t5182.cpp')
-rw-r--r-- | src/mame/audio/t5182.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/t5182.cpp b/src/mame/audio/t5182.cpp index fc209d47f94..d4fb0b597d0 100644 --- a/src/mame/audio/t5182.cpp +++ b/src/mame/audio/t5182.cpp @@ -335,7 +335,7 @@ ioport_constructor t5182_device::device_input_ports() const // 90XX reset // A0XX // rest unused -ADDRESS_MAP_START( t5182_map, AS_PROGRAM, 8, t5182_device ) +ADDRESS_MAP_START(t5182_device::t5182_map) AM_RANGE(0x0000, 0x1fff) AM_ROM AM_REGION("cpu", 0) // internal ROM AM_RANGE(0x2000, 0x27ff) AM_RAM AM_MIRROR(0x1800) // internal RAM AM_RANGE(0x4000, 0x40ff) AM_RAM AM_MIRROR(0x3F00) AM_SHARE("sharedram") // 2016 with four 74ls245s, one each for main and t5182 address and data. pins 23, 22, 20, 19, 18 are all tied low so only 256 bytes are usable @@ -353,7 +353,7 @@ ADDRESS_MAP_END // 30 R coin inputs (bits 0 and 1, active high) // 40 W external ROM banking? (the only 0 bit enables a ROM) // 50 W test mode status flags (bit 0 = ROM test fail, bit 1 = RAM test fail, bit 2 = YM2151 IRQ not received) -ADDRESS_MAP_START( t5182_io, AS_IO, 8, t5182_device ) +ADDRESS_MAP_START(t5182_device::t5182_io) ADDRESS_MAP_GLOBAL_MASK(0xff) AM_RANGE(0x00, 0x01) AM_DEVREADWRITE(":ymsnd", ym2151_device, read, write) AM_RANGE(0x10, 0x10) AM_WRITE(sharedram_semaphore_snd_acquire_w) |