summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/popper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/popper.c')
-rw-r--r--src/mame/drivers/popper.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/popper.c b/src/mame/drivers/popper.c
index 12d53109c3e..93f11037042 100644
--- a/src/mame/drivers/popper.c
+++ b/src/mame/drivers/popper.c
@@ -199,11 +199,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( popper_sound_writemem, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x0fff) AM_WRITE(SMH_ROM)
- AM_RANGE(0x8000, 0x8000) AM_WRITE(ay8910_control_port_0_w)
- AM_RANGE(0x8001, 0x8001) AM_WRITE(ay8910_write_port_0_w)
+ AM_RANGE(0x8000, 0x8001) AM_DEVWRITE(SOUND, "ay1", ay8910_address_data_w)
AM_RANGE(0x8002, 0x8002) AM_WRITE(SMH_NOP) //?? same writes as 0x8000 (mostly)
- AM_RANGE(0xa000, 0xa000) AM_WRITE(ay8910_control_port_1_w)
- AM_RANGE(0xa001, 0xa001) AM_WRITE(ay8910_write_port_1_w)
+ AM_RANGE(0xa000, 0xa001) AM_DEVWRITE(SOUND, "ay2", ay8910_address_data_w)
AM_RANGE(0xa002, 0xa002) AM_WRITE(SMH_NOP) //?? same writes as 0xa000
AM_RANGE(0xd800, 0xdfff) AM_WRITE(popper_sharedram_w)
ADDRESS_MAP_END