mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
Merge pull request #469 from system11b/S11sandnost
Sand Scorpion and Nostradamus are both mono boards
This commit is contained in:
commit
60e36bb1b5
@ -477,6 +477,15 @@ static MACHINE_CONFIG_DERIVED( nost, mcatadv )
|
||||
MCFG_CPU_MODIFY("soundcpu")
|
||||
MCFG_CPU_PROGRAM_MAP(nost_sound_map)
|
||||
MCFG_CPU_IO_MAP(nost_sound_io_map)
|
||||
|
||||
MCFG_DEVICE_REMOVE("lspeaker")
|
||||
MCFG_DEVICE_REMOVE("rspeaker")
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
MCFG_SOUND_REPLACE("ymsnd", YM2610, XTAL_16MHz/2) /* verified on pcb */
|
||||
MCFG_YM2610_IRQ_HANDLER(WRITELINE(mcatadv_state, sound_irq))
|
||||
MCFG_SOUND_ROUTE(0, "mono", 0.2)
|
||||
MCFG_SOUND_ROUTE(1, "mono", 0.5)
|
||||
MCFG_SOUND_ROUTE(2, "mono", 0.5)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
|
@ -502,19 +502,17 @@ static MACHINE_CONFIG_START( sandscrp, sandscrp_state )
|
||||
MCFG_KANEKO_PANDORA_PALETTE("palette")
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
|
||||
MCFG_OKIM6295_ADD("oki", 12000000/6, OKIM6295_PIN7_HIGH)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.25)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.25)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
|
||||
|
||||
/* YM3014B + YM2203C */
|
||||
MCFG_SOUND_ADD("ymsnd", YM2203, 4000000)
|
||||
MCFG_YM2203_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
|
||||
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW1"))
|
||||
MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW2"))
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.25)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.25)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user