summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/decocass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/decocass.c')
-rw-r--r--src/mame/drivers/decocass.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/decocass.c b/src/mame/drivers/decocass.c
index 7d70fc3b12b..bdd45713890 100644
--- a/src/mame/drivers/decocass.c
+++ b/src/mame/drivers/decocass.c
@@ -138,10 +138,10 @@ static ADDRESS_MAP_START( decocass_sound_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x0fff) AM_RAM
AM_RANGE(0x1000, 0x17ff) AM_READWRITE(decocass_sound_nmi_enable_r, decocass_sound_nmi_enable_w)
AM_RANGE(0x1800, 0x1fff) AM_READWRITE(decocass_sound_data_ack_reset_r, decocass_sound_data_ack_reset_w)
- AM_RANGE(0x2000, 0x2fff) AM_WRITE(ay8910_write_port_0_w)
- AM_RANGE(0x4000, 0x4fff) AM_WRITE(ay8910_control_port_0_w)
- AM_RANGE(0x6000, 0x6fff) AM_WRITE(ay8910_write_port_1_w)
- AM_RANGE(0x8000, 0x8fff) AM_WRITE(ay8910_control_port_1_w)
+ AM_RANGE(0x2000, 0x2fff) AM_DEVWRITE(SOUND, "ay1", ay8910_data_w)
+ AM_RANGE(0x4000, 0x4fff) AM_DEVWRITE(SOUND, "ay1", ay8910_address_w)
+ AM_RANGE(0x6000, 0x6fff) AM_DEVWRITE(SOUND, "ay2", ay8910_data_w)
+ AM_RANGE(0x8000, 0x8fff) AM_DEVWRITE(SOUND, "ay2", ay8910_address_w)
AM_RANGE(0xa000, 0xafff) AM_READ(decocass_sound_command_r)
AM_RANGE(0xc000, 0xcfff) AM_WRITE(decocass_sound_data_w)
AM_RANGE(0xf800, 0xffff) AM_ROM