summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trvquest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trvquest.c')
-rw-r--r--src/mame/drivers/trvquest.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/trvquest.c b/src/mame/drivers/trvquest.c
index dfd171c9eb9..4b2e02dcce9 100644
--- a/src/mame/drivers/trvquest.c
+++ b/src/mame/drivers/trvquest.c
@@ -63,10 +63,8 @@ static ADDRESS_MAP_START( cpu_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x3800, 0x380f) AM_DEVREADWRITE(VIA6522, "via6522_1", via_r, via_w)
AM_RANGE(0x3810, 0x381f) AM_DEVREADWRITE(VIA6522, "via6522_2", via_r, via_w)
AM_RANGE(0x3820, 0x382f) AM_DEVREADWRITE(VIA6522, "via6522_0", via_r, via_w)
- AM_RANGE(0x3830, 0x3830) AM_WRITE(ay8910_control_port_0_w)
- AM_RANGE(0x3831, 0x3831) AM_WRITE(ay8910_write_port_0_w)
- AM_RANGE(0x3840, 0x3840) AM_WRITE(ay8910_control_port_1_w)
- AM_RANGE(0x3841, 0x3841) AM_WRITE(ay8910_write_port_1_w)
+ AM_RANGE(0x3830, 0x3831) AM_DEVWRITE(SOUND, "ay1", ay8910_address_data_w)
+ AM_RANGE(0x3840, 0x3841) AM_DEVWRITE(SOUND, "ay2", ay8910_address_data_w)
AM_RANGE(0x3850, 0x3850) AM_READNOP //watchdog_reset_r ?
AM_RANGE(0x8000, 0x9fff) AM_READ(trvquest_question_r)
AM_RANGE(0xa000, 0xa000) AM_WRITE(SMH_RAM) AM_BASE_MEMBER(gameplan_state, trvquest_question)