summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2018-05-09 19:26:44 +1000
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2018-05-09 19:26:44 +1000
commit6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b (patch) (github)
tree07181df4c25bf034f38aa13cf19c4ee2995d3e7f
parentbe68e91d80f242ca173ba8009dd8c68dbc4b7b29 (diff)
downloadmame-6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b.tar.bz2
mame-6c11b3ce0131be3b14edf5ef93fa9cb2380ae45b.zip
dsp16: fix condition mask in disassembler (nw)
(nw) remove more MCFG macros and make speaker config more explicit
-rw-r--r--src/devices/bus/a2bus/a2alfam2.cpp6
-rw-r--r--src/devices/bus/a2bus/a2arcadebd.cpp2
-rw-r--r--src/devices/bus/a2bus/a2dx1.cpp2
-rw-r--r--src/devices/bus/a2bus/a2echoii.cpp2
-rw-r--r--src/devices/bus/a2bus/a2mcms.cpp3
-rw-r--r--src/devices/bus/a2bus/a2mockingboard.cpp14
-rw-r--r--src/devices/bus/a2bus/a2sam.cpp2
-rw-r--r--src/devices/bus/a2bus/pc_xporter.cpp2
-rw-r--r--src/devices/bus/a2bus/ssbapple.cpp2
-rw-r--r--src/devices/bus/a2bus/ssprite.cpp2
-rw-r--r--src/devices/bus/a7800/cpuwiz.cpp2
-rw-r--r--src/devices/bus/a7800/rom.cpp12
-rw-r--r--src/devices/bus/a7800/xboard.cpp4
-rw-r--r--src/devices/bus/abckb/abc77.cpp2
-rw-r--r--src/devices/bus/abckb/abc99.cpp2
-rw-r--r--src/devices/bus/bbc/1mhzbus/beebsid.cpp2
-rw-r--r--src/devices/bus/bbc/userport/beebspch.cpp2
-rw-r--r--src/devices/bus/c64/currah_speech.cpp2
-rw-r--r--src/devices/bus/c64/magic_voice.cpp2
-rw-r--r--src/devices/bus/c64/sfx_sound_expander.cpp2
-rw-r--r--src/devices/bus/c64/speakeasy.cpp2
-rw-r--r--src/devices/bus/cbus/pc9801_118.cpp2
-rw-r--r--src/devices/bus/cbus/pc9801_26.cpp2
-rw-r--r--src/devices/bus/cbus/pc9801_86.cpp3
-rw-r--r--src/devices/bus/cbus/pc9801_amd98.cpp3
-rw-r--r--src/devices/bus/centronics/covox.cpp5
-rw-r--r--src/devices/bus/centronics/digiblst.cpp2
-rw-r--r--src/devices/bus/centronics/epson_ex800.cpp2
-rw-r--r--src/devices/bus/centronics/epson_lx800.cpp2
-rw-r--r--src/devices/bus/centronics/epson_lx810l.cpp2
-rw-r--r--src/devices/bus/coco/coco_gmc.cpp2
-rw-r--r--src/devices/bus/coco/coco_orch90.cpp3
-rw-r--r--src/devices/bus/coco/coco_ssc.cpp2
-rw-r--r--src/devices/bus/coco/dragon_jcbsnd.cpp2
-rw-r--r--src/devices/bus/cpc/amdrum.cpp2
-rw-r--r--src/devices/bus/cpc/cpc_ssa1.cpp4
-rw-r--r--src/devices/bus/cpc/magicsound.cpp2
-rw-r--r--src/devices/bus/cpc/playcity.cpp3
-rw-r--r--src/devices/bus/ecbbus/grip.cpp2
-rw-r--r--src/devices/bus/einstein/pipe/speculator.cpp2
-rw-r--r--src/devices/bus/einstein/userport/speech.cpp2
-rw-r--r--src/devices/bus/electron/cart/sndexp.cpp2
-rw-r--r--src/devices/bus/electron/cart/sndexp3.cpp2
-rw-r--r--src/devices/bus/electron/m2105.cpp2
-rw-r--r--src/devices/bus/interpro/keyboard/hle.cpp2
-rw-r--r--src/devices/bus/interpro/keyboard/lle.cpp2
-rw-r--r--src/devices/bus/intv/ecs.cpp2
-rw-r--r--src/devices/bus/intv/voice.cpp2
-rw-r--r--src/devices/bus/isa/adlib.cpp2
-rw-r--r--src/devices/bus/isa/dectalk.cpp2
-rw-r--r--src/devices/bus/isa/gblaster.cpp3
-rw-r--r--src/devices/bus/isa/gus.cpp3
-rw-r--r--src/devices/bus/isa/ibm_mfc.cpp3
-rw-r--r--src/devices/bus/isa/ide.cpp3
-rw-r--r--src/devices/bus/isa/p1_sound.cpp2
-rw-r--r--src/devices/bus/isa/sb16.cpp3
-rw-r--r--src/devices/bus/isa/sblaster.cpp9
-rw-r--r--src/devices/bus/isa/ssi2001.cpp2
-rw-r--r--src/devices/bus/isa/stereo_fx.cpp3
-rw-r--r--src/devices/bus/lpci/southbridge.cpp2
-rw-r--r--src/devices/bus/msx_cart/fmpac.cpp2
-rw-r--r--src/devices/bus/msx_cart/konami.cpp8
-rw-r--r--src/devices/bus/msx_cart/majutsushi.cpp2
-rw-r--r--src/devices/bus/msx_cart/moonsound.cpp3
-rw-r--r--src/devices/bus/msx_cart/msx_audio.cpp6
-rw-r--r--src/devices/bus/msx_cart/yamaha.cpp3
-rw-r--r--src/devices/bus/nes/jaleco.cpp14
-rw-r--r--src/devices/bus/nes/konami.cpp4
-rw-r--r--src/devices/bus/nes/pt554.cpp2
-rw-r--r--src/devices/bus/nes/sunsoft.cpp2
-rw-r--r--src/devices/bus/odyssey2/voice.cpp2
-rw-r--r--src/devices/bus/pet/2joysnd.cpp2
-rw-r--r--src/devices/bus/pet/cb2snd.cpp2
-rw-r--r--src/devices/bus/plus4/sid.cpp2
-rw-r--r--src/devices/bus/spectrum/fuller.cpp2
-rw-r--r--src/devices/bus/spectrum/melodik.cpp2
-rw-r--r--src/devices/bus/spectrum/uspeech.cpp2
-rw-r--r--src/devices/bus/sunkbd/hlekbd.cpp2
-rw-r--r--src/devices/bus/svi3x8/expander/sv603.cpp2
-rw-r--r--src/devices/bus/ti8x/tispeaker.cpp5
-rw-r--r--src/devices/bus/ti99/peb/evpc.cpp2
-rw-r--r--src/devices/bus/ti99/peb/spchsyn.cpp2
-rw-r--r--src/devices/bus/vic20/speakeasy.cpp2
-rw-r--r--src/devices/bus/vip/vp550.cpp2
-rw-r--r--src/devices/bus/vip/vp595.cpp2
-rw-r--r--src/devices/cpu/dsp16/dsp16dis.cpp2
-rw-r--r--src/devices/imagedev/floppy.cpp10
-rw-r--r--src/devices/machine/7400.h4
-rw-r--r--src/devices/machine/7404.h5
-rw-r--r--src/devices/machine/genpc.cpp2
-rw-r--r--src/devices/machine/i82371sb.cpp2
-rw-r--r--src/devices/machine/ie15.cpp2
-rw-r--r--src/devices/machine/sis85c496.cpp2
-rw-r--r--src/devices/machine/terminal.cpp2
-rw-r--r--src/devices/sound/ad1848.cpp3
-rw-r--r--src/devices/sound/dave.h3
-rw-r--r--src/devices/sound/es1373.cpp3
-rw-r--r--src/devices/video/huc6271.h7
-rw-r--r--src/devices/video/huc6272.h3
-rw-r--r--src/emu/speaker.cpp10
-rw-r--r--src/emu/speaker.h23
-rw-r--r--src/mame/audio/alesis.cpp6
-rw-r--r--src/mame/audio/asteroid.cpp4
-rw-r--r--src/mame/audio/astrof.cpp4
-rw-r--r--src/mame/audio/avalnche.cpp2
-rw-r--r--src/mame/audio/bwidow.cpp2
-rw-r--r--src/mame/audio/bzone.cpp2
-rw-r--r--src/mame/audio/cage.cpp3
-rw-r--r--src/mame/audio/cheekyms.cpp2
-rw-r--r--src/mame/audio/cinemat.cpp28
-rw-r--r--src/mame/audio/copsnrob.cpp3
-rw-r--r--src/mame/audio/crbaloon.cpp2
-rw-r--r--src/mame/audio/dcs.cpp11
-rw-r--r--src/mame/audio/decobsmt.cpp3
-rw-r--r--src/mame/audio/dkong.cpp6
-rw-r--r--src/mame/audio/efo_zsu.cpp2
-rw-r--r--src/mame/audio/exidy.cpp4
-rw-r--r--src/mame/audio/harddriv.cpp2
-rw-r--r--src/mame/audio/hng64.cpp3
-rw-r--r--src/mame/audio/irem.cpp6
-rw-r--r--src/mame/audio/jedi.cpp3
-rw-r--r--src/mame/audio/leland.cpp8
-rw-r--r--src/mame/audio/llander.cpp2
-rw-r--r--src/mame/audio/mario.cpp4
-rw-r--r--src/mame/audio/mw8080bw.cpp50
-rw-r--r--src/mame/audio/n8080.cpp6
-rw-r--r--src/mame/audio/nichisnd.cpp2
-rw-r--r--src/mame/audio/qix.cpp5
-rw-r--r--src/mame/audio/rax.cpp3
-rw-r--r--src/mame/audio/redalert.cpp6
-rw-r--r--src/mame/audio/scramble.cpp2
-rw-r--r--src/mame/audio/segam1audio.cpp3
-rw-r--r--src/mame/audio/spacefb.cpp2
-rw-r--r--src/mame/audio/spiders.cpp2
-rw-r--r--src/mame/audio/sprint8.cpp8
-rw-r--r--src/mame/audio/taito_en.cpp3
-rw-r--r--src/mame/audio/targ.cpp4
-rw-r--r--src/mame/audio/timeplt.cpp2
-rw-r--r--src/mame/audio/turbo.cpp13
-rw-r--r--src/mame/audio/vicdual-97271p.cpp2
-rw-r--r--src/mame/drivers/1942.cpp4
-rw-r--r--src/mame/drivers/1943.cpp2
-rw-r--r--src/mame/drivers/1945kiii.cpp2
-rw-r--r--src/mame/drivers/20pacgal.cpp2
-rw-r--r--src/mame/drivers/2mindril.cpp3
-rw-r--r--src/mame/drivers/30test.cpp2
-rw-r--r--src/mame/drivers/39in1.cpp3
-rw-r--r--src/mame/drivers/3x3puzzl.cpp2
-rw-r--r--src/mame/drivers/4004clk.cpp2
-rw-r--r--src/mame/drivers/40love.cpp4
-rw-r--r--src/mame/drivers/4enlinea.cpp2
-rw-r--r--src/mame/drivers/4enraya.cpp4
-rw-r--r--src/mame/drivers/4roses.cpp2
-rw-r--r--src/mame/drivers/5clown.cpp2
-rw-r--r--src/mame/drivers/8080bw.cpp12
-rw-r--r--src/mame/drivers/88games.cpp2
-rw-r--r--src/mame/drivers/a2600.cpp4
-rw-r--r--src/mame/drivers/a5105.cpp2
-rw-r--r--src/mame/drivers/a6809.cpp2
-rw-r--r--src/mame/drivers/a7800.cpp2
-rw-r--r--src/mame/drivers/aa310.cpp2
-rw-r--r--src/mame/drivers/abc80.cpp2
-rw-r--r--src/mame/drivers/abc80x.cpp6
-rw-r--r--src/mame/drivers/ac1.cpp2
-rw-r--r--src/mame/drivers/accomm.cpp2
-rw-r--r--src/mame/drivers/aces1.cpp2
-rw-r--r--src/mame/drivers/acommand.cpp3
-rw-r--r--src/mame/drivers/acrnsys1.cpp2
-rw-r--r--src/mame/drivers/actfancr.cpp4
-rw-r--r--src/mame/drivers/acvirus.cpp3
-rw-r--r--src/mame/drivers/adam.cpp2
-rw-r--r--src/mame/drivers/adp.cpp2
-rw-r--r--src/mame/drivers/advision.cpp2
-rw-r--r--src/mame/drivers/aeroboto.cpp2
-rw-r--r--src/mame/drivers/aerofgt.cpp32
-rw-r--r--src/mame/drivers/agat.cpp2
-rw-r--r--src/mame/drivers/age_candy.cpp2
-rw-r--r--src/mame/drivers/aim65.cpp2
-rw-r--r--src/mame/drivers/airbustr.cpp2
-rw-r--r--src/mame/drivers/airraid.cpp2
-rw-r--r--src/mame/drivers/ajax.cpp3
-rw-r--r--src/mame/drivers/albazc.cpp2
-rw-r--r--src/mame/drivers/albazg.cpp2
-rw-r--r--src/mame/drivers/aleck64.cpp3
-rw-r--r--src/mame/drivers/alg.cpp3
-rw-r--r--src/mame/drivers/alien.cpp2
-rw-r--r--src/mame/drivers/aliens.cpp2
-rw-r--r--src/mame/drivers/alinvade.cpp2
-rw-r--r--src/mame/drivers/alpha68k.cpp18
-rw-r--r--src/mame/drivers/alphatpx.cpp4
-rw-r--r--src/mame/drivers/alphatro.cpp2
-rw-r--r--src/mame/drivers/alto2.cpp2
-rw-r--r--src/mame/drivers/amaticmg.cpp2
-rw-r--r--src/mame/drivers/ambush.cpp2
-rw-r--r--src/mame/drivers/amerihok.cpp2
-rw-r--r--src/mame/drivers/amiga.cpp3
-rw-r--r--src/mame/drivers/ampoker2.cpp2
-rw-r--r--src/mame/drivers/amspdwy.cpp3
-rw-r--r--src/mame/drivers/amstrad.cpp6
-rw-r--r--src/mame/drivers/amusco.cpp2
-rw-r--r--src/mame/drivers/amust.cpp2
-rw-r--r--src/mame/drivers/anes.cpp2
-rw-r--r--src/mame/drivers/angelkds.cpp2
-rw-r--r--src/mame/drivers/apc.cpp2
-rw-r--r--src/mame/drivers/apf.cpp2
-rw-r--r--src/mame/drivers/apogee.cpp2
-rw-r--r--src/mame/drivers/apollo.cpp8
-rw-r--r--src/mame/drivers/apple2.cpp2
-rw-r--r--src/mame/drivers/apple2e.cpp2
-rw-r--r--src/mame/drivers/apple2gs.cpp5
-rw-r--r--src/mame/drivers/apple3.cpp2
-rw-r--r--src/mame/drivers/applix.cpp3
-rw-r--r--src/mame/drivers/appoooh.cpp2
-rw-r--r--src/mame/drivers/apricot.cpp2
-rw-r--r--src/mame/drivers/apricotp.cpp2
-rw-r--r--src/mame/drivers/aquarium.cpp3
-rw-r--r--src/mame/drivers/aquarius.cpp2
-rw-r--r--src/mame/drivers/arabian.cpp2
-rw-r--r--src/mame/drivers/arachnid.cpp2
-rw-r--r--src/mame/drivers/arcadecl.cpp2
-rw-r--r--src/mame/drivers/arcadia.cpp2
-rw-r--r--src/mame/drivers/argus.cpp6
-rw-r--r--src/mame/drivers/aristmk4.cpp2
-rw-r--r--src/mame/drivers/aristmk5.cpp2
-rw-r--r--src/mame/drivers/arkanoid.cpp6
-rw-r--r--src/mame/drivers/armedf.cpp12
-rw-r--r--src/mame/drivers/arsystems.cpp3
-rw-r--r--src/mame/drivers/artmagic.cpp2
-rw-r--r--src/mame/drivers/ashnojoe.cpp2
-rw-r--r--src/mame/drivers/asterix.cpp3
-rw-r--r--src/mame/drivers/astinvad.cpp4
-rw-r--r--src/mame/drivers/astrcorp.cpp4
-rw-r--r--src/mame/drivers/astrocde.cpp16
-rw-r--r--src/mame/drivers/astrohome.cpp2
-rw-r--r--src/mame/drivers/asuka.cpp10
-rw-r--r--src/mame/drivers/at.cpp2
-rw-r--r--src/mame/drivers/atari400.cpp2
-rw-r--r--src/mame/drivers/atari_s1.cpp2
-rw-r--r--src/mame/drivers/atari_s2.cpp2
-rw-r--r--src/mame/drivers/atarifb.cpp2
-rw-r--r--src/mame/drivers/atarig1.cpp2
-rw-r--r--src/mame/drivers/atarig42.cpp2
-rw-r--r--src/mame/drivers/atarigx2.cpp3
-rw-r--r--src/mame/drivers/atarist.cpp9
-rw-r--r--src/mame/drivers/atarisy1.cpp3
-rw-r--r--src/mame/drivers/atarisy2.cpp3
-rw-r--r--src/mame/drivers/atetris.cpp4
-rw-r--r--src/mame/drivers/atom.cpp4
-rw-r--r--src/mame/drivers/attache.cpp4
-rw-r--r--src/mame/drivers/attckufo.cpp2
-rw-r--r--src/mame/drivers/aussiebyte.cpp2
-rw-r--r--src/mame/drivers/avigo.cpp2
-rw-r--r--src/mame/drivers/avt.cpp2
-rw-r--r--src/mame/drivers/aztarac.cpp2
-rw-r--r--src/mame/drivers/b2m.cpp2
-rw-r--r--src/mame/drivers/backfire.cpp3
-rw-r--r--src/mame/drivers/badlands.cpp2
-rw-r--r--src/mame/drivers/badlandsbl.cpp2
-rw-r--r--src/mame/drivers/bagman.cpp6
-rw-r--r--src/mame/drivers/balsente.cpp2
-rw-r--r--src/mame/drivers/bankp.cpp2
-rw-r--r--src/mame/drivers/baraduke.cpp2
-rw-r--r--src/mame/drivers/barata.cpp2
-rw-r--r--src/mame/drivers/bartop52.cpp2
-rw-r--r--src/mame/drivers/batman.cpp2
-rw-r--r--src/mame/drivers/battlane.cpp2
-rw-r--r--src/mame/drivers/battlera.cpp2
-rw-r--r--src/mame/drivers/battlex.cpp2
-rw-r--r--src/mame/drivers/battlnts.cpp2
-rw-r--r--src/mame/drivers/bbc.cpp4
-rw-r--r--src/mame/drivers/bbusters.cpp6
-rw-r--r--src/mame/drivers/beathead.cpp2
-rw-r--r--src/mame/drivers/bebox.cpp2
-rw-r--r--src/mame/drivers/beezer.cpp2
-rw-r--r--src/mame/drivers/belatra.cpp3
-rw-r--r--src/mame/drivers/berzerk.cpp2
-rw-r--r--src/mame/drivers/bestleag.cpp3
-rw-r--r--src/mame/drivers/beta.cpp2
-rw-r--r--src/mame/drivers/bfcobra.cpp2
-rw-r--r--src/mame/drivers/bfm_ad5.cpp3
-rw-r--r--src/mame/drivers/bfm_sc1.cpp2
-rw-r--r--src/mame/drivers/bfm_sc2.cpp6
-rw-r--r--src/mame/drivers/bfm_sc4.cpp2
-rw-r--r--src/mame/drivers/bfm_sc5.cpp2
-rw-r--r--src/mame/drivers/bfm_swp.cpp2
-rw-r--r--src/mame/drivers/bfmsys83.cpp2
-rw-r--r--src/mame/drivers/bfmsys85.cpp2
-rw-r--r--src/mame/drivers/big10.cpp2
-rw-r--r--src/mame/drivers/bigbord2.cpp2
-rw-r--r--src/mame/drivers/bigevglf.cpp2
-rw-r--r--src/mame/drivers/bigstrkb.cpp3
-rw-r--r--src/mame/drivers/binbug.cpp4
-rw-r--r--src/mame/drivers/bingoc.cpp3
-rw-r--r--src/mame/drivers/bingoman.cpp2
-rw-r--r--src/mame/drivers/bingor.cpp4
-rw-r--r--src/mame/drivers/bingowav.cpp2
-rw-r--r--src/mame/drivers/bionicc.cpp2
-rw-r--r--src/mame/drivers/bishi.cpp3
-rw-r--r--src/mame/drivers/bitgraph.cpp2
-rw-r--r--src/mame/drivers/bk.cpp2
-rw-r--r--src/mame/drivers/bking.cpp2
-rw-r--r--src/mame/drivers/blackt96.cpp3
-rw-r--r--src/mame/drivers/bladestl.cpp2
-rw-r--r--src/mame/drivers/blitz68k.cpp2
-rw-r--r--src/mame/drivers/blktiger.cpp2
-rw-r--r--src/mame/drivers/blmbycar.cpp3
-rw-r--r--src/mame/drivers/blockade.cpp2
-rw-r--r--src/mame/drivers/blockhl.cpp2
-rw-r--r--src/mame/drivers/blockout.cpp3
-rw-r--r--src/mame/drivers/blocktax.cpp2
-rw-r--r--src/mame/drivers/bloodbro.cpp2
-rw-r--r--src/mame/drivers/blstroid.cpp3
-rw-r--r--src/mame/drivers/blueprnt.cpp2
-rw-r--r--src/mame/drivers/bmcbowl.cpp3
-rw-r--r--src/mame/drivers/bmcpokr.cpp3
-rw-r--r--src/mame/drivers/bmjr.cpp2
-rw-r--r--src/mame/drivers/bml3.cpp2
-rw-r--r--src/mame/drivers/bnstars.cpp3
-rw-r--r--src/mame/drivers/bogeyman.cpp2
-rw-r--r--src/mame/drivers/bombjack.cpp2
-rw-r--r--src/mame/drivers/boogwing.cpp3
-rw-r--r--src/mame/drivers/bottom9.cpp2
-rw-r--r--src/mame/drivers/br8641.cpp2
-rw-r--r--src/mame/drivers/brkthru.cpp4
-rw-r--r--src/mame/drivers/bsktball.cpp2
-rw-r--r--src/mame/drivers/btime.cpp2
-rw-r--r--src/mame/drivers/btoads.cpp3
-rw-r--r--src/mame/drivers/bublbobl.cpp4
-rw-r--r--src/mame/drivers/buggychl.cpp2
-rw-r--r--src/mame/drivers/buster.cpp2
-rw-r--r--src/mame/drivers/bw12.cpp2
-rw-r--r--src/mame/drivers/bwing.cpp2
-rw-r--r--src/mame/drivers/by35.cpp2
-rw-r--r--src/mame/drivers/byvid.cpp4
-rw-r--r--src/mame/drivers/bzone.cpp2
-rw-r--r--src/mame/drivers/c128.cpp4
-rw-r--r--src/mame/drivers/c64.cpp6
-rw-r--r--src/mame/drivers/c65.cpp3
-rw-r--r--src/mame/drivers/c80.cpp2
-rw-r--r--src/mame/drivers/cabal.cpp4
-rw-r--r--src/mame/drivers/cabaret.cpp2
-rw-r--r--src/mame/drivers/calchase.cpp6
-rw-r--r--src/mame/drivers/calcune.cpp3
-rw-r--r--src/mame/drivers/calomega.cpp2
-rw-r--r--src/mame/drivers/calorie.cpp2
-rw-r--r--src/mame/drivers/camplynx.cpp2
-rw-r--r--src/mame/drivers/canyon.cpp3
-rw-r--r--src/mame/drivers/capbowl.cpp2
-rw-r--r--src/mame/drivers/capr1.cpp2
-rw-r--r--src/mame/drivers/cardline.cpp3
-rw-r--r--src/mame/drivers/carjmbre.cpp2
-rw-r--r--src/mame/drivers/carrera.cpp2
-rw-r--r--src/mame/drivers/casloopy.cpp2
-rw-r--r--src/mame/drivers/caswin.cpp2
-rw-r--r--src/mame/drivers/cat.cpp2
-rw-r--r--src/mame/drivers/cave.cpp38
-rw-r--r--src/mame/drivers/cb2001.cpp2
-rw-r--r--src/mame/drivers/cbasebal.cpp2
-rw-r--r--src/mame/drivers/cbm2.cpp6
-rw-r--r--src/mame/drivers/cbuster.cpp2
-rw-r--r--src/mame/drivers/cc40.cpp2
-rw-r--r--src/mame/drivers/ccastles.cpp2
-rw-r--r--src/mame/drivers/cchance.cpp2
-rw-r--r--src/mame/drivers/cchasm.cpp2
-rw-r--r--src/mame/drivers/cclimber.cpp6
-rw-r--r--src/mame/drivers/cd2650.cpp2
-rw-r--r--src/mame/drivers/cdi.cpp9
-rw-r--r--src/mame/drivers/centiped.cpp14
-rw-r--r--src/mame/drivers/cesclass.cpp2
-rw-r--r--src/mame/drivers/cgc7900.cpp2
-rw-r--r--src/mame/drivers/cgenie.cpp2
-rw-r--r--src/mame/drivers/chaknpop.cpp2
-rw-r--r--src/mame/drivers/cham24.cpp2
-rw-r--r--src/mame/drivers/champbas.cpp8
-rw-r--r--src/mame/drivers/champbwl.cpp5
-rw-r--r--src/mame/drivers/chanbara.cpp2
-rw-r--r--src/mame/drivers/chance32.cpp2
-rw-r--r--src/mame/drivers/changela.cpp2
-rw-r--r--src/mame/drivers/channelf.cpp8
-rw-r--r--src/mame/drivers/cheekyms.cpp2
-rw-r--r--src/mame/drivers/chessmst.cpp6
-rw-r--r--src/mame/drivers/chexx.cpp2
-rw-r--r--src/mame/drivers/chinagat.cpp6
-rw-r--r--src/mame/drivers/chinsan.cpp2
-rw-r--r--src/mame/drivers/chqflag.cpp3
-rw-r--r--src/mame/drivers/chsuper.cpp2
-rw-r--r--src/mame/drivers/circus.cpp8
-rw-r--r--src/mame/drivers/circusc.cpp2
-rw-r--r--src/mame/drivers/cischeat.cpp9
-rw-r--r--src/mame/drivers/citycon.cpp2
-rw-r--r--src/mame/drivers/ckz80.cpp2
-rw-r--r--src/mame/drivers/clcd.cpp2
-rw-r--r--src/mame/drivers/cliffhgr.cpp3
-rw-r--r--src/mame/drivers/cloak.cpp2
-rw-r--r--src/mame/drivers/cloud9.cpp2
-rw-r--r--src/mame/drivers/clowndwn.cpp2
-rw-r--r--src/mame/drivers/clpoker.cpp2
-rw-r--r--src/mame/drivers/clshroad.cpp4
-rw-r--r--src/mame/drivers/cmi.cpp2
-rw-r--r--src/mame/drivers/cmmb.cpp2
-rw-r--r--src/mame/drivers/cninja.cpp14
-rw-r--r--src/mame/drivers/cntsteer.cpp4
-rw-r--r--src/mame/drivers/cobra.cpp3
-rw-r--r--src/mame/drivers/coco12.cpp2
-rw-r--r--src/mame/drivers/cocoloco.cpp2
-rw-r--r--src/mame/drivers/coinmstr.cpp2
-rw-r--r--src/mame/drivers/coinmvga.cpp3
-rw-r--r--src/mame/drivers/coleco.cpp2
-rw-r--r--src/mame/drivers/combatsc.cpp4
-rw-r--r--src/mame/drivers/commando.cpp2
-rw-r--r--src/mame/drivers/compgolf.cpp2
-rw-r--r--src/mame/drivers/concept.cpp2
-rw-r--r--src/mame/drivers/contra.cpp3
-rw-r--r--src/mame/drivers/coolpool.cpp4
-rw-r--r--src/mame/drivers/coolridr.cpp3
-rw-r--r--src/mame/drivers/cop01.cpp4
-rw-r--r--src/mame/drivers/cops.cpp4
-rw-r--r--src/mame/drivers/corona.cpp10
-rw-r--r--src/mame/drivers/cortex.cpp2
-rw-r--r--src/mame/drivers/cosmic.cpp10
-rw-r--r--src/mame/drivers/cosmicos.cpp2
-rw-r--r--src/mame/drivers/cps1.cpp5
-rw-r--r--src/mame/drivers/cps2.cpp3
-rw-r--r--src/mame/drivers/cps3.cpp3
-rw-r--r--src/mame/drivers/craft.cpp2
-rw-r--r--src/mame/drivers/crgolf.cpp2
-rw-r--r--src/mame/drivers/crimfght.cpp3
-rw-r--r--src/mame/drivers/crospang.cpp2
-rw-r--r--src/mame/drivers/crshrace.cpp3
-rw-r--r--src/mame/drivers/crvision.cpp4
-rw-r--r--src/mame/drivers/crystal.cpp3
-rw-r--r--src/mame/drivers/ct486.cpp2
-rw-r--r--src/mame/drivers/cubeqst.cpp3
-rw-r--r--src/mame/drivers/cubo.cpp3
-rw-r--r--src/mame/drivers/cultures.cpp2
-rw-r--r--src/mame/drivers/cupidon.cpp3
-rw-r--r--src/mame/drivers/cv1k.cpp2
-rw-r--r--src/mame/drivers/cvs.cpp2
-rw-r--r--src/mame/drivers/cxgz80.cpp2
-rw-r--r--src/mame/drivers/cyberbal.cpp5
-rw-r--r--src/mame/drivers/cybertnk.cpp3
-rw-r--r--src/mame/drivers/cybiko.cpp2
-rw-r--r--src/mame/drivers/cybstorm.cpp3
-rw-r--r--src/mame/drivers/cyclemb.cpp2
-rw-r--r--src/mame/drivers/d6800.cpp2
-rw-r--r--src/mame/drivers/d9final.cpp2
-rw-r--r--src/mame/drivers/dacholer.cpp2
-rw-r--r--src/mame/drivers/dai.cpp5
-rw-r--r--src/mame/drivers/dai3wksi.cpp2
-rw-r--r--src/mame/drivers/dambustr.cpp2
-rw-r--r--src/mame/drivers/darius.cpp3
-rw-r--r--src/mame/drivers/darkmist.cpp2
-rw-r--r--src/mame/drivers/darkseal.cpp2
-rw-r--r--src/mame/drivers/daruma.cpp2
-rw-r--r--src/mame/drivers/dassault.cpp3
-rw-r--r--src/mame/drivers/dblcrown.cpp2
-rw-r--r--src/mame/drivers/dblewing.cpp2
-rw-r--r--src/mame/drivers/dbz.cpp3
-rw-r--r--src/mame/drivers/dccons.cpp3
-rw-r--r--src/mame/drivers/dcheese.cpp3
-rw-r--r--src/mame/drivers/dcon.cpp4
-rw-r--r--src/mame/drivers/dday.cpp2
-rw-r--r--src/mame/drivers/ddayjlc.cpp2
-rw-r--r--src/mame/drivers/ddealer.cpp2
-rw-r--r--src/mame/drivers/ddenlovr.cpp24
-rw-r--r--src/mame/drivers/ddragon.cpp6
-rw-r--r--src/mame/drivers/ddragon3.cpp5
-rw-r--r--src/mame/drivers/ddribble.cpp2
-rw-r--r--src/mame/drivers/de_2.cpp2
-rw-r--r--src/mame/drivers/deadang.cpp2
-rw-r--r--src/mame/drivers/dec0.cpp8
-rw-r--r--src/mame/drivers/dec8.cpp18
-rw-r--r--src/mame/drivers/deco156.cpp6
-rw-r--r--src/mame/drivers/deco32.cpp17
-rw-r--r--src/mame/drivers/deco_ld.cpp3
-rw-r--r--src/mame/drivers/deco_mlc.cpp6
-rw-r--r--src/mame/drivers/decocass.cpp2
-rw-r--r--src/mame/drivers/dectalk.cpp2
-rw-r--r--src/mame/drivers/decwritr.cpp2
-rw-r--r--src/mame/drivers/deniam.cpp4
-rw-r--r--src/mame/drivers/deshoros.cpp2
-rw-r--r--src/mame/drivers/dfruit.cpp2
-rw-r--r--src/mame/drivers/dietgo.cpp2
-rw-r--r--src/mame/drivers/digel804.cpp2
-rw-r--r--src/mame/drivers/dim68k.cpp2
-rw-r--r--src/mame/drivers/discoboy.cpp3
-rw-r--r--src/mame/drivers/divebomb.cpp2
-rw-r--r--src/mame/drivers/diverboy.cpp2
-rw-r--r--src/mame/drivers/djboy.cpp3
-rw-r--r--src/mame/drivers/djmain.cpp3
-rw-r--r--src/mame/drivers/dlair.cpp6
-rw-r--r--src/mame/drivers/dlair2.cpp2
-rw-r--r--src/mame/drivers/dmndrby.cpp2
-rw-r--r--src/mame/drivers/dmv.cpp2
-rw-r--r--src/mame/drivers/docastle.cpp2
-rw-r--r--src/mame/drivers/dogfgt.cpp2
-rw-r--r--src/mame/drivers/dolphunk.cpp2
-rw-r--r--src/mame/drivers/dominob.cpp2
-rw-r--r--src/mame/drivers/dooyong.cpp8
-rw-r--r--src/mame/drivers/dragrace.cpp3
-rw-r--r--src/mame/drivers/dreambal.cpp2
-rw-r--r--src/mame/drivers/dreamwld.cpp3
-rw-r--r--src/mame/drivers/drgnmst.cpp3
-rw-r--r--src/mame/drivers/drmicro.cpp2
-rw-r--r--src/mame/drivers/drtomy.cpp2
-rw-r--r--src/mame/drivers/drw80pkr.cpp2
-rw-r--r--src/mame/drivers/dunhuang.cpp2
-rw-r--r--src/mame/drivers/dwarfd.cpp2
-rw-r--r--src/mame/drivers/dynadice.cpp2
-rw-r--r--src/mame/drivers/dynax.cpp18
-rw-r--r--src/mame/drivers/dynduke.cpp2
-rw-r--r--src/mame/drivers/ecoinf3.cpp2
-rw-r--r--src/mame/drivers/egghunt.cpp2
-rw-r--r--src/mame/drivers/einstein.cpp2
-rw-r--r--src/mame/drivers/electron.cpp2
-rw-r--r--src/mame/drivers/elektronmono.cpp3
-rw-r--r--src/mame/drivers/elwro800.cpp2
-rw-r--r--src/mame/drivers/enigma2.cpp4
-rw-r--r--src/mame/drivers/enmirage.cpp3
-rw-r--r--src/mame/drivers/eolith.cpp3
-rw-r--r--src/mame/drivers/eolith16.cpp3
-rw-r--r--src/mame/drivers/epos.cpp4
-rw-r--r--src/mame/drivers/eprom.cpp6
-rw-r--r--src/mame/drivers/equites.cpp2
-rw-r--r--src/mame/drivers/ertictac.cpp2
-rw-r--r--src/mame/drivers/esd16.cpp2
-rw-r--r--src/mame/drivers/esh.cpp5
-rw-r--r--src/mame/drivers/espial.cpp2
-rw-r--r--src/mame/drivers/esq1.cpp3
-rw-r--r--src/mame/drivers/esq5505.cpp6
-rw-r--r--src/mame/drivers/esqasr.cpp6
-rw-r--r--src/mame/drivers/esqkt.cpp3
-rw-r--r--src/mame/drivers/esqmr.cpp3
-rw-r--r--src/mame/drivers/esripsys.cpp2
-rw-r--r--src/mame/drivers/et3400.cpp2
-rw-r--r--src/mame/drivers/eti660.cpp2
-rw-r--r--src/mame/drivers/ettrivia.cpp2
-rw-r--r--src/mame/drivers/eva.cpp4
-rw-r--r--src/mame/drivers/excali64.cpp2
-rw-r--r--src/mame/drivers/exedexes.cpp2
-rw-r--r--src/mame/drivers/exelv.cpp4
-rw-r--r--src/mame/drivers/exerion.cpp2
-rw-r--r--src/mame/drivers/exidy440.cpp3
-rw-r--r--src/mame/drivers/exp85.cpp2
-rw-r--r--src/mame/drivers/expro02.cpp2
-rw-r--r--src/mame/drivers/exprraid.cpp2
-rw-r--r--src/mame/drivers/exterm.cpp2
-rw-r--r--src/mame/drivers/exzisus.cpp2
-rw-r--r--src/mame/drivers/f-32.cpp6
-rw-r--r--src/mame/drivers/f1gp.cpp6
-rw-r--r--src/mame/drivers/famibox.cpp2
-rw-r--r--src/mame/drivers/fantland.cpp8
-rw-r--r--src/mame/drivers/fastfred.cpp2
-rw-r--r--src/mame/drivers/fastlane.cpp2
-rw-r--r--src/mame/drivers/fb01.cpp3
-rw-r--r--src/mame/drivers/fc100.cpp2
-rw-r--r--src/mame/drivers/fcombat.cpp2
-rw-r--r--src/mame/drivers/fcrash.cpp20
-rw-r--r--src/mame/drivers/feversoc.cpp2
-rw-r--r--src/mame/drivers/fidel6502.cpp20
-rw-r--r--src/mame/drivers/fidel68k.cpp6
-rw-r--r--src/mame/drivers/fidelmcs48.cpp2
-rw-r--r--src/mame/drivers/fidelz80.cpp14
-rw-r--r--src/mame/drivers/finalizr.cpp2
-rw-r--r--src/mame/drivers/fireball.cpp2
-rw-r--r--src/mame/drivers/firebeat.cpp6
-rw-r--r--src/mame/drivers/firefox.cpp3
-rw-r--r--src/mame/drivers/firetrap.cpp4
-rw-r--r--src/mame/drivers/firetrk.cpp2
-rw-r--r--src/mame/drivers/fitfight.cpp4
-rw-r--r--src/mame/drivers/flipjack.cpp2
-rw-r--r--src/mame/drivers/flkatck.cpp3
-rw-r--r--src/mame/drivers/flower.cpp2
-rw-r--r--src/mame/drivers/flstory.cpp8
-rw-r--r--src/mame/drivers/fm7.cpp10
-rw-r--r--src/mame/drivers/fmtowns.cpp3
-rw-r--r--src/mame/drivers/foodf.cpp2
-rw-r--r--src/mame/drivers/forte2.cpp2
-rw-r--r--src/mame/drivers/fortecar.cpp2
-rw-r--r--src/mame/drivers/fp1100.cpp2
-rw-r--r--src/mame/drivers/fp200.cpp2
-rw-r--r--src/mame/drivers/freekick.cpp4
-rw-r--r--src/mame/drivers/fresh.cpp2
-rw-r--r--src/mame/drivers/fromanc2.cpp6
-rw-r--r--src/mame/drivers/fromance.cpp6
-rw-r--r--src/mame/drivers/funkybee.cpp2
-rw-r--r--src/mame/drivers/funkyjet.cpp3
-rw-r--r--src/mame/drivers/funtech.cpp2
-rw-r--r--src/mame/drivers/funworld.cpp2
-rw-r--r--src/mame/drivers/funybubl.cpp2
-rw-r--r--src/mame/drivers/fuukifg2.cpp2
-rw-r--r--src/mame/drivers/fuukifg3.cpp3
-rw-r--r--src/mame/drivers/g627.cpp2
-rw-r--r--src/mame/drivers/gaelco.cpp8
-rw-r--r--src/mame/drivers/gaelco2.cpp24
-rw-r--r--src/mame/drivers/gaelco3d.cpp2
-rw-r--r--src/mame/drivers/gaiden.cpp6
-rw-r--r--src/mame/drivers/gal3.cpp3
-rw-r--r--src/mame/drivers/galaga.cpp8
-rw-r--r--src/mame/drivers/galaxi.cpp2
-rw-r--r--src/mame/drivers/galaxia.cpp4
-rw-r--r--src/mame/drivers/galaxian.cpp2
-rw-r--r--src/mame/drivers/galaxold.cpp8
-rw-r--r--src/mame/drivers/galaxy.cpp4
-rw-r--r--src/mame/drivers/galeb.cpp2
-rw-r--r--src/mame/drivers/galgames.cpp2
-rw-r--r--src/mame/drivers/galivan.cpp4
-rw-r--r--src/mame/drivers/galpani2.cpp3
-rw-r--r--src/mame/drivers/galpani3.cpp2
-rw-r--r--src/mame/drivers/galpanic.cpp2
-rw-r--r--src/mame/drivers/galspnbl.cpp2
-rw-r--r--src/mame/drivers/gamate.cpp3
-rw-r--r--src/mame/drivers/gambl186.cpp2
-rw-r--r--src/mame/drivers/gamecom.cpp2
-rw-r--r--src/mame/drivers/gameplan.cpp2
-rw-r--r--src/mame/drivers/gamepock.cpp2
-rw-r--r--src/mame/drivers/gamtor.cpp3
-rw-r--r--src/mame/drivers/gaplus.cpp2
-rw-r--r--src/mame/drivers/gatron.cpp2
-rw-r--r--src/mame/drivers/gauntlet.cpp3
-rw-r--r--src/mame/drivers/gb.cpp12
-rw-r--r--src/mame/drivers/gba.cpp3
-rw-r--r--src/mame/drivers/gberet.cpp4
-rw-r--r--src/mame/drivers/gcpinbal.cpp2
-rw-r--r--src/mame/drivers/gei.cpp2
-rw-r--r--src/mame/drivers/geneve.cpp2
-rw-r--r--src/mame/drivers/ggconnie.cpp3
-rw-r--r--src/mame/drivers/ghosteo.cpp3
-rw-r--r--src/mame/drivers/gijoe.cpp3
-rw-r--r--src/mame/drivers/ginganin.cpp2
-rw-r--r--src/mame/drivers/gkigt.cpp2
-rw-r--r--src/mame/drivers/gladiatr.cpp4
-rw-r--r--src/mame/drivers/glasgow.cpp2
-rw-r--r--src/mame/drivers/glass.cpp2
-rw-r--r--src/mame/drivers/gluck2.cpp2
-rw-r--r--src/mame/drivers/gmaster.cpp2
-rw-r--r--src/mame/drivers/gng.cpp2
-rw-r--r--src/mame/drivers/go2000.cpp2
-rw-r--r--src/mame/drivers/goal92.cpp2
-rw-r--r--src/mame/drivers/goindol.cpp2
-rw-r--r--src/mame/drivers/gokidetor.cpp2
-rw-r--r--src/mame/drivers/goldngam.cpp2
-rw-r--r--src/mame/drivers/goldnpkr.cpp24
-rw-r--r--src/mame/drivers/goldstar.cpp40
-rw-r--r--src/mame/drivers/gomoku.cpp2
-rw-r--r--src/mame/drivers/good.cpp3
-rw-r--r--src/mame/drivers/goodejan.cpp2
-rw-r--r--src/mame/drivers/gotcha.cpp2
-rw-r--r--src/mame/drivers/gottlieb.cpp4
-rw-r--r--src/mame/drivers/gotya.cpp2
-rw-r--r--src/mame/drivers/gp2x.cpp3
-rw-r--r--src/mame/drivers/gp32.cpp3
-rw-r--r--src/mame/drivers/gp_1.cpp2
-rw-r--r--src/mame/drivers/gpworld.cpp3
-rw-r--r--src/mame/drivers/gradius3.cpp3
-rw-r--r--src/mame/drivers/grchamp.cpp2
-rw-r--r--src/mame/drivers/gridcomp.cpp2
-rw-r--r--src/mame/drivers/gridlee.cpp2
-rw-r--r--src/mame/drivers/gstream.cpp4
-rw-r--r--src/mame/drivers/gstriker.cpp3
-rw-r--r--src/mame/drivers/gsword.cpp4
-rw-r--r--src/mame/drivers/gticlub.cpp6
-rw-r--r--src/mame/drivers/gts80.cpp2
-rw-r--r--src/mame/drivers/gts80a.cpp2
-rw-r--r--src/mame/drivers/gts80b.cpp2
-rw-r--r--src/mame/drivers/guab.cpp2
-rw-r--r--src/mame/drivers/gumbo.cpp3
-rw-r--r--src/mame/drivers/gundealr.cpp2
-rw-r--r--src/mame/drivers/gunpey.cpp3
-rw-r--r--src/mame/drivers/gunsmoke.cpp2
-rw-r--r--src/mame/drivers/gyruss.cpp3
-rw-r--r--src/mame/drivers/h19.cpp2
-rw-r--r--src/mame/drivers/h8.cpp2
-rw-r--r--src/mame/drivers/halleys.cpp2
-rw-r--r--src/mame/drivers/hanaawas.cpp2
-rw-r--r--src/mame/drivers/hankin.cpp2
-rw-r--r--src/mame/drivers/harddriv.cpp7
-rw-r--r--src/mame/drivers/hcastle.cpp2
-rw-r--r--src/mame/drivers/hexion.cpp2
-rw-r--r--src/mame/drivers/hh_amis2k.cpp2
-rw-r--r--src/mame/drivers/hh_cop400.cpp24
-rw-r--r--src/mame/drivers/hh_hmcs40.cpp60
-rw-r--r--src/mame/drivers/hh_melps4.cpp4
-rw-r--r--src/mame/drivers/hh_pic16.cpp24
-rw-r--r--src/mame/drivers/hh_sm510.cpp128
-rw-r--r--src/mame/drivers/hh_tms1k.cpp124
-rw-r--r--src/mame/drivers/hh_ucom4.cpp40
-rw-r--r--src/mame/drivers/hideseek.cpp3
-rw-r--r--src/mame/drivers/higemaru.cpp2
-rw-r--r--src/mame/drivers/highvdeo.cpp8
-rw-r--r--src/mame/drivers/hikaru.cpp3
-rw-r--r--src/mame/drivers/himesiki.cpp2
-rw-r--r--src/mame/drivers/hitme.cpp2
-rw-r--r--src/mame/drivers/hitpoker.cpp2
-rw-r--r--src/mame/drivers/hnayayoi.cpp2
-rw-r--r--src/mame/drivers/holeland.cpp4
-rw-r--r--src/mame/drivers/homedata.cpp8
-rw-r--r--src/mame/drivers/homelab.cpp6
-rw-r--r--src/mame/drivers/homerun.cpp2
-rw-r--r--src/mame/drivers/hornet.cpp3
-rw-r--r--src/mame/drivers/hotblock.cpp2
-rw-r--r--src/mame/drivers/hp16500.cpp12
-rw-r--r--src/mame/drivers/hp2640.cpp2
-rw-r--r--src/mame/drivers/hp48.cpp2
-rw-r--r--src/mame/drivers/hp64k.cpp2
-rw-r--r--src/mame/drivers/hp80.cpp2
-rw-r--r--src/mame/drivers/hp9845.cpp2
-rw-r--r--src/mame/drivers/hp9k_3xx.cpp6
-rw-r--r--src/mame/drivers/hprot1.cpp4
-rw-r--r--src/mame/drivers/hunter2.cpp2
-rw-r--r--src/mame/drivers/hvyunit.cpp2
-rw-r--r--src/mame/drivers/hx20.cpp2
-rw-r--r--src/mame/drivers/hyhoo.cpp2
-rw-r--r--src/mame/drivers/hyperspt.cpp2
-rw-r--r--src/mame/drivers/hyprduel.cpp4
-rw-r--r--src/mame/drivers/i7000.cpp2
-rw-r--r--src/mame/drivers/ibmpcjr.cpp2
-rw-r--r--src/mame/drivers/ice_bozopail.cpp2
-rw-r--r--src/mame/drivers/icecold.cpp2
-rw-r--r--src/mame/drivers/ichiban.cpp2
-rw-r--r--src/mame/drivers/idsa.cpp3
-rw-r--r--src/mame/drivers/igs009.cpp2
-rw-r--r--src/mame/drivers/igs011.cpp2
-rw-r--r--src/mame/drivers/igs017.cpp18
-rw-r--r--src/mame/drivers/igs_fear.cpp2
-rw-r--r--src/mame/drivers/igspoker.cpp2
-rw-r--r--src/mame/drivers/ikki.cpp2
-rw-r--r--src/mame/drivers/imds2.cpp2
-rw-r--r--src/mame/drivers/imolagp.cpp2
-rw-r--r--src/mame/drivers/inder.cpp8
-rw-r--r--src/mame/drivers/indigo.cpp2
-rw-r--r--src/mame/drivers/indy_indigo2.cpp3
-rw-r--r--src/mame/drivers/instantm.cpp2
-rw-r--r--src/mame/drivers/instruct.cpp2
-rw-r--r--src/mame/drivers/inteladv.cpp3
-rw-r--r--src/mame/drivers/intv.cpp2
-rw-r--r--src/mame/drivers/inufuku.cpp2
-rw-r--r--src/mame/drivers/invqix.cpp3
-rw-r--r--src/mame/drivers/iq151.cpp2
-rw-r--r--src/mame/drivers/iqblock.cpp2
-rw-r--r--src/mame/drivers/irisha.cpp2
-rw-r--r--src/mame/drivers/irobot.cpp2
-rw-r--r--src/mame/drivers/ironhors.cpp2
-rw-r--r--src/mame/drivers/istellar.cpp3
-rw-r--r--src/mame/drivers/istrebiteli.cpp2
-rw-r--r--src/mame/drivers/itech32.cpp6
-rw-r--r--src/mame/drivers/itech8.cpp2
-rw-r--r--src/mame/drivers/itgambl2.cpp2
-rw-r--r--src/mame/drivers/itgambl3.cpp2
-rw-r--r--src/mame/drivers/itgamble.cpp2
-rw-r--r--src/mame/drivers/itt3030.cpp2
-rw-r--r--src/mame/drivers/jack.cpp2
-rw-r--r--src/mame/drivers/jackal.cpp3
-rw-r--r--src/mame/drivers/jackie.cpp2
-rw-r--r--src/mame/drivers/jackpool.cpp2
-rw-r--r--src/mame/drivers/jaguar.cpp6
-rw-r--r--src/mame/drivers/jailbrek.cpp2
-rw-r--r--src/mame/drivers/jalmah.cpp2
-rw-r--r--src/mame/drivers/jangou.cpp2
-rw-r--r--src/mame/drivers/jankenmn.cpp2
-rw-r--r--src/mame/drivers/jantotsu.cpp2
-rw-r--r--src/mame/drivers/jchan.cpp3
-rw-r--r--src/mame/drivers/jclub2.cpp2
-rw-r--r--src/mame/drivers/jeutel.cpp2
-rw-r--r--src/mame/drivers/joctronic.cpp4
-rw-r--r--src/mame/drivers/jollyjgr.cpp2
-rw-r--r--src/mame/drivers/jongkyo.cpp2
-rw-r--r--src/mame/drivers/joystand.cpp2
-rw-r--r--src/mame/drivers/jp.cpp4
-rw-r--r--src/mame/drivers/jpmimpct.cpp4
-rw-r--r--src/mame/drivers/jpmmps.cpp2
-rw-r--r--src/mame/drivers/jpms80.cpp2
-rw-r--r--src/mame/drivers/jpmsys5.cpp6
-rw-r--r--src/mame/drivers/jpmsys7.cpp3
-rw-r--r--src/mame/drivers/jr100.cpp2
-rw-r--r--src/mame/drivers/jr200.cpp2
-rw-r--r--src/mame/drivers/jrpacman.cpp2
-rw-r--r--src/mame/drivers/jtc.cpp2
-rw-r--r--src/mame/drivers/juicebox.cpp2
-rw-r--r--src/mame/drivers/jungleyo.cpp3
-rw-r--r--src/mame/drivers/junofrst.cpp2
-rw-r--r--src/mame/drivers/jupace.cpp2
-rw-r--r--src/mame/drivers/k28.cpp2
-rw-r--r--src/mame/drivers/kaneko16.cpp16
-rw-r--r--src/mame/drivers/kangaroo.cpp2
-rw-r--r--src/mame/drivers/karnov.cpp4
-rw-r--r--src/mame/drivers/kas89.cpp2
-rw-r--r--src/mame/drivers/kaypro.cpp4
-rw-r--r--src/mame/drivers/kc.cpp4
-rw-r--r--src/mame/drivers/kchamp.cpp4
-rw-r--r--src/mame/drivers/kdt6.cpp2
-rw-r--r--src/mame/drivers/kickgoal.cpp4
-rw-r--r--src/mame/drivers/kingdrby.cpp2
-rw-r--r--src/mame/drivers/kingobox.cpp4
-rw-r--r--src/mame/drivers/kingpin.cpp2
-rw-r--r--src/mame/drivers/klax.cpp2
-rw-r--r--src/mame/drivers/kncljoe.cpp2
-rw-r--r--src/mame/drivers/koftball.cpp3
-rw-r--r--src/mame/drivers/koikoi.cpp2
-rw-r--r--src/mame/drivers/konamigq.cpp3
-rw-r--r--src/mame/drivers/konamigv.cpp3
-rw-r--r--src/mame/drivers/konamigx.cpp3
-rw-r--r--src/mame/drivers/konblands.cpp2
-rw-r--r--src/mame/drivers/konendev.cpp3
-rw-r--r--src/mame/drivers/konmedal.cpp7
-rw-r--r--src/mame/drivers/konmedal68k.cpp3
-rw-r--r--src/mame/drivers/kontest.cpp3
-rw-r--r--src/mame/drivers/krz2000.cpp3
-rw-r--r--src/mame/drivers/ksayakyu.cpp2
-rw-r--r--src/mame/drivers/ksys573.cpp3
-rw-r--r--src/mame/drivers/kungfur.cpp3
-rw-r--r--src/mame/drivers/kurukuru.cpp2
-rw-r--r--src/mame/drivers/kyocera.cpp8
-rw-r--r--src/mame/drivers/kyugo.cpp2
-rw-r--r--src/mame/drivers/labyrunr.cpp2
-rw-r--r--src/mame/drivers/ladybug.cpp4
-rw-r--r--src/mame/drivers/ladyfrog.cpp2
-rw-r--r--src/mame/drivers/laser3k.cpp2
-rw-r--r--src/mame/drivers/laserbas.cpp2
-rw-r--r--src/mame/drivers/laserbat.cpp4
-rw-r--r--src/mame/drivers/lasso.cpp2
-rw-r--r--src/mame/drivers/lastbank.cpp2
-rw-r--r--src/mame/drivers/lastduel.cpp4
-rw-r--r--src/mame/drivers/laz_aftrshok.cpp2
-rw-r--r--src/mame/drivers/laz_awetoss.cpp2
-rw-r--r--src/mame/drivers/laz_ribrac.cpp2
-rw-r--r--src/mame/drivers/lazercmd.cpp6
-rw-r--r--src/mame/drivers/lc80.cpp4
-rw-r--r--src/mame/drivers/lcmate2.cpp2
-rw-r--r--src/mame/drivers/ldplayer.cpp6
-rw-r--r--src/mame/drivers/learnwin.cpp2
-rw-r--r--src/mame/drivers/legionna.cpp12
-rw-r--r--src/mame/drivers/leland.cpp2
-rw-r--r--src/mame/drivers/lemmings.cpp3
-rw-r--r--src/mame/drivers/lethal.cpp3
-rw-r--r--src/mame/drivers/lethalj.cpp2
-rw-r--r--src/mame/drivers/lgp.cpp3
-rw-r--r--src/mame/drivers/liberate.cpp4
-rw-r--r--src/mame/drivers/liberatr.cpp2
-rw-r--r--src/mame/drivers/limenko.cpp5
-rw-r--r--src/mame/drivers/lisa.cpp2
-rw-r--r--src/mame/drivers/littlerb.cpp3
-rw-r--r--src/mame/drivers/lkage.cpp4
-rw-r--r--src/mame/drivers/llc.cpp2
-rw-r--r--src/mame/drivers/lockon.cpp3
-rw-r--r--src/mame/drivers/lola8a.cpp2
-rw-r--r--src/mame/drivers/looping.cpp2
-rw-r--r--src/mame/drivers/lordgun.cpp4
-rw-r--r--src/mame/drivers/lsasquad.cpp4
-rw-r--r--src/mame/drivers/ltcasino.cpp2
-rw-r--r--src/mame/drivers/ltd.cpp2
-rw-r--r--src/mame/drivers/luckgrln.cpp2
-rw-r--r--src/mame/drivers/lucky74.cpp2
-rw-r--r--src/mame/drivers/luckybal.cpp2
-rw-r--r--src/mame/drivers/lvcards.cpp2
-rw-r--r--src/mame/drivers/lviv.cpp2
-rw-r--r--src/mame/drivers/lwings.cpp4
-rw-r--r--src/mame/drivers/lynx.cpp5
-rw-r--r--src/mame/drivers/m10.cpp4
-rw-r--r--src/mame/drivers/m107.cpp3
-rw-r--r--src/mame/drivers/m14.cpp2
-rw-r--r--src/mame/drivers/m5.cpp2
-rw-r--r--src/mame/drivers/m63.cpp4
-rw-r--r--src/mame/drivers/m72.cpp2
-rw-r--r--src/mame/drivers/m79amb.cpp2
-rw-r--r--src/mame/drivers/m90.cpp2
-rw-r--r--src/mame/drivers/m92.cpp2
-rw-r--r--src/mame/drivers/mac.cpp26
-rw-r--r--src/mame/drivers/mac128.cpp2
-rw-r--r--src/mame/drivers/macpci.cpp3
-rw-r--r--src/mame/drivers/macrossp.cpp3
-rw-r--r--src/mame/drivers/madalien.cpp2
-rw-r--r--src/mame/drivers/madmotor.cpp2
-rw-r--r--src/mame/drivers/magic10.cpp2
-rw-r--r--src/mame/drivers/magicard.cpp2
-rw-r--r--src/mame/drivers/magicfly.cpp2
-rw-r--r--src/mame/drivers/magictg.cpp3
-rw-r--r--src/mame/drivers/magmax.cpp2
-rw-r--r--src/mame/drivers/magnum.cpp2
-rw-r--r--src/mame/drivers/magreel.cpp2
-rw-r--r--src/mame/drivers/mainevt.cpp4
-rw-r--r--src/mame/drivers/mainsnk.cpp2
-rw-r--r--src/mame/drivers/majorpkr.cpp2
-rw-r--r--src/mame/drivers/malzak.cpp2
-rw-r--r--src/mame/drivers/manohman.cpp2
-rw-r--r--src/mame/drivers/mappy.cpp6
-rw-r--r--src/mame/drivers/marineb.cpp2
-rw-r--r--src/mame/drivers/marinedt.cpp2
-rw-r--r--src/mame/drivers/markham.cpp2
-rw-r--r--src/mame/drivers/marywu.cpp2
-rw-r--r--src/mame/drivers/mastboy.cpp2
-rw-r--r--src/mame/drivers/mastboyo.cpp2
-rw-r--r--src/mame/drivers/matmania.cpp4
-rw-r--r--src/mame/drivers/maxaflex.cpp2
-rw-r--r--src/mame/drivers/maygay1b.cpp3
-rw-r--r--src/mame/drivers/maygayep.cpp2
-rw-r--r--src/mame/drivers/maygayv1.cpp2
-rw-r--r--src/mame/drivers/mazerbla.cpp2
-rw-r--r--src/mame/drivers/mbc200.cpp2
-rw-r--r--src/mame/drivers/mbc55x.cpp5
-rw-r--r--src/mame/drivers/mbee.cpp4
-rw-r--r--src/mame/drivers/mc10.cpp4
-rw-r--r--src/mame/drivers/mc1000.cpp2
-rw-r--r--src/mame/drivers/mc1502.cpp2
-rw-r--r--src/mame/drivers/mcatadv.cpp2
-rw-r--r--src/mame/drivers/mcr.cpp3
-rw-r--r--src/mame/drivers/mcr3.cpp3
-rw-r--r--src/mame/drivers/mcr68.cpp2
-rw-r--r--src/mame/drivers/meadows.cpp4
-rw-r--r--src/mame/drivers/mediagx.cpp3
-rw-r--r--src/mame/drivers/megasys1.cpp10
-rw-r--r--src/mame/drivers/megazone.cpp2
-rw-r--r--src/mame/drivers/meijinsn.cpp2
-rw-r--r--src/mame/drivers/mekd2.cpp2
-rw-r--r--src/mame/drivers/mephisto.cpp2
-rw-r--r--src/mame/drivers/mephisto_montec.cpp2
-rw-r--r--src/mame/drivers/mephistp.cpp2
-rw-r--r--src/mame/drivers/merit.cpp2
-rw-r--r--src/mame/drivers/meritm.cpp2
-rw-r--r--src/mame/drivers/mermaid.cpp2
-rw-r--r--src/mame/drivers/metlclsh.cpp2
-rw-r--r--src/mame/drivers/metlfrzr.cpp2
-rw-r--r--src/mame/drivers/metro.cpp43
-rw-r--r--src/mame/drivers/mexico86.cpp2
-rw-r--r--src/mame/drivers/meyc8080.cpp2
-rw-r--r--src/mame/drivers/meyc8088.cpp2
-rw-r--r--src/mame/drivers/mgavegas.cpp2
-rw-r--r--src/mame/drivers/mhavoc.cpp2
-rw-r--r--src/mame/drivers/micro3d.cpp3
-rw-r--r--src/mame/drivers/micronic.cpp2
-rw-r--r--src/mame/drivers/micropin.cpp2
-rw-r--r--src/mame/drivers/microtan.cpp2
-rw-r--r--src/mame/drivers/microvsn.cpp2
-rw-r--r--src/mame/drivers/midas.cpp6
-rw-r--r--src/mame/drivers/midtunit.cpp2
-rw-r--r--src/mame/drivers/midyunit.cpp5
-rw-r--r--src/mame/drivers/mikie.cpp2
-rw-r--r--src/mame/drivers/mikro80.cpp2
-rw-r--r--src/mame/drivers/mikrosha.cpp2
-rw-r--r--src/mame/drivers/mil4000.cpp2
-rw-r--r--src/mame/drivers/milton6805.cpp2
-rw-r--r--src/mame/drivers/mini2440.cpp3
-rw-r--r--src/mame/drivers/miniboy7.cpp2
-rw-r--r--src/mame/drivers/mirage.cpp2
-rw-r--r--src/mame/drivers/mirax.cpp2
-rw-r--r--src/mame/drivers/missb2.cpp2
-rw-r--r--src/mame/drivers/missile.cpp2
-rw-r--r--src/mame/drivers/mitchell.cpp10
-rw-r--r--src/mame/drivers/mjkjidai.cpp2
-rw-r--r--src/mame/drivers/mjsenpu.cpp2
-rw-r--r--src/mame/drivers/mjsister.cpp2
-rw-r--r--src/mame/drivers/mk14.cpp2
-rw-r--r--src/mame/drivers/mk2.cpp2
-rw-r--r--src/mame/drivers/mkit09.cpp4
-rw-r--r--src/mame/drivers/mlanding.cpp2
-rw-r--r--src/mame/drivers/mmagic.cpp2
-rw-r--r--src/mame/drivers/mmm.cpp2
-rw-r--r--src/mame/drivers/model1.cpp3
-rw-r--r--src/mame/drivers/model2.cpp3
-rw-r--r--src/mame/drivers/model3.cpp12
-rw-r--r--src/mame/drivers/mogura.cpp3
-rw-r--r--src/mame/drivers/mole.cpp2
-rw-r--r--src/mame/drivers/molecular.cpp2
-rw-r--r--src/mame/drivers/momoko.cpp2
-rw-r--r--src/mame/drivers/monty.cpp2
-rw-r--r--src/mame/drivers/moo.cpp6
-rw-r--r--src/mame/drivers/mosaic.cpp2
-rw-r--r--src/mame/drivers/mouser.cpp2
-rw-r--r--src/mame/drivers/mpf1.cpp6
-rw-r--r--src/mame/drivers/mpu12wbk.cpp2
-rw-r--r--src/mame/drivers/mpu4dealem.cpp2
-rw-r--r--src/mame/drivers/mpu4vid.cpp3
-rw-r--r--src/mame/drivers/mpu5.cpp3
-rw-r--r--src/mame/drivers/mquake.cpp3
-rw-r--r--src/mame/drivers/mrdo.cpp2
-rw-r--r--src/mame/drivers/mrflea.cpp2
-rw-r--r--src/mame/drivers/mrgame.cpp3
-rw-r--r--src/mame/drivers/mrjong.cpp2
-rw-r--r--src/mame/drivers/ms0515.cpp2
-rw-r--r--src/mame/drivers/ms32.cpp3
-rw-r--r--src/mame/drivers/msisaac.cpp2
-rw-r--r--src/mame/drivers/msx.cpp6
-rw-r--r--src/mame/drivers/mtx.cpp2
-rw-r--r--src/mame/drivers/mugsmash.cpp3
-rw-r--r--src/mame/drivers/multfish.cpp2
-rw-r--r--src/mame/drivers/multi8.cpp2
-rw-r--r--src/mame/drivers/multigam.cpp2
-rw-r--r--src/mame/drivers/munchmo.cpp2
-rw-r--r--src/mame/drivers/murogem.cpp2
-rw-r--r--src/mame/drivers/murogmbl.cpp4
-rw-r--r--src/mame/drivers/mustache.cpp2
-rw-r--r--src/mame/drivers/mwarr.cpp2
-rw-r--r--src/mame/drivers/myb3k.cpp2
-rw-r--r--src/mame/drivers/mycom.cpp2
-rw-r--r--src/mame/drivers/mystston.cpp2
-rw-r--r--src/mame/drivers/mystwarr.cpp3
-rw-r--r--src/mame/drivers/myvision.cpp2
-rw-r--r--src/mame/drivers/mz2000.cpp2
-rw-r--r--src/mame/drivers/mz2500.cpp2
-rw-r--r--src/mame/drivers/mz3500.cpp2
-rw-r--r--src/mame/drivers/mz700.cpp2
-rw-r--r--src/mame/drivers/mz80.cpp2
-rw-r--r--src/mame/drivers/n64.cpp3
-rw-r--r--src/mame/drivers/nakajies.cpp2
-rw-r--r--src/mame/drivers/namcofl.cpp3
-rw-r--r--src/mame/drivers/namcona1.cpp3
-rw-r--r--src/mame/drivers/namconb1.cpp6
-rw-r--r--src/mame/drivers/namcond1.cpp3
-rw-r--r--src/mame/drivers/namcos1.cpp3
-rw-r--r--src/mame/drivers/namcos10.cpp6
-rw-r--r--src/mame/drivers/namcos11.cpp3
-rw-r--r--src/mame/drivers/namcos12.cpp3
-rw-r--r--src/mame/drivers/namcos2.cpp21
-rw-r--r--src/mame/drivers/namcos21.cpp9
-rw-r--r--src/mame/drivers/namcos22.cpp21
-rw-r--r--src/mame/drivers/namcos23.cpp9
-rw-r--r--src/mame/drivers/namcos86.cpp2
-rw-r--r--src/mame/drivers/naomi.cpp3
-rw-r--r--src/mame/drivers/naughtyb.cpp4
-rw-r--r--src/mame/drivers/nbmj8688.cpp4
-rw-r--r--src/mame/drivers/nbmj8891.cpp2
-rw-r--r--src/mame/drivers/nbmj8900.cpp2
-rw-r--r--src/mame/drivers/nbmj8991.cpp4
-rw-r--r--src/mame/drivers/nbmj9195.cpp2
-rw-r--r--src/mame/drivers/nc.cpp2
-rw-r--r--src/mame/drivers/nemesis.cpp25
-rw-r--r--src/mame/drivers/neogeo.cpp5
-rw-r--r--src/mame/drivers/neoprint.cpp6
-rw-r--r--src/mame/drivers/neptunp2.cpp2
-rw-r--r--src/mame/drivers/nes.cpp2
-rw-r--r--src/mame/drivers/nes_vt.cpp2
-rw-r--r--src/mame/drivers/news.cpp2
-rw-r--r--src/mame/drivers/ngp.cpp3
-rw-r--r--src/mame/drivers/nightgal.cpp2
-rw-r--r--src/mame/drivers/ninjakd2.cpp2
-rw-r--r--src/mame/drivers/ninjaw.cpp6
-rw-r--r--src/mame/drivers/nitedrvr.cpp2
-rw-r--r--src/mame/drivers/nmg5.cpp2
-rw-r--r--src/mame/drivers/nmk16.cpp47
-rw-r--r--src/mame/drivers/nmkmedal.cpp2
-rw-r--r--src/mame/drivers/norautp.cpp2
-rw-r--r--src/mame/drivers/notechan.cpp2
-rw-r--r--src/mame/drivers/notetaker.cpp3
-rw-r--r--src/mame/drivers/nova2001.cpp8
-rw-r--r--src/mame/drivers/novag6502.cpp6
-rw-r--r--src/mame/drivers/novag68k.cpp2
-rw-r--r--src/mame/drivers/novagmcs48.cpp2
-rw-r--r--src/mame/drivers/nsm.cpp3
-rw-r--r--src/mame/drivers/nss.cpp3
-rw-r--r--src/mame/drivers/nwk-tr.cpp3
-rw-r--r--src/mame/drivers/nycaptor.cpp6
-rw-r--r--src/mame/drivers/nyny.cpp2
-rw-r--r--src/mame/drivers/octopus.cpp2
-rw-r--r--src/mame/drivers/odyssey2.cpp8
-rw-r--r--src/mame/drivers/offtwall.cpp2
-rw-r--r--src/mame/drivers/ohmygod.cpp2
-rw-r--r--src/mame/drivers/ojankohs.cpp8
-rw-r--r--src/mame/drivers/olibochu.cpp2
-rw-r--r--src/mame/drivers/omegrace.cpp2
-rw-r--r--src/mame/drivers/ondra.cpp2
-rw-r--r--src/mame/drivers/oneshot.cpp2
-rw-r--r--src/mame/drivers/onetwo.cpp2
-rw-r--r--src/mame/drivers/opwolf.cpp6
-rw-r--r--src/mame/drivers/orao.cpp2
-rw-r--r--src/mame/drivers/orbit.cpp3
-rw-r--r--src/mame/drivers/oric.cpp2
-rw-r--r--src/mame/drivers/orion.cpp6
-rw-r--r--src/mame/drivers/osbexec.cpp2
-rw-r--r--src/mame/drivers/osborne1.cpp2
-rw-r--r--src/mame/drivers/osi.cpp4
-rw-r--r--src/mame/drivers/othello.cpp2
-rw-r--r--src/mame/drivers/othunder.cpp2
-rw-r--r--src/mame/drivers/overdriv.cpp3
-rw-r--r--src/mame/drivers/p2000t.cpp4
-rw-r--r--src/mame/drivers/p8k.cpp4
-rw-r--r--src/mame/drivers/pachifev.cpp2
-rw-r--r--src/mame/drivers/pacland.cpp2
-rw-r--r--src/mame/drivers/pacman.cpp2
-rw-r--r--src/mame/drivers/palm.cpp2
-rw-r--r--src/mame/drivers/pandoras.cpp2
-rw-r--r--src/mame/drivers/panicr.cpp2
-rw-r--r--src/mame/drivers/paradise.cpp2
-rw-r--r--src/mame/drivers/paranoia.cpp3
-rw-r--r--src/mame/drivers/parodius.cpp3
-rw-r--r--src/mame/drivers/partner.cpp2
-rw-r--r--src/mame/drivers/pasha2.cpp2
-rw-r--r--src/mame/drivers/pasopia7.cpp2
-rw-r--r--src/mame/drivers/pass.cpp2
-rw-r--r--src/mame/drivers/pastelg.cpp4
-rw-r--r--src/mame/drivers/patapata.cpp2
-rw-r--r--src/mame/drivers/pb1000.cpp2
-rw-r--r--src/mame/drivers/pbaction.cpp2
-rw-r--r--src/mame/drivers/pc100.cpp2
-rw-r--r--src/mame/drivers/pc1512.cpp4
-rw-r--r--src/mame/drivers/pc2000.cpp2
-rw-r--r--src/mame/drivers/pc4.cpp2
-rw-r--r--src/mame/drivers/pc6001.cpp2
-rw-r--r--src/mame/drivers/pc8001.cpp4
-rw-r--r--src/mame/drivers/pc8801.cpp2
-rw-r--r--src/mame/drivers/pc88va.cpp2
-rw-r--r--src/mame/drivers/pc9801.cpp5
-rw-r--r--src/mame/drivers/pcd.cpp2
-rw-r--r--src/mame/drivers/pce.cpp6
-rw-r--r--src/mame/drivers/pce220.cpp6
-rw-r--r--src/mame/drivers/pcfx.cpp4
-rw-r--r--src/mame/drivers/pcktgal.cpp2
-rw-r--r--src/mame/drivers/pcm.cpp2
-rw-r--r--src/mame/drivers/pcw.cpp2
-rw-r--r--src/mame/drivers/pcw16.cpp2
-rw-r--r--src/mame/drivers/pegasus.cpp2
-rw-r--r--src/mame/drivers/pencil2.cpp2
-rw-r--r--src/mame/drivers/pengadvb.cpp2
-rw-r--r--src/mame/drivers/pengo.cpp2
-rw-r--r--src/mame/drivers/pentagon.cpp3
-rw-r--r--src/mame/drivers/peplus.cpp2
-rw-r--r--src/mame/drivers/pes.cpp2
-rw-r--r--src/mame/drivers/pet.cpp6
-rw-r--r--src/mame/drivers/peyper.cpp2
-rw-r--r--src/mame/drivers/pgm.cpp2
-rw-r--r--src/mame/drivers/pgm2.cpp3
-rw-r--r--src/mame/drivers/phc25.cpp2
-rw-r--r--src/mame/drivers/phoenix.cpp4
-rw-r--r--src/mame/drivers/photon.cpp2
-rw-r--r--src/mame/drivers/photon2.cpp2
-rw-r--r--src/mame/drivers/phunsy.cpp2
-rw-r--r--src/mame/drivers/piggypas.cpp2
-rw-r--r--src/mame/drivers/pinball2k.cpp3
-rw-r--r--src/mame/drivers/pingpong.cpp2
-rw-r--r--src/mame/drivers/pinkiri8.cpp2
-rw-r--r--src/mame/drivers/pipedrm.cpp4
-rw-r--r--src/mame/drivers/pipeline.cpp2
-rw-r--r--src/mame/drivers/pirates.cpp2
-rw-r--r--src/mame/drivers/piratesh.cpp3
-rw-r--r--src/mame/drivers/pitnrun.cpp2
-rw-r--r--src/mame/drivers/pk8000.cpp2
-rw-r--r--src/mame/drivers/pk8020.cpp2
-rw-r--r--src/mame/drivers/pkscram.cpp2
-rw-r--r--src/mame/drivers/pktgaldx.cpp6
-rw-r--r--src/mame/drivers/play_1.cpp2
-rw-r--r--src/mame/drivers/play_2.cpp2
-rw-r--r--src/mame/drivers/play_3.cpp3
-rw-r--r--src/mame/drivers/playch10.cpp2
-rw-r--r--src/mame/drivers/playmark.cpp14
-rw-r--r--src/mame/drivers/plus4.cpp2
-rw-r--r--src/mame/drivers/pluto5.cpp3
-rw-r--r--src/mame/drivers/plygonet.cpp3
-rw-r--r--src/mame/drivers/pmd85.cpp2
-rw-r--r--src/mame/drivers/pockstat.cpp2
-rw-r--r--src/mame/drivers/pofo.cpp2
-rw-r--r--src/mame/drivers/poisk1.cpp2
-rw-r--r--src/mame/drivers/pokechmp.cpp2
-rw-r--r--src/mame/drivers/pokemini.cpp2
-rw-r--r--src/mame/drivers/poker72.cpp2
-rw-r--r--src/mame/drivers/polepos.cpp6
-rw-r--r--src/mame/drivers/polgar.cpp2
-rw-r--r--src/mame/drivers/policetr.cpp3
-rw-r--r--src/mame/drivers/poly.cpp2
-rw-r--r--src/mame/drivers/poly88.cpp2
-rw-r--r--src/mame/drivers/polyplay.cpp2
-rw-r--r--src/mame/drivers/pong.cpp6
-rw-r--r--src/mame/drivers/poolshrk.cpp2
-rw-r--r--src/mame/drivers/popeye.cpp2
-rw-r--r--src/mame/drivers/popobear.cpp2
-rw-r--r--src/mame/drivers/popper.cpp2
-rw-r--r--src/mame/drivers/portrait.cpp2
-rw-r--r--src/mame/drivers/powerbal.cpp4
-rw-r--r--src/mame/drivers/powerins.cpp2
-rw-r--r--src/mame/drivers/pp01.cpp2
-rw-r--r--src/mame/drivers/ppmast93.cpp2
-rw-r--r--src/mame/drivers/prehisle.cpp2
-rw-r--r--src/mame/drivers/primo.cpp2
-rw-r--r--src/mame/drivers/pro80.cpp2
-rw-r--r--src/mame/drivers/proconn.cpp3
-rw-r--r--src/mame/drivers/progolf.cpp2
-rw-r--r--src/mame/drivers/proteus3.cpp2
-rw-r--r--src/mame/drivers/psikyo.cpp8
-rw-r--r--src/mame/drivers/psikyo4.cpp3
-rw-r--r--src/mame/drivers/psikyosh.cpp2
-rw-r--r--src/mame/drivers/psion.cpp2
-rw-r--r--src/mame/drivers/psx.cpp6
-rw-r--r--src/mame/drivers/psychic5.cpp4
-rw-r--r--src/mame/drivers/pt68k4.cpp4
-rw-r--r--src/mame/drivers/ptcsol.cpp2
-rw-r--r--src/mame/drivers/pturn.cpp2
-rw-r--r--src/mame/drivers/punchout.cpp4
-rw-r--r--src/mame/drivers/pv1000.cpp2
-rw-r--r--src/mame/drivers/pv2000.cpp2
-rw-r--r--src/mame/drivers/pve500.cpp2
-rw-r--r--src/mame/drivers/px4.cpp2
-rw-r--r--src/mame/drivers/px8.cpp2
-rw-r--r--src/mame/drivers/pyl601.cpp2
-rw-r--r--src/mame/drivers/pzletime.cpp2
-rw-r--r--src/mame/drivers/qdrmfgp.cpp6
-rw-r--r--src/mame/drivers/ql.cpp2
-rw-r--r--src/mame/drivers/quantum.cpp2
-rw-r--r--src/mame/drivers/quasar.cpp2
-rw-r--r--src/mame/drivers/quickpick5.cpp2
-rw-r--r--src/mame/drivers/quizdna.cpp2
-rw-r--r--src/mame/drivers/quizo.cpp2
-rw-r--r--src/mame/drivers/quizpani.cpp2
-rw-r--r--src/mame/drivers/quizpun2.cpp2
-rw-r--r--src/mame/drivers/quizshow.cpp2
-rw-r--r--src/mame/drivers/r2dtank.cpp2
-rw-r--r--src/mame/drivers/r2dx_v33.cpp4
-rw-r--r--src/mame/drivers/rabbit.cpp3
-rw-r--r--src/mame/drivers/rad_eu3a05.cpp2
-rw-r--r--src/mame/drivers/rad_eu3a14.cpp2
-rw-r--r--src/mame/drivers/radio86.cpp2
-rw-r--r--src/mame/drivers/raiden.cpp2
-rw-r--r--src/mame/drivers/raiden2.cpp4
-rw-r--r--src/mame/drivers/rallyx.cpp2
-rw-r--r--src/mame/drivers/rampart.cpp2
-rw-r--r--src/mame/drivers/rastan.cpp2
-rw-r--r--src/mame/drivers/rastersp.cpp3
-rw-r--r--src/mame/drivers/ravens.cpp4
-rw-r--r--src/mame/drivers/rbisland.cpp4
-rw-r--r--src/mame/drivers/rbmk.cpp3
-rw-r--r--src/mame/drivers/rc702.cpp2
-rw-r--r--src/mame/drivers/rc759.cpp2
-rw-r--r--src/mame/drivers/re900.cpp2
-rw-r--r--src/mame/drivers/realbrk.cpp3
-rw-r--r--src/mame/drivers/relief.cpp2
-rw-r--r--src/mame/drivers/renegade.cpp2
-rw-r--r--src/mame/drivers/replicator.cpp2
-rw-r--r--src/mame/drivers/retofinv.cpp2
-rw-r--r--src/mame/drivers/rex6000.cpp4
-rw-r--r--src/mame/drivers/rgum.cpp2
-rw-r--r--src/mame/drivers/risc2500.cpp2
-rw-r--r--src/mame/drivers/rltennis.cpp2
-rw-r--r--src/mame/drivers/rmhaihai.cpp2
-rw-r--r--src/mame/drivers/rmnimbus.cpp2
-rw-r--r--src/mame/drivers/rockrage.cpp3
-rw-r--r--src/mame/drivers/rohga.cpp12
-rw-r--r--src/mame/drivers/rollerg.cpp2
-rw-r--r--src/mame/drivers/rollrace.cpp3
-rw-r--r--src/mame/drivers/ron.cpp2
-rw-r--r--src/mame/drivers/rotaryf.cpp2
-rw-r--r--src/mame/drivers/roul.cpp2
-rw-r--r--src/mame/drivers/route16.cpp2
-rw-r--r--src/mame/drivers/rowamet.cpp2
-rw-r--r--src/mame/drivers/royalmah.cpp2
-rw-r--r--src/mame/drivers/rpunch.cpp4
-rw-r--r--src/mame/drivers/runaway.cpp2
-rw-r--r--src/mame/drivers/rungun.cpp3
-rw-r--r--src/mame/drivers/rx78.cpp2
-rw-r--r--src/mame/drivers/rz1.cpp2
-rw-r--r--src/mame/drivers/rzone.cpp4
-rw-r--r--src/mame/drivers/s11.cpp6
-rw-r--r--src/mame/drivers/s11a.cpp6
-rw-r--r--src/mame/drivers/s11b.cpp6
-rw-r--r--src/mame/drivers/s11c.cpp2
-rw-r--r--src/mame/drivers/s3.cpp2
-rw-r--r--src/mame/drivers/s4.cpp2
-rw-r--r--src/mame/drivers/s6.cpp4
-rw-r--r--src/mame/drivers/s6a.cpp4
-rw-r--r--src/mame/drivers/s7.cpp4
-rw-r--r--src/mame/drivers/s8.cpp2
-rw-r--r--src/mame/drivers/s8a.cpp2
-rw-r--r--src/mame/drivers/s9.cpp4
-rw-r--r--src/mame/drivers/safarir.cpp2
-rw-r--r--src/mame/drivers/samcoupe.cpp2
-rw-r--r--src/mame/drivers/sandscrp.cpp2
-rw-r--r--src/mame/drivers/sangho.cpp4
-rw-r--r--src/mame/drivers/sanremo.cpp2
-rw-r--r--src/mame/drivers/saturn.cpp3
-rw-r--r--src/mame/drivers/sauro.cpp2
-rw-r--r--src/mame/drivers/sbasketb.cpp2
-rw-r--r--src/mame/drivers/sbc6510.cpp2
-rw-r--r--src/mame/drivers/sbowling.cpp2
-rw-r--r--src/mame/drivers/sbrain.cpp2
-rw-r--r--src/mame/drivers/sbrkout.cpp2
-rw-r--r--src/mame/drivers/sbugger.cpp2
-rw-r--r--src/mame/drivers/sc1.cpp2
-rw-r--r--src/mame/drivers/sc2.cpp2
-rw-r--r--src/mame/drivers/scobra.cpp4
-rw-r--r--src/mame/drivers/scotrsht.cpp2
-rw-r--r--src/mame/drivers/scramble.cpp2
-rw-r--r--src/mame/drivers/scregg.cpp4
-rw-r--r--src/mame/drivers/scv.cpp2
-rw-r--r--src/mame/drivers/scyclone.cpp2
-rw-r--r--src/mame/drivers/sderby.cpp12
-rw-r--r--src/mame/drivers/seabattl.cpp2
-rw-r--r--src/mame/drivers/sealy.cpp2
-rw-r--r--src/mame/drivers/segac2.cpp2
-rw-r--r--src/mame/drivers/segacoin.cpp2
-rw-r--r--src/mame/drivers/segae.cpp2
-rw-r--r--src/mame/drivers/segag80r.cpp2
-rw-r--r--src/mame/drivers/segag80v.cpp2
-rw-r--r--src/mame/drivers/segahang.cpp9
-rw-r--r--src/mame/drivers/segajw.cpp2
-rw-r--r--src/mame/drivers/segald.cpp3
-rw-r--r--src/mame/drivers/segam1.cpp2
-rw-r--r--src/mame/drivers/segaorun.cpp3
-rw-r--r--src/mame/drivers/segas16a.cpp2
-rw-r--r--src/mame/drivers/segas16b.cpp4
-rw-r--r--src/mame/drivers/segas18.cpp2
-rw-r--r--src/mame/drivers/segas24.cpp3
-rw-r--r--src/mame/drivers/segas32.cpp6
-rw-r--r--src/mame/drivers/segaufo.cpp2
-rw-r--r--src/mame/drivers/segaxbd.cpp9
-rw-r--r--src/mame/drivers/segaybd.cpp3
-rw-r--r--src/mame/drivers/seibucats.cpp3
-rw-r--r--src/mame/drivers/seibuspi.cpp9
-rw-r--r--src/mame/drivers/seicross.cpp2
-rw-r--r--src/mame/drivers/seicupbl.cpp2
-rw-r--r--src/mame/drivers/sengokmj.cpp2
-rw-r--r--src/mame/drivers/senjyo.cpp2
-rw-r--r--src/mame/drivers/seta.cpp93
-rw-r--r--src/mame/drivers/seta2.cpp8
-rw-r--r--src/mame/drivers/sf.cpp3
-rw-r--r--src/mame/drivers/sfbonus.cpp2
-rw-r--r--src/mame/drivers/sfcbox.cpp3
-rw-r--r--src/mame/drivers/sfkick.cpp2
-rw-r--r--src/mame/drivers/sg1000.cpp6
-rw-r--r--src/mame/drivers/sg1000a.cpp2
-rw-r--r--src/mame/drivers/shadfrce.cpp3
-rw-r--r--src/mame/drivers/shangha3.cpp6
-rw-r--r--src/mame/drivers/shanghai.cpp6
-rw-r--r--src/mame/drivers/shangkid.cpp4
-rw-r--r--src/mame/drivers/shaolins.cpp2
-rw-r--r--src/mame/drivers/shisen.cpp3
-rw-r--r--src/mame/drivers/shootaway2.cpp2
-rw-r--r--src/mame/drivers/shootout.cpp4
-rw-r--r--src/mame/drivers/shougi.cpp2
-rw-r--r--src/mame/drivers/shuuz.cpp2
-rw-r--r--src/mame/drivers/sidearms.cpp6
-rw-r--r--src/mame/drivers/sidepckt.cpp2
-rw-r--r--src/mame/drivers/sigmab52.cpp2
-rw-r--r--src/mame/drivers/sigmab98.cpp9
-rw-r--r--src/mame/drivers/silkroad.cpp3
-rw-r--r--src/mame/drivers/silvmil.cpp2
-rw-r--r--src/mame/drivers/simpl156.cpp3
-rw-r--r--src/mame/drivers/simpsons.cpp3
-rw-r--r--src/mame/drivers/skeetsht.cpp2
-rw-r--r--src/mame/drivers/skimaxx.cpp3
-rw-r--r--src/mame/drivers/skullxbo.cpp2
-rw-r--r--src/mame/drivers/skyarmy.cpp2
-rw-r--r--src/mame/drivers/skydiver.cpp2
-rw-r--r--src/mame/drivers/skyfox.cpp2
-rw-r--r--src/mame/drivers/skykid.cpp2
-rw-r--r--src/mame/drivers/skylncr.cpp2
-rw-r--r--src/mame/drivers/skyraid.cpp2
-rw-r--r--src/mame/drivers/slapfght.cpp6
-rw-r--r--src/mame/drivers/slapshot.cpp6
-rw-r--r--src/mame/drivers/slc1.cpp2
-rw-r--r--src/mame/drivers/sliver.cpp3
-rw-r--r--src/mame/drivers/slotcarn.cpp2
-rw-r--r--src/mame/drivers/smc777.cpp2
-rw-r--r--src/mame/drivers/sms.cpp5
-rw-r--r--src/mame/drivers/sms_bootleg.cpp2
-rw-r--r--src/mame/drivers/smsmcorp.cpp2
-rw-r--r--src/mame/drivers/snes.cpp3
-rw-r--r--src/mame/drivers/snesb.cpp3
-rw-r--r--src/mame/drivers/snk.cpp12
-rw-r--r--src/mame/drivers/snk6502.cpp4
-rw-r--r--src/mame/drivers/snk68.cpp2
-rw-r--r--src/mame/drivers/snookr10.cpp2
-rw-r--r--src/mame/drivers/snowbros.cpp10
-rw-r--r--src/mame/drivers/socrates.cpp4
-rw-r--r--src/mame/drivers/solomon.cpp2
-rw-r--r--src/mame/drivers/sonson.cpp2
-rw-r--r--src/mame/drivers/sorcerer.cpp2
-rw-r--r--src/mame/drivers/sothello.cpp2
-rw-r--r--src/mame/drivers/spaceg.cpp2
-rw-r--r--src/mame/drivers/spartanxtec.cpp2
-rw-r--r--src/mame/drivers/spbactn.cpp4
-rw-r--r--src/mame/drivers/spc1000.cpp2
-rw-r--r--src/mame/drivers/spc1500.cpp2
-rw-r--r--src/mame/drivers/spcforce.cpp2
-rw-r--r--src/mame/drivers/spdodgeb.cpp3
-rw-r--r--src/mame/drivers/special.cpp4
-rw-r--r--src/mame/drivers/spectra.cpp2
-rw-r--r--src/mame/drivers/spectrum.cpp2
-rw-r--r--src/mame/drivers/speedatk.cpp2
-rw-r--r--src/mame/drivers/speedbal.cpp2
-rw-r--r--src/mame/drivers/speedspn.cpp2
-rw-r--r--src/mame/drivers/spinb.cpp4
-rw-r--r--src/mame/drivers/splash.cpp6
-rw-r--r--src/mame/drivers/splus.cpp2
-rw-r--r--src/mame/drivers/spoker.cpp2
-rw-r--r--src/mame/drivers/spool99.cpp3
-rw-r--r--src/mame/drivers/sprcros2.cpp2
-rw-r--r--src/mame/drivers/sprint2.cpp7
-rw-r--r--src/mame/drivers/sprint4.cpp3
-rw-r--r--src/mame/drivers/spy.cpp2
-rw-r--r--src/mame/drivers/spyhuntertec.cpp2
-rw-r--r--src/mame/drivers/squale.cpp2
-rw-r--r--src/mame/drivers/srmp2.cpp6
-rw-r--r--src/mame/drivers/srmp6.cpp3
-rw-r--r--src/mame/drivers/srumbler.cpp2
-rw-r--r--src/mame/drivers/sshangha.cpp3
-rw-r--r--src/mame/drivers/ssingles.cpp2
-rw-r--r--src/mame/drivers/sslam.cpp4
-rw-r--r--src/mame/drivers/ssozumo.cpp2
-rw-r--r--src/mame/drivers/ssrj.cpp2
-rw-r--r--src/mame/drivers/ssv.cpp3
-rw-r--r--src/mame/drivers/st_mp200.cpp2
-rw-r--r--src/mame/drivers/stadhero.cpp2
-rw-r--r--src/mame/drivers/starcrus.cpp2
-rw-r--r--src/mame/drivers/starfire.cpp2
-rw-r--r--src/mame/drivers/stargame.cpp4
-rw-r--r--src/mame/drivers/starshp1.cpp2
-rw-r--r--src/mame/drivers/starwars.cpp2
-rw-r--r--src/mame/drivers/statriv2.cpp2
-rw-r--r--src/mame/drivers/stellafr.cpp2
-rw-r--r--src/mame/drivers/stfight.cpp2
-rw-r--r--src/mame/drivers/stlforce.cpp2
-rw-r--r--src/mame/drivers/strnskil.cpp2
-rw-r--r--src/mame/drivers/studio2.cpp6
-rw-r--r--src/mame/drivers/stuntair.cpp2
-rw-r--r--src/mame/drivers/stv.cpp3
-rw-r--r--src/mame/drivers/sub.cpp2
-rw-r--r--src/mame/drivers/subhuntr.cpp2
-rw-r--r--src/mame/drivers/subs.cpp3
-rw-r--r--src/mame/drivers/subsino.cpp10
-rw-r--r--src/mame/drivers/subsino2.cpp6
-rw-r--r--src/mame/drivers/suna16.cpp12
-rw-r--r--src/mame/drivers/suna8.cpp10
-rw-r--r--src/mame/drivers/supbtime.cpp2
-rw-r--r--src/mame/drivers/supdrapo.cpp2
-rw-r--r--src/mame/drivers/supduck.cpp2
-rw-r--r--src/mame/drivers/super80.cpp4
-rw-r--r--src/mame/drivers/supercrd.cpp2
-rw-r--r--src/mame/drivers/superdq.cpp3
-rw-r--r--src/mame/drivers/superqix.cpp6
-rw-r--r--src/mame/drivers/supertnk.cpp2
-rw-r--r--src/mame/drivers/superwng.cpp2
-rw-r--r--src/mame/drivers/suprgolf.cpp2
-rw-r--r--src/mame/drivers/suprloco.cpp2
-rw-r--r--src/mame/drivers/suprnova.cpp3
-rw-r--r--src/mame/drivers/suprridr.cpp2
-rw-r--r--src/mame/drivers/suprslam.cpp3
-rw-r--r--src/mame/drivers/supstarf.cpp2
-rw-r--r--src/mame/drivers/surpratk.cpp3
-rw-r--r--src/mame/drivers/sv8000.cpp2
-rw-r--r--src/mame/drivers/svi318.cpp2
-rw-r--r--src/mame/drivers/svision.cpp3
-rw-r--r--src/mame/drivers/svmu.cpp2
-rw-r--r--src/mame/drivers/sym1.cpp2
-rw-r--r--src/mame/drivers/system1.cpp2
-rw-r--r--src/mame/drivers/system16.cpp18
-rw-r--r--src/mame/drivers/tagteam.cpp2
-rw-r--r--src/mame/drivers/tail2nos.cpp3
-rw-r--r--src/mame/drivers/taito.cpp6
-rw-r--r--src/mame/drivers/taito_b.cpp34
-rw-r--r--src/mame/drivers/taito_f2.cpp8
-rw-r--r--src/mame/drivers/taito_f3.cpp2
-rw-r--r--src/mame/drivers/taito_h.cpp6
-rw-r--r--src/mame/drivers/taito_l.cpp10
-rw-r--r--src/mame/drivers/taito_o.cpp2
-rw-r--r--src/mame/drivers/taito_x.cpp12
-rw-r--r--src/mame/drivers/taito_z.cpp39
-rw-r--r--src/mame/drivers/taitoair.cpp2
-rw-r--r--src/mame/drivers/taitogn.cpp3
-rw-r--r--src/mame/drivers/taitojc.cpp2
-rw-r--r--src/mame/drivers/taitosj.cpp2
-rw-r--r--src/mame/drivers/tamag1.cpp2
-rw-r--r--src/mame/drivers/tandy2k.cpp2
-rw-r--r--src/mame/drivers/tank8.cpp2
-rw-r--r--src/mame/drivers/tankbatt.cpp2
-rw-r--r--src/mame/drivers/tankbust.cpp2
-rw-r--r--src/mame/drivers/taotaido.cpp3
-rw-r--r--src/mame/drivers/tapatune.cpp3
-rw-r--r--src/mame/drivers/targeth.cpp2
-rw-r--r--src/mame/drivers/tasman.cpp3
-rw-r--r--src/mame/drivers/tatsumi.cpp12
-rw-r--r--src/mame/drivers/tattack.cpp2
-rw-r--r--src/mame/drivers/tavernie.cpp2
-rw-r--r--src/mame/drivers/taxidriv.cpp2
-rw-r--r--src/mame/drivers/tbowl.cpp2
-rw-r--r--src/mame/drivers/tceptor.cpp3
-rw-r--r--src/mame/drivers/tec1.cpp4
-rw-r--r--src/mame/drivers/tecmo.cpp2
-rw-r--r--src/mame/drivers/tecmo16.cpp3
-rw-r--r--src/mame/drivers/tecmosys.cpp3
-rw-r--r--src/mame/drivers/tehkanwc.cpp2
-rw-r--r--src/mame/drivers/tek405x.cpp4
-rw-r--r--src/mame/drivers/tek440x.cpp2
-rw-r--r--src/mame/drivers/tempest.cpp2
-rw-r--r--src/mame/drivers/terracre.cpp2
-rw-r--r--src/mame/drivers/tetrisp2.cpp20
-rw-r--r--src/mame/drivers/tg100.cpp3
-rw-r--r--src/mame/drivers/thayers.cpp3
-rw-r--r--src/mame/drivers/thedealr.cpp2
-rw-r--r--src/mame/drivers/thedeep.cpp2
-rw-r--r--src/mame/drivers/thepit.cpp2
-rw-r--r--src/mame/drivers/thief.cpp2
-rw-r--r--src/mame/drivers/thomson.cpp2
-rw-r--r--src/mame/drivers/thoop2.cpp2
-rw-r--r--src/mame/drivers/thunderj.cpp2
-rw-r--r--src/mame/drivers/thunderx.cpp2
-rw-r--r--src/mame/drivers/ti99_4p.cpp2
-rw-r--r--src/mame/drivers/ti99_4x.cpp10
-rw-r--r--src/mame/drivers/ti99_8.cpp6
-rw-r--r--src/mame/drivers/tiamc1.cpp2
-rw-r--r--src/mame/drivers/ticalc1x.cpp2
-rw-r--r--src/mame/drivers/tickee.cpp6
-rw-r--r--src/mame/drivers/tigeroad.cpp4
-rw-r--r--src/mame/drivers/tiki100.cpp2
-rw-r--r--src/mame/drivers/timelimt.cpp2
-rw-r--r--src/mame/drivers/tispeak.cpp8
-rw-r--r--src/mame/drivers/tispellb.cpp2
-rw-r--r--src/mame/drivers/tk2000.cpp2
-rw-r--r--src/mame/drivers/tm990189.cpp4
-rw-r--r--src/mame/drivers/tmaster.cpp2
-rw-r--r--src/mame/drivers/tmc1800.cpp4
-rw-r--r--src/mame/drivers/tmc2000e.cpp2
-rw-r--r--src/mame/drivers/tmmjprd.cpp3
-rw-r--r--src/mame/drivers/tmnt.cpp32
-rw-r--r--src/mame/drivers/tnzs.cpp2
-rw-r--r--src/mame/drivers/toaplan1.cpp18
-rw-r--r--src/mame/drivers/toaplan2.cpp45
-rw-r--r--src/mame/drivers/toki.cpp4
-rw-r--r--src/mame/drivers/tomcat.cpp3
-rw-r--r--src/mame/drivers/tonton.cpp2
-rw-r--r--src/mame/drivers/toobin.cpp3
-rw-r--r--src/mame/drivers/topspeed.cpp3
-rw-r--r--src/mame/drivers/toratora.cpp2
-rw-r--r--src/mame/drivers/tourtabl.cpp2
-rw-r--r--src/mame/drivers/tourvis.cpp3
-rw-r--r--src/mame/drivers/toypop.cpp2
-rw-r--r--src/mame/drivers/tp84.cpp2
-rw-r--r--src/mame/drivers/trackfld.cpp4
-rw-r--r--src/mame/drivers/tranz330.cpp2
-rw-r--r--src/mame/drivers/triplhnt.cpp2
-rw-r--r--src/mame/drivers/trs80.cpp2
-rw-r--r--src/mame/drivers/trs80dt1.cpp2
-rw-r--r--src/mame/drivers/truco.cpp2
-rw-r--r--src/mame/drivers/trucocl.cpp2
-rw-r--r--src/mame/drivers/trvmadns.cpp2
-rw-r--r--src/mame/drivers/trvquest.cpp2
-rw-r--r--src/mame/drivers/tryout.cpp2
-rw-r--r--src/mame/drivers/tsamurai.cpp6
-rw-r--r--src/mame/drivers/tsispch.cpp2
-rw-r--r--src/mame/drivers/ttchamp.cpp2
-rw-r--r--src/mame/drivers/tubep.cpp4
-rw-r--r--src/mame/drivers/tugboat.cpp2
-rw-r--r--src/mame/drivers/tumbleb.cpp14
-rw-r--r--src/mame/drivers/tunhunt.cpp2
-rw-r--r--src/mame/drivers/turrett.cpp3
-rw-r--r--src/mame/drivers/tutor.cpp2
-rw-r--r--src/mame/drivers/tv910.cpp2
-rw-r--r--src/mame/drivers/tv912.cpp2
-rw-r--r--src/mame/drivers/tv990.cpp2
-rw-r--r--src/mame/drivers/tvboy.cpp2
-rw-r--r--src/mame/drivers/tvc.cpp2
-rw-r--r--src/mame/drivers/tvgame.cpp2
-rw-r--r--src/mame/drivers/twin16.cpp6
-rw-r--r--src/mame/drivers/twincobr.cpp2
-rw-r--r--src/mame/drivers/twinkle.cpp3
-rw-r--r--src/mame/drivers/twins.cpp6
-rw-r--r--src/mame/drivers/tx1.cpp19
-rw-r--r--src/mame/drivers/uapce.cpp3
-rw-r--r--src/mame/drivers/ultraman.cpp3
-rw-r--r--src/mame/drivers/ultratnk.cpp2
-rw-r--r--src/mame/drivers/ultrsprt.cpp3
-rw-r--r--src/mame/drivers/umipoker.cpp2
-rw-r--r--src/mame/drivers/unichamp.cpp2
-rw-r--r--src/mame/drivers/unico.cpp9
-rw-r--r--src/mame/drivers/unior.cpp2
-rw-r--r--src/mame/drivers/univac.cpp2
-rw-r--r--src/mame/drivers/unkhorse.cpp2
-rw-r--r--src/mame/drivers/upscope.cpp3
-rw-r--r--src/mame/drivers/usgames.cpp2
-rw-r--r--src/mame/drivers/ut88.cpp4
-rw-r--r--src/mame/drivers/uzebox.cpp2
-rw-r--r--src/mame/drivers/v6809.cpp2
-rw-r--r--src/mame/drivers/vamphalf.cpp12
-rw-r--r--src/mame/drivers/vaportra.cpp2
-rw-r--r--src/mame/drivers/vastar.cpp2
-rw-r--r--src/mame/drivers/vball.cpp3
-rw-r--r--src/mame/drivers/vboy.cpp3
-rw-r--r--src/mame/drivers/vc4000.cpp2
-rw-r--r--src/mame/drivers/vcombat.cpp4
-rw-r--r--src/mame/drivers/vd.cpp3
-rw-r--r--src/mame/drivers/vector06.cpp2
-rw-r--r--src/mame/drivers/vectrex.cpp2
-rw-r--r--src/mame/drivers/vega.cpp2
-rw-r--r--src/mame/drivers/vegaeo.cpp3
-rw-r--r--src/mame/drivers/vendetta.cpp3
-rw-r--r--src/mame/drivers/vertigo.cpp3
-rw-r--r--src/mame/drivers/vg5k.cpp2
-rw-r--r--src/mame/drivers/vgmplay.cpp3
-rw-r--r--src/mame/drivers/vic10.cpp2
-rw-r--r--src/mame/drivers/vic20.cpp4
-rw-r--r--src/mame/drivers/vicdual.cpp26
-rw-r--r--src/mame/drivers/victor9k.cpp2
-rw-r--r--src/mame/drivers/vidbrain.cpp2
-rw-r--r--src/mame/drivers/videopin.cpp2
-rw-r--r--src/mame/drivers/videopkr.cpp2
-rw-r--r--src/mame/drivers/vigilant.cpp9
-rw-r--r--src/mame/drivers/vindictr.cpp3
-rw-r--r--src/mame/drivers/vip.cpp2
-rw-r--r--src/mame/drivers/viper.cpp3
-rw-r--r--src/mame/drivers/vis.cpp3
-rw-r--r--src/mame/drivers/vixen.cpp2
-rw-r--r--src/mame/drivers/vk100.cpp2
-rw-r--r--src/mame/drivers/vlc.cpp2
-rw-r--r--src/mame/drivers/volfied.cpp2
-rw-r--r--src/mame/drivers/votrpss.cpp2
-rw-r--r--src/mame/drivers/votrtnt.cpp2
-rw-r--r--src/mame/drivers/voyager.cpp3
-rw-r--r--src/mame/drivers/vpoker.cpp2
-rw-r--r--src/mame/drivers/vroulet.cpp2
-rw-r--r--src/mame/drivers/vsnes.cpp6
-rw-r--r--src/mame/drivers/vtech1.cpp2
-rw-r--r--src/mame/drivers/vtech2.cpp2
-rw-r--r--src/mame/drivers/vulgus.cpp2
-rw-r--r--src/mame/drivers/wacky_gator.cpp2
-rw-r--r--src/mame/drivers/wallc.cpp2
-rw-r--r--src/mame/drivers/wardner.cpp2
-rw-r--r--src/mame/drivers/warpwarp.cpp4
-rw-r--r--src/mame/drivers/warriorb.cpp6
-rw-r--r--src/mame/drivers/wc90.cpp2
-rw-r--r--src/mame/drivers/wc90b.cpp2
-rw-r--r--src/mame/drivers/wecleman.cpp6
-rw-r--r--src/mame/drivers/welltris.cpp2
-rw-r--r--src/mame/drivers/wgp.cpp3
-rw-r--r--src/mame/drivers/wheelfir.cpp3
-rw-r--r--src/mame/drivers/wico.cpp2
-rw-r--r--src/mame/drivers/wildpkr.cpp4
-rw-r--r--src/mame/drivers/williams.cpp7
-rw-r--r--src/mame/drivers/wink.cpp2
-rw-r--r--src/mame/drivers/wiping.cpp2
-rw-r--r--src/mame/drivers/witch.cpp2
-rw-r--r--src/mame/drivers/wiz.cpp2
-rw-r--r--src/mame/drivers/wmg.cpp2
-rw-r--r--src/mame/drivers/wolfpack.cpp2
-rw-r--r--src/mame/drivers/wpc_an.cpp4
-rw-r--r--src/mame/drivers/wpc_dot.cpp2
-rw-r--r--src/mame/drivers/wpc_flip1.cpp2
-rw-r--r--src/mame/drivers/wpc_flip2.cpp2
-rw-r--r--src/mame/drivers/wrally.cpp2
-rw-r--r--src/mame/drivers/wswan.cpp3
-rw-r--r--src/mame/drivers/wwfsstar.cpp3
-rw-r--r--src/mame/drivers/wyvernf0.cpp2
-rw-r--r--src/mame/drivers/x07.cpp2
-rw-r--r--src/mame/drivers/x1.cpp3
-rw-r--r--src/mame/drivers/x1twin.cpp11
-rw-r--r--src/mame/drivers/x68k.cpp3
-rw-r--r--src/mame/drivers/xain.cpp2
-rw-r--r--src/mame/drivers/xavix.cpp2
-rw-r--r--src/mame/drivers/xbox.cpp2
-rw-r--r--src/mame/drivers/xerox820.cpp4
-rw-r--r--src/mame/drivers/xexex.cpp3
-rw-r--r--src/mame/drivers/xmen.cpp6
-rw-r--r--src/mame/drivers/xorworld.cpp2
-rw-r--r--src/mame/drivers/xtheball.cpp2
-rw-r--r--src/mame/drivers/xxmissio.cpp2
-rw-r--r--src/mame/drivers/xybots.cpp3
-rw-r--r--src/mame/drivers/xyonix.cpp2
-rw-r--r--src/mame/drivers/y2.cpp2
-rw-r--r--src/mame/drivers/yiear.cpp2
-rw-r--r--src/mame/drivers/ymmu100.cpp3
-rw-r--r--src/mame/drivers/yunsun16.cpp6
-rw-r--r--src/mame/drivers/yunsung8.cpp3
-rw-r--r--src/mame/drivers/yuvomz80.cpp5
-rw-r--r--src/mame/drivers/z1013.cpp2
-rw-r--r--src/mame/drivers/z88.cpp2
-rw-r--r--src/mame/drivers/z9001.cpp2
-rw-r--r--src/mame/drivers/zac2650.cpp2
-rw-r--r--src/mame/drivers/zaccaria.cpp2
-rw-r--r--src/mame/drivers/zaurus.cpp2
-rw-r--r--src/mame/drivers/zaxxon.cpp8
-rw-r--r--src/mame/drivers/zerozone.cpp2
-rw-r--r--src/mame/drivers/zn.cpp6
-rw-r--r--src/mame/drivers/zodiack.cpp2
-rw-r--r--src/mame/drivers/zorba.cpp2
-rw-r--r--src/mame/drivers/zr107.cpp6
-rw-r--r--src/mame/drivers/zrt80.cpp2
-rw-r--r--src/mame/drivers/zwackery.cpp2
-rw-r--r--src/mame/drivers/zx.cpp2
-rw-r--r--src/mame/etc/korgm1.cpp2
-rw-r--r--src/mame/etc/template_driver.cpp2
-rw-r--r--src/mame/machine/at.cpp2
-rw-r--r--src/mame/machine/cit101_kbd.cpp2
-rw-r--r--src/mame/machine/compiskb.cpp2
-rw-r--r--src/mame/machine/dec_lk201.cpp2
-rw-r--r--src/mame/machine/genpin.cpp2
-rw-r--r--src/mame/machine/hec2hrp.cpp2
-rw-r--r--src/mame/machine/inder_sb.cpp2
-rw-r--r--src/mame/machine/kay_kbd.cpp2
-rw-r--r--src/mame/machine/km035.cpp2
-rw-r--r--src/mame/machine/megadriv.cpp6
-rw-r--r--src/mame/machine/mm1kb.cpp2
-rw-r--r--src/mame/machine/mmboard.cpp2
-rw-r--r--src/mame/machine/mpu4.cpp3
-rw-r--r--src/mame/machine/ms7004.cpp2
-rw-r--r--src/mame/machine/pcd_kbd.cpp2
-rw-r--r--src/mame/machine/st0016.cpp3
-rw-r--r--src/mame/machine/teleprinter.cpp2
-rw-r--r--src/mame/machine/v1050kb.cpp2
-rw-r--r--src/mame/machine/vt100_kbd.cpp2
-rw-r--r--src/mame/machine/wangpckb.cpp2
-rw-r--r--src/mame/machine/zorbakbd.cpp2
-rw-r--r--src/mame/video/911_vdt.cpp2
-rw-r--r--src/mame/video/cidelsa.cpp6
-rw-r--r--src/mame/video/comx35.cpp4
-rw-r--r--src/mame/video/pecom.cpp2
-rw-r--r--src/mame/video/tmc1800.cpp4
-rw-r--r--src/mame/video/tmc600.cpp2
1701 files changed, 3409 insertions, 2897 deletions
diff --git a/src/devices/bus/a2bus/a2alfam2.cpp b/src/devices/bus/a2bus/a2alfam2.cpp
index 214c63de6a6..6817176c202 100644
--- a/src/devices/bus/a2bus/a2alfam2.cpp
+++ b/src/devices/bus/a2bus/a2alfam2.cpp
@@ -40,7 +40,8 @@ DEFINE_DEVICE_TYPE(A2BUS_AESMS, a2bus_aesms_device, "a2aesms", "Applied Engin
//-------------------------------------------------
MACHINE_CONFIG_START(a2bus_sn76489_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("alf_l", "alf_r")
+ SPEAKER(config, "alf_l").front_left();
+ SPEAKER(config, "alf_r").front_right();
MCFG_DEVICE_ADD(SN1_TAG, SN76489, 1020484)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "alf_l", 0.50)
@@ -52,7 +53,8 @@ MACHINE_CONFIG_START(a2bus_sn76489_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(a2bus_aesms_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("alf_l", "alf_r")
+ SPEAKER(config, "alf_l").front_left();
+ SPEAKER(config, "alf_r").front_right();
MCFG_DEVICE_ADD(SN1_TAG, SN76489, 1020484)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "alf_l", 0.50)
diff --git a/src/devices/bus/a2bus/a2arcadebd.cpp b/src/devices/bus/a2bus/a2arcadebd.cpp
index 935ad309993..6c69ae6a024 100644
--- a/src/devices/bus/a2bus/a2arcadebd.cpp
+++ b/src/devices/bus/a2bus/a2arcadebd.cpp
@@ -43,7 +43,7 @@ MACHINE_CONFIG_START(a2bus_arcboard_device::device_add_mconfig)
MCFG_TMS9928A_SCREEN_ADD_NTSC( SCREEN_TAG )
MCFG_SCREEN_UPDATE_DEVICE( TMS_TAG, tms9918a_device, screen_update )
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(AY_TAG, AY8910, 1022727)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/a2bus/a2dx1.cpp b/src/devices/bus/a2bus/a2dx1.cpp
index 669a63503a3..5efd112a779 100644
--- a/src/devices/bus/a2bus/a2dx1.cpp
+++ b/src/devices/bus/a2bus/a2dx1.cpp
@@ -32,7 +32,7 @@ DEFINE_DEVICE_TYPE(A2BUS_DX1, a2bus_dx1_device, "a2dx1", "Decillonix DX-1")
//-------------------------------------------------
MACHINE_CONFIG_START(a2bus_dx1_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("dacvol", DAC_8BIT_R2R, 0) // unknown DAC
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/a2bus/a2echoii.cpp b/src/devices/bus/a2bus/a2echoii.cpp
index 8516431d4e2..15e0cb16697 100644
--- a/src/devices/bus/a2bus/a2echoii.cpp
+++ b/src/devices/bus/a2bus/a2echoii.cpp
@@ -34,7 +34,7 @@ DEFINE_DEVICE_TYPE(A2BUS_ECHOII, a2bus_echoii_device, "a2echoii", "Street Electr
//-------------------------------------------------
MACHINE_CONFIG_START(a2bus_echoii_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("echoii")
+ SPEAKER(config, "echoii").front_center();
MCFG_DEVICE_ADD(TMS_TAG, TMS5220, 640000) // Note the Echo II card has a "FREQ" potentiometer which can be used to adjust the tms5220's clock frequency; 640khz is the '8khz' value according to the tms5220 datasheet
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "echoii", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/a2bus/a2mcms.cpp b/src/devices/bus/a2bus/a2mcms.cpp
index 2b82cbc536f..6d11cbebf27 100644
--- a/src/devices/bus/a2bus/a2mcms.cpp
+++ b/src/devices/bus/a2bus/a2mcms.cpp
@@ -50,7 +50,8 @@ DEFINE_DEVICE_TYPE(A2BUS_MCMS2, a2bus_mcms2_device, "a2mcms2", "Mountain Compute
//-------------------------------------------------
MACHINE_CONFIG_START(a2bus_mcms1_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("mcms_l", "mcms_r")
+ SPEAKER(config, "mcms_l").front_left();
+ SPEAKER(config, "mcms_r").front_right();
MCFG_DEVICE_ADD(ENGINE_TAG, MCMS, 1000000)
MCFG_MCMS_IRQ_CALLBACK(WRITELINE(*this, a2bus_mcms1_device, irq_w))
diff --git a/src/devices/bus/a2bus/a2mockingboard.cpp b/src/devices/bus/a2bus/a2mockingboard.cpp
index a6348f40314..83ffd9d43b5 100644
--- a/src/devices/bus/a2bus/a2mockingboard.cpp
+++ b/src/devices/bus/a2bus/a2mockingboard.cpp
@@ -49,7 +49,8 @@ MACHINE_CONFIG_START(a2bus_ayboard_device::device_add_mconfig)
MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(*this, a2bus_ayboard_device, via2_out_b))
MCFG_VIA6522_IRQ_HANDLER(WRITELINE(*this, a2bus_ayboard_device, via2_irq_w))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD(AY1_TAG, AY8913, 1022727)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
MCFG_DEVICE_ADD(AY2_TAG, AY8913, 1022727)
@@ -67,8 +68,10 @@ MACHINE_CONFIG_START(a2bus_phasor_device::device_add_mconfig)
MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(*this, a2bus_ayboard_device, via2_out_b))
MCFG_VIA6522_IRQ_HANDLER(WRITELINE(*this, a2bus_ayboard_device, via2_irq_w))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker2", "rspeaker2")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
+ SPEAKER(config, "lspeaker2").front_left();
+ SPEAKER(config, "rspeaker2").front_right();
MCFG_DEVICE_ADD(AY1_TAG, AY8913, 1022727)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
MCFG_DEVICE_ADD(AY2_TAG, AY8913, 1022727)
@@ -90,13 +93,14 @@ MACHINE_CONFIG_START(a2bus_echoplus_device::device_add_mconfig)
MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(*this, a2bus_ayboard_device, via2_out_b))
MCFG_VIA6522_IRQ_HANDLER(WRITELINE(*this, a2bus_ayboard_device, via2_irq_w))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD(AY1_TAG, AY8913, 1022727)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
MCFG_DEVICE_ADD(AY2_TAG, AY8913, 1022727)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
- MCFG_SPEAKER_STANDARD_MONO("echosp")
+ SPEAKER(config, "echosp").front_center();
MCFG_DEVICE_ADD(E2P_TMS_TAG, TMS5220, 640000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "echosp", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/a2bus/a2sam.cpp b/src/devices/bus/a2bus/a2sam.cpp
index a497363788d..21ea8d1fdca 100644
--- a/src/devices/bus/a2bus/a2sam.cpp
+++ b/src/devices/bus/a2bus/a2sam.cpp
@@ -32,7 +32,7 @@ DEFINE_DEVICE_TYPE(A2BUS_SAM, a2bus_sam_device, "a2sam", "Don't Ask Software S.A
//-------------------------------------------------
MACHINE_CONFIG_START(a2bus_sam_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/a2bus/pc_xporter.cpp b/src/devices/bus/a2bus/pc_xporter.cpp
index 77ec1b3ea5c..0f9900a95bf 100644
--- a/src/devices/bus/a2bus/pc_xporter.cpp
+++ b/src/devices/bus/a2bus/pc_xporter.cpp
@@ -168,7 +168,7 @@ MACHINE_CONFIG_START(a2bus_pcxporter_device::device_add_mconfig)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_KEYTRONIC_PC3270)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/devices/bus/a2bus/ssbapple.cpp b/src/devices/bus/a2bus/ssbapple.cpp
index 508f4b46685..bde53973c13 100644
--- a/src/devices/bus/a2bus/ssbapple.cpp
+++ b/src/devices/bus/a2bus/ssbapple.cpp
@@ -35,7 +35,7 @@ DEFINE_DEVICE_TYPE(A2BUS_SSBAPPLE, a2bus_ssb_device, "a2ssbapl", "Multitech Indu
//-------------------------------------------------
MACHINE_CONFIG_START(a2bus_ssb_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("ssbapple")
+ SPEAKER(config, "ssbapple").front_center();
MCFG_DEVICE_ADD(TMS_TAG, TMS5220, 640000) // guess - this gives 8 kHz output according to the datasheet
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "ssbapple", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/a2bus/ssprite.cpp b/src/devices/bus/a2bus/ssprite.cpp
index 2307bd5ac5e..a9c44aed117 100644
--- a/src/devices/bus/a2bus/ssprite.cpp
+++ b/src/devices/bus/a2bus/ssprite.cpp
@@ -40,7 +40,7 @@ MACHINE_CONFIG_START(a2bus_ssprite_device::device_add_mconfig)
MCFG_TMS9928A_SCREEN_ADD_NTSC( SCREEN_TAG )
MCFG_SCREEN_UPDATE_DEVICE( TMS_TAG, tms9918a_device, screen_update )
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(AY_TAG, AY8912, 1022727)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_DEVICE_ADD(TMS5220_TAG, TMS5220, 640000)
diff --git a/src/devices/bus/a7800/cpuwiz.cpp b/src/devices/bus/a7800/cpuwiz.cpp
index 6593f89f269..8c39f5bf001 100644
--- a/src/devices/bus/a7800/cpuwiz.cpp
+++ b/src/devices/bus/a7800/cpuwiz.cpp
@@ -121,7 +121,7 @@ WRITE8_MEMBER(a78_megacart_device::write_40xx)
// VersaBoard + POKEY @ 0x0450
MACHINE_CONFIG_START(a78_rom_p450_vb_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("pokey450", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "addon", 1.00)
diff --git a/src/devices/bus/a7800/rom.cpp b/src/devices/bus/a7800/rom.cpp
index 4bf9d084287..b40eea850c4 100644
--- a/src/devices/bus/a7800/rom.cpp
+++ b/src/devices/bus/a7800/rom.cpp
@@ -245,7 +245,7 @@ WRITE8_MEMBER(a78_rom_pokey_device::write_40xx)
// TO DO: do we need a PAL variant?!?
MACHINE_CONFIG_START(a78_rom_pokey_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("pokey", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "addon", 1.00)
@@ -343,7 +343,7 @@ WRITE8_MEMBER(a78_rom_sg_pokey_device::write_40xx)
}
MACHINE_CONFIG_START(a78_rom_sg_pokey_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("pokey", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "addon", 1.00)
@@ -498,14 +498,14 @@ WRITE8_MEMBER(a78_rom_act_device::write_40xx)
// Machine configs for PCB variants with a POKEY at $0450
MACHINE_CONFIG_START(a78_rom_p450_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("pokey_450")
+ SPEAKER(config, "pokey_450").front_center();
MCFG_DEVICE_ADD("pokey450", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "pokey_450", 1.00)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(a78_rom_p450_pokey_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("pokey", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "addon", 1.00)
@@ -516,14 +516,14 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(a78_rom_p450_sg_ram_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("pokey_450")
+ SPEAKER(config, "pokey_450").front_center();
MCFG_DEVICE_ADD("pokey450", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "pokey_450", 1.00)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(a78_rom_p450_sg9_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("pokey_450")
+ SPEAKER(config, "pokey_450").front_center();
MCFG_DEVICE_ADD("pokey450", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "pokey_450", 1.00)
diff --git a/src/devices/bus/a7800/xboard.cpp b/src/devices/bus/a7800/xboard.cpp
index 826dda467d3..7859b655b93 100644
--- a/src/devices/bus/a7800/xboard.cpp
+++ b/src/devices/bus/a7800/xboard.cpp
@@ -109,7 +109,7 @@ void a78_xm_device::device_reset()
MACHINE_CONFIG_START(a78_xboard_device::device_add_mconfig)
MCFG_A78_CARTRIDGE_ADD("xb_slot", a7800_cart, nullptr)
- MCFG_SPEAKER_STANDARD_MONO("xb_speaker")
+ SPEAKER(config, "xb_speaker").front_center();
MCFG_DEVICE_ADD("xb_pokey", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "xb_speaker", 1.00)
@@ -118,7 +118,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(a78_xm_device::device_add_mconfig)
MCFG_A78_CARTRIDGE_ADD("xb_slot", a7800_cart, nullptr)
- MCFG_SPEAKER_STANDARD_MONO("xb_speaker")
+ SPEAKER(config, "xb_speaker").front_center();
MCFG_DEVICE_ADD("xb_pokey", POKEY, XTAL(14'318'181)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "xb_speaker", 1.00)
diff --git a/src/devices/bus/abckb/abc77.cpp b/src/devices/bus/abckb/abc77.cpp
index 97cce80367f..1aaaa97b09b 100644
--- a/src/devices/bus/abckb/abc77.cpp
+++ b/src/devices/bus/abckb/abc77.cpp
@@ -144,7 +144,7 @@ MACHINE_CONFIG_START(abc77_device::device_add_mconfig)
MCFG_WATCHDOG_TIME_INIT(attotime::from_hz(XTAL(4'608'000)/3/5/4096))
// discrete sound
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(DISCRETE_TAG, DISCRETE, abc77_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/abckb/abc99.cpp b/src/devices/bus/abckb/abc99.cpp
index 9e27927bb93..af0132cc724 100644
--- a/src/devices/bus/abckb/abc99.cpp
+++ b/src/devices/bus/abckb/abc99.cpp
@@ -172,7 +172,7 @@ MACHINE_CONFIG_START(abc99_device::device_add_mconfig)
MCFG_DEVICE_DISABLE() // HACK fix for broken serial I/O
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/bbc/1mhzbus/beebsid.cpp b/src/devices/bus/bbc/1mhzbus/beebsid.cpp
index 7de066e5933..c2e9509b658 100644
--- a/src/devices/bus/bbc/1mhzbus/beebsid.cpp
+++ b/src/devices/bus/bbc/1mhzbus/beebsid.cpp
@@ -31,7 +31,7 @@ DEFINE_DEVICE_TYPE(BBC_BEEBSID, bbc_beebsid_device, "beebsid", "BeebSID")
//-------------------------------------------------
MACHINE_CONFIG_START(bbc_beebsid_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD(MOS8580_TAG, MOS8580, XTAL(16'000'000) / 16)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
diff --git a/src/devices/bus/bbc/userport/beebspch.cpp b/src/devices/bus/bbc/userport/beebspch.cpp
index 0ddc6d7f09a..d7f40d5783d 100644
--- a/src/devices/bus/bbc/userport/beebspch.cpp
+++ b/src/devices/bus/bbc/userport/beebspch.cpp
@@ -51,7 +51,7 @@ const tiny_rom_entry *bbc_beebspch_device::device_rom_region() const
//-------------------------------------------------
MACHINE_CONFIG_START(bbc_beebspch_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SP0256_TAG, SP0256, 14_MHz_XTAL / 4) // TODO: Crystal unknown
MCFG_SP0256_DATA_REQUEST_CB(WRITELINE(*this, bbc_beebspch_device, cb1_w))
MCFG_SP0256_STANDBY_CB(WRITELINE(*this, bbc_beebspch_device, cb2_w))
diff --git a/src/devices/bus/c64/currah_speech.cpp b/src/devices/bus/c64/currah_speech.cpp
index 25c870085b0..6973f8bd2de 100644
--- a/src/devices/bus/c64/currah_speech.cpp
+++ b/src/devices/bus/c64/currah_speech.cpp
@@ -113,7 +113,7 @@ const tiny_rom_entry *c64_currah_speech_cartridge_device::device_rom_region() co
//-------------------------------------------------
MACHINE_CONFIG_START(c64_currah_speech_cartridge_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SP0256_TAG, SP0256, 4000000) // ???
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/c64/magic_voice.cpp b/src/devices/bus/c64/magic_voice.cpp
index 02e44d73af7..8ec79474d50 100644
--- a/src/devices/bus/c64/magic_voice.cpp
+++ b/src/devices/bus/c64/magic_voice.cpp
@@ -232,7 +232,7 @@ MACHINE_CONFIG_START(c64_magic_voice_cartridge_device::device_add_mconfig)
MCFG_DEVICE_ADD(CD40105_TAG, CD40105, 0)
MCFG_40105_DATA_IN_READY_CB(WRITELINE(MOS6525_TAG, tpi6525_device, i3_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(T6721A_TAG, T6721A, XTAL(640'000))
MCFG_T6721A_EOS_HANDLER(WRITELINE(MOS6525_TAG, tpi6525_device, i2_w))
MCFG_T6721A_PHI2_HANDLER(WRITELINE(DEVICE_SELF, c64_magic_voice_cartridge_device, phi2_w))
diff --git a/src/devices/bus/c64/sfx_sound_expander.cpp b/src/devices/bus/c64/sfx_sound_expander.cpp
index fd5b36306d7..daaac1e10c4 100644
--- a/src/devices/bus/c64/sfx_sound_expander.cpp
+++ b/src/devices/bus/c64/sfx_sound_expander.cpp
@@ -42,7 +42,7 @@ WRITE_LINE_MEMBER( c64_sfx_sound_expander_cartridge_device::opl_irq_w )
//-------------------------------------------------
MACHINE_CONFIG_START(c64_sfx_sound_expander_cartridge_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(YM3526_TAG, YM3526, XTAL(3'579'545))
MCFG_YM3526_IRQ_HANDLER(WRITELINE(*this, c64_sfx_sound_expander_cartridge_device, opl_irq_w))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.70)
diff --git a/src/devices/bus/c64/speakeasy.cpp b/src/devices/bus/c64/speakeasy.cpp
index ff566a8456b..09427458fe7 100644
--- a/src/devices/bus/c64/speakeasy.cpp
+++ b/src/devices/bus/c64/speakeasy.cpp
@@ -32,7 +32,7 @@ DEFINE_DEVICE_TYPE(C64_SPEAKEASY, c64_speakeasy_cartridge_device, "c64_speakeasy
//-------------------------------------------------
MACHINE_CONFIG_START(c64_speakeasy_cartridge_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SC01A_TAG, VOTRAX_SC01, 720000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.85)
diff --git a/src/devices/bus/cbus/pc9801_118.cpp b/src/devices/bus/cbus/pc9801_118.cpp
index 13e7503b2fc..ca55b15da34 100644
--- a/src/devices/bus/cbus/pc9801_118.cpp
+++ b/src/devices/bus/cbus/pc9801_118.cpp
@@ -51,7 +51,7 @@ WRITE_LINE_MEMBER(pc9801_118_device::pc9801_sound_irq)
//-------------------------------------------------
MACHINE_CONFIG_START(pc9801_118_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("opn3", YM2608, MAIN_CLOCK_X2*4) // actually YMF288, unknown clock / divider, might be X1 x 5 actually
MCFG_YM2608_IRQ_HANDLER(WRITELINE(*this, pc9801_118_device, pc9801_sound_irq))
MCFG_AY8910_PORT_A_READ_CB(READ8(*this, pc9801_118_device, opn_porta_r))
diff --git a/src/devices/bus/cbus/pc9801_26.cpp b/src/devices/bus/cbus/pc9801_26.cpp
index 45dbe8bd216..ab5cba671f6 100644
--- a/src/devices/bus/cbus/pc9801_26.cpp
+++ b/src/devices/bus/cbus/pc9801_26.cpp
@@ -52,7 +52,7 @@ WRITE_LINE_MEMBER(pc9801_26_device::pc9801_sound_irq)
//-------------------------------------------------
MACHINE_CONFIG_START(pc9801_26_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("opn", YM2203, MAIN_CLOCK_X1*2) // unknown clock / divider
MCFG_YM2203_IRQ_HANDLER(WRITELINE(*this, pc9801_26_device, pc9801_sound_irq))
MCFG_AY8910_PORT_A_READ_CB(READ8(*this, pc9801_26_device, opn_porta_r))
diff --git a/src/devices/bus/cbus/pc9801_86.cpp b/src/devices/bus/cbus/pc9801_86.cpp
index ca7d5f4c8a8..ea57d86f41e 100644
--- a/src/devices/bus/cbus/pc9801_86.cpp
+++ b/src/devices/bus/cbus/pc9801_86.cpp
@@ -53,7 +53,8 @@ WRITE_LINE_MEMBER(pc9801_86_device::sound_irq)
//-------------------------------------------------
MACHINE_CONFIG_START(pc9801_86_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("opna", YM2608, 7.987_MHz_XTAL)
MCFG_YM2608_IRQ_HANDLER(WRITELINE(*this, pc9801_86_device, sound_irq))
MCFG_AY8910_OUTPUT_TYPE(0)
diff --git a/src/devices/bus/cbus/pc9801_amd98.cpp b/src/devices/bus/cbus/pc9801_amd98.cpp
index 6f9d3bbbd49..0e5d39579da 100644
--- a/src/devices/bus/cbus/pc9801_amd98.cpp
+++ b/src/devices/bus/cbus/pc9801_amd98.cpp
@@ -46,7 +46,8 @@ DEFINE_DEVICE_TYPE(PC9801_AMD98, pc9801_amd98_device, "pc9801_amd98", "pc9801_am
//-------------------------------------------------
MACHINE_CONFIG_START(pc9801_amd98_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker","rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ay1", AY8910, MAIN_CLOCK_X1*2)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("OPN_PA1"))
MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(*this, pc9801_amd98_device,ay3_address_w))
diff --git a/src/devices/bus/centronics/covox.cpp b/src/devices/bus/centronics/covox.cpp
index 9db269fc137..e508578ffe6 100644
--- a/src/devices/bus/centronics/covox.cpp
+++ b/src/devices/bus/centronics/covox.cpp
@@ -40,7 +40,7 @@ centronics_covox_device::centronics_covox_device(const machine_config &mconfig,
MACHINE_CONFIG_START(centronics_covox_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
@@ -89,7 +89,8 @@ centronics_covox_stereo_device::centronics_covox_stereo_device(const machine_con
MACHINE_CONFIG_START(centronics_covox_stereo_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ldac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("rdac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/devices/bus/centronics/digiblst.cpp b/src/devices/bus/centronics/digiblst.cpp
index a97f86a3c8a..99a046f4d13 100644
--- a/src/devices/bus/centronics/digiblst.cpp
+++ b/src/devices/bus/centronics/digiblst.cpp
@@ -40,7 +40,7 @@ centronics_digiblaster_device::centronics_digiblaster_device(const machine_confi
MACHINE_CONFIG_START(centronics_digiblaster_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/centronics/epson_ex800.cpp b/src/devices/bus/centronics/epson_ex800.cpp
index aa25e459cc8..b6b2b9348f6 100644
--- a/src/devices/bus/centronics/epson_ex800.cpp
+++ b/src/devices/bus/centronics/epson_ex800.cpp
@@ -229,7 +229,7 @@ MACHINE_CONFIG_START(epson_ex800_device::device_add_mconfig)
MCFG_DEFAULT_LAYOUT(layout_ex800)
/* audio hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 4000) /* measured at 4000 Hz */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/centronics/epson_lx800.cpp b/src/devices/bus/centronics/epson_lx800.cpp
index 9e782023bb5..d86737dabfe 100644
--- a/src/devices/bus/centronics/epson_lx800.cpp
+++ b/src/devices/bus/centronics/epson_lx800.cpp
@@ -85,7 +85,7 @@ MACHINE_CONFIG_START(epson_lx800_device::device_add_mconfig)
MCFG_DEFAULT_LAYOUT(layout_lx800)
/* audio hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 4000) // ?
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.05)
diff --git a/src/devices/bus/centronics/epson_lx810l.cpp b/src/devices/bus/centronics/epson_lx810l.cpp
index a3c327267b8..4da390513c5 100644
--- a/src/devices/bus/centronics/epson_lx810l.cpp
+++ b/src/devices/bus/centronics/epson_lx810l.cpp
@@ -141,7 +141,7 @@ MACHINE_CONFIG_START(epson_lx810l_device::device_add_mconfig)
MCFG_SCREEN_UPDATE_DRIVER(epson_lx810l_device, screen_update_lx810l)
/* audio hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT)
diff --git a/src/devices/bus/coco/coco_gmc.cpp b/src/devices/bus/coco/coco_gmc.cpp
index 25aafe1f0a3..310e037fe17 100644
--- a/src/devices/bus/coco/coco_gmc.cpp
+++ b/src/devices/bus/coco/coco_gmc.cpp
@@ -52,7 +52,7 @@ namespace
MACHINE_CONFIG_START(coco_pak_gmc_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("gmc_speaker")
+ SPEAKER(config, "gmc_speaker").front_center();
MCFG_DEVICE_ADD(SN76489AN_TAG, SN76489A, 4_MHz_XTAL)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "gmc_speaker", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/coco/coco_orch90.cpp b/src/devices/bus/coco/coco_orch90.cpp
index 58738456824..f1dcdf3ff28 100644
--- a/src/devices/bus/coco/coco_orch90.cpp
+++ b/src/devices/bus/coco/coco_orch90.cpp
@@ -108,7 +108,8 @@ namespace
//**************************************************************************
MACHINE_CONFIG_START(coco_orch90_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ldac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.5) // ls374.ic5 + r7 (8x20k) + r9 (8x10k)
MCFG_DEVICE_ADD("rdac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.5) // ls374.ic4 + r6 (8x20k) + r8 (8x10k)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/devices/bus/coco/coco_ssc.cpp b/src/devices/bus/coco/coco_ssc.cpp
index 8c630dfb75c..b79e82c78cd 100644
--- a/src/devices/bus/coco/coco_ssc.cpp
+++ b/src/devices/bus/coco/coco_ssc.cpp
@@ -167,7 +167,7 @@ MACHINE_CONFIG_START(coco_ssc_device::device_add_mconfig)
MCFG_RAM_DEFAULT_SIZE("2K")
MCFG_RAM_DEFAULT_VALUE(0x00)
- MCFG_SPEAKER_STANDARD_MONO("ssc_audio")
+ SPEAKER(config, "ssc_audio").front_center();
MCFG_DEVICE_ADD(SP0256_TAG, SP0256, XTAL(3'120'000))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "ssc_audio", SP0256_GAIN)
diff --git a/src/devices/bus/coco/dragon_jcbsnd.cpp b/src/devices/bus/coco/dragon_jcbsnd.cpp
index 239e4160405..68265861715 100644
--- a/src/devices/bus/coco/dragon_jcbsnd.cpp
+++ b/src/devices/bus/coco/dragon_jcbsnd.cpp
@@ -81,7 +81,7 @@ uint8_t* dragon_jcbsnd_device::get_cart_base()
//-------------------------------------------------
MACHINE_CONFIG_START(dragon_jcbsnd_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay8910", AY8910, DERIVED_CLOCK(1, 1)) /* AY-3-8910 - clock not verified */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/cpc/amdrum.cpp b/src/devices/bus/cpc/amdrum.cpp
index 3d892f473d9..dc2253a79a1 100644
--- a/src/devices/bus/cpc/amdrum.cpp
+++ b/src/devices/bus/cpc/amdrum.cpp
@@ -21,7 +21,7 @@ DEFINE_DEVICE_TYPE(CPC_AMDRUM, cpc_amdrum_device, "cpc_amdrum", "Amdrum")
MACHINE_CONFIG_START(cpc_amdrum_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/cpc/cpc_ssa1.cpp b/src/devices/bus/cpc/cpc_ssa1.cpp
index cbfbe0c161d..592d6970693 100644
--- a/src/devices/bus/cpc/cpc_ssa1.cpp
+++ b/src/devices/bus/cpc/cpc_ssa1.cpp
@@ -116,7 +116,7 @@ const tiny_rom_entry *cpc_dkspeech_device::device_rom_region() const
// device machine config
MACHINE_CONFIG_START(cpc_ssa1_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sp0256",SP0256,XTAL(3'120'000))
MCFG_SP0256_DATA_REQUEST_CB(WRITELINE(*this, cpc_ssa1_device, lrq_cb))
MCFG_SP0256_STANDBY_CB(WRITELINE(*this, cpc_ssa1_device, sby_cb))
@@ -132,7 +132,7 @@ MACHINE_CONFIG_START(cpc_ssa1_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(cpc_dkspeech_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sp0256",SP0256,XTAL(4'000'000)) // uses the CPC's clock from pin 50 of the expansion port
MCFG_SP0256_DATA_REQUEST_CB(WRITELINE(*this, cpc_dkspeech_device, lrq_cb))
MCFG_SP0256_STANDBY_CB(WRITELINE(*this, cpc_dkspeech_device, sby_cb))
diff --git a/src/devices/bus/cpc/magicsound.cpp b/src/devices/bus/cpc/magicsound.cpp
index cd18889445d..b817aebbb1a 100644
--- a/src/devices/bus/cpc/magicsound.cpp
+++ b/src/devices/bus/cpc/magicsound.cpp
@@ -56,7 +56,7 @@ MACHINE_CONFIG_START(al_magicsound_device::device_add_mconfig)
MCFG_PIT8253_OUT1_HANDLER(WRITELINE(*this, al_magicsound_device, da0_w))
MCFG_PIT8253_CLK2(XTAL(4'000'000))
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/cpc/playcity.cpp b/src/devices/bus/cpc/playcity.cpp
index a375fccce2c..433955b9ba7 100644
--- a/src/devices/bus/cpc/playcity.cpp
+++ b/src/devices/bus/cpc/playcity.cpp
@@ -30,7 +30,8 @@ MACHINE_CONFIG_START(cpc_playcity_device::device_add_mconfig)
MCFG_Z80CTC_ZC2_CB(WRITELINE("ctc",z80ctc_device, trg3))
MCFG_Z80CTC_INTR_CB(WRITELINE(*this, cpc_playcity_device, ctc_intr_cb))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker","rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymz_1",YMZ294,XTAL(4'000'000)) // when timer is not set, operates at 4MHz (interally divided by 2, so equivalent to the ST)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.30)
MCFG_DEVICE_ADD("ymz_2",YMZ294,XTAL(4'000'000))
diff --git a/src/devices/bus/ecbbus/grip.cpp b/src/devices/bus/ecbbus/grip.cpp
index 0be0ed9a8e5..54ef433fae4 100644
--- a/src/devices/bus/ecbbus/grip.cpp
+++ b/src/devices/bus/ecbbus/grip.cpp
@@ -423,7 +423,7 @@ MACHINE_CONFIG_START(ecb_grip21_device::device_add_mconfig)
MCFG_PALETTE_ADD_MONOCHROME("palette")
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SPEAKER_LEVELS(4, speaker_levels)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/devices/bus/einstein/pipe/speculator.cpp b/src/devices/bus/einstein/pipe/speculator.cpp
index 90b2000568f..1925a55620f 100644
--- a/src/devices/bus/einstein/pipe/speculator.cpp
+++ b/src/devices/bus/einstein/pipe/speculator.cpp
@@ -44,7 +44,7 @@ MACHINE_CONFIG_START(einstein_speculator_device::device_add_mconfig)
MCFG_TTL74123_CLEAR_PIN_VALUE(0)
MCFG_TTL74123_OUTPUT_CHANGED_CB(WRITELINE(*this, einstein_speculator_device, ic5b_q_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
diff --git a/src/devices/bus/einstein/userport/speech.cpp b/src/devices/bus/einstein/userport/speech.cpp
index 3d049ae1355..47306193d69 100644
--- a/src/devices/bus/einstein/userport/speech.cpp
+++ b/src/devices/bus/einstein/userport/speech.cpp
@@ -38,7 +38,7 @@ const tiny_rom_entry *einstein_speech_device::device_rom_region() const
//-------------------------------------------------
MACHINE_CONFIG_START(einstein_speech_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sp0256", SP0256, 3120000) // ???
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/electron/cart/sndexp.cpp b/src/devices/bus/electron/cart/sndexp.cpp
index c04305cbb57..de0c7704020 100644
--- a/src/devices/bus/electron/cart/sndexp.cpp
+++ b/src/devices/bus/electron/cart/sndexp.cpp
@@ -28,7 +28,7 @@ DEFINE_DEVICE_TYPE(ELECTRON_SNDEXP, electron_sndexp_device, "electron_sndexp", "
//-------------------------------------------------
MACHINE_CONFIG_START(electron_sndexp_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sn76489", SN76489, 16_MHz_XTAL / 4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/electron/cart/sndexp3.cpp b/src/devices/bus/electron/cart/sndexp3.cpp
index 26f62fcd7d2..1bf32aa2fb4 100644
--- a/src/devices/bus/electron/cart/sndexp3.cpp
+++ b/src/devices/bus/electron/cart/sndexp3.cpp
@@ -25,7 +25,7 @@ DEFINE_DEVICE_TYPE(ELECTRON_SNDEXP3, electron_sndexp3_device, "electron_sndexp3"
MACHINE_CONFIG_START(electron_sndexp3_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sn76489", SN76489, 16_MHz_XTAL / 4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/electron/m2105.cpp b/src/devices/bus/electron/m2105.cpp
index f18ea158766..2eaa3fae241 100644
--- a/src/devices/bus/electron/m2105.cpp
+++ b/src/devices/bus/electron/m2105.cpp
@@ -56,7 +56,7 @@ ROM_END
MACHINE_CONFIG_START(electron_m2105_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_INPUT_MERGER_ANY_HIGH("irqs")
MCFG_INPUT_MERGER_OUTPUT_HANDLER(WRITELINE(*this, electron_m2105_device, intrq_w))
diff --git a/src/devices/bus/interpro/keyboard/hle.cpp b/src/devices/bus/interpro/keyboard/hle.cpp
index 936ac09e3f3..3f2d70d2293 100644
--- a/src/devices/bus/interpro/keyboard/hle.cpp
+++ b/src/devices/bus/interpro/keyboard/hle.cpp
@@ -278,7 +278,7 @@ WRITE_LINE_MEMBER(hle_device_base::input_txd)
}
MACHINE_CONFIG_START(hle_device_base::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("bell")
+ SPEAKER(config, "bell").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, ATTOSECONDS_TO_HZ(480 * ATTOSECONDS_PER_MICROSECOND))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/interpro/keyboard/lle.cpp b/src/devices/bus/interpro/keyboard/lle.cpp
index 7454162c8ce..1ebfb25c083 100644
--- a/src/devices/bus/interpro/keyboard/lle.cpp
+++ b/src/devices/bus/interpro/keyboard/lle.cpp
@@ -153,7 +153,7 @@ WRITE_LINE_MEMBER(lle_device_base::input_txd)
MACHINE_CONFIG_START(lle_device_base::device_add_mconfig)
MCFG_DEVICE_ADD("mcu", I8049, 11_MHz_XTAL)
- MCFG_SPEAKER_STANDARD_MONO("keyboard")
+ SPEAKER(config, "keyboard").front_center();
MCFG_DEVICE_ADD("bell", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "keyboard", 0.25)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/intv/ecs.cpp b/src/devices/bus/intv/ecs.cpp
index 3a05c6598b0..27d100d5864 100644
--- a/src/devices/bus/intv/ecs.cpp
+++ b/src/devices/bus/intv/ecs.cpp
@@ -95,7 +95,7 @@ void intv_ecs_device::late_subslot_setup()
MACHINE_CONFIG_START(intv_ecs_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono_ecs")
+ SPEAKER(config, "mono_ecs").front_center();
MCFG_DEVICE_ADD("ay8914", AY8914, XTAL(3'579'545)/2)
MCFG_AY8910_PORT_A_READ_CB(READ8("ctrl_port", intvecs_control_port_device, portA_r))
diff --git a/src/devices/bus/intv/voice.cpp b/src/devices/bus/intv/voice.cpp
index bc49aca12be..4ce9417b467 100644
--- a/src/devices/bus/intv/voice.cpp
+++ b/src/devices/bus/intv/voice.cpp
@@ -70,7 +70,7 @@ void intv_voice_device::late_subslot_setup()
//-------------------------------------------------
MACHINE_CONFIG_START(intv_voice_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono_voice")
+ SPEAKER(config, "mono_voice").front_center();
MCFG_DEVICE_ADD("sp0256_speech", SP0256, 3120000)
/* The Intellivoice uses a speaker with its own volume control so the relative volumes to use are subjective */
diff --git a/src/devices/bus/isa/adlib.cpp b/src/devices/bus/isa/adlib.cpp
index de4e62b2dd8..814fdeaaf58 100644
--- a/src/devices/bus/isa/adlib.cpp
+++ b/src/devices/bus/isa/adlib.cpp
@@ -45,7 +45,7 @@ DEFINE_DEVICE_TYPE(ISA8_ADLIB, isa8_adlib_device, "isa_adlib", "Ad Lib Sound Car
//-------------------------------------------------
MACHINE_CONFIG_START(isa8_adlib_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ym3812", YM3812, ym3812_StdClock)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 3.00)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/isa/dectalk.cpp b/src/devices/bus/isa/dectalk.cpp
index 1b327a25534..8dfb1acdae2 100644
--- a/src/devices/bus/isa/dectalk.cpp
+++ b/src/devices/bus/isa/dectalk.cpp
@@ -168,7 +168,7 @@ MACHINE_CONFIG_START(dectalk_isa_device::device_add_mconfig)
MCFG_TMS32010_BIO_IN_CB(READLINE(*this, dectalk_isa_device, bio_line_r))
MCFG_DEVICE_PROGRAM_MAP(dectalk_dsp_map)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_12BIT_R2R, 0) MCFG_SOUND_ROUTE(0, "speaker", 1.0) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/isa/gblaster.cpp b/src/devices/bus/isa/gblaster.cpp
index be30269c8e5..e812827e4e6 100644
--- a/src/devices/bus/isa/gblaster.cpp
+++ b/src/devices/bus/isa/gblaster.cpp
@@ -69,7 +69,8 @@ DEFINE_DEVICE_TYPE(ISA8_GAME_BLASTER, isa8_gblaster_device, "isa_gblaster", "Gam
//-------------------------------------------------
MACHINE_CONFIG_START(isa8_gblaster_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_SAA1099_ADD("saa1099.1", 7159090)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50)
diff --git a/src/devices/bus/isa/gus.cpp b/src/devices/bus/isa/gus.cpp
index 8617da6556b..cdae451590d 100644
--- a/src/devices/bus/isa/gus.cpp
+++ b/src/devices/bus/isa/gus.cpp
@@ -1251,7 +1251,8 @@ INPUT_PORTS_END
//-------------------------------------------------
MACHINE_CONFIG_START(isa16_gus_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker","rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("gf1",GGF1,GF1_CLOCK)
MCFG_SOUND_ROUTE(0,"lspeaker",0.50)
MCFG_SOUND_ROUTE(1,"rspeaker",0.50)
diff --git a/src/devices/bus/isa/ibm_mfc.cpp b/src/devices/bus/isa/ibm_mfc.cpp
index 5ff0aab0b68..6fd01e344d8 100644
--- a/src/devices/bus/isa/ibm_mfc.cpp
+++ b/src/devices/bus/isa/ibm_mfc.cpp
@@ -403,7 +403,8 @@ MACHINE_CONFIG_START(isa8_ibm_mfc_device::device_add_mconfig)
MCFG_PIT8253_CLK2(XTAL(4'000'000) / 2)
MCFG_PIT8253_OUT2_HANDLER(WRITELINE("d8253", pit8253_device, write_clk1))
- MCFG_SPEAKER_STANDARD_STEREO("ymleft", "ymright")
+ SPEAKER(config, "ymleft").front_left();
+ SPEAKER(config, "ymright").front_right();
MCFG_DEVICE_ADD("ym2151", YM2151, XTAL(4'000'000))
MCFG_YM2151_IRQ_HANDLER(WRITELINE(*this, isa8_ibm_mfc_device, ibm_mfc_ym_irq))
MCFG_SOUND_ROUTE(0, "ymleft", 1.00)
diff --git a/src/devices/bus/isa/ide.cpp b/src/devices/bus/isa/ide.cpp
index 648dd451814..f2c4cdd2b75 100644
--- a/src/devices/bus/isa/ide.cpp
+++ b/src/devices/bus/isa/ide.cpp
@@ -74,7 +74,8 @@ MACHINE_CONFIG_START(isa16_ide_device::device_add_mconfig)
MCFG_IDE_CONTROLLER_ADD("ide", ata_devices, "hdd", nullptr, false)
MCFG_ATA_INTERFACE_IRQ_HANDLER(WRITELINE(*this, isa16_ide_device, ide_interrupt))
- MCFG_SPEAKER_STANDARD_STEREO("lheadphone", "rheadphone")
+ SPEAKER(config, "lheadphone").front_left();
+ SPEAKER(config, "rheadphone").front_right();
MCFG_DEVICE_MODIFY("ide:0")
MCFG_SLOT_OPTION_MACHINE_CONFIG("cdrom", cdrom_headphones)
diff --git a/src/devices/bus/isa/p1_sound.cpp b/src/devices/bus/isa/p1_sound.cpp
index 5ef08234926..ee443231087 100644
--- a/src/devices/bus/isa/p1_sound.cpp
+++ b/src/devices/bus/isa/p1_sound.cpp
@@ -64,7 +64,7 @@ MACHINE_CONFIG_START(p1_sound_device::device_add_mconfig)
MCFG_PIT8253_CLK2(XTAL(12'500'000)/10)
// MCFG_PIT8253_OUT2_HANDLER(XXX)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("filter", FILTER_RC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "filter", 0.5) // unknown DAC
diff --git a/src/devices/bus/isa/sb16.cpp b/src/devices/bus/isa/sb16.cpp
index b0e0ceb75b6..97aa2b1527d 100644
--- a/src/devices/bus/isa/sb16.cpp
+++ b/src/devices/bus/isa/sb16.cpp
@@ -417,7 +417,8 @@ MACHINE_CONFIG_START(sb16_lle_device::device_add_mconfig)
MCFG_MCS51_PORT_P2_IN_CB(READ8(*this, sb16_lle_device, p2_r))
MCFG_MCS51_PORT_P2_OUT_CB(WRITE8(*this, sb16_lle_device, p2_w))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymf262", YMF262, XTAL(14'318'181))
MCFG_SOUND_ROUTE(0, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.00)
diff --git a/src/devices/bus/isa/sblaster.cpp b/src/devices/bus/isa/sblaster.cpp
index 394f072e791..55e6f1a6a40 100644
--- a/src/devices/bus/isa/sblaster.cpp
+++ b/src/devices/bus/isa/sblaster.cpp
@@ -1141,7 +1141,8 @@ DEFINE_DEVICE_TYPE(ISA16_SOUND_BLASTER_16, isa16_sblaster16_device, "isa_sblaste
//-------------------------------------------------
MACHINE_CONFIG_START(isa8_sblaster1_0_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ym3812", YM3812, ym3812_StdClock)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 3.00)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 3.00)
@@ -1166,7 +1167,8 @@ MACHINE_CONFIG_START(isa8_sblaster1_0_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(isa8_sblaster1_5_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ym3812", YM3812, ym3812_StdClock)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00)
@@ -1186,7 +1188,8 @@ MACHINE_CONFIG_START(isa8_sblaster1_5_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(isa16_sblaster16_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymf262", YMF262, ymf262_StdClock)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.00)
diff --git a/src/devices/bus/isa/ssi2001.cpp b/src/devices/bus/isa/ssi2001.cpp
index 453c8d5125d..612457ff1fb 100644
--- a/src/devices/bus/isa/ssi2001.cpp
+++ b/src/devices/bus/isa/ssi2001.cpp
@@ -11,7 +11,7 @@
DEFINE_DEVICE_TYPE(ISA8_SSI2001, ssi2001_device, "ssi2001", "Innovation SSI-2001 Audio Adapter")
MACHINE_CONFIG_START(ssi2001_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sid6581", MOS6581, XTAL(14'318'181)/16)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MCFG_PC_JOY_ADD("pc_joy")
diff --git a/src/devices/bus/isa/stereo_fx.cpp b/src/devices/bus/isa/stereo_fx.cpp
index 66062702719..96986c8bc0c 100644
--- a/src/devices/bus/isa/stereo_fx.cpp
+++ b/src/devices/bus/isa/stereo_fx.cpp
@@ -123,7 +123,8 @@ MACHINE_CONFIG_START(stereo_fx_device::device_add_mconfig)
MCFG_MCS51_PORT_P3_IN_CB(READ8(*this, stereo_fx_device, p3_r))
MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(*this, stereo_fx_device, p3_w))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ym3812", YM3812, XTAL(3'579'545))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00)
diff --git a/src/devices/bus/lpci/southbridge.cpp b/src/devices/bus/lpci/southbridge.cpp
index 8b824466d9b..f7ba7f59c8e 100644
--- a/src/devices/bus/lpci/southbridge.cpp
+++ b/src/devices/bus/lpci/southbridge.cpp
@@ -85,7 +85,7 @@ MACHINE_CONFIG_START(southbridge_device::device_add_mconfig)
MCFG_BUS_MASTER_IDE_CONTROLLER_SPACE(":maincpu", AS_PROGRAM)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/devices/bus/msx_cart/fmpac.cpp b/src/devices/bus/msx_cart/fmpac.cpp
index 7cc7e463d65..7054c8c366a 100644
--- a/src/devices/bus/msx_cart/fmpac.cpp
+++ b/src/devices/bus/msx_cart/fmpac.cpp
@@ -31,7 +31,7 @@ msx_cart_fmpac_device::msx_cart_fmpac_device(const machine_config &mconfig, cons
MACHINE_CONFIG_START(msx_cart_fmpac_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ym2413", YM2413, XTAL(10'738'635)/3)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/msx_cart/konami.cpp b/src/devices/bus/msx_cart/konami.cpp
index 272ee085188..e9eb4325e78 100644
--- a/src/devices/bus/msx_cart/konami.cpp
+++ b/src/devices/bus/msx_cart/konami.cpp
@@ -143,7 +143,7 @@ msx_cart_konami_scc_device::msx_cart_konami_scc_device(const machine_config &mco
MACHINE_CONFIG_START(msx_cart_konami_scc_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("k051649", K051649, XTAL(10'738'635)/3/2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
MACHINE_CONFIG_END
@@ -474,7 +474,7 @@ msx_cart_synthesizer_device::msx_cart_synthesizer_device(const machine_config &m
MACHINE_CONFIG_START(msx_cart_synthesizer_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.1) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
@@ -547,7 +547,7 @@ msx_cart_konami_sound_device::msx_cart_konami_sound_device(const machine_config
MACHINE_CONFIG_START(msx_cart_konami_sound_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("k052539", K051649, XTAL(10'738'635)/3/2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
MACHINE_CONFIG_END
@@ -874,7 +874,7 @@ void msx_cart_keyboard_master_device::vlm_map(address_map &map)
MACHINE_CONFIG_START(msx_cart_keyboard_master_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("vlm5030", VLM5030, XTAL(3'579'545))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MCFG_DEVICE_ADDRESS_MAP(0, vlm_map)
diff --git a/src/devices/bus/msx_cart/majutsushi.cpp b/src/devices/bus/msx_cart/majutsushi.cpp
index 5288360ee87..ef76b62af2a 100644
--- a/src/devices/bus/msx_cart/majutsushi.cpp
+++ b/src/devices/bus/msx_cart/majutsushi.cpp
@@ -28,7 +28,7 @@ msx_cart_majutsushi_device::msx_cart_majutsushi_device(const machine_config &mco
MACHINE_CONFIG_START(msx_cart_majutsushi_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.05) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/devices/bus/msx_cart/moonsound.cpp b/src/devices/bus/msx_cart/moonsound.cpp
index d21810eb287..8289a086a18 100644
--- a/src/devices/bus/msx_cart/moonsound.cpp
+++ b/src/devices/bus/msx_cart/moonsound.cpp
@@ -38,7 +38,8 @@ void msx_cart_moonsound_device::ymf278b_map(address_map &map)
MACHINE_CONFIG_START(msx_cart_moonsound_device::device_add_mconfig)
// The moonsound cartridge has a separate stereo output.
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymf278b", YMF278B, YMF278B_STD_CLOCK)
MCFG_DEVICE_ADDRESS_MAP(0, ymf278b_map)
MCFG_YMF278B_IRQ_HANDLER(WRITELINE(*this, msx_cart_moonsound_device, irq_w))
diff --git a/src/devices/bus/msx_cart/msx_audio.cpp b/src/devices/bus/msx_cart/msx_audio.cpp
index 8235d91aac2..46983943967 100644
--- a/src/devices/bus/msx_cart/msx_audio.cpp
+++ b/src/devices/bus/msx_cart/msx_audio.cpp
@@ -82,7 +82,7 @@ msx_cart_msx_audio_hxmu900_device::msx_cart_msx_audio_hxmu900_device(const machi
MACHINE_CONFIG_START(msx_cart_msx_audio_hxmu900_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("y8950", Y8950, XTAL(3'579'545)) // Not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MCFG_Y8950_KEYBOARD_WRITE_HANDLER(WRITE8("kbdc", msx_audio_kbdc_port_device, write))
@@ -148,7 +148,7 @@ msx_cart_msx_audio_nms1205_device::msx_cart_msx_audio_nms1205_device(const machi
MACHINE_CONFIG_START(msx_cart_msx_audio_nms1205_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
// At the same time the sound is also output on two output on the nms1205 cartridge itself
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("y8950", Y8950, XTAL(3'579'545))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MCFG_Y8950_KEYBOARD_WRITE_HANDLER(WRITE8("kbdc", msx_audio_kbdc_port_device, write))
@@ -248,7 +248,7 @@ msx_cart_msx_audio_fsca1_device::msx_cart_msx_audio_fsca1_device(const machine_c
MACHINE_CONFIG_START(msx_cart_msx_audio_fsca1_device::device_add_mconfig)
// This is actually incorrect. The sound output is passed back into the MSX machine where it is mixed internally and output through the system 'speaker'.
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("y8950", Y8950, XTAL(3'579'545))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MCFG_Y8950_KEYBOARD_WRITE_HANDLER(WRITE8("kbdc", msx_audio_kbdc_port_device, write))
diff --git a/src/devices/bus/msx_cart/yamaha.cpp b/src/devices/bus/msx_cart/yamaha.cpp
index 27d014aa61f..1ba78c75af9 100644
--- a/src/devices/bus/msx_cart/yamaha.cpp
+++ b/src/devices/bus/msx_cart/yamaha.cpp
@@ -51,7 +51,8 @@ MACHINE_CONFIG_START(msx_cart_sfg_device::device_add_mconfig)
// YM3012 (DAC)
// YM2148 (MKS)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ym2151", YM2151, XTAL(3'579'545)) // The SFG01 uses a YM2151, the SFG05 uses a YM2164, input clock comes from the main cpu frequency
MCFG_YM2151_IRQ_HANDLER(WRITELINE(*this, msx_cart_sfg_device, ym2151_irq_w))
MCFG_SOUND_ROUTE(0, "lspeaker", 0.80)
diff --git a/src/devices/bus/nes/jaleco.cpp b/src/devices/bus/nes/jaleco.cpp
index 6ce19e766aa..4ea0ea6dba5 100644
--- a/src/devices/bus/nes/jaleco.cpp
+++ b/src/devices/bus/nes/jaleco.cpp
@@ -775,7 +775,7 @@ static const char *const jf33_sample_names[] =
MACHINE_CONFIG_START(nes_jf13_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(16)
@@ -786,7 +786,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(nes_jf17_adpcm_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(20)
@@ -797,7 +797,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(nes_jf19_adpcm_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(20)
@@ -808,7 +808,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(nes_jf23_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(20)
@@ -819,7 +819,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(nes_jf24_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(6)
@@ -830,7 +830,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(nes_jf29_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(20)
@@ -841,7 +841,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(nes_jf33_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(20)
diff --git a/src/devices/bus/nes/konami.cpp b/src/devices/bus/nes/konami.cpp
index d064a8d89f0..4f1a4de66e2 100644
--- a/src/devices/bus/nes/konami.cpp
+++ b/src/devices/bus/nes/konami.cpp
@@ -641,7 +641,7 @@ WRITE8_MEMBER(nes_konami_vrc6_device::write_h)
MACHINE_CONFIG_START(nes_konami_vrc6_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
// TODO: this is not how VRC6 clock signaling works!
// The board uses the CLK pin in reality, not hardcoded NTSC values!
@@ -765,7 +765,7 @@ WRITE8_MEMBER(nes_konami_vrc7_device::write_h)
MACHINE_CONFIG_START(nes_konami_vrc7_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
// TODO: this is not how VRC7 clock signaling works!
// The board uses the CLK pin in reality, not hardcoded NTSC values!
diff --git a/src/devices/bus/nes/pt554.cpp b/src/devices/bus/nes/pt554.cpp
index 4211a27d234..6a1b8ac4325 100644
--- a/src/devices/bus/nes/pt554.cpp
+++ b/src/devices/bus/nes/pt554.cpp
@@ -91,7 +91,7 @@ static const char *const pt554_sample_names[] =
MACHINE_CONFIG_START(nes_bandai_pt554_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES, 0)
MCFG_SAMPLES_CHANNELS(8)
diff --git a/src/devices/bus/nes/sunsoft.cpp b/src/devices/bus/nes/sunsoft.cpp
index 68510d7788b..2b3b3169f5d 100644
--- a/src/devices/bus/nes/sunsoft.cpp
+++ b/src/devices/bus/nes/sunsoft.cpp
@@ -613,7 +613,7 @@ WRITE8_MEMBER(nes_sunsoft_5_device::write_h)
MACHINE_CONFIG_START(nes_sunsoft_5_device::device_add_mconfig)
// additional sound hardware
- MCFG_SPEAKER_STANDARD_MONO("addon")
+ SPEAKER(config, "addon").front_center();
// TODO: this is not how Sunsoft 5B clock signaling works!
// The board uses the CLK pin in reality, not hardcoded NTSC values!
diff --git a/src/devices/bus/odyssey2/voice.cpp b/src/devices/bus/odyssey2/voice.cpp
index 805f3626645..9d1b9f75275 100644
--- a/src/devices/bus/odyssey2/voice.cpp
+++ b/src/devices/bus/odyssey2/voice.cpp
@@ -44,7 +44,7 @@ void o2_voice_device::device_start()
//-------------------------------------------------
MACHINE_CONFIG_START(o2_voice_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sp0256_speech", SP0256, 3120000)
MCFG_SP0256_DATA_REQUEST_CB(WRITELINE(*this, o2_voice_device, lrq_callback))
diff --git a/src/devices/bus/pet/2joysnd.cpp b/src/devices/bus/pet/2joysnd.cpp
index f33c9ddb1c8..b89ca59f7f8 100644
--- a/src/devices/bus/pet/2joysnd.cpp
+++ b/src/devices/bus/pet/2joysnd.cpp
@@ -94,7 +94,7 @@ ioport_constructor pet_userport_joystick_and_sound_device::device_input_ports()
//-------------------------------------------------
MACHINE_CONFIG_START(pet_userport_joystick_and_sound_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.99)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT)
diff --git a/src/devices/bus/pet/cb2snd.cpp b/src/devices/bus/pet/cb2snd.cpp
index b9be2850378..a9f5ccb480a 100644
--- a/src/devices/bus/pet/cb2snd.cpp
+++ b/src/devices/bus/pet/cb2snd.cpp
@@ -27,7 +27,7 @@ DEFINE_DEVICE_TYPE(PET_USERPORT_CB2_SOUND_DEVICE, pet_userport_cb2_sound_device,
//-------------------------------------------------
MACHINE_CONFIG_START(pet_userport_cb2_sound_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.99)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT)
diff --git a/src/devices/bus/plus4/sid.cpp b/src/devices/bus/plus4/sid.cpp
index 1b1e3b0ca7e..f97deec6310 100644
--- a/src/devices/bus/plus4/sid.cpp
+++ b/src/devices/bus/plus4/sid.cpp
@@ -65,7 +65,7 @@ const tiny_rom_entry *plus4_sid_cartridge_device::device_rom_region() const
//-------------------------------------------------
MACHINE_CONFIG_START(plus4_sid_cartridge_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD(MOS8580_TAG, MOS8580, XTAL(17'734'470)/20)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
diff --git a/src/devices/bus/spectrum/fuller.cpp b/src/devices/bus/spectrum/fuller.cpp
index 48051b7a846..4dd24161105 100644
--- a/src/devices/bus/spectrum/fuller.cpp
+++ b/src/devices/bus/spectrum/fuller.cpp
@@ -46,7 +46,7 @@ ioport_constructor spectrum_fuller_device::device_input_ports() const
MACHINE_CONFIG_START(spectrum_fuller_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay8912", AY8912, XTAL(3'579'545) / 2) // unverified clock
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/devices/bus/spectrum/melodik.cpp b/src/devices/bus/spectrum/melodik.cpp
index 28e5ac90c9e..5b7ee40c040 100644
--- a/src/devices/bus/spectrum/melodik.cpp
+++ b/src/devices/bus/spectrum/melodik.cpp
@@ -23,7 +23,7 @@ DEFINE_DEVICE_TYPE(SPECTRUM_MELODIK, spectrum_melodik_device, "spectrum_melodik"
MACHINE_CONFIG_START(spectrum_melodik_device::device_add_mconfig)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay8912", AY8912, XTAL(3'579'545) / 2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/devices/bus/spectrum/uspeech.cpp b/src/devices/bus/spectrum/uspeech.cpp
index 8e6e1cf1694..af380b852a6 100644
--- a/src/devices/bus/spectrum/uspeech.cpp
+++ b/src/devices/bus/spectrum/uspeech.cpp
@@ -54,7 +54,7 @@ const tiny_rom_entry *spectrum_uspeech_device::device_rom_region() const
//-------------------------------------------------
MACHINE_CONFIG_START(spectrum_uspeech_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SP0256_TAG, SP0256, XTAL(14'000'000) / 4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/sunkbd/hlekbd.cpp b/src/devices/bus/sunkbd/hlekbd.cpp
index cc45f3b005f..b15171eb046 100644
--- a/src/devices/bus/sunkbd/hlekbd.cpp
+++ b/src/devices/bus/sunkbd/hlekbd.cpp
@@ -788,7 +788,7 @@ WRITE_LINE_MEMBER( hle_device_base::input_txd )
--------------------------------------------------*/
MACHINE_CONFIG_START(hle_device_base::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("bell")
+ SPEAKER(config, "bell").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, ATTOSECONDS_TO_HZ(480 * ATTOSECONDS_PER_MICROSECOND))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 1.0)
MACHINE_CONFIG_END
diff --git a/src/devices/bus/svi3x8/expander/sv603.cpp b/src/devices/bus/svi3x8/expander/sv603.cpp
index d3b5a587411..e049a2c96c0 100644
--- a/src/devices/bus/svi3x8/expander/sv603.cpp
+++ b/src/devices/bus/svi3x8/expander/sv603.cpp
@@ -38,7 +38,7 @@ const tiny_rom_entry *sv603_device::device_rom_region() const
//-------------------------------------------------
MACHINE_CONFIG_START(sv603_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snd", SN76489A, XTAL(10'738'635) / 3)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/devices/bus/ti8x/tispeaker.cpp b/src/devices/bus/ti8x/tispeaker.cpp
index 84cd9638e27..17d81fe10b9 100644
--- a/src/devices/bus/ti8x/tispeaker.cpp
+++ b/src/devices/bus/ti8x/tispeaker.cpp
@@ -27,7 +27,8 @@ stereo_speaker_device::stereo_speaker_device(
MACHINE_CONFIG_START(stereo_speaker_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("outl", "outr")
+ SPEAKER(config, "outl").front_left();
+ SPEAKER(config, "outr").front_right();
MCFG_DEVICE_ADD("lspkr", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "outl", 0.50)
@@ -70,7 +71,7 @@ mono_speaker_device::mono_speaker_device(
MACHINE_CONFIG_START(mono_speaker_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("spkr", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/devices/bus/ti99/peb/evpc.cpp b/src/devices/bus/ti99/peb/evpc.cpp
index f4c3f489404..fc23ad4d7b0 100644
--- a/src/devices/bus/ti99/peb/evpc.cpp
+++ b/src/devices/bus/ti99/peb/evpc.cpp
@@ -485,7 +485,7 @@ MACHINE_CONFIG_START(snug_enhanced_video_device::device_add_mconfig)
MCFG_V99X8_SCREEN_ADD_NTSC(TI_SCREEN_TAG, TI_VDP_TAG, XTAL(21'477'272))
// Sound hardware
- MCFG_SPEAKER_STANDARD_MONO("sound_out")
+ SPEAKER(config, "sound_out").front_center();
MCFG_DEVICE_ADD(TI_SOUNDCHIP_TAG, SN94624, 3579545/8) /* 3.579545 MHz */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "sound_out", 0.75)
MCFG_SN76496_READY_HANDLER( WRITELINE(*this, snug_enhanced_video_device, ready_line) )
diff --git a/src/devices/bus/ti99/peb/spchsyn.cpp b/src/devices/bus/ti99/peb/spchsyn.cpp
index f1691820fa0..edb0e5ed72d 100644
--- a/src/devices/bus/ti99/peb/spchsyn.cpp
+++ b/src/devices/bus/ti99/peb/spchsyn.cpp
@@ -162,7 +162,7 @@ ROM_END
MACHINE_CONFIG_START(ti_speech_synthesizer_device::device_add_mconfig)
MCFG_DEVICE_ADD("vsm", SPEECHROM, 0)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speechsyn", CD2501E, 640000L)
MCFG_TMS52XX_READYQ_HANDLER(WRITELINE(*this, ti_speech_synthesizer_device, speech_ready))
MCFG_TMS52XX_SPEECHROM("vsm")
diff --git a/src/devices/bus/vic20/speakeasy.cpp b/src/devices/bus/vic20/speakeasy.cpp
index d6a7dab07ee..4a068b2daaf 100644
--- a/src/devices/bus/vic20/speakeasy.cpp
+++ b/src/devices/bus/vic20/speakeasy.cpp
@@ -34,7 +34,7 @@ DEFINE_DEVICE_TYPE(VIC20_SPEAKEASY, vic20_speakeasy_device, "vic20_speakeasy", "
//-------------------------------------------------
MACHINE_CONFIG_START(vic20_speakeasy_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SC01A_TAG, VOTRAX_SC01, 720000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.85)
diff --git a/src/devices/bus/vip/vp550.cpp b/src/devices/bus/vip/vp550.cpp
index a3718338057..973decb6a8a 100644
--- a/src/devices/bus/vip/vp550.cpp
+++ b/src/devices/bus/vip/vp550.cpp
@@ -51,7 +51,7 @@ DEFINE_DEVICE_TYPE(VP550, vp550_device, "vp550", "VP-550 Super Sound")
//-------------------------------------------------
MACHINE_CONFIG_START(vp550_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_CDP1863_ADD(CDP1863_A_TAG, 0, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/devices/bus/vip/vp595.cpp b/src/devices/bus/vip/vp595.cpp
index 8d58ee26cb3..a880c33f7e0 100644
--- a/src/devices/bus/vip/vp595.cpp
+++ b/src/devices/bus/vip/vp595.cpp
@@ -34,7 +34,7 @@ DEFINE_DEVICE_TYPE(VP595, vp595_device, "vp595", "VP-595 Simple Sound")
//-------------------------------------------------
MACHINE_CONFIG_START(vp595_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_CDP1863_ADD(CDP1863_TAG, 0, CDP1863_XTAL)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/devices/cpu/dsp16/dsp16dis.cpp b/src/devices/cpu/dsp16/dsp16dis.cpp
index 2b53af1cc64..9abeb81f803 100644
--- a/src/devices/cpu/dsp16/dsp16dis.cpp
+++ b/src/devices/cpu/dsp16/dsp16dis.cpp
@@ -333,7 +333,7 @@ dsp16_disassembler::result dsp16_disassembler::dasm_int(u16 op)
dsp16_disassembler::result dsp16_disassembler::dasm_con(u16 op)
{
- u16 const con(op & 0x000fU);
+ u16 const con(op & 0x001fU);
switch (con)
{
case 0x00: return result{ false, false, "mi" };
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index 2419ba8eb2f..5ef5668b741 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -1365,11 +1365,11 @@ void floppy_sound_device::sound_stream_update(sound_stream &stream, stream_sampl
#define FLOPSPK "flopsndout"
-MACHINE_CONFIG_START(floppy_image_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO(FLOPSPK)
- MCFG_DEVICE_ADD(FLOPSND_TAG, FLOPPYSOUND, 44100)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, FLOPSPK, 0.5)
-MACHINE_CONFIG_END
+void floppy_image_device::device_add_mconfig(machine_config &config)
+{
+ SPEAKER(config, FLOPSPK).front_center();
+ FLOPPYSOUND(config, FLOPSND_TAG, 44100).add_route(ALL_OUTPUTS, FLOPSPK, 0.5);
+}
DEFINE_DEVICE_TYPE(FLOPPYSOUND, floppy_sound_device, "flopsnd", "Floppy sound")
diff --git a/src/devices/machine/7400.h b/src/devices/machine/7400.h
index 3761f468b7b..0f7d7cb67a6 100644
--- a/src/devices/machine/7400.h
+++ b/src/devices/machine/7400.h
@@ -46,14 +46,12 @@
#define MCFG_7400_Y4_CB(_devcb) \
devcb = &downcast<ttl7400_device &>(*device).set_y4_cb(DEVCB_##_devcb);
-#define MCFG_7400_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, TTL7400, 0)
class ttl7400_device : public device_t
{
public:
// construction/destruction
- ttl7400_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ttl7400_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
// static configuration helpers
template <class Object> devcb_base &set_y1_cb(Object &&cb) { return m_y1_func.set_callback(std::forward<Object>(cb)); }
diff --git a/src/devices/machine/7404.h b/src/devices/machine/7404.h
index bc4401f936b..31900c1ac9d 100644
--- a/src/devices/machine/7404.h
+++ b/src/devices/machine/7404.h
@@ -79,14 +79,11 @@
#define MCFG_7404_Y6_CB(_devcb) \
devcb = &downcast<ttl7404_device &>(*device).set_y6_cb(DEVCB_##_devcb);
-#define MCFG_7404_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, TTL7404, 0)
-
class ttl7404_device : public device_t
{
public:
// construction/destruction
- ttl7404_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ttl7404_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
// static configuration helpers
template <class Object> devcb_base &set_y1_cb(Object &&cb) { return m_y1_func.set_callback(std::forward<Object>(cb)); }
diff --git a/src/devices/machine/genpc.cpp b/src/devices/machine/genpc.cpp
index 659fdf0d1ec..a5a4d79a93f 100644
--- a/src/devices/machine/genpc.cpp
+++ b/src/devices/machine/genpc.cpp
@@ -456,7 +456,7 @@ MACHINE_CONFIG_START(ibm5160_mb_device::device_add_mconfig)
MCFG_PC_KBDC_OUT_DATA_CB(WRITELINE(*this, ibm5160_mb_device, keyboard_data_w))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END
diff --git a/src/devices/machine/i82371sb.cpp b/src/devices/machine/i82371sb.cpp
index f4ae29930d7..1363e62ad7a 100644
--- a/src/devices/machine/i82371sb.cpp
+++ b/src/devices/machine/i82371sb.cpp
@@ -133,7 +133,7 @@ MACHINE_CONFIG_START(i82371sb_isa_device::device_add_mconfig)
// MCFG_BUS_MASTER_IDE_CONTROLLER_SPACE(":maincpu", AS_PROGRAM)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
//
diff --git a/src/devices/machine/ie15.cpp b/src/devices/machine/ie15.cpp
index a0016e5655e..a44283aeb43 100644
--- a/src/devices/machine/ie15.cpp
+++ b/src/devices/machine/ie15.cpp
@@ -581,7 +581,7 @@ MACHINE_CONFIG_START(ie15_device::ie15core)
MCFG_DEVICE_ADD("rs232", RS232_PORT, default_rs232_devices, "null_modem")
MCFG_RS232_RXD_HANDLER(WRITELINE(*this, ie15_device, serial_rx_callback))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 2400)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
MACHINE_CONFIG_END
diff --git a/src/devices/machine/sis85c496.cpp b/src/devices/machine/sis85c496.cpp
index 3c0a4b71140..bda7b4f87b6 100644
--- a/src/devices/machine/sis85c496.cpp
+++ b/src/devices/machine/sis85c496.cpp
@@ -112,7 +112,7 @@ MACHINE_CONFIG_START(sis85c496_host_device::device_add_mconfig)
MCFG_MC146818_CENTURY_INDEX(0x32)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/devices/machine/terminal.cpp b/src/devices/machine/terminal.cpp
index df13e3e402a..be8876c892c 100644
--- a/src/devices/machine/terminal.cpp
+++ b/src/devices/machine/terminal.cpp
@@ -337,7 +337,7 @@ MACHINE_CONFIG_START(generic_terminal_device::device_add_mconfig)
MCFG_DEVICE_ADD(KEYBOARD_TAG, GENERIC_KEYBOARD, 0)
MCFG_GENERIC_KEYBOARD_CB(PUT(generic_terminal_device, kbd_put))
- MCFG_SPEAKER_STANDARD_MONO("bell")
+ SPEAKER(config, "bell").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 2'000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 0.25)
MACHINE_CONFIG_END
diff --git a/src/devices/sound/ad1848.cpp b/src/devices/sound/ad1848.cpp
index 3644f7749fa..adaca1d13e8 100644
--- a/src/devices/sound/ad1848.cpp
+++ b/src/devices/sound/ad1848.cpp
@@ -22,7 +22,8 @@ ad1848_device::ad1848_device(const machine_config &mconfig, const char *tag, dev
}
MACHINE_CONFIG_START(ad1848_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ldac", DAC_16BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("rdac", DAC_16BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.5) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/devices/sound/dave.h b/src/devices/sound/dave.h
index 15d1b5a91a9..61e26608f00 100644
--- a/src/devices/sound/dave.h
+++ b/src/devices/sound/dave.h
@@ -23,7 +23,8 @@
///*************************************************************************
#define MCFG_DAVE_ADD(_tag, _clock, _program_map, _io_map) \
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") \
+ SPEAKER(config, "lspeaker").front_left(); \
+ SPEAKER(config, "rspeaker").front_right(); \
MCFG_DEVICE_ADD(_tag, DAVE, _clock) \
MCFG_SOUND_ROUTE(0, "lspeaker", 0.25) \
MCFG_SOUND_ROUTE(1, "rspeaker", 0.25) \
diff --git a/src/devices/sound/es1373.cpp b/src/devices/sound/es1373.cpp
index fe9a59ccf1a..b9ba7200955 100644
--- a/src/devices/sound/es1373.cpp
+++ b/src/devices/sound/es1373.cpp
@@ -72,7 +72,8 @@
#define ES_PCI_WRITE 1
MACHINE_CONFIG_START(es1373_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MACHINE_CONFIG_END
DEFINE_DEVICE_TYPE(ES1373, es1373_device, "es1373", "Creative Labs Ensoniq AudioPCI97 ES1373")
diff --git a/src/devices/video/huc6271.h b/src/devices/video/huc6271.h
index f14a34c794c..a8b3eb00287 100644
--- a/src/devices/video/huc6271.h
+++ b/src/devices/video/huc6271.h
@@ -14,13 +14,6 @@
//**************************************************************************
-// INTERFACE CONFIGURATION MACROS
-//**************************************************************************
-
-#define MCFG_HUC6271_ADD(tag, freq) \
- MCFG_DEVICE_ADD((tag), HUC6271, (freq))
-
-//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
diff --git a/src/devices/video/huc6272.h b/src/devices/video/huc6272.h
index 1793ec11821..58a601837dc 100644
--- a/src/devices/video/huc6272.h
+++ b/src/devices/video/huc6272.h
@@ -20,9 +20,6 @@
// INTERFACE CONFIGURATION MACROS
//**************************************************************************
-#define MCFG_HUC6272_ADD(tag, freq) \
- MCFG_DEVICE_ADD((tag), HUC6272, (freq))
-
#define MCFG_HUC6272_IRQ_CHANGED_CB(cb) \
devcb = &downcast<huc6272_device &>(*device).set_irq_changed_callback((DEVCB_##cb));
diff --git a/src/emu/speaker.cpp b/src/emu/speaker.cpp
index 177bfa0c590..de2ad1127a0 100644
--- a/src/emu/speaker.cpp
+++ b/src/emu/speaker.cpp
@@ -14,16 +14,6 @@
//**************************************************************************
-// DEBUGGING
-//**************************************************************************
-
-#define VERBOSE (0)
-
-#define VPRINTF(x) do { if (VERBOSE) osd_printf_debug x; } while (0)
-
-
-
-//**************************************************************************
// GLOBAL VARIABLES
//**************************************************************************
diff --git a/src/emu/speaker.h b/src/emu/speaker.h
index 8d41342e01f..286e837ce79 100644
--- a/src/emu/speaker.h
+++ b/src/emu/speaker.h
@@ -23,23 +23,6 @@ DECLARE_DEVICE_TYPE(SPEAKER, speaker_device)
//**************************************************************************
-// DEVICE CONFIGURATION MACROS
-//**************************************************************************
-
-// add/remove speakers
-#define MCFG_SPEAKER_ADD(_tag, _x, _y, _z) \
- MCFG_DEVICE_ADD(_tag, SPEAKER, _x, _y, _z)
-
-#define MCFG_SPEAKER_STANDARD_MONO(_tag) \
- MCFG_SPEAKER_ADD(_tag, 0.0, 0.0, 1.0)
-
-#define MCFG_SPEAKER_STANDARD_STEREO(_tagl, _tagr) \
- MCFG_SPEAKER_ADD(_tagl, -0.2, 0.0, 1.0) \
- MCFG_SPEAKER_ADD(_tagr, 0.2, 0.0, 1.0)
-
-
-
-//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -59,9 +42,9 @@ public:
// inline configuration helpers
speaker_device &set_position(double x, double y, double z) { m_x = x; m_y = y; m_z = z; return *this; }
- speaker_device &standard_mono() { set_position(0.0, 0.0, 1.0); return *this; }
- speaker_device &standard_left() { set_position(-0.2, 0.0, 1.0); return *this; }
- speaker_device &standard_right() { set_position(0.2, 0.0, 1.0); return *this; }
+ speaker_device &front_center() { set_position(0.0, 0.0, 1.0); return *this; }
+ speaker_device &front_left() { set_position(-0.2, 0.0, 1.0); return *this; }
+ speaker_device &front_right() { set_position(0.2, 0.0, 1.0); return *this; }
// internally for use by the sound system
void mix(s32 *leftmix, s32 *rightmix, int &samples_this_update, bool suppress);
diff --git a/src/mame/audio/alesis.cpp b/src/mame/audio/alesis.cpp
index a49f25a6ecb..39fb0609fb6 100644
--- a/src/mame/audio/alesis.cpp
+++ b/src/mame/audio/alesis.cpp
@@ -42,8 +42,10 @@ alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, const ch
//-------------------------------------------------
MACHINE_CONFIG_START(alesis_dm3ag_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker1", "rspeaker1")
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker2", "rspeaker2")
+ SPEAKER(config, "lspeaker1").front_left();
+ SPEAKER(config, "rspeaker1").front_right();
+ SPEAKER(config, "lspeaker2").front_left();
+ SPEAKER(config, "rspeaker2").front_right();
MCFG_DEVICE_ADD("dac", PCM54HP, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker1", 1.0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker1", 1.0) // PCM54HP DAC + R63/R73-75 + Sample and hold
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/mame/audio/asteroid.cpp b/src/mame/audio/asteroid.cpp
index afcb68898bf..5abe45484c3 100644
--- a/src/mame/audio/asteroid.cpp
+++ b/src/mame/audio/asteroid.cpp
@@ -316,7 +316,7 @@ WRITE8_MEMBER(asteroid_state::asteroid_noise_reset_w)
MACHINE_CONFIG_START(asteroid_state::asteroid_sound)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, asteroid_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.4)
@@ -332,7 +332,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(asteroid_state::astdelux_sound)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, astdelux_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/audio/astrof.cpp b/src/mame/audio/astrof.cpp
index 88fbb45e2ee..497591479e0 100644
--- a/src/mame/audio/astrof.cpp
+++ b/src/mame/audio/astrof.cpp
@@ -140,7 +140,7 @@ static const char *const astrof_sample_names[] =
};
MACHINE_CONFIG_START(astrof_state::astrof_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
MCFG_SAMPLES_NAMES(astrof_sample_names)
@@ -196,7 +196,7 @@ WRITE8_MEMBER(astrof_state::tomahawk_audio_w)
MACHINE_CONFIG_START(astrof_state::tomahawk_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C
MCFG_SN76477_DECAY_RES(0) // decay_res N/C
diff --git a/src/mame/audio/avalnche.cpp b/src/mame/audio/avalnche.cpp
index 2803c2da03a..e462d19cfb2 100644
--- a/src/mame/audio/avalnche.cpp
+++ b/src/mame/audio/avalnche.cpp
@@ -104,7 +104,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(avalnche_state::avalnche_sound)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, avalnche_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/audio/bwidow.cpp b/src/mame/audio/bwidow.cpp
index 1d0c55bab27..a4dea00bb78 100644
--- a/src/mame/audio/bwidow.cpp
+++ b/src/mame/audio/bwidow.cpp
@@ -150,7 +150,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(bwidow_state::bwidow_audio)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("pokey1", POKEY, MASTER_CLOCK / 8) /* C/D3 */
MCFG_POKEY_ALLPOT_R_CB(IOPORT("DSW0"))
diff --git a/src/mame/audio/bzone.cpp b/src/mame/audio/bzone.cpp
index b5a912b3b0c..aada4df6c6f 100644
--- a/src/mame/audio/bzone.cpp
+++ b/src/mame/audio/bzone.cpp
@@ -399,7 +399,7 @@ WRITE8_MEMBER(bzone_state::bzone_sounds_w)
MACHINE_CONFIG_START(bzone_state::bzone_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("pokey", POKEY, BZONE_MASTER_CLOCK / 8)
MCFG_POKEY_ALLPOT_R_CB(IOPORT("IN3"))
diff --git a/src/mame/audio/cage.cpp b/src/mame/audio/cage.cpp
index aec6a37d83d..0c35c32a044 100644
--- a/src/mame/audio/cage.cpp
+++ b/src/mame/audio/cage.cpp
@@ -637,7 +637,8 @@ MACHINE_CONFIG_START(atari_cage_device::device_add_mconfig)
MCFG_TIMER_DEVICE_ADD("cage_timer1", DEVICE_SELF, atari_cage_device, cage_timer_callback)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_16_ADD("soundlatch")
diff --git a/src/mame/audio/cheekyms.cpp b/src/mame/audio/cheekyms.cpp
index 238732f4e19..85359b96afb 100644
--- a/src/mame/audio/cheekyms.cpp
+++ b/src/mame/audio/cheekyms.cpp
@@ -38,7 +38,7 @@ WRITE_LINE_MEMBER(cheekyms_audio_device::coin_extra_w) { m_coin_extra->write_li
MACHINE_CONFIG_START(cheekyms_audio_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sound_nl", NETLIST_SOUND, 48000)
MCFG_NETLIST_SETUP(cheekyms)
diff --git a/src/mame/audio/cinemat.cpp b/src/mame/audio/cinemat.cpp
index 48a23311981..68d999b434c 100644
--- a/src/mame/audio/cinemat.cpp
+++ b/src/mame/audio/cinemat.cpp
@@ -159,7 +159,7 @@ MACHINE_CONFIG_START(cinemat_state::spacewar_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, spacewar_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, spacewar_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(8)
@@ -211,7 +211,7 @@ MACHINE_CONFIG_START(cinemat_state::barrier_sound)
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(*this, cinemat_state, barrier_sound1_w))
MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(*this, cinemat_state, barrier_sound2_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(3)
@@ -268,7 +268,7 @@ MACHINE_CONFIG_START(cinemat_state::speedfrk_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, speedfrk_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, speedfrk_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(1)
@@ -353,7 +353,7 @@ MACHINE_CONFIG_START(cinemat_state::starhawk_sound)
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, starhawk_sound4_w))
MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(WRITELINE(*this, cinemat_state, starhawk_sound7_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(5)
@@ -432,7 +432,7 @@ MACHINE_CONFIG_START(cinemat_state::sundance_sound)
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, sundance_sound4_w))
MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(WRITELINE(*this, cinemat_state, sundance_sound7_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
@@ -510,7 +510,7 @@ MACHINE_CONFIG_START(cinemat_state::tailg_sound)
MCFG_DEVICE_MODIFY("outlatch")
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, tailg_sound_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
@@ -584,7 +584,7 @@ MACHINE_CONFIG_START(cinemat_state::warrior_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, warrior_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, warrior_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(5)
@@ -684,7 +684,7 @@ MACHINE_CONFIG_START(cinemat_state::armora_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, armora_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, armora_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(7)
@@ -781,7 +781,7 @@ MACHINE_CONFIG_START(cinemat_state::ripoff_sound)
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, ripoff_sound4_w))
MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(WRITELINE(*this, cinemat_state, ripoff_sound7_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
@@ -898,7 +898,7 @@ MACHINE_CONFIG_START(cinemat_state::starcas_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, starcas_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, starcas_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(8)
@@ -1030,7 +1030,7 @@ MACHINE_CONFIG_START(cinemat_state::solarq_sound)
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(*this, cinemat_state, solarq_sound1_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, solarq_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(8)
@@ -1170,7 +1170,7 @@ MACHINE_CONFIG_START(cinemat_state::boxingb_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, boxingb_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, boxingb_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(12)
@@ -1287,7 +1287,7 @@ MACHINE_CONFIG_START(cinemat_state::wotw_sound)
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, cinemat_state, wotw_sound3_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, wotw_sound4_w))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(8)
@@ -1414,7 +1414,7 @@ MACHINE_CONFIG_START(cinemat_state::demon_sound)
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, demon_sound4_w))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay1", AY8910, 3579545)
MCFG_AY8910_PORT_A_READ_CB(READ8(*this, cinemat_state, sound_porta_r))
diff --git a/src/mame/audio/copsnrob.cpp b/src/mame/audio/copsnrob.cpp
index 0b4e04eb07a..264bf1c57fc 100644
--- a/src/mame/audio/copsnrob.cpp
+++ b/src/mame/audio/copsnrob.cpp
@@ -697,7 +697,8 @@ WRITE_LINE_MEMBER(copsnrob_state::one_start_w)
MACHINE_CONFIG_START(copsnrob_state::copsnrob_audio)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("discrete", DISCRETE, copsnrob_discrete)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
diff --git a/src/mame/audio/crbaloon.cpp b/src/mame/audio/crbaloon.cpp
index 4e1e15d6590..48f4236aabe 100644
--- a/src/mame/audio/crbaloon.cpp
+++ b/src/mame/audio/crbaloon.cpp
@@ -140,7 +140,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(crbaloon_state::crbaloon_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(RES_K(47), RES_K(330), CAP_P(470)) // noise + filter
diff --git a/src/mame/audio/dcs.cpp b/src/mame/audio/dcs.cpp
index a89370ea1d0..34207213b53 100644
--- a/src/mame/audio/dcs.cpp
+++ b/src/mame/audio/dcs.cpp
@@ -2480,7 +2480,7 @@ MACHINE_CONFIG_START(dcs_audio_device::add_mconfig_dcs )
MCFG_TIMER_DEVICE_ADD("dcs_reg_timer", DEVICE_SELF, dcs_audio_device, dcs_irq)
MCFG_TIMER_DEVICE_ADD("dcs_int_timer", DEVICE_SELF, dcs_audio_device, internal_timer_callback)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("dac", DMADAC) // AD-1851 16bit mono
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -2585,7 +2585,8 @@ MACHINE_CONFIG_START(dcs2_audio_device::add_mconfig_dcs2 )
MCFG_TIMER_DEVICE_ADD("dcs_int_timer", DEVICE_SELF, dcs_audio_device, internal_timer_callback)
MCFG_TIMER_DEVICE_ADD("dcs_hle_timer", DEVICE_SELF, dcs_audio_device, transfer_watchdog_callback)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("dac1", DMADAC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
@@ -2665,7 +2666,8 @@ MACHINE_CONFIG_START(dcs2_audio_dsio_device::device_add_mconfig)
MCFG_TIMER_DEVICE_ADD("dcs_int_timer", DEVICE_SELF, dcs_audio_device, internal_timer_callback)
MCFG_TIMER_DEVICE_ADD("dcs_sport0_timer", DEVICE_SELF, dcs_audio_device, sport0_irq) // roadburn needs this to pass harware test
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("dac1", DMADAC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
@@ -2706,7 +2708,8 @@ MACHINE_CONFIG_START(dcs2_audio_denver_device::device_add_mconfig)
MCFG_TIMER_DEVICE_ADD("dcs_int_timer", DEVICE_SELF, dcs_audio_device, internal_timer_callback)
MCFG_TIMER_DEVICE_ADD("dcs_sport0_timer", DEVICE_SELF, dcs_audio_device, sport0_irq) // Atlantis driver waits for sport0 rx interrupts
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("dac1", DMADAC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
diff --git a/src/mame/audio/decobsmt.cpp b/src/mame/audio/decobsmt.cpp
index 8230204a507..e3da4e65b27 100644
--- a/src/mame/audio/decobsmt.cpp
+++ b/src/mame/audio/decobsmt.cpp
@@ -53,7 +53,8 @@ MACHINE_CONFIG_START(decobsmt_device::device_add_mconfig)
MCFG_DEVICE_PROGRAM_MAP(decobsmt_map)
MCFG_DEVICE_PERIODIC_INT_DRIVER(decobsmt_device, decobsmt_firq_interrupt, 489) /* Fixed FIRQ of 489Hz as measured on real (pinball) machine */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_BSMT2000_ADD(BSMT_TAG, XTAL(24'000'000))
MCFG_DEVICE_ADDRESS_MAP(0, bsmt_map)
MCFG_BSMT2000_READY_CALLBACK(decobsmt_device, bsmt_ready_callback)
diff --git a/src/mame/audio/dkong.cpp b/src/mame/audio/dkong.cpp
index 490248e6ef6..6c468c05db7 100644
--- a/src/mame/audio/dkong.cpp
+++ b/src/mame/audio/dkong.cpp
@@ -1352,7 +1352,7 @@ MACHINE_CONFIG_START(dkong_state::dkong2b_audio)
MCFG_MCS48_PORT_T0_IN_CB(READLINE("ls259.6h", latch8_device, bit5_q_r))
MCFG_MCS48_PORT_T1_IN_CB(READLINE("ls259.6h", latch8_device, bit4_q_r))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, dkong2b_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -1425,7 +1425,7 @@ MACHINE_CONFIG_START(dkong_state::dkongjr_audio)
MCFG_MCS48_PORT_T0_IN_CB(READLINE("ls259.6h", latch8_device, bit5_q_r))
MCFG_MCS48_PORT_T1_IN_CB(READLINE("ls259.6h", latch8_device, bit4_q_r))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, dkongjr_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -1444,5 +1444,5 @@ MACHINE_CONFIG_START(dkong_state::dkong3_audio)
MCFG_LATCH8_ADD( "latch2")
MCFG_LATCH8_ADD( "latch3")
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MACHINE_CONFIG_END
diff --git a/src/mame/audio/efo_zsu.cpp b/src/mame/audio/efo_zsu.cpp
index cbf54a42b5a..21a652f296f 100644
--- a/src/mame/audio/efo_zsu.cpp
+++ b/src/mame/audio/efo_zsu.cpp
@@ -221,7 +221,7 @@ MACHINE_CONFIG_START(efo_zsu_device::device_add_mconfig)
MCFG_INPUT_MERGER_ANY_HIGH("soundirq") // 74HC03 NAND gate
MCFG_INPUT_MERGER_OUTPUT_HANDLER(INPUTLINE("soundcpu", INPUT_LINE_IRQ0))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd0", AY8910, 4000000/2)
MCFG_AY8910_PORT_A_WRITE_CB(MEMBANK("rombank")) MCFG_DEVCB_MASK(0x03)
diff --git a/src/mame/audio/exidy.cpp b/src/mame/audio/exidy.cpp
index 3a5a4c5a052..6a8244930ac 100644
--- a/src/mame/audio/exidy.cpp
+++ b/src/mame/audio/exidy.cpp
@@ -765,7 +765,7 @@ MACHINE_CONFIG_START(exidy_state::venture_audio)
MCFG_PIA_CB2_HANDLER(WRITELINE("pia0", pia6821_device, ca1_w))
MCFG_PIA_IRQB_HANDLER(WRITELINE("custom", exidy_sound_device, update_irq_state))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("custom", EXIDY_VENTURE, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
@@ -1014,7 +1014,7 @@ MACHINE_CONFIG_START(victory_state::victory_audio)
MCFG_PIA_CB2_HANDLER(WRITELINE("custom", victory_sound_device, main_ack_w))
MCFG_PIA_IRQB_HANDLER(WRITELINE("custom", exidy_sound_device, update_irq_state))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("custom", EXIDY_VICTORY, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/audio/harddriv.cpp b/src/mame/audio/harddriv.cpp
index fee321d9c4a..6957ca97472 100644
--- a/src/mame/audio/harddriv.cpp
+++ b/src/mame/audio/harddriv.cpp
@@ -453,7 +453,7 @@ MACHINE_CONFIG_START(harddriv_sound_board_device::device_add_mconfig)
MCFG_TMS32010_BIO_IN_CB(READLINE(*this, harddriv_sound_board_device, hdsnddsp_get_bio))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", AM6012, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // ls374d.75e + ls374d.90e + am6012
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/mame/audio/hng64.cpp b/src/mame/audio/hng64.cpp
index 034a24d2fe6..db3c6cb5609 100644
--- a/src/mame/audio/hng64.cpp
+++ b/src/mame/audio/hng64.cpp
@@ -400,7 +400,8 @@ MACHINE_CONFIG_START(hng64_state::hng64_audio)
MCFG_V53_TCU_OUT1_HANDLER(WRITELINE(*this, hng64_state, tcu_tm1_cb))
MCFG_V53_TCU_OUT2_HANDLER(WRITELINE(*this, hng64_state, tcu_tm2_cb))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("l7a1045", L7A1045, 32000000/2 ) // ??
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
diff --git a/src/mame/audio/irem.cpp b/src/mame/audio/irem.cpp
index 5187c93c814..a8f5dc42df4 100644
--- a/src/mame/audio/irem.cpp
+++ b/src/mame/audio/irem.cpp
@@ -412,7 +412,7 @@ MACHINE_CONFIG_START(m62_audio_device::device_add_mconfig)
MCFG_DEVICE_IO_MAP(irem_sound_portmap)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay_45m", AY8910, XTAL(3'579'545)/4) /* verified on pcb */
MCFG_AY8910_OUTPUT_TYPE(AY8910_RESISTOR_OUTPUT)
@@ -482,7 +482,7 @@ MACHINE_CONFIG_START(m52_soundc_audio_device::device_add_mconfig)
MCFG_DEVICE_PROGRAM_MAP(m52_small_sound_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay_45m", AY8910, XTAL(3'579'545)/4) /* verified on pcb */
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT | AY8910_DISCRETE_OUTPUT)
@@ -515,7 +515,7 @@ MACHINE_CONFIG_START(m52_large_audio_device::device_add_mconfig) /* 10 yard fig
MCFG_DEVICE_IO_MAP(irem_sound_portmap)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay_45m", AY8910, XTAL(3'579'545)/4) /* verified on pcb */
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT | AY8910_DISCRETE_OUTPUT)
diff --git a/src/mame/audio/jedi.cpp b/src/mame/audio/jedi.cpp
index ea606f556e6..7a14d89232f 100644
--- a/src/mame/audio/jedi.cpp
+++ b/src/mame/audio/jedi.cpp
@@ -196,7 +196,8 @@ MACHINE_CONFIG_START(jedi_state::jedi_audio)
MCFG_DEVICE_ADD("audiocpu", M6502, JEDI_AUDIO_CPU_CLOCK)
MCFG_DEVICE_PROGRAM_MAP(audio_map)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("pokey1", POKEY, JEDI_POKEY_CLOCK)
MCFG_POKEY_OUTPUT_OPAMP(RES_K(1), 0.0, 5.0)
diff --git a/src/mame/audio/leland.cpp b/src/mame/audio/leland.cpp
index c9300beb150..765e01f70e7 100644
--- a/src/mame/audio/leland.cpp
+++ b/src/mame/audio/leland.cpp
@@ -134,7 +134,7 @@ WRITE_LINE_MEMBER(leland_80186_sound_device::i80186_tmr1_w)
}
MACHINE_CONFIG_START(leland_80186_sound_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac1", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // 74hc374.u31 + ad7524.u46
MCFG_DEVICE_ADD("dac2", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // 74hc374.u32 + ad7524.u47
MCFG_DEVICE_ADD("dac3", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // 74hc374.u33 + ad7524.u48
@@ -175,7 +175,7 @@ MACHINE_CONFIG_START(leland_80186_sound_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(redline_80186_sound_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac1", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
MCFG_DEVICE_ADD("dac2", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
MCFG_DEVICE_ADD("dac3", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
@@ -225,7 +225,7 @@ MACHINE_CONFIG_START(redline_80186_sound_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(ataxx_80186_sound_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac1", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
MCFG_DEVICE_ADD("dac2", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
MCFG_DEVICE_ADD("dac3", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
@@ -252,7 +252,7 @@ MACHINE_CONFIG_START(ataxx_80186_sound_device::device_add_mconfig)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(wsf_80186_sound_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac1", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
MCFG_DEVICE_ADD("dac2", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
MCFG_DEVICE_ADD("dac3", AD7524, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.2) // unknown DAC
diff --git a/src/mame/audio/llander.cpp b/src/mame/audio/llander.cpp
index b29eb4dba67..6c2ec3510b1 100644
--- a/src/mame/audio/llander.cpp
+++ b/src/mame/audio/llander.cpp
@@ -99,7 +99,7 @@ WRITE8_MEMBER(asteroid_state::llander_sounds_w)
MACHINE_CONFIG_START(asteroid_state::llander_sound)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, llander_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/audio/mario.cpp b/src/mame/audio/mario.cpp
index 07d13d2c313..840a4cdfdcc 100644
--- a/src/mame/audio/mario.cpp
+++ b/src/mame/audio/mario.cpp
@@ -652,7 +652,7 @@ MACHINE_CONFIG_START(mario_state::mario_audio)
MCFG_MCS48_PORT_T0_IN_CB(READLINE(*this, mario_state, mario_sh_t0_r))
MCFG_MCS48_PORT_T1_IN_CB(READLINE(*this, mario_state, mario_sh_t1_r))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_8_ADD("soundlatch2")
@@ -684,7 +684,7 @@ MACHINE_CONFIG_START(mario_state::masao_audio)
MCFG_DEVICE_ADD("audiocpu", Z80, 24576000/16) /* ???? */
MCFG_DEVICE_PROGRAM_MAP(masao_sound_map)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/audio/mw8080bw.cpp b/src/mame/audio/mw8080bw.cpp
index a2b64a7da4b..f4d9781f174 100644
--- a/src/mame/audio/mw8080bw.cpp
+++ b/src/mame/audio/mw8080bw.cpp
@@ -147,7 +147,7 @@ static const char *const seawolf_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::seawolf_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(5)
MCFG_SAMPLES_NAMES(seawolf_sample_names)
@@ -201,7 +201,8 @@ static const char *const gunfight_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::gunfight_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("samples1", SAMPLES)
MCFG_SAMPLES_CHANNELS(1)
@@ -308,7 +309,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::tornbase_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, tornbase_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1)
MACHINE_CONFIG_END
@@ -351,7 +352,7 @@ WRITE8_MEMBER(mw8080bw_state::tornbase_audio_w)
*************************************/
MACHINE_CONFIG_START(mw8080bw_state::zzzap_audio )
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MACHINE_CONFIG_END
@@ -553,7 +554,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::maze_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, maze_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -799,7 +800,8 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::boothill_audio)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("discrete", DISCRETE, boothill_discrete)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
@@ -1028,7 +1030,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::checkmat_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, checkmat_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.4)
MACHINE_CONFIG_END
@@ -1238,7 +1240,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::desertgu_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, desertgu_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.8)
MACHINE_CONFIG_END
@@ -1502,7 +1504,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::dplay_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, dplay_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.8)
MACHINE_CONFIG_END
@@ -1544,7 +1546,8 @@ static const char *const gmissile_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::gmissile_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("samples1", SAMPLES)
MCFG_SAMPLES_CHANNELS(1)
@@ -1637,7 +1640,8 @@ static const char *const m4_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::m4_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("samples1", SAMPLES)
MCFG_SAMPLES_CHANNELS(2)
@@ -1892,7 +1896,7 @@ static const char *const clowns_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::clowns_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(1)
@@ -2262,7 +2266,7 @@ DISCRETE_GAIN(NODE_RELATIVE(SPACWALK_SPRINGBOARD_HIT1_SND, _num - 1),
DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::spacwalk_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, spacwalk_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -2490,7 +2494,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::shuffle_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, shuffle_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -2669,7 +2673,8 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::dogpatch_audio)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("discrete", DISCRETE, dogpatch_discrete)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
@@ -3173,7 +3178,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::spcenctr_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C
@@ -3260,7 +3265,7 @@ static const char *const phantom2_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::phantom2_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(2)
MCFG_SAMPLES_NAMES(phantom2_sample_names)
@@ -3388,7 +3393,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::bowler_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, bowler_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1)
@@ -3504,7 +3509,7 @@ static const char *const invaders_sample_names[] =
MACHINE_CONFIG_START(mw8080bw_state::invaders_samples_audio)
MCFG_SOUND_START_OVERRIDE(mw8080bw_state, samples)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C
@@ -4084,7 +4089,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::invaders_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C
@@ -4501,7 +4506,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::blueshrk_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, blueshrk_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@@ -4662,7 +4667,8 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_START(mw8080bw_state::invad2ct_audio)
- MCFG_SPEAKER_STANDARD_STEREO("spk1", "spk2")
+ SPEAKER(config, "spk1").front_left();
+ SPEAKER(config, "spk2").front_right();
MCFG_DEVICE_ADD("discrete", DISCRETE, invad2ct_discrete)
MCFG_SOUND_ROUTE(0, "spk1", 0.5)
diff --git a/src/mame/audio/n8080.cpp b/src/mame/audio/n8080.cpp
index 2d731eec23f..d311fe1e21d 100644
--- a/src/mame/audio/n8080.cpp
+++ b/src/mame/audio/n8080.cpp
@@ -489,7 +489,7 @@ MACHINE_CONFIG_START(n8080_state::spacefev_sound)
MCFG_TIMER_DRIVER_ADD_PERIODIC("vco_timer", n8080_state, spacefev_vco_voltage_timer, attotime::from_hz(1000))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("n8080_dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.15)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
@@ -527,7 +527,7 @@ MACHINE_CONFIG_START(n8080_state::sheriff_sound)
MCFG_MCS48_PORT_P2_OUT_CB(WRITE8(*this, n8080_state, n8080_dac_w))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("n8080_dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.15)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
@@ -569,7 +569,7 @@ MACHINE_CONFIG_START(n8080_state::helifire_sound)
MCFG_TIMER_DRIVER_ADD_PERIODIC("helifire_dac_volume_timer", n8080_state, helifire_dac_volume_timer, attotime::from_hz(1000))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("helifire_dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.15) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "helifire_dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "helifire_dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/mame/audio/nichisnd.cpp b/src/mame/audio/nichisnd.cpp
index 8609756730c..d5b4d0ceb1c 100644
--- a/src/mame/audio/nichisnd.cpp
+++ b/src/mame/audio/nichisnd.cpp
@@ -91,7 +91,7 @@ MACHINE_CONFIG_START(nichisnd_device::device_add_mconfig)
MCFG_TMPZ84C011_ZC0_CB(WRITELINE("audiocpu", tmpz84c011_device, trg3))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/audio/qix.cpp b/src/mame/audio/qix.cpp
index 4d9c8543501..d6f1bded52f 100644
--- a/src/mame/audio/qix.cpp
+++ b/src/mame/audio/qix.cpp
@@ -196,7 +196,8 @@ MACHINE_CONFIG_START(qix_state::qix_audio)
MCFG_PIA_CA2_HANDLER(WRITE8(*this, qix_state, sndpia_2_warning_w))
MCFG_PIA_CB2_HANDLER(WRITE8(*this, qix_state, sndpia_2_warning_w))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("discrete", DISCRETE, qix_discrete)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
@@ -212,7 +213,7 @@ MACHINE_CONFIG_START(qix_state::slither_audio)
MCFG_PIA_IRQA_HANDLER(WRITELINE(*this, qix_state, qix_pia_dint))
MCFG_PIA_IRQB_HANDLER(WRITELINE(*this, qix_state, qix_pia_dint))
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sn1", SN76489, SLITHER_CLOCK_OSC/4/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/mame/audio/rax.cpp b/src/mame/audio/rax.cpp
index df634c31983..71f6a04e222 100644
--- a/src/mame/audio/rax.cpp
+++ b/src/mame/audio/rax.cpp
@@ -504,7 +504,8 @@ MACHINE_CONFIG_START(acclaim_rax_device::device_add_mconfig)
MCFG_GENERIC_LATCH_16_ADD("data_in")
MCFG_GENERIC_LATCH_16_ADD("data_out")
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("dacl", DMADAC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
diff --git a/src/mame/audio/redalert.cpp b/src/mame/audio/redalert.cpp
index 67070bcdb1a..db7e75138cd 100644
--- a/src/mame/audio/redalert.cpp
+++ b/src/mame/audio/redalert.cpp
@@ -222,7 +222,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(redalert_state::redalert_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
redalert_audio_m37b(config);
redalert_audio_voice(config);
@@ -239,7 +239,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(redalert_state::ww3_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
redalert_audio_m37b(config);
@@ -357,7 +357,7 @@ MACHINE_CONFIG_START(redalert_state::demoneye_audio)
MCFG_SOUND_START_OVERRIDE( redalert_state, demoneye )
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/audio/scramble.cpp b/src/mame/audio/scramble.cpp
index 818b23cf6e6..3e4b9a2ad75 100644
--- a/src/mame/audio/scramble.cpp
+++ b/src/mame/audio/scramble.cpp
@@ -312,7 +312,7 @@ MACHINE_CONFIG_START(scramble_state::ad2083_audio)
MCFG_TMSPROM_PDC_CB(WRITELINE("tms", tms5110_device, pdc_w)) /* tms pdc func */
MCFG_TMSPROM_CTL_CB(WRITE8("tms", tms5110_device, ctl_w)) /* tms ctl func */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/audio/segam1audio.cpp b/src/mame/audio/segam1audio.cpp
index ea6cf52efc8..749f65e2f06 100644
--- a/src/mame/audio/segam1audio.cpp
+++ b/src/mame/audio/segam1audio.cpp
@@ -63,7 +63,8 @@ MACHINE_CONFIG_START(segam1audio_device::device_add_mconfig)
MCFG_DEVICE_ADD(M68000_TAG, M68000, 10000000) // verified on real h/w
MCFG_DEVICE_PROGRAM_MAP(segam1audio_map)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD(YM3438_TAG, YM3438, 8000000)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.60)
diff --git a/src/mame/audio/spacefb.cpp b/src/mame/audio/spacefb.cpp
index 1787413ab71..3128fd58a13 100644
--- a/src/mame/audio/spacefb.cpp
+++ b/src/mame/audio/spacefb.cpp
@@ -78,7 +78,7 @@ static const char *const spacefb_sample_names[] =
MACHINE_CONFIG_START(spacefb_state::spacefb_audio)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/mame/audio/spiders.cpp b/src/mame/audio/spiders.cpp
index 03b736c8455..223da7f106c 100644
--- a/src/mame/audio/spiders.cpp
+++ b/src/mame/audio/spiders.cpp
@@ -207,7 +207,7 @@ WRITE8_MEMBER(spiders_state::spiders_audio_ctrl_w)
MACHINE_CONFIG_START(spiders_state::spiders_audio)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, spiders_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/audio/sprint8.cpp b/src/mame/audio/sprint8.cpp
index 5339365152a..91d0a89203c 100644
--- a/src/mame/audio/sprint8.cpp
+++ b/src/mame/audio/sprint8.cpp
@@ -300,10 +300,10 @@ MACHINE_CONFIG_START(sprint8_state::sprint8_audio)
/* sound hardware */
/* the proper way is to hook up 4 speakers, but they are not really
* F/R/L/R speakers. Though you can pretend the 1-2 mix is the front. */
- MCFG_SPEAKER_ADD("speaker_1_2", 0.0, 0.0, 1.0) /* front */
- MCFG_SPEAKER_ADD("speaker_3_7", -0.2, 0.0, 1.0) /* left */
- MCFG_SPEAKER_ADD("speaker_5_6", 0.0, 0.0, -0.5) /* back */
- MCFG_SPEAKER_ADD("speaker_4_8", 0.2, 0.0, 1.0) /* right */
+ SPEAKER(config, "speaker_1_2", 0.0, 0.0, 1.0); // front
+ SPEAKER(config, "speaker_3_7", -0.2, 0.0, 1.0); // left
+ SPEAKER(config, "speaker_5_6", 0.0, 0.0, -0.5); // back
+ SPEAKER(config, "speaker_4_8", 0.2, 0.0, 1.0); // right
MCFG_DEVICE_ADD("discrete", DISCRETE, sprint8_discrete)
MCFG_SOUND_ROUTE(0, "speaker_1_2", 1.0)
diff --git a/src/mame/audio/taito_en.cpp b/src/mame/audio/taito_en.cpp
index 3450b1fa153..fc038c8a68e 100644
--- a/src/mame/audio/taito_en.cpp
+++ b/src/mame/audio/taito_en.cpp
@@ -216,7 +216,8 @@ MACHINE_CONFIG_START(taito_en_device::device_add_mconfig)
MCFG_DEVICE_ADD("dpram", MB8421, 0) // host accesses this from the other side
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("pump", ESQ_5505_5510_PUMP, XTAL(30'476'100) / (2 * 16 * 32))
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
diff --git a/src/mame/audio/targ.cpp b/src/mame/audio/targ.cpp
index d54ab88ce27..fbdfc484172 100644
--- a/src/mame/audio/targ.cpp
+++ b/src/mame/audio/targ.cpp
@@ -177,7 +177,7 @@ SAMPLES_START_CB_MEMBER(exidy_state::targ_audio_start)
MACHINE_CONFIG_START(exidy_state::spectar_audio)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
@@ -193,7 +193,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(exidy_state::targ_audio)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
diff --git a/src/mame/audio/timeplt.cpp b/src/mame/audio/timeplt.cpp
index 2d992fdbd28..04b206d6246 100644
--- a/src/mame/audio/timeplt.cpp
+++ b/src/mame/audio/timeplt.cpp
@@ -195,7 +195,7 @@ MACHINE_CONFIG_START(timeplt_audio_device::device_add_mconfig)
MCFG_DEVICE_PROGRAM_MAP(timeplt_sound_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD(m_soundlatch)
diff --git a/src/mame/audio/turbo.cpp b/src/mame/audio/turbo.cpp
index f430001a7ad..08fd950006d 100644
--- a/src/mame/audio/turbo.cpp
+++ b/src/mame/audio/turbo.cpp
@@ -186,10 +186,10 @@ static const char *const turbo_sample_names[] =
MACHINE_CONFIG_START(turbo_state::turbo_samples)
/* this is the cockpit speaker configuration */
- MCFG_SPEAKER_ADD("fspeaker", 0.0, 0.0, 1.0) /* front */
- MCFG_SPEAKER_ADD("bspeaker", 0.0, 0.0, -0.5) /* back */
- MCFG_SPEAKER_ADD("lspeaker", -0.2, 0.0, 1.0) /* left */
- MCFG_SPEAKER_ADD("rspeaker", 0.2, 0.0, 1.0) /* right */
+ SPEAKER(config, "fspeaker", 0.0, 0.0, 1.0); // front
+ SPEAKER(config, "bspeaker", 0.0, 0.0, -0.5); // back
+ SPEAKER(config, "lspeaker", -0.2, 0.0, 1.0); // left
+ SPEAKER(config, "rspeaker", 0.2, 0.0, 1.0); // right
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(10)
@@ -430,7 +430,8 @@ static const char *const subroc3d_sample_names[] =
};
MACHINE_CONFIG_START(turbo_state::subroc3d_samples)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(12)
@@ -575,7 +576,7 @@ static const char *const buckrog_sample_names[]=
MACHINE_CONFIG_START(turbo_state::buckrog_samples)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
MCFG_SAMPLES_NAMES(buckrog_sample_names)
diff --git a/src/mame/audio/vicdual-97271p.cpp b/src/mame/audio/vicdual-97271p.cpp
index 3a9a77dbc9e..6daeb676d89 100644
--- a/src/mame/audio/vicdual-97271p.cpp
+++ b/src/mame/audio/vicdual-97271p.cpp
@@ -87,7 +87,7 @@ s97271p_device::s97271p_device(const machine_config &mconfig, const char *tag, d
//-------------------------------------------------
MACHINE_CONFIG_START(s97271p_device::device_add_mconfig)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
/* samples */
MCFG_DEVICE_ADD("samples", SAMPLES)
diff --git a/src/mame/drivers/1942.cpp b/src/mame/drivers/1942.cpp
index a26e1e0da55..3800ce7f2a6 100644
--- a/src/mame/drivers/1942.cpp
+++ b/src/mame/drivers/1942.cpp
@@ -587,7 +587,7 @@ MACHINE_CONFIG_START(_1942_state::_1942)
MCFG_SCREEN_PALETTE("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -658,7 +658,7 @@ MACHINE_CONFIG_START(_1942_state::_1942p)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/1943.cpp b/src/mame/drivers/1943.cpp
index 4c17341efb6..86b764beb72 100644
--- a/src/mame/drivers/1943.cpp
+++ b/src/mame/drivers/1943.cpp
@@ -339,7 +339,7 @@ MACHINE_CONFIG_START(_1943_state::_1943)
MCFG_PALETTE_INIT_OWNER(_1943_state, 1943)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/1945kiii.cpp b/src/mame/drivers/1945kiii.cpp
index 3bef86fac09..b07de09d497 100644
--- a/src/mame/drivers/1945kiii.cpp
+++ b/src/mame/drivers/1945kiii.cpp
@@ -401,7 +401,7 @@ MACHINE_CONFIG_START(k3_state::flagrall)
MCFG_PALETTE_ADD("palette", 0x800)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki1", OKIM6295, MASTER_CLOCK/16, okim6295_device::PIN7_HIGH) /* dividers? */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/20pacgal.cpp b/src/mame/drivers/20pacgal.cpp
index 3779b402ef8..2644cf977c0 100644
--- a/src/mame/drivers/20pacgal.cpp
+++ b/src/mame/drivers/20pacgal.cpp
@@ -408,7 +408,7 @@ MACHINE_CONFIG_START(_20pacgal_state::_20pacgal)
_20pacgal_video(config);
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("namco", NAMCO_CUS30, NAMCO_AUDIO_CLOCK)
MCFG_NAMCO_AUDIO_VOICES(3)
diff --git a/src/mame/drivers/2mindril.cpp b/src/mame/drivers/2mindril.cpp
index 3883a588a2f..e20e459ebcb 100644
--- a/src/mame/drivers/2mindril.cpp
+++ b/src/mame/drivers/2mindril.cpp
@@ -384,7 +384,8 @@ MACHINE_CONFIG_START(_2mindril_state::drill)
MCFG_VIDEO_START_OVERRIDE(_2mindril_state,f3)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2610B, 16000000/2)
MCFG_YM2610_IRQ_HANDLER(WRITELINE(*this, _2mindril_state, irqhandler))
diff --git a/src/mame/drivers/30test.cpp b/src/mame/drivers/30test.cpp
index 3a5d1f1b2bf..dc15b854fdd 100644
--- a/src/mame/drivers/30test.cpp
+++ b/src/mame/drivers/30test.cpp
@@ -265,7 +265,7 @@ MACHINE_CONFIG_START(namco_30test_state::_30test)
/* no video! */
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, 1056000, okim6295_device::PIN7_HIGH)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/39in1.cpp b/src/mame/drivers/39in1.cpp
index 78365d41023..3e12a90688f 100644
--- a/src/mame/drivers/39in1.cpp
+++ b/src/mame/drivers/39in1.cpp
@@ -1600,7 +1600,8 @@ MACHINE_CONFIG_START(_39in1_state::_39in1)
MCFG_EEPROM_SERIAL_93C66_ADD("eeprom")
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("dac1", DMADAC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
diff --git a/src/mame/drivers/3x3puzzl.cpp b/src/mame/drivers/3x3puzzl.cpp
index 290a86a91c7..8babfdd21d2 100644
--- a/src/mame/drivers/3x3puzzl.cpp
+++ b/src/mame/drivers/3x3puzzl.cpp
@@ -406,7 +406,7 @@ MACHINE_CONFIG_START(_3x3puzzle_state::_3x3puzzle)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(4'000'000)/4, okim6295_device::PIN7_HIGH)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/4004clk.cpp b/src/mame/drivers/4004clk.cpp
index 446a1d8c7d3..1984ce6622c 100644
--- a/src/mame/drivers/4004clk.cpp
+++ b/src/mame/drivers/4004clk.cpp
@@ -149,7 +149,7 @@ MACHINE_CONFIG_START(nixieclock_state::_4004clk)
MCFG_DEFAULT_LAYOUT(layout_4004clk)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25)
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT)
diff --git a/src/mame/drivers/40love.cpp b/src/mame/drivers/40love.cpp
index b460f91248b..6e5960f8cc9 100644
--- a/src/mame/drivers/40love.cpp
+++ b/src/mame/drivers/40love.cpp
@@ -740,7 +740,7 @@ MACHINE_CONFIG_START(fortyl_state::_40love)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 1024)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_TA7630_ADD("ta7630")
@@ -806,7 +806,7 @@ MACHINE_CONFIG_START(fortyl_state::undoukai)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 1024)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_TA7630_ADD("ta7630")
diff --git a/src/mame/drivers/4enlinea.cpp b/src/mame/drivers/4enlinea.cpp
index d7098152e89..79ae0c08ff3 100644
--- a/src/mame/drivers/4enlinea.cpp
+++ b/src/mame/drivers/4enlinea.cpp
@@ -529,7 +529,7 @@ MACHINE_CONFIG_START(_4enlinea_state::_4enlinea)
*/
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, SND_AY_CLOCK)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("IN-P2"))
MCFG_AY8910_PORT_B_READ_CB(IOPORT("IN-P1"))
diff --git a/src/mame/drivers/4enraya.cpp b/src/mame/drivers/4enraya.cpp
index 22a100e519c..889a742b92b 100644
--- a/src/mame/drivers/4enraya.cpp
+++ b/src/mame/drivers/4enraya.cpp
@@ -492,7 +492,7 @@ MACHINE_CONFIG_START(_4enraya_state::_4enraya )
MCFG_PALETTE_ADD_3BIT_RGB("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, MAIN_CLOCK/4) /* guess */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.3)
MACHINE_CONFIG_END
@@ -508,7 +508,7 @@ MACHINE_CONFIG_START(_4enraya_state::unkpacg)
MCFG_NVRAM_ADD_0FILL("nvram")
/* sound hardware */
-// MCFG_SPEAKER_STANDARD_MONO("mono")
+// SPEAKER(config, "mono").front_center();
MCFG_DEVICE_REPLACE("aysnd", AY8910, MAIN_CLOCK/4) /* guess */
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW2"))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/4roses.cpp b/src/mame/drivers/4roses.cpp
index 4467378a25a..eb154a56dc2 100644
--- a/src/mame/drivers/4roses.cpp
+++ b/src/mame/drivers/4roses.cpp
@@ -470,7 +470,7 @@ MACHINE_CONFIG_START(_4roses_state::_4roses)
//MCFG_MC6845_OUT_VSYNC_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay8910", AY8910, MASTER_CLOCK/8) /* 2MHz, guess */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 2.5)
diff --git a/src/mame/drivers/5clown.cpp b/src/mame/drivers/5clown.cpp
index a289a41bade..72aff21b841 100644
--- a/src/mame/drivers/5clown.cpp
+++ b/src/mame/drivers/5clown.cpp
@@ -1060,7 +1060,7 @@ MACHINE_CONFIG_START(_5clown_state::fclown)
MCFG_MC6845_OUT_VSYNC_CB(INPUTLINE("maincpu", INPUT_LINE_NMI))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay8910", AY8910, MASTER_CLOCK/8) /* guess, seems ok */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/8080bw.cpp b/src/mame/drivers/8080bw.cpp
index 516ec4a46ca..f0e76eced07 100644
--- a/src/mame/drivers/8080bw.cpp
+++ b/src/mame/drivers/8080bw.cpp
@@ -958,7 +958,7 @@ MACHINE_CONFIG_START(_8080bw_state::invrvnge)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay1", AY8910, XTAL(4'000'000)/2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
@@ -1134,7 +1134,7 @@ MACHINE_CONFIG_START(_8080bw_state::lrescue)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
@@ -1167,7 +1167,7 @@ MACHINE_CONFIG_START(_8080bw_state::escmars)
MCFG_PALETTE_ADD_MONOCHROME("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
@@ -1566,7 +1566,7 @@ MACHINE_CONFIG_START(_8080bw_state::schaser)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(RES_K(47), RES_K(330), CAP_P(470)) // noise + filter
@@ -1900,7 +1900,7 @@ MACHINE_CONFIG_START(_8080bw_state::lupin3)
MCFG_PALETTE_ADD_3BIT_RGB("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C
@@ -2071,7 +2071,7 @@ MACHINE_CONFIG_START(_8080bw_state::polaris)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, polaris_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/88games.cpp b/src/mame/drivers/88games.cpp
index 40fcc9e1323..3927dd6fe54 100644
--- a/src/mame/drivers/88games.cpp
+++ b/src/mame/drivers/88games.cpp
@@ -346,7 +346,7 @@ MACHINE_CONFIG_START(_88games_state::_88games)
MCFG_K051316_CB(_88games_state, zoom_callback)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/a2600.cpp b/src/mame/drivers/a2600.cpp
index 8cb30ad84bc..a59f435e577 100644
--- a/src/mame/drivers/a2600.cpp
+++ b/src/mame/drivers/a2600.cpp
@@ -521,7 +521,7 @@ MACHINE_CONFIG_START(a2600_state::a2600)
MCFG_SCREEN_PALETTE("tia_video:palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_TIA_ADD("tia", MASTER_CLOCK_NTSC/114)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
@@ -569,7 +569,7 @@ MACHINE_CONFIG_START(a2600_state::a2600p)
MCFG_SCREEN_PALETTE("tia_video:palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_TIA_ADD("tia", MASTER_CLOCK_PAL/114)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
diff --git a/src/mame/drivers/a5105.cpp b/src/mame/drivers/a5105.cpp
index 77eb0cf344b..b2204c52f10 100644
--- a/src/mame/drivers/a5105.cpp
+++ b/src/mame/drivers/a5105.cpp
@@ -585,7 +585,7 @@ MACHINE_CONFIG_START(a5105_state::a5105)
MCFG_PALETTE_INIT_OWNER(a5105_state, a5105)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DEVICE_ADD("beeper", BEEP, 500)
diff --git a/src/mame/drivers/a6809.cpp b/src/mame/drivers/a6809.cpp
index 5cfe9db5eb6..13757281abd 100644
--- a/src/mame/drivers/a6809.cpp
+++ b/src/mame/drivers/a6809.cpp
@@ -239,7 +239,7 @@ MACHINE_CONFIG_START(a6809_state::a6809)
MCFG_PALETTE_ADD("palette", 8)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/mame/drivers/a7800.cpp b/src/mame/drivers/a7800.cpp
index f3436602983..9dc01a74f81 100644
--- a/src/mame/drivers/a7800.cpp
+++ b/src/mame/drivers/a7800.cpp
@@ -1395,7 +1395,7 @@ MACHINE_CONFIG_START(a7800_state::a7800_ntsc)
MCFG_MARIA_SCREEN("screen")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_TIA_ADD("tia", 31400)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/aa310.cpp b/src/mame/drivers/aa310.cpp
index 402d0911542..1f155433074 100644
--- a/src/mame/drivers/aa310.cpp
+++ b/src/mame/drivers/aa310.cpp
@@ -434,7 +434,7 @@ MACHINE_CONFIG_START(aa310_state::aa310)
MCFG_SOFTWARE_LIST_ADD("flop_list", "archimedes")
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac0", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(0, "speaker", 0.1) // unknown DAC
MCFG_DEVICE_ADD("dac1", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(0, "speaker", 0.1) // unknown DAC
MCFG_DEVICE_ADD("dac2", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(0, "speaker", 0.1) // unknown DAC
diff --git a/src/mame/drivers/abc80.cpp b/src/mame/drivers/abc80.cpp
index a2b0d11702a..ddc61a9262f 100644
--- a/src/mame/drivers/abc80.cpp
+++ b/src/mame/drivers/abc80.cpp
@@ -496,7 +496,7 @@ MACHINE_CONFIG_START(abc80_state::abc80)
abc80_video(config);
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SN76477_TAG, SN76477)
MCFG_SN76477_NOISE_PARAMS(RES_K(47), RES_K(330), CAP_P(390)) // noise + filter: R26 47k - R24 330k - C52 390p
MCFG_SN76477_DECAY_RES(RES_K(47)) // decay_res: R23 47k
diff --git a/src/mame/drivers/abc80x.cpp b/src/mame/drivers/abc80x.cpp
index 176355ebbc2..76a226086d5 100644
--- a/src/mame/drivers/abc80x.cpp
+++ b/src/mame/drivers/abc80x.cpp
@@ -1161,7 +1161,7 @@ MACHINE_CONFIG_START(abc800c_state::abc800c)
abc800c_video(config);
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(DISCRETE_TAG, DISCRETE, abc800_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
@@ -1236,7 +1236,7 @@ MACHINE_CONFIG_START(abc800m_state::abc800m)
abc800m_video(config);
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(DISCRETE_TAG, DISCRETE, abc800_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
@@ -1313,7 +1313,7 @@ MACHINE_CONFIG_START(abc802_state::abc802)
abc802_video(config);
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(DISCRETE_TAG, DISCRETE, abc800_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
diff --git a/src/mame/drivers/ac1.cpp b/src/mame/drivers/ac1.cpp
index d4d23f6f96d..ecb7cdda717 100644
--- a/src/mame/drivers/ac1.cpp
+++ b/src/mame/drivers/ac1.cpp
@@ -154,7 +154,7 @@ MACHINE_CONFIG_START(ac1_state::ac1)
MCFG_PALETTE_ADD_MONOCHROME("palette")
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/mame/drivers/accomm.cpp b/src/mame/drivers/accomm.cpp
index f7c41c1deee..46df25156e1 100644
--- a/src/mame/drivers/accomm.cpp
+++ b/src/mame/drivers/accomm.cpp
@@ -857,7 +857,7 @@ MACHINE_CONFIG_START(accomm_state::accomm)
MCFG_NVRAM_ADD_0FILL("nvram")
/* sound */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 300)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/aces1.cpp b/src/mame/drivers/aces1.cpp
index 09d128ee7e5..a87debe908a 100644
--- a/src/mame/drivers/aces1.cpp
+++ b/src/mame/drivers/aces1.cpp
@@ -466,7 +466,7 @@ MACHINE_CONFIG_START(aces1_state::aces1)
MCFG_DEFAULT_LAYOUT(layout_aces1)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
// 0xadf0 - Dips, Sound
MCFG_DEVICE_ADD("aysnd", AY8910, 1500000) /* ?? MHz */
diff --git a/src/mame/drivers/acommand.cpp b/src/mame/drivers/acommand.cpp
index a8b5609899f..d254180106b 100644
--- a/src/mame/drivers/acommand.cpp
+++ b/src/mame/drivers/acommand.cpp
@@ -491,7 +491,8 @@ MACHINE_CONFIG_START(acommand_state::acommand)
MCFG_MEGASYS1_TILEMAP_ADD("txtmap", "palette", 0x2700)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("oki1", OKIM6295, 2112000, okim6295_device::PIN7_HIGH) // clock frequency & pin 7 not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
diff --git a/src/mame/drivers/acrnsys1.cpp b/src/mame/drivers/acrnsys1.cpp
index 6cfbc014296..d8cb8ef1a56 100644
--- a/src/mame/drivers/acrnsys1.cpp
+++ b/src/mame/drivers/acrnsys1.cpp
@@ -273,7 +273,7 @@ MACHINE_CONFIG_START(acrnsys1_state::acrnsys1)
MCFG_DEFAULT_LAYOUT(layout_acrnsys1)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/mame/drivers/actfancr.cpp b/src/mame/drivers/actfancr.cpp
index d51b0b1443f..63c7aa7dbad 100644
--- a/src/mame/drivers/actfancr.cpp
+++ b/src/mame/drivers/actfancr.cpp
@@ -322,7 +322,7 @@ MACHINE_CONFIG_START(actfancr_state::actfancr)
MCFG_DECO_MXC06_GFXDECODE("gfxdecode")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -380,7 +380,7 @@ MACHINE_CONFIG_START(actfancr_state::triothep)
MCFG_DECO_MXC06_GFXDECODE("gfxdecode")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/acvirus.cpp b/src/mame/drivers/acvirus.cpp
index 7f8ce0b99bc..f3b36b9d815 100644
--- a/src/mame/drivers/acvirus.cpp
+++ b/src/mame/drivers/acvirus.cpp
@@ -110,7 +110,8 @@ MACHINE_CONFIG_START(acvirus_state::virus)
MCFG_DEVICE_ADD("maincpu", I8052, XTAL(12'000'000))
MCFG_DEVICE_PROGRAM_MAP(virus_map)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MACHINE_CONFIG_END
static INPUT_PORTS_START( virus )
diff --git a/src/mame/drivers/adam.cpp b/src/mame/drivers/adam.cpp
index f0554ebdf4c..953f83353ae 100644
--- a/src/mame/drivers/adam.cpp
+++ b/src/mame/drivers/adam.cpp
@@ -1071,7 +1071,7 @@ MACHINE_CONFIG_START(adam_state::adam)
MCFG_SCREEN_UPDATE_DEVICE(TMS9928A_TAG, tms9928a_device, screen_update)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SN76489A_TAG, SN76489A, XTAL(7'159'090)/2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
// TODO: enable when Z80 has better WAIT pin emulation
diff --git a/src/mame/drivers/adp.cpp b/src/mame/drivers/adp.cpp
index 26e216dd690..9637d5e34a2 100644
--- a/src/mame/drivers/adp.cpp
+++ b/src/mame/drivers/adp.cpp
@@ -583,7 +583,7 @@ MACHINE_CONFIG_START(adp_state::quickjac)
MCFG_HD63484_ADD("acrtc", 0, adp_hd63484_map)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, 3686400/2)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("PA"))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
diff --git a/src/mame/drivers/advision.cpp b/src/mame/drivers/advision.cpp
index 58c77b18bcf..a878481e33c 100644
--- a/src/mame/drivers/advision.cpp
+++ b/src/mame/drivers/advision.cpp
@@ -91,7 +91,7 @@ MACHINE_CONFIG_START(advision_state::advision)
MCFG_PALETTE_INIT_OWNER(advision_state, advision)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_2BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
diff --git a/src/mame/drivers/aeroboto.cpp b/src/mame/drivers/aeroboto.cpp
index c94846cce15..628472e52f9 100644
--- a/src/mame/drivers/aeroboto.cpp
+++ b/src/mame/drivers/aeroboto.cpp
@@ -268,7 +268,7 @@ MACHINE_CONFIG_START(aeroboto_state::formatz)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 256)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_8_ADD("soundlatch2")
diff --git a/src/mame/drivers/aerofgt.cpp b/src/mame/drivers/aerofgt.cpp
index 949892d56a3..a6849b0f125 100644
--- a/src/mame/drivers/aerofgt.cpp
+++ b/src/mame/drivers/aerofgt.cpp
@@ -1484,7 +1484,8 @@ MACHINE_CONFIG_START(aerofgt_state::pspikes)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,pspikes)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -1564,7 +1565,7 @@ MACHINE_CONFIG_START(aerofgt_state::pspikesb)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,pspikes)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, 1056000, okim6295_device::PIN7_LOW) // clock frequency & pin 7 not verified, pin high causes sound pitch to be too high
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -1614,7 +1615,7 @@ MACHINE_CONFIG_START(aerofgt_state::kickball)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,pspikes)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -1661,7 +1662,7 @@ MACHINE_CONFIG_START(aerofgt_state::pspikesc)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,pspikes)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, 1056000, okim6295_device::PIN7_HIGH) // clock frequency & pin 7 not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -1710,7 +1711,8 @@ MACHINE_CONFIG_START(aerofgt_state::karatblz)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,karatblz)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -1770,7 +1772,7 @@ MACHINE_CONFIG_START(aerofgt_state::karatblzbl)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM3812, XTAL(8'000'000)/2)
MCFG_YM3812_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
@@ -1824,7 +1826,8 @@ MACHINE_CONFIG_START(aerofgt_state::spinlbrk)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,spinlbrk)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -1881,7 +1884,8 @@ MACHINE_CONFIG_START(aerofgt_state::turbofrc)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,turbofrc)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -1939,7 +1943,8 @@ MACHINE_CONFIG_START(aerofgt_state::aerofgtb)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,turbofrc)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -2002,7 +2007,8 @@ MACHINE_CONFIG_START(aerofgt_state::aerofgt)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,turbofrc)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -2048,7 +2054,7 @@ MACHINE_CONFIG_START(aerofgt_state::aerfboot)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,turbofrc)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
@@ -2088,7 +2094,7 @@ MACHINE_CONFIG_START(aerofgt_state::aerfboo2)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,turbofrc)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, 1056000, okim6295_device::PIN7_HIGH) // clock frequency & pin 7 not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -2129,7 +2135,7 @@ MACHINE_CONFIG_START(aerofgt_state::wbbc97)
MCFG_VIDEO_START_OVERRIDE(aerofgt_state,wbbc97)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/agat.cpp b/src/mame/drivers/agat.cpp
index 4db4cf368df..2c5d1dd91a2 100644
--- a/src/mame/drivers/agat.cpp
+++ b/src/mame/drivers/agat.cpp
@@ -1097,7 +1097,7 @@ MACHINE_CONFIG_START(agat7_state::agat7)
MCFG_RAM_DEFAULT_VALUE(0x00)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(A7_SPEAKER_TAG, SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/age_candy.cpp b/src/mame/drivers/age_candy.cpp
index 0119df14328..f04459e4362 100644
--- a/src/mame/drivers/age_candy.cpp
+++ b/src/mame/drivers/age_candy.cpp
@@ -61,7 +61,7 @@ MACHINE_CONFIG_START(age_candy_state::age_candy)
// MCFG_DEVICE_IO_MAP(age_candy_io)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aim65.cpp b/src/mame/drivers/aim65.cpp
index 8fb5fb4b74f..a4dd3084356 100644
--- a/src/mame/drivers/aim65.cpp
+++ b/src/mame/drivers/aim65.cpp
@@ -206,7 +206,7 @@ MACHINE_CONFIG_START(aim65_state::aim65)
MCFG_DL1416_UPDATE_HANDLER(WRITE16(*this, aim65_state, aim65_update_ds<5>))
/* Sound - wave sound only */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/mame/drivers/airbustr.cpp b/src/mame/drivers/airbustr.cpp
index 77728184ebb..acf9f14ef17 100644
--- a/src/mame/drivers/airbustr.cpp
+++ b/src/mame/drivers/airbustr.cpp
@@ -605,7 +605,7 @@ MACHINE_CONFIG_START(airbustr_state::airbustr)
MCFG_KANEKO_PANDORA_GFXDECODE("gfxdecode")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch1")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/airraid.cpp b/src/mame/drivers/airraid.cpp
index 60a0e715a81..a22f2ae2413 100644
--- a/src/mame/drivers/airraid.cpp
+++ b/src/mame/drivers/airraid.cpp
@@ -404,7 +404,7 @@ MACHINE_CONFIG_START(airraid_state::airraid)
MCFG_AIRRAID_VIDEO_ADD("airraid_vid")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM2151, XTAL(14'318'181)/4)
MCFG_YM2151_IRQ_HANDLER(WRITELINE("seibu_sound", seibu_sound_device, fm_irqhandler))
diff --git a/src/mame/drivers/ajax.cpp b/src/mame/drivers/ajax.cpp
index fd36a1d1eae..6b22e935327 100644
--- a/src/mame/drivers/ajax.cpp
+++ b/src/mame/drivers/ajax.cpp
@@ -214,7 +214,8 @@ MACHINE_CONFIG_START(ajax_state::ajax)
MCFG_K051316_CB(ajax_state, zoom_callback)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/albazc.cpp b/src/mame/drivers/albazc.cpp
index 615f1daed54..20fb8252653 100644
--- a/src/mame/drivers/albazc.cpp
+++ b/src/mame/drivers/albazc.cpp
@@ -304,7 +304,7 @@ MACHINE_CONFIG_START(albazc_state::hanaroku)
MCFG_PALETTE_INIT_OWNER(albazc_state, albazc)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, 1500000) /* ? MHz */
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW1"))
diff --git a/src/mame/drivers/albazg.cpp b/src/mame/drivers/albazg.cpp
index 9133200b476..5dc05b75d31 100644
--- a/src/mame/drivers/albazg.cpp
+++ b/src/mame/drivers/albazg.cpp
@@ -396,7 +396,7 @@ MACHINE_CONFIG_START(albazg_state::yumefuda)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, MASTER_CLOCK/16) /* guessed to use the same xtal as the crtc */
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW1"))
diff --git a/src/mame/drivers/aleck64.cpp b/src/mame/drivers/aleck64.cpp
index 956f06af2d0..46eff01eec8 100644
--- a/src/mame/drivers/aleck64.cpp
+++ b/src/mame/drivers/aleck64.cpp
@@ -935,7 +935,8 @@ MACHINE_CONFIG_START(aleck64_state::aleck64)
MCFG_PALETTE_ADD("palette", 0x1000)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("dac1", DMADAC)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
diff --git a/src/mame/drivers/alg.cpp b/src/mame/drivers/alg.cpp
index 32c4d3eb432..943ccded4e6 100644
--- a/src/mame/drivers/alg.cpp
+++ b/src/mame/drivers/alg.cpp
@@ -332,7 +332,8 @@ MACHINE_CONFIG_START(alg_state::alg_r1)
MCFG_VIDEO_START_OVERRIDE(alg_state,alg)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("amiga", PAULA_8364, amiga_state::CLK_C1_NTSC)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
diff --git a/src/mame/drivers/alien.cpp b/src/mame/drivers/alien.cpp
index 0b7efa6afbe..bf1c6817acd 100644
--- a/src/mame/drivers/alien.cpp
+++ b/src/mame/drivers/alien.cpp
@@ -108,7 +108,7 @@ MACHINE_CONFIG_START(alien_state::alien)
MCFG_PALETTE_ADD("palette", 0x1000)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aliens.cpp b/src/mame/drivers/aliens.cpp
index 046106353c5..0386cb5ce8a 100644
--- a/src/mame/drivers/aliens.cpp
+++ b/src/mame/drivers/aliens.cpp
@@ -236,7 +236,7 @@ MACHINE_CONFIG_START(aliens_state::aliens)
MCFG_K051960_IRQ_HANDLER(INPUTLINE("maincpu", KONAMI_IRQ_LINE))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/alinvade.cpp b/src/mame/drivers/alinvade.cpp
index 20e15526336..19c64dd99b8 100644
--- a/src/mame/drivers/alinvade.cpp
+++ b/src/mame/drivers/alinvade.cpp
@@ -221,7 +221,7 @@ MACHINE_CONFIG_START(alinvade_state::alinvade)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, alinvade_state, vblank_irq))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, alinvade_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/alpha68k.cpp b/src/mame/drivers/alpha68k.cpp
index 1277d24586a..ee035381220 100644
--- a/src/mame/drivers/alpha68k.cpp
+++ b/src/mame/drivers/alpha68k.cpp
@@ -1969,7 +1969,7 @@ MACHINE_CONFIG_START(alpha68k_state::sstingry)
MCFG_PALETTE_INIT_OWNER(alpha68k_state,kyros)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2021,7 +2021,7 @@ MACHINE_CONFIG_START(alpha68k_state::kyros)
MCFG_PALETTE_INIT_OWNER(alpha68k_state,kyros)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2072,7 +2072,7 @@ MACHINE_CONFIG_START(alpha68k_state::jongbou)
MCFG_PALETTE_INIT_OWNER(alpha68k_state,kyros)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2111,7 +2111,7 @@ MACHINE_CONFIG_START(alpha68k_state::alpha68k_I)
MCFG_PALETTE_INIT_OWNER(alpha68k_state,paddlem)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2158,7 +2158,7 @@ MACHINE_CONFIG_START(alpha68k_state::alpha68k_II)
MCFG_VIDEO_START_OVERRIDE(alpha68k_state,alpha68k)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2215,7 +2215,7 @@ MACHINE_CONFIG_START(alpha68k_state::alpha68k_II_gm)
MCFG_VIDEO_START_OVERRIDE(alpha68k_state,alpha68k)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2264,7 +2264,7 @@ MACHINE_CONFIG_START(alpha68k_state::alpha68k_V)
MCFG_VIDEO_START_OVERRIDE(alpha68k_state,alpha68k)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2313,7 +2313,7 @@ MACHINE_CONFIG_START(alpha68k_state::alpha68k_V_sb)
MCFG_VIDEO_START_OVERRIDE(alpha68k_state,alpha68k)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -2361,7 +2361,7 @@ MACHINE_CONFIG_START(alpha68k_state::tnextspc)
MCFG_PALETTE_INIT_OWNER(alpha68k_state,paddlem)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/alphatpx.cpp b/src/mame/drivers/alphatpx.cpp
index 3c37e024aaa..eb770b10723 100644
--- a/src/mame/drivers/alphatpx.cpp
+++ b/src/mame/drivers/alphatpx.cpp
@@ -1240,7 +1240,7 @@ MACHINE_CONFIG_START(alphatp_12_state::alphatp2)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", alphatp3)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO( "mono" )
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD( "beeper", BEEP, 1060 )
MCFG_SOUND_ROUTE( ALL_OUTPUTS, "mono", 1.00 )
@@ -1321,7 +1321,7 @@ MACHINE_CONFIG_START(alphatp_34_state::alphatp3)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", alphatp3)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO( "mono" )
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD( "beeper", BEEP, 1060 )
MCFG_SOUND_ROUTE( ALL_OUTPUTS, "mono", 1.00 )
diff --git a/src/mame/drivers/alphatro.cpp b/src/mame/drivers/alphatro.cpp
index 8a7b795cd58..f146f43f3a7 100644
--- a/src/mame/drivers/alphatro.cpp
+++ b/src/mame/drivers/alphatro.cpp
@@ -716,7 +716,7 @@ MACHINE_CONFIG_START(alphatro_state::alphatro)
MCFG_PALETTE_INIT_OWNER(alphatro_state, alphatro)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 950) /* piezo-device needs to be measured */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp
index bbcf2135b0e..6cfed0f62e2 100644
--- a/src/mame/drivers/alto2.cpp
+++ b/src/mame/drivers/alto2.cpp
@@ -303,7 +303,7 @@ MACHINE_CONFIG_START(alto2_state::alto2)
MCFG_PALETTE_ADD_MONOCHROME("palette")
// Sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
diff --git a/src/mame/drivers/amaticmg.cpp b/src/mame/drivers/amaticmg.cpp
index 9bb46b56554..d522e453a4c 100644
--- a/src/mame/drivers/amaticmg.cpp
+++ b/src/mame/drivers/amaticmg.cpp
@@ -881,7 +881,7 @@ MACHINE_CONFIG_START(amaticmg_state::amaticmg)
MCFG_PALETTE_INIT_OWNER(amaticmg_state, amaticmg)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("ymsnd", YM3812, SND_CLOCK) /* Y3014B DAC */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5)
diff --git a/src/mame/drivers/ambush.cpp b/src/mame/drivers/ambush.cpp
index 2775ec4197a..09c881a4313 100644
--- a/src/mame/drivers/ambush.cpp
+++ b/src/mame/drivers/ambush.cpp
@@ -718,7 +718,7 @@ MACHINE_CONFIG_START(ambush_state::ambush)
MCFG_PALETTE_INIT_OWNER(ambush_state, ambush)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay1", AY8912, XTAL(18'432'000)/6/2)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("buttons"))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
diff --git a/src/mame/drivers/amerihok.cpp b/src/mame/drivers/amerihok.cpp
index c6c03c47a30..f2a179d443d 100644
--- a/src/mame/drivers/amerihok.cpp
+++ b/src/mame/drivers/amerihok.cpp
@@ -84,7 +84,7 @@ MACHINE_CONFIG_START(amerihok_state::amerihok)
MCFG_DEVICE_DATA_MAP(amerihok_data_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6376, 1000000) // 64-pin QFP (probably actually MSM6650)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/amiga.cpp b/src/mame/drivers/amiga.cpp
index 27b371d798b..42c3add6430 100644
--- a/src/mame/drivers/amiga.cpp
+++ b/src/mame/drivers/amiga.cpp
@@ -1396,7 +1396,8 @@ MACHINE_CONFIG_START(amiga_state::amiga_base)
MCFG_MOS6526_PB_OUTPUT_CALLBACK(WRITE8("fdc", amiga_fdc_device, ciaaprb_w))
// audio
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("amiga", PAULA_8364, amiga_state::CLK_C1_PAL)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
MCFG_SOUND_ROUTE(1, "rspeaker", 0.50)
diff --git a/src/mame/drivers/ampoker2.cpp b/src/mame/drivers/ampoker2.cpp
index 992ecefad17..35224ab4314 100644
--- a/src/mame/drivers/ampoker2.cpp
+++ b/src/mame/drivers/ampoker2.cpp
@@ -1175,7 +1175,7 @@ MACHINE_CONFIG_START(ampoker2_state::ampoker2)
MCFG_PALETTE_INIT_OWNER(ampoker2_state, ampoker2)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, MASTER_CLOCK/4) /* 1.5 MHz, measured */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/amspdwy.cpp b/src/mame/drivers/amspdwy.cpp
index bc57d7c596f..38e8255909c 100644
--- a/src/mame/drivers/amspdwy.cpp
+++ b/src/mame/drivers/amspdwy.cpp
@@ -274,7 +274,8 @@ MACHINE_CONFIG_START(amspdwy_state::amspdwy)
MCFG_PALETTE_FORMAT(BBGGGRRR_inverted)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/amstrad.cpp b/src/mame/drivers/amstrad.cpp
index c7dfd59874f..78ae761a2c3 100644
--- a/src/mame/drivers/amstrad.cpp
+++ b/src/mame/drivers/amstrad.cpp
@@ -947,7 +947,7 @@ MACHINE_CONFIG_START(amstrad_state::amstrad_base)
MCFG_VIDEO_START_OVERRIDE(amstrad_state,amstrad)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DEVICE_ADD("ay", AY8912, XTAL(16'000'000) / 16)
@@ -1075,7 +1075,7 @@ MACHINE_CONFIG_START(amstrad_state::cpcplus)
MCFG_VIDEO_START_OVERRIDE(amstrad_state,amstrad)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DEVICE_ADD("ay", AY8912, XTAL(40'000'000) / 40)
@@ -1154,7 +1154,7 @@ MACHINE_CONFIG_START(amstrad_state::gx4000)
MCFG_VIDEO_START_OVERRIDE(amstrad_state,amstrad)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ay", AY8912, XTAL(40'000'000) / 40)
MCFG_AY8910_PORT_A_READ_CB(READ8(*this, amstrad_state, amstrad_psg_porta_read)) /* portA read */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/mame/drivers/amusco.cpp b/src/mame/drivers/amusco.cpp
index b2ddd42d138..6b970c065d2 100644
--- a/src/mame/drivers/amusco.cpp
+++ b/src/mame/drivers/amusco.cpp
@@ -592,7 +592,7 @@ MACHINE_CONFIG_START(amusco_state::amusco)
MCFG_MC6845_UPDATE_ROW_CB(amusco_state, update_row)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sn", SN76489A, SND_CLOCK)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/amust.cpp b/src/mame/drivers/amust.cpp
index e64a9de40b1..75a9112306f 100644
--- a/src/mame/drivers/amust.cpp
+++ b/src/mame/drivers/amust.cpp
@@ -395,7 +395,7 @@ MACHINE_CONFIG_START(amust_state::amust)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", amust)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beeper", BEEP, 800)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/mame/drivers/anes.cpp b/src/mame/drivers/anes.cpp
index 6e2adfcaf90..b80bd82a1a8 100644
--- a/src/mame/drivers/anes.cpp
+++ b/src/mame/drivers/anes.cpp
@@ -173,7 +173,7 @@ MACHINE_CONFIG_START(anes_state::anes)
MCFG_PALETTE_ADD("palette", 0x100)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ym", YM2413, XTAL(3'579'545))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/angelkds.cpp b/src/mame/drivers/angelkds.cpp
index 83550c5e1bc..780908686de 100644
--- a/src/mame/drivers/angelkds.cpp
+++ b/src/mame/drivers/angelkds.cpp
@@ -554,7 +554,7 @@ MACHINE_CONFIG_START(angelkds_state::angelkds)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ym1", YM2203, XTAL(4'000'000))
MCFG_YM2203_IRQ_HANDLER(INPUTLINE("sub", 0))
diff --git a/src/mame/drivers/apc.cpp b/src/mame/drivers/apc.cpp
index 419e836d199..924611538c7 100644
--- a/src/mame/drivers/apc.cpp
+++ b/src/mame/drivers/apc.cpp
@@ -987,7 +987,7 @@ MACHINE_CONFIG_START(apc_state::apc)
MCFG_UPD7220_DISPLAY_PIXELS_CALLBACK_OWNER(apc_state, hgdc_display_pixels)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD( "upd1771c", UPD1771C, MAIN_CLOCK ) //uPD1771C-006
MCFG_SOUND_ROUTE( ALL_OUTPUTS, "mono", 1.00 )
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/apf.cpp b/src/mame/drivers/apf.cpp
index 3409811f529..e9dc9a82e99 100644
--- a/src/mame/drivers/apf.cpp
+++ b/src/mame/drivers/apf.cpp
@@ -533,7 +533,7 @@ MACHINE_CONFIG_START(apf_state::apfm1000)
// other lines not connected
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/mame/drivers/apogee.cpp b/src/mame/drivers/apogee.cpp
index 91c727e26ea..e280fde1833 100644
--- a/src/mame/drivers/apogee.cpp
+++ b/src/mame/drivers/apogee.cpp
@@ -253,7 +253,7 @@ MACHINE_CONFIG_START(apogee_state::apogee)
MCFG_PALETTE_ADD("palette", 3)
MCFG_PALETTE_INIT_OWNER(apogee_state,radio86)
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
diff --git a/src/mame/drivers/apollo.cpp b/src/mame/drivers/apollo.cpp
index 8ee9cf4c829..65eeb4a0041 100644
--- a/src/mame/drivers/apollo.cpp
+++ b/src/mame/drivers/apollo.cpp
@@ -1064,7 +1064,7 @@ MACHINE_CONFIG_START(apollo_state::dn3500)
apollo(config);
/* keyboard beeper */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beep", BEEP, 1000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
@@ -1088,7 +1088,7 @@ MACHINE_CONFIG_START(apollo_state::dsp3500)
apollo_terminal(config);
/* keyboard beeper */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beep", BEEP, 1000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
@@ -1139,7 +1139,7 @@ MACHINE_CONFIG_START(apollo_state::dsp3000)
apollo_terminal(config);
/* keyboard beeper */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beep", BEEP, 1000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
@@ -1188,7 +1188,7 @@ MACHINE_CONFIG_START(apollo_state::dsp5500)
apollo_terminal(config);
/* keyboard beeper */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("beep", BEEP, 1000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp
index ecaa9c5a4bd..2079a4175f4 100644
--- a/src/mame/drivers/apple2.cpp
+++ b/src/mame/drivers/apple2.cpp
@@ -1391,7 +1391,7 @@ MACHINE_CONFIG_START(napple2_state::apple2_common)
MCFG_PALETTE_INIT_OWNER(napple2_state, apple2)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(A2_SPEAKER_TAG, SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp
index c4a00aca969..6f6b5fc32d7 100644
--- a/src/mame/drivers/apple2e.cpp
+++ b/src/mame/drivers/apple2e.cpp
@@ -3903,7 +3903,7 @@ MACHINE_CONFIG_START(apple2e_state::apple2e)
MCFG_PALETTE_INIT_OWNER(apple2e_state, apple2)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(A2_SPEAKER_TAG, SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/apple2gs.cpp b/src/mame/drivers/apple2gs.cpp
index 96fe438ec6c..44fbdf85bc0 100644
--- a/src/mame/drivers/apple2gs.cpp
+++ b/src/mame/drivers/apple2gs.cpp
@@ -363,10 +363,11 @@ MACHINE_CONFIG_START(apple2gs_state::apple2gs)
MCFG_AY3600_DATA_READY_CB(WRITELINE(*this, apple2_state, ay3600_iie_data_ready_w))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("a2speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_ES5503_ADD("es5503", APPLE2GS_7M)
MCFG_ES5503_OUTPUT_CHANNELS(2)
diff --git a/src/mame/drivers/apple3.cpp b/src/mame/drivers/apple3.cpp
index de924a79573..62fade1212e 100644
--- a/src/mame/drivers/apple3.cpp
+++ b/src/mame/drivers/apple3.cpp
@@ -146,7 +146,7 @@ MACHINE_CONFIG_START(apple3_state::apple3)
MCFG_VIA6522_IRQ_HANDLER(WRITELINE(*this, apple3_state, apple3_via_1_irq_func))
/* sound */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("bell", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.99)
MCFG_DEVICE_ADD("dac", DAC_6BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.125) // 6522.b5(pb0-pb5) + 320k,160k,80k,40k,20k,10k
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/mame/drivers/applix.cpp b/src/mame/drivers/applix.cpp
index fd82b97630f..5174f8c052b 100644
--- a/src/mame/drivers/applix.cpp
+++ b/src/mame/drivers/applix.cpp
@@ -870,7 +870,8 @@ MACHINE_CONFIG_START(applix_state::applix)
MCFG_PALETTE_INIT_OWNER(applix_state, applix)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ldac", DAC0800, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) // 74ls374.u20 + dac0800.u21 + 4052.u23
MCFG_DEVICE_ADD("rdac", DAC0800, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) // 74ls374.u20 + dac0800.u21 + 4052.u23
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/mame/drivers/appoooh.cpp b/src/mame/drivers/appoooh.cpp
index 3436dd4302f..01a3a3acc93 100644
--- a/src/mame/drivers/appoooh.cpp
+++ b/src/mame/drivers/appoooh.cpp
@@ -429,7 +429,7 @@ MACHINE_CONFIG_START(appoooh_state::appoooh_common)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sn1", SN76489, 18432000/6)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
diff --git a/src/mame/drivers/apricot.cpp b/src/mame/drivers/apricot.cpp
index 2e8d81f936c..68b61dad99d 100644
--- a/src/mame/drivers/apricot.cpp
+++ b/src/mame/drivers/apricot.cpp
@@ -391,7 +391,7 @@ MACHINE_CONFIG_START(apricot_state::apricot)
MCFG_MC6845_OUT_DE_CB(WRITELINE(*this, apricot_state, apricot_hd6845_de))
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ic7", SN76489, XTAL(4'000'000) / 2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/apricotp.cpp b/src/mame/drivers/apricotp.cpp
index e6bcf0ae926..d3b2400a813 100644
--- a/src/mame/drivers/apricotp.cpp
+++ b/src/mame/drivers/apricotp.cpp
@@ -623,7 +623,7 @@ MACHINE_CONFIG_START(fp_state::fp)
MCFG_MC6845_UPDATE_ROW_CB(fp_state, update_row)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(SN76489AN_TAG, SN76489A, 2000000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/aquarium.cpp b/src/mame/drivers/aquarium.cpp
index 2c5a70f2ad5..3cfde4fbc60 100644
--- a/src/mame/drivers/aquarium.cpp
+++ b/src/mame/drivers/aquarium.cpp
@@ -317,7 +317,8 @@ MACHINE_CONFIG_START(aquarium_state::aquarium)
MCFG_DEVICE_ADD("spritegen", EXCELLENT_SPRITE, 0)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/aquarius.cpp b/src/mame/drivers/aquarius.cpp
index c6fa6ac234e..eeb93bec085 100644
--- a/src/mame/drivers/aquarius.cpp
+++ b/src/mame/drivers/aquarius.cpp
@@ -372,7 +372,7 @@ MACHINE_CONFIG_START(aquarius_state::aquarius)
MCFG_PALETTE_INIT_OWNER(aquarius_state, aquarius)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
diff --git a/src/mame/drivers/arabian.cpp b/src/mame/drivers/arabian.cpp
index 390239549e0..7c0824376ae 100644
--- a/src/mame/drivers/arabian.cpp
+++ b/src/mame/drivers/arabian.cpp
@@ -392,7 +392,7 @@ MACHINE_CONFIG_START(arabian_state::arabian)
MCFG_PALETTE_INIT_OWNER(arabian_state, arabian)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, MAIN_OSC/4/2)
MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(*this, arabian_state, ay8910_porta_w))
diff --git a/src/mame/drivers/arachnid.cpp b/src/mame/drivers/arachnid.cpp
index 43266ae2644..dca711a8924 100644
--- a/src/mame/drivers/arachnid.cpp
+++ b/src/mame/drivers/arachnid.cpp
@@ -450,7 +450,7 @@ MACHINE_CONFIG_START(arachnid_state::arachnid)
MCFG_SCREEN_UPDATE_DEVICE( TMS9118_TAG, tms9118_device, screen_update )
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/arcadecl.cpp b/src/mame/drivers/arcadecl.cpp
index 2c77d71f86c..53eb79d986a 100644
--- a/src/mame/drivers/arcadecl.cpp
+++ b/src/mame/drivers/arcadecl.cpp
@@ -346,7 +346,7 @@ MACHINE_CONFIG_START(sparkz_state::sparkz)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, sparkz_state, video_int_write_line))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, MASTER_CLOCK/4/3, okim6295_device::PIN7_LOW)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/arcadia.cpp b/src/mame/drivers/arcadia.cpp
index f086a4d83be..17e86f46725 100644
--- a/src/mame/drivers/arcadia.cpp
+++ b/src/mame/drivers/arcadia.cpp
@@ -494,7 +494,7 @@ MACHINE_CONFIG_START(arcadia_state::arcadia)
MCFG_PALETTE_INIT_OWNER(arcadia_state, arcadia)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("custom", ARCADIA_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/argus.cpp b/src/mame/drivers/argus.cpp
index 761903f0f71..ddd07617598 100644
--- a/src/mame/drivers/argus.cpp
+++ b/src/mame/drivers/argus.cpp
@@ -567,7 +567,7 @@ MACHINE_CONFIG_START(argus_state::argus)
MCFG_VIDEO_RESET_OVERRIDE(argus_state,argus)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -615,7 +615,7 @@ MACHINE_CONFIG_START(argus_state::valtric)
MCFG_VIDEO_RESET_OVERRIDE(argus_state,valtric)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -663,7 +663,7 @@ MACHINE_CONFIG_START(argus_state::butasan)
MCFG_VIDEO_RESET_OVERRIDE(argus_state,butasan)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/aristmk4.cpp b/src/mame/drivers/aristmk4.cpp
index e3966751ced..669a8dc6f3d 100644
--- a/src/mame/drivers/aristmk4.cpp
+++ b/src/mame/drivers/aristmk4.cpp
@@ -1818,7 +1818,7 @@ MACHINE_CONFIG_START(aristmk4_state::aristmk4)
MCFG_MC146818_ADD( "rtc", XTAL(4'194'304) )
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
// the Mark IV has X 2 AY8910 sound chips which are tied to the VIA
MCFG_DEVICE_ADD("ay1", AY8910 , MAIN_CLOCK/8)
diff --git a/src/mame/drivers/aristmk5.cpp b/src/mame/drivers/aristmk5.cpp
index 55012a00697..35f4cbfec9b 100644
--- a/src/mame/drivers/aristmk5.cpp
+++ b/src/mame/drivers/aristmk5.cpp
@@ -2091,7 +2091,7 @@ MACHINE_CONFIG_START(aristmk5_state::aristmk5)
MCFG_TICKET_DISPENSER_ADD("hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW)
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac0", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(0, "speaker", 0.1) // unknown DAC
MCFG_DEVICE_ADD("dac1", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(0, "speaker", 0.1) // unknown DAC
MCFG_DEVICE_ADD("dac2", DAC_16BIT_R2R_TWOS_COMPLEMENT, 0) MCFG_SOUND_ROUTE(0, "speaker", 0.1) // unknown DAC
diff --git a/src/mame/drivers/arkanoid.cpp b/src/mame/drivers/arkanoid.cpp
index df49864a7d2..49cfdc3893c 100644
--- a/src/mame/drivers/arkanoid.cpp
+++ b/src/mame/drivers/arkanoid.cpp
@@ -1369,7 +1369,7 @@ MACHINE_CONFIG_START(arkanoid_state::arkanoid)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 512)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", YM2149, XTAL(12'000'000)/4) /* YM2149 clock is 3mhz, pin 26 is low so final clock is 3mhz/2, handled inside the ay core */
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT | YM2149_PIN26_LOW) // all outputs are tied together with no resistors, and pin 26 is low
@@ -1443,7 +1443,7 @@ MACHINE_CONFIG_START(arkanoid_state::hexa)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 256)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, XTAL(12'000'000)/4/2) /* Imported from arkanoid - correct? */
MCFG_AY8910_PORT_A_READ_CB(IOPORT("INPUTS"))
MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW"))
@@ -1486,7 +1486,7 @@ MACHINE_CONFIG_START(arkanoid_state::brixian)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 512)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("aysnd", AY8910, XTAL(12'000'000)/4/2) /* Imported from arkanoid - correct? */
MCFG_AY8910_PORT_A_READ_CB(IOPORT("INPUTS"))
MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW"))
diff --git a/src/mame/drivers/armedf.cpp b/src/mame/drivers/armedf.cpp
index 4e4430313d8..4aafa05ca27 100644
--- a/src/mame/drivers/armedf.cpp
+++ b/src/mame/drivers/armedf.cpp
@@ -1256,7 +1256,7 @@ MACHINE_CONFIG_START(armedf_state::terraf_sound)
MCFG_DEVICE_IO_MAP(sound_portmap)
MCFG_DEVICE_PERIODIC_INT_DRIVER(armedf_state, irq0_line_hold, XTAL(8'000'000)/2/512) // ?
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -1343,7 +1343,7 @@ MACHINE_CONFIG_START(armedf_state::terrafjb)
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -1430,7 +1430,7 @@ MACHINE_CONFIG_START(armedf_state::armedf)
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -1480,7 +1480,7 @@ MACHINE_CONFIG_START(armedf_state::cclimbr2)
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -1530,7 +1530,7 @@ MACHINE_CONFIG_START(armedf_state::legion)
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
@@ -1578,7 +1578,7 @@ MACHINE_CONFIG_START(armedf_state::legionjb)
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/arsystems.cpp b/src/mame/drivers/arsystems.cpp
index 437aec43b31..91922ddff07 100644
--- a/src/mame/drivers/arsystems.cpp
+++ b/src/mame/drivers/arsystems.cpp
@@ -322,7 +322,8 @@ MACHINE_CONFIG_START(arcadia_amiga_state::arcadia)
MCFG_VIDEO_START_OVERRIDE(arcadia_amiga_state,amiga)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("amiga", PAULA_8364, amiga_state::CLK_C1_NTSC)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
diff --git a/src/mame/drivers/artmagic.cpp b/src/mame/drivers/artmagic.cpp
index a319d53f8e4..2945cac6392 100644
--- a/src/mame/drivers/artmagic.cpp
+++ b/src/mame/drivers/artmagic.cpp
@@ -835,7 +835,7 @@ MACHINE_CONFIG_START(artmagic_state::artmagic)
MCFG_SCREEN_UPDATE_DEVICE("tms", tms34010_device, tms340x0_rgb32)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, MASTER_CLOCK_40MHz/3/10, okim6295_device::PIN7_LOW)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
diff --git a/src/mame/drivers/ashnojoe.cpp b/src/mame/drivers/ashnojoe.cpp
index e99964760af..79411264367 100644
--- a/src/mame/drivers/ashnojoe.cpp
+++ b/src/mame/drivers/ashnojoe.cpp
@@ -330,7 +330,7 @@ MACHINE_CONFIG_START(ashnojoe_state::ashnojoe)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
diff --git a/src/mame/drivers/asterix.cpp b/src/mame/drivers/asterix.cpp
index 1dc9835d11f..61106710b31 100644
--- a/src/mame/drivers/asterix.cpp
+++ b/src/mame/drivers/asterix.cpp
@@ -297,7 +297,8 @@ MACHINE_CONFIG_START(asterix_state::asterix)
MCFG_K053251_ADD("k053251")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2151, XTAL(32'000'000)/8) // 4MHz
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
diff --git a/src/mame/drivers/astinvad.cpp b/src/mame/drivers/astinvad.cpp
index 69e3076d2ce..ab7ef34b148 100644
--- a/src/mame/drivers/astinvad.cpp
+++ b/src/mame/drivers/astinvad.cpp
@@ -690,7 +690,7 @@ MACHINE_CONFIG_START(astinvad_state::kamikaze)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
@@ -738,7 +738,7 @@ MACHINE_CONFIG_START(astinvad_state::spaceint)
MCFG_PALETTE_ADD_3BIT_RBG("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp
index 85499d2f1bf..ab8d5daba70 100644
--- a/src/mame/drivers/astrcorp.cpp
+++ b/src/mame/drivers/astrcorp.cpp
@@ -535,7 +535,7 @@ MACHINE_CONFIG_START(astrocorp_state::showhand)
MCFG_VIDEO_START_OVERRIDE(astrocorp_state,astrocorp)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(20'000'000)/20, okim6295_device::PIN7_HIGH)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -590,7 +590,7 @@ MACHINE_CONFIG_START(astrocorp_state::skilldrp)
MCFG_VIDEO_START_OVERRIDE(astrocorp_state,astrocorp)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(24'000'000)/24, okim6295_device::PIN7_HIGH)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/astrocde.cpp b/src/mame/drivers/astrocde.cpp
index 54c46098d08..70e37e68280 100644
--- a/src/mame/drivers/astrocde.cpp
+++ b/src/mame/drivers/astrocde.cpp
@@ -1309,7 +1309,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(astrocde_state::astrocade_mono_sound)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_ASTROCADE_ADD("astrocade1", ASTROCADE_CLOCK/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@@ -1319,7 +1319,8 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(astrocde_state::astrocade_stereo_sound)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_ASTROCADE_ADD("astrocade1", ASTROCADE_CLOCK/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
@@ -1345,7 +1346,8 @@ MACHINE_CONFIG_START(astrocde_state::seawolf2)
MCFG_DEVICE_IO_MAP(port_map)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(10) /* 5*2 channels */
@@ -1399,7 +1401,7 @@ MACHINE_CONFIG_START(astrocde_state::wow)
// MCFG_SCREEN_DEFAULT_POSITION(1.066, -0.004, 1.048, -0.026) /* adjusted to match flyer */
/* sound hardware */
- MCFG_SPEAKER_ADD("center", 0.0, 0.0, 1.0)
+ SPEAKER(config, "center").front_center();
MCFG_DEVICE_ADD("votrax", VOTRAX_SC01, 720000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "center", 0.85)
@@ -1419,8 +1421,8 @@ MACHINE_CONFIG_START(astrocde_state::gorf)
MCFG_SCREEN_DEFAULT_POSITION(1.0, 0.0, 1.0, 0.0) /* adjusted to match flyer */
/* sound hardware */
- MCFG_SPEAKER_ADD("upper", 0.0, 0.0, 1.0)
- MCFG_SPEAKER_ADD("lower", 0.0, -0.5, 1.0)
+ SPEAKER(config, "upper", 0.0, 0.0, 1.0);
+ SPEAKER(config, "lower", 0.0, -0.5, 1.0);
MCFG_ASTROCADE_ADD("astrocade1", ASTROCADE_CLOCK/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "upper", 1.0)
@@ -1488,7 +1490,7 @@ MACHINE_CONFIG_START(astrocde_state::tenpindx)
MCFG_Z80CTC_INTR_CB(INPUTLINE("sub", INPUT_LINE_IRQ0))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("sub", INPUT_LINE_NMI))
diff --git a/src/mame/drivers/astrohome.cpp b/src/mame/drivers/astrohome.cpp
index a806fb5f778..c095ad6218c 100644
--- a/src/mame/drivers/astrohome.cpp
+++ b/src/mame/drivers/astrohome.cpp
@@ -215,7 +215,7 @@ MACHINE_CONFIG_START(astrocde_mess_state::astrocde)
MCFG_PALETTE_INIT_OWNER(astrocde_state, astrocde)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
diff --git a/src/mame/drivers/asuka.cpp b/src/mame/drivers/asuka.cpp
index a53f1fbd775..c1d139a85fd 100644
--- a/src/mame/drivers/asuka.cpp
+++ b/src/mame/drivers/asuka.cpp
@@ -888,7 +888,7 @@ MACHINE_CONFIG_START(asuka_state::bonzeadv)
MCFG_TC0110PCR_PALETTE("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM2610, XTAL(16'000'000)/2)
MCFG_YM2610_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
@@ -951,7 +951,7 @@ MACHINE_CONFIG_START(asuka_state::asuka)
MCFG_TC0110PCR_PALETTE("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM2151, XTAL(16'000'000)/4) /* verified on pcb */
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
@@ -1027,7 +1027,7 @@ MACHINE_CONFIG_START(asuka_state::cadash)
MCFG_TC0110PCR_PALETTE("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM2151, XTAL(8'000'000)/2) /* verified on pcb */
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
@@ -1090,7 +1090,7 @@ MACHINE_CONFIG_START(asuka_state::mofflott)
MCFG_TC0110PCR_PALETTE("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM2151, 4000000)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
@@ -1161,7 +1161,7 @@ MACHINE_CONFIG_START(asuka_state::eto)
MCFG_TC0110PCR_PALETTE("palette")
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("ymsnd", YM2151, 4000000)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
diff --git a/src/mame/drivers/at.cpp b/src/mame/drivers/at.cpp
index 5d6e129f665..8b3c5d28127 100644
--- a/src/mame/drivers/at.cpp
+++ b/src/mame/drivers/at.cpp
@@ -680,7 +680,7 @@ MACHINE_CONFIG_START(megapc_state::megapc)
MCFG_RAM_EXTRA_OPTIONS("1M,2M,8M,15M,16M")
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/mame/drivers/atari400.cpp b/src/mame/drivers/atari400.cpp
index dbc306d217f..24bfd73a486 100644
--- a/src/mame/drivers/atari400.cpp
+++ b/src/mame/drivers/atari400.cpp
@@ -2132,7 +2132,7 @@ MACHINE_CONFIG_START(a400_state::atari_common_nodac)
MCFG_A8SIO_SLOT_ADD("a8sio", "sio", nullptr)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("pokey", POKEY, pokey_device::FREQ_17_EXACT)
MCFG_POKEY_POT0_R_CB(IOPORT("analog_0"))
MCFG_POKEY_POT1_R_CB(IOPORT("analog_1"))
diff --git a/src/mame/drivers/atari_s1.cpp b/src/mame/drivers/atari_s1.cpp
index 2fa24684b31..f994b13ba1f 100644
--- a/src/mame/drivers/atari_s1.cpp
+++ b/src/mame/drivers/atari_s1.cpp
@@ -457,7 +457,7 @@ MACHINE_CONFIG_START(atari_s1_state::atari_s1)
/* Sound */
genpin_audio(config);
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_4BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.3) // unknown DAC
MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
diff --git a/src/mame/drivers/atari_s2.cpp b/src/mame/drivers/atari_s2.cpp
index 86d5346eb9c..80fe22f4153 100644
--- a/src/mame/drivers/atari_s2.cpp
+++ b/src/mame/drivers/atari_s2.cpp
@@ -489,7 +489,7 @@ MACHINE_CONFIG_START(atari_s2_state::atari_s2)
/* Sound */
genpin_audio(config);
- MCFG_SPEAKER_STANDARD_MONO("speaker")
+ SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_4BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.15) // r23-r26 (68k,33k,18k,8.2k)
MCFG_DEVICE_ADD("dac1", DAC_3BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.15) // r18-r20 (100k,47k,100k)
diff --git a/src/mame/drivers/atarifb.cpp b/src/mame/drivers/atarifb.cpp
index 4e2aeec7743..67bbd66adce 100644
--- a/src/mame/drivers/atarifb.cpp
+++ b/src/mame/drivers/atarifb.cpp
@@ -577,7 +577,7 @@ MACHINE_CONFIG_START(atarifb_state::atarifb)
MCFG_PALETTE_INIT_OWNER(atarifb_state, atarifb)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("discrete", DISCRETE, atarifb_discrete)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.18)
diff --git a/src/mame/drivers/atarig1.cpp b/src/mame/drivers/atarig1.cpp
index 223a44d6919..2f63da49610 100644
--- a/src/mame/drivers/atarig1.cpp
+++ b/src/mame/drivers/atarig1.cpp
@@ -434,7 +434,7 @@ MACHINE_CONFIG_START(atarig1_state::atarig1)
MCFG_VIDEO_START_OVERRIDE(atarig1_state,atarig1)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_ATARI_JSA_II_ADD("jsa", INPUTLINE("maincpu", M68K_IRQ_2))
MCFG_ATARI_JSA_TEST_PORT("IN0", 14)
diff --git a/src/mame/drivers/atarig42.cpp b/src/mame/drivers/atarig42.cpp
index b9175417042..52f7dad33e2 100644
--- a/src/mame/drivers/atarig42.cpp
+++ b/src/mame/drivers/atarig42.cpp
@@ -548,7 +548,7 @@ MACHINE_CONFIG_START(atarig42_state::atarig42)
MCFG_VIDEO_START_OVERRIDE(atarig42_state,atarig42)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_ATARI_JSA_III_ADD("jsa", INPUTLINE("maincpu", M68K_IRQ_5))
MCFG_ATARI_JSA_TEST_PORT("IN2", 6)
diff --git a/src/mame/drivers/atarigx2.cpp b/src/mame/drivers/atarigx2.cpp
index 3c5ab257b68..5953a5ba4b5 100644
--- a/src/mame/drivers/atarigx2.cpp
+++ b/src/mame/drivers/atarigx2.cpp
@@ -1521,7 +1521,8 @@ MACHINE_CONFIG_START(atarigx2_state::atarigx2)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, atarigx2_state, video_int_write_line))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_ATARI_JSA_IIIS_ADD("jsa", INPUTLINE("maincpu", M68K_IRQ_5))
MCFG_ATARI_JSA_TEST_PORT("SERVICE", 6)
diff --git a/src/mame/drivers/atarist.cpp b/src/mame/drivers/atarist.cpp
index 5c31455ad92..12fad9d93cc 100644
--- a/src/mame/drivers/atarist.cpp
+++ b/src/mame/drivers/atarist.cpp
@@ -2048,7 +2048,7 @@ MACHINE_CONFIG_START(st_state::st)
MCFG_PALETTE_ADD("palette", 16)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(YM2149_TAG, YM2149, Y2/16)
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT)
MCFG_AY8910_RES_LOADS(RES_K(1), 0, 0)
@@ -2138,7 +2138,7 @@ MACHINE_CONFIG_START(megast_state::megast)
MCFG_PALETTE_ADD("palette", 16)
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(YM2149_TAG, YM2149, Y2/16)
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT)
MCFG_AY8910_RES_LOADS(RES_K(1), 0, 0)
@@ -2229,7 +2229,8 @@ MACHINE_CONFIG_START(ste_state::ste)
MCFG_PALETTE_ADD("palette", 512)
// sound hardware
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD(YM2149_TAG, YM2149, Y2/16)
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT)
@@ -2345,7 +2346,7 @@ static MACHINE_CONFIG_START(stbook_state::stbook)
MCFG_PALETTE_ADD_MONOCHROME("palette")
// sound hardware
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD(YM3439_TAG, YM3439, U517/8)
MCFG_AY8910_OUTPUT_TYPE(AY8910_SINGLE_OUTPUT)
MCFG_AY8910_RES_LOADS(RES_K(1), 0, 0)
diff --git a/src/mame/drivers/atarisy1.cpp b/src/mame/drivers/atarisy1.cpp
index 4b54289ea4a..501a53eeed2 100644
--- a/src/mame/drivers/atarisy1.cpp
+++ b/src/mame/drivers/atarisy1.cpp
@@ -774,7 +774,8 @@ MACHINE_CONFIG_START(atarisy1_state::atarisy1)
/* sound hardware */
MCFG_ATARI_SOUND_COMM_ADD("soundcomm", "audiocpu", INPUTLINE("maincpu", M68K_IRQ_6))
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2151, ATARI_CLOCK_14MHz/4)
MCFG_YM2151_IRQ_HANDLER(WRITELINE("soundcomm", atari_sound_comm_device, ym2151_irq_gen))
diff --git a/src/mame/drivers/atarisy2.cpp b/src/mame/drivers/atarisy2.cpp
index cb3858cb58c..bb845d35b50 100644
--- a/src/mame/drivers/atarisy2.cpp
+++ b/src/mame/drivers/atarisy2.cpp
@@ -1237,7 +1237,8 @@ MACHINE_CONFIG_START(atarisy2_state::atarisy2)
/* sound hardware */
MCFG_ATARI_SOUND_COMM_ADD("soundcomm", "audiocpu", NOOP)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("ymsnd", YM2151, SOUND_CLOCK/4)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.60)
MCFG_SOUND_ROUTE(1, "rspeaker", 0.60)
diff --git a/src/mame/drivers/atetris.cpp b/src/mame/drivers/atetris.cpp
index 2376a9ddb9d..e8dc53bbe78 100644
--- a/src/mame/drivers/atetris.cpp
+++ b/src/mame/drivers/atetris.cpp
@@ -356,7 +356,7 @@ MACHINE_CONFIG_START(atetris_state::atetris)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("pokey1", POKEY, MASTER_CLOCK/8)
MCFG_POKEY_ALLPOT_R_CB(IOPORT("IN0"))
@@ -395,7 +395,7 @@ MACHINE_CONFIG_START(atetris_state::atetrisb2)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("sn1", SN76496, BOOTLEG_CLOCK/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
diff --git a/src/mame/drivers/atom.cpp b/src/mame/drivers/atom.cpp
index 26c150ff144..cd4f20a1a2f 100644
--- a/src/mame/drivers/atom.cpp
+++ b/src/mame/drivers/atom.cpp
@@ -720,7 +720,7 @@ MACHINE_CONFIG_START(atom_state::atom)
MCFG_MC6847_INPUT_CALLBACK(READ8(*this, atom_state, vdg_videoram_r))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
@@ -830,7 +830,7 @@ MACHINE_CONFIG_START(atom_state::atombb)
MCFG_MC6847_INPUT_CALLBACK(READ8(*this, atom_state, vdg_videoram_r))
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();