Previous 15994 Revisions Next

r11096 Wednesday 6th April, 2011 at 18:57:30 UTC by Angelo Salese
Implemented stereophonic sound output to Sharp X1 HW [Angelo Salese]
[src/mess/drivers]x1.c

src/mess/drivers/x1.c
r11095r11096
26762676   MCFG_CARTSLOT_EXTENSION_LIST("rom")
26772677   MCFG_CARTSLOT_NOT_MANDATORY
26782678
2679   MCFG_SPEAKER_STANDARD_MONO("mono")
2679   MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
26802680
2681   /* TODO:is the AY mono or stereo? Also volume balance isn't right. */
26812682   MCFG_SOUND_ADD("ay", AY8910, MAIN_CLOCK/8)
26822683   MCFG_SOUND_CONFIG(ay8910_config)
2683   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
2684   MCFG_SOUND_ROUTE(0, "lspeaker",  0.25)
2685   MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
2686   MCFG_SOUND_ROUTE(1, "lspeaker",  0.5)
2687   MCFG_SOUND_ROUTE(2, "rspeaker", 0.5)
26842688   MCFG_SOUND_WAVE_ADD("wave","cass")
2685   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
2689   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.10)
2690   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.10)
26862691
26872692   MCFG_CASSETTE_ADD("cass",x1_cassette_config)
26882693   MCFG_SOFTWARE_LIST_ADD("cass_list","x1_cass")
r11095r11096
27122717
27132718   MCFG_SOUND_ADD("ym", YM2151, MAIN_CLOCK/8) //option board
27142719//  MCFG_SOUND_CONFIG(ay8910_config)
2715   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
2720   MCFG_SOUND_ROUTE(0, "lspeaker",  0.50)
2721   MCFG_SOUND_ROUTE(1, "rspeaker",  0.50)
27162722MACHINE_CONFIG_END
27172723
27182724/*************************************

Previous 15994 Revisions Next


© 1998-2018 The MESS Team