diff options
author | Andrew Gardner <andrew-gardner@users.noreply.github.com> | 2013-03-01 15:56:10 +0000 |
---|---|---|
committer | Andrew Gardner <andrew-gardner@users.noreply.github.com> | 2013-03-01 15:56:10 +0000 |
commit | 6e8646ac297a7b5d56f9dda30fcb1d87c9f8aefc (patch) | |
tree | 51273d6e7676d21510285ca0a5c1827955737281 /src/mame/drivers/astrocde.c | |
parent | 97e41cb573fa835ab5cb109a27c3148742280766 (diff) |
Modernized gomoku, astrocade, saa1099, st0016, and c140 sound devices. [Andrew Gardner]
Diffstat (limited to 'src/mame/drivers/astrocde.c')
-rw-r--r-- | src/mame/drivers/astrocde.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/astrocde.c b/src/mame/drivers/astrocde.c index 09f16629770..06d9f546979 100644 --- a/src/mame/drivers/astrocde.c +++ b/src/mame/drivers/astrocde.c @@ -676,7 +676,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( port_map_stereo_pattern, AS_IO, 8, astrocde_state ) AM_RANGE(0x0000, 0x0019) AM_MIRROR(0xff00) AM_MASK(0xffff) AM_READWRITE(astrocade_data_chip_register_r, astrocade_data_chip_register_w) - AM_RANGE(0x0050, 0x0058) AM_MIRROR(0xff00) AM_MASK(0xffff) AM_DEVWRITE_LEGACY("astrocade2", astrocade_sound_w) + AM_RANGE(0x0050, 0x0058) AM_MIRROR(0xff00) AM_MASK(0xffff) AM_DEVWRITE("astrocade2", astrocade_device, astrocade_sound_w) AM_RANGE(0x0078, 0x007e) AM_MIRROR(0xff00) AM_WRITE(astrocade_pattern_board_w) AM_RANGE(0xa55b, 0xa55b) AM_WRITE(protected_ram_enable_w) ADDRESS_MAP_END @@ -684,7 +684,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( port_map_16col_pattern, AS_IO, 8, astrocde_state ) AM_RANGE(0x0000, 0x0019) AM_MIRROR(0xff00) AM_MASK(0xffff) AM_READWRITE(astrocade_data_chip_register_r, astrocade_data_chip_register_w) - AM_RANGE(0x0050, 0x0058) AM_MIRROR(0xff00) AM_MASK(0xffff) AM_DEVWRITE_LEGACY("astrocade2", astrocade_sound_w) + AM_RANGE(0x0050, 0x0058) AM_MIRROR(0xff00) AM_MASK(0xffff) AM_DEVWRITE("astrocade2", astrocade_device, astrocade_sound_w) AM_RANGE(0x0078, 0x007e) AM_MIRROR(0xff00) AM_WRITE(astrocade_pattern_board_w) AM_RANGE(0x00bf, 0x00bf) AM_MIRROR(0xff00) AM_WRITE(profpac_page_select_w) AM_RANGE(0x00c3, 0x00c3) AM_MIRROR(0xff00) AM_READ(profpac_intercept_r) @@ -1325,7 +1325,7 @@ static MACHINE_CONFIG_FRAGMENT( astrocade_mono_sound ) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") - MCFG_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4) + MCFG_ASTROCADE_ADD("astrocade1", ASTROCADE_CLOCK/4) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) MACHINE_CONFIG_END @@ -1335,10 +1335,10 @@ static MACHINE_CONFIG_FRAGMENT( astrocade_stereo_sound ) /* sound hardware */ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") - MCFG_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4) + MCFG_ASTROCADE_ADD("astrocade1", ASTROCADE_CLOCK/4) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) - MCFG_SOUND_ADD("astrocade2", ASTROCADE, ASTROCADE_CLOCK/4) + MCFG_ASTROCADE_ADD("astrocade2", ASTROCADE_CLOCK/4) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) MACHINE_CONFIG_END @@ -1441,10 +1441,10 @@ static MACHINE_CONFIG_DERIVED( gorf, astrocade_base ) MCFG_SPEAKER_ADD("upper", 0.0, 0.0, 1.0) MCFG_SPEAKER_ADD("lower", 0.0, -0.5, 1.0) - MCFG_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4) + MCFG_ASTROCADE_ADD("astrocade1", ASTROCADE_CLOCK/4) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "upper", 1.0) - MCFG_SOUND_ADD("astrocade2", ASTROCADE, ASTROCADE_CLOCK/4) + MCFG_ASTROCADE_ADD("astrocade2", ASTROCADE_CLOCK/4) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lower", 1.0) #if USE_FAKE_VOTRAX |