summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/1942.c48
-rw-r--r--src/mame/drivers/1943.c64
-rw-r--r--src/mame/drivers/1945kiii.c38
-rw-r--r--src/mame/drivers/20pacgal.c28
-rw-r--r--src/mame/drivers/2mindril.c54
-rw-r--r--src/mame/drivers/39in1.c38
-rw-r--r--src/mame/drivers/3super8.c32
-rw-r--r--src/mame/drivers/40love.c166
-rw-r--r--src/mame/drivers/4enraya.c40
-rw-r--r--src/mame/drivers/4roses.c40
-rw-r--r--src/mame/drivers/5clown.c52
-rw-r--r--src/mame/drivers/8080bw.c294
-rw-r--r--src/mame/drivers/86lions.c40
-rw-r--r--src/mame/drivers/88games.c56
-rw-r--r--src/mame/drivers/ace.c32
-rw-r--r--src/mame/drivers/acefruit.c36
-rw-r--r--src/mame/drivers/acommand.c42
-rw-r--r--src/mame/drivers/actfancr.c116
-rw-r--r--src/mame/drivers/adp.c140
-rw-r--r--src/mame/drivers/aeroboto.c50
-rw-r--r--src/mame/drivers/aerofgt.c548
-rw-r--r--src/mame/drivers/airbustr.c82
-rw-r--r--src/mame/drivers/ajax.c80
-rw-r--r--src/mame/drivers/albazc.c36
-rw-r--r--src/mame/drivers/albazg.c48
-rw-r--r--src/mame/drivers/aleck64.c58
-rw-r--r--src/mame/drivers/alg.c68
-rw-r--r--src/mame/drivers/aliens.c56
-rw-r--r--src/mame/drivers/alpha68k.c482
-rw-r--r--src/mame/drivers/amaticmg.c52
-rw-r--r--src/mame/drivers/ambush.c44
-rw-r--r--src/mame/drivers/ampoker2.c46
-rw-r--r--src/mame/drivers/amspdwy.c48
-rw-r--r--src/mame/drivers/angelkds.c72
-rw-r--r--src/mame/drivers/appoooh.c80
-rw-r--r--src/mame/drivers/aquarium.c54
-rw-r--r--src/mame/drivers/arabian.c46
-rw-r--r--src/mame/drivers/arcadecl.c34
-rw-r--r--src/mame/drivers/arcadia.c46
-rw-r--r--src/mame/drivers/argus.c204
-rw-r--r--src/mame/drivers/aristmk4.c64
-rw-r--r--src/mame/drivers/aristmk5.c62
-rw-r--r--src/mame/drivers/arkanoid.c94
-rw-r--r--src/mame/drivers/armedf.c400
-rw-r--r--src/mame/drivers/artmagic.c66
-rw-r--r--src/mame/drivers/ashnojoe.c50
-rw-r--r--src/mame/drivers/asterix.c54
-rw-r--r--src/mame/drivers/asteroid.c74
-rw-r--r--src/mame/drivers/astinvad.c68
-rw-r--r--src/mame/drivers/astrocde.c194
-rw-r--r--src/mame/drivers/astrocorp.c86
-rw-r--r--src/mame/drivers/astrof.c46
-rw-r--r--src/mame/drivers/asuka.c378
-rw-r--r--src/mame/drivers/atarifb.c70
-rw-r--r--src/mame/drivers/atarig1.c32
-rw-r--r--src/mame/drivers/atarig42.c34
-rw-r--r--src/mame/drivers/atarigt.c34
-rw-r--r--src/mame/drivers/atarigx2.c32
-rw-r--r--src/mame/drivers/atarisy1.c64
-rw-r--r--src/mame/drivers/atarisy2.c70
-rw-r--r--src/mame/drivers/atarisy4.c38
-rw-r--r--src/mame/drivers/ataxx.c40
-rw-r--r--src/mame/drivers/atetris.c76
-rw-r--r--src/mame/drivers/attckufo.c30
-rw-r--r--src/mame/drivers/avalnche.c32
-rw-r--r--src/mame/drivers/avt.c40
-rw-r--r--src/mame/drivers/aztarac.c46
-rw-r--r--src/mame/drivers/backfire.c56
-rw-r--r--src/mame/drivers/badlands.c80
-rw-r--r--src/mame/drivers/bagman.c130
-rw-r--r--src/mame/drivers/balsente.c86
-rw-r--r--src/mame/drivers/bankp.c48
-rw-r--r--src/mame/drivers/baraduke.c50
-rw-r--r--src/mame/drivers/bartop52.c36
-rw-r--r--src/mame/drivers/batman.c28
-rw-r--r--src/mame/drivers/battlane.c46
-rw-r--r--src/mame/drivers/battlera.c58
-rw-r--r--src/mame/drivers/battlex.c40
-rw-r--r--src/mame/drivers/battlnts.c46
-rw-r--r--src/mame/drivers/bbusters.c102
-rw-r--r--src/mame/drivers/beaminv.c22
-rw-r--r--src/mame/drivers/beathead.c24
-rw-r--r--src/mame/drivers/beezer.c36
-rw-r--r--src/mame/drivers/berzerk.c38
-rw-r--r--src/mame/drivers/bestleag.c36
-rw-r--r--src/mame/drivers/bfcobra.c52
-rw-r--r--src/mame/drivers/bfm_sc1.c60
-rw-r--r--src/mame/drivers/bfm_sc2.c128
-rw-r--r--src/mame/drivers/bfmsys85.c22
-rw-r--r--src/mame/drivers/big10.c40
-rw-r--r--src/mame/drivers/bigevglf.c86
-rw-r--r--src/mame/drivers/bigfghtr.c56
-rw-r--r--src/mame/drivers/bigstrkb.c42
-rw-r--r--src/mame/drivers/bingoc.c46
-rw-r--r--src/mame/drivers/bingor.c44
-rw-r--r--src/mame/drivers/bionicc.c56
-rw-r--r--src/mame/drivers/bishi.c46
-rw-r--r--src/mame/drivers/bishjan.c66
-rw-r--r--src/mame/drivers/bking.c76
-rw-r--r--src/mame/drivers/blackt96.c46
-rw-r--r--src/mame/drivers/bladestl.c54
-rw-r--r--src/mame/drivers/blitz.c44
-rw-r--r--src/mame/drivers/blitz68k.c280
-rw-r--r--src/mame/drivers/blktiger.c66
-rw-r--r--src/mame/drivers/blmbycar.c76
-rw-r--r--src/mame/drivers/blockade.c58
-rw-r--r--src/mame/drivers/blockhl.c46
-rw-r--r--src/mame/drivers/blockout.c48
-rw-r--r--src/mame/drivers/bloodbro.c46
-rw-r--r--src/mame/drivers/blstroid.c30
-rw-r--r--src/mame/drivers/blueprnt.c52
-rw-r--r--src/mame/drivers/bmcbowl.c46
-rw-r--r--src/mame/drivers/bnstars.c62
-rw-r--r--src/mame/drivers/bogeyman.c46
-rw-r--r--src/mame/drivers/bombjack.c52
-rw-r--r--src/mame/drivers/boogwing.c54
-rw-r--r--src/mame/drivers/bottom9.c60
-rw-r--r--src/mame/drivers/boxer.c28
-rw-r--r--src/mame/drivers/brkthru.c96
-rw-r--r--src/mame/drivers/bsktball.c40
-rw-r--r--src/mame/drivers/btime.c166
-rw-r--r--src/mame/drivers/btoads.c38
-rw-r--r--src/mame/drivers/bublbobl.c124
-rw-r--r--src/mame/drivers/buggychl.c84
-rw-r--r--src/mame/drivers/buster.c34
-rw-r--r--src/mame/drivers/bwidow.c58
-rw-r--r--src/mame/drivers/bwing.c62
-rw-r--r--src/mame/drivers/bzone.c54
-rw-r--r--src/mame/drivers/cabal.c118
-rw-r--r--src/mame/drivers/cabaret.c36
-rw-r--r--src/mame/drivers/calchase.c60
-rw-r--r--src/mame/drivers/calomega.c92
-rw-r--r--src/mame/drivers/calorie.c52
-rw-r--r--src/mame/drivers/canyon.c40
-rw-r--r--src/mame/drivers/capbowl.c58
-rw-r--r--src/mame/drivers/cardline.c38
-rw-r--r--src/mame/drivers/carjmbre.c48
-rw-r--r--src/mame/drivers/carpolo.c76
-rw-r--r--src/mame/drivers/carrera.c38
-rw-r--r--src/mame/drivers/caswin.c40
-rw-r--r--src/mame/drivers/cave.c818
-rw-r--r--src/mame/drivers/cb2001.c44
-rw-r--r--src/mame/drivers/cball.c32
-rw-r--r--src/mame/drivers/cbasebal.c46
-rw-r--r--src/mame/drivers/cbuster.c58
-rw-r--r--src/mame/drivers/ccastles.c40
-rw-r--r--src/mame/drivers/cchance.c40
-rw-r--r--src/mame/drivers/cchasm.c48
-rw-r--r--src/mame/drivers/cclimber.c144
-rw-r--r--src/mame/drivers/cdi.c74
-rw-r--r--src/mame/drivers/centiped.c140
-rw-r--r--src/mame/drivers/chaknpop.c46
-rw-r--r--src/mame/drivers/cham24.c42
-rw-r--r--src/mame/drivers/champbas.c210
-rw-r--r--src/mame/drivers/champbwl.c44
-rw-r--r--src/mame/drivers/chanbara.c38
-rw-r--r--src/mame/drivers/changela.c44
-rw-r--r--src/mame/drivers/cheekyms.c38
-rw-r--r--src/mame/drivers/chihiro.c46
-rw-r--r--src/mame/drivers/chinagat.c166
-rw-r--r--src/mame/drivers/chinsan.c58
-rw-r--r--src/mame/drivers/chqflag.c80
-rw-r--r--src/mame/drivers/chsuper.c36
-rw-r--r--src/mame/drivers/cidelsa.c80
-rw-r--r--src/mame/drivers/cinemat.c112
-rw-r--r--src/mame/drivers/circus.c184
-rw-r--r--src/mame/drivers/circusc.c58
-rw-r--r--src/mame/drivers/cischeat.c184
-rw-r--r--src/mame/drivers/citycon.c56
-rw-r--r--src/mame/drivers/clayshoo.c30
-rw-r--r--src/mame/drivers/cliffhgr.c40
-rw-r--r--src/mame/drivers/cloak.c50
-rw-r--r--src/mame/drivers/cloud9.c44
-rw-r--r--src/mame/drivers/clshroad.c84
-rw-r--r--src/mame/drivers/cmmb.c34
-rw-r--r--src/mame/drivers/cninja.c342
-rw-r--r--src/mame/drivers/cntsteer.c118
-rw-r--r--src/mame/drivers/coinmstr.c58
-rw-r--r--src/mame/drivers/coinmvga.c42
-rw-r--r--src/mame/drivers/cojag.c52
-rw-r--r--src/mame/drivers/combatsc.c104
-rw-r--r--src/mame/drivers/comebaby.c22
-rw-r--r--src/mame/drivers/commando.c52
-rw-r--r--src/mame/drivers/compgolf.c40
-rw-r--r--src/mame/drivers/contra.c48
-rw-r--r--src/mame/drivers/coolpool.c72
-rw-r--r--src/mame/drivers/coolridr.c38
-rw-r--r--src/mame/drivers/cop01.c100
-rw-r--r--src/mame/drivers/copsnrob.c38
-rw-r--r--src/mame/drivers/cosmic.c150
-rw-r--r--src/mame/drivers/cps1.c238
-rw-r--r--src/mame/drivers/cps2.c56
-rw-r--r--src/mame/drivers/cps3.c178
-rw-r--r--src/mame/drivers/crbaloon.c36
-rw-r--r--src/mame/drivers/crgolf.c32
-rw-r--r--src/mame/drivers/crimfght.c64
-rw-r--r--src/mame/drivers/crospang.c96
-rw-r--r--src/mame/drivers/crshrace.c56
-rw-r--r--src/mame/drivers/crystal.c52
-rw-r--r--src/mame/drivers/cshooter.c68
-rw-r--r--src/mame/drivers/csplayh5.c64
-rw-r--r--src/mame/drivers/cubeqst.c142
-rw-r--r--src/mame/drivers/cubocd32.c50
-rw-r--r--src/mame/drivers/cultures.c38
-rw-r--r--src/mame/drivers/cvs.c78
-rw-r--r--src/mame/drivers/cyberbal.c100
-rw-r--r--src/mame/drivers/cybertnk.c70
-rw-r--r--src/mame/drivers/cyclemb.c44
-rw-r--r--src/mame/drivers/d9final.c38
-rw-r--r--src/mame/drivers/dacholer.c62
-rw-r--r--src/mame/drivers/dai3wksi.c66
-rw-r--r--src/mame/drivers/dambustr.c36
-rw-r--r--src/mame/drivers/darius.c224
-rw-r--r--src/mame/drivers/darkhors.c112
-rw-r--r--src/mame/drivers/darkmist.c46
-rw-r--r--src/mame/drivers/darkseal.c54
-rw-r--r--src/mame/drivers/dassault.c68
-rw-r--r--src/mame/drivers/dblewing.c50
-rw-r--r--src/mame/drivers/dbz.c64
-rw-r--r--src/mame/drivers/dcheese.c48
-rw-r--r--src/mame/drivers/dcon.c60
-rw-r--r--src/mame/drivers/dday.c42
-rw-r--r--src/mame/drivers/ddayjlc.c52
-rw-r--r--src/mame/drivers/ddealer.c40
-rw-r--r--src/mame/drivers/ddenlovr.c506
-rw-r--r--src/mame/drivers/ddragon.c180
-rw-r--r--src/mame/drivers/ddragon3.c70
-rw-r--r--src/mame/drivers/ddribble.c90
-rw-r--r--src/mame/drivers/ddz.c40
-rw-r--r--src/mame/drivers/deadang.c40
-rw-r--r--src/mame/drivers/dec0.c556
-rw-r--r--src/mame/drivers/dec8.c528
-rw-r--r--src/mame/drivers/deco156.c88
-rw-r--r--src/mame/drivers/deco32.c398
-rw-r--r--src/mame/drivers/deco_ld.c54
-rw-r--r--src/mame/drivers/deco_mlc.c80
-rw-r--r--src/mame/drivers/decocass.c110
-rw-r--r--src/mame/drivers/deniam.c94
-rw-r--r--src/mame/drivers/deshoros.c28
-rw-r--r--src/mame/drivers/destroyr.c30
-rw-r--r--src/mame/drivers/dgpix.c34
-rw-r--r--src/mame/drivers/dietgo.c44
-rw-r--r--src/mame/drivers/discoboy.c54
-rw-r--r--src/mame/drivers/diverboy.c38
-rw-r--r--src/mame/drivers/djboy.c72
-rw-r--r--src/mame/drivers/djmain.c56
-rw-r--r--src/mame/drivers/dkong.c134
-rw-r--r--src/mame/drivers/dlair.c78
-rw-r--r--src/mame/drivers/dmndrby.c44
-rw-r--r--src/mame/drivers/docastle.c90
-rw-r--r--src/mame/drivers/dogfgt.c48
-rw-r--r--src/mame/drivers/dominob.c36
-rw-r--r--src/mame/drivers/dooyong.c376
-rw-r--r--src/mame/drivers/dorachan.c24
-rw-r--r--src/mame/drivers/dotrikun.c28
-rw-r--r--src/mame/drivers/dragrace.c46
-rw-r--r--src/mame/drivers/dreamwld.c44
-rw-r--r--src/mame/drivers/drgnmst.c48
-rw-r--r--src/mame/drivers/dribling.c36
-rw-r--r--src/mame/drivers/drmicro.c56
-rw-r--r--src/mame/drivers/drtomy.c36
-rw-r--r--src/mame/drivers/drw80pkr.c40
-rw-r--r--src/mame/drivers/dunhuang.c50
-rw-r--r--src/mame/drivers/dwarfd.c56
-rw-r--r--src/mame/drivers/dynadice.c46
-rw-r--r--src/mame/drivers/dynax.c540
-rw-r--r--src/mame/drivers/dynduke.c44
-rw-r--r--src/mame/drivers/egghunt.c42
-rw-r--r--src/mame/drivers/embargo.c22
-rw-r--r--src/mame/drivers/enigma2.c62
-rw-r--r--src/mame/drivers/eolith.c36
-rw-r--r--src/mame/drivers/eolith16.c36
-rw-r--r--src/mame/drivers/epos.c66
-rw-r--r--src/mame/drivers/eprom.c100
-rw-r--r--src/mame/drivers/equites.c148
-rw-r--r--src/mame/drivers/ertictac.c64
-rw-r--r--src/mame/drivers/esd16.c74
-rw-r--r--src/mame/drivers/esh.c32
-rw-r--r--src/mame/drivers/espial.c56
-rw-r--r--src/mame/drivers/esripsys.c46
-rw-r--r--src/mame/drivers/ettrivia.c50
-rw-r--r--src/mame/drivers/exedexes.c56
-rw-r--r--src/mame/drivers/exerion.c40
-rw-r--r--src/mame/drivers/exidy.c68
-rw-r--r--src/mame/drivers/exidy440.c18
-rw-r--r--src/mame/drivers/expro02.c44
-rw-r--r--src/mame/drivers/exprraid.c52
-rw-r--r--src/mame/drivers/exterm.c48
-rw-r--r--src/mame/drivers/exzisus.c56
-rw-r--r--src/mame/drivers/f-32.c42
-rw-r--r--src/mame/drivers/f1gp.c122
-rw-r--r--src/mame/drivers/fantland.c178
-rw-r--r--src/mame/drivers/fastfred.c68
-rw-r--r--src/mame/drivers/fastlane.c52
-rw-r--r--src/mame/drivers/fcombat.c42
-rw-r--r--src/mame/drivers/fcrash.c126
-rw-r--r--src/mame/drivers/feversoc.c34
-rw-r--r--src/mame/drivers/fgoal.c34
-rw-r--r--src/mame/drivers/finalizr.c48
-rw-r--r--src/mame/drivers/firebeat.c130
-rw-r--r--src/mame/drivers/firefox.c74
-rw-r--r--src/mame/drivers/firetrap.c96
-rw-r--r--src/mame/drivers/firetrk.c78
-rw-r--r--src/mame/drivers/fitfight.c82
-rw-r--r--src/mame/drivers/flkatck.c62
-rw-r--r--src/mame/drivers/flower.c50
-rw-r--r--src/mame/drivers/flstory.c312
-rw-r--r--src/mame/drivers/flyball.c34
-rw-r--r--src/mame/drivers/foodf.c46
-rw-r--r--src/mame/drivers/forte2.c30
-rw-r--r--src/mame/drivers/fortecar.c48
-rw-r--r--src/mame/drivers/freekick.c88
-rw-r--r--src/mame/drivers/fromanc2.c216
-rw-r--r--src/mame/drivers/fromance.c138
-rw-r--r--src/mame/drivers/funkybee.c42
-rw-r--r--src/mame/drivers/funkyjet.c48
-rw-r--r--src/mame/drivers/funworld.c104
-rw-r--r--src/mame/drivers/funybubl.c42
-rw-r--r--src/mame/drivers/fuukifg2.c54
-rw-r--r--src/mame/drivers/fuukifg3.c46
-rw-r--r--src/mame/drivers/gaelco.c150
-rw-r--r--src/mame/drivers/gaelco2.c288
-rw-r--r--src/mame/drivers/gaelco3d.c80
-rw-r--r--src/mame/drivers/gaiden.c186
-rw-r--r--src/mame/drivers/gal3.c88
-rw-r--r--src/mame/drivers/galaga.c292
-rw-r--r--src/mame/drivers/galastrm.c34
-rw-r--r--src/mame/drivers/galaxi.c42
-rw-r--r--src/mame/drivers/galaxia.c54
-rw-r--r--src/mame/drivers/galaxian.c324
-rw-r--r--src/mame/drivers/galaxold.c300
-rw-r--r--src/mame/drivers/galivan.c112
-rw-r--r--src/mame/drivers/galpani2.c50
-rw-r--r--src/mame/drivers/galpani3.c36
-rw-r--r--src/mame/drivers/galpanic.c108
-rw-r--r--src/mame/drivers/galspnbl.c44
-rw-r--r--src/mame/drivers/gamecstl.c54
-rw-r--r--src/mame/drivers/gameplan.c44
-rw-r--r--src/mame/drivers/gaplus.c84
-rw-r--r--src/mame/drivers/gatron.c42
-rw-r--r--src/mame/drivers/gauntlet.c52
-rw-r--r--src/mame/drivers/gberet.c66
-rw-r--r--src/mame/drivers/gbusters.c54
-rw-r--r--src/mame/drivers/gcpinbal.c42
-rw-r--r--src/mame/drivers/gei.c96
-rw-r--r--src/mame/drivers/ggconnie.c36
-rw-r--r--src/mame/drivers/ghosteo.c34
-rw-r--r--src/mame/drivers/gijoe.c52
-rw-r--r--src/mame/drivers/ginganin.c46
-rw-r--r--src/mame/drivers/gladiatr.c138
-rw-r--r--src/mame/drivers/glass.c36
-rw-r--r--src/mame/drivers/gng.c66
-rw-r--r--src/mame/drivers/go2000.c42
-rw-r--r--src/mame/drivers/goal92.c54
-rw-r--r--src/mame/drivers/goindol.c44
-rw-r--r--src/mame/drivers/goldngam.c40
-rw-r--r--src/mame/drivers/goldnpkr.c160
-rw-r--r--src/mame/drivers/goldstar.c920
-rw-r--r--src/mame/drivers/gomoku.c34
-rw-r--r--src/mame/drivers/good.c34
-rw-r--r--src/mame/drivers/goodejan.c34
-rw-r--r--src/mame/drivers/gotcha.c50
-rw-r--r--src/mame/drivers/gottlieb.c78
-rw-r--r--src/mame/drivers/gotya.c40
-rw-r--r--src/mame/drivers/gpworld.c28
-rw-r--r--src/mame/drivers/gradius3.c70
-rw-r--r--src/mame/drivers/grchamp.c68
-rw-r--r--src/mame/drivers/gridlee.c36
-rw-r--r--src/mame/drivers/groundfx.c34
-rw-r--r--src/mame/drivers/gstream.c44
-rw-r--r--src/mame/drivers/gstriker.c98
-rw-r--r--src/mame/drivers/gsword.c126
-rw-r--r--src/mame/drivers/gticlub.c166
-rw-r--r--src/mame/drivers/guab.c34
-rw-r--r--src/mame/drivers/gumbo.c42
-rw-r--r--src/mame/drivers/gunbustr.c32
-rw-r--r--src/mame/drivers/gundealr.c38
-rw-r--r--src/mame/drivers/gunpey.c44
-rw-r--r--src/mame/drivers/gunsmoke.c64
-rw-r--r--src/mame/drivers/gyruss.c122
-rw-r--r--src/mame/drivers/halleys.c62
-rw-r--r--src/mame/drivers/hanaawas.c42
-rw-r--r--src/mame/drivers/harddriv.c188
-rw-r--r--src/mame/drivers/hcastle.c62
-rw-r--r--src/mame/drivers/hexion.c38
-rw-r--r--src/mame/drivers/higemaru.c38
-rw-r--r--src/mame/drivers/highvdeo.c104
-rw-r--r--src/mame/drivers/hikaru.c54
-rw-r--r--src/mame/drivers/himesiki.c52
-rw-r--r--src/mame/drivers/hitme.c52
-rw-r--r--src/mame/drivers/hitpoker.c40
-rw-r--r--src/mame/drivers/hnayayoi.c72
-rw-r--r--src/mame/drivers/hng64.c44
-rw-r--r--src/mame/drivers/holeland.c90
-rw-r--r--src/mame/drivers/homedata.c232
-rw-r--r--src/mame/drivers/homerun.c40
-rw-r--r--src/mame/drivers/hornet.c148
-rw-r--r--src/mame/drivers/hotblock.c34
-rw-r--r--src/mame/drivers/hotstuff.c24
-rw-r--r--src/mame/drivers/hvyunit.c64
-rw-r--r--src/mame/drivers/hyhoo.c40
-rw-r--r--src/mame/drivers/hyperspt.c66
-rw-r--r--src/mame/drivers/hyprduel.c102
-rw-r--r--src/mame/drivers/igs009.c46
-rw-r--r--src/mame/drivers/igs011.c98
-rw-r--r--src/mame/drivers/igs017.c158
-rw-r--r--src/mame/drivers/igs_m027.c28
-rw-r--r--src/mame/drivers/igspoker.c56
-rw-r--r--src/mame/drivers/ikki.c50
-rw-r--r--src/mame/drivers/imolagp.c60
-rw-r--r--src/mame/drivers/intrscti.c32
-rw-r--r--src/mame/drivers/inufuku.c50
-rw-r--r--src/mame/drivers/iqblock.c36
-rw-r--r--src/mame/drivers/irobot.c54
-rw-r--r--src/mame/drivers/ironhors.c80
-rw-r--r--src/mame/drivers/istellar.c42
-rw-r--r--src/mame/drivers/itech32.c80
-rw-r--r--src/mame/drivers/itech8.c228
-rw-r--r--src/mame/drivers/itgambl2.c36
-rw-r--r--src/mame/drivers/itgambl3.c36
-rw-r--r--src/mame/drivers/itgamble.c50
-rw-r--r--src/mame/drivers/jack.c88
-rw-r--r--src/mame/drivers/jackal.c46
-rw-r--r--src/mame/drivers/jackie.c36
-rw-r--r--src/mame/drivers/jackpool.c34
-rw-r--r--src/mame/drivers/jailbrek.c38
-rw-r--r--src/mame/drivers/jalmah.c46
-rw-r--r--src/mame/drivers/jangou.c114
-rw-r--r--src/mame/drivers/jantotsu.c48
-rw-r--r--src/mame/drivers/jchan.c40
-rw-r--r--src/mame/drivers/jedi.c16
-rw-r--r--src/mame/drivers/jokrwild.c40
-rw-r--r--src/mame/drivers/jollyjgr.c44
-rw-r--r--src/mame/drivers/jongkyo.c46
-rw-r--r--src/mame/drivers/jpmimpct.c62
-rw-r--r--src/mame/drivers/jpmsys5.c40
-rw-r--r--src/mame/drivers/jrpacman.c38
-rw-r--r--src/mame/drivers/jubilee.c32
-rw-r--r--src/mame/drivers/junofrst.c68
-rw-r--r--src/mame/drivers/kaneko16.c304
-rw-r--r--src/mame/drivers/kangaroo.c42
-rw-r--r--src/mame/drivers/karnov.c100
-rw-r--r--src/mame/drivers/kchamp.c116
-rw-r--r--src/mame/drivers/kickgoal.c94
-rw-r--r--src/mame/drivers/kingdrby.c94
-rw-r--r--src/mame/drivers/kingobox.c132
-rw-r--r--src/mame/drivers/kingpin.c34
-rw-r--r--src/mame/drivers/kinst.c36
-rw-r--r--src/mame/drivers/klax.c34
-rw-r--r--src/mame/drivers/kncljoe.c58
-rw-r--r--src/mame/drivers/koftball.c34
-rw-r--r--src/mame/drivers/koikoi.c42
-rw-r--r--src/mame/drivers/konamigq.c58
-rw-r--r--src/mame/drivers/konamigv.c60
-rw-r--r--src/mame/drivers/konamigx.c200
-rw-r--r--src/mame/drivers/konamim2.c38
-rw-r--r--src/mame/drivers/kongambl.c34
-rw-r--r--src/mame/drivers/kopunch.c38
-rw-r--r--src/mame/drivers/ksayakyu.c58
-rw-r--r--src/mame/drivers/ksys573.c132
-rw-r--r--src/mame/drivers/kungfur.c46
-rw-r--r--src/mame/drivers/kyugo.c92
-rw-r--r--src/mame/drivers/labyrunr.c64
-rw-r--r--src/mame/drivers/ladybug.c102
-rw-r--r--src/mame/drivers/ladyfrog.c72
-rw-r--r--src/mame/drivers/laserbas.c36
-rw-r--r--src/mame/drivers/laserbat.c110
-rw-r--r--src/mame/drivers/lasso.c124
-rw-r--r--src/mame/drivers/lastduel.c104
-rw-r--r--src/mame/drivers/lastfght.c28
-rw-r--r--src/mame/drivers/lazercmd.c114
-rw-r--r--src/mame/drivers/legionna.c226
-rw-r--r--src/mame/drivers/leland.c64
-rw-r--r--src/mame/drivers/lemmings.c52
-rw-r--r--src/mame/drivers/lethal.c64
-rw-r--r--src/mame/drivers/lethalj.c44
-rw-r--r--src/mame/drivers/lgp.c36
-rw-r--r--src/mame/drivers/liberate.c138
-rw-r--r--src/mame/drivers/liberatr.c38
-rw-r--r--src/mame/drivers/limenko.c70
-rw-r--r--src/mame/drivers/littlerb.c26
-rw-r--r--src/mame/drivers/lkage.c132
-rw-r--r--src/mame/drivers/lockon.c116
-rw-r--r--src/mame/drivers/looping.c60
-rw-r--r--src/mame/drivers/lordgun.c104
-rw-r--r--src/mame/drivers/lsasquad.c122
-rw-r--r--src/mame/drivers/ltcasino.c32
-rw-r--r--src/mame/drivers/luckgrln.c32
-rw-r--r--src/mame/drivers/lucky74.c68
-rw-r--r--src/mame/drivers/lvcards.c58
-rw-r--r--src/mame/drivers/lwings.c108
-rw-r--r--src/mame/drivers/m10.c80
-rw-r--r--src/mame/drivers/m107.c72
-rw-r--r--src/mame/drivers/m14.c44
-rw-r--r--src/mame/drivers/m52.c32
-rw-r--r--src/mame/drivers/m57.c30
-rw-r--r--src/mame/drivers/m58.c24
-rw-r--r--src/mame/drivers/m62.c190
-rw-r--r--src/mame/drivers/m63.c106
-rw-r--r--src/mame/drivers/m72.c702
-rw-r--r--src/mame/drivers/m79amb.c28
-rw-r--r--src/mame/drivers/m90.c228
-rw-r--r--src/mame/drivers/m92.c148
-rw-r--r--src/mame/drivers/macrossp.c50
-rw-r--r--src/mame/drivers/macs.c40
-rw-r--r--src/mame/drivers/madalien.c30
-rw-r--r--src/mame/drivers/madmotor.c58
-rw-r--r--src/mame/drivers/magic10.c64
-rw-r--r--src/mame/drivers/magicard.c32
-rw-r--r--src/mame/drivers/magicfly.c40
-rw-r--r--src/mame/drivers/magictg.c24
-rw-r--r--src/mame/drivers/magmax.c54
-rw-r--r--src/mame/drivers/magtouch.c24
-rw-r--r--src/mame/drivers/mainevt.c112
-rw-r--r--src/mame/drivers/mainsnk.c46
-rw-r--r--src/mame/drivers/malzak.c64
-rw-r--r--src/mame/drivers/mappy.c214
-rw-r--r--src/mame/drivers/marineb.c76
-rw-r--r--src/mame/drivers/marinedt.c38
-rw-r--r--src/mame/drivers/mario.c36
-rw-r--r--src/mame/drivers/markham.c46
-rw-r--r--src/mame/drivers/mastboy.c44
-rw-r--r--src/mame/drivers/matmania.c106
-rw-r--r--src/mame/drivers/maxaflex.c52
-rw-r--r--src/mame/drivers/maygay1b.c30
-rw-r--r--src/mame/drivers/maygayv1.c54
-rw-r--r--src/mame/drivers/mayumi.c50
-rw-r--r--src/mame/drivers/mazerbla.c108
-rw-r--r--src/mame/drivers/mcatadv.c60
-rw-r--r--src/mame/drivers/mcr.c102
-rw-r--r--src/mame/drivers/mcr3.c80
-rw-r--r--src/mame/drivers/mcr68.c100
-rw-r--r--src/mame/drivers/meadows.c126
-rw-r--r--src/mame/drivers/mediagx.c58
-rw-r--r--src/mame/drivers/megadriv.c254
-rw-r--r--src/mame/drivers/megaplay.c24
-rw-r--r--src/mame/drivers/megasys1.c216
-rw-r--r--src/mame/drivers/megatech.c32
-rw-r--r--src/mame/drivers/megazone.c82
-rw-r--r--src/mame/drivers/meijinsn.c46
-rw-r--r--src/mame/drivers/merit.c96
-rw-r--r--src/mame/drivers/meritm.c78
-rw-r--r--src/mame/drivers/mermaid.c54
-rw-r--r--src/mame/drivers/metalmx.c54
-rw-r--r--src/mame/drivers/metlclsh.c52
-rw-r--r--src/mame/drivers/metro.c1160
-rw-r--r--src/mame/drivers/mexico86.c76
-rw-r--r--src/mame/drivers/mgolf.c32
-rw-r--r--src/mame/drivers/mhavoc.c74
-rw-r--r--src/mame/drivers/micro3d.c72
-rw-r--r--src/mame/drivers/midas.c82
-rw-r--r--src/mame/drivers/midqslvr.c26
-rw-r--r--src/mame/drivers/midtunit.c26
-rw-r--r--src/mame/drivers/midvunit.c44
-rw-r--r--src/mame/drivers/midwunit.c24
-rw-r--r--src/mame/drivers/midxunit.c24
-rw-r--r--src/mame/drivers/midyunit.c104
-rw-r--r--src/mame/drivers/midzeus.c56
-rw-r--r--src/mame/drivers/mikie.c46
-rw-r--r--src/mame/drivers/mil4000.c34
-rw-r--r--src/mame/drivers/miniboy7.c42
-rw-r--r--src/mame/drivers/minivadr.c22
-rw-r--r--src/mame/drivers/mirage.c44
-rw-r--r--src/mame/drivers/mirax.c52
-rw-r--r--src/mame/drivers/missb2.c56
-rw-r--r--src/mame/drivers/missile.c28
-rw-r--r--src/mame/drivers/mitchell.c244
-rw-r--r--src/mame/drivers/mjkjidai.c46
-rw-r--r--src/mame/drivers/mjsister.c44
-rw-r--r--src/mame/drivers/mlanding.c70
-rw-r--r--src/mame/drivers/model1.c114
-rw-r--r--src/mame/drivers/model2.c294
-rw-r--r--src/mame/drivers/model3.c228
-rw-r--r--src/mame/drivers/mogura.c42
-rw-r--r--src/mame/drivers/mole.c38
-rw-r--r--src/mame/drivers/momoko.c60
-rw-r--r--src/mame/drivers/monzagp.c34
-rw-r--r--src/mame/drivers/moo.c118
-rw-r--r--src/mame/drivers/mosaic.c46
-rw-r--r--src/mame/drivers/mouser.c48
-rw-r--r--src/mame/drivers/mpoker.c36
-rw-r--r--src/mame/drivers/mpu4.c68
-rw-r--r--src/mame/drivers/mpu4drvr.c136
-rw-r--r--src/mame/drivers/mpu5.c24
-rw-r--r--src/mame/drivers/mquake.c58
-rw-r--r--src/mame/drivers/mrdo.c32
-rw-r--r--src/mame/drivers/mrflea.c58
-rw-r--r--src/mame/drivers/mrjong.c40
-rw-r--r--src/mame/drivers/ms32.c50
-rw-r--r--src/mame/drivers/msisaac.c78
-rw-r--r--src/mame/drivers/mugsmash.c48
-rw-r--r--src/mame/drivers/multfish.c54
-rw-r--r--src/mame/drivers/multigam.c60
-rw-r--r--src/mame/drivers/munchmo.c48
-rw-r--r--src/mame/drivers/murogem.c28
-rw-r--r--src/mame/drivers/murogmbl.c32
-rw-r--r--src/mame/drivers/mustache.c46
-rw-r--r--src/mame/drivers/mw8080bw.c252
-rw-r--r--src/mame/drivers/mwarr.c40
-rw-r--r--src/mame/drivers/mystston.c16
-rw-r--r--src/mame/drivers/mystwarr.c176
-rw-r--r--src/mame/drivers/n8080.c110
-rw-r--r--src/mame/drivers/namcofl.c48
-rw-r--r--src/mame/drivers/namcona1.c60
-rw-r--r--src/mame/drivers/namconb1.c120
-rw-r--r--src/mame/drivers/namcond1.c56
-rw-r--r--src/mame/drivers/namcops2.c22
-rw-r--r--src/mame/drivers/namcos1.c80
-rw-r--r--src/mame/drivers/namcos10.c30
-rw-r--r--src/mame/drivers/namcos11.c64
-rw-r--r--src/mame/drivers/namcos12.c50
-rw-r--r--src/mame/drivers/namcos2.c444
-rw-r--r--src/mame/drivers/namcos21.c262
-rw-r--r--src/mame/drivers/namcos22.c158
-rw-r--r--src/mame/drivers/namcos23.c210
-rw-r--r--src/mame/drivers/namcos86.c114
-rw-r--r--src/mame/drivers/naomi.c70
-rw-r--r--src/mame/drivers/naughtyb.c80
-rw-r--r--src/mame/drivers/nbmj8688.c246
-rw-r--r--src/mame/drivers/nbmj8891.c224
-rw-r--r--src/mame/drivers/nbmj8900.c42
-rw-r--r--src/mame/drivers/nbmj8991.c146
-rw-r--r--src/mame/drivers/nbmj9195.c204
-rw-r--r--src/mame/drivers/nemesis.c564
-rw-r--r--src/mame/drivers/neogeo.c50
-rw-r--r--src/mame/drivers/neoprint.c52
-rw-r--r--src/mame/drivers/neptunp2.c32
-rw-r--r--src/mame/drivers/news.c36
-rw-r--r--src/mame/drivers/nightgal.c76
-rw-r--r--src/mame/drivers/ninjakd2.c110
-rw-r--r--src/mame/drivers/ninjaw.c276
-rw-r--r--src/mame/drivers/nitedrvr.c44
-rw-r--r--src/mame/drivers/niyanpai.c60
-rw-r--r--src/mame/drivers/nmg5.c76
-rw-r--r--src/mame/drivers/nmk16.c1164
-rw-r--r--src/mame/drivers/norautp.c150
-rw-r--r--src/mame/drivers/nova2001.c178
-rw-r--r--src/mame/drivers/nsmpoker.c30
-rw-r--r--src/mame/drivers/nss.c48
-rw-r--r--src/mame/drivers/nwk-tr.c66
-rw-r--r--src/mame/drivers/nycaptor.c284
-rw-r--r--src/mame/drivers/nyny.c58
-rw-r--r--src/mame/drivers/offtwall.c28
-rw-r--r--src/mame/drivers/ohmygod.c38
-rw-r--r--src/mame/drivers/ojankohs.c192
-rw-r--r--src/mame/drivers/olibochu.c46
-rw-r--r--src/mame/drivers/omegrace.c42
-rw-r--r--src/mame/drivers/oneshot.c48
-rw-r--r--src/mame/drivers/onetwo.c48
-rw-r--r--src/mame/drivers/opwolf.c136
-rw-r--r--src/mame/drivers/orbit.c38
-rw-r--r--src/mame/drivers/othello.c58
-rw-r--r--src/mame/drivers/othldrby.c38
-rw-r--r--src/mame/drivers/othunder.c94
-rw-r--r--src/mame/drivers/overdriv.c78
-rw-r--r--src/mame/drivers/pachifev.c38
-rw-r--r--src/mame/drivers/pacland.c46
-rw-r--r--src/mame/drivers/pacman.c192
-rw-r--r--src/mame/drivers/pandoras.c62
-rw-r--r--src/mame/drivers/pangofun.c22
-rw-r--r--src/mame/drivers/panicr.c44
-rw-r--r--src/mame/drivers/paradise.c70
-rw-r--r--src/mame/drivers/paranoia.c48
-rw-r--r--src/mame/drivers/parodius.c52
-rw-r--r--src/mame/drivers/pasha2.c42
-rw-r--r--src/mame/drivers/pass.c44
-rw-r--r--src/mame/drivers/pastelg.c90
-rw-r--r--src/mame/drivers/pbaction.c54
-rw-r--r--src/mame/drivers/pcat_dyn.c54
-rw-r--r--src/mame/drivers/pcat_nit.c24
-rw-r--r--src/mame/drivers/pcktgal.c50
-rw-r--r--src/mame/drivers/pcxt.c104
-rw-r--r--src/mame/drivers/pengadvb.c32
-rw-r--r--src/mame/drivers/pengo.c36
-rw-r--r--src/mame/drivers/peplus.c40
-rw-r--r--src/mame/drivers/pgm.c162
-rw-r--r--src/mame/drivers/phoenix.c96
-rw-r--r--src/mame/drivers/photon.c40
-rw-r--r--src/mame/drivers/photon2.c42
-rw-r--r--src/mame/drivers/photoply.c44
-rw-r--r--src/mame/drivers/pingpong.c42
-rw-r--r--src/mame/drivers/pinkiri8.c36
-rw-r--r--src/mame/drivers/pipedrm.c100
-rw-r--r--src/mame/drivers/pipeline.c56
-rw-r--r--src/mame/drivers/pirates.c34
-rw-r--r--src/mame/drivers/pitnrun.c60
-rw-r--r--src/mame/drivers/pkscram.c42
-rw-r--r--src/mame/drivers/pktgaldx.c82
-rw-r--r--src/mame/drivers/playch10.c74
-rw-r--r--src/mame/drivers/playmark.c208
-rw-r--r--src/mame/drivers/plygonet.c64
-rw-r--r--src/mame/drivers/pntnpuzl.c26
-rw-r--r--src/mame/drivers/pokechmp.c48
-rw-r--r--src/mame/drivers/poker72.c38
-rw-r--r--src/mame/drivers/polepos.c172
-rw-r--r--src/mame/drivers/policetr.c40
-rw-r--r--src/mame/drivers/polyplay.c42
-rw-r--r--src/mame/drivers/poo.c54
-rw-r--r--src/mame/drivers/poolshrk.c36
-rw-r--r--src/mame/drivers/pooyan.c32
-rw-r--r--src/mame/drivers/popeye.c52
-rw-r--r--src/mame/drivers/popper.c50
-rw-r--r--src/mame/drivers/portrait.c40
-rw-r--r--src/mame/drivers/powerbal.c76
-rw-r--r--src/mame/drivers/powerins.c82
-rw-r--r--src/mame/drivers/ppmast93.c48
-rw-r--r--src/mame/drivers/prehisle.c44
-rw-r--r--src/mame/drivers/progolf.c46
-rw-r--r--src/mame/drivers/psattack.c44
-rw-r--r--src/mame/drivers/psikyo.c196
-rw-r--r--src/mame/drivers/psikyo4.c72
-rw-r--r--src/mame/drivers/psikyosh.c58
-rw-r--r--src/mame/drivers/psychic5.c132
-rw-r--r--src/mame/drivers/pturn.c46
-rw-r--r--src/mame/drivers/puckpkmn.c16
-rw-r--r--src/mame/drivers/punchout.c80
-rw-r--r--src/mame/drivers/pushman.c104
-rw-r--r--src/mame/drivers/pzletime.c42
-rw-r--r--src/mame/drivers/qdrmfgp.c90
-rw-r--r--src/mame/drivers/qix.c50
-rw-r--r--src/mame/drivers/quakeat.c30
-rw-r--r--src/mame/drivers/quantum.c34
-rw-r--r--src/mame/drivers/quasar.c54
-rw-r--r--src/mame/drivers/queen.c24
-rw-r--r--src/mame/drivers/quizdna.c56
-rw-r--r--src/mame/drivers/quizo.c32
-rw-r--r--src/mame/drivers/quizpani.c36
-rw-r--r--src/mame/drivers/quizpun2.c46
-rw-r--r--src/mame/drivers/r2dtank.c42
-rw-r--r--src/mame/drivers/r2dx_v33.c70
-rw-r--r--src/mame/drivers/rabbit.c42
-rw-r--r--src/mame/drivers/raiden.c56
-rw-r--r--src/mame/drivers/raiden2.c74
-rw-r--r--src/mame/drivers/rainbow.c94
-rw-r--r--src/mame/drivers/rallyx.c106
-rw-r--r--src/mame/drivers/rampart.c40
-rw-r--r--src/mame/drivers/rastan.c56
-rw-r--r--src/mame/drivers/rbmk.c52
-rw-r--r--src/mame/drivers/rcorsair.c32
-rw-r--r--src/mame/drivers/re900.c30
-rw-r--r--src/mame/drivers/realbrk.c60
-rw-r--r--src/mame/drivers/redalert.c40
-rw-r--r--src/mame/drivers/redclash.c68
-rw-r--r--src/mame/drivers/relief.c36
-rw-r--r--src/mame/drivers/renegade.c52
-rw-r--r--src/mame/drivers/retofinv.c58
-rw-r--r--src/mame/drivers/rgum.c38
-rw-r--r--src/mame/drivers/rmhaihai.c60
-rw-r--r--src/mame/drivers/rockrage.c50
-rw-r--r--src/mame/drivers/rocnrope.c30
-rw-r--r--src/mame/drivers/rohga.c220
-rw-r--r--src/mame/drivers/rollerg.c48
-rw-r--r--src/mame/drivers/rollrace.c50
-rw-r--r--src/mame/drivers/rotaryf.c20
-rw-r--r--src/mame/drivers/roul.c42
-rw-r--r--src/mame/drivers/route16.c78
-rw-r--r--src/mame/drivers/royalmah.c208
-rw-r--r--src/mame/drivers/rpunch.c42
-rw-r--r--src/mame/drivers/runaway.c48
-rw-r--r--src/mame/drivers/rungun.c66
-rw-r--r--src/mame/drivers/safarir.c38
-rw-r--r--src/mame/drivers/sandscrp.c56
-rw-r--r--src/mame/drivers/sangho.c76
-rw-r--r--src/mame/drivers/sauro.c62
-rw-r--r--src/mame/drivers/savquest.c26
-rw-r--r--src/mame/drivers/sbasketb.c48
-rw-r--r--src/mame/drivers/sbowling.c34
-rw-r--r--src/mame/drivers/sbrkout.c32
-rw-r--r--src/mame/drivers/sbugger.c40
-rw-r--r--src/mame/drivers/scobra.c174
-rw-r--r--src/mame/drivers/scotrsht.c40
-rw-r--r--src/mame/drivers/scramble.c252
-rw-r--r--src/mame/drivers/scregg.c84
-rw-r--r--src/mame/drivers/sderby.c110
-rw-r--r--src/mame/drivers/seattle.c80
-rw-r--r--src/mame/drivers/segac2.c50
-rw-r--r--src/mame/drivers/segae.c40
-rw-r--r--src/mame/drivers/segag80r.c92
-rw-r--r--src/mame/drivers/segag80v.c58
-rw-r--r--src/mame/drivers/segahang.c208
-rw-r--r--src/mame/drivers/segald.c28
-rw-r--r--src/mame/drivers/segamsys.c38
-rw-r--r--src/mame/drivers/segaorun.c68
-rw-r--r--src/mame/drivers/segas16a.c76
-rw-r--r--src/mame/drivers/segas16b.c92
-rw-r--r--src/mame/drivers/segas18.c60
-rw-r--r--src/mame/drivers/segas24.c52
-rw-r--r--src/mame/drivers/segas32.c132
-rw-r--r--src/mame/drivers/segaxbd.c74
-rw-r--r--src/mame/drivers/segaybd.c78
-rw-r--r--src/mame/drivers/seibuspi.c164
-rw-r--r--src/mame/drivers/seicross.c58
-rw-r--r--src/mame/drivers/sengokmj.c36
-rw-r--r--src/mame/drivers/senjyo.c68
-rw-r--r--src/mame/drivers/seta.c1526
-rw-r--r--src/mame/drivers/seta2.c152
-rw-r--r--src/mame/drivers/sf.c86
-rw-r--r--src/mame/drivers/sfbonus.c40
-rw-r--r--src/mame/drivers/sfcbox.c32
-rw-r--r--src/mame/drivers/sfkick.c54
-rw-r--r--src/mame/drivers/sg1000a.c26
-rw-r--r--src/mame/drivers/shadfrce.c42
-rw-r--r--src/mame/drivers/shangha3.c136
-rw-r--r--src/mame/drivers/shanghai.c126
-rw-r--r--src/mame/drivers/shangkid.c114
-rw-r--r--src/mame/drivers/shaolins.c46
-rw-r--r--src/mame/drivers/shisen.c58
-rw-r--r--src/mame/drivers/shootout.c72
-rw-r--r--src/mame/drivers/shougi.c44
-rw-r--r--src/mame/drivers/shuuz.c32
-rw-r--r--src/mame/drivers/sidearms.c174
-rw-r--r--src/mame/drivers/sidepckt.c44
-rw-r--r--src/mame/drivers/sigmab52.c36
-rw-r--r--src/mame/drivers/sigmab98.c40
-rw-r--r--src/mame/drivers/silkroad.c46
-rw-r--r--src/mame/drivers/simpl156.c66
-rw-r--r--src/mame/drivers/simpsons.c58
-rw-r--r--src/mame/drivers/skeetsht.c34
-rw-r--r--src/mame/drivers/skimaxx.c62
-rw-r--r--src/mame/drivers/skullxbo.c30
-rw-r--r--src/mame/drivers/skyarmy.c38
-rw-r--r--src/mame/drivers/skydiver.c40
-rw-r--r--src/mame/drivers/skyfox.c44
-rw-r--r--src/mame/drivers/skykid.c48
-rw-r--r--src/mame/drivers/skylncr.c42
-rw-r--r--src/mame/drivers/skyraid.c38
-rw-r--r--src/mame/drivers/slapfght.c248
-rw-r--r--src/mame/drivers/slapshot.c120
-rw-r--r--src/mame/drivers/sliver.c36
-rw-r--r--src/mame/drivers/slotcarn.c36
-rw-r--r--src/mame/drivers/sms.c52
-rw-r--r--src/mame/drivers/snesb.c32
-rw-r--r--src/mame/drivers/snk.c456
-rw-r--r--src/mame/drivers/snk6502.c180
-rw-r--r--src/mame/drivers/snk68.c44
-rw-r--r--src/mame/drivers/snookr10.c46
-rw-r--r--src/mame/drivers/snowbros.c226
-rw-r--r--src/mame/drivers/solomon.c50
-rw-r--r--src/mame/drivers/sonson.c46
-rw-r--r--src/mame/drivers/sothello.c68
-rw-r--r--src/mame/drivers/spacefb.c30
-rw-r--r--src/mame/drivers/spaceg.c42
-rw-r--r--src/mame/drivers/spbactn.c42
-rw-r--r--src/mame/drivers/spcforce.c46
-rw-r--r--src/mame/drivers/spdodgeb.c66
-rw-r--r--src/mame/drivers/speedatk.c42
-rw-r--r--src/mame/drivers/speedbal.c44
-rw-r--r--src/mame/drivers/speedspn.c38
-rw-r--r--src/mame/drivers/speglsht.c50
-rw-r--r--src/mame/drivers/spiders.c36
-rw-r--r--src/mame/drivers/splash.c154
-rw-r--r--src/mame/drivers/spoker.c42
-rw-r--r--src/mame/drivers/spool99.c44
-rw-r--r--src/mame/drivers/sprcros2.c54
-rw-r--r--src/mame/drivers/sprint2.c68
-rw-r--r--src/mame/drivers/sprint4.c36
-rw-r--r--src/mame/drivers/sprint8.c52
-rw-r--r--src/mame/drivers/spy.c62
-rw-r--r--src/mame/drivers/srmp2.c132
-rw-r--r--src/mame/drivers/srmp5.c46
-rw-r--r--src/mame/drivers/srmp6.c32
-rw-r--r--src/mame/drivers/srumbler.c64
-rw-r--r--src/mame/drivers/ssfindo.c48
-rw-r--r--src/mame/drivers/sshangha.c56
-rw-r--r--src/mame/drivers/ssingles.c36
-rw-r--r--src/mame/drivers/sslam.c72
-rw-r--r--src/mame/drivers/ssozumo.c48
-rw-r--r--src/mame/drivers/sspeedr.c36
-rw-r--r--src/mame/drivers/ssrj.c40
-rw-r--r--src/mame/drivers/sstrangr.c22
-rw-r--r--src/mame/drivers/ssv.c240
-rw-r--r--src/mame/drivers/st0016.c48
-rw-r--r--src/mame/drivers/stactics.c10
-rw-r--r--src/mame/drivers/stadhero.c52
-rw-r--r--src/mame/drivers/starcrus.c38
-rw-r--r--src/mame/drivers/starfire.c16
-rw-r--r--src/mame/drivers/starshp1.c32
-rw-r--r--src/mame/drivers/starwars.c54
-rw-r--r--src/mame/drivers/statriv2.c48
-rw-r--r--src/mame/drivers/stepstag.c64
-rw-r--r--src/mame/drivers/stfight.c72
-rw-r--r--src/mame/drivers/stlforce.c42
-rw-r--r--src/mame/drivers/strnskil.c50
-rw-r--r--src/mame/drivers/stv.c60
-rw-r--r--src/mame/drivers/sub.c48
-rw-r--r--src/mame/drivers/subs.c58
-rw-r--r--src/mame/drivers/subsino.c224
-rw-r--r--src/mame/drivers/suna16.c250
-rw-r--r--src/mame/drivers/suna8.c314
-rw-r--r--src/mame/drivers/supbtime.c96
-rw-r--r--src/mame/drivers/supdrapo.c42
-rw-r--r--src/mame/drivers/superchs.c40
-rw-r--r--src/mame/drivers/superdq.c38
-rw-r--r--src/mame/drivers/superqix.c190
-rw-r--r--src/mame/drivers/supertnk.c32
-rw-r--r--src/mame/drivers/suprgolf.c44
-rw-r--r--src/mame/drivers/suprloco.c44
-rw-r--r--src/mame/drivers/suprnova.c58
-rw-r--r--src/mame/drivers/suprridr.c48
-rw-r--r--src/mame/drivers/suprslam.c54
-rw-r--r--src/mame/drivers/surpratk.c44
-rw-r--r--src/mame/drivers/system1.c94
-rw-r--r--src/mame/drivers/system16.c316
-rw-r--r--src/mame/drivers/tagteam.c48
-rw-r--r--src/mame/drivers/tail2nos.c54
-rw-r--r--src/mame/drivers/taito_b.c1038
-rw-r--r--src/mame/drivers/taito_f2.c566
-rw-r--r--src/mame/drivers/taito_f3.c98
-rw-r--r--src/mame/drivers/taito_h.c156
-rw-r--r--src/mame/drivers/taito_l.c316
-rw-r--r--src/mame/drivers/taito_o.c42
-rw-r--r--src/mame/drivers/taito_x.c198
-rw-r--r--src/mame/drivers/taito_z.c912
-rw-r--r--src/mame/drivers/taitoair.c60
-rw-r--r--src/mame/drivers/taitogn.c56
-rw-r--r--src/mame/drivers/taitojc.c48
-rw-r--r--src/mame/drivers/taitopjc.c22
-rw-r--r--src/mame/drivers/taitosj.c82
-rw-r--r--src/mame/drivers/taitotz.c22
-rw-r--r--src/mame/drivers/taitowlf.c54
-rw-r--r--src/mame/drivers/tank8.c40
-rw-r--r--src/mame/drivers/tankbatt.c36
-rw-r--r--src/mame/drivers/tankbust.c54
-rw-r--r--src/mame/drivers/taotaido.c50
-rw-r--r--src/mame/drivers/targeth.c32
-rw-r--r--src/mame/drivers/tatsumi.c218
-rw-r--r--src/mame/drivers/tattack.c32
-rw-r--r--src/mame/drivers/taxidrvr.c64
-rw-r--r--src/mame/drivers/tbowl.c78
-rw-r--r--src/mame/drivers/tceptor.c118
-rw-r--r--src/mame/drivers/tcl.c34
-rw-r--r--src/mame/drivers/tecmo.c102
-rw-r--r--src/mame/drivers/tecmo16.c56
-rw-r--r--src/mame/drivers/tecmosys.c70
-rw-r--r--src/mame/drivers/tehkanwc.c62
-rw-r--r--src/mame/drivers/tempest.c40
-rw-r--r--src/mame/drivers/terracre.c168
-rw-r--r--src/mame/drivers/tetrisp2.c200
-rw-r--r--src/mame/drivers/tgtpanic.c24
-rw-r--r--src/mame/drivers/thayers.c30
-rw-r--r--src/mame/drivers/thedeep.c42
-rw-r--r--src/mame/drivers/thepit.c52
-rw-r--r--src/mame/drivers/thief.c132
-rw-r--r--src/mame/drivers/thoop2.c32
-rw-r--r--src/mame/drivers/thunderj.c34
-rw-r--r--src/mame/drivers/thunderx.c100
-rw-r--r--src/mame/drivers/tiamc1.c38
-rw-r--r--src/mame/drivers/tickee.c108
-rw-r--r--src/mame/drivers/tigeroad.c62
-rw-r--r--src/mame/drivers/timelimt.c60
-rw-r--r--src/mame/drivers/timeplt.c50
-rw-r--r--src/mame/drivers/timetrv.c30
-rw-r--r--src/mame/drivers/tmaster.c86
-rw-r--r--src/mame/drivers/tmmjprd.c76
-rw-r--r--src/mame/drivers/tmnt.c648
-rw-r--r--src/mame/drivers/tnzs.c382
-rw-r--r--src/mame/drivers/toaplan1.c370
-rw-r--r--src/mame/drivers/toaplan2.c920
-rw-r--r--src/mame/drivers/toki.c74
-rw-r--r--src/mame/drivers/tokyocop.c22
-rw-r--r--src/mame/drivers/tomcat.c66
-rw-r--r--src/mame/drivers/toobin.c30
-rw-r--r--src/mame/drivers/topspeed.c62
-rw-r--r--src/mame/drivers/toratora.c44
-rw-r--r--src/mame/drivers/tourtabl.c30
-rw-r--r--src/mame/drivers/toypop.c66
-rw-r--r--src/mame/drivers/tp84.c72
-rw-r--r--src/mame/drivers/trackfld.c140
-rw-r--r--src/mame/drivers/travrusa.c36
-rw-r--r--src/mame/drivers/triforce.c24
-rw-r--r--src/mame/drivers/triplhnt.c44
-rw-r--r--src/mame/drivers/truco.c32
-rw-r--r--src/mame/drivers/trucocl.c34
-rw-r--r--src/mame/drivers/trvmadns.c36
-rw-r--r--src/mame/drivers/trvquest.c30
-rw-r--r--src/mame/drivers/tryout.c38
-rw-r--r--src/mame/drivers/tsamurai.c158
-rw-r--r--src/mame/drivers/ttchamp.c26
-rw-r--r--src/mame/drivers/tubep.c146
-rw-r--r--src/mame/drivers/tugboat.c36
-rw-r--r--src/mame/drivers/tumbleb.c370
-rw-r--r--src/mame/drivers/tumblep.c48
-rw-r--r--src/mame/drivers/tunhunt.c42
-rw-r--r--src/mame/drivers/turbo.c104
-rw-r--r--src/mame/drivers/turrett.c24
-rw-r--r--src/mame/drivers/tutankhm.c26
-rw-r--r--src/mame/drivers/twin16.c162
-rw-r--r--src/mame/drivers/twincobr.c64
-rw-r--r--src/mame/drivers/twinkle.c62
-rw-r--r--src/mame/drivers/twins.c68
-rw-r--r--src/mame/drivers/tx1.c208
-rw-r--r--src/mame/drivers/uapce.c42
-rw-r--r--src/mame/drivers/ultraman.c60
-rw-r--r--src/mame/drivers/ultratnk.c34
-rw-r--r--src/mame/drivers/ultrsprt.c44
-rw-r--r--src/mame/drivers/undrfire.c76
-rw-r--r--src/mame/drivers/unico.c130
-rw-r--r--src/mame/drivers/upscope.c46
-rw-r--r--src/mame/drivers/usgames.c42
-rw-r--r--src/mame/drivers/vamphalf.c186
-rw-r--r--src/mame/drivers/vaportra.c58
-rw-r--r--src/mame/drivers/vastar.c50
-rw-r--r--src/mame/drivers/vball.c42
-rw-r--r--src/mame/drivers/vcombat.c90
-rw-r--r--src/mame/drivers/vega.c22
-rw-r--r--src/mame/drivers/vegaeo.c26
-rw-r--r--src/mame/drivers/vegas.c100
-rw-r--r--src/mame/drivers/vendetta.c82
-rw-r--r--src/mame/drivers/vertigo.c34
-rw-r--r--src/mame/drivers/vicdual.c190
-rw-r--r--src/mame/drivers/victory.c26
-rw-r--r--src/mame/drivers/videopin.c34
-rw-r--r--src/mame/drivers/videopkr.c102
-rw-r--r--src/mame/drivers/vigilant.c216
-rw-r--r--src/mame/drivers/vindictr.c28
-rw-r--r--src/mame/drivers/viper.c40
-rw-r--r--src/mame/drivers/vmetal.c40
-rw-r--r--src/mame/drivers/volfied.c54
-rw-r--r--src/mame/drivers/vp101.c28
-rw-r--r--src/mame/drivers/vpoker.c40
-rw-r--r--src/mame/drivers/vroulet.c42
-rw-r--r--src/mame/drivers/vsnes.c124
-rw-r--r--src/mame/drivers/vulgus.c44
-rw-r--r--src/mame/drivers/wallc.c34
-rw-r--r--src/mame/drivers/wardner.c58
-rw-r--r--src/mame/drivers/warpwarp.c72
-rw-r--r--src/mame/drivers/warriorb.c216
-rw-r--r--src/mame/drivers/wc90.c50
-rw-r--r--src/mame/drivers/wc90b.c50
-rw-r--r--src/mame/drivers/wecleman.c114
-rw-r--r--src/mame/drivers/welltris.c48
-rw-r--r--src/mame/drivers/wgp.c70
-rw-r--r--src/mame/drivers/wheelfir.c46
-rw-r--r--src/mame/drivers/williams.c194
-rw-r--r--src/mame/drivers/wink.c48
-rw-r--r--src/mame/drivers/wiping.c38
-rw-r--r--src/mame/drivers/witch.c52
-rw-r--r--src/mame/drivers/wiz.c82
-rw-r--r--src/mame/drivers/wldarrow.c26
-rw-r--r--src/mame/drivers/wolfpack.c34
-rw-r--r--src/mame/drivers/wrally.c42
-rw-r--r--src/mame/drivers/wwfsstar.c40
-rw-r--r--src/mame/drivers/wwfwfest.c44
-rw-r--r--src/mame/drivers/xain.c66
-rw-r--r--src/mame/drivers/xexex.c98
-rw-r--r--src/mame/drivers/xmen.c134
-rw-r--r--src/mame/drivers/xorworld.c38
-rw-r--r--src/mame/drivers/xtheball.c28
-rw-r--r--src/mame/drivers/xtom3d.c26
-rw-r--r--src/mame/drivers/xxmissio.c66
-rw-r--r--src/mame/drivers/xybots.c30
-rw-r--r--src/mame/drivers/xyonix.c42
-rw-r--r--src/mame/drivers/yiear.c46
-rw-r--r--src/mame/drivers/yunsun16.c90
-rw-r--r--src/mame/drivers/yunsung8.c54
-rw-r--r--src/mame/drivers/zac2650.c34
-rw-r--r--src/mame/drivers/zaccaria.c72
-rw-r--r--src/mame/drivers/zaxxon.c76
-rw-r--r--src/mame/drivers/zerozone.c42
-rw-r--r--src/mame/drivers/zn.c222
-rw-r--r--src/mame/drivers/zodiack.c48
-rw-r--r--src/mame/drivers/zr107.c132
1062 files changed, 45546 insertions, 45546 deletions
diff --git a/src/mame/drivers/1942.c b/src/mame/drivers/1942.c
index 1534f6b7323..831804e8e3a 100644
--- a/src/mame/drivers/1942.c
+++ b/src/mame/drivers/1942.c
@@ -258,39 +258,39 @@ static MACHINE_RESET( 1942 )
static MACHINE_CONFIG_START( 1942, _1942_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MAIN_CPU_CLOCK) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(c1942_map)
- MDRV_TIMER_ADD_SCANLINE("scantimer", c1942_scanline, "screen", 0, 1)
+ MCFG_CPU_ADD("maincpu", Z80, MAIN_CPU_CLOCK) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(c1942_map)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", c1942_scanline, "screen", 0, 1)
- MDRV_CPU_ADD("audiocpu", Z80, SOUND_CPU_CLOCK) /* 3 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_PERIODIC_INT(irq0_line_hold,4*60)
+ MCFG_CPU_ADD("audiocpu", Z80, SOUND_CPU_CLOCK) /* 3 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_PERIODIC_INT(irq0_line_hold,4*60)
- MDRV_MACHINE_START(1942)
- MDRV_MACHINE_RESET(1942)
+ MCFG_MACHINE_START(1942)
+ MCFG_MACHINE_RESET(1942)
/* video hardware */
- MDRV_GFXDECODE(1942)
- MDRV_PALETTE_LENGTH(64*4+4*32*8+16*16)
+ MCFG_GFXDECODE(1942)
+ MCFG_PALETTE_LENGTH(64*4+4*32*8+16*16)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_PALETTE_INIT(1942)
- MDRV_VIDEO_START(1942)
- MDRV_VIDEO_UPDATE(1942)
+ MCFG_PALETTE_INIT(1942)
+ MCFG_VIDEO_START(1942)
+ MCFG_VIDEO_UPDATE(1942)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ay1", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
- MDRV_SOUND_ADD("ay2", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("ay1", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("ay2", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/1943.c b/src/mame/drivers/1943.c
index da0ef4d2e4d..e04a741de7b 100644
--- a/src/mame/drivers/1943.c
+++ b/src/mame/drivers/1943.c
@@ -259,44 +259,44 @@ static MACHINE_RESET( 1943 )
static MACHINE_CONFIG_START( 1943, _1943_state )
// basic machine hardware
- MDRV_CPU_ADD("maincpu", Z80, XTAL_24MHz/4) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(c1943_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, XTAL_24MHz/4) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(c1943_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, XTAL_24MHz/8) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_PERIODIC_INT(irq0_line_hold, 4*60)
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_24MHz/8) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_PERIODIC_INT(irq0_line_hold, 4*60)
- MDRV_MACHINE_RESET(1943)
+ MCFG_MACHINE_RESET(1943)
// video hardware
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(1943)
- MDRV_PALETTE_LENGTH(32*4+16*16+16*16+16*16)
-
- MDRV_PALETTE_INIT(1943)
- MDRV_VIDEO_START(1943)
- MDRV_VIDEO_UPDATE(1943)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(1943)
+ MCFG_PALETTE_LENGTH(32*4+16*16+16*16+16*16)
+
+ MCFG_PALETTE_INIT(1943)
+ MCFG_VIDEO_START(1943)
+ MCFG_VIDEO_UPDATE(1943)
// sound hardware
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("ym1", YM2203, XTAL_24MHz/16) /* verified on pcb */
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.10)
-
- MDRV_SOUND_ADD("ym2", YM2203, XTAL_24MHz/16) /* verified on pcb */
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.10)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("ym1", YM2203, XTAL_24MHz/16) /* verified on pcb */
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.10)
+
+ MCFG_SOUND_ADD("ym2", YM2203, XTAL_24MHz/16) /* verified on pcb */
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.10)
MACHINE_CONFIG_END
/* ROMs */
diff --git a/src/mame/drivers/1945kiii.c b/src/mame/drivers/1945kiii.c
index 76da29bd405..b50fe5ff369 100644
--- a/src/mame/drivers/1945kiii.c
+++ b/src/mame/drivers/1945kiii.c
@@ -251,32 +251,32 @@ static MACHINE_START( 1945kiii )
static MACHINE_CONFIG_START( k3, k3_state )
- MDRV_CPU_ADD("maincpu", M68000, MASTER_CLOCK)
- MDRV_CPU_PROGRAM_MAP(k3_map)
- MDRV_CPU_VBLANK_INT("screen", irq4_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, MASTER_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(k3_map)
+ MCFG_CPU_VBLANK_INT("screen", irq4_line_hold)
- MDRV_MACHINE_START(1945kiii)
+ MCFG_MACHINE_START(1945kiii)
- MDRV_GFXDECODE(1945kiii)
+ MCFG_GFXDECODE(1945kiii)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 64*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
- MDRV_PALETTE_LENGTH(0x800)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 64*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
+ MCFG_PALETTE_LENGTH(0x800)
- MDRV_VIDEO_START(k3)
- MDRV_VIDEO_UPDATE(k3)
+ MCFG_VIDEO_START(k3)
+ MCFG_VIDEO_UPDATE(k3)
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki1", MASTER_CLOCK/16, OKIM6295_PIN7_HIGH) /* dividers? */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki1", MASTER_CLOCK/16, OKIM6295_PIN7_HIGH) /* dividers? */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_OKIM6295_ADD("oki2", MASTER_CLOCK/16, OKIM6295_PIN7_HIGH) /* dividers? */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki2", MASTER_CLOCK/16, OKIM6295_PIN7_HIGH) /* dividers? */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/20pacgal.c b/src/mame/drivers/20pacgal.c
index 6ee0bdeb8c4..9d49c9a83ba 100644
--- a/src/mame/drivers/20pacgal.c
+++ b/src/mame/drivers/20pacgal.c
@@ -351,28 +351,28 @@ static MACHINE_RESET( 20pacgal )
static MACHINE_CONFIG_START( 20pacgal, _20pacgal_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z180, MAIN_CPU_CLOCK)
- MDRV_CPU_PROGRAM_MAP(20pacgal_map)
- MDRV_CPU_IO_MAP(20pacgal_io_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) // assert breaks the inputs in 25pacman test mode
+ MCFG_CPU_ADD("maincpu", Z180, MAIN_CPU_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(20pacgal_map)
+ MCFG_CPU_IO_MAP(20pacgal_io_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) // assert breaks the inputs in 25pacman test mode
- MDRV_MACHINE_START(20pacgal)
- MDRV_MACHINE_RESET(20pacgal)
+ MCFG_MACHINE_START(20pacgal)
+ MCFG_MACHINE_RESET(20pacgal)
- MDRV_EEPROM_ADD("eeprom", _20pacgal_eeprom_intf)
+ MCFG_EEPROM_ADD("eeprom", _20pacgal_eeprom_intf)
/* video hardware */
- MDRV_FRAGMENT_ADD(20pacgal_video)
+ MCFG_FRAGMENT_ADD(20pacgal_video)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("namco", NAMCO, NAMCO_AUDIO_CLOCK)
- MDRV_SOUND_CONFIG(namco_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("namco", NAMCO, NAMCO_AUDIO_CLOCK)
+ MCFG_SOUND_CONFIG(namco_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/2mindril.c b/src/mame/drivers/2mindril.c
index 23f4d540870..8a06246a2c6 100644
--- a/src/mame/drivers/2mindril.c
+++ b/src/mame/drivers/2mindril.c
@@ -444,33 +444,33 @@ static MACHINE_RESET( drill )
static MACHINE_CONFIG_START( drill, _2mindril_state )
- MDRV_CPU_ADD("maincpu", M68000, 16000000 )
- MDRV_CPU_PROGRAM_MAP(drill_map)
- MDRV_CPU_VBLANK_INT("screen", drill_interrupt)
- MDRV_GFXDECODE(2mindril)
-
- MDRV_MACHINE_START(drill)
- MDRV_MACHINE_RESET(drill)
-
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(128*16, 64*8)
- MDRV_SCREEN_VISIBLE_AREA(0, 319, 0, 239-16)
- MDRV_PALETTE_LENGTH(0x1000)
-
- MDRV_VIDEO_START(drill)
- MDRV_VIDEO_UPDATE(drill)
-
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, 16000000/2)
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_CPU_ADD("maincpu", M68000, 16000000 )
+ MCFG_CPU_PROGRAM_MAP(drill_map)
+ MCFG_CPU_VBLANK_INT("screen", drill_interrupt)
+ MCFG_GFXDECODE(2mindril)
+
+ MCFG_MACHINE_START(drill)
+ MCFG_MACHINE_RESET(drill)
+
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(128*16, 64*8)
+ MCFG_SCREEN_VISIBLE_AREA(0, 319, 0, 239-16)
+ MCFG_PALETTE_LENGTH(0x1000)
+
+ MCFG_VIDEO_START(drill)
+ MCFG_VIDEO_UPDATE(drill)
+
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, 16000000/2)
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/39in1.c b/src/mame/drivers/39in1.c
index dd2b3ebd3cc..40505c07c28 100644
--- a/src/mame/drivers/39in1.c
+++ b/src/mame/drivers/39in1.c
@@ -1584,31 +1584,31 @@ static MACHINE_START(39in1)
static MACHINE_CONFIG_START( 39in1, _39in1_state )
- MDRV_CPU_ADD("maincpu", PXA255, 200000000)
- MDRV_CPU_PROGRAM_MAP(39in1_map)
- MDRV_CPU_VBLANK_INT("screen", pxa255_vblank_start)
+ MCFG_CPU_ADD("maincpu", PXA255, 200000000)
+ MCFG_CPU_PROGRAM_MAP(39in1_map)
+ MCFG_CPU_VBLANK_INT("screen", pxa255_vblank_start)
- MDRV_PALETTE_LENGTH(32768)
+ MCFG_PALETTE_LENGTH(32768)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(1024, 1024)
- MDRV_SCREEN_VISIBLE_AREA(0, 295, 0, 479)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(1024, 1024)
+ MCFG_SCREEN_VISIBLE_AREA(0, 295, 0, 479)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_MACHINE_START(39in1)
- MDRV_EEPROM_93C66B_ADD("eeprom")
+ MCFG_MACHINE_START(39in1)
+ MCFG_EEPROM_93C66B_ADD("eeprom")
- MDRV_VIDEO_UPDATE(39in1)
+ MCFG_VIDEO_UPDATE(39in1)
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("dac1", DMADAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ADD("dac2", DMADAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("dac1", DMADAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ADD("dac2", DMADAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MACHINE_CONFIG_END
ROM_START( 39in1 )
diff --git a/src/mame/drivers/3super8.c b/src/mame/drivers/3super8.c
index 4c75b0224e4..4b8a394dca0 100644
--- a/src/mame/drivers/3super8.c
+++ b/src/mame/drivers/3super8.c
@@ -66,29 +66,29 @@ GFXDECODE_END
static MACHINE_CONFIG_START( 3super8, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80,24000000/4) /* 6 MHz */
- MDRV_CPU_PROGRAM_MAP(map)
- //MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80,24000000/4) /* 6 MHz */
+ MCFG_CPU_PROGRAM_MAP(map)
+ //MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-0-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(512, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-0-1)
- MDRV_GFXDECODE(3super8)
- MDRV_PALETTE_LENGTH(0x100)
+ MCFG_GFXDECODE(3super8)
+ MCFG_PALETTE_LENGTH(0x100)
- MDRV_VIDEO_START(3super8)
- MDRV_VIDEO_UPDATE(3super8)
+ MCFG_VIDEO_START(3super8)
+ MCFG_VIDEO_UPDATE(3super8)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/40love.c b/src/mame/drivers/40love.c
index 330809f7666..81ea89ff02b 100644
--- a/src/mame/drivers/40love.c
+++ b/src/mame/drivers/40love.c
@@ -1065,116 +1065,116 @@ static MACHINE_RESET( undoukai )
static MACHINE_CONFIG_START( 40love, fortyl_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",Z80,8000000/2) /* OK */
- MDRV_CPU_PROGRAM_MAP(40love_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu",Z80,8000000/2) /* OK */
+ MCFG_CPU_PROGRAM_MAP(40love_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("audiocpu",Z80,8000000/2) /* OK */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_PERIODIC_INT(irq0_line_hold,2*60) /* source/number of IRQs is unknown */
+ MCFG_CPU_ADD("audiocpu",Z80,8000000/2) /* OK */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_PERIODIC_INT(irq0_line_hold,2*60) /* source/number of IRQs is unknown */
- MDRV_CPU_ADD("mcu",M68705,18432000/6) /* OK */
- MDRV_CPU_PROGRAM_MAP(buggychl_mcu_map)
- MDRV_DEVICE_ADD("bmcu", BUGGYCHL_MCU, 0)
+ MCFG_CPU_ADD("mcu",M68705,18432000/6) /* OK */
+ MCFG_CPU_PROGRAM_MAP(buggychl_mcu_map)
+ MCFG_DEVICE_ADD("bmcu", BUGGYCHL_MCU, 0)
- MDRV_QUANTUM_TIME(HZ(6000)) /* high interleave to ensure proper synchronization of CPUs */
- MDRV_MACHINE_START(40love)
- MDRV_MACHINE_RESET(40love)
+ MCFG_QUANTUM_TIME(HZ(6000)) /* high interleave to ensure proper synchronization of CPUs */
+ MCFG_MACHINE_START(40love)
+ MCFG_MACHINE_RESET(40love)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(128,128+255, 2*8, 30*8-1)
- MDRV_GFXDECODE(40love)
- MDRV_PALETTE_LENGTH(1024)
-
- MDRV_PALETTE_INIT(fortyl)
- MDRV_VIDEO_START(fortyl)
- MDRV_VIDEO_UPDATE(fortyl)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(128,128+255, 2*8, 30*8-1)
+ MCFG_GFXDECODE(40love)
+ MCFG_PALETTE_LENGTH(1024)
+
+ MCFG_PALETTE_INIT(fortyl)
+ MCFG_VIDEO_START(fortyl)
+ MCFG_VIDEO_UPDATE(fortyl)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("aysnd", AY8910, 2000000)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
-
- MDRV_SOUND_ADD("msm", MSM5232, 8000000/4)
- MDRV_SOUND_CONFIG(msm5232_config)
- MDRV_SOUND_ROUTE(0, "mono", 1.0) // pin 28 2'-1
- MDRV_SOUND_ROUTE(1, "mono", 1.0) // pin 29 4'-1
- MDRV_SOUND_ROUTE(2, "mono", 1.0) // pin 30 8'-1
- MDRV_SOUND_ROUTE(3, "mono", 1.0) // pin 31 16'-1
- MDRV_SOUND_ROUTE(4, "mono", 1.0) // pin 36 2'-2
- MDRV_SOUND_ROUTE(5, "mono", 1.0) // pin 35 4'-2
- MDRV_SOUND_ROUTE(6, "mono", 1.0) // pin 34 8'-2
- MDRV_SOUND_ROUTE(7, "mono", 1.0) // pin 33 16'-2
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("aysnd", AY8910, 2000000)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
+
+ MCFG_SOUND_ADD("msm", MSM5232, 8000000/4)
+ MCFG_SOUND_CONFIG(msm5232_config)
+ MCFG_SOUND_ROUTE(0, "mono", 1.0) // pin 28 2'-1
+ MCFG_SOUND_ROUTE(1, "mono", 1.0) // pin 29 4'-1
+ MCFG_SOUND_ROUTE(2, "mono", 1.0) // pin 30 8'-1
+ MCFG_SOUND_ROUTE(3, "mono", 1.0) // pin 31 16'-1
+ MCFG_SOUND_ROUTE(4, "mono", 1.0) // pin 36 2'-2
+ MCFG_SOUND_ROUTE(5, "mono", 1.0) // pin 35 4'-2
+ MCFG_SOUND_ROUTE(6, "mono", 1.0) // pin 34 8'-2
+ MCFG_SOUND_ROUTE(7, "mono", 1.0) // pin 33 16'-2
// pin 1 SOLO 8' not mapped
// pin 2 SOLO 16' not mapped
// pin 22 Noise Output not mapped
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( undoukai, fortyl_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",Z80,8000000/2)
- MDRV_CPU_PROGRAM_MAP(undoukai_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu",Z80,8000000/2)
+ MCFG_CPU_PROGRAM_MAP(undoukai_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("audiocpu",Z80,8000000/2)
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_PERIODIC_INT(irq0_line_hold,2*60) /* source/number of IRQs is unknown */
+ MCFG_CPU_ADD("audiocpu",Z80,8000000/2)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_PERIODIC_INT(irq0_line_hold,2*60) /* source/number of IRQs is unknown */
-// MDRV_CPU_ADD("mcu",M68705,18432000/6)
-// MDRV_CPU_PROGRAM_MAP(buggychl_mcu_map)
-// MDRV_DEVICE_ADD("bmcu", BUGGYCHL_MCU, 0)
+// MCFG_CPU_ADD("mcu",M68705,18432000/6)
+// MCFG_CPU_PROGRAM_MAP(buggychl_mcu_map)
+// MCFG_DEVICE_ADD("bmcu", BUGGYCHL_MCU, 0)
- MDRV_MACHINE_START(undoukai)
- MDRV_MACHINE_RESET(undoukai) /* init machine */
+ MCFG_MACHINE_START(undoukai)
+ MCFG_MACHINE_RESET(undoukai) /* init machine */
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(128,128+255, 2*8, 30*8-1)
- MDRV_GFXDECODE(40love)
- MDRV_PALETTE_LENGTH(1024)
-
- MDRV_PALETTE_INIT(fortyl)
- MDRV_VIDEO_START(fortyl)
- MDRV_VIDEO_UPDATE(fortyl)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(128,128+255, 2*8, 30*8-1)
+ MCFG_GFXDECODE(40love)
+ MCFG_PALETTE_LENGTH(1024)
+
+ MCFG_PALETTE_INIT(fortyl)
+ MCFG_VIDEO_START(fortyl)
+ MCFG_VIDEO_UPDATE(fortyl)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("aysnd", AY8910, 2000000)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
-
- MDRV_SOUND_ADD("msm", MSM5232, 8000000/4)
- MDRV_SOUND_CONFIG(msm5232_config)
- MDRV_SOUND_ROUTE(0, "mono", 1.0) // pin 28 2'-1
- MDRV_SOUND_ROUTE(1, "mono", 1.0) // pin 29 4'-1
- MDRV_SOUND_ROUTE(2, "mono", 1.0) // pin 30 8'-1
- MDRV_SOUND_ROUTE(3, "mono", 1.0) // pin 31 16'-1
- MDRV_SOUND_ROUTE(4, "mono", 1.0) // pin 36 2'-2
- MDRV_SOUND_ROUTE(5, "mono", 1.0) // pin 35 4'-2
- MDRV_SOUND_ROUTE(6, "mono", 1.0) // pin 34 8'-2
- MDRV_SOUND_ROUTE(7, "mono", 1.0) // pin 33 16'-2
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("aysnd", AY8910, 2000000)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
+
+ MCFG_SOUND_ADD("msm", MSM5232, 8000000/4)
+ MCFG_SOUND_CONFIG(msm5232_config)
+ MCFG_SOUND_ROUTE(0, "mono", 1.0) // pin 28 2'-1
+ MCFG_SOUND_ROUTE(1, "mono", 1.0) // pin 29 4'-1
+ MCFG_SOUND_ROUTE(2, "mono", 1.0) // pin 30 8'-1
+ MCFG_SOUND_ROUTE(3, "mono", 1.0) // pin 31 16'-1
+ MCFG_SOUND_ROUTE(4, "mono", 1.0) // pin 36 2'-2
+ MCFG_SOUND_ROUTE(5, "mono", 1.0) // pin 35 4'-2
+ MCFG_SOUND_ROUTE(6, "mono", 1.0) // pin 34 8'-2
+ MCFG_SOUND_ROUTE(7, "mono", 1.0) // pin 33 16'-2
// pin 1 SOLO 8' not mapped
// pin 2 SOLO 16' not mapped
// pin 22 Noise Output not mapped
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
MACHINE_CONFIG_END
/*******************************************************************************/
diff --git a/src/mame/drivers/4enraya.c b/src/mame/drivers/4enraya.c
index a1e7b3fea5e..ff982ef806d 100644
--- a/src/mame/drivers/4enraya.c
+++ b/src/mame/drivers/4enraya.c
@@ -176,33 +176,33 @@ static PALETTE_INIT( 4enraya )
static MACHINE_CONFIG_START( 4enraya, _4enraya_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",Z80,8000000/2)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_PERIODIC_INT(irq0_line_hold,4*60) // unknown timing
+ MCFG_CPU_ADD("maincpu",Z80,8000000/2)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_PERIODIC_INT(irq0_line_hold,4*60) // unknown timing
- MDRV_MACHINE_START(4enraya)
- MDRV_MACHINE_RESET(4enraya)
+ MCFG_MACHINE_START(4enraya)
+ MCFG_MACHINE_RESET(4enraya)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(4enraya)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(4enraya)
- MDRV_PALETTE_INIT(4enraya)
- MDRV_PALETTE_LENGTH(8)
+ MCFG_PALETTE_INIT(4enraya)
+ MCFG_PALETTE_LENGTH(8)
- MDRV_VIDEO_START(4enraya)
- MDRV_VIDEO_UPDATE(4enraya)
+ MCFG_VIDEO_START(4enraya)
+ MCFG_VIDEO_UPDATE(4enraya)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 8000000/4) /* guess */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, 8000000/4) /* guess */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END
/***************************************************************************
diff --git a/src/mame/drivers/4roses.c b/src/mame/drivers/4roses.c
index d400ee3da66..0ddc36f686a 100644
--- a/src/mame/drivers/4roses.c
+++ b/src/mame/drivers/4roses.c
@@ -372,36 +372,36 @@ static const mc6845_interface mc6845_intf =
static MACHINE_CONFIG_START( 4roses, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M65C02, MASTER_CLOCK/8) /* 2MHz, guess */
- MDRV_CPU_PROGRAM_MAP(4roses_map)
- MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
+ MCFG_CPU_ADD("maincpu", M65C02, MASTER_CLOCK/8) /* 2MHz, guess */
+ MCFG_CPU_PROGRAM_MAP(4roses_map)
+ MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
-// MDRV_NVRAM_ADD_0FILL("nvram")
+// MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE((124+1)*4, (30+1)*8) /* guess. taken from funworld games */
- MDRV_SCREEN_VISIBLE_AREA(0*4, 96*4-1, 0*8, 29*8-1) /* guess. taken from funworld games */
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE((124+1)*4, (30+1)*8) /* guess. taken from funworld games */
+ MCFG_SCREEN_VISIBLE_AREA(0*4, 96*4-1, 0*8, 29*8-1) /* guess. taken from funworld games */
- MDRV_GFXDECODE(4roses)
+ MCFG_GFXDECODE(4roses)
- MDRV_PALETTE_LENGTH(0x1000)
- MDRV_PALETTE_INIT(funworld)
- MDRV_VIDEO_START(funworld)
- MDRV_VIDEO_UPDATE(funworld)
+ MCFG_PALETTE_LENGTH(0x1000)
+ MCFG_PALETTE_INIT(funworld)
+ MCFG_VIDEO_START(funworld)
+ MCFG_VIDEO_UPDATE(funworld)
- MDRV_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/8, mc6845_intf) /* 2MHz, guess */
+ MCFG_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/8, mc6845_intf) /* 2MHz, guess */
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ay8910", AY8910, MASTER_CLOCK/8) /* 2MHz, guess */
- MDRV_SOUND_CONFIG(ay8910_intf)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 2.5)
+ MCFG_SOUND_ADD("ay8910", AY8910, MASTER_CLOCK/8) /* 2MHz, guess */
+ MCFG_SOUND_CONFIG(ay8910_intf)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 2.5)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/5clown.c b/src/mame/drivers/5clown.c
index 1c7e5a310f7..c6c2601401a 100644
--- a/src/mame/drivers/5clown.c
+++ b/src/mame/drivers/5clown.c
@@ -1031,44 +1031,44 @@ static const ay8910_interface ay8910_config =
static MACHINE_CONFIG_START( fclown, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502, MASTER_CLOCK/8) /* guess, seems ok */
- MDRV_CPU_PROGRAM_MAP(fclown_map)
- MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
+ MCFG_CPU_ADD("maincpu", M6502, MASTER_CLOCK/8) /* guess, seems ok */
+ MCFG_CPU_PROGRAM_MAP(fclown_map)
+ MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
- MDRV_CPU_ADD("audiocpu", M6502, MASTER_CLOCK/8) /* guess, seems ok */
- MDRV_CPU_PROGRAM_MAP(fcaudio_map)
+ MCFG_CPU_ADD("audiocpu", M6502, MASTER_CLOCK/8) /* guess, seems ok */
+ MCFG_CPU_PROGRAM_MAP(fcaudio_map)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_PIA6821_ADD("pia0", fclown_pia0_intf)
- MDRV_PIA6821_ADD("pia1", fclown_pia1_intf)
+ MCFG_PIA6821_ADD("pia0", fclown_pia0_intf)
+ MCFG_PIA6821_ADD("pia1", fclown_pia1_intf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE((39+1)*8, (31+1)*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE((39+1)*8, (31+1)*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
- MDRV_GFXDECODE(fclown)
- MDRV_PALETTE_LENGTH(256)
- MDRV_PALETTE_INIT(fclown)
+ MCFG_GFXDECODE(fclown)
+ MCFG_PALETTE_LENGTH(256)
+ MCFG_PALETTE_INIT(fclown)
- MDRV_VIDEO_START(fclown)
- MDRV_VIDEO_UPDATE(fclown)
+ MCFG_VIDEO_START(fclown)
+ MCFG_VIDEO_UPDATE(fclown)
- MDRV_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/16, mc6845_intf) /* guess */
+ MCFG_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/16, mc6845_intf) /* guess */
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ay8910", AY8910, MASTER_CLOCK/8) /* guess, seems ok */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
+ MCFG_SOUND_ADD("ay8910", AY8910, MASTER_CLOCK/8) /* guess, seems ok */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
- MDRV_OKIM6295_ADD("oki6295", MASTER_CLOCK/12, OKIM6295_PIN7_LOW) /* guess, seems ok; pin7 guessed, seems ok */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.20)
+ MCFG_OKIM6295_ADD("oki6295", MASTER_CLOCK/12, OKIM6295_PIN7_LOW) /* guess, seems ok; pin7 guessed, seems ok */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.20)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/8080bw.c b/src/mame/drivers/8080bw.c
index af31c3269d3..3ac8711580d 100644
--- a/src/mame/drivers/8080bw.c
+++ b/src/mame/drivers/8080bw.c
@@ -382,22 +382,22 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( invadpt2, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(invadpt2_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(invadpt2_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* 60 Hz signal clocks two LS161. Ripple carry will */
/* reset circuit, if LS161 not cleared before. */
- MDRV_WATCHDOG_VBLANK_INIT(255)
+ MCFG_WATCHDOG_VBLANK_INIT(255)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(invadpt2)
+ MCFG_VIDEO_UPDATE(invadpt2)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -440,19 +440,19 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( spcewars, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(spcewars_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(spcewars_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
/* extra audio channel */
- MDRV_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@@ -514,8 +514,8 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( astropal, invaders )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(astropal_io_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(astropal_io_map)
MACHINE_CONFIG_END
@@ -563,16 +563,16 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( cosmo, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(cosmo_map)
- MDRV_CPU_IO_MAP(cosmo_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(cosmo_map)
+ MCFG_CPU_IO_MAP(cosmo_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* video hardware */
- MDRV_VIDEO_UPDATE(cosmo)
+ MCFG_VIDEO_UPDATE(cosmo)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -685,14 +685,14 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( invrvnge, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(invrvnge_io_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(invrvnge_io_map)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -790,26 +790,26 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( lrescue, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(lrescue_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(lrescue_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(invadpt2)
+ MCFG_VIDEO_UPDATE(invadpt2)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(lrescue_samples_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(lrescue_samples_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
/* extra audio channel */
- MDRV_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@@ -938,18 +938,18 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( rollingc, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(rollingc_map)
- MDRV_CPU_IO_MAP(rollingc_io_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(rollingc_map)
+ MCFG_CPU_IO_MAP(rollingc_io_map)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(rollingc)
+ MCFG_VIDEO_UPDATE(rollingc)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -1052,29 +1052,29 @@ static MACHINE_RESET( schaser )
static MACHINE_CONFIG_DERIVED( schaser, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
- MDRV_CPU_PROGRAM_MAP(schaser_map)
- MDRV_CPU_IO_MAP(schaser_io_map)
- MDRV_WATCHDOG_VBLANK_INIT(255)
- MDRV_MACHINE_START(schaser)
- MDRV_MACHINE_RESET(schaser)
+ MCFG_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
+ MCFG_CPU_PROGRAM_MAP(schaser_map)
+ MCFG_CPU_IO_MAP(schaser_io_map)
+ MCFG_WATCHDOG_VBLANK_INIT(255)
+ MCFG_MACHINE_START(schaser)
+ MCFG_MACHINE_RESET(schaser)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(schaser)
+ MCFG_VIDEO_UPDATE(schaser)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("snsnd", SN76477, 0)
- MDRV_SOUND_CONFIG(schaser_sn76477_interface)
- MDRV_SOUND_ROUTE_EX(0, "discrete", 1.0, 0)
+ MCFG_SOUND_ADD("snsnd", SN76477, 0)
+ MCFG_SOUND_CONFIG(schaser_sn76477_interface)
+ MCFG_SOUND_ROUTE_EX(0, "discrete", 1.0, 0)
- MDRV_SOUND_ADD("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(schaser)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(schaser)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -1122,22 +1122,22 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( schasercv, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(schaser_map)
- MDRV_CPU_IO_MAP(schasercv_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(schaser_map)
+ MCFG_CPU_IO_MAP(schasercv_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(schasercv)
+ MCFG_VIDEO_UPDATE(schasercv)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
- MDRV_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@@ -1213,16 +1213,16 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( sflush, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_REPLACE("maincpu",M6800,2000000) /* ?? */
- MDRV_CPU_PROGRAM_MAP(sflush_map)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_pulse,2)
- MDRV_MACHINE_START(sflush)
+ MCFG_CPU_REPLACE("maincpu",M6800,2000000) /* ?? */
+ MCFG_CPU_PROGRAM_MAP(sflush_map)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_pulse,2)
+ MCFG_MACHINE_START(sflush)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(sflush)
+ MCFG_VIDEO_UPDATE(sflush)
MACHINE_CONFIG_END
@@ -1320,37 +1320,37 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( lupin3, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(lupin3_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(lupin3_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(indianbt)
+ MCFG_VIDEO_UPDATE(indianbt)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( lupin3a, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(schaser_map)
- MDRV_CPU_IO_MAP(lupin3_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(schaser_map)
+ MCFG_CPU_IO_MAP(lupin3_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(lupin3)
+ MCFG_VIDEO_UPDATE(lupin3)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -1456,25 +1456,25 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( polaris, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
- MDRV_CPU_PROGRAM_MAP(schaser_map)
- MDRV_CPU_IO_MAP(polaris_io_map)
- MDRV_WATCHDOG_VBLANK_INIT(255)
- MDRV_CPU_VBLANK_INT("screen", polaris_interrupt)
- MDRV_MACHINE_START(polaris)
+ MCFG_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
+ MCFG_CPU_PROGRAM_MAP(schaser_map)
+ MCFG_CPU_IO_MAP(polaris_io_map)
+ MCFG_WATCHDOG_VBLANK_INIT(255)
+ MCFG_CPU_VBLANK_INT("screen", polaris_interrupt)
+ MCFG_MACHINE_START(polaris)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(polaris)
+ MCFG_VIDEO_UPDATE(polaris)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(polaris)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(polaris)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -1581,18 +1581,18 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( ballbomb, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(ballbomb_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(ballbomb_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(ballbomb)
+ MCFG_VIDEO_UPDATE(ballbomb)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -1657,13 +1657,13 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( yosakdon, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(yosakdon_map)
- MDRV_CPU_IO_MAP(yosakdon_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(yosakdon_map)
+ MCFG_CPU_IO_MAP(yosakdon_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -1754,22 +1754,22 @@ ADDRESS_MAP_END
static MACHINE_CONFIG_DERIVED( indianbt, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(indianbt_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(indianbt_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(indianbt)
+ MCFG_VIDEO_UPDATE(indianbt)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
- MDRV_SOUND_ADD("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(indianbt)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(indianbt)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@@ -1827,18 +1827,18 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( steelwkr, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(steelwkr_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(steelwkr_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* video hardware */
- MDRV_VIDEO_UPDATE(invadpt2)
+ MCFG_VIDEO_UPDATE(invadpt2)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -1962,18 +1962,18 @@ ADDRESS_MAP_END
static MACHINE_CONFIG_DERIVED( shuttlei, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(shuttlei_map)
- MDRV_CPU_IO_MAP(shuttlei_io_map)
- MDRV_MACHINE_START(extra_8080bw)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(shuttlei_map)
+ MCFG_CPU_IO_MAP(shuttlei_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
/* video hardware */
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 24*8-1)
- MDRV_VIDEO_UPDATE(shuttlei)
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 24*8-1)
+ MCFG_VIDEO_UPDATE(shuttlei)
/* sound hardware */
- MDRV_FRAGMENT_ADD(invaders_samples_audio)
+ MCFG_FRAGMENT_ADD(invaders_samples_audio)
MACHINE_CONFIG_END
@@ -2071,13 +2071,13 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED( darthvdr, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(darthvdr_map)
- MDRV_CPU_IO_MAP(darthvdr_io_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(darthvdr_map)
+ MCFG_CPU_IO_MAP(darthvdr_io_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_START(darthvdr)
- MDRV_MACHINE_RESET(darthvdr)
+ MCFG_MACHINE_START(darthvdr)
+ MCFG_MACHINE_RESET(darthvdr)
MACHINE_CONFIG_END
@@ -2143,20 +2143,20 @@ INPUT_PORTS_END
MACHINE_CONFIG_DERIVED( vortex, mw8080bw_root )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(vortex_io_map)
- MDRV_MACHINE_START(extra_8080bw)
- MDRV_WATCHDOG_TIME_INIT(USEC(255000000 / (MW8080BW_PIXEL_CLOCK / MW8080BW_HTOTAL / MW8080BW_VTOTAL)))
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(vortex_io_map)
+ MCFG_MACHINE_START(extra_8080bw)
+ MCFG_WATCHDOG_TIME_INIT(USEC(255000000 / (MW8080BW_PIXEL_CLOCK / MW8080BW_HTOTAL / MW8080BW_VTOTAL)))
/* video hardware */
// TODO: replace with modified invaders color renderer code allowing midscanline color writes
- MDRV_VIDEO_UPDATE(invaders)
+ MCFG_VIDEO_UPDATE(invaders)
/* add shifter */
- MDRV_MB14241_ADD("mb14241")
+ MCFG_MB14241_ADD("mb14241")
/* audio hardware */
- MDRV_FRAGMENT_ADD(invaders_audio)
+ MCFG_FRAGMENT_ADD(invaders_audio)
MACHINE_CONFIG_END
@@ -2349,8 +2349,8 @@ ADDRESS_MAP_END
MACHINE_CONFIG_DERIVED( modelr, invaders )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_IO_MAP(modelr_io_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_IO_MAP(modelr_io_map)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/86lions.c b/src/mame/drivers/86lions.c
index b4ec94182e5..51f8c86ab27 100644
--- a/src/mame/drivers/86lions.c
+++ b/src/mame/drivers/86lions.c
@@ -342,34 +342,34 @@ static PALETTE_INIT( lions )
static MACHINE_CONFIG_START( lions, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809, MAIN_CLOCK/4) /* 3 MHz.(guess) */
- MDRV_CPU_PROGRAM_MAP(lions_map)
- MDRV_CPU_VBLANK_INT("screen", lions_irq )
+ MCFG_CPU_ADD("maincpu", M6809, MAIN_CLOCK/4) /* 3 MHz.(guess) */
+ MCFG_CPU_PROGRAM_MAP(lions_map)
+ MCFG_CPU_VBLANK_INT("screen", lions_irq )
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(304, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 304-1, 0, 216-1) /* from the crtc registers... updated by crtc */
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(304, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 304-1, 0, 216-1) /* from the crtc registers... updated by crtc */
- MDRV_GFXDECODE(lions)
- MDRV_PALETTE_LENGTH(64)
- MDRV_PALETTE_INIT(lions)
+ MCFG_GFXDECODE(lions)
+ MCFG_PALETTE_LENGTH(64)
+ MCFG_PALETTE_INIT(lions)
- MDRV_VIDEO_START(lions)
- MDRV_VIDEO_UPDATE(lions)
+ MCFG_VIDEO_START(lions)
+ MCFG_VIDEO_UPDATE(lions)
- MDRV_VIA6522_ADD("via6522_0", MAIN_CLOCK/12, via_interface) /* 1 MHz.(only 1 or 2 MHz.are valid) */
+ MCFG_VIA6522_ADD("via6522_0", MAIN_CLOCK/12, via_interface) /* 1 MHz.(only 1 or 2 MHz.are valid) */
- MDRV_MC6845_ADD("crtc", MC6845, MAIN_CLOCK/8, mc6845_intf) /* 1.5 MHz.(logical guess to get a decent 59.6374 Hz.) */
+ MCFG_MC6845_ADD("crtc", MC6845, MAIN_CLOCK/8, mc6845_intf) /* 1.5 MHz.(logical guess to get a decent 59.6374 Hz.) */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, MAIN_CLOCK/8) /* 1.5 MHz.(guess) */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("aysnd", AY8910, MAIN_CLOCK/8) /* 1.5 MHz.(guess) */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/88games.c b/src/mame/drivers/88games.c
index d2aa97c5dc5..7fa42a1aa57 100644
--- a/src/mame/drivers/88games.c
+++ b/src/mame/drivers/88games.c
@@ -379,47 +379,47 @@ static const k051316_interface _88games_k051316_intf =
static MACHINE_CONFIG_START( 88games, _88games_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", KONAMI, 3000000) /* ? */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", k88games_interrupt)
+ MCFG_CPU_ADD("maincpu", KONAMI, 3000000) /* ? */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", k88games_interrupt)
- MDRV_CPU_ADD("audiocpu", Z80, 3579545)
- MDRV_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 3579545)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
- MDRV_MACHINE_START(88games)
- MDRV_MACHINE_RESET(88games)
+ MCFG_MACHINE_START(88games)
+ MCFG_MACHINE_RESET(88games)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 )
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 )
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_K052109_ADD("k052109", _88games_k052109_intf)
- MDRV_K051960_ADD("k051960", _88games_k051960_intf)
- MDRV_K051316_ADD("k051316", _88games_k051316_intf)
+ MCFG_K052109_ADD("k052109", _88games_k052109_intf)
+ MCFG_K051960_ADD("k051960", _88games_k051960_intf)
+ MCFG_K051316_ADD("k051316", _88games_k051316_intf)
- MDRV_VIDEO_UPDATE(88games)
+ MCFG_VIDEO_UPDATE(88games)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, 3579545)
- MDRV_SOUND_ROUTE(0, "mono", 0.75)
- MDRV_SOUND_ROUTE(1, "mono", 0.75)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 3579545)
+ MCFG_SOUND_ROUTE(0, "mono", 0.75)
+ MCFG_SOUND_ROUTE(1, "mono", 0.75)
- MDRV_SOUND_ADD("upd1", UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SOUND_ADD("upd1", UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
- MDRV_SOUND_ADD("upd2", UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SOUND_ADD("upd2", UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ace.c b/src/mame/drivers/ace.c
index aaeb497a189..78743edd2fc 100644
--- a/src/mame/drivers/ace.c
+++ b/src/mame/drivers/ace.c
@@ -344,25 +344,25 @@ static MACHINE_RESET( ace )
static MACHINE_CONFIG_START( ace, ace_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", I8080, MASTER_CLOCK/9) /* 2 MHz ? */
- MDRV_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_ADD("maincpu", I8080, MASTER_CLOCK/9) /* 2 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(main_map)
- MDRV_MACHINE_START(ace)
- MDRV_MACHINE_RESET(ace)
+ MCFG_MACHINE_START(ace)
+ MCFG_MACHINE_RESET(ace)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(4*8, 32*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(ace)
- MDRV_PALETTE_LENGTH(2)
-
- MDRV_PALETTE_INIT(ace)
- MDRV_VIDEO_START(ace)
- MDRV_VIDEO_UPDATE(ace)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(4*8, 32*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(ace)
+ MCFG_PALETTE_LENGTH(2)
+
+ MCFG_PALETTE_INIT(ace)
+ MCFG_VIDEO_START(ace)
+ MCFG_VIDEO_UPDATE(ace)
/* sound hardware */
/* ???? */
diff --git a/src/mame/drivers/acefruit.c b/src/mame/drivers/acefruit.c
index ec4b8f52687..c9f7e9979a9 100644
--- a/src/mame/drivers/acefruit.c
+++ b/src/mame/drivers/acefruit.c
@@ -551,26 +551,26 @@ GFXDECODE_END
static MACHINE_CONFIG_START( acefruit, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, 2500000) /* 2.5MHz */
- MDRV_CPU_PROGRAM_MAP(acefruit_map)
- MDRV_CPU_IO_MAP(acefruit_io)
- MDRV_GFXDECODE(acefruit)
- MDRV_CPU_VBLANK_INT("screen", acefruit_vblank)
+ MCFG_CPU_ADD("maincpu", Z80, 2500000) /* 2.5MHz */
+ MCFG_CPU_PROGRAM_MAP(acefruit_map)
+ MCFG_CPU_IO_MAP(acefruit_io)
+ MCFG_GFXDECODE(acefruit)
+ MCFG_CPU_VBLANK_INT("screen", acefruit_vblank)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 511, 0, 255)
- MDRV_PALETTE_LENGTH(16)
-
- MDRV_NVRAM_ADD_0FILL("nvram")
-
- MDRV_PALETTE_INIT(acefruit)
- MDRV_VIDEO_START(acefruit)
- MDRV_VIDEO_UPDATE(acefruit)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(512, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 511, 0, 255)
+ MCFG_PALETTE_LENGTH(16)
+
+ MCFG_NVRAM_ADD_0FILL("nvram")
+
+ MCFG_PALETTE_INIT(acefruit)
+ MCFG_VIDEO_START(acefruit)
+ MCFG_VIDEO_UPDATE(acefruit)
/* sound hardware */
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/acommand.c b/src/mame/drivers/acommand.c
index fde0c9ea8a9..c2e38a3b00a 100644
--- a/src/mame/drivers/acommand.c
+++ b/src/mame/drivers/acommand.c
@@ -568,33 +568,33 @@ static TIMER_DEVICE_CALLBACK( acommand_scanline )
static MACHINE_CONFIG_START( acommand, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,12000000)
- MDRV_CPU_PROGRAM_MAP(acommand_map)
- MDRV_TIMER_ADD_SCANLINE("scantimer", acommand_scanline, "screen", 0, 1)
+ MCFG_CPU_ADD("maincpu",M68000,12000000)
+ MCFG_CPU_PROGRAM_MAP(acommand_map)
+ MCFG_TIMER_ADD_SCANLINE("scantimer", acommand_scanline, "screen", 0, 1)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(acommand)
- MDRV_PALETTE_LENGTH(0x4000)
-
- MDRV_VIDEO_START(acommand)
- MDRV_VIDEO_UPDATE(acommand)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(acommand)
+ MCFG_PALETTE_LENGTH(0x4000)
+
+ MCFG_VIDEO_START(acommand)
+ MCFG_VIDEO_UPDATE(acommand)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_OKIM6295_ADD("oki1", 2112000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_OKIM6295_ADD("oki1", 2112000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
- MDRV_OKIM6295_ADD("oki2", 2112000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_OKIM6295_ADD("oki2", 2112000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MACHINE_CONFIG_END
/***************************************************************************
diff --git a/src/mame/drivers/actfancr.c b/src/mame/drivers/actfancr.c
index 110fcdbd560..fd5927b4252 100644
--- a/src/mame/drivers/actfancr.c
+++ b/src/mame/drivers/actfancr.c
@@ -319,91 +319,91 @@ static MACHINE_RESET( triothep )
static MACHINE_CONFIG_START( actfancr, actfancr_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",H6280,21477200/3) /* Should be accurate */
- MDRV_CPU_PROGRAM_MAP(actfan_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) /* VBL */
+ MCFG_CPU_ADD("maincpu",H6280,21477200/3) /* Should be accurate */
+ MCFG_CPU_PROGRAM_MAP(actfan_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) /* VBL */
- MDRV_CPU_ADD("audiocpu",M6502, 1500000) /* Should be accurate */
- MDRV_CPU_PROGRAM_MAP(dec0_s_map)
+ MCFG_CPU_ADD("audiocpu",M6502, 1500000) /* Should be accurate */
+ MCFG_CPU_PROGRAM_MAP(dec0_s_map)
- MDRV_MACHINE_START(actfancr)
- MDRV_MACHINE_RESET(actfancr)
+ MCFG_MACHINE_START(actfancr)
+ MCFG_MACHINE_RESET(actfancr)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MDRV_GFXDECODE(actfan)
- MDRV_PALETTE_LENGTH(768)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
+ MCFG_GFXDECODE(actfan)
+ MCFG_PALETTE_LENGTH(768)
- MDRV_VIDEO_START(actfancr)
- MDRV_VIDEO_UPDATE(actfancr)
+ MCFG_VIDEO_START(actfancr)
+ MCFG_VIDEO_UPDATE(actfancr)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, 1500000)
- MDRV_SOUND_ROUTE(0, "mono", 0.90)
- MDRV_SOUND_ROUTE(1, "mono", 0.90)
- MDRV_SOUND_ROUTE(2, "mono", 0.90)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
+ MCFG_SOUND_ADD("ym1", YM2203, 1500000)
+ MCFG_SOUND_ROUTE(0, "mono", 0.90)
+ MCFG_SOUND_ROUTE(1, "mono", 0.90)
+ MCFG_SOUND_ROUTE(2, "mono", 0.90)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
- MDRV_SOUND_ADD("ym2", YM3812, 3000000)
- MDRV_SOUND_CONFIG(ym3812_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("ym2", YM3812, 3000000)
+ MCFG_SOUND_CONFIG(ym3812_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_OKIM6295_ADD("oki", 1024188, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.85)
+ MCFG_OKIM6295_ADD("oki", 1024188, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.85)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( triothep, actfancr_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",H6280,XTAL_21_4772MHz/3) /* XIN=21.4772Mhz, verified on pcb */
- MDRV_CPU_PROGRAM_MAP(triothep_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) /* VBL */
+ MCFG_CPU_ADD("maincpu",H6280,XTAL_21_4772MHz/3) /* XIN=21.4772Mhz, verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(triothep_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) /* VBL */
- MDRV_CPU_ADD("audiocpu",M6502, XTAL_12MHz/8) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(dec0_s_map)
+ MCFG_CPU_ADD("audiocpu",M6502, XTAL_12MHz/8) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(dec0_s_map)
- MDRV_MACHINE_START(triothep)
- MDRV_MACHINE_RESET(triothep)
+ MCFG_MACHINE_START(triothep)
+ MCFG_MACHINE_RESET(triothep)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MDRV_GFXDECODE(triothep)
- MDRV_PALETTE_LENGTH(768)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
+ MCFG_GFXDECODE(triothep)
+ MCFG_PALETTE_LENGTH(768)
- MDRV_VIDEO_START(triothep)
- MDRV_VIDEO_UPDATE(triothep)
+ MCFG_VIDEO_START(triothep)
+ MCFG_VIDEO_UPDATE(triothep)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, XTAL_12MHz/8) /* verified on pcb */
- MDRV_SOUND_ROUTE(0, "mono", 0.90)
- MDRV_SOUND_ROUTE(1, "mono", 0.90)
- MDRV_SOUND_ROUTE(2, "mono", 0.90)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
+ MCFG_SOUND_ADD("ym1", YM2203, XTAL_12MHz/8) /* verified on pcb */
+ MCFG_SOUND_ROUTE(0, "mono", 0.90)
+ MCFG_SOUND_ROUTE(1, "mono", 0.90)
+ MCFG_SOUND_ROUTE(2, "mono", 0.90)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
- MDRV_SOUND_ADD("ym2", YM3812, XTAL_12MHz/4) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym3812_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("ym2", YM3812, XTAL_12MHz/4) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym3812_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_OKIM6295_ADD("oki", XTAL_1_056MHz, OKIM6295_PIN7_HIGH) /* verified on pcb */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.85)
+ MCFG_OKIM6295_ADD("oki", XTAL_1_056MHz, OKIM6295_PIN7_HIGH) /* verified on pcb */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.85)
MACHINE_CONFIG_END
/******************************************************************************/
diff --git a/src/mame/drivers/adp.c b/src/mame/drivers/adp.c
index ba32dac2c51..f895b88d4d2 100644
--- a/src/mame/drivers/adp.c
+++ b/src/mame/drivers/adp.c
@@ -632,116 +632,116 @@ static const hd63484_interface skattva_hd63484_intf = { 1 }; // skattva hd63484
static MACHINE_CONFIG_START( quickjac, adp_state )
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(quickjac_mem)
-// MDRV_CPU_VBLANK_INT("screen", adp_int)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(quickjac_mem)
+// MCFG_CPU_VBLANK_INT("screen", adp_int)
- MDRV_MACHINE_START(skattv)
- MDRV_MACHINE_RESET(skattv)
+ MCFG_MACHINE_START(skattv)
+ MCFG_MACHINE_RESET(skattv)
- MDRV_DUART68681_ADD( "duart68681", XTAL_8_664MHz / 2, skattv_duart68681_config )
+ MCFG_DUART68681_ADD( "duart68681", XTAL_8_664MHz / 2, skattv_duart68681_config )
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(384, 280)
- MDRV_SCREEN_VISIBLE_AREA(0, 384-1, 0, 280-1)
- MDRV_PALETTE_LENGTH(0x10)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(384, 280)
+ MCFG_SCREEN_VISIBLE_AREA(0, 384-1, 0, 280-1)
+ MCFG_PALETTE_LENGTH(0x10)
- MDRV_PALETTE_INIT(adp)
- MDRV_VIDEO_START(adp)
- MDRV_VIDEO_UPDATE(adp)
+ MCFG_PALETTE_INIT(adp)
+ MCFG_VIDEO_START(adp)
+ MCFG_VIDEO_UPDATE(adp)
- MDRV_HD63484_ADD("hd63484", adp_hd63484_intf)
+ MCFG_HD63484_ADD("hd63484", adp_hd63484_intf)
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 3686400/2)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, 3686400/2)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( skattv, adp_state )
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(skattv_mem)
-// MDRV_CPU_VBLANK_INT("screen", adp_int)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(skattv_mem)
+// MCFG_CPU_VBLANK_INT("screen", adp_int)
- MDRV_MACHINE_START(skattv)
- MDRV_MACHINE_RESET(skattv)
+ MCFG_MACHINE_START(skattv)
+ MCFG_MACHINE_RESET(skattv)
- MDRV_DUART68681_ADD( "duart68681", XTAL_8_664MHz / 2, skattv_duart68681_config )
+ MCFG_DUART68681_ADD( "duart68681", XTAL_8_664MHz / 2, skattv_duart68681_config )
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(384, 280)
- MDRV_SCREEN_VISIBLE_AREA(0, 384-1, 0, 280-1)
- MDRV_PALETTE_LENGTH(0x10)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(384, 280)
+ MCFG_SCREEN_VISIBLE_AREA(0, 384-1, 0, 280-1)
+ MCFG_PALETTE_LENGTH(0x10)
- MDRV_PALETTE_INIT(adp)
- MDRV_VIDEO_START(adp)
- MDRV_VIDEO_UPDATE(adp)
+ MCFG_PALETTE_INIT(adp)
+ MCFG_VIDEO_START(adp)
+ MCFG_VIDEO_UPDATE(adp)
- MDRV_HD63484_ADD("hd63484", adp_hd63484_intf)
+ MCFG_HD63484_ADD("hd63484", adp_hd63484_intf)
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 3686400/2)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, 3686400/2)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( skattva, skattv )
- MDRV_DEVICE_REMOVE("hd63484")
- MDRV_HD63484_ADD("hd63484", skattva_hd63484_intf)
+ MCFG_DEVICE_REMOVE("hd63484")
+ MCFG_HD63484_ADD("hd63484", skattva_hd63484_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( backgamn, adp_state )
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(backgamn_mem)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(backgamn_mem)
- MDRV_DUART68681_ADD( "duart68681", XTAL_8_664MHz / 2, skattv_duart68681_config )
+ MCFG_DUART68681_ADD( "duart68681", XTAL_8_664MHz / 2, skattv_duart68681_config )
- MDRV_MACHINE_START(skattv)
- MDRV_MACHINE_RESET(skattv)
+ MCFG_MACHINE_START(skattv)
+ MCFG_MACHINE_RESET(skattv)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(640, 480)
- MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
- MDRV_PALETTE_LENGTH(0x10)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(640, 480)
+ MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
+ MCFG_PALETTE_LENGTH(0x10)
-// MDRV_PALETTE_INIT(adp)
- MDRV_VIDEO_START(adp)
- MDRV_VIDEO_UPDATE(adp)
+// MCFG_PALETTE_INIT(adp)
+ MCFG_VIDEO_START(adp)
+ MCFG_VIDEO_UPDATE(adp)
- MDRV_HD63484_ADD("hd63484", adp_hd63484_intf)
+ MCFG_HD63484_ADD("hd63484", adp_hd63484_intf)
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 3686400/2)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, 3686400/2)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( funland, skattv )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(funland_mem)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(funland_mem)
- MDRV_PALETTE_LENGTH(0x100)
- MDRV_PALETTE_INIT(all_black)
+ MCFG_PALETTE_LENGTH(0x100)
+ MCFG_PALETTE_INIT(all_black)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( fstation, skattv )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(fstation_mem)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(fstation_mem)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aeroboto.c b/src/mame/drivers/aeroboto.c
index f70afcd48ff..86ae9443862 100644
--- a/src/mame/drivers/aeroboto.c
+++ b/src/mame/drivers/aeroboto.c
@@ -255,42 +255,42 @@ static MACHINE_RESET( formatz )
static MACHINE_CONFIG_START( formatz, aeroboto_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809, XTAL_10MHz/8) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", aeroboto_interrupt)
+ MCFG_CPU_ADD("maincpu", M6809, XTAL_10MHz/8) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", aeroboto_interrupt)
- MDRV_CPU_ADD("audiocpu", M6809, XTAL_10MHz/16) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("audiocpu", M6809, XTAL_10MHz/16) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_START(formatz)
- MDRV_MACHINE_RESET(formatz)
+ MCFG_MACHINE_START(formatz)
+ MCFG_MACHINE_RESET(formatz)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 31*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 31*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(aeroboto)
+ MCFG_GFXDECODE(aeroboto)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
- MDRV_VIDEO_START(aeroboto)
- MDRV_VIDEO_UPDATE(aeroboto)
+ MCFG_PALETTE_INIT(RRRR_GGGG_BBBB)
+ MCFG_VIDEO_START(aeroboto)
+ MCFG_VIDEO_UPDATE(aeroboto)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ay1", AY8910, XTAL_10MHz/8) /* verified on pcb */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("ay1", AY8910, XTAL_10MHz/8) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
- MDRV_SOUND_ADD("ay2", AY8910, XTAL_10MHz/16) /* verified on pcb */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("ay2", AY8910, XTAL_10MHz/16) /* verified on pcb */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aerofgt.c b/src/mame/drivers/aerofgt.c
index 4a218105d2f..eac311fe459 100644
--- a/src/mame/drivers/aerofgt.c
+++ b/src/mame/drivers/aerofgt.c
@@ -1330,67 +1330,67 @@ static MACHINE_RESET( aerofgt )
static MACHINE_CONFIG_START( pspikes, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(pspikes_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(pspikes_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_CPU_ADD("audiocpu",Z80,XTAL_20MHz/4) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(turbofrc_sound_portmap)
+ MCFG_CPU_ADD("audiocpu",Z80,XTAL_20MHz/4) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(turbofrc_sound_portmap)
/* IRQs are triggered by the YM2610 */
- MDRV_MACHINE_START(aerofgt)
- MDRV_MACHINE_RESET(aerofgt)
+ MCFG_MACHINE_START(aerofgt)
+ MCFG_MACHINE_RESET(aerofgt)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(61.31) /* verified on pcb */
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(61.31) /* verified on pcb */
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
- MDRV_GFXDECODE(pspikes)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_GFXDECODE(pspikes)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_START(pspikes)
- MDRV_VIDEO_UPDATE(pspikes)
+ MCFG_VIDEO_START(pspikes)
+ MCFG_VIDEO_UPDATE(pspikes)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, 8000000)
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( spikes91, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(spikes91_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(spikes91_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
/* + Z80 for sound */
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 320-1, 0*8+4, 224+4-1)
- MDRV_GFXDECODE(spikes91)
- MDRV_PALETTE_LENGTH(2048)
-
- MDRV_VIDEO_START(pspikes)
- MDRV_VIDEO_UPDATE(spikes91)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 320-1, 0*8+4, 224+4-1)
+ MCFG_GFXDECODE(spikes91)
+ MCFG_PALETTE_LENGTH(2048)
+
+ MCFG_VIDEO_START(pspikes)
+ MCFG_VIDEO_UPDATE(spikes91)
/* sound hardware */
/* the sound hardware is completely different on this:
@@ -1404,361 +1404,361 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_START( pspikesb, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(pspikesb_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(pspikesb_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
- MDRV_GFXDECODE(pspikesb)
- MDRV_PALETTE_LENGTH(2048)
-
- MDRV_VIDEO_START(pspikes)
- MDRV_VIDEO_UPDATE(pspikesb)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
+ MCFG_GFXDECODE(pspikesb)
+ MCFG_PALETTE_LENGTH(2048)
+
+ MCFG_VIDEO_START(pspikes)
+ MCFG_VIDEO_UPDATE(pspikesb)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( pspikesc, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(pspikesc_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(pspikesc_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
- MDRV_GFXDECODE(pspikes)
- MDRV_PALETTE_LENGTH(2048)
-
- MDRV_VIDEO_START(pspikes)
- MDRV_VIDEO_UPDATE(pspikes)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
+ MCFG_GFXDECODE(pspikes)
+ MCFG_PALETTE_LENGTH(2048)
+
+ MCFG_VIDEO_START(pspikes)
+ MCFG_VIDEO_UPDATE(pspikes)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( karatblz, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(karatblz_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(karatblz_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(turbofrc_sound_portmap)
+ MCFG_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(turbofrc_sound_portmap)
/* IRQs are triggered by the YM2610 */
- MDRV_MACHINE_START(aerofgt)
- MDRV_MACHINE_RESET(aerofgt)
+ MCFG_MACHINE_START(aerofgt)
+ MCFG_MACHINE_RESET(aerofgt)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(1*8, 45*8-1, 0*8, 30*8-1)
- MDRV_GFXDECODE(turbofrc)
- MDRV_PALETTE_LENGTH(1024)
-
- MDRV_VIDEO_START(karatblz)
- MDRV_VIDEO_UPDATE(karatblz)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(1*8, 45*8-1, 0*8, 30*8-1)
+ MCFG_GFXDECODE(turbofrc)
+ MCFG_PALETTE_LENGTH(1024)
+
+ MCFG_VIDEO_START(karatblz)
+ MCFG_VIDEO_UPDATE(karatblz)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz ) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz ) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( spinlbrk, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(spinlbrk_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* there are vectors for 3 and 4 too */
+ MCFG_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(spinlbrk_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* there are vectors for 3 and 4 too */
- MDRV_CPU_ADD("audiocpu",Z80,XTAL_20MHz/4) /* 5mhz verified on pcb */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(turbofrc_sound_portmap)
+ MCFG_CPU_ADD("audiocpu",Z80,XTAL_20MHz/4) /* 5mhz verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(turbofrc_sound_portmap)
/* IRQs are triggered by the YM2610 */
- MDRV_MACHINE_START(aerofgt)
- MDRV_MACHINE_RESET(aerofgt)
+ MCFG_MACHINE_START(aerofgt)
+ MCFG_MACHINE_RESET(aerofgt)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(1*8, 45*8-1, 0*8, 30*8-1)
- MDRV_GFXDECODE(turbofrc)
- MDRV_PALETTE_LENGTH(1024)
-
- MDRV_VIDEO_START(spinlbrk)
- MDRV_VIDEO_UPDATE(spinlbrk)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(1*8, 45*8-1, 0*8, 30*8-1)
+ MCFG_GFXDECODE(turbofrc)
+ MCFG_PALETTE_LENGTH(1024)
+
+ MCFG_VIDEO_START(spinlbrk)
+ MCFG_VIDEO_UPDATE(spinlbrk)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( turbofrc, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(turbofrc_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(turbofrc_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_CPU_ADD("audiocpu",Z80,XTAL_5MHz) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(turbofrc_sound_portmap)
+ MCFG_CPU_ADD("audiocpu",Z80,XTAL_5MHz) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(turbofrc_sound_portmap)
/* IRQs are triggered by the YM2610 */
- MDRV_MACHINE_START(aerofgt)
- MDRV_MACHINE_RESET(aerofgt)
+ MCFG_MACHINE_START(aerofgt)
+ MCFG_MACHINE_RESET(aerofgt)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(61.31) /* verified on pcb */
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 44*8-1, 0*8, 30*8-1)
- MDRV_GFXDECODE(turbofrc)
- MDRV_PALETTE_LENGTH(1024)
-
- MDRV_VIDEO_START(turbofrc)
- MDRV_VIDEO_UPDATE(turbofrc)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(61.31) /* verified on pcb */
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 44*8-1, 0*8, 30*8-1)
+ MCFG_GFXDECODE(turbofrc)
+ MCFG_PALETTE_LENGTH(1024)
+
+ MCFG_VIDEO_START(turbofrc)
+ MCFG_VIDEO_UPDATE(turbofrc)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( aerofgtb, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(aerofgtb_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(aerofgtb_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(aerofgt_sound_portmap)
+ MCFG_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(aerofgt_sound_portmap)
/* IRQs are triggered by the YM2610 */
- MDRV_MACHINE_START(aerofgt)
- MDRV_MACHINE_RESET(aerofgt)
+ MCFG_MACHINE_START(aerofgt)
+ MCFG_MACHINE_RESET(aerofgt)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500))
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500))
/* wrong but improves sprite-background synchronization */
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
- MDRV_GFXDECODE(aerofgtb)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
+ MCFG_GFXDECODE(aerofgtb)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_VIDEO_START(turbofrc)
- MDRV_VIDEO_UPDATE(turbofrc)
+ MCFG_VIDEO_START(turbofrc)
+ MCFG_VIDEO_UPDATE(turbofrc)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, 8000000)
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( aerofgt, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(aerofgt_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,XTAL_20MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(aerofgt_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_CPU_ADD("audiocpu",Z80,XTAL_20MHz/4) /* 5 MHz verified on pcb */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(aerofgt_sound_portmap)
+ MCFG_CPU_ADD("audiocpu",Z80,XTAL_20MHz/4) /* 5 MHz verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(aerofgt_sound_portmap)
/* IRQs are triggered by the YM2610 */
- MDRV_MACHINE_START(aerofgt)
- MDRV_MACHINE_RESET(aerofgt)
+ MCFG_MACHINE_START(aerofgt)
+ MCFG_MACHINE_RESET(aerofgt)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(61.31) /* verified on pcb */
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(400))
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(61.31) /* verified on pcb */
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(400))
/* wrong but improves sprite-background synchronization */
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
- MDRV_GFXDECODE(aerofgt)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
+ MCFG_GFXDECODE(aerofgt)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_VIDEO_START(turbofrc)
- MDRV_VIDEO_UPDATE(aerofgt)
+ MCFG_VIDEO_START(turbofrc)
+ MCFG_VIDEO_UPDATE(aerofgt)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( aerfboot, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(aerfboot_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(aerfboot_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(aerfboot_sound_map)
+ MCFG_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(aerfboot_sound_map)
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500))
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500))
/* wrong but improves sprite-background synchronization */
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
- MDRV_GFXDECODE(aerfboot)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
+ MCFG_GFXDECODE(aerfboot)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_VIDEO_START(turbofrc)
- MDRV_VIDEO_UPDATE(aerfboot)
+ MCFG_VIDEO_START(turbofrc)
+ MCFG_VIDEO_UPDATE(aerfboot)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( aerfboo2, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(aerfboo2_map)
- MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(aerfboo2_map)
+ MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500))
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500))
/* wrong but improves sprite-background synchronization */
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
- MDRV_GFXDECODE(aerfboo2)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
+ MCFG_GFXDECODE(aerfboo2)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_VIDEO_START(turbofrc)
- MDRV_VIDEO_UPDATE(aerfboo2)
+ MCFG_VIDEO_START(turbofrc)
+ MCFG_VIDEO_UPDATE(aerfboo2)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( wbbc97, aerofgt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
- MDRV_CPU_PROGRAM_MAP(wbbc97_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
+ MCFG_CPU_ADD("maincpu",M68000,20000000/2) /* 10 MHz (?) */
+ MCFG_CPU_PROGRAM_MAP(wbbc97_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* all irq vectors are the same */
- MDRV_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(wbbc97_sound_map)
+ MCFG_CPU_ADD("audiocpu",Z80,8000000/2) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(wbbc97_sound_map)
/* IRQs are triggered by the YM3812 */
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(64*8, 64*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8+14, 44*8-1+4, 0*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(64*8, 64*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8+14, 44*8-1+4, 0*8, 30*8-1)
- MDRV_GFXDECODE(wbbc97)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_GFXDECODE(wbbc97)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_START(wbbc97)
- MDRV_VIDEO_UPDATE(wbbc97)
+ MCFG_VIDEO_START(wbbc97)
+ MCFG_VIDEO_UPDATE(wbbc97)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 3579545)
- MDRV_SOUND_CONFIG(ym3812_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 3579545)
+ MCFG_SOUND_CONFIG(ym3812_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/airbustr.c b/src/mame/drivers/airbustr.c
index ca5682b81b0..3b0f4428c75 100644
--- a/src/mame/drivers/airbustr.c
+++ b/src/mame/drivers/airbustr.c
@@ -633,59 +633,59 @@ static const kaneko_pandora_interface airbustr_pandora_config =
static MACHINE_CONFIG_START( airbustr, airbustr_state )
/* basic machine hardware */
- MDRV_CPU_ADD("master", Z80, 6000000) // ???
- MDRV_CPU_PROGRAM_MAP(master_map)
- MDRV_CPU_IO_MAP(master_io_map)
- MDRV_CPU_VBLANK_INT_HACK(master_interrupt, 2) // nmi caused by sub cpu?, ?
-
- MDRV_CPU_ADD("slave", Z80, 6000000) // ???
- MDRV_CPU_PROGRAM_MAP(slave_map)
- MDRV_CPU_IO_MAP(slave_io_map)
- MDRV_CPU_VBLANK_INT_HACK(slave_interrupt, 2) // nmi caused by main cpu, ?
-
- MDRV_CPU_ADD("audiocpu", Z80, 6000000) // ???
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_io_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) // nmi are caused by sub cpu writing a sound command
-
- MDRV_QUANTUM_TIME(HZ(6000)) // Palette RAM is filled by sub cpu with data supplied by main cpu
+ MCFG_CPU_ADD("master", Z80, 6000000) // ???
+ MCFG_CPU_PROGRAM_MAP(master_map)
+ MCFG_CPU_IO_MAP(master_io_map)
+ MCFG_CPU_VBLANK_INT_HACK(master_interrupt, 2) // nmi caused by sub cpu?, ?
+
+ MCFG_CPU_ADD("slave", Z80, 6000000) // ???
+ MCFG_CPU_PROGRAM_MAP(slave_map)
+ MCFG_CPU_IO_MAP(slave_io_map)
+ MCFG_CPU_VBLANK_INT_HACK(slave_interrupt, 2) // nmi caused by main cpu, ?
+
+ MCFG_CPU_ADD("audiocpu", Z80, 6000000) // ???
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_io_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) // nmi are caused by sub cpu writing a sound command
+
+ MCFG_QUANTUM_TIME(HZ(6000)) // Palette RAM is filled by sub cpu with data supplied by main cpu
// Maybe a high value is safer in order to avoid glitches
- MDRV_MACHINE_START(airbustr)
- MDRV_MACHINE_RESET(airbustr)
- MDRV_WATCHDOG_TIME_INIT(SEC(3)) /* a guess, and certainly wrong */
+ MCFG_MACHINE_START(airbustr)
+ MCFG_MACHINE_RESET(airbustr)
+ MCFG_WATCHDOG_TIME_INIT(SEC(3)) /* a guess, and certainly wrong */
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(airbustr)
- MDRV_PALETTE_LENGTH(768)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(airbustr)
+ MCFG_PALETTE_LENGTH(768)
- MDRV_KANEKO_PANDORA_ADD("pandora", airbustr_pandora_config)
+ MCFG_KANEKO_PANDORA_ADD("pandora", airbustr_pandora_config)
- MDRV_VIDEO_START(airbustr)
- MDRV_VIDEO_UPDATE(airbustr)
- MDRV_VIDEO_EOF(airbustr)
+ MCFG_VIDEO_START(airbustr)
+ MCFG_VIDEO_UPDATE(airbustr)
+ MCFG_VIDEO_EOF(airbustr)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2203, 3000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.25)
- MDRV_SOUND_ROUTE(1, "mono", 0.25)
- MDRV_SOUND_ROUTE(2, "mono", 0.25)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM2203, 3000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.25)
+ MCFG_SOUND_ROUTE(1, "mono", 0.25)
+ MCFG_SOUND_ROUTE(2, "mono", 0.25)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
- MDRV_OKIM6295_ADD("oki", 12000000/4, OKIM6295_PIN7_LOW)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
+ MCFG_OKIM6295_ADD("oki", 12000000/4, OKIM6295_PIN7_LOW)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( airbustrb, airbustr )
- MDRV_WATCHDOG_TIME_INIT(SEC(0)) // no protection device or watchdog
+ MCFG_WATCHDOG_TIME_INIT(SEC(0)) // no protection device or watchdog
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ajax.c b/src/mame/drivers/ajax.c
index 3e30f9a3273..3168aaf3d1c 100644
--- a/src/mame/drivers/ajax.c
+++ b/src/mame/drivers/ajax.c
@@ -208,57 +208,57 @@ static const k051316_interface ajax_k051316_intf =
static MACHINE_CONFIG_START( ajax, ajax_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", KONAMI, 3000000) /* 12/4 MHz*/
- MDRV_CPU_PROGRAM_MAP(ajax_main_map)
- MDRV_CPU_VBLANK_INT("screen", ajax_interrupt) /* IRQs triggered by the 051960 */
+ MCFG_CPU_ADD("maincpu", KONAMI, 3000000) /* 12/4 MHz*/
+ MCFG_CPU_PROGRAM_MAP(ajax_main_map)
+ MCFG_CPU_VBLANK_INT("screen", ajax_interrupt) /* IRQs triggered by the 051960 */
- MDRV_CPU_ADD("sub", M6809, 3000000) /* ? */
- MDRV_CPU_PROGRAM_MAP(ajax_sub_map)
+ MCFG_CPU_ADD("sub", M6809, 3000000) /* ? */
+ MCFG_CPU_PROGRAM_MAP(ajax_sub_map)
- MDRV_CPU_ADD("audiocpu", Z80, 3579545) /* 3.58 MHz */
- MDRV_CPU_PROGRAM_MAP(ajax_sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 3579545) /* 3.58 MHz */
+ MCFG_CPU_PROGRAM_MAP(ajax_sound_map)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_MACHINE_RESET(ajax)
- MDRV_MACHINE_START(ajax)
+ MCFG_MACHINE_RESET(ajax)
+ MCFG_MACHINE_START(ajax)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_START(ajax)
- MDRV_VIDEO_UPDATE(ajax)
+ MCFG_VIDEO_START(ajax)
+ MCFG_VIDEO_UPDATE(ajax)
- MDRV_K052109_ADD("k052109", ajax_k052109_intf)
- MDRV_K051960_ADD("k051960", ajax_k051960_intf)
- MDRV_K051316_ADD("k051316", ajax_k051316_intf)
+ MCFG_K052109_ADD("k052109", ajax_k052109_intf)
+ MCFG_K051960_ADD("k051960", ajax_k051960_intf)
+ MCFG_K051316_ADD("k051316", ajax_k051316_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2151, 3579545)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
-
- MDRV_SOUND_ADD("k007232_1", K007232, 3579545)
- MDRV_SOUND_CONFIG(k007232_interface_1)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.20)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.20)
- MDRV_SOUND_ROUTE(1, "lspeaker", 0.20)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.20)
-
- MDRV_SOUND_ADD("k007232_2", K007232, 3579545)
- MDRV_SOUND_CONFIG(k007232_interface_2)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.50)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.50)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2151, 3579545)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
+
+ MCFG_SOUND_ADD("k007232_1", K007232, 3579545)
+ MCFG_SOUND_CONFIG(k007232_interface_1)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.20)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.20)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 0.20)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.20)
+
+ MCFG_SOUND_ADD("k007232_2", K007232, 3579545)
+ MCFG_SOUND_CONFIG(k007232_interface_2)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/albazc.c b/src/mame/drivers/albazc.c
index f69f0720bfa..ca58252f769 100644
--- a/src/mame/drivers/albazc.c
+++ b/src/mame/drivers/albazc.c
@@ -259,31 +259,31 @@ static const ay8910_interface ay8910_config =
static MACHINE_CONFIG_START( hanaroku, albazc_state )
- MDRV_CPU_ADD("maincpu", Z80,6000000) /* ? MHz */
- MDRV_CPU_PROGRAM_MAP(hanaroku_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80,6000000) /* ? MHz */
+ MCFG_CPU_PROGRAM_MAP(hanaroku_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 64*8)
- MDRV_SCREEN_VISIBLE_AREA(0, 48*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 64*8)
+ MCFG_SCREEN_VISIBLE_AREA(0, 48*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(hanaroku)
- MDRV_PALETTE_LENGTH(0x200)
+ MCFG_GFXDECODE(hanaroku)
+ MCFG_PALETTE_LENGTH(0x200)
- MDRV_PALETTE_INIT(hanaroku)
- MDRV_VIDEO_START(hanaroku)
- MDRV_VIDEO_UPDATE(hanaroku)
+ MCFG_PALETTE_INIT(hanaroku)
+ MCFG_VIDEO_START(hanaroku)
+ MCFG_VIDEO_UPDATE(hanaroku)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 1500000) /* ? MHz */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("aysnd", AY8910, 1500000) /* ? MHz */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/albazg.c b/src/mame/drivers/albazg.c
index 72d2f3de428..a6078434aff 100644
--- a/src/mame/drivers/albazg.c
+++ b/src/mame/drivers/albazg.c
@@ -396,42 +396,42 @@ static MACHINE_RESET( yumefuda )
static MACHINE_CONFIG_START( yumefuda, albazg_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80 , MASTER_CLOCK/2) /* xtal is 12 Mhz, unknown divider*/
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(port_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80 , MASTER_CLOCK/2) /* xtal is 12 Mhz, unknown divider*/
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(port_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_START(yumefuda)
- MDRV_MACHINE_RESET(yumefuda)
+ MCFG_MACHINE_START(yumefuda)
+ MCFG_MACHINE_RESET(yumefuda)
- MDRV_EEPROM_93C46_ADD("eeprom")
+ MCFG_EEPROM_93C46_ADD("eeprom")
- MDRV_WATCHDOG_VBLANK_INIT(8) // timing is unknown
+ MCFG_WATCHDOG_VBLANK_INIT(8) // timing is unknown
- MDRV_PPI8255_ADD( "ppi8255_0", ppi8255_intf )
+ MCFG_PPI8255_ADD( "ppi8255_0", ppi8255_intf )
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0, 32*8-1, 0, 32*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0, 32*8-1, 0, 32*8-1)
- MDRV_MC6845_ADD("crtc", H46505, MASTER_CLOCK/16, mc6845_intf) /* hand tuned to get ~60 fps */
+ MCFG_MC6845_ADD("crtc", H46505, MASTER_CLOCK/16, mc6845_intf) /* hand tuned to get ~60 fps */
- MDRV_GFXDECODE( yumefuda )
- MDRV_PALETTE_LENGTH(0x80)
+ MCFG_GFXDECODE( yumefuda )
+ MCFG_PALETTE_LENGTH(0x80)
- MDRV_VIDEO_START( yumefuda )
- MDRV_VIDEO_UPDATE( yumefuda )
+ MCFG_VIDEO_START( yumefuda )
+ MCFG_VIDEO_UPDATE( yumefuda )
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, MASTER_CLOCK/16) /* guessed to use the same xtal as the crtc */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("aysnd", AY8910, MASTER_CLOCK/16) /* guessed to use the same xtal as the crtc */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
/***************************************************************************************/
diff --git a/src/mame/drivers/aleck64.c b/src/mame/drivers/aleck64.c
index 6ac4e3ceb69..f663dae5443 100644
--- a/src/mame/drivers/aleck64.c
+++ b/src/mame/drivers/aleck64.c
@@ -570,35 +570,35 @@ static INTERRUPT_GEN( n64_vblank )
static MACHINE_CONFIG_START( aleck64, _n64_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", VR4300BE, 93750000)
- MDRV_CPU_CONFIG(vr4300_config)
- MDRV_CPU_PROGRAM_MAP(n64_map)
- MDRV_CPU_VBLANK_INT("screen", n64_vblank)
-
- MDRV_CPU_ADD("rsp", RSP, 62500000)
- MDRV_CPU_CONFIG(n64_rsp_config)
- MDRV_CPU_PROGRAM_MAP(rsp_map)
-
- MDRV_MACHINE_START( n64 )
- MDRV_MACHINE_RESET( n64 )
-
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(640, 525)
- MDRV_SCREEN_VISIBLE_AREA(0, 639, 0, 239)
- MDRV_PALETTE_LENGTH(0x1000)
-
- MDRV_VIDEO_START(n64)
- MDRV_VIDEO_UPDATE(n64)
-
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("dac1", DMADAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ADD("dac2", DMADAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_CPU_ADD("maincpu", VR4300BE, 93750000)
+ MCFG_CPU_CONFIG(vr4300_config)
+ MCFG_CPU_PROGRAM_MAP(n64_map)
+ MCFG_CPU_VBLANK_INT("screen", n64_vblank)
+
+ MCFG_CPU_ADD("rsp", RSP, 62500000)
+ MCFG_CPU_CONFIG(n64_rsp_config)
+ MCFG_CPU_PROGRAM_MAP(rsp_map)
+
+ MCFG_MACHINE_START( n64 )
+ MCFG_MACHINE_RESET( n64 )
+
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(640, 525)
+ MCFG_SCREEN_VISIBLE_AREA(0, 639, 0, 239)
+ MCFG_PALETTE_LENGTH(0x1000)
+
+ MCFG_VIDEO_START(n64)
+ MCFG_VIDEO_UPDATE(n64)
+
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("dac1", DMADAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ADD("dac2", DMADAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MACHINE_CONFIG_END
static DRIVER_INIT( aleck64 )
diff --git a/src/mame/drivers/alg.c b/src/mame/drivers/alg.c
index f6ddd2c3dff..400749b9a81 100644
--- a/src/mame/drivers/alg.c
+++ b/src/mame/drivers/alg.c
@@ -429,64 +429,64 @@ static const mos6526_interface cia_1_intf =
static MACHINE_CONFIG_START( alg_r1, alg_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, AMIGA_68000_NTSC_CLOCK)
- MDRV_CPU_PROGRAM_MAP(main_map_r1)
+ MCFG_CPU_ADD("maincpu", M68000, AMIGA_68000_NTSC_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(main_map_r1)
- MDRV_MACHINE_START(alg)
- MDRV_MACHINE_RESET(alg)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_MACHINE_START(alg)
+ MCFG_MACHINE_RESET(alg)
+ MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_LASERDISC_ADD("laserdisc", SONY_LDP1450, "screen", "ldsound")
- MDRV_LASERDISC_OVERLAY(amiga, 512*2, 262, BITMAP_FORMAT_INDEXED16)
- MDRV_LASERDISC_OVERLAY_CLIP((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
+ MCFG_LASERDISC_ADD("laserdisc", SONY_LDP1450, "screen", "ldsound")
+ MCFG_LASERDISC_OVERLAY(amiga, 512*2, 262, BITMAP_FORMAT_INDEXED16)
+ MCFG_LASERDISC_OVERLAY_CLIP((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
/* video hardware */
- MDRV_LASERDISC_SCREEN_ADD_NTSC("screen", BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_REFRESH_RATE(59.997)
- MDRV_SCREEN_SIZE(512*2, 262)
- MDRV_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
+ MCFG_LASERDISC_SCREEN_ADD_NTSC("screen", BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_REFRESH_RATE(59.997)
+ MCFG_SCREEN_SIZE(512*2, 262)
+ MCFG_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
- MDRV_PALETTE_LENGTH(4097)
- MDRV_PALETTE_INIT(amiga)
+ MCFG_PALETTE_LENGTH(4097)
+ MCFG_PALETTE_INIT(amiga)
- MDRV_VIDEO_START(alg)
+ MCFG_VIDEO_START(alg)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("amiga", AMIGA, 3579545)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(2, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(3, "lspeaker", 0.25)
+ MCFG_SOUND_ADD("amiga", AMIGA, 3579545)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(3, "lspeaker", 0.25)
- MDRV_SOUND_ADD("ldsound", LASERDISC_SOUND, 0)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("ldsound", LASERDISC_SOUND, 0)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
/* cia */
- MDRV_MOS8520_ADD("cia_0", AMIGA_68000_NTSC_CLOCK / 10, cia_0_intf)
- MDRV_MOS8520_ADD("cia_1", AMIGA_68000_NTSC_CLOCK / 10, cia_1_intf)
+ MCFG_MOS8520_ADD("cia_0", AMIGA_68000_NTSC_CLOCK / 10, cia_0_intf)
+ MCFG_MOS8520_ADD("cia_1", AMIGA_68000_NTSC_CLOCK / 10, cia_1_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( alg_r2, alg_r1 )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(main_map_r2)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(main_map_r2)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( picmatic, alg_r1 )
/* adjust for PAL specs */
- MDRV_CPU_REPLACE("maincpu", M68000, AMIGA_68000_PAL_CLOCK)
- MDRV_CPU_PROGRAM_MAP(main_map_picmatic)
+ MCFG_CPU_REPLACE("maincpu", M68000, AMIGA_68000_PAL_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(main_map_picmatic)
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_REFRESH_RATE(50)
- MDRV_SCREEN_SIZE(512*2, 312)
- MDRV_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 300+8-1)
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_REFRESH_RATE(50)
+ MCFG_SCREEN_SIZE(512*2, 312)
+ MCFG_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 300+8-1)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aliens.c b/src/mame/drivers/aliens.c
index a35407380e7..34b957ee885 100644
--- a/src/mame/drivers/aliens.c
+++ b/src/mame/drivers/aliens.c
@@ -267,46 +267,46 @@ static MACHINE_CONFIG_START( aliens, aliens_state )
/* external clock should be 12MHz probably, CPU internal divider and precise cycle timings */
/* are unknown though. 3MHz is too low, sprites flicker in the pseudo-3D levels */
- MDRV_CPU_ADD("maincpu", KONAMI, 6000000) /* ? */
- MDRV_CPU_PROGRAM_MAP(aliens_map)
- MDRV_CPU_VBLANK_INT("screen", aliens_interrupt)
+ MCFG_CPU_ADD("maincpu", KONAMI, 6000000) /* ? */
+ MCFG_CPU_PROGRAM_MAP(aliens_map)
+ MCFG_CPU_VBLANK_INT("screen", aliens_interrupt)
- MDRV_CPU_ADD("audiocpu", Z80, 3579545)
- MDRV_CPU_PROGRAM_MAP(aliens_sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 3579545)
+ MCFG_CPU_PROGRAM_MAP(aliens_sound_map)
- MDRV_MACHINE_START(aliens)
- MDRV_MACHINE_RESET(aliens)
+ MCFG_MACHINE_START(aliens)
+ MCFG_MACHINE_RESET(aliens)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_PALETTE_LENGTH(512)
+ MCFG_PALETTE_LENGTH(512)
- MDRV_VIDEO_START(aliens)
- MDRV_VIDEO_UPDATE(aliens)
+ MCFG_VIDEO_START(aliens)
+ MCFG_VIDEO_UPDATE(aliens)
- MDRV_K052109_ADD("k052109", aliens_k052109_intf)
- MDRV_K051960_ADD("k051960", aliens_k051960_intf)
+ MCFG_K052109_ADD("k052109", aliens_k052109_intf)
+ MCFG_K051960_ADD("k051960", aliens_k051960_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, 3579545)
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.60)
- MDRV_SOUND_ROUTE(1, "mono", 0.60)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 3579545)
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.60)
+ MCFG_SOUND_ROUTE(1, "mono", 0.60)
- MDRV_SOUND_ADD("k007232", K007232, 3579545)
- MDRV_SOUND_CONFIG(k007232_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.20)
- MDRV_SOUND_ROUTE(1, "mono", 0.20)
+ MCFG_SOUND_ADD("k007232", K007232, 3579545)
+ MCFG_SOUND_CONFIG(k007232_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.20)
+ MCFG_SOUND_ROUTE(1, "mono", 0.20)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/alpha68k.c b/src/mame/drivers/alpha68k.c
index d6f14256b57..b672747022b 100644
--- a/src/mame/drivers/alpha68k.c
+++ b/src/mame/drivers/alpha68k.c
@@ -1948,381 +1948,381 @@ static MACHINE_START( alpha68k_II )
static MACHINE_CONFIG_START( sstingry, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 6000000) /* 24MHz/4? */
- MDRV_CPU_PROGRAM_MAP(kyros_map)
- MDRV_CPU_VBLANK_INT_HACK(alpha68k_interrupt,2)
+ MCFG_CPU_ADD("maincpu", M68000, 6000000) /* 24MHz/4? */
+ MCFG_CPU_PROGRAM_MAP(kyros_map)
+ MCFG_CPU_VBLANK_INT_HACK(alpha68k_interrupt,2)
- MDRV_CPU_ADD("audiocpu", Z80, 3579545)
- MDRV_CPU_PROGRAM_MAP(sstingry_sound_map)
- MDRV_CPU_IO_MAP(kyros_sound_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80, 3579545)
+ MCFG_CPU_PROGRAM_MAP(sstingry_sound_map)
+ MCFG_CPU_IO_MAP(kyros_sound_portmap)
//AT
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold, 2)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 4000)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold, 2)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 4000)
//ZT
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(sstingry)
- MDRV_PALETTE_LENGTH(256 + 1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(sstingry)
+ MCFG_PALETTE_LENGTH(256 + 1)
//AT
- MDRV_PALETTE_INIT(kyros)
+ MCFG_PALETTE_INIT(kyros)
//ZT
- MDRV_VIDEO_UPDATE(sstingry)
+ MCFG_VIDEO_UPDATE(sstingry)
/* sound hardware */
//AT
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, 3000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
+ MCFG_SOUND_ADD("ym1", YM2203, 3000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
- MDRV_SOUND_ADD("ym2", YM2203, 3000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
+ MCFG_SOUND_ADD("ym2", YM2203, 3000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
- MDRV_SOUND_ADD("ym3", YM2203, 3000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ym3", YM2203, 3000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
//ZT
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( kyros, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, XTAL_24MHz/4) /* Verified on bootleg PCB */
- MDRV_CPU_PROGRAM_MAP(kyros_map)
- MDRV_CPU_VBLANK_INT_HACK(alpha68k_interrupt,2)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz/4) /* Verified on bootleg PCB */
+ MCFG_CPU_PROGRAM_MAP(kyros_map)
+ MCFG_CPU_VBLANK_INT_HACK(alpha68k_interrupt,2)
- MDRV_CPU_ADD("audiocpu", Z80, XTAL_24MHz/6) /* Verified on bootleg PCB */
- MDRV_CPU_PROGRAM_MAP(kyros_sound_map)
- MDRV_CPU_IO_MAP(kyros_sound_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_24MHz/6) /* Verified on bootleg PCB */
+ MCFG_CPU_PROGRAM_MAP(kyros_sound_map)
+ MCFG_CPU_IO_MAP(kyros_sound_portmap)
//AT
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold, 2)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 4000)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold, 2)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 4000)
//ZT
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(kyros)
- MDRV_PALETTE_LENGTH(256 + 1)
-
- MDRV_PALETTE_INIT(kyros)
- MDRV_VIDEO_UPDATE(kyros)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(kyros)
+ MCFG_PALETTE_LENGTH(256 + 1)
+
+ MCFG_PALETTE_INIT(kyros)
+ MCFG_VIDEO_UPDATE(kyros)
/* sound hardware */
//AT
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, XTAL_24MHz/12) /* Verified on bootleg PCB */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
+ MCFG_SOUND_ADD("ym1", YM2203, XTAL_24MHz/12) /* Verified on bootleg PCB */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
- MDRV_SOUND_ADD("ym2", YM2203, XTAL_24MHz/12) /* Verified on bootleg PCB */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
+ MCFG_SOUND_ADD("ym2", YM2203, XTAL_24MHz/12) /* Verified on bootleg PCB */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
- MDRV_SOUND_ADD("ym3", YM2203, XTAL_24MHz/12) /* Verified on bootleg PCB */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("ym3", YM2203, XTAL_24MHz/12) /* Verified on bootleg PCB */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
//ZT
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( jongbou, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(kyros_map)
- MDRV_CPU_VBLANK_INT_HACK(alpha68k_interrupt,17) // must be at least 4 for the controls to be smooth
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(kyros_map)
+ MCFG_CPU_VBLANK_INT_HACK(alpha68k_interrupt,17) // must be at least 4 for the controls to be smooth
- MDRV_CPU_ADD("audiocpu", Z80, 4000000)
- MDRV_CPU_PROGRAM_MAP(jongbou_sound_map)
- MDRV_CPU_IO_MAP(jongbou_sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold, 160) // guess, controls sound speed
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000)
+ MCFG_CPU_PROGRAM_MAP(jongbou_sound_map)
+ MCFG_CPU_IO_MAP(jongbou_sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold, 160) // guess, controls sound speed
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(jongbou)
- MDRV_PALETTE_LENGTH(256 + 1)
-
- MDRV_PALETTE_INIT(kyros)
- MDRV_VIDEO_UPDATE(kyros)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(jongbou)
+ MCFG_PALETTE_LENGTH(256 + 1)
+
+ MCFG_PALETTE_INIT(kyros)
+ MCFG_VIDEO_UPDATE(kyros)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 2000000)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
+ MCFG_SOUND_ADD("aysnd", AY8910, 2000000)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( alpha68k_I, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 6000000) /* 24MHz/4? */
- MDRV_CPU_PROGRAM_MAP(alpha68k_I_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* VBL */
+ MCFG_CPU_ADD("maincpu", M68000, 6000000) /* 24MHz/4? */
+ MCFG_CPU_PROGRAM_MAP(alpha68k_I_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* VBL */
- MDRV_CPU_ADD("audiocpu", Z80, 4000000) // 4Mhz seems to yield the correct tone
- MDRV_CPU_PROGRAM_MAP(alpha68k_I_s_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000) // 4Mhz seems to yield the correct tone
+ MCFG_CPU_PROGRAM_MAP(alpha68k_I_s_map)
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(paddle)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(paddle)
//AT
- MDRV_PALETTE_LENGTH(1024)
- MDRV_PALETTE_INIT(paddlem)
+ MCFG_PALETTE_LENGTH(1024)
+ MCFG_PALETTE_INIT(paddlem)
//ZT
- MDRV_VIDEO_UPDATE(alpha68k_I)
+ MCFG_VIDEO_UPDATE(alpha68k_I)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_CONFIG(ym3812_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_CONFIG(ym3812_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( alpha68k_II, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* Correct */
- MDRV_CPU_PROGRAM_MAP(alpha68k_II_map)
- MDRV_CPU_VBLANK_INT("screen", irq3_line_hold)/* VBL */
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* Correct */
+ MCFG_CPU_PROGRAM_MAP(alpha68k_II_map)
+ MCFG_CPU_VBLANK_INT("screen", irq3_line_hold)/* VBL */
- MDRV_CPU_ADD("audiocpu", Z80, /*3579545*/3579545*2) /* Unlikely but needed to stop nested NMI's */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 7500) //AT
+ MCFG_CPU_ADD("audiocpu", Z80, /*3579545*/3579545*2) /* Unlikely but needed to stop nested NMI's */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 7500) //AT
- MDRV_MACHINE_START(alpha68k_II)
- MDRV_MACHINE_RESET(alpha68k_II)
+ MCFG_MACHINE_START(alpha68k_II)
+ MCFG_MACHINE_RESET(alpha68k_II)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(alpha68k_II)
- MDRV_PALETTE_LENGTH(2048)
-
- MDRV_VIDEO_START(alpha68k)
- MDRV_VIDEO_UPDATE(alpha68k_II)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(alpha68k_II)
+ MCFG_PALETTE_LENGTH(2048)
+
+ MCFG_VIDEO_START(alpha68k)
+ MCFG_VIDEO_UPDATE(alpha68k_II)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, 3000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
+ MCFG_SOUND_ADD("ym1", YM2203, 3000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
- MDRV_SOUND_ADD("ym2", YM2413, 3579545)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ym2", YM2413, 3579545)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( btlfieldb, alpha68k_II )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_VBLANK_INT_HACK(alpha68k_interrupt,2)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_VBLANK_INT_HACK(alpha68k_interrupt,2)
MACHINE_CONFIG_END
//AT
static MACHINE_CONFIG_START( alpha68k_II_gm, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(alpha68k_II_map)
- MDRV_CPU_VBLANK_INT_HACK(alpha68k_interrupt, 4)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(alpha68k_II_map)
+ MCFG_CPU_VBLANK_INT_HACK(alpha68k_interrupt, 4)
- MDRV_CPU_ADD("audiocpu", Z80, 4000000*2)
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 7500)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000*2)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 7500)
- MDRV_MACHINE_START(alpha68k_II)
- MDRV_MACHINE_RESET(alpha68k_II)
+ MCFG_MACHINE_START(alpha68k_II)
+ MCFG_MACHINE_RESET(alpha68k_II)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(alpha68k_II)
- MDRV_PALETTE_LENGTH(2048)
-
- MDRV_VIDEO_START(alpha68k)
- MDRV_VIDEO_UPDATE(alpha68k_II)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(alpha68k_II)
+ MCFG_PALETTE_LENGTH(2048)
+
+ MCFG_VIDEO_START(alpha68k)
+ MCFG_VIDEO_UPDATE(alpha68k_II)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, 3000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
+ MCFG_SOUND_ADD("ym1", YM2203, 3000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
- MDRV_SOUND_ADD("ym2", YM2413, 3579545)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ym2", YM2413, 3579545)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MACHINE_CONFIG_END
//ZT
static MACHINE_CONFIG_START( alpha68k_V, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 10000000) /* ? */
- MDRV_CPU_PROGRAM_MAP(alpha68k_V_map)
- MDRV_CPU_VBLANK_INT("screen", irq3_line_hold)/* VBL */
+ MCFG_CPU_ADD("maincpu", M68000, 10000000) /* ? */
+ MCFG_CPU_PROGRAM_MAP(alpha68k_V_map)
+ MCFG_CPU_VBLANK_INT("screen", irq3_line_hold)/* VBL */
- MDRV_CPU_ADD("audiocpu", Z80, /*3579545*/3579545*2) /* Unlikely but needed to stop nested NMI's */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 8500) //AT
+ MCFG_CPU_ADD("audiocpu", Z80, /*3579545*/3579545*2) /* Unlikely but needed to stop nested NMI's */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 8500) //AT
- MDRV_MACHINE_START(alpha68k_V)
- MDRV_MACHINE_RESET(alpha68k_V)
+ MCFG_MACHINE_START(alpha68k_V)
+ MCFG_MACHINE_RESET(alpha68k_V)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(alpha68k_V)
- MDRV_PALETTE_LENGTH(4096)
-
- MDRV_VIDEO_START(alpha68k)
- MDRV_VIDEO_UPDATE(alpha68k_V)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(alpha68k_V)
+ MCFG_PALETTE_LENGTH(4096)
+
+ MCFG_VIDEO_START(alpha68k)
+ MCFG_VIDEO_UPDATE(alpha68k_V)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, 3000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
+ MCFG_SOUND_ADD("ym1", YM2203, 3000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
- MDRV_SOUND_ADD("ym2", YM2413, 3579545)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ym2", YM2413, 3579545)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( alpha68k_V_sb, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 10000000) /* ? */
- MDRV_CPU_PROGRAM_MAP(alpha68k_V_map)
- MDRV_CPU_VBLANK_INT("screen", irq3_line_hold)/* VBL */
+ MCFG_CPU_ADD("maincpu", M68000, 10000000) /* ? */
+ MCFG_CPU_PROGRAM_MAP(alpha68k_V_map)
+ MCFG_CPU_VBLANK_INT("screen", irq3_line_hold)/* VBL */
- MDRV_CPU_ADD("audiocpu", Z80, /*3579545*/3579545*2) /* Unlikely but needed to stop nested NMI's */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 8500) //AT
+ MCFG_CPU_ADD("audiocpu", Z80, /*3579545*/3579545*2) /* Unlikely but needed to stop nested NMI's */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 8500) //AT
- MDRV_MACHINE_START(alpha68k_V)
- MDRV_MACHINE_RESET(alpha68k_V)
+ MCFG_MACHINE_START(alpha68k_V)
+ MCFG_MACHINE_RESET(alpha68k_V)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(alpha68k_V)
- MDRV_PALETTE_LENGTH(4096)
-
- MDRV_VIDEO_START(alpha68k)
- MDRV_VIDEO_UPDATE(alpha68k_V_sb)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(alpha68k_V)
+ MCFG_PALETTE_LENGTH(4096)
+
+ MCFG_VIDEO_START(alpha68k)
+ MCFG_VIDEO_UPDATE(alpha68k_V_sb)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM2203, 3000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
+ MCFG_SOUND_ADD("ym1", YM2203, 3000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
- MDRV_SOUND_ADD("ym2", YM2413, 3579545)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ym2", YM2413, 3579545)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( tnextspc, alpha68k_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 9000000) /* Confirmed 18 MHz/2 */
- MDRV_CPU_PROGRAM_MAP(tnextspc_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)/* VBL */
+ MCFG_CPU_ADD("maincpu", M68000, 9000000) /* Confirmed 18 MHz/2 */
+ MCFG_CPU_PROGRAM_MAP(tnextspc_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)/* VBL */
- MDRV_CPU_ADD("audiocpu", Z80, 4000000)
- MDRV_CPU_PROGRAM_MAP(tnextspc_sound_map)
- MDRV_CPU_IO_MAP(tnextspc_sound_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000)
+ MCFG_CPU_PROGRAM_MAP(tnextspc_sound_map)
+ MCFG_CPU_IO_MAP(tnextspc_sound_portmap)
- MDRV_MACHINE_START(common)
- MDRV_MACHINE_RESET(common)
+ MCFG_MACHINE_START(common)
+ MCFG_MACHINE_RESET(common)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(tnextspc)
-
- MDRV_PALETTE_LENGTH(1024)
- MDRV_PALETTE_INIT(paddlem)
- MDRV_VIDEO_UPDATE(alpha68k_I)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(tnextspc)
+
+ MCFG_PALETTE_LENGTH(1024)
+ MCFG_PALETTE_INIT(paddlem)
+ MCFG_VIDEO_UPDATE(alpha68k_I)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_CONFIG(ym3812_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_CONFIG(ym3812_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/amaticmg.c b/src/mame/drivers/amaticmg.c
index f0a3877c1b1..9076ddea4ce 100644
--- a/src/mame/drivers/amaticmg.c
+++ b/src/mame/drivers/amaticmg.c
@@ -612,44 +612,44 @@ GFXDECODE_END
static MACHINE_CONFIG_START( amaticmg, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, CPU_CLOCK) /* WRONG! */
- MDRV_CPU_PROGRAM_MAP(amaticmg_map)
- MDRV_CPU_IO_MAP(amaticmg_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK) /* WRONG! */
+ MCFG_CPU_PROGRAM_MAP(amaticmg_map)
+ MCFG_CPU_IO_MAP(amaticmg_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
-// MDRV_NVRAM_ADD_0FILL("nvram")
+// MCFG_NVRAM_ADD_0FILL("nvram")
/* 3x 8255 */
-// MDRV_PPI8255_ADD( "ppi8255_0", ppi8255_intf[0] )
-// MDRV_PPI8255_ADD( "ppi8255_1", ppi8255_intf[1] )
-// MDRV_PPI8255_ADD( "ppi8255_2", ppi8255_intf[2] )
+// MCFG_PPI8255_ADD( "ppi8255_0", ppi8255_intf[0] )
+// MCFG_PPI8255_ADD( "ppi8255_1", ppi8255_intf[1] )
+// MCFG_PPI8255_ADD( "ppi8255_2", ppi8255_intf[2] )
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(512, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
-// MDRV_MC6845_ADD("crtc", MC6845, CRTC_CLOCK, mc6845_intf)
+// MCFG_MC6845_ADD("crtc", MC6845, CRTC_CLOCK, mc6845_intf)
- MDRV_GFXDECODE(amaticmg)
+ MCFG_GFXDECODE(amaticmg)
- MDRV_PALETTE_INIT(amaticmg)
- MDRV_PALETTE_LENGTH(0x100)
- MDRV_VIDEO_START(amaticmg)
- MDRV_VIDEO_UPDATE(amaticmg)
+ MCFG_PALETTE_INIT(amaticmg)
+ MCFG_PALETTE_LENGTH(0x100)
+ MCFG_VIDEO_START(amaticmg)
+ MCFG_VIDEO_UPDATE(amaticmg)
/* sound hardware */
-// MDRV_SPEAKER_STANDARD_MONO("mono")
+// MCFG_SPEAKER_STANDARD_MONO("mono")
-// MDRV_SOUND_ADD("ymsnd", YM3812, SND_CLOCK)
-// MDRV_SOUND_CONFIG(ym3812_config)
-// MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+// MCFG_SOUND_ADD("ymsnd", YM3812, SND_CLOCK)
+// MCFG_SOUND_CONFIG(ym3812_config)
+// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
-// MDRV_SOUND_ADD("dac", DAC, 0) /* Y3014B */
-// MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+// MCFG_SOUND_ADD("dac", DAC, 0) /* Y3014B */
+// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ambush.c b/src/mame/drivers/ambush.c
index d08b639fb31..0f4dd94576b 100644
--- a/src/mame/drivers/ambush.c
+++ b/src/mame/drivers/ambush.c
@@ -229,34 +229,34 @@ static const ay8910_interface ay8910_interface_2 =
static MACHINE_CONFIG_START( ambush, ambush_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, 4000000) /* 4.00 MHz??? */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, 4000000) /* 4.00 MHz??? */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-3) /* The -3 makes the cocktail mode perfect */
- MDRV_GFXDECODE(ambush)
- MDRV_PALETTE_LENGTH(256)
-
- MDRV_PALETTE_INIT(ambush)
- MDRV_VIDEO_UPDATE(ambush)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-3) /* The -3 makes the cocktail mode perfect */
+ MCFG_GFXDECODE(ambush)
+ MCFG_PALETTE_LENGTH(256)
+
+ MCFG_PALETTE_INIT(ambush)
+ MCFG_VIDEO_UPDATE(ambush)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ay1", AY8910, 1500000)
- MDRV_SOUND_CONFIG(ay8910_interface_1)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("ay1", AY8910, 1500000)
+ MCFG_SOUND_CONFIG(ay8910_interface_1)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
- MDRV_SOUND_ADD("ay2", AY8910, 1500000)
- MDRV_SOUND_CONFIG(ay8910_interface_2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SOUND_ADD("ay2", AY8910, 1500000)
+ MCFG_SOUND_CONFIG(ay8910_interface_2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ampoker2.c b/src/mame/drivers/ampoker2.c
index 72c0ff5b2d3..a65f5b97519 100644
--- a/src/mame/drivers/ampoker2.c
+++ b/src/mame/drivers/ampoker2.c
@@ -1166,36 +1166,36 @@ static const ay8910_interface ay8910_config =
static MACHINE_CONFIG_START( ampoker2, ampoker2_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK/2) /* 3 MHz */
- MDRV_CPU_PROGRAM_MAP(ampoker2_map)
- MDRV_CPU_IO_MAP(ampoker2_io_map)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 1536)
- MDRV_WATCHDOG_TIME_INIT(MSEC(200)) /* 200 ms, measured */
+ MCFG_CPU_ADD("maincpu", Z80, MASTER_CLOCK/2) /* 3 MHz */
+ MCFG_CPU_PROGRAM_MAP(ampoker2_map)
+ MCFG_CPU_IO_MAP(ampoker2_io_map)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 1536)
+ MCFG_WATCHDOG_TIME_INIT(MSEC(200)) /* 200 ms, measured */
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
/* if VBLANK is used, the watchdog timer stop to work.
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
*/
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(20*8, 56*8-1, 2*8, 32*8-1)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(20*8, 56*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(ampoker2)
- MDRV_PALETTE_LENGTH(512)
+ MCFG_GFXDECODE(ampoker2)
+ MCFG_PALETTE_LENGTH(512)
- MDRV_PALETTE_INIT(ampoker2)
- MDRV_VIDEO_START(ampoker2)
- MDRV_VIDEO_UPDATE(ampoker2)
+ MCFG_PALETTE_INIT(ampoker2)
+ MCFG_VIDEO_START(ampoker2)
+ MCFG_VIDEO_UPDATE(ampoker2)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910,MASTER_CLOCK/4) /* 1.5 MHz, measured */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910,MASTER_CLOCK/4) /* 1.5 MHz, measured */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( sigma2k, ampoker2 )
@@ -1203,8 +1203,8 @@ static MACHINE_CONFIG_DERIVED( sigma2k, ampoker2 )
/* basic machine hardware */
/* video hardware */
- MDRV_GFXDECODE(sigma2k)
- MDRV_VIDEO_START(sigma2k)
+ MCFG_GFXDECODE(sigma2k)
+ MCFG_VIDEO_START(sigma2k)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/amspdwy.c b/src/mame/drivers/amspdwy.c
index 0705d9700d9..70190238cbd 100644
--- a/src/mame/drivers/amspdwy.c
+++ b/src/mame/drivers/amspdwy.c
@@ -274,37 +274,37 @@ static MACHINE_RESET( amspdwy )
static MACHINE_CONFIG_START( amspdwy, amspdwy_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80,3000000)
- MDRV_CPU_PROGRAM_MAP(amspdwy_map)
- MDRV_CPU_IO_MAP(amspdwy_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) /* IRQ: 60Hz, NMI: retn */
+ MCFG_CPU_ADD("maincpu", Z80,3000000)
+ MCFG_CPU_PROGRAM_MAP(amspdwy_map)
+ MCFG_CPU_IO_MAP(amspdwy_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) /* IRQ: 60Hz, NMI: retn */
- MDRV_CPU_ADD("audiocpu", Z80,3000000) /* Can't be disabled: the YM2151 timers must work */
- MDRV_CPU_PROGRAM_MAP(amspdwy_sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80,3000000) /* Can't be disabled: the YM2151 timers must work */
+ MCFG_CPU_PROGRAM_MAP(amspdwy_sound_map)
- MDRV_MACHINE_START(amspdwy)
- MDRV_MACHINE_RESET(amspdwy)
+ MCFG_MACHINE_START(amspdwy)
+ MCFG_MACHINE_RESET(amspdwy)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(256, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 256-1, 0+16, 256-16-1)
- MDRV_GFXDECODE(amspdwy)
- MDRV_PALETTE_LENGTH(32)
-
- MDRV_VIDEO_START(amspdwy)
- MDRV_VIDEO_UPDATE(amspdwy)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(256, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 0+16, 256-16-1)
+ MCFG_GFXDECODE(amspdwy)
+ MCFG_PALETTE_LENGTH(32)
+
+ MCFG_VIDEO_START(amspdwy)
+ MCFG_VIDEO_UPDATE(amspdwy)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM2151, 3000000)
- MDRV_SOUND_CONFIG(amspdwy_ym2151_interface)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 3000000)
+ MCFG_SOUND_CONFIG(amspdwy_ym2151_interface)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/angelkds.c b/src/mame/drivers/angelkds.c
index b5445ceaf29..01f4e27775e 100644
--- a/src/mame/drivers/angelkds.c
+++ b/src/mame/drivers/angelkds.c
@@ -606,47 +606,47 @@ static MACHINE_RESET( angelkds )
static MACHINE_CONFIG_START( angelkds, angelkds_state )
- MDRV_CPU_ADD("maincpu", Z80, 8000000) /* 8MHz? 6 seems too slow? */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, 8000000) /* 8MHz? 6 seems too slow? */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("sub", Z80, 4000000) /* 8 MHz? */
- MDRV_CPU_PROGRAM_MAP(sub_map)
- MDRV_CPU_IO_MAP(sub_portmap)
+ MCFG_CPU_ADD("sub", Z80, 4000000) /* 8 MHz? */
+ MCFG_CPU_PROGRAM_MAP(sub_map)
+ MCFG_CPU_IO_MAP(sub_portmap)
- MDRV_MACHINE_START(angelkds)
- MDRV_MACHINE_RESET(angelkds)
+ MCFG_MACHINE_START(angelkds)
+ MCFG_MACHINE_RESET(angelkds)
- MDRV_QUANTUM_TIME(HZ(6000))
+ MCFG_QUANTUM_TIME(HZ(6000))
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MDRV_GFXDECODE(angelkds)
- MDRV_PALETTE_LENGTH(0x100)
-
- MDRV_VIDEO_START(angelkds)
- MDRV_VIDEO_UPDATE(angelkds)
-
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("ym1", YM2203, 4000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.65)
- MDRV_SOUND_ROUTE(1, "mono", 0.65)
- MDRV_SOUND_ROUTE(2, "mono", 0.65)
- MDRV_SOUND_ROUTE(3, "mono", 0.45)
-
- MDRV_SOUND_ADD("ym2", YM2203, 4000000)
- MDRV_SOUND_ROUTE(0, "mono", 0.65)
- MDRV_SOUND_ROUTE(1, "mono", 0.65)
- MDRV_SOUND_ROUTE(2, "mono", 0.65)
- MDRV_SOUND_ROUTE(3, "mono", 0.45)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
+ MCFG_GFXDECODE(angelkds)
+ MCFG_PALETTE_LENGTH(0x100)
+
+ MCFG_VIDEO_START(angelkds)
+ MCFG_VIDEO_UPDATE(angelkds)
+
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("ym1", YM2203, 4000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.65)
+ MCFG_SOUND_ROUTE(1, "mono", 0.65)
+ MCFG_SOUND_ROUTE(2, "mono", 0.65)
+ MCFG_SOUND_ROUTE(3, "mono", 0.45)
+
+ MCFG_SOUND_ADD("ym2", YM2203, 4000000)
+ MCFG_SOUND_ROUTE(0, "mono", 0.65)
+ MCFG_SOUND_ROUTE(1, "mono", 0.65)
+ MCFG_SOUND_ROUTE(2, "mono", 0.65)
+ MCFG_SOUND_ROUTE(3, "mono", 0.45)
MACHINE_CONFIG_END
/*** Rom Loading
diff --git a/src/mame/drivers/appoooh.c b/src/mame/drivers/appoooh.c
index ffb21932df8..2c89d87ccc9 100644
--- a/src/mame/drivers/appoooh.c
+++ b/src/mame/drivers/appoooh.c
@@ -424,65 +424,65 @@ static MACHINE_RESET( appoooh )
static MACHINE_CONFIG_START( appoooh_common, appoooh_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80,18432000/6) /* ??? the main xtal is 18.432 MHz */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
+ MCFG_CPU_ADD("maincpu", Z80,18432000/6) /* ??? the main xtal is 18.432 MHz */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
- MDRV_MACHINE_START(appoooh)
- MDRV_MACHINE_RESET(appoooh)
+ MCFG_MACHINE_START(appoooh)
+ MCFG_MACHINE_RESET(appoooh)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("sn1", SN76489, 18432000/6)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SOUND_ADD("sn1", SN76489, 18432000/6)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
- MDRV_SOUND_ADD("sn2", SN76489, 18432000/6)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SOUND_ADD("sn2", SN76489, 18432000/6)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
- MDRV_SOUND_ADD("sn3", SN76489, 18432000/6)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SOUND_ADD("sn3", SN76489, 18432000/6)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
- MDRV_SOUND_ADD("msm", MSM5205, 384000)
- MDRV_SOUND_CONFIG(msm5205_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("msm", MSM5205, 384000)
+ MCFG_SOUND_CONFIG(msm5205_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( appoooh, appoooh_common )
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(appoooh)
- MDRV_PALETTE_LENGTH(32*8+32*8)
-
- MDRV_PALETTE_INIT(appoooh)
- MDRV_VIDEO_START(appoooh)
- MDRV_VIDEO_UPDATE(appoooh)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(appoooh)
+ MCFG_PALETTE_LENGTH(32*8+32*8)
+
+ MCFG_PALETTE_INIT(appoooh)
+ MCFG_VIDEO_START(appoooh)
+ MCFG_VIDEO_UPDATE(appoooh)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( robowres, appoooh_common )
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(robowres)
- MDRV_PALETTE_LENGTH(32*8+32*8)
-
- MDRV_PALETTE_INIT(robowres)
- MDRV_VIDEO_START(appoooh)
- MDRV_VIDEO_UPDATE(robowres)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(robowres)
+ MCFG_PALETTE_LENGTH(32*8+32*8)
+
+ MCFG_PALETTE_INIT(robowres)
+ MCFG_VIDEO_START(appoooh)
+ MCFG_VIDEO_UPDATE(robowres)
MACHINE_CONFIG_END
/*************************************
diff --git a/src/mame/drivers/aquarium.c b/src/mame/drivers/aquarium.c
index d901277a37e..470af9640c4 100644
--- a/src/mame/drivers/aquarium.c
+++ b/src/mame/drivers/aquarium.c
@@ -362,41 +362,41 @@ static MACHINE_RESET( aquarium )
static MACHINE_CONFIG_START( aquarium, aquarium_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 32000000/2)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 32000000/2)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 6000000)
- MDRV_CPU_PROGRAM_MAP(snd_map)
- MDRV_CPU_IO_MAP(snd_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80, 6000000)
+ MCFG_CPU_PROGRAM_MAP(snd_map)
+ MCFG_CPU_IO_MAP(snd_portmap)
- MDRV_MACHINE_START(aquarium)
- MDRV_MACHINE_RESET(aquarium)
+ MCFG_MACHINE_START(aquarium)
+ MCFG_MACHINE_RESET(aquarium)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 64*8)
- MDRV_SCREEN_VISIBLE_AREA(2*8, 42*8-1, 2*8, 34*8-1)
- MDRV_GFXDECODE(aquarium)
- MDRV_PALETTE_LENGTH(0x1000/2)
-
- MDRV_VIDEO_START(aquarium)
- MDRV_VIDEO_UPDATE(aquarium)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 64*8)
+ MCFG_SCREEN_VISIBLE_AREA(2*8, 42*8-1, 2*8, 34*8-1)
+ MCFG_GFXDECODE(aquarium)
+ MCFG_PALETTE_LENGTH(0x1000/2)
+
+ MCFG_VIDEO_START(aquarium)
+ MCFG_VIDEO_UPDATE(aquarium)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM2151, 3579545)
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.45)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.45)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 3579545)
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.45)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.45)
- MDRV_OKIM6295_ADD("oki", 1122000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.47)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.47)
+ MCFG_OKIM6295_ADD("oki", 1122000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.47)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.47)
MACHINE_CONFIG_END
ROM_START( aquarium )
diff --git a/src/mame/drivers/arabian.c b/src/mame/drivers/arabian.c
index 4fdca1fdaa0..fdf407613b5 100644
--- a/src/mame/drivers/arabian.c
+++ b/src/mame/drivers/arabian.c
@@ -365,36 +365,36 @@ static MACHINE_RESET( arabian )
static MACHINE_CONFIG_START( arabian, arabian_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MAIN_OSC/4)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_io_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, MAIN_OSC/4)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_io_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("mcu", MB8841, MAIN_OSC/3/2)
- MDRV_CPU_IO_MAP(mcu_io_map)
+ MCFG_CPU_ADD("mcu", MB8841, MAIN_OSC/3/2)
+ MCFG_CPU_IO_MAP(mcu_io_map)
- MDRV_MACHINE_START(arabian)
- MDRV_MACHINE_RESET(arabian)
+ MCFG_MACHINE_START(arabian)
+ MCFG_MACHINE_RESET(arabian)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(256, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 255, 11, 244)
- MDRV_PALETTE_LENGTH(256*32)
-
- MDRV_PALETTE_INIT(arabian)
- MDRV_VIDEO_START(arabian)
- MDRV_VIDEO_UPDATE(arabian)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(256, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 255, 11, 244)
+ MCFG_PALETTE_LENGTH(256*32)
+
+ MCFG_PALETTE_INIT(arabian)
+ MCFG_VIDEO_START(arabian)
+ MCFG_VIDEO_UPDATE(arabian)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, MAIN_OSC/4/2)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("aysnd", AY8910, MAIN_OSC/4/2)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/arcadecl.c b/src/mame/drivers/arcadecl.c
index d8eab94a1d8..b01ccd819ba 100644
--- a/src/mame/drivers/arcadecl.c
+++ b/src/mame/drivers/arcadecl.c
@@ -326,33 +326,33 @@ GFXDECODE_END
static MACHINE_CONFIG_START( arcadecl, rampart_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, MASTER_CLOCK)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
+ MCFG_CPU_ADD("maincpu", M68000, MASTER_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
- MDRV_MACHINE_START(arcadecl)
- MDRV_MACHINE_RESET(arcadecl)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(arcadecl)
+ MCFG_MACHINE_RESET(arcadecl)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(arcadecl)
- MDRV_PALETTE_LENGTH(512)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(arcadecl)
+ MCFG_PALETTE_LENGTH(512)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0+12, 336+12, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0+12, 336+12, 262, 0, 240)
- MDRV_VIDEO_START(arcadecl)
- MDRV_VIDEO_UPDATE(arcadecl)
+ MCFG_VIDEO_START(arcadecl)
+ MCFG_VIDEO_UPDATE(arcadecl)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", MASTER_CLOCK/4/3, OKIM6295_PIN7_LOW)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", MASTER_CLOCK/4/3, OKIM6295_PIN7_LOW)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/arcadia.c b/src/mame/drivers/arcadia.c
index 92c086f28cd..9acfb7cf1b1 100644
--- a/src/mame/drivers/arcadia.c
+++ b/src/mame/drivers/arcadia.c
@@ -299,39 +299,39 @@ static const mos6526_interface cia_1_intf =
static MACHINE_CONFIG_START( arcadia, arcadia_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, AMIGA_68000_NTSC_CLOCK)
- MDRV_CPU_PROGRAM_MAP(amiga_map)
+ MCFG_CPU_ADD("maincpu", M68000, AMIGA_68000_NTSC_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(amiga_map)
- MDRV_MACHINE_RESET(amiga)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_MACHINE_RESET(amiga)
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(59.997)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512*2, 262)
- MDRV_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
- MDRV_PALETTE_LENGTH(4096)
- MDRV_PALETTE_INIT(amiga)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(59.997)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(512*2, 262)
+ MCFG_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
+ MCFG_PALETTE_LENGTH(4096)
+ MCFG_PALETTE_INIT(amiga)
- MDRV_VIDEO_START(amiga)
- MDRV_VIDEO_UPDATE(amiga)
+ MCFG_VIDEO_START(amiga)
+ MCFG_VIDEO_UPDATE(amiga)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("amiga", AMIGA, 3579545)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.50)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.50)
- MDRV_SOUND_ROUTE(2, "rspeaker", 0.50)
- MDRV_SOUND_ROUTE(3, "lspeaker", 0.50)
+ MCFG_SOUND_ADD("amiga", AMIGA, 3579545)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.50)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 0.50)
+ MCFG_SOUND_ROUTE(3, "lspeaker", 0.50)
/* cia */
- MDRV_MOS8520_ADD("cia_0", AMIGA_68000_NTSC_CLOCK / 10, cia_0_intf)
- MDRV_MOS8520_ADD("cia_1", AMIGA_68000_NTSC_CLOCK / 10, cia_1_intf)
+ MCFG_MOS8520_ADD("cia_0", AMIGA_68000_NTSC_CLOCK / 10, cia_0_intf)
+ MCFG_MOS8520_ADD("cia_1", AMIGA_68000_NTSC_CLOCK / 10, cia_1_intf)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/argus.c b/src/mame/drivers/argus.c
index f795fad1cb0..5e481f82cff 100644
--- a/src/mame/drivers/argus.c
+++ b/src/mame/drivers/argus.c
@@ -532,149 +532,149 @@ GFXDECODE_END
static MACHINE_CONFIG_START( argus, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, 5000000) /* 4 MHz */
- MDRV_CPU_PROGRAM_MAP(argus_map)
- MDRV_CPU_VBLANK_INT_HACK(argus_interrupt,2)
+ MCFG_CPU_ADD("maincpu", Z80, 5000000) /* 4 MHz */
+ MCFG_CPU_PROGRAM_MAP(argus_map)
+ MCFG_CPU_VBLANK_INT_HACK(argus_interrupt,2)
- MDRV_CPU_ADD("audiocpu", Z80, 5000000)
- MDRV_CPU_PROGRAM_MAP(sound_map_a)
+ MCFG_CPU_ADD("audiocpu", Z80, 5000000)
+ MCFG_CPU_PROGRAM_MAP(sound_map_a)
#if 0
- MDRV_CPU_IO_MAP(sound_portmap_1)
+ MCFG_CPU_IO_MAP(sound_portmap_1)
#else
- MDRV_CPU_IO_MAP(sound_portmap_2)
+ MCFG_CPU_IO_MAP(sound_portmap_2)
#endif
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(54)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is refered to psychic5 driver */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(32*16, 32*16)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(54)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is refered to psychic5 driver */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(32*16, 32*16)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(argus)
- MDRV_PALETTE_LENGTH(896)
+ MCFG_GFXDECODE(argus)
+ MCFG_PALETTE_LENGTH(896)
- MDRV_VIDEO_START(argus)
- MDRV_VIDEO_RESET(argus)
- MDRV_VIDEO_UPDATE(argus)
+ MCFG_VIDEO_START(argus)
+ MCFG_VIDEO_RESET(argus)
+ MCFG_VIDEO_UPDATE(argus)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
#if 0
- MDRV_SOUND_ADD("ym1", YM2203, 6000000 / 4)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
+ MCFG_SOUND_ADD("ym1", YM2203, 6000000 / 4)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
#else
- MDRV_SOUND_ADD("ym1", YM2203, 6000000 / 4)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
-
- MDRV_SOUND_ADD("ym2", YM2203, 6000000 / 4)
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
+ MCFG_SOUND_ADD("ym1", YM2203, 6000000 / 4)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
+
+ MCFG_SOUND_ADD("ym2", YM2203, 6000000 / 4)
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
#endif
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( valtric, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, 5000000) /* 5 MHz */
- MDRV_CPU_PROGRAM_MAP(valtric_map)
- MDRV_CPU_VBLANK_INT_HACK(argus_interrupt,2)
+ MCFG_CPU_ADD("maincpu", Z80, 5000000) /* 5 MHz */
+ MCFG_CPU_PROGRAM_MAP(valtric_map)
+ MCFG_CPU_VBLANK_INT_HACK(argus_interrupt,2)
- MDRV_CPU_ADD("audiocpu", Z80, 5000000)
- MDRV_CPU_PROGRAM_MAP(sound_map_a)
- MDRV_CPU_IO_MAP(sound_portmap_2)
+ MCFG_CPU_ADD("audiocpu", Z80, 5000000)
+ MCFG_CPU_PROGRAM_MAP(sound_map_a)
+ MCFG_CPU_IO_MAP(sound_portmap_2)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(54)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is refered to psychic5 driver */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(32*16, 32*16)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(54)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is refered to psychic5 driver */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(32*16, 32*16)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(valtric)
- MDRV_PALETTE_LENGTH(768)
+ MCFG_GFXDECODE(valtric)
+ MCFG_PALETTE_LENGTH(768)
- MDRV_VIDEO_START(valtric)
- MDRV_VIDEO_RESET(valtric)
- MDRV_VIDEO_UPDATE(valtric)
+ MCFG_VIDEO_START(valtric)
+ MCFG_VIDEO_RESET(valtric)
+ MCFG_VIDEO_UPDATE(valtric)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("ym1", YM2203, 6000000 / 4)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
-
- MDRV_SOUND_ADD("ym2", YM2203, 6000000 / 4)
- MDRV_SOUND_ROUTE(0, "mono", 0.15)
- MDRV_SOUND_ROUTE(1, "mono", 0.15)
- MDRV_SOUND_ROUTE(2, "mono", 0.15)
- MDRV_SOUND_ROUTE(3, "mono", 0.50)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("ym1", YM2203, 6000000 / 4)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
+
+ MCFG_SOUND_ADD("ym2", YM2203, 6000000 / 4)
+ MCFG_SOUND_ROUTE(0, "mono", 0.15)
+ MCFG_SOUND_ROUTE(1, "mono", 0.15)
+ MCFG_SOUND_ROUTE(2, "mono", 0.15)
+ MCFG_SOUND_ROUTE(3, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( butasan, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, 5000000) /* 5 MHz */
- MDRV_CPU_PROGRAM_MAP(butasan_map)
- MDRV_CPU_VBLANK_INT_HACK(argus_interrupt,2)
+ MCFG_CPU_ADD("maincpu", Z80, 5000000) /* 5 MHz */
+ MCFG_CPU_PROGRAM_MAP(butasan_map)
+ MCFG_CPU_VBLANK_INT_HACK(argus_interrupt,2)
- MDRV_CPU_ADD("audiocpu", Z80, 5000000)
- MDRV_CPU_PROGRAM_MAP(sound_map_b)
- MDRV_CPU_IO_MAP(sound_portmap_2)
+ MCFG_CPU_ADD("audiocpu", Z80, 5000000)
+ MCFG_CPU_PROGRAM_MAP(sound_map_b)
+ MCFG_CPU_IO_MAP(sound_portmap_2)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(54)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is taken from psychic5 driver */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(32*16, 32*16)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(54)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is taken from psychic5 driver */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(32*16, 32*16)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MDRV_GFXDECODE(butasan)
- MDRV_PALETTE_LENGTH(768)
+ MCFG_GFXDECODE(butasan)
+ MCFG_PALETTE_LENGTH(768)
- MDRV_VIDEO_START(butasan)
- MDRV_VIDEO_RESET(butasan)
- MDRV_VIDEO_UPDATE(butasan)
+ MCFG_VIDEO_START(butasan)
+ MCFG_VIDEO_RESET(butasan)
+ MCFG_VIDEO_UPDATE(butasan)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("ym1", YM2203, 6000000 / 4)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.30)
- MDRV_SOUND_ROUTE(1, "mono", 0.30)
- MDRV_SOUND_ROUTE(2, "mono", 0.30)
- MDRV_SOUND_ROUTE(3, "mono", 1.0)
-
- MDRV_SOUND_ADD("ym2", YM2203, 6000000 / 4)
- MDRV_SOUND_ROUTE(0, "mono", 0.30)
- MDRV_SOUND_ROUTE(1, "mono", 0.30)
- MDRV_SOUND_ROUTE(2, "mono", 0.30)
- MDRV_SOUND_ROUTE(3, "mono", 1.0)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("ym1", YM2203, 6000000 / 4)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.30)
+ MCFG_SOUND_ROUTE(1, "mono", 0.30)
+ MCFG_SOUND_ROUTE(2, "mono", 0.30)
+ MCFG_SOUND_ROUTE(3, "mono", 1.0)
+
+ MCFG_SOUND_ADD("ym2", YM2203, 6000000 / 4)
+ MCFG_SOUND_ROUTE(0, "mono", 0.30)
+ MCFG_SOUND_ROUTE(1, "mono", 0.30)
+ MCFG_SOUND_ROUTE(2, "mono", 0.30)
+ MCFG_SOUND_ROUTE(3, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aristmk4.c b/src/mame/drivers/aristmk4.c
index b996ee363a9..743468d393c 100644
--- a/src/mame/drivers/aristmk4.c
+++ b/src/mame/drivers/aristmk4.c
@@ -1199,48 +1199,48 @@ static MACHINE_RESET( aristmk4 )
static MACHINE_CONFIG_START( aristmk4, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809, MAIN_CLOCK/8) // 1.5mhz (goldenc needs a bit faster for some reason)
- MDRV_CPU_PROGRAM_MAP(aristmk4_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_START(aristmk4)
- MDRV_MACHINE_RESET(aristmk4 )
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_CPU_ADD("maincpu", M6809, MAIN_CLOCK/8) // 1.5mhz (goldenc needs a bit faster for some reason)
+ MCFG_CPU_PROGRAM_MAP(aristmk4_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_MACHINE_START(aristmk4)
+ MCFG_MACHINE_RESET(aristmk4 )
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(320, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 304-1, 0, 216-1) /* from the crtc registers... updated by crtc */
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(320, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 304-1, 0, 216-1) /* from the crtc registers... updated by crtc */
- MDRV_GFXDECODE(aristmk4)
- MDRV_PALETTE_LENGTH(512)
- MDRV_PALETTE_INIT(aristmk4)
+ MCFG_GFXDECODE(aristmk4)
+ MCFG_PALETTE_LENGTH(512)
+ MCFG_PALETTE_INIT(aristmk4)
- MDRV_VIDEO_START(aristmk4)
- MDRV_VIDEO_UPDATE(aristmk4)
+ MCFG_VIDEO_START(aristmk4)
+ MCFG_VIDEO_UPDATE(aristmk4)
- MDRV_PPI8255_ADD( "ppi8255_0", ppi8255_intf1 )
- MDRV_VIA6522_ADD("via6522_0", 0, via_interface) /* 1 MHz.(only 1 or 2 MHz.are valid) */
- MDRV_PIA6821_ADD("pia6821_0", aristmk4_pia1_intf)
- MDRV_MC6845_ADD("crtc", MC6845, MAIN_CLOCK/8, mc6845_intf)
- MDRV_MC146818_ADD("rtc", MC146818_IGNORE_CENTURY)
+ MCFG_PPI8255_ADD( "ppi8255_0", ppi8255_intf1 )
+ MCFG_VIA6522_ADD("via6522_0", 0, via_interface) /* 1 MHz.(only 1 or 2 MHz.are valid) */
+ MCFG_PIA6821_ADD("pia6821_0", aristmk4_pia1_intf)
+ MCFG_MC6845_ADD("crtc", MC6845, MAIN_CLOCK/8, mc6845_intf)
+ MCFG_MC146818_ADD("rtc", MC146818_IGNORE_CENTURY)
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
// the Mark IV has X 2 AY8910 sound chips which are tied to the VIA
- MDRV_SOUND_ADD("ay1", AY8910 , MAIN_CLOCK/8)
- MDRV_SOUND_CONFIG(ay8910_config1)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("ay1", AY8910 , MAIN_CLOCK/8)
+ MCFG_SOUND_CONFIG(ay8910_config1)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("ay2", AY8910 , MAIN_CLOCK/8)
- MDRV_SOUND_CONFIG(ay8910_config2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("ay2", AY8910 , MAIN_CLOCK/8)
+ MCFG_SOUND_CONFIG(ay8910_config2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(meter_samples_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.05)
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(meter_samples_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.05)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aristmk5.c b/src/mame/drivers/aristmk5.c
index 793e3c40973..dd1479ebb90 100644
--- a/src/mame/drivers/aristmk5.c
+++ b/src/mame/drivers/aristmk5.c
@@ -274,50 +274,50 @@ static const i2cmem_interface i2cmem_interface =
#endif
static MACHINE_CONFIG_START( aristmk5, driver_device )
- MDRV_CPU_ADD("maincpu", ARM, 10000000) // ?
- MDRV_CPU_PROGRAM_MAP(aristmk5_map)
+ MCFG_CPU_ADD("maincpu", ARM, 10000000) // ?
+ MCFG_CPU_PROGRAM_MAP(aristmk5_map)
- MDRV_MACHINE_START( aristmk5 )
- MDRV_MACHINE_RESET( aristmk5 )
+ MCFG_MACHINE_START( aristmk5 )
+ MCFG_MACHINE_RESET( aristmk5 )
-// MDRV_I2CMEM_ADD("i2cmem",i2cmem_interface)
+// MCFG_I2CMEM_ADD("i2cmem",i2cmem_interface)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(1280, 1024) //TODO: proper max size?
- MDRV_SCREEN_VISIBLE_AREA(0, 1280-1, 0, 1024-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(1280, 1024) //TODO: proper max size?
+ MCFG_SCREEN_VISIBLE_AREA(0, 1280-1, 0, 1024-1)
- MDRV_PALETTE_LENGTH(0x200)
+ MCFG_PALETTE_LENGTH(0x200)
- MDRV_VIDEO_START(archimds_vidc)
- MDRV_VIDEO_UPDATE(archimds_vidc)
+ MCFG_VIDEO_START(archimds_vidc)
+ MCFG_VIDEO_UPDATE(archimds_vidc)
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("dac0", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("dac0", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac3", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac3", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac4", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac4", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac5", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac5", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac6", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac6", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
- MDRV_SOUND_ADD("dac7", DAC, 0)
- MDRV_SOUND_ROUTE(0, "mono", 0.10)
+ MCFG_SOUND_ADD("dac7", DAC, 0)
+ MCFG_SOUND_ROUTE(0, "mono", 0.10)
MACHINE_CONFIG_END
#define ARISTOCRAT_MK5_BIOS \
diff --git a/src/mame/drivers/arkanoid.c b/src/mame/drivers/arkanoid.c
index e919c80c069..7c87cc6b1d1 100644
--- a/src/mame/drivers/arkanoid.c
+++ b/src/mame/drivers/arkanoid.c
@@ -960,81 +960,81 @@ static MACHINE_RESET( arkanoid )
static MACHINE_CONFIG_START( arkanoid, arkanoid_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, XTAL_12MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(arkanoid_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(arkanoid_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("mcu", M68705, XTAL_12MHz/4) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(mcu_map)
+ MCFG_CPU_ADD("mcu", M68705, XTAL_12MHz/4) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(mcu_map)
- MDRV_QUANTUM_TIME(HZ(6000)) // 100 CPU slices per second to synchronize between the MCU and the main CPU
+ MCFG_QUANTUM_TIME(HZ(6000)) // 100 CPU slices per second to synchronize between the MCU and the main CPU
- MDRV_MACHINE_START(arkanoid)
- MDRV_MACHINE_RESET(arkanoid)
+ MCFG_MACHINE_START(arkanoid)
+ MCFG_MACHINE_RESET(arkanoid)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(arkanoid)
- MDRV_PALETTE_LENGTH(512)
-
- MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
- MDRV_VIDEO_START(arkanoid)
- MDRV_VIDEO_UPDATE(arkanoid)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(arkanoid)
+ MCFG_PALETTE_LENGTH(512)
+
+ MCFG_PALETTE_INIT(RRRR_GGGG_BBBB)
+ MCFG_VIDEO_START(arkanoid)
+ MCFG_VIDEO_UPDATE(arkanoid)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", YM2149, XTAL_12MHz/4/2) /* YM2149 clock is 3mhz, pin 26 is low so 3mhz/2 */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
+ MCFG_SOUND_ADD("aysnd", YM2149, XTAL_12MHz/4/2) /* YM2149 clock is 3mhz, pin 26 is low so 3mhz/2 */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( hexa, arkanoid_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, XTAL_12MHz/2) /* Imported from arkanoid - correct? */
- MDRV_CPU_PROGRAM_MAP(hexa_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/2) /* Imported from arkanoid - correct? */
+ MCFG_CPU_PROGRAM_MAP(hexa_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_START(arkanoid)
- MDRV_MACHINE_RESET(arkanoid)
+ MCFG_MACHINE_START(arkanoid)
+ MCFG_MACHINE_RESET(arkanoid)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(hexa)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_GFXDECODE(hexa)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
- MDRV_VIDEO_START(arkanoid)
- MDRV_VIDEO_UPDATE(hexa)
+ MCFG_PALETTE_INIT(RRRR_GGGG_BBBB)
+ MCFG_VIDEO_START(arkanoid)
+ MCFG_VIDEO_UPDATE(hexa)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, XTAL_12MHz/4/2) /* Imported from arkanoid - correct? */
- MDRV_SOUND_CONFIG(hexa_ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, XTAL_12MHz/4/2) /* Imported from arkanoid - correct? */
+ MCFG_SOUND_CONFIG(hexa_ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( bootleg, arkanoid )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(bootleg_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(bootleg_map)
- MDRV_DEVICE_REMOVE("mcu")
+ MCFG_DEVICE_REMOVE("mcu")
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/armedf.c b/src/mame/drivers/armedf.c
index 81da104b6eb..6974bce66a6 100644
--- a/src/mame/drivers/armedf.c
+++ b/src/mame/drivers/armedf.c
@@ -794,314 +794,314 @@ static MACHINE_RESET( armedf )
static MACHINE_CONFIG_START( terraf, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(terraf_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(terraf_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(57)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(57)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( terrafb, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(terrafb_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(terrafb_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_CPU_ADD("extra", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(terrafb_extraz80_map)
- MDRV_CPU_IO_MAP(terrafb_extraz80_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("extra", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(terrafb_extraz80_map)
+ MCFG_CPU_IO_MAP(terrafb_extraz80_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(57)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(57)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( kodure, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(kodure_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(kodure_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( armedf, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(armedf_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(armedf_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(57)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(57)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( cclimbr2, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(cclimbr2_map)
- MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(cclimbr2_map)
+ MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(cclimbr2_soundmap)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(cclimbr2_soundmap)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( legion, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(legion_map)
- MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(legion_map)
+ MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(cclimbr2_soundmap)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(cclimbr2_soundmap)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( legiono, armedf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(legiono_map)
- MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(legiono_map)
+ MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(cclimbr2_soundmap)
- MDRV_CPU_IO_MAP(sound_portmap)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(cclimbr2_soundmap)
+ MCFG_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(armedf)
- MDRV_MACHINE_RESET(armedf)
+ MCFG_MACHINE_START(armedf)
+ MCFG_MACHINE_RESET(armedf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_GFXDECODE(armedf)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_GFXDECODE(armedf)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(armedf)
- MDRV_VIDEO_START(armedf)
- MDRV_VIDEO_UPDATE(armedf)
+ MCFG_VIDEO_EOF(armedf)
+ MCFG_VIDEO_START(armedf)
+ MCFG_VIDEO_UPDATE(armedf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/artmagic.c b/src/mame/drivers/artmagic.c
index 5c6f5910572..21979ee71a3 100644
--- a/src/mame/drivers/artmagic.c
+++ b/src/mame/drivers/artmagic.c
@@ -843,68 +843,68 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( artmagic, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, MASTER_CLOCK_25MHz/2)
- MDRV_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_ADD("maincpu", M68000, MASTER_CLOCK_25MHz/2)
+ MCFG_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_ADD("tms", TMS34010, MASTER_CLOCK_40MHz)
- MDRV_CPU_CONFIG(tms_config)
- MDRV_CPU_PROGRAM_MAP(tms_map)
+ MCFG_CPU_ADD("tms", TMS34010, MASTER_CLOCK_40MHz)
+ MCFG_CPU_CONFIG(tms_config)
+ MCFG_CPU_PROGRAM_MAP(tms_map)
- MDRV_MACHINE_START(artmagic)
- MDRV_MACHINE_RESET(artmagic)
- MDRV_QUANTUM_TIME(HZ(6000))
- MDRV_NVRAM_ADD_1FILL("nvram")
+ MCFG_MACHINE_START(artmagic)
+ MCFG_MACHINE_RESET(artmagic)
+ MCFG_QUANTUM_TIME(HZ(6000))
+ MCFG_NVRAM_ADD_1FILL("nvram")
/* video hardware */
- MDRV_TLC34076_ADD("tlc34076", TLC34076_6_BIT)
+ MCFG_TLC34076_ADD("tlc34076", TLC34076_6_BIT)
- MDRV_VIDEO_START(artmagic)
- MDRV_VIDEO_UPDATE(tms340x0)
+ MCFG_VIDEO_START(artmagic)
+ MCFG_VIDEO_UPDATE(tms340x0)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_RAW_PARAMS(MASTER_CLOCK_40MHz/6, 428, 0, 320, 313, 0, 256)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK_40MHz/6, 428, 0, 320, 313, 0, 256)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", MASTER_CLOCK_40MHz/3/10, OKIM6295_PIN7_LOW)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
+ MCFG_OKIM6295_ADD("oki", MASTER_CLOCK_40MHz/3/10, OKIM6295_PIN7_LOW)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.65)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( cheesech, artmagic )
- MDRV_SOUND_MODIFY("oki")
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_MODIFY("oki")
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( stonebal, artmagic )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(stonebal_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(stonebal_map)
- MDRV_CPU_MODIFY("tms")
- MDRV_CPU_PROGRAM_MAP(stonebal_tms_map)
+ MCFG_CPU_MODIFY("tms")
+ MCFG_CPU_PROGRAM_MAP(stonebal_tms_map)
- MDRV_SOUND_MODIFY("oki")
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45)
+ MCFG_SOUND_MODIFY("oki")
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( shtstar, artmagic )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(shtstar_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(shtstar_map)
/* sub cpu*/
- MDRV_CPU_ADD("subcpu", M68000, MASTER_CLOCK_25MHz/2)
- MDRV_CPU_PROGRAM_MAP(shtstar_subcpu_map)
+ MCFG_CPU_ADD("subcpu", M68000, MASTER_CLOCK_25MHz/2)
+ MCFG_CPU_PROGRAM_MAP(shtstar_subcpu_map)
/*gun board cpu*/
- MDRV_CPU_ADD("guncpu", I80C31, 6000000)
- MDRV_CPU_IO_MAP(shtstar_guncpu_io_map)
- MDRV_CPU_PROGRAM_MAP(shtstar_guncpu_map)
+ MCFG_CPU_ADD("guncpu", I80C31, 6000000)
+ MCFG_CPU_IO_MAP(shtstar_guncpu_io_map)
+ MCFG_CPU_PROGRAM_MAP(shtstar_guncpu_map)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ashnojoe.c b/src/mame/drivers/ashnojoe.c
index 190b1fa89c8..144a3c8e723 100644
--- a/src/mame/drivers/ashnojoe.c
+++ b/src/mame/drivers/ashnojoe.c
@@ -354,41 +354,41 @@ static MACHINE_RESET( ashnojoe )
static MACHINE_CONFIG_START( ashnojoe, ashnojoe_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(ashnojoe_map)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(ashnojoe_map)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 4000000)
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
- MDRV_MACHINE_START(ashnojoe)
- MDRV_MACHINE_RESET(ashnojoe)
+ MCFG_MACHINE_START(ashnojoe)
+ MCFG_MACHINE_RESET(ashnojoe)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512, 512)
- MDRV_SCREEN_VISIBLE_AREA(14*8, 50*8-1, 3*8, 29*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(512, 512)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, 50*8-1, 3*8, 29*8-1)
- MDRV_GFXDECODE(ashnojoe)
- MDRV_PALETTE_LENGTH(0x1000/2)
+ MCFG_GFXDECODE(ashnojoe)
+ MCFG_PALETTE_LENGTH(0x1000/2)
- MDRV_VIDEO_START(ashnojoe)
- MDRV_VIDEO_UPDATE(ashnojoe)
+ MCFG_VIDEO_START(ashnojoe)
+ MCFG_VIDEO_UPDATE(ashnojoe)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2203, 4000000)
- MDRV_SOUND_CONFIG(ym2203_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
+ MCFG_SOUND_ADD("ymsnd", YM2203, 4000000)
+ MCFG_SOUND_CONFIG(ym2203_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
- MDRV_SOUND_ADD("msm", MSM5205, 384000)
- MDRV_SOUND_CONFIG(msm5205_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("msm", MSM5205, 384000)
+ MCFG_SOUND_CONFIG(msm5205_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
ROM_START( scessjoe )
diff --git a/src/mame/drivers/asterix.c b/src/mame/drivers/asterix.c
index 2b943951978..81822c4d092 100644
--- a/src/mame/drivers/asterix.c
+++ b/src/mame/drivers/asterix.c
@@ -297,45 +297,45 @@ static MACHINE_RESET( asterix )
static MACHINE_CONFIG_START( asterix, asterix_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 12000000)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", asterix_interrupt)
+ MCFG_CPU_ADD("maincpu", M68000, 12000000)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", asterix_interrupt)
- MDRV_CPU_ADD("audiocpu", Z80, 8000000)
- MDRV_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 8000000)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
- MDRV_MACHINE_START(asterix)
- MDRV_MACHINE_RESET(asterix)
+ MCFG_MACHINE_START(asterix)
+ MCFG_MACHINE_RESET(asterix)
- MDRV_EEPROM_ADD("eeprom", eeprom_intf)
+ MCFG_EEPROM_ADD("eeprom", eeprom_intf)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_UPDATE(asterix)
+ MCFG_VIDEO_UPDATE(asterix)
- MDRV_K056832_ADD("k056832", asterix_k056832_intf)
- MDRV_K053244_ADD("k053244", asterix_k05324x_intf)
- MDRV_K053251_ADD("k053251")
+ MCFG_K056832_ADD("k056832", asterix_k056832_intf)
+ MCFG_K053244_ADD("k053244", asterix_k05324x_intf)
+ MCFG_K053251_ADD("k053251")
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM2151, 4000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 4000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
- MDRV_SOUND_ADD("k053260", K053260, 4000000)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.75)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.75)
+ MCFG_SOUND_ADD("k053260", K053260, 4000000)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.75)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.75)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/asteroid.c b/src/mame/drivers/asteroid.c
index 094d21450b5..42369ba1d9e 100644
--- a/src/mame/drivers/asteroid.c
+++ b/src/mame/drivers/asteroid.c
@@ -612,75 +612,75 @@ static const pokey_interface pokey_config =
static MACHINE_CONFIG_START( asteroid, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502, MASTER_CLOCK/8)
- MDRV_CPU_PROGRAM_MAP(asteroid_map)
- MDRV_CPU_PERIODIC_INT(asteroid_interrupt, (double)MASTER_CLOCK/4096/12)
+ MCFG_CPU_ADD("maincpu", M6502, MASTER_CLOCK/8)
+ MCFG_CPU_PROGRAM_MAP(asteroid_map)
+ MCFG_CPU_PERIODIC_INT(asteroid_interrupt, (double)MASTER_CLOCK/4096/12)
- MDRV_MACHINE_RESET(asteroid)
+ MCFG_MACHINE_RESET(asteroid)
/* video hardware */
- MDRV_SCREEN_ADD("screen", VECTOR)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_SIZE(400,300)
- MDRV_SCREEN_VISIBLE_AREA(522, 1566, 394, 1182)
+ MCFG_SCREEN_ADD("screen", VECTOR)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_SIZE(400,300)
+ MCFG_SCREEN_VISIBLE_AREA(522, 1566, 394, 1182)
- MDRV_VIDEO_START(dvg)
- MDRV_VIDEO_UPDATE(vector)
+ MCFG_VIDEO_START(dvg)
+ MCFG_VIDEO_UPDATE(vector)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(asteroid)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.4)
+ MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(asteroid)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.4)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( asterock, asteroid )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PERIODIC_INT(asterock_interrupt, (double)MASTER_CLOCK/4096/12)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PERIODIC_INT(asterock_interrupt, (double)MASTER_CLOCK/4096/12)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( astdelux, asteroid )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(astdelux_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(astdelux_map)
- MDRV_ATARIVGEAROM_ADD("earom")
+ MCFG_ATARIVGEAROM_ADD("earom")
/* sound hardware */
- MDRV_SOUND_REPLACE("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(astdelux)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(astdelux)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("pokey", POKEY, MASTER_CLOCK/8)
- MDRV_SOUND_CONFIG(pokey_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("pokey", POKEY, MASTER_CLOCK/8)
+ MCFG_SOUND_CONFIG(pokey_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( llander, asteroid )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(llander_map)
- MDRV_CPU_PERIODIC_INT(llander_interrupt, (double)MASTER_CLOCK/4096/12)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(llander_map)
+ MCFG_CPU_PERIODIC_INT(llander_interrupt, (double)MASTER_CLOCK/4096/12)
- MDRV_MACHINE_RESET(avgdvg)
+ MCFG_MACHINE_RESET(avgdvg)
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_REFRESH_RATE(40)
- MDRV_SCREEN_VISIBLE_AREA(522, 1566, 270, 1070)
- MDRV_VIDEO_START(dvg)
- MDRV_VIDEO_UPDATE(vector)
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_REFRESH_RATE(40)
+ MCFG_SCREEN_VISIBLE_AREA(522, 1566, 270, 1070)
+ MCFG_VIDEO_START(dvg)
+ MCFG_VIDEO_UPDATE(vector)
/* sound hardware */
- MDRV_SOUND_REPLACE("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(llander)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(llander)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/astinvad.c b/src/mame/drivers/astinvad.c
index bc27811fd1d..cf095cde7a7 100644
--- a/src/mame/drivers/astinvad.c
+++ b/src/mame/drivers/astinvad.c
@@ -587,67 +587,67 @@ static const samples_interface astinvad_samples_interface =
static MACHINE_CONFIG_START( kamikaze, astinvad_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK)
- MDRV_CPU_PROGRAM_MAP(kamikaze_map)
- MDRV_CPU_IO_MAP(kamikaze_portmap)
+ MCFG_CPU_ADD("maincpu", Z80, MASTER_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(kamikaze_map)
+ MCFG_CPU_IO_MAP(kamikaze_portmap)
- MDRV_MACHINE_START(kamikaze)
- MDRV_MACHINE_RESET(kamikaze)
+ MCFG_MACHINE_START(kamikaze)
+ MCFG_MACHINE_RESET(kamikaze)
- MDRV_PPI8255_ADD( "ppi8255_0", ppi8255_intf[0] )
- MDRV_PPI8255_ADD( "ppi8255_1", ppi8255_intf[1] )
+ MCFG_PPI8255_ADD( "ppi8255_0", ppi8255_intf[0] )
+ MCFG_PPI8255_ADD( "ppi8255_1", ppi8255_intf[1] )
/* video hardware */
- MDRV_VIDEO_UPDATE(astinvad)
+ MCFG_VIDEO_UPDATE(astinvad)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_RAW_PARAMS(VIDEO_CLOCK, 320, 0, 256, 256, 32, 256)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_RAW_PARAMS(VIDEO_CLOCK, 320, 0, 256, 256, 32, 256)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(astinvad_samples_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(astinvad_samples_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( spcking2, kamikaze )
/* basic machine hardware */
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_RAW_PARAMS(VIDEO_CLOCK, 320, 0, 256, 256, 16, 240)
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_RAW_PARAMS(VIDEO_CLOCK, 320, 0, 256, 256, 16, 240)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( spaceint, astinvad_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK) /* a guess */
- MDRV_CPU_PROGRAM_MAP(spaceint_map)
- MDRV_CPU_IO_MAP(spaceint_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, MASTER_CLOCK) /* a guess */
+ MCFG_CPU_PROGRAM_MAP(spaceint_map)
+ MCFG_CPU_IO_MAP(spaceint_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_START(spaceint)
- MDRV_MACHINE_RESET(spaceint)
+ MCFG_MACHINE_START(spaceint)
+ MCFG_MACHINE_RESET(spaceint)
/* video hardware */
- MDRV_VIDEO_START(spaceint)
- MDRV_VIDEO_UPDATE(spaceint)
+ MCFG_VIDEO_START(spaceint)
+ MCFG_VIDEO_UPDATE(spaceint)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MDRV_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
+ MCFG_SCREEN_REFRESH_RATE(60)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(astinvad_samples_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(astinvad_samples_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/astrocde.c b/src/mame/drivers/astrocde.c
index 06383d74a2f..4385a46cd7b 100644
--- a/src/mame/drivers/astrocde.c
+++ b/src/mame/drivers/astrocde.c
@@ -1274,59 +1274,59 @@ static const z80_daisy_config tenpin_daisy_chain[] =
static MACHINE_CONFIG_START( astrocade_base, astrocde_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, ASTROCADE_CLOCK/4)
+ MCFG_CPU_ADD("maincpu", Z80, ASTROCADE_CLOCK/4)
/* each game has its own map */
- MDRV_MACHINE_START(astrocde)
+ MCFG_MACHINE_START(astrocde)
/* video hardware */
- MDRV_PALETTE_LENGTH(512)
+ MCFG_PALETTE_LENGTH(512)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_RAW_PARAMS(ASTROCADE_CLOCK, 455, 0, 352, 262, 0, 240)
- MDRV_SCREEN_DEFAULT_POSITION(1.1, 0.0, 1.18, -0.018) /* clip out borders */
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_RAW_PARAMS(ASTROCADE_CLOCK, 455, 0, 352, 262, 0, 240)
+ MCFG_SCREEN_DEFAULT_POSITION(1.1, 0.0, 1.18, -0.018) /* clip out borders */
- MDRV_PALETTE_INIT(astrocde)
- MDRV_VIDEO_START(astrocde)
- MDRV_VIDEO_UPDATE(astrocde)
+ MCFG_PALETTE_INIT(astrocde)
+ MCFG_VIDEO_START(astrocde)
+ MCFG_VIDEO_UPDATE(astrocde)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( astrocade_16color_base, astrocade_base )
/* basic machine hardware */
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_PALETTE_LENGTH(4096)
+ MCFG_PALETTE_LENGTH(4096)
- MDRV_PALETTE_INIT(profpac)
- MDRV_VIDEO_START(profpac)
- MDRV_VIDEO_UPDATE(profpac)
+ MCFG_PALETTE_INIT(profpac)
+ MCFG_VIDEO_START(profpac)
+ MCFG_VIDEO_UPDATE(profpac)
MACHINE_CONFIG_END
static MACHINE_CONFIG_FRAGMENT( astrocade_mono_sound )
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_FRAGMENT( astrocade_stereo_sound )
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ADD("astrocade2", ASTROCADE, ASTROCADE_CLOCK/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("astrocade2", ASTROCADE, ASTROCADE_CLOCK/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MACHINE_CONFIG_END
@@ -1340,147 +1340,147 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( seawolf2, astrocade_base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(seawolf2_map)
- MDRV_CPU_IO_MAP(port_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(seawolf2_map)
+ MCFG_CPU_IO_MAP(port_map)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(seawolf2_samples_interface)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(1, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(2, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(3, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(4, "lspeaker", 0.25)
- MDRV_SOUND_ROUTE(5, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(6, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(7, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(8, "rspeaker", 0.25)
- MDRV_SOUND_ROUTE(9, "rspeaker", 0.25)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(seawolf2_samples_interface)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(2, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(3, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(4, "lspeaker", 0.25)
+ MCFG_SOUND_ROUTE(5, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(6, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(7, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(8, "rspeaker", 0.25)
+ MCFG_SOUND_ROUTE(9, "rspeaker", 0.25)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( ebases, astrocade_base )
- MDRV_FRAGMENT_ADD(astrocade_mono_sound)
+ MCFG_FRAGMENT_ADD(astrocade_mono_sound)
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(ebases_map)
- MDRV_CPU_IO_MAP(port_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(ebases_map)
+ MCFG_CPU_IO_MAP(port_map)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( spacezap, astrocade_base )
- MDRV_FRAGMENT_ADD(astrocade_mono_sound)
+ MCFG_FRAGMENT_ADD(astrocade_mono_sound)
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(spacezap_map)
- MDRV_CPU_IO_MAP(port_map_mono_pattern)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(spacezap_map)
+ MCFG_CPU_IO_MAP(port_map_mono_pattern)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( wow, astrocade_base )
- MDRV_FRAGMENT_ADD(astrocade_stereo_sound)
+ MCFG_FRAGMENT_ADD(astrocade_stereo_sound)
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(wow_map)
- MDRV_CPU_IO_MAP(port_map_stereo_pattern)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(wow_map)
+ MCFG_CPU_IO_MAP(port_map_stereo_pattern)
/* video hardware */
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_DEFAULT_POSITION(1.0, 0.0, 1.0, 0.0) /* adjusted to match screenshots */
-// MDRV_SCREEN_DEFAULT_POSITION(1.066, -0.004, 1.048, -0.026) /* adjusted to match flyer */
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_DEFAULT_POSITION(1.0, 0.0, 1.0, 0.0) /* adjusted to match screenshots */
+// MCFG_SCREEN_DEFAULT_POSITION(1.066, -0.004, 1.048, -0.026) /* adjusted to match flyer */
/* sound hardware */
- MDRV_SPEAKER_ADD("center", 0.0, 0.0, 1.0)
+ MCFG_SPEAKER_ADD("center", 0.0, 0.0, 1.0)
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(wow_samples_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "center", 0.85)
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(wow_samples_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "center", 0.85)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( gorf, astrocade_base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(wow_map)
- MDRV_CPU_IO_MAP(port_map_stereo_pattern)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(wow_map)
+ MCFG_CPU_IO_MAP(port_map_stereo_pattern)
/* video hardware */
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_DEFAULT_POSITION(1.0, 0.0, 1.0, 0.0) /* adjusted to match flyer */
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_DEFAULT_POSITION(1.0, 0.0, 1.0, 0.0) /* adjusted to match flyer */
/* sound hardware */
- MDRV_SPEAKER_ADD("upper", 0.0, 0.0, 1.0)
- MDRV_SPEAKER_ADD("lower", 0.0, -0.5, 1.0)
+ MCFG_SPEAKER_ADD("upper", 0.0, 0.0, 1.0)
+ MCFG_SPEAKER_ADD("lower", 0.0, -0.5, 1.0)
- MDRV_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "upper", 1.0)
+ MCFG_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "upper", 1.0)
- MDRV_SOUND_ADD("astrocade2", ASTROCADE, ASTROCADE_CLOCK/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lower", 1.0)
+ MCFG_SOUND_ADD("astrocade2", ASTROCADE, ASTROCADE_CLOCK/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lower", 1.0)
- MDRV_SOUND_ADD("samples", SAMPLES, 0)
- MDRV_SOUND_CONFIG(gorf_samples_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "upper", 0.85)
+ MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_SOUND_CONFIG(gorf_samples_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "upper", 0.85)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( robby, astrocade_base )
- MDRV_FRAGMENT_ADD(astrocade_stereo_sound)
+ MCFG_FRAGMENT_ADD(astrocade_stereo_sound)
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(robby_map)
- MDRV_CPU_IO_MAP(port_map_stereo_pattern)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(robby_map)
+ MCFG_CPU_IO_MAP(port_map_stereo_pattern)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( profpac, astrocade_16color_base )
- MDRV_FRAGMENT_ADD(astrocade_stereo_sound)
+ MCFG_FRAGMENT_ADD(astrocade_stereo_sound)
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(profpac_map)
- MDRV_CPU_IO_MAP(port_map_16col_pattern)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(profpac_map)
+ MCFG_CPU_IO_MAP(port_map_16col_pattern)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( demndrgn, astrocade_16color_base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(demndrgn_map)
- MDRV_CPU_IO_MAP(port_map_16col_pattern_nosound)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(demndrgn_map)
+ MCFG_CPU_IO_MAP(port_map_16col_pattern_nosound)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( tenpindx, astrocade_16color_base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(profpac_map)
- MDRV_CPU_IO_MAP(port_map_16col_pattern_nosound)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(profpac_map)
+ MCFG_CPU_IO_MAP(port_map_16col_pattern_nosound)
- MDRV_CPU_ADD("sub", Z80, ASTROCADE_CLOCK/4) /* real clock unknown */
- MDRV_CPU_CONFIG(tenpin_daisy_chain)
- MDRV_CPU_PROGRAM_MAP(tenpin_sub_map)
- MDRV_CPU_IO_MAP(tenpin_sub_io_map)
+ MCFG_CPU_ADD("sub", Z80, ASTROCADE_CLOCK/4) /* real clock unknown */
+ MCFG_CPU_CONFIG(tenpin_daisy_chain)
+ MCFG_CPU_PROGRAM_MAP(tenpin_sub_map)
+ MCFG_CPU_IO_MAP(tenpin_sub_io_map)
- MDRV_Z80CTC_ADD("ctc", ASTROCADE_CLOCK/4 /* same as "sub" */, ctc_intf)
+ MCFG_Z80CTC_ADD("ctc", ASTROCADE_CLOCK/4 /* same as "sub" */, ctc_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8912, ASTROCADE_CLOCK/4) /* real clock unknown */
- MDRV_SOUND_CONFIG(ay8912_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8912, ASTROCADE_CLOCK/4) /* real clock unknown */
+ MCFG_SOUND_CONFIG(ay8912_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/astrocorp.c b/src/mame/drivers/astrocorp.c
index 2c1c80b06e6..ccf2b07e8bb 100644
--- a/src/mame/drivers/astrocorp.c
+++ b/src/mame/drivers/astrocorp.c
@@ -462,39 +462,39 @@ static const UINT16 showhand_default_eeprom[15] = {0x0001,0x0007,0x000a,0x0003,0
static MACHINE_CONFIG_START( showhand, astrocorp_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, XTAL_20MHz / 2)
- MDRV_CPU_PROGRAM_MAP(showhand_map)
- MDRV_CPU_VBLANK_INT("screen", irq4_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_20MHz / 2)
+ MCFG_CPU_PROGRAM_MAP(showhand_map)
+ MCFG_CPU_VBLANK_INT("screen", irq4_line_hold)
- MDRV_NVRAM_ADD_0FILL("nvram")
- MDRV_EEPROM_93C46_ADD("eeprom")
- MDRV_EEPROM_DATA(showhand_default_eeprom, sizeof(showhand_default_eeprom))
+ MCFG_NVRAM_ADD_0FILL("nvram")
+ MCFG_EEPROM_93C46_ADD("eeprom")
+ MCFG_EEPROM_DATA(showhand_default_eeprom, sizeof(showhand_default_eeprom))
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(58.846) // measured on pcb
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(320, 240)
- MDRV_SCREEN_VISIBLE_AREA(0, 320-1, 0, 240-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(58.846) // measured on pcb
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(320, 240)
+ MCFG_SCREEN_VISIBLE_AREA(0, 320-1, 0, 240-1)
- MDRV_GFXDECODE(astrocorp)
- MDRV_PALETTE_LENGTH(0x100)
+ MCFG_GFXDECODE(astrocorp)
+ MCFG_PALETTE_LENGTH(0x100)
- MDRV_VIDEO_START(astrocorp)
- MDRV_VIDEO_UPDATE(astrocorp)
+ MCFG_VIDEO_START(astrocorp)
+ MCFG_VIDEO_UPDATE(astrocorp)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", XTAL_20MHz/20, OKIM6295_PIN7_HIGH)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", XTAL_20MHz/20, OKIM6295_PIN7_HIGH)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( showhanc, showhand )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(showhanc_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(showhanc_map)
MACHINE_CONFIG_END
@@ -510,41 +510,41 @@ static INTERRUPT_GEN( skilldrp_irq )
static MACHINE_CONFIG_START( skilldrp, astrocorp_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, XTAL_24MHz / 2) // JX-1689F1028N GRX586.V5
- MDRV_CPU_PROGRAM_MAP(skilldrp_map)
- MDRV_CPU_VBLANK_INT_HACK(skilldrp_irq, 2)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz / 2) // JX-1689F1028N GRX586.V5
+ MCFG_CPU_PROGRAM_MAP(skilldrp_map)
+ MCFG_CPU_VBLANK_INT_HACK(skilldrp_irq, 2)
- MDRV_NVRAM_ADD_0FILL("nvram")
- MDRV_EEPROM_93C46_ADD("eeprom")
+ MCFG_NVRAM_ADD_0FILL("nvram")
+ MCFG_EEPROM_93C46_ADD("eeprom")
- MDRV_TICKET_DISPENSER_ADD("ticket", 200, TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW )
- MDRV_TICKET_DISPENSER_ADD("hopper", 200, TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW )
+ MCFG_TICKET_DISPENSER_ADD("ticket", 200, TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW )
+ MCFG_TICKET_DISPENSER_ADD("hopper", 200, TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW )
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(58.846)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(0x200, 0x100)
- MDRV_SCREEN_VISIBLE_AREA(0, 0x200-1, 0, 0xf0-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(58.846)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(0x200, 0x100)
+ MCFG_SCREEN_VISIBLE_AREA(0, 0x200-1, 0, 0xf0-1)
- MDRV_GFXDECODE(astrocorp)
- MDRV_PALETTE_LENGTH(0x100)
+ MCFG_GFXDECODE(astrocorp)
+ MCFG_PALETTE_LENGTH(0x100)
- MDRV_VIDEO_START(astrocorp)
- MDRV_VIDEO_UPDATE(astrocorp)
+ MCFG_VIDEO_START(astrocorp)
+ MCFG_VIDEO_UPDATE(astrocorp)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_OKIM6295_ADD("oki", XTAL_24MHz/24, OKIM6295_PIN7_HIGH)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_OKIM6295_ADD("oki", XTAL_24MHz/24, OKIM6295_PIN7_HIGH)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( speeddrp, skilldrp )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(speeddrp_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(speeddrp_map)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/astrof.c b/src/mame/drivers/astrof.c
index 129627f3cc8..08f200ae670 100644
--- a/src/mame/drivers/astrof.c
+++ b/src/mame/drivers/astrof.c
@@ -958,31 +958,31 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( base, astrof_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502, MAIN_CPU_CLOCK)
- MDRV_TIMER_ADD_SCANLINE("vblank", irq_callback, "screen", VBSTART, 0)
+ MCFG_CPU_ADD("maincpu", M6502, MAIN_CPU_CLOCK)
+ MCFG_TIMER_ADD_SCANLINE("vblank", irq_callback, "screen", VBSTART, 0)
/* video hardware */
- MDRV_VIDEO_START(astrof)
+ MCFG_VIDEO_START(astrof)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( astrof, base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(astrof_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(astrof_map)
- MDRV_MACHINE_START(astrof)
+ MCFG_MACHINE_START(astrof)
/* video hardware */
- MDRV_VIDEO_UPDATE(astrof)
+ MCFG_VIDEO_UPDATE(astrof)
/* audio hardware */
- MDRV_FRAGMENT_ADD(astrof_audio)
+ MCFG_FRAGMENT_ADD(astrof_audio)
MACHINE_CONFIG_END
@@ -990,40 +990,40 @@ static MACHINE_CONFIG_DERIVED( abattle, astrof )
/* basic machine hardware */
- MDRV_MACHINE_START(abattle)
- MDRV_MACHINE_RESET(abattle)
+ MCFG_MACHINE_START(abattle)
+ MCFG_MACHINE_RESET(abattle)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( spfghmk2, base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(spfghmk2_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(spfghmk2_map)
- MDRV_MACHINE_START(spfghmk2)
+ MCFG_MACHINE_START(spfghmk2)
/* video hardware */
- MDRV_VIDEO_UPDATE(astrof)
+ MCFG_VIDEO_UPDATE(astrof)
/* audio hardware */
- MDRV_FRAGMENT_ADD(spfghmk2_audio)
+ MCFG_FRAGMENT_ADD(spfghmk2_audio)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( tomahawk, base )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(tomahawk_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(tomahawk_map)
- MDRV_MACHINE_START(tomahawk)
+ MCFG_MACHINE_START(tomahawk)
/* video hardware */
- MDRV_VIDEO_UPDATE(tomahawk)
+ MCFG_VIDEO_UPDATE(tomahawk)
/* audio hardware */
- MDRV_FRAGMENT_ADD(tomahawk_audio)
+ MCFG_FRAGMENT_ADD(tomahawk_audio)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/asuka.c b/src/mame/drivers/asuka.c
index a1e9801826d..9f9a6fc8c32 100644
--- a/src/mame/drivers/asuka.c
+++ b/src/mame/drivers/asuka.c
@@ -895,282 +895,282 @@ static const tc0140syt_interface asuka_tc0140syt_intf =
static MACHINE_CONFIG_START( bonzeadv, asuka_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* checked on PCB */
- MDRV_CPU_PROGRAM_MAP(bonzeadv_map)
- MDRV_CPU_VBLANK_INT("screen", irq4_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* checked on PCB */
+ MCFG_CPU_PROGRAM_MAP(bonzeadv_map)
+ MCFG_CPU_VBLANK_INT("screen", irq4_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80,4000000) /* sound CPU, also required for test mode */
- MDRV_CPU_PROGRAM_MAP(bonzeadv_z80_map)
+ MCFG_CPU_ADD("audiocpu", Z80,4000000) /* sound CPU, also required for test mode */
+ MCFG_CPU_PROGRAM_MAP(bonzeadv_z80_map)
- MDRV_MACHINE_START(asuka)
- MDRV_MACHINE_RESET(asuka)
+ MCFG_MACHINE_START(asuka)
+ MCFG_MACHINE_RESET(asuka)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 3*8, 31*8-1)
- MDRV_GFXDECODE(asuka)
- MDRV_PALETTE_LENGTH(4096)
-
- MDRV_VIDEO_EOF(asuka)
- MDRV_VIDEO_UPDATE(bonzeadv)
-
- MDRV_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
- MDRV_TC0100SCN_ADD("tc0100scn", asuka_tc0100scn_intf)
- MDRV_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 3*8, 31*8-1)
+ MCFG_GFXDECODE(asuka)
+ MCFG_PALETTE_LENGTH(4096)
+
+ MCFG_VIDEO_EOF(asuka)
+ MCFG_VIDEO_UPDATE(bonzeadv)
+
+ MCFG_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
+ MCFG_TC0100SCN_ADD("tc0100scn", asuka_tc0100scn_intf)
+ MCFG_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2610, 8000000)
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.25)
- MDRV_SOUND_ROUTE(1, "mono", 1.0)
- MDRV_SOUND_ROUTE(2, "mono", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.25)
+ MCFG_SOUND_ROUTE(1, "mono", 1.0)
+ MCFG_SOUND_ROUTE(2, "mono", 1.0)
- MDRV_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
+ MCFG_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( asuka, asuka_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, XTAL_16MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(asuka_map)
- MDRV_CPU_VBLANK_INT("screen", irq5_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_16MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(asuka_map)
+ MCFG_CPU_VBLANK_INT("screen", irq5_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, XTAL_16MHz/4) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(z80_map)
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_16MHz/4) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(z80_map)
- MDRV_MACHINE_START(asuka)
- MDRV_MACHINE_RESET(asuka)
+ MCFG_MACHINE_START(asuka)
+ MCFG_MACHINE_RESET(asuka)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
+ MCFG_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(asuka)
- MDRV_PALETTE_LENGTH(4096)
-
- MDRV_VIDEO_EOF(asuka)
- MDRV_VIDEO_UPDATE(asuka)
-
- MDRV_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
- MDRV_TC0100SCN_ADD("tc0100scn", asuka_tc0100scn_intf)
- MDRV_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(asuka)
+ MCFG_PALETTE_LENGTH(4096)
+
+ MCFG_VIDEO_EOF(asuka)
+ MCFG_VIDEO_UPDATE(asuka)
+
+ MCFG_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
+ MCFG_TC0100SCN_ADD("tc0100scn", asuka_tc0100scn_intf)
+ MCFG_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, XTAL_16MHz/4) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.50)
- MDRV_SOUND_ROUTE(1, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM2151, XTAL_16MHz/4) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.50)
+ MCFG_SOUND_ROUTE(1, "mono", 0.50)
- MDRV_SOUND_ADD("msm", MSM5205, XTAL_384kHz) /* verified on pcb */
- MDRV_SOUND_CONFIG(msm5205_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("msm", MSM5205, XTAL_384kHz) /* verified on pcb */
+ MCFG_SOUND_CONFIG(msm5205_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
+ MCFG_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( cadash, asuka_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, XTAL_32MHz/2) /* 68000p12 running at 16Mhz, verified on pcb */
- MDRV_CPU_PROGRAM_MAP(cadash_map)
- MDRV_CPU_VBLANK_INT("screen", cadash_interrupt)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_32MHz/2) /* 68000p12 running at 16Mhz, verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(cadash_map)
+ MCFG_CPU_VBLANK_INT("screen", cadash_interrupt)
- MDRV_CPU_ADD("audiocpu", Z80, XTAL_8MHz/2) /* verified on pcb */
- MDRV_CPU_PROGRAM_MAP(cadash_z80_map)
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_8MHz/2) /* verified on pcb */
+ MCFG_CPU_PROGRAM_MAP(cadash_z80_map)
- MDRV_CPU_ADD("subcpu", Z180, 4000000) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(cadash_sub_map)
- MDRV_CPU_IO_MAP(cadash_sub_io)
+ MCFG_CPU_ADD("subcpu", Z180, 4000000) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(cadash_sub_map)
+ MCFG_CPU_IO_MAP(cadash_sub_io)
- MDRV_MACHINE_START(asuka)
- MDRV_MACHINE_RESET(asuka)
+ MCFG_MACHINE_START(asuka)
+ MCFG_MACHINE_RESET(asuka)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
+ MCFG_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(asuka)
- MDRV_PALETTE_LENGTH(4096)
-
- MDRV_VIDEO_EOF(asuka)
- MDRV_VIDEO_UPDATE(bonzeadv)
-
- MDRV_PC090OJ_ADD("pc090oj", cadash_pc090oj_intf)
- MDRV_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
- MDRV_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(asuka)
+ MCFG_PALETTE_LENGTH(4096)
+
+ MCFG_VIDEO_EOF(asuka)
+ MCFG_VIDEO_UPDATE(bonzeadv)
+
+ MCFG_PC090OJ_ADD("pc090oj", cadash_pc090oj_intf)
+ MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
+ MCFG_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, XTAL_8MHz/2) /* verified on pcb */
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.50)
- MDRV_SOUND_ROUTE(1, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM2151, XTAL_8MHz/2) /* verified on pcb */
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.50)
+ MCFG_SOUND_ROUTE(1, "mono", 0.50)
- MDRV_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
+ MCFG_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( mofflott, asuka_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(asuka_map)
- MDRV_CPU_VBLANK_INT("screen", irq5_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(asuka_map)
+ MCFG_CPU_VBLANK_INT("screen", irq5_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 4000000) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(z80_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(z80_map)
- MDRV_MACHINE_START(asuka)
- MDRV_MACHINE_RESET(asuka)
+ MCFG_MACHINE_START(asuka)
+ MCFG_MACHINE_RESET(asuka)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
+ MCFG_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(asuka)
- MDRV_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */
-
- MDRV_VIDEO_EOF(asuka)
- MDRV_VIDEO_UPDATE(asuka)
-
- MDRV_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
- MDRV_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
- MDRV_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(asuka)
+ MCFG_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */
+
+ MCFG_VIDEO_EOF(asuka)
+ MCFG_VIDEO_UPDATE(asuka)
+
+ MCFG_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
+ MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
+ MCFG_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, 4000000)
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.50)
- MDRV_SOUND_ROUTE(1, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 4000000)
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.50)
+ MCFG_SOUND_ROUTE(1, "mono", 0.50)
- MDRV_SOUND_ADD("msm", MSM5205, 384000)
- MDRV_SOUND_CONFIG(msm5205_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("msm", MSM5205, 384000)
+ MCFG_SOUND_CONFIG(msm5205_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
+ MCFG_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( galmedes, asuka_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(asuka_map)
- MDRV_CPU_VBLANK_INT("screen", irq5_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(asuka_map)
+ MCFG_CPU_VBLANK_INT("screen", irq5_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 4000000) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(cadash_z80_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(cadash_z80_map)
- MDRV_MACHINE_START(asuka)
- MDRV_MACHINE_RESET(asuka)
+ MCFG_MACHINE_START(asuka)
+ MCFG_MACHINE_RESET(asuka)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
+ MCFG_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(asuka)
- MDRV_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */
-
- MDRV_VIDEO_EOF(asuka)
- MDRV_VIDEO_UPDATE(asuka)
-
- MDRV_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
- MDRV_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
- MDRV_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(asuka)
+ MCFG_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */
+
+ MCFG_VIDEO_EOF(asuka)
+ MCFG_VIDEO_UPDATE(asuka)
+
+ MCFG_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
+ MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
+ MCFG_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, 4000000)
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.50)
- MDRV_SOUND_ROUTE(1, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 4000000)
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.50)
+ MCFG_SOUND_ROUTE(1, "mono", 0.50)
- MDRV_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
+ MCFG_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( eto, asuka_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(eto_map)
- MDRV_CPU_VBLANK_INT("screen", irq5_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(eto_map)
+ MCFG_CPU_VBLANK_INT("screen", irq5_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 4000000) /* 4 MHz ??? */
- MDRV_CPU_PROGRAM_MAP(cadash_z80_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000) /* 4 MHz ??? */
+ MCFG_CPU_PROGRAM_MAP(cadash_z80_map)
- MDRV_MACHINE_START(asuka)
- MDRV_MACHINE_RESET(asuka)
+ MCFG_MACHINE_START(asuka)
+ MCFG_MACHINE_RESET(asuka)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
+ MCFG_TC0220IOC_ADD("tc0220ioc", asuka_io_intf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(asuka)
- MDRV_PALETTE_LENGTH(4096)
-
- MDRV_VIDEO_EOF(asuka)
- MDRV_VIDEO_UPDATE(asuka)
-
- MDRV_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
- MDRV_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
- MDRV_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(asuka)
+ MCFG_PALETTE_LENGTH(4096)
+
+ MCFG_VIDEO_EOF(asuka)
+ MCFG_VIDEO_UPDATE(asuka)
+
+ MCFG_PC090OJ_ADD("pc090oj", asuka_pc090oj_intf)
+ MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf)
+ MCFG_TC0110PCR_ADD("tc0110pcr", asuka_tc0110pcr_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, 4000000)
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "mono", 0.50)
- MDRV_SOUND_ROUTE(1, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 4000000)
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "mono", 0.50)
+ MCFG_SOUND_ROUTE(1, "mono", 0.50)
- MDRV_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
+ MCFG_TC0140SYT_ADD("tc0140syt", asuka_tc0140syt_intf)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarifb.c b/src/mame/drivers/atarifb.c
index dc6635ea4e0..09bd708137c 100644
--- a/src/mame/drivers/atarifb.c
+++ b/src/mame/drivers/atarifb.c
@@ -556,71 +556,71 @@ static MACHINE_RESET( atarifb )
static MACHINE_CONFIG_START( atarifb, atarifb_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502, 750000)
- MDRV_CPU_PROGRAM_MAP(atarifb_map)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,4)
+ MCFG_CPU_ADD("maincpu", M6502, 750000)
+ MCFG_CPU_PROGRAM_MAP(atarifb_map)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,4)
- MDRV_MACHINE_START(atarifb)
- MDRV_MACHINE_RESET(atarifb)
+ MCFG_MACHINE_START(atarifb)
+ MCFG_MACHINE_RESET(atarifb)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2037) /* 16.3ms * 1/8 = 2037.5. Is it 1/8th or 3/32nds? (1528?) */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(38*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 38*8-1, 1*8, 31*8-1)
- MDRV_GFXDECODE(atarifb)
- MDRV_PALETTE_LENGTH(12)
-
- MDRV_PALETTE_INIT(atarifb)
- MDRV_VIDEO_START(atarifb)
- MDRV_VIDEO_UPDATE(atarifb)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2037) /* 16.3ms * 1/8 = 2037.5. Is it 1/8th or 3/32nds? (1528?) */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(38*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 38*8-1, 1*8, 31*8-1)
+ MCFG_GFXDECODE(atarifb)
+ MCFG_PALETTE_LENGTH(12)
+
+ MCFG_PALETTE_INIT(atarifb)
+ MCFG_VIDEO_START(atarifb)
+ MCFG_VIDEO_UPDATE(atarifb)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(atarifb)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.18)
+ MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(atarifb)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.18)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( atarifb4, atarifb )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(atarifb4_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(atarifb4_map)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( abaseb, atarifb )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(abaseb_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(abaseb_map)
/* video hardware */
- MDRV_VIDEO_UPDATE(abaseb)
+ MCFG_VIDEO_UPDATE(abaseb)
/* sound hardware */
- MDRV_SOUND_REPLACE("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(abaseb)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.24)
+ MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(abaseb)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.24)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( soccer, atarifb )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(soccer_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(soccer_map)
/* video hardware */
- MDRV_SCREEN_MODIFY("screen")
- MDRV_SCREEN_VISIBLE_AREA(0*8, 38*8-1, 2*8, 32*8-1)
- MDRV_GFXDECODE(soccer)
- MDRV_VIDEO_UPDATE(soccer)
+ MCFG_SCREEN_MODIFY("screen")
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 38*8-1, 2*8, 32*8-1)
+ MCFG_GFXDECODE(soccer)
+ MCFG_VIDEO_UPDATE(soccer)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarig1.c b/src/mame/drivers/atarig1.c
index 562b9fe3775..91c60f4dcb6 100644
--- a/src/mame/drivers/atarig1.c
+++ b/src/mame/drivers/atarig1.c
@@ -410,30 +410,30 @@ GFXDECODE_END
static MACHINE_CONFIG_START( atarig1, atarig1_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
+ MCFG_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
- MDRV_MACHINE_START(atarig1)
- MDRV_MACHINE_RESET(atarig1)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(atarig1)
+ MCFG_MACHINE_RESET(atarig1)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(atarig1)
- MDRV_PALETTE_LENGTH(1280)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(atarig1)
+ MCFG_PALETTE_LENGTH(1280)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atarig1)
- MDRV_VIDEO_EOF(atarirle)
- MDRV_VIDEO_UPDATE(atarig1)
+ MCFG_VIDEO_START(atarig1)
+ MCFG_VIDEO_EOF(atarirle)
+ MCFG_VIDEO_UPDATE(atarig1)
/* sound hardware */
- MDRV_FRAGMENT_ADD(jsa_ii_mono)
+ MCFG_FRAGMENT_ADD(jsa_ii_mono)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarig42.c b/src/mame/drivers/atarig42.c
index 35d3753f515..c6171d43358 100644
--- a/src/mame/drivers/atarig42.c
+++ b/src/mame/drivers/atarig42.c
@@ -515,34 +515,34 @@ GFXDECODE_END
static MACHINE_CONFIG_START( atarig42, atarig42_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
+ MCFG_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
/* ASIC65 */
- MDRV_FRAGMENT_ADD(asic65)
+ MCFG_FRAGMENT_ADD(asic65)
- MDRV_MACHINE_START(atarig42)
- MDRV_MACHINE_RESET(atarig42)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(atarig42)
+ MCFG_MACHINE_RESET(atarig42)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(atarig42)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(atarig42)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atarig42)
- MDRV_VIDEO_EOF(atarirle)
- MDRV_VIDEO_UPDATE(atarig42)
+ MCFG_VIDEO_START(atarig42)
+ MCFG_VIDEO_EOF(atarirle)
+ MCFG_VIDEO_UPDATE(atarig42)
/* sound hardware */
- MDRV_FRAGMENT_ADD(jsa_iii_mono)
+ MCFG_FRAGMENT_ADD(jsa_iii_mono)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarigt.c b/src/mame/drivers/atarigt.c
index 75b8791408d..48a0924ee7a 100644
--- a/src/mame/drivers/atarigt.c
+++ b/src/mame/drivers/atarigt.c
@@ -793,32 +793,32 @@ GFXDECODE_END
static MACHINE_CONFIG_START( atarigt, atarigt_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68EC020, ATARI_CLOCK_50MHz/2)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
- MDRV_CPU_PERIODIC_INT(atarigen_scanline_int_gen, 250)
+ MCFG_CPU_ADD("maincpu", M68EC020, ATARI_CLOCK_50MHz/2)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
+ MCFG_CPU_PERIODIC_INT(atarigen_scanline_int_gen, 250)
- MDRV_MACHINE_START(atarigt)
- MDRV_MACHINE_RESET(atarigt)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(atarigt)
+ MCFG_MACHINE_RESET(atarigt)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(atarigt)
- MDRV_PALETTE_LENGTH(32768)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(atarigt)
+ MCFG_PALETTE_LENGTH(32768)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
/* note: these parameters are from published specs, not derived */
/* the board uses a pair of GALs to determine H and V parameters */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atarigt)
- MDRV_VIDEO_EOF(atarirle)
- MDRV_VIDEO_UPDATE(atarigt)
+ MCFG_VIDEO_START(atarigt)
+ MCFG_VIDEO_EOF(atarirle)
+ MCFG_VIDEO_UPDATE(atarigt)
/* sound hardware */
- MDRV_FRAGMENT_ADD(cage)
+ MCFG_FRAGMENT_ADD(cage)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarigx2.c b/src/mame/drivers/atarigx2.c
index d3b2e1b00cf..6c4822f528a 100644
--- a/src/mame/drivers/atarigx2.c
+++ b/src/mame/drivers/atarigx2.c
@@ -1391,31 +1391,31 @@ GFXDECODE_END
static MACHINE_CONFIG_START( atarigx2, atarigx2_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68EC020, ATARI_CLOCK_14MHz)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
+ MCFG_CPU_ADD("maincpu", M68EC020, ATARI_CLOCK_14MHz)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
- MDRV_MACHINE_START(atarigx2)
- MDRV_MACHINE_RESET(atarigx2)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(atarigx2)
+ MCFG_MACHINE_RESET(atarigx2)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(atarigx2)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(atarigx2)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses a pair of GALs to determine H and V parameters */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atarigx2)
- MDRV_VIDEO_EOF(atarirle)
- MDRV_VIDEO_UPDATE(atarigx2)
+ MCFG_VIDEO_START(atarigx2)
+ MCFG_VIDEO_EOF(atarirle)
+ MCFG_VIDEO_UPDATE(atarigx2)
/* sound hardware */
- MDRV_FRAGMENT_ADD(jsa_iiis_stereo)
+ MCFG_FRAGMENT_ADD(jsa_iiis_stereo)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarisy1.c b/src/mame/drivers/atarisy1.c
index 35eaf7e6727..df457167287 100644
--- a/src/mame/drivers/atarisy1.c
+++ b/src/mame/drivers/atarisy1.c
@@ -763,54 +763,54 @@ static const ym2151_interface ym2151_config =
static MACHINE_CONFIG_START( atarisy1, atarisy1_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68010, ATARI_CLOCK_14MHz/2)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
+ MCFG_CPU_ADD("maincpu", M68010, ATARI_CLOCK_14MHz/2)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", atarigen_video_int_gen)
- MDRV_CPU_ADD("audiocpu", M6502, ATARI_CLOCK_14MHz/8)
- MDRV_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_ADD("audiocpu", M6502, ATARI_CLOCK_14MHz/8)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
- MDRV_MACHINE_START(atarisy1)
- MDRV_MACHINE_RESET(atarisy1)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(atarisy1)
+ MCFG_MACHINE_RESET(atarisy1)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
- MDRV_TIMER_ADD("joystick_timer", delayed_joystick_int)
- MDRV_TIMER_ADD("scan_timer", atarisy1_int3_callback)
- MDRV_TIMER_ADD("int3off_timer", atarisy1_int3off_callback)
- MDRV_TIMER_ADD("yreset_timer", atarisy1_reset_yscroll_callback)
+ MCFG_TIMER_ADD("joystick_timer", delayed_joystick_int)
+ MCFG_TIMER_ADD("scan_timer", atarisy1_int3_callback)
+ MCFG_TIMER_ADD("int3off_timer", atarisy1_int3off_callback)
+ MCFG_TIMER_ADD("yreset_timer", atarisy1_reset_yscroll_callback)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(atarisy1)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(atarisy1)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* video timing comes from an 82S163 (H) and an 82S129 (V) */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atarisy1)
- MDRV_VIDEO_UPDATE(atarisy1)
+ MCFG_VIDEO_START(atarisy1)
+ MCFG_VIDEO_UPDATE(atarisy1)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM2151, ATARI_CLOCK_14MHz/4)
- MDRV_SOUND_CONFIG(ym2151_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
+ MCFG_SOUND_ADD("ymsnd", YM2151, ATARI_CLOCK_14MHz/4)
+ MCFG_SOUND_CONFIG(ym2151_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.80)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.80)
- MDRV_SOUND_ADD("pokey", POKEY, ATARI_CLOCK_14MHz/8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.40)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.40)
+ MCFG_SOUND_ADD("pokey", POKEY, ATARI_CLOCK_14MHz/8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.40)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.40)
- MDRV_SOUND_ADD("tms", TMS5220C, ATARI_CLOCK_14MHz/2/11)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("tms", TMS5220C, ATARI_CLOCK_14MHz/2/11)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
/* via */
- MDRV_VIA6522_ADD("via6522_0", 0, via_interface)
+ MCFG_VIA6522_ADD("via6522_0", 0, via_interface)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarisy2.c b/src/mame/drivers/atarisy2.c
index 32844a934e3..ec2ca776b96 100644
--- a/src/mame/drivers/atarisy2.c
+++ b/src/mame/drivers/atarisy2.c
@@ -1145,48 +1145,48 @@ static const struct t11_setup t11_data =
static MACHINE_CONFIG_START( atarisy2, atarisy2_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", T11, MASTER_CLOCK/2)
- MDRV_CPU_CONFIG(t11_data)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", vblank_int)
+ MCFG_CPU_ADD("maincpu", T11, MASTER_CLOCK/2)
+ MCFG_CPU_CONFIG(t11_data)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", vblank_int)
- MDRV_CPU_ADD("soundcpu", M6502, SOUND_CLOCK/8)
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_PERIODIC_INT(atarigen_6502_irq_gen, (double)MASTER_CLOCK/2/16/16/16/10)
+ MCFG_CPU_ADD("soundcpu", M6502, SOUND_CLOCK/8)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_PERIODIC_INT(atarigen_6502_irq_gen, (double)MASTER_CLOCK/2/16/16/16/10)
- MDRV_MACHINE_START(atarisy2)
- MDRV_MACHINE_RESET(atarisy2)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(atarisy2)
+ MCFG_MACHINE_RESET(atarisy2)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(atarisy2)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(atarisy2)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_RAW_PARAMS(VIDEO_CLOCK/2, 640, 0, 512, 416, 0, 384)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_RAW_PARAMS(VIDEO_CLOCK/2, 640, 0, 512, 416, 0, 384)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_VIDEO_START(atarisy2)
- MDRV_VIDEO_UPDATE(atarisy2)
+ MCFG_VIDEO_START(atarisy2)
+ MCFG_VIDEO_UPDATE(atarisy2)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM2151, SOUND_CLOCK/4)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.60)
- MDRV_SOUND_ROUTE(1, "rspeaker", 0.60)
-
- MDRV_SOUND_ADD("pokey1", POKEY, SOUND_CLOCK/8)
- MDRV_SOUND_CONFIG(pokey_interface_1)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.35)
-
- MDRV_SOUND_ADD("pokey2", POKEY, SOUND_CLOCK/8)
- MDRV_SOUND_CONFIG(pokey_interface_2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.35)
-
- MDRV_SOUND_ADD("tms", TMS5220C, MASTER_CLOCK/4/4/2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.75)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.75)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SOUND_ADD("ymsnd", YM2151, SOUND_CLOCK/4)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.60)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 0.60)
+
+ MCFG_SOUND_ADD("pokey1", POKEY, SOUND_CLOCK/8)
+ MCFG_SOUND_CONFIG(pokey_interface_1)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.35)
+
+ MCFG_SOUND_ADD("pokey2", POKEY, SOUND_CLOCK/8)
+ MCFG_SOUND_CONFIG(pokey_interface_2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.35)
+
+ MCFG_SOUND_ADD("tms", TMS5220C, MASTER_CLOCK/4/4/2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.75)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.75)
MACHINE_CONFIG_END
@@ -1195,7 +1195,7 @@ static MACHINE_CONFIG_DERIVED( sprint, atarisy2 )
/* basic machine hardware */
/* sound hardware */
- MDRV_DEVICE_REMOVE("tms")
+ MCFG_DEVICE_REMOVE("tms")
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarisy4.c b/src/mame/drivers/atarisy4.c
index 94d974e72dc..d30bf7efe27 100644
--- a/src/mame/drivers/atarisy4.c
+++ b/src/mame/drivers/atarisy4.c
@@ -695,34 +695,34 @@ INPUT_PORTS_END
*************************************/
static MACHINE_CONFIG_START( atarisy4, driver_device )
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", vblank_int)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", vblank_int)
- MDRV_CPU_ADD("dsp0", TMS32010, 16000000)
- MDRV_CPU_PROGRAM_MAP(dsp0_map)
- MDRV_CPU_IO_MAP(dsp0_io_map)
+ MCFG_CPU_ADD("dsp0", TMS32010, 16000000)
+ MCFG_CPU_PROGRAM_MAP(dsp0_map)
+ MCFG_CPU_IO_MAP(dsp0_io_map)
- MDRV_VIDEO_RESET(atarisy4)
- MDRV_MACHINE_RESET(atarisy4)
+ MCFG_VIDEO_RESET(atarisy4)
+ MCFG_MACHINE_RESET(atarisy4)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_RAW_PARAMS(32000000/2, 660, 0, 512, 404, 0, 384)
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_RAW_PARAMS(32000000/2, 660, 0, 512, 404, 0, 384)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_VIDEO_START(atarisy4)
- MDRV_VIDEO_UPDATE(atarisy4)
+ MCFG_VIDEO_START(atarisy4)
+ MCFG_VIDEO_UPDATE(atarisy4)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( airrace, atarisy4 )
- MDRV_CPU_ADD("dsp1", TMS32010, 16000000)
- MDRV_CPU_PROGRAM_MAP(dsp1_map)
- MDRV_CPU_IO_MAP(dsp1_io_map)
+ MCFG_CPU_ADD("dsp1", TMS32010, 16000000)
+ MCFG_CPU_PROGRAM_MAP(dsp1_map)
+ MCFG_CPU_IO_MAP(dsp1_io_map)
- MDRV_MACHINE_RESET(airrace)
+ MCFG_MACHINE_RESET(airrace)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ataxx.c b/src/mame/drivers/ataxx.c
index 3ca26cec9a5..6b4460d355c 100644
--- a/src/mame/drivers/ataxx.c
+++ b/src/mame/drivers/ataxx.c
@@ -313,32 +313,32 @@ static const eeprom_interface eeprom_intf =
static MACHINE_CONFIG_START( ataxx, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("master", Z80, 6000000)
- MDRV_CPU_PROGRAM_MAP(master_map_program)
- MDRV_CPU_IO_MAP(master_map_io)
+ MCFG_CPU_ADD("master", Z80, 6000000)
+ MCFG_CPU_PROGRAM_MAP(master_map_program)
+ MCFG_CPU_IO_MAP(master_map_io)
- MDRV_CPU_ADD("slave", Z80, 6000000)
- MDRV_CPU_PROGRAM_MAP(slave_map_program)
- MDRV_CPU_IO_MAP(slave_map_io)
+ MCFG_CPU_ADD("slave", Z80, 6000000)
+ MCFG_CPU_PROGRAM_MAP(slave_map_program)
+ MCFG_CPU_IO_MAP(slave_map_io)
- MDRV_CPU_ADD("audiocpu", I80186, XTAL_16MHz)
- MDRV_CPU_PROGRAM_MAP(leland_80186_map_program)
- MDRV_CPU_IO_MAP(ataxx_80186_map_io)
+ MCFG_CPU_ADD("audiocpu", I80186, XTAL_16MHz)
+ MCFG_CPU_PROGRAM_MAP(leland_80186_map_program)
+ MCFG_CPU_IO_MAP(ataxx_80186_map_io)
- MDRV_MACHINE_START(ataxx)
- MDRV_MACHINE_RESET(ataxx)
+ MCFG_MACHINE_START(ataxx)
+ MCFG_MACHINE_RESET(ataxx)
- MDRV_EEPROM_ADD("eeprom", eeprom_intf)
- MDRV_NVRAM_ADD_0FILL("battery")
+ MCFG_EEPROM_ADD("eeprom", eeprom_intf)
+ MCFG_NVRAM_ADD_0FILL("battery")
/* video hardware */
- MDRV_FRAGMENT_ADD(ataxx_video)
+ MCFG_FRAGMENT_ADD(ataxx_video)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("custom", LELAND_80186, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("custom", LELAND_80186, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -347,9 +347,9 @@ static MACHINE_CONFIG_DERIVED( wsf, ataxx )
/* basic machine hardware */
/* sound hardware */
- MDRV_SOUND_ADD("ymsnd", YM2151, 4000000)
- MDRV_SOUND_ROUTE(0, "mono", 0.40)
- MDRV_SOUND_ROUTE(1, "mono", 0.40)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 4000000)
+ MCFG_SOUND_ROUTE(0, "mono", 0.40)
+ MCFG_SOUND_ROUTE(1, "mono", 0.40)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atetris.c b/src/mame/drivers/atetris.c
index 3b1d6e95a2b..a0bf900dd03 100644
--- a/src/mame/drivers/atetris.c
+++ b/src/mame/drivers/atetris.c
@@ -343,73 +343,73 @@ static const pokey_interface pokey_interface_2 =
static MACHINE_CONFIG_START( atetris, atetris_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502,MASTER_CLOCK/8)
- MDRV_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_ADD("maincpu", M6502,MASTER_CLOCK/8)
+ MCFG_CPU_PROGRAM_MAP(main_map)
- MDRV_MACHINE_START(atetris)
- MDRV_MACHINE_RESET(atetris)
- MDRV_NVRAM_ADD_1FILL("nvram")
+ MCFG_MACHINE_START(atetris)
+ MCFG_MACHINE_RESET(atetris)
+ MCFG_NVRAM_ADD_1FILL("nvram")
/* video hardware */
- MDRV_GFXDECODE(atetris)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_GFXDECODE(atetris)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atetris)
- MDRV_VIDEO_UPDATE(atetris)
+ MCFG_VIDEO_START(atetris)
+ MCFG_VIDEO_UPDATE(atetris)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("pokey1", POKEY, MASTER_CLOCK/8)
- MDRV_SOUND_CONFIG(pokey_interface_1)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("pokey1", POKEY, MASTER_CLOCK/8)
+ MCFG_SOUND_CONFIG(pokey_interface_1)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("pokey2", POKEY, MASTER_CLOCK/8)
- MDRV_SOUND_CONFIG(pokey_interface_2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("pokey2", POKEY, MASTER_CLOCK/8)
+ MCFG_SOUND_CONFIG(pokey_interface_2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( atetrisb2, atetris_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502,BOOTLEG_CLOCK/8)
- MDRV_CPU_PROGRAM_MAP(atetrisb2_map)
+ MCFG_CPU_ADD("maincpu", M6502,BOOTLEG_CLOCK/8)
+ MCFG_CPU_PROGRAM_MAP(atetrisb2_map)
- MDRV_MACHINE_START(atetris)
- MDRV_MACHINE_RESET(atetris)
- MDRV_NVRAM_ADD_1FILL("nvram")
+ MCFG_MACHINE_START(atetris)
+ MCFG_MACHINE_RESET(atetris)
+ MCFG_NVRAM_ADD_1FILL("nvram")
/* video hardware */
- MDRV_GFXDECODE(atetris)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_GFXDECODE(atetris)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(atetris)
- MDRV_VIDEO_UPDATE(atetris)
+ MCFG_VIDEO_START(atetris)
+ MCFG_VIDEO_UPDATE(atetris)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("sn1", SN76496, BOOTLEG_CLOCK/8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("sn1", SN76496, BOOTLEG_CLOCK/8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("sn2", SN76496, BOOTLEG_CLOCK/8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("sn2", SN76496, BOOTLEG_CLOCK/8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("sn3", SN76496, BOOTLEG_CLOCK/8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("sn3", SN76496, BOOTLEG_CLOCK/8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/attckufo.c b/src/mame/drivers/attckufo.c
index a662c29316f..997635dcf6b 100644
--- a/src/mame/drivers/attckufo.c
+++ b/src/mame/drivers/attckufo.c
@@ -192,27 +192,27 @@ static const mos6560_interface attckufo_6560_intf =
static MACHINE_CONFIG_START( attckufo, attckufo_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502, 14318181/14)
- MDRV_CPU_PROGRAM_MAP(cpu_map)
- MDRV_CPU_PERIODIC_INT(attckufo_raster_interrupt, MOS656X_HRETRACERATE)
+ MCFG_CPU_ADD("maincpu", M6502, 14318181/14)
+ MCFG_CPU_PROGRAM_MAP(cpu_map)
+ MCFG_CPU_PERIODIC_INT(attckufo_raster_interrupt, MOS656X_HRETRACERATE)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(MOS6560_VRETRACERATE)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE((MOS6560_XSIZE + 7) & ~7, MOS6560_YSIZE)
- MDRV_SCREEN_VISIBLE_AREA(0, 23*8 - 1, 0, 22*8 - 1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(MOS6560_VRETRACERATE)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE((MOS6560_XSIZE + 7) & ~7, MOS6560_YSIZE)
+ MCFG_SCREEN_VISIBLE_AREA(0, 23*8 - 1, 0, 22*8 - 1)
- MDRV_PALETTE_LENGTH(ARRAY_LENGTH(attckufo_palette))
- MDRV_PALETTE_INIT(attckufo)
+ MCFG_PALETTE_LENGTH(ARRAY_LENGTH(attckufo_palette))
+ MCFG_PALETTE_INIT(attckufo)
- MDRV_VIDEO_UPDATE(attckufo)
+ MCFG_VIDEO_UPDATE(attckufo)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_MOS656X_ADD("mos6560", attckufo_6560_intf)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_MOS656X_ADD("mos6560", attckufo_6560_intf)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
ROM_START( attckufo )
diff --git a/src/mame/drivers/avalnche.c b/src/mame/drivers/avalnche.c
index 94adc089298..43512a97046 100644
--- a/src/mame/drivers/avalnche.c
+++ b/src/mame/drivers/avalnche.c
@@ -233,29 +233,29 @@ static MACHINE_RESET( avalnche )
static MACHINE_CONFIG_START( avalnche, avalnche_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502,MASTER_CLOCK/16) /* clock input is the "2H" signal divided by two */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT_HACK(avalnche_interrupt,8)
+ MCFG_CPU_ADD("maincpu", M6502,MASTER_CLOCK/16) /* clock input is the "2H" signal divided by two */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT_HACK(avalnche_interrupt,8)
- MDRV_MACHINE_START(avalnche)
- MDRV_MACHINE_RESET(avalnche)
+ MCFG_MACHINE_START(avalnche)
+ MCFG_MACHINE_RESET(avalnche)
/* video hardware */
- MDRV_VIDEO_UPDATE(avalnche)
+ MCFG_VIDEO_UPDATE(avalnche)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 32*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 32*8-1)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("discrete", DISCRETE, 0)
- MDRV_SOUND_CONFIG_DISCRETE(avalnche)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("discrete", DISCRETE, 0)
+ MCFG_SOUND_CONFIG_DISCRETE(avalnche)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/avt.c b/src/mame/drivers/avt.c
index c70e6734863..598bafda1ea 100644
--- a/src/mame/drivers/avt.c
+++ b/src/mame/drivers/avt.c
@@ -799,34 +799,34 @@ static const ay8910_interface ay8910_config =
static MACHINE_CONFIG_START( avt, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, CPU_CLOCK) /* guess */
- MDRV_CPU_PROGRAM_MAP(avt_map)
- MDRV_CPU_IO_MAP(avt_portmap)
-// MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
+ MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK) /* guess */
+ MCFG_CPU_PROGRAM_MAP(avt_map)
+ MCFG_CPU_IO_MAP(avt_portmap)
+// MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1) /* 240x224 (through CRTC) */
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1) /* 240x224 (through CRTC) */
- MDRV_GFXDECODE(avt)
+ MCFG_GFXDECODE(avt)
- MDRV_PALETTE_INIT(avt)
- MDRV_PALETTE_LENGTH(8*16)
+ MCFG_PALETTE_INIT(avt)
+ MCFG_PALETTE_LENGTH(8*16)
- MDRV_VIDEO_START(avt)
- MDRV_VIDEO_UPDATE(avt)
+ MCFG_VIDEO_START(avt)
+ MCFG_VIDEO_UPDATE(avt)
- MDRV_MC6845_ADD("crtc", MC6845, CRTC_CLOCK, mc6845_intf) /* guess */
+ MCFG_MC6845_ADD("crtc", MC6845, CRTC_CLOCK, mc6845_intf) /* guess */
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, CPU_CLOCK/2) /* 1.25 MHz.?? */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, CPU_CLOCK/2) /* 1.25 MHz.?? */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/aztarac.c b/src/mame/drivers/aztarac.c
index 5a5047f92cb..288c283dbb8 100644
--- a/src/mame/drivers/aztarac.c
+++ b/src/mame/drivers/aztarac.c
@@ -148,40 +148,40 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( aztarac, aztarac_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", irq4_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", irq4_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 2000000)
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_PERIODIC_INT(aztarac_snd_timed_irq, 100)
+ MCFG_CPU_ADD("audiocpu", Z80, 2000000)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_PERIODIC_INT(aztarac_snd_timed_irq, 100)
- MDRV_MACHINE_RESET(aztarac)
- MDRV_NVRAM_ADD_1FILL("nvram")
+ MCFG_MACHINE_RESET(aztarac)
+ MCFG_NVRAM_ADD_1FILL("nvram")
/* video hardware */
- MDRV_SCREEN_ADD("screen", VECTOR)
- MDRV_SCREEN_REFRESH_RATE(40)
- MDRV_SCREEN_SIZE(400, 300)
- MDRV_SCREEN_VISIBLE_AREA(0, 1024-1, 0, 768-1)
+ MCFG_SCREEN_ADD("screen", VECTOR)
+ MCFG_SCREEN_REFRESH_RATE(40)
+ MCFG_SCREEN_SIZE(400, 300)
+ MCFG_SCREEN_VISIBLE_AREA(0, 1024-1, 0, 768-1)
- MDRV_VIDEO_START(aztarac)
- MDRV_VIDEO_UPDATE(vector)
+ MCFG_VIDEO_START(aztarac)
+ MCFG_VIDEO_UPDATE(vector)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ay1", AY8910, 2000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
+ MCFG_SOUND_ADD("ay1", AY8910, 2000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
- MDRV_SOUND_ADD("ay2", AY8910, 2000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
+ MCFG_SOUND_ADD("ay2", AY8910, 2000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
- MDRV_SOUND_ADD("ay3", AY8910, 2000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
+ MCFG_SOUND_ADD("ay3", AY8910, 2000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
- MDRV_SOUND_ADD("ay4", AY8910, 2000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
+ MCFG_SOUND_ADD("ay4", AY8910, 2000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c
index 96ab9cecb52..07b407c7a63 100644
--- a/src/mame/drivers/backfire.c
+++ b/src/mame/drivers/backfire.c
@@ -480,45 +480,45 @@ static MACHINE_START( backfire )
static MACHINE_CONFIG_START( backfire, backfire_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", ARM, 28000000/4) /* Unconfirmed */
- MDRV_CPU_PROGRAM_MAP(backfire_map)
- MDRV_CPU_VBLANK_INT("lscreen", deco32_vbl_interrupt) /* or is it "rscreen?" */
+ MCFG_CPU_ADD("maincpu", ARM, 28000000/4) /* Unconfirmed */
+ MCFG_CPU_PROGRAM_MAP(backfire_map)
+ MCFG_CPU_VBLANK_INT("lscreen", deco32_vbl_interrupt) /* or is it "rscreen?" */
- MDRV_EEPROM_93C46_ADD("eeprom")
+ MCFG_EEPROM_93C46_ADD("eeprom")
- MDRV_MACHINE_START(backfire)
+ MCFG_MACHINE_START(backfire)
/* video hardware */
- MDRV_PALETTE_LENGTH(2048)
- MDRV_GFXDECODE(backfire)
- MDRV_DEFAULT_LAYOUT(layout_dualhsxs)
+ MCFG_PALETTE_LENGTH(2048)
+ MCFG_GFXDECODE(backfire)
+ MCFG_DEFAULT_LAYOUT(layout_dualhsxs)
- MDRV_SCREEN_ADD("lscreen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
+ MCFG_SCREEN_ADD("lscreen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
- MDRV_SCREEN_ADD("rscreen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_SIZE(40*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
+ MCFG_SCREEN_ADD("rscreen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_SIZE(40*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
- MDRV_VIDEO_START(backfire)
- MDRV_VIDEO_UPDATE(backfire)
+ MCFG_VIDEO_START(backfire)
+ MCFG_VIDEO_UPDATE(backfire)
- MDRV_DECO16IC_ADD("deco_custom", backfire_deco16ic_intf)
+ MCFG_DECO16IC_ADD("deco_custom", backfire_deco16ic_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymz", YMZ280B, 28000000 / 2)
- MDRV_SOUND_CONFIG(ymz280b_intf)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("ymz", YMZ280B, 28000000 / 2)
+ MCFG_SOUND_CONFIG(ymz280b_intf)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/badlands.c b/src/mame/drivers/badlands.c
index e0609b0f962..3737ef2f54b 100644
--- a/src/mame/drivers/badlands.c
+++ b/src/mame/drivers/badlands.c
@@ -506,37 +506,37 @@ GFXDECODE_END
static MACHINE_CONFIG_START( badlands, badlands_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz/2)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", vblank_int)
+ MCFG_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz/2)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", vblank_int)
- MDRV_CPU_ADD("audiocpu", M6502, ATARI_CLOCK_14MHz/8)
- MDRV_CPU_PROGRAM_MAP(audio_map)
+ MCFG_CPU_ADD("audiocpu", M6502, ATARI_CLOCK_14MHz/8)
+ MCFG_CPU_PROGRAM_MAP(audio_map)
- MDRV_MACHINE_START(badlands)
- MDRV_MACHINE_RESET(badlands)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(badlands)
+ MCFG_MACHINE_RESET(badlands)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(badlands)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(badlands)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(badlands)
- MDRV_VIDEO_UPDATE(badlands)
+ MCFG_VIDEO_START(badlands)
+ MCFG_VIDEO_UPDATE(badlands)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, ATARI_CLOCK_14MHz/4)
- MDRV_SOUND_ROUTE(0, "mono", 0.30)
- MDRV_SOUND_ROUTE(1, "mono", 0.30)
+ MCFG_SOUND_ADD("ymsnd", YM2151, ATARI_CLOCK_14MHz/4)
+ MCFG_SOUND_ROUTE(0, "mono", 0.30)
+ MCFG_SOUND_ROUTE(1, "mono", 0.30)
MACHINE_CONFIG_END
@@ -715,37 +715,37 @@ static MACHINE_RESET( badlandsb )
static MACHINE_CONFIG_START( badlandsb, badlands_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 2800000/2)
- MDRV_CPU_PROGRAM_MAP(bootleg_map)
- MDRV_CPU_VBLANK_INT("screen", vblank_int)
+ MCFG_CPU_ADD("maincpu", M68000, 2800000/2)
+ MCFG_CPU_PROGRAM_MAP(bootleg_map)
+ MCFG_CPU_VBLANK_INT("screen", vblank_int)
-// MDRV_CPU_ADD("audiocpu", Z80, 2800000/8)
-// MDRV_CPU_PROGRAM_MAP(bootleg_soundmap)
+// MCFG_CPU_ADD("audiocpu", Z80, 2800000/8)
+// MCFG_CPU_PROGRAM_MAP(bootleg_soundmap)
- MDRV_MACHINE_START(badlands)
- MDRV_MACHINE_RESET(badlandsb)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(badlands)
+ MCFG_MACHINE_RESET(badlandsb)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(badlandsb)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(badlandsb)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(badlands)
- MDRV_VIDEO_UPDATE(badlands)
+ MCFG_VIDEO_START(badlands)
+ MCFG_VIDEO_UPDATE(badlands)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM2151, 2800000/4)
- MDRV_SOUND_ROUTE(0, "mono", 0.30)
- MDRV_SOUND_ROUTE(1, "mono", 0.30)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 2800000/4)
+ MCFG_SOUND_ROUTE(0, "mono", 0.30)
+ MCFG_SOUND_ROUTE(1, "mono", 0.30)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bagman.c b/src/mame/drivers/bagman.c
index 31d3edba4b7..8c3617ca6b9 100644
--- a/src/mame/drivers/bagman.c
+++ b/src/mame/drivers/bagman.c
@@ -471,71 +471,71 @@ static const tms5110_interface bagman_tms5110_interface =
static MACHINE_CONFIG_START( bagman, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, BAGMAN_H0)
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
+ MCFG_CPU_ADD("maincpu", Z80, BAGMAN_H0)
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_assert)
- MDRV_MACHINE_RESET(bagman)
+ MCFG_MACHINE_RESET(bagman)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_RAW_PARAMS(BAGMAN_HCLK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
- MDRV_GFXDECODE(bagman)
- MDRV_PALETTE_LENGTH(64)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_RAW_PARAMS(BAGMAN_HCLK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
+ MCFG_GFXDECODE(bagman)
+ MCFG_PALETTE_LENGTH(64)
- MDRV_PALETTE_INIT(bagman)
- MDRV_VIDEO_START(bagman)
- MDRV_VIDEO_UPDATE(bagman)
+ MCFG_PALETTE_INIT(bagman)
+ MCFG_VIDEO_START(bagman)
+ MCFG_VIDEO_UPDATE(bagman)
- MDRV_DEVICE_ADD("tmsprom", TMSPROM, 640000 / 2) /* rom clock */
- MDRV_DEVICE_CONFIG(prom_intf)
+ MCFG_DEVICE_ADD("tmsprom", TMSPROM, 640000 / 2) /* rom clock */
+ MCFG_DEVICE_CONFIG(prom_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, BAGMAN_H0 / 2)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("aysnd", AY8910, BAGMAN_H0 / 2)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("tms", TMS5110A, 640000)
- MDRV_SOUND_CONFIG(bagman_tms5110_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("tms", TMS5110A, 640000)
+ MCFG_SOUND_CONFIG(bagman_tms5110_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( pickin, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, BAGMAN_H0)
- MDRV_CPU_PROGRAM_MAP(pickin_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, BAGMAN_H0)
+ MCFG_CPU_PROGRAM_MAP(pickin_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_RESET(bagman)
+ MCFG_MACHINE_RESET(bagman)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_RAW_PARAMS(BAGMAN_HCLK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_GFXDECODE(pickin)
- MDRV_PALETTE_LENGTH(64)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_RAW_PARAMS(BAGMAN_HCLK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_GFXDECODE(pickin)
+ MCFG_PALETTE_LENGTH(64)
- MDRV_PALETTE_INIT(bagman)
- MDRV_VIDEO_START(bagman)
- MDRV_VIDEO_UPDATE(bagman)
+ MCFG_PALETTE_INIT(bagman)
+ MCFG_VIDEO_START(bagman)
+ MCFG_VIDEO_UPDATE(bagman)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 1500000)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("aysnd", AY8910, 1500000)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
/* maybe */
- MDRV_SOUND_ADD("ay2", AY8910, 1500000)
- MDRV_SOUND_CONFIG(ay8910_interface_2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("ay2", AY8910, 1500000)
+ MCFG_SOUND_CONFIG(ay8910_interface_2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
/*
@@ -559,41 +559,41 @@ z80
static MACHINE_CONFIG_START( botanic, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, BAGMAN_H0)
- MDRV_CPU_PROGRAM_MAP(pickin_map)
- MDRV_CPU_IO_MAP(main_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("maincpu", Z80, BAGMAN_H0)
+ MCFG_CPU_PROGRAM_MAP(pickin_map)
+ MCFG_CPU_IO_MAP(main_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_MACHINE_RESET(bagman)
+ MCFG_MACHINE_RESET(bagman)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_RAW_PARAMS(BAGMAN_HCLK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_RAW_PARAMS(BAGMAN_HCLK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
- MDRV_GFXDECODE(bagman)
- MDRV_PALETTE_LENGTH(64)
+ MCFG_GFXDECODE(bagman)
+ MCFG_PALETTE_LENGTH(64)
- MDRV_PALETTE_INIT(bagman)
- MDRV_VIDEO_START(bagman)
- MDRV_VIDEO_UPDATE(bagman)
+ MCFG_PALETTE_INIT(bagman)
+ MCFG_VIDEO_START(bagman)
+ MCFG_VIDEO_UPDATE(bagman)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 1500000)
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("aysnd", AY8910, 1500000)
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_SOUND_ADD("ay2", AY8910, 1500000)
- MDRV_SOUND_CONFIG(ay8910_interface_2)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("ay2", AY8910, 1500000)
+ MCFG_SOUND_CONFIG(ay8910_interface_2)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( squaitsa, botanic )
- MDRV_SOUND_MODIFY("aysnd")
- MDRV_SOUND_CONFIG(ay8910_dial_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_MODIFY("aysnd")
+ MCFG_SOUND_CONFIG(ay8910_dial_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/balsente.c b/src/mame/drivers/balsente.c
index 4946f8009ae..4b7e1028478 100644
--- a/src/mame/drivers/balsente.c
+++ b/src/mame/drivers/balsente.c
@@ -1193,62 +1193,62 @@ static const cem3394_interface cem_interface =
static MACHINE_CONFIG_START( balsente, balsente_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809, 5000000/4)
- MDRV_CPU_PROGRAM_MAP(cpu1_map)
- MDRV_CPU_VBLANK_INT("screen", balsente_update_analog_inputs)
+ MCFG_CPU_ADD("maincpu", M6809, 5000000/4)
+ MCFG_CPU_PROGRAM_MAP(cpu1_map)
+ MCFG_CPU_VBLANK_INT("screen", balsente_update_analog_inputs)
- MDRV_CPU_ADD("audiocpu", Z80, 4000000)
- MDRV_CPU_PROGRAM_MAP(cpu2_map)
- MDRV_CPU_IO_MAP(cpu2_io_map)
+ MCFG_CPU_ADD("audiocpu", Z80, 4000000)
+ MCFG_CPU_PROGRAM_MAP(cpu2_map)
+ MCFG_CPU_IO_MAP(cpu2_io_map)
- MDRV_QUANTUM_TIME(HZ(600))
+ MCFG_QUANTUM_TIME(HZ(600))
- MDRV_MACHINE_START(balsente)
- MDRV_MACHINE_RESET(balsente)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_MACHINE_START(balsente)
+ MCFG_MACHINE_RESET(balsente)
+ MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_TIMER_ADD("scan_timer", balsente_interrupt_timer)
- MDRV_TIMER_ADD("8253_0_timer", balsente_clock_counter_0_ff)
- MDRV_TIMER_ADD("8253_1_timer", balsente_counter_callback)
- MDRV_TIMER_ADD("8253_2_timer", balsente_counter_callback)
+ MCFG_TIMER_ADD("scan_timer", balsente_interrupt_timer)
+ MCFG_TIMER_ADD("8253_0_timer", balsente_clock_counter_0_ff)
+ MCFG_TIMER_ADD("8253_1_timer", balsente_counter_callback)
+ MCFG_TIMER_ADD("8253_2_timer", balsente_counter_callback)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_RAW_PARAMS(BALSENTE_PIXEL_CLOCK, BALSENTE_HTOTAL, BALSENTE_HBEND, BALSENTE_HBSTART, BALSENTE_VTOTAL, BALSENTE_VBEND, BALSENTE_VBSTART)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_RAW_PARAMS(BALSENTE_PIXEL_CLOCK, BALSENTE_HTOTAL, BALSENTE_HBEND, BALSENTE_HBSTART, BALSENTE_VTOTAL, BALSENTE_VBEND, BALSENTE_VBSTART)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_VIDEO_START(balsente)
- MDRV_VIDEO_UPDATE(balsente)
+ MCFG_VIDEO_START(balsente)
+ MCFG_VIDEO_UPDATE(balsente)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("cem1", CEM3394, 0)
- MDRV_SOUND_CONFIG(cem_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("cem1", CEM3394, 0)
+ MCFG_SOUND_CONFIG(cem_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_SOUND_ADD("cem2", CEM3394, 0)
- MDRV_SOUND_CONFIG(cem_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("cem2", CEM3394, 0)
+ MCFG_SOUND_CONFIG(cem_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_SOUND_ADD("cem3", CEM3394, 0)
- MDRV_SOUND_CONFIG(cem_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("cem3", CEM3394, 0)
+ MCFG_SOUND_CONFIG(cem_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_SOUND_ADD("cem4", CEM3394, 0)
- MDRV_SOUND_CONFIG(cem_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("cem4", CEM3394, 0)
+ MCFG_SOUND_CONFIG(cem_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_SOUND_ADD("cem5", CEM3394, 0)
- MDRV_SOUND_CONFIG(cem_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("cem5", CEM3394, 0)
+ MCFG_SOUND_CONFIG(cem_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
- MDRV_SOUND_ADD("cem6", CEM3394, 0)
- MDRV_SOUND_CONFIG(cem_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
+ MCFG_SOUND_ADD("cem6", CEM3394, 0)
+ MCFG_SOUND_CONFIG(cem_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
MACHINE_CONFIG_END
@@ -1256,10 +1256,10 @@ static MACHINE_CONFIG_DERIVED( shrike, balsente )
/* basic machine hardware */
- MDRV_CPU_ADD("68k", M68000, 8000000)
- MDRV_CPU_PROGRAM_MAP(shrike68k_map)
+ MCFG_CPU_ADD("68k", M68000, 8000000)
+ MCFG_CPU_PROGRAM_MAP(shrike68k_map)
- MDRV_QUANTUM_TIME(HZ(6000))
+ MCFG_QUANTUM_TIME(HZ(6000))
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bankp.c b/src/mame/drivers/bankp.c
index ce2ba6a5b84..a2f5929be76 100644
--- a/src/mame/drivers/bankp.c
+++ b/src/mame/drivers/bankp.c
@@ -270,38 +270,38 @@ static MACHINE_RESET( bankp )
static MACHINE_CONFIG_START( bankp, bankp_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, BANKP_CPU_CLOCK)
- MDRV_CPU_PROGRAM_MAP(bankp_map)
- MDRV_CPU_IO_MAP(bankp_io_map)
- MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
+ MCFG_CPU_ADD("maincpu", Z80, BANKP_CPU_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(bankp_map)
+ MCFG_CPU_IO_MAP(bankp_io_map)
+ MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
- MDRV_MACHINE_RESET(bankp)
+ MCFG_MACHINE_RESET(bankp)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(3*8, 31*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(bankp)
- MDRV_PALETTE_LENGTH(32*4+16*8)
-
- MDRV_PALETTE_INIT(bankp)
- MDRV_VIDEO_START(bankp)
- MDRV_VIDEO_UPDATE(bankp)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(3*8, 31*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(bankp)
+ MCFG_PALETTE_LENGTH(32*4+16*8)
+
+ MCFG_PALETTE_INIT(bankp)
+ MCFG_VIDEO_START(bankp)
+ MCFG_VIDEO_UPDATE(bankp)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("sn1", SN76489, BANKP_SN76496_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("sn1", SN76489, BANKP_SN76496_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("sn2", SN76489, BANKP_SN76496_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("sn2", SN76489, BANKP_SN76496_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("sn3", SN76489, BANKP_SN76496_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("sn3", SN76489, BANKP_SN76496_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/baraduke.c b/src/mame/drivers/baraduke.c
index 870bc084832..801b9852c61 100644
--- a/src/mame/drivers/baraduke.c
+++ b/src/mame/drivers/baraduke.c
@@ -378,38 +378,38 @@ static const namco_interface namco_config =
static MACHINE_CONFIG_START( baraduke, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809,49152000/32)
- MDRV_CPU_PROGRAM_MAP(baraduke_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
+ MCFG_CPU_ADD("maincpu", M6809,49152000/32)
+ MCFG_CPU_PROGRAM_MAP(baraduke_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_assert)
- MDRV_CPU_ADD("mcu", HD63701,49152000/8)
- MDRV_CPU_PROGRAM_MAP(mcu_map)
- MDRV_CPU_IO_MAP(mcu_port_map)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MCFG_CPU_ADD("mcu", HD63701,49152000/8)
+ MCFG_CPU_PROGRAM_MAP(mcu_map)
+ MCFG_CPU_IO_MAP(mcu_port_map)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_QUANTUM_TIME(HZ(6000)) /* we need heavy synch */
+ MCFG_QUANTUM_TIME(HZ(6000)) /* we need heavy synch */
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60.606060)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 36*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(baraduke)
- MDRV_PALETTE_LENGTH(2048)
-
- MDRV_PALETTE_INIT(baraduke)
- MDRV_VIDEO_START(baraduke)
- MDRV_VIDEO_UPDATE(baraduke)
- MDRV_VIDEO_EOF(baraduke)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60.606060)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 36*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(baraduke)
+ MCFG_PALETTE_LENGTH(2048)
+
+ MCFG_PALETTE_INIT(baraduke)
+ MCFG_VIDEO_START(baraduke)
+ MCFG_VIDEO_UPDATE(baraduke)
+ MCFG_VIDEO_EOF(baraduke)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("namco", NAMCO_CUS30, 49152000/2048)
- MDRV_SOUND_CONFIG(namco_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("namco", NAMCO_CUS30, 49152000/2048)
+ MCFG_SOUND_CONFIG(namco_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bartop52.c b/src/mame/drivers/bartop52.c
index 70b831aaa33..d4827ca552e 100644
--- a/src/mame/drivers/bartop52.c
+++ b/src/mame/drivers/bartop52.c
@@ -109,30 +109,30 @@ static const pokey_interface atari_pokey_interface =
static MACHINE_CONFIG_START( a5200, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6502, FREQ_17_EXACT)
- MDRV_CPU_PROGRAM_MAP(a5200_mem)
- MDRV_CPU_VBLANK_INT_HACK(a5200_interrupt, TOTAL_LINES_60HZ)
+ MCFG_CPU_ADD("maincpu", M6502, FREQ_17_EXACT)
+ MCFG_CPU_PROGRAM_MAP(a5200_mem)
+ MCFG_CPU_VBLANK_INT_HACK(a5200_interrupt, TOTAL_LINES_60HZ)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(1))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_VISIBLE_AREA(MIN_X, MAX_X, MIN_Y, MAX_Y)
- MDRV_PALETTE_LENGTH(256)
- MDRV_PALETTE_INIT(atari)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(1))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_VISIBLE_AREA(MIN_X, MAX_X, MIN_Y, MAX_Y)
+ MCFG_PALETTE_LENGTH(256)
+ MCFG_PALETTE_INIT(atari)
- MDRV_VIDEO_START(atari)
- MDRV_VIDEO_UPDATE(atari)
+ MCFG_VIDEO_START(atari)
+ MCFG_VIDEO_UPDATE(atari)
- MDRV_SCREEN_MODIFY( "screen" )
- MDRV_SCREEN_REFRESH_RATE(FRAME_RATE_60HZ)
- MDRV_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_60HZ)
+ MCFG_SCREEN_MODIFY( "screen" )
+ MCFG_SCREEN_REFRESH_RATE(FRAME_RATE_60HZ)
+ MCFG_SCREEN_SIZE(HWIDTH*8, TOTAL_LINES_60HZ)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("pokey", POKEY, FREQ_17_EXACT)
- MDRV_SOUND_CONFIG(atari_pokey_interface)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("pokey", POKEY, FREQ_17_EXACT)
+ MCFG_SOUND_CONFIG(atari_pokey_interface)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/batman.c b/src/mame/drivers/batman.c
index ee330319371..61a68c10486 100644
--- a/src/mame/drivers/batman.c
+++ b/src/mame/drivers/batman.c
@@ -235,29 +235,29 @@ GFXDECODE_END
static MACHINE_CONFIG_START( batman, batman_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz)
- MDRV_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_ADD("maincpu", M68000, ATARI_CLOCK_14MHz)
+ MCFG_CPU_PROGRAM_MAP(main_map)
- MDRV_MACHINE_START(batman)
- MDRV_MACHINE_RESET(batman)
- MDRV_NVRAM_ADD_1FILL("eeprom")
+ MCFG_MACHINE_START(batman)
+ MCFG_MACHINE_RESET(batman)
+ MCFG_NVRAM_ADD_1FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_GFXDECODE(batman)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_GFXDECODE(batman)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
/* note: these parameters are from published specs, not derived */
/* the board uses a VAD chip to generate video signals */
- MDRV_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
+ MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MDRV_VIDEO_START(batman)
- MDRV_VIDEO_UPDATE(batman)
+ MCFG_VIDEO_START(batman)
+ MCFG_VIDEO_UPDATE(batman)
/* sound hardware */
- MDRV_FRAGMENT_ADD(jsa_iii_mono)
+ MCFG_FRAGMENT_ADD(jsa_iii_mono)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/battlane.c b/src/mame/drivers/battlane.c
index 10e9d2f7a89..6e7b1336c2e 100644
--- a/src/mame/drivers/battlane.c
+++ b/src/mame/drivers/battlane.c
@@ -296,37 +296,37 @@ static MACHINE_RESET( battlane )
static MACHINE_CONFIG_START( battlane, battlane_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809, 1250000) /* 1.25 MHz ? */
- MDRV_CPU_PROGRAM_MAP(battlane_map)
- MDRV_CPU_VBLANK_INT("screen", battlane_cpu1_interrupt)
+ MCFG_CPU_ADD("maincpu", M6809, 1250000) /* 1.25 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(battlane_map)
+ MCFG_CPU_VBLANK_INT("screen", battlane_cpu1_interrupt)
- MDRV_CPU_ADD("sub", M6809, 1250000) /* 1.25 MHz ? */
- MDRV_CPU_PROGRAM_MAP(battlane_map)
+ MCFG_CPU_ADD("sub", M6809, 1250000) /* 1.25 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(battlane_map)
- MDRV_QUANTUM_TIME(HZ(6000))
+ MCFG_QUANTUM_TIME(HZ(6000))
- MDRV_MACHINE_START(battlane)
- MDRV_MACHINE_RESET(battlane)
+ MCFG_MACHINE_START(battlane)
+ MCFG_MACHINE_RESET(battlane)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32 * 8, 32 * 8)
- MDRV_SCREEN_VISIBLE_AREA(1 * 8, 31 * 8 - 1, 0 * 8, 32 * 8 - 1)
- MDRV_GFXDECODE(battlane)
- MDRV_PALETTE_LENGTH(64)
-
- MDRV_VIDEO_START(battlane)
- MDRV_VIDEO_UPDATE(battlane)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32 * 8, 32 * 8)
+ MCFG_SCREEN_VISIBLE_AREA(1 * 8, 31 * 8 - 1, 0 * 8, 32 * 8 - 1)
+ MCFG_GFXDECODE(battlane)
+ MCFG_PALETTE_LENGTH(64)
+
+ MCFG_VIDEO_START(battlane)
+ MCFG_VIDEO_UPDATE(battlane)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3526, 3000000)
- MDRV_SOUND_CONFIG(ym3526_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM3526, 3000000)
+ MCFG_SOUND_CONFIG(ym3526_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/battlera.c b/src/mame/drivers/battlera.c
index 9fe0983e9da..620f484e1da 100644
--- a/src/mame/drivers/battlera.c
+++ b/src/mame/drivers/battlera.c
@@ -232,43 +232,43 @@ static const c6280_interface c6280_config =
static MACHINE_CONFIG_START( battlera, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", H6280,21477200/3)
- MDRV_CPU_PROGRAM_MAP(battlera_map)
- MDRV_CPU_IO_MAP(battlera_portmap)
- MDRV_CPU_VBLANK_INT_HACK(battlera_interrupt,256) /* 8 prelines, 232 lines, 16 vblank? */
+ MCFG_CPU_ADD("maincpu", H6280,21477200/3)
+ MCFG_CPU_PROGRAM_MAP(battlera_map)
+ MCFG_CPU_IO_MAP(battlera_portmap)
+ MCFG_CPU_VBLANK_INT_HACK(battlera_interrupt,256) /* 8 prelines, 232 lines, 16 vblank? */
- MDRV_CPU_ADD("audiocpu", H6280,21477200/3)
- MDRV_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_ADD("audiocpu", H6280,21477200/3)
+ MCFG_CPU_PROGRAM_MAP(sound_map)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 30*8-1)
- MDRV_GFXDECODE(battlera)
- MDRV_PALETTE_LENGTH(512)
-
- MDRV_VIDEO_START(battlera)
- MDRV_VIDEO_UPDATE(battlera)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 30*8-1)
+ MCFG_GFXDECODE(battlera)
+ MCFG_PALETTE_LENGTH(512)
+
+ MCFG_VIDEO_START(battlera)
+ MCFG_VIDEO_UPDATE(battlera)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_SOUND_ADD("ymsnd", YM2203, 12000000 / 8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.40)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.40)
+ MCFG_SOUND_ADD("ymsnd", YM2203, 12000000 / 8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.40)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.40)
- MDRV_SOUND_ADD("msm", MSM5205, 384000)
- MDRV_SOUND_CONFIG(msm5205_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.85)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.85)
+ MCFG_SOUND_ADD("msm", MSM5205, 384000)
+ MCFG_SOUND_CONFIG(msm5205_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.85)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.85)
- MDRV_SOUND_ADD("c6280", C6280, 21477270/6)
- MDRV_SOUND_CONFIG(c6280_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.60)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.60)
+ MCFG_SOUND_ADD("c6280", C6280, 21477270/6)
+ MCFG_SOUND_CONFIG(c6280_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.60)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.60)
MACHINE_CONFIG_END
/******************************************************************************/
diff --git a/src/mame/drivers/battlex.c b/src/mame/drivers/battlex.c
index 9e23f48cf3f..03b52738eff 100644
--- a/src/mame/drivers/battlex.c
+++ b/src/mame/drivers/battlex.c
@@ -213,31 +213,31 @@ static MACHINE_RESET( battlex )
static MACHINE_CONFIG_START( battlex, battlex_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80,10000000/2 ) /* 10 MHz, divided ? (Z80A CPU) */
- MDRV_CPU_PROGRAM_MAP(battlex_map)
- MDRV_CPU_IO_MAP(io_map)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,8) /* controls game speed? */
+ MCFG_CPU_ADD("maincpu", Z80,10000000/2 ) /* 10 MHz, divided ? (Z80A CPU) */
+ MCFG_CPU_PROGRAM_MAP(battlex_map)
+ MCFG_CPU_IO_MAP(io_map)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,8) /* controls game speed? */
- MDRV_MACHINE_RESET(battlex)
+ MCFG_MACHINE_RESET(battlex)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(56) /* The video syncs at 15.8k H and 56 V (www.klov.com) */
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(battlex)
- MDRV_PALETTE_LENGTH(16*8+64)
-
- MDRV_PALETTE_INIT(battlex)
- MDRV_VIDEO_START(battlex)
- MDRV_VIDEO_UPDATE(battlex)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(56) /* The video syncs at 15.8k H and 56 V (www.klov.com) */
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(battlex)
+ MCFG_PALETTE_LENGTH(16*8+64)
+
+ MCFG_PALETTE_INIT(battlex)
+ MCFG_VIDEO_START(battlex)
+ MCFG_VIDEO_UPDATE(battlex)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, 10000000/8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, 10000000/8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/battlnts.c b/src/mame/drivers/battlnts.c
index 7243e7f861e..26717741fa6 100644
--- a/src/mame/drivers/battlnts.c
+++ b/src/mame/drivers/battlnts.c
@@ -245,39 +245,39 @@ static MACHINE_RESET( battlnts )
static MACHINE_CONFIG_START( battlnts, battlnts_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", HD6309, XTAL_24MHz / 2 /* 3000000*4? */)
- MDRV_CPU_PROGRAM_MAP(battlnts_map)
- MDRV_CPU_VBLANK_INT("screen", battlnts_interrupt)
+ MCFG_CPU_ADD("maincpu", HD6309, XTAL_24MHz / 2 /* 3000000*4? */)
+ MCFG_CPU_PROGRAM_MAP(battlnts_map)
+ MCFG_CPU_VBLANK_INT("screen", battlnts_interrupt)
- MDRV_CPU_ADD("audiocpu", Z80, XTAL_24MHz / 6 /* 3579545? */)
- MDRV_CPU_PROGRAM_MAP(battlnts_sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_24MHz / 6 /* 3579545? */)
+ MCFG_CPU_PROGRAM_MAP(battlnts_sound_map)
- MDRV_MACHINE_START(battlnts)
- MDRV_MACHINE_RESET(battlnts)
+ MCFG_MACHINE_START(battlnts)
+ MCFG_MACHINE_RESET(battlnts)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(battlnts)
- MDRV_PALETTE_LENGTH(128)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(battlnts)
+ MCFG_PALETTE_LENGTH(128)
- MDRV_VIDEO_UPDATE(battlnts)
+ MCFG_VIDEO_UPDATE(battlnts)
- MDRV_K007342_ADD("k007342", bladestl_k007342_intf)
- MDRV_K007420_ADD("k007420", bladestl_k007420_intf)
+ MCFG_K007342_ADD("k007342", bladestl_k007342_intf)
+ MCFG_K007420_ADD("k007420", bladestl_k007420_intf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ym1", YM3812, XTAL_24MHz / 8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ym1", YM3812, XTAL_24MHz / 8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("ym2", YM3812, XTAL_24MHz / 8)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ym2", YM3812, XTAL_24MHz / 8)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bbusters.c b/src/mame/drivers/bbusters.c
index 61793f557d5..80f9564abdd 100644
--- a/src/mame/drivers/bbusters.c
+++ b/src/mame/drivers/bbusters.c
@@ -681,77 +681,77 @@ static VIDEO_EOF( mechatt )
static MACHINE_CONFIG_START( bbusters, bbusters_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 12000000)
- MDRV_CPU_PROGRAM_MAP(bbusters_map)
- MDRV_CPU_VBLANK_INT("screen", irq6_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 12000000)
+ MCFG_CPU_PROGRAM_MAP(bbusters_map)
+ MCFG_CPU_VBLANK_INT("screen", irq6_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80,4000000) /* Accurate */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80,4000000) /* Accurate */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_portmap)
- MDRV_NVRAM_ADD_0FILL("eeprom")
+ MCFG_NVRAM_ADD_0FILL("eeprom")
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(bbusters)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(bbusters)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_START(bbuster)
- MDRV_VIDEO_UPDATE(bbuster)
- MDRV_VIDEO_EOF(bbuster)
+ MCFG_VIDEO_START(bbuster)
+ MCFG_VIDEO_UPDATE(bbuster)
+ MCFG_VIDEO_EOF(bbuster)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2610, 8000000)
- MDRV_SOUND_CONFIG(ym2610_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(0, "rspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
+ MCFG_SOUND_CONFIG(ym2610_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( mechatt, bbusters_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 12000000)
- MDRV_CPU_PROGRAM_MAP(mechatt_map)
- MDRV_CPU_VBLANK_INT("screen", irq4_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 12000000)
+ MCFG_CPU_PROGRAM_MAP(mechatt_map)
+ MCFG_CPU_VBLANK_INT("screen", irq4_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80,4000000) /* Accurate */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sounda_portmap)
+ MCFG_CPU_ADD("audiocpu", Z80,4000000) /* Accurate */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sounda_portmap)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(mechatt)
- MDRV_PALETTE_LENGTH(1024)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(mechatt)
+ MCFG_PALETTE_LENGTH(1024)
- MDRV_VIDEO_START(mechatt)
- MDRV_VIDEO_UPDATE(mechatt)
- MDRV_VIDEO_EOF(mechatt)
+ MCFG_VIDEO_START(mechatt)
+ MCFG_VIDEO_UPDATE(mechatt)
+ MCFG_VIDEO_EOF(mechatt)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
- MDRV_SOUND_ADD("ymsnd", YM2608, 8000000)
- MDRV_SOUND_CONFIG(ym2608_config)
- MDRV_SOUND_ROUTE(0, "lspeaker", 0.50)
- MDRV_SOUND_ROUTE(0, "rspeaker", 0.50)
- MDRV_SOUND_ROUTE(1, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(2, "rspeaker", 1.0)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+
+ MCFG_SOUND_ADD("ymsnd", YM2608, 8000000)
+ MCFG_SOUND_CONFIG(ym2608_config)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
+ MCFG_SOUND_ROUTE(0, "rspeaker", 0.50)
+ MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(2, "rspeaker", 1.0)
MACHINE_CONFIG_END
/******************************************************************************/
diff --git a/src/mame/drivers/beaminv.c b/src/mame/drivers/beaminv.c
index 6594ec1ea37..bf026aaccdf 100644
--- a/src/mame/drivers/beaminv.c
+++ b/src/mame/drivers/beaminv.c
@@ -330,21 +330,21 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( beaminv, beaminv_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, 2000000) /* 2 MHz ? */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_io_map)
+ MCFG_CPU_ADD("maincpu", Z80, 2000000) /* 2 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_io_map)
- MDRV_MACHINE_START(beaminv)
- MDRV_MACHINE_RESET(beaminv)
+ MCFG_MACHINE_START(beaminv)
+ MCFG_MACHINE_RESET(beaminv)
/* video hardware */
- MDRV_VIDEO_UPDATE(beaminv)
+ MCFG_VIDEO_UPDATE(beaminv)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(256, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 247, 16, 231)
- MDRV_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(256, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 247, 16, 231)
+ MCFG_SCREEN_REFRESH_RATE(60)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/beathead.c b/src/mame/drivers/beathead.c
index 75f65f127af..07bc6c23e63 100644
--- a/src/mame/drivers/beathead.c
+++ b/src/mame/drivers/beathead.c
@@ -401,25 +401,25 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( beathead, beathead_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", ASAP, ATARI_CLOCK_14MHz)
- MDRV_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_ADD("maincpu", ASAP, ATARI_CLOCK_14MHz)
+ MCFG_CPU_PROGRAM_MAP(main_map)
- MDRV_NVRAM_ADD_1FILL("nvram")
+ MCFG_NVRAM_ADD_1FILL("nvram")
- MDRV_TIMER_ADD("scan_timer", scanline_callback)
+ MCFG_TIMER_ADD("scan_timer", scanline_callback)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(42*8, 262)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 42*8-1, 0*8, 30*8-1)
- MDRV_PALETTE_LENGTH(32768)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(42*8, 262)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 42*8-1, 0*8, 30*8-1)
+ MCFG_PALETTE_LENGTH(32768)
/* sound hardware */
- MDRV_FRAGMENT_ADD(jsa_iii_mono)
+ MCFG_FRAGMENT_ADD(jsa_iii_mono)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/beezer.c b/src/mame/drivers/beezer.c
index 320001fd9a2..73b4a77a7b7 100644
--- a/src/mame/drivers/beezer.c
+++ b/src/mame/drivers/beezer.c
@@ -75,33 +75,33 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( beezer, beezer_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M6809, 1000000) /* 1 MHz */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT_HACK(beezer_interrupt,128)
+ MCFG_CPU_ADD("maincpu", M6809, 1000000) /* 1 MHz */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT_HACK(beezer_interrupt,128)
- MDRV_CPU_ADD("audiocpu", M6809, 1000000) /* 1 MHz */
- MDRV_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_ADD("audiocpu", M6809, 1000000) /* 1 MHz */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(256, 384)
- MDRV_SCREEN_VISIBLE_AREA(0, 256-1, 16, 303)
- MDRV_PALETTE_LENGTH(16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(256, 384)
+ MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 16, 303)
+ MCFG_PALETTE_LENGTH(16)
- MDRV_VIDEO_UPDATE(beezer)
+ MCFG_VIDEO_UPDATE(beezer)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("dac", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
/* via */
- MDRV_VIA6522_ADD("via6522_0", 0, b_via_0_interface)
- MDRV_VIA6522_ADD("via6522_1", 0, b_via_1_interface)
+ MCFG_VIA6522_ADD("via6522_0", 0, b_via_0_interface)
+ MCFG_VIA6522_ADD("via6522_1", 0, b_via_1_interface)
MACHINE_CONFIG_END
/***************************************************************************
diff --git a/src/mame/drivers/berzerk.c b/src/mame/drivers/berzerk.c
index b3df6135966..33ec86e1b38 100644
--- a/src/mame/drivers/berzerk.c
+++ b/src/mame/drivers/berzerk.c
@@ -1047,41 +1047,41 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( berzerk, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MAIN_CPU_CLOCK)
- MDRV_CPU_PROGRAM_MAP(berzerk_map)
- MDRV_CPU_IO_MAP(berzerk_io_map)
+ MCFG_CPU_ADD("maincpu", Z80, MAIN_CPU_CLOCK)
+ MCFG_CPU_PROGRAM_MAP(berzerk_map)
+ MCFG_CPU_IO_MAP(berzerk_io_map)
- MDRV_MACHINE_START(berzerk)
- MDRV_MACHINE_RESET(berzerk)
+ MCFG_MACHINE_START(berzerk)
+ MCFG_MACHINE_RESET(berzerk)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_VIDEO_START(berzerk)
- MDRV_VIDEO_UPDATE(berzerk)
+ MCFG_VIDEO_START(berzerk)
+ MCFG_VIDEO_UPDATE(berzerk)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
/* audio hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_RESET(berzerk)
+ MCFG_SOUND_RESET(berzerk)
- MDRV_SOUND_ADD("speech", S14001A, 0) /* placeholder - the clock is software controllable */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("speech", S14001A, 0) /* placeholder - the clock is software controllable */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("exidy", EXIDY, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("exidy", EXIDY, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( frenzy, berzerk )
/* basic machine hardware */
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(frenzy_map)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(frenzy_map)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bestleag.c b/src/mame/drivers/bestleag.c
index 91d82e3b744..53e317fd297 100644
--- a/src/mame/drivers/bestleag.c
+++ b/src/mame/drivers/bestleag.c
@@ -329,33 +329,33 @@ static GFXDECODE_START( bestleag )
GFXDECODE_END
static MACHINE_CONFIG_START( bestleag, driver_device )
- MDRV_CPU_ADD("maincpu", M68000, 12000000)
- MDRV_CPU_PROGRAM_MAP(bestleag_map)
- MDRV_CPU_VBLANK_INT("screen", irq6_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 12000000)
+ MCFG_CPU_PROGRAM_MAP(bestleag_map)
+ MCFG_CPU_VBLANK_INT("screen", irq6_line_hold)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(bestleag)
- MDRV_PALETTE_LENGTH(0x800)
+ MCFG_GFXDECODE(bestleag)
+ MCFG_PALETTE_LENGTH(0x800)
- MDRV_VIDEO_START(bestleag)
- MDRV_VIDEO_UPDATE(bestleag)
+ MCFG_VIDEO_START(bestleag)
+ MCFG_VIDEO_UPDATE(bestleag)
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MDRV_OKIM6295_ADD("oki", 1000000, OKIM6295_PIN7_HIGH) /* Hand-tuned */
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00)
+ MCFG_OKIM6295_ADD("oki", 1000000, OKIM6295_PIN7_HIGH) /* Hand-tuned */
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.00)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( bestleaw, bestleag )
- MDRV_VIDEO_UPDATE(bestleaw)
+ MCFG_VIDEO_UPDATE(bestleaw)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bfcobra.c b/src/mame/drivers/bfcobra.c
index a823f731fa7..d743b8964c1 100644
--- a/src/mame/drivers/bfcobra.c
+++ b/src/mame/drivers/bfcobra.c
@@ -1731,43 +1731,43 @@ static INTERRUPT_GEN( vblank_gen )
}
static MACHINE_CONFIG_START( bfcobra, driver_device )
- MDRV_CPU_ADD("maincpu", Z80, Z80_XTAL)
- MDRV_CPU_PROGRAM_MAP(z80_prog_map)
- MDRV_CPU_IO_MAP(z80_io_map)
- MDRV_CPU_VBLANK_INT("screen", vblank_gen)
+ MCFG_CPU_ADD("maincpu", Z80, Z80_XTAL)
+ MCFG_CPU_PROGRAM_MAP(z80_prog_map)
+ MCFG_CPU_IO_MAP(z80_io_map)
+ MCFG_CPU_VBLANK_INT("screen", vblank_gen)
- MDRV_CPU_ADD("audiocpu", M6809, M6809_XTAL)
- MDRV_CPU_PROGRAM_MAP(m6809_prog_map)
- MDRV_CPU_PERIODIC_INT(timer_irq, 1000)
+ MCFG_CPU_ADD("audiocpu", M6809, M6809_XTAL)
+ MCFG_CPU_PROGRAM_MAP(m6809_prog_map)
+ MCFG_CPU_PERIODIC_INT(timer_irq, 1000)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_MACHINE_RESET(bfcobra)
+ MCFG_MACHINE_RESET(bfcobra)
/* TODO */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(50)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(512, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 512 - 1, 0, 256 - 1)
- MDRV_PALETTE_LENGTH(256)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(50)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(512, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 512 - 1, 0, 256 - 1)
+ MCFG_PALETTE_LENGTH(256)
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, M6809_XTAL)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
+ MCFG_SOUND_ADD("aysnd", AY8910, M6809_XTAL)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
- MDRV_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
+ MCFG_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
- MDRV_VIDEO_START(bfcobra)
- MDRV_VIDEO_UPDATE(bfcobra)
+ MCFG_VIDEO_START(bfcobra)
+ MCFG_VIDEO_UPDATE(bfcobra)
/* ACIAs */
- MDRV_ACIA6850_ADD("acia6850_0", z80_acia_if)
- MDRV_ACIA6850_ADD("acia6850_1", m6809_acia_if)
- MDRV_ACIA6850_ADD("acia6850_2", data_acia_if)
+ MCFG_ACIA6850_ADD("acia6850_0", z80_acia_if)
+ MCFG_ACIA6850_ADD("acia6850_1", m6809_acia_if)
+ MCFG_ACIA6850_ADD("acia6850_2", data_acia_if)
MACHINE_CONFIG_END
/***************************************************************************
diff --git a/src/mame/drivers/bfm_sc1.c b/src/mame/drivers/bfm_sc1.c
index 91a1100aca2..29c1688795b 100644
--- a/src/mame/drivers/bfm_sc1.c
+++ b/src/mame/drivers/bfm_sc1.c
@@ -1242,17 +1242,17 @@ INPUT_PORTS_END
/////////////////////////////////////////////////////////////////////////////////////
static MACHINE_CONFIG_START( scorpion1, driver_device )
- MDRV_MACHINE_RESET(bfm_sc1) // main scorpion1 board initialisation
- MDRV_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4) // 6809 CPU at 1 Mhz
- MDRV_CPU_PROGRAM_MAP(memmap) // setup read and write memorymap
- MDRV_CPU_PERIODIC_INT(timer_irq, 1000 ) // generate 1000 IRQ's per second
+ MCFG_MACHINE_RESET(bfm_sc1) // main scorpion1 board initialisation
+ MCFG_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4) // 6809 CPU at 1 Mhz
+ MCFG_CPU_PROGRAM_MAP(memmap) // setup read and write memorymap
+ MCFG_CPU_PERIODIC_INT(timer_irq, 1000 ) // generate 1000 IRQ's per second
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd",AY8912, MASTER_CLOCK/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd",AY8912, MASTER_CLOCK/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
- MDRV_NVRAM_ADD_0FILL("nvram")
- MDRV_DEFAULT_LAYOUT(layout_awpvid14)
+ MCFG_NVRAM_ADD_0FILL("nvram")
+ MCFG_DEFAULT_LAYOUT(layout_awpvid14)
MACHINE_CONFIG_END
/////////////////////////////////////////////////////////////////////////////////////
@@ -1261,28 +1261,28 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( scorpion1_adder2, scorpion1 )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(memmap_adder2) // setup read and write memorymap
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(memmap_adder2) // setup read and write memorymap
- MDRV_DEFAULT_LAYOUT(layout_bfm_sc1)
- MDRV_SCREEN_ADD("adder", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_REFRESH_RATE(50)
- MDRV_SCREEN_SIZE( 400, 300)
- MDRV_SCREEN_VISIBLE_AREA( 0, 400-1, 0, 300-1)
+ MCFG_DEFAULT_LAYOUT(layout_bfm_sc1)
+ MCFG_SCREEN_ADD("adder", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_REFRESH_RATE(50)
+ MCFG_SCREEN_SIZE( 400, 300)
+ MCFG_SCREEN_VISIBLE_AREA( 0, 400-1, 0, 300-1)
- MDRV_VIDEO_START( adder2)
- MDRV_VIDEO_RESET( adder2)
- MDRV_VIDEO_UPDATE(adder2)
+ MCFG_VIDEO_START( adder2)
+ MCFG_VIDEO_RESET( adder2)
+ MCFG_VIDEO_UPDATE(adder2)
- MDRV_PALETTE_LENGTH(16)
+ MCFG_PALETTE_LENGTH(16)
- MDRV_PALETTE_INIT(adder2)
- MDRV_GFXDECODE(adder2)
+ MCFG_PALETTE_INIT(adder2)
+ MCFG_GFXDECODE(adder2)
- MDRV_CPU_ADD("adder2", M6809, ADDER_CLOCK/4 ) // adder2 board 6809 CPU at 2 Mhz
- MDRV_CPU_PROGRAM_MAP(adder2_memmap) // setup adder2 board memorymap
- MDRV_CPU_VBLANK_INT("adder",adder2_vbl) // board has a VBL IRQ
+ MCFG_CPU_ADD("adder2", M6809, ADDER_CLOCK/4 ) // adder2 board 6809 CPU at 2 Mhz
+ MCFG_CPU_PROGRAM_MAP(adder2_memmap) // setup adder2 board memorymap
+ MCFG_CPU_VBLANK_INT("adder",adder2_vbl) // board has a VBL IRQ
MACHINE_CONFIG_END
/////////////////////////////////////////////////////////////////////////////////////
@@ -1290,11 +1290,11 @@ MACHINE_CONFIG_END
/////////////////////////////////////////////////////////////////////////////////////
static MACHINE_CONFIG_DERIVED( scorpion1_nec_uk, scorpion1 )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(sc1_nec_uk) // setup read and write memorymap
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(sc1_nec_uk) // setup read and write memorymap
- MDRV_SOUND_ADD("upd",UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("upd",UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
// ROM definition ///////////////////////////////////////////////////////////////////
diff --git a/src/mame/drivers/bfm_sc2.c b/src/mame/drivers/bfm_sc2.c
index d5b11de7537..1189bc733fd 100644
--- a/src/mame/drivers/bfm_sc2.c
+++ b/src/mame/drivers/bfm_sc2.c
@@ -2215,40 +2215,40 @@ INPUT_PORTS_END
///////////////////////////////////////////////////////////////////////////
static MACHINE_CONFIG_START( scorpion2_vid, driver_device )
- MDRV_MACHINE_RESET( init ) // main scorpion2 board initialisation
- MDRV_QUANTUM_TIME(HZ(960)) // needed for serial communication !!
- MDRV_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4 ) // 6809 CPU at 2 Mhz
- MDRV_CPU_PROGRAM_MAP(memmap_vid) // setup scorpion2 board memorymap
- MDRV_CPU_PERIODIC_INT(timer_irq, 1000) // generate 1000 IRQ's per second
-
- MDRV_NVRAM_ADD_0FILL("nvram")
- MDRV_NVRAM_HANDLER(bfm_sc2)
- MDRV_DEFAULT_LAYOUT(layout_bfm_sc2)
-
- MDRV_SCREEN_ADD("adder", RASTER)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE( 400, 280)
- MDRV_SCREEN_VISIBLE_AREA( 0, 400-1, 0, 280-1)
- MDRV_SCREEN_REFRESH_RATE(50)
-
- MDRV_VIDEO_START( adder2)
- MDRV_VIDEO_RESET( adder2)
- MDRV_VIDEO_UPDATE(addersc2)
-
- MDRV_PALETTE_LENGTH(16)
- MDRV_PALETTE_INIT(adder2)
- MDRV_GFXDECODE(adder2)
-
- MDRV_CPU_ADD("adder2", M6809, MASTER_CLOCK/4 ) // adder2 board 6809 CPU at 2 Mhz
- MDRV_CPU_PROGRAM_MAP(adder2_memmap) // setup adder2 board memorymap
- MDRV_CPU_VBLANK_INT("adder", adder2_vbl) // board has a VBL IRQ
-
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
-
- MDRV_SOUND_ADD("ymsnd", YM2413, XTAL_3_579545MHz)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_MACHINE_RESET( init ) // main scorpion2 board initialisation
+ MCFG_QUANTUM_TIME(HZ(960)) // needed for serial communication !!
+ MCFG_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4 ) // 6809 CPU at 2 Mhz
+ MCFG_CPU_PROGRAM_MAP(memmap_vid) // setup scorpion2 board memorymap
+ MCFG_CPU_PERIODIC_INT(timer_irq, 1000) // generate 1000 IRQ's per second
+
+ MCFG_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_HANDLER(bfm_sc2)
+ MCFG_DEFAULT_LAYOUT(layout_bfm_sc2)
+
+ MCFG_SCREEN_ADD("adder", RASTER)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE( 400, 280)
+ MCFG_SCREEN_VISIBLE_AREA( 0, 400-1, 0, 280-1)
+ MCFG_SCREEN_REFRESH_RATE(50)
+
+ MCFG_VIDEO_START( adder2)
+ MCFG_VIDEO_RESET( adder2)
+ MCFG_VIDEO_UPDATE(addersc2)
+
+ MCFG_PALETTE_LENGTH(16)
+ MCFG_PALETTE_INIT(adder2)
+ MCFG_GFXDECODE(adder2)
+
+ MCFG_CPU_ADD("adder2", M6809, MASTER_CLOCK/4 ) // adder2 board 6809 CPU at 2 Mhz
+ MCFG_CPU_PROGRAM_MAP(adder2_memmap) // setup adder2 board memorymap
+ MCFG_CPU_VBLANK_INT("adder", adder2_vbl) // board has a VBL IRQ
+
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+
+ MCFG_SOUND_ADD("ymsnd", YM2413, XTAL_3_579545MHz)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
static void sc2_common_init(running_machine *machine, int decrypt)
@@ -3967,56 +3967,56 @@ INPUT_PORTS_END
/* machine driver for scorpion2 board */
static MACHINE_CONFIG_START( scorpion2, driver_device )
- MDRV_MACHINE_RESET(awp_init)
- MDRV_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4 )
- MDRV_CPU_PROGRAM_MAP(sc2_memmap)
- MDRV_CPU_PERIODIC_INT(timer_irq, 1000 )
+ MCFG_MACHINE_RESET(awp_init)
+ MCFG_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4 )
+ MCFG_CPU_PROGRAM_MAP(sc2_memmap)
+ MCFG_CPU_PERIODIC_INT(timer_irq, 1000 )
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("upd",UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("upd",UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("ymsnd",YM2413, XTAL_3_579545MHz)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("ymsnd",YM2413, XTAL_3_579545MHz)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_NVRAM_ADD_0FILL("nvram")
- MDRV_NVRAM_HANDLER(bfm_sc2)
+ MCFG_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_HANDLER(bfm_sc2)
/* video hardware */
- MDRV_DEFAULT_LAYOUT(layout_awpvid14)
+ MCFG_DEFAULT_LAYOUT(layout_awpvid14)
MACHINE_CONFIG_END
/* machine driver for scorpion3 board */
static MACHINE_CONFIG_DERIVED( scorpion3, scorpion2 )
- MDRV_CPU_MODIFY("maincpu")
- MDRV_CPU_PROGRAM_MAP(sc3_memmap)
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(sc3_memmap)
MACHINE_CONFIG_END
/* machine driver for scorpion2 board + matrix board */
static MACHINE_CONFIG_START( scorpion2_dm01, driver_device )
- MDRV_MACHINE_RESET(dm01_init)
- MDRV_QUANTUM_TIME(HZ(960)) // needed for serial communication !!
- MDRV_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4 )
- MDRV_CPU_PROGRAM_MAP(memmap_sc2_dm01)
- MDRV_CPU_PERIODIC_INT(timer_irq, 1000 )
+ MCFG_MACHINE_RESET(dm01_init)
+ MCFG_QUANTUM_TIME(HZ(960)) // needed for serial communication !!
+ MCFG_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4 )
+ MCFG_CPU_PROGRAM_MAP(memmap_sc2_dm01)
+ MCFG_CPU_PERIODIC_INT(timer_irq, 1000 )
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd",YM2413, XTAL_3_579545MHz)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("ymsnd",YM2413, XTAL_3_579545MHz)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("upd",UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("upd",UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_NVRAM_ADD_0FILL("nvram")
- MDRV_NVRAM_HANDLER(bfm_sc2)
+ MCFG_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_HANDLER(bfm_sc2)
/* video hardware */
- MDRV_DEFAULT_LAYOUT(layout_awpdmd)
- MDRV_CPU_ADD("matrix", M6809, 2000000 ) /* matrix board 6809 CPU at 2 Mhz ?? I don't know the exact freq.*/
- MDRV_CPU_PROGRAM_MAP(bfm_dm01_memmap)
- MDRV_CPU_PERIODIC_INT(bfm_dm01_vbl, 1500 ) /* generate 1500 NMI's per second ?? what is the exact freq?? */
+ MCFG_DEFAULT_LAYOUT(layout_awpdmd)
+ MCFG_CPU_ADD("matrix", M6809, 2000000 ) /* matrix board 6809 CPU at 2 Mhz ?? I don't know the exact freq.*/
+ MCFG_CPU_PROGRAM_MAP(bfm_dm01_memmap)
+ MCFG_CPU_PERIODIC_INT(bfm_dm01_vbl, 1500 ) /* generate 1500 NMI's per second ?? what is the exact freq?? */
MACHINE_CONFIG_END
static void sc2awp_common_init(running_machine *machine,int reels, int decrypt)
diff --git a/src/mame/drivers/bfmsys85.c b/src/mame/drivers/bfmsys85.c
index 1ddd9da5e41..2562763faac 100644
--- a/src/mame/drivers/bfmsys85.c
+++ b/src/mame/drivers/bfmsys85.c
@@ -435,21 +435,21 @@ ADDRESS_MAP_END
// machine driver for system85 board //////////////////////////////////////
static MACHINE_CONFIG_START( bfmsys85, driver_device )
- MDRV_MACHINE_START(bfm_sys85) // main system85 board initialisation
- MDRV_MACHINE_RESET(bfm_sys85)
- MDRV_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4) // 6809 CPU at 1 Mhz
- MDRV_CPU_PROGRAM_MAP(memmap) // setup read and write memorymap
- MDRV_CPU_PERIODIC_INT(timer_irq, 1000 ) // generate 1000 IRQ's per second
+ MCFG_MACHINE_START(bfm_sys85) // main system85 board initialisation
+ MCFG_MACHINE_RESET(bfm_sys85)
+ MCFG_CPU_ADD("maincpu", M6809, MASTER_CLOCK/4) // 6809 CPU at 1 Mhz
+ MCFG_CPU_PROGRAM_MAP(memmap) // setup read and write memorymap
+ MCFG_CPU_PERIODIC_INT(timer_irq, 1000 ) // generate 1000 IRQ's per second
- MDRV_ACIA6850_ADD("acia6850_0", m6809_acia_if)
+ MCFG_ACIA6850_ADD("acia6850_0", m6809_acia_if)
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd",AY8912, MASTER_CLOCK/4) // add AY8912 soundchip
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd",AY8912, MASTER_CLOCK/4) // add AY8912 soundchip
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
- MDRV_NVRAM_ADD_0FILL("nvram") // load/save nv RAM
+ MCFG_NVRAM_ADD_0FILL("nvram") // load/save nv RAM
- MDRV_DEFAULT_LAYOUT(layout_awpvid16)
+ MCFG_DEFAULT_LAYOUT(layout_awpvid16)
MACHINE_CONFIG_END
// input ports for system85 board /////////////////////////////////////////
diff --git a/src/mame/drivers/big10.c b/src/mame/drivers/big10.c
index ee1ff967d5f..26b3e11368a 100644
--- a/src/mame/drivers/big10.c
+++ b/src/mame/drivers/big10.c
@@ -241,34 +241,34 @@ static const ay8910_interface ay8910_config =
static MACHINE_CONFIG_START( big10, driver_device )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK/6) /* guess */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(main_io)
- MDRV_CPU_VBLANK_INT_HACK(big10_interrupt, 262)
+ MCFG_CPU_ADD("maincpu", Z80, MASTER_CLOCK/6) /* guess */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(main_io)
+ MCFG_CPU_VBLANK_INT_HACK(big10_interrupt, 262)
- MDRV_MACHINE_RESET(big10)
+ MCFG_MACHINE_RESET(big10)
- MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_NVRAM_ADD_0FILL("nvram")
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512 + 32, (212 + 28) * 2)
- MDRV_SCREEN_VISIBLE_AREA(0, 512 + 32 - 1, 0, (212 + 28) * 2 - 1)
+ MCFG_SCREEN_SIZE(512 + 32, (212 + 28) * 2)
+ MCFG_SCREEN_VISIBLE_AREA(0, 512 + 32 - 1, 0, (212 + 28) * 2 - 1)
- MDRV_PALETTE_LENGTH(512)
- MDRV_PALETTE_INIT(v9938)
- MDRV_VIDEO_START(big10)
- MDRV_VIDEO_UPDATE(generic_bitmapped)
+ MCFG_PALETTE_LENGTH(512)
+ MCFG_PALETTE_INIT(v9938)
+ MCFG_VIDEO_START(big10)
+ MCFG_VIDEO_UPDATE(generic_bitmapped)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("aysnd", AY8910, MASTER_CLOCK/12) /* guess */
- MDRV_SOUND_CONFIG(ay8910_config)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("aysnd", AY8910, MASTER_CLOCK/12) /* guess */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bigevglf.c b/src/mame/drivers/bigevglf.c
index 82d1b58be04..90c72309f78 100644
--- a/src/mame/drivers/bigevglf.c
+++ b/src/mame/drivers/bigevglf.c
@@ -506,58 +506,58 @@ static MACHINE_RESET( bigevglf )
static MACHINE_CONFIG_START( bigevglf, bigevglf_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", Z80,10000000/2) /* 5 MHz ? */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_IO_MAP(bigevglf_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) /* vblank */
-
- MDRV_CPU_ADD("sub", Z80,10000000/2) /* 5 MHz ? */
- MDRV_CPU_PROGRAM_MAP(sub_map)
- MDRV_CPU_IO_MAP(bigevglf_sub_portmap)
- MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) /* vblank */
-
- MDRV_CPU_ADD("audiocpu", Z80,8000000/2) /* 4 MHz ? */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2) /* IRQ generated by ???;
+ MCFG_CPU_ADD("maincpu", Z80,10000000/2) /* 5 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_IO_MAP(bigevglf_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) /* vblank */
+
+ MCFG_CPU_ADD("sub", Z80,10000000/2) /* 5 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(sub_map)
+ MCFG_CPU_IO_MAP(bigevglf_sub_portmap)
+ MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) /* vblank */
+
+ MCFG_CPU_ADD("audiocpu", Z80,8000000/2) /* 4 MHz ? */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,2) /* IRQ generated by ???;
2 irqs/frame give good music tempo but also SOUND ERROR in test mode,
4 irqs/frame give SOUND OK in test mode but music seems to be running too fast */
- MDRV_CPU_ADD("mcu", M68705,2000000) /* ??? */
- MDRV_CPU_PROGRAM_MAP(m68705_map)
+ MCFG_CPU_ADD("mcu", M68705,2000000) /* ??? */
+ MCFG_CPU_PROGRAM_MAP(m68705_map)
- MDRV_QUANTUM_TIME(HZ(600)) /* 10 CPU slices per frame - interleaving is forced on the fly */
+ MCFG_QUANTUM_TIME(HZ(600)) /* 10 CPU slices per frame - interleaving is forced on the fly */
- MDRV_MACHINE_START(bigevglf)
- MDRV_MACHINE_RESET(bigevglf)
+ MCFG_MACHINE_START(bigevglf)
+ MCFG_MACHINE_RESET(bigevglf)
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(bigevglf)
- MDRV_PALETTE_LENGTH(0x800)
- MDRV_VIDEO_START(bigevglf)
- MDRV_VIDEO_UPDATE(bigevglf)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(bigevglf)
+ MCFG_PALETTE_LENGTH(0x800)
+ MCFG_VIDEO_START(bigevglf)
+ MCFG_VIDEO_UPDATE(bigevglf)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("aysnd", AY8910, 8000000/4)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15) /* YM2149 really */
-
- MDRV_SOUND_ADD("msm", MSM5232, 8000000/4)
- MDRV_SOUND_CONFIG(msm5232_config)
- MDRV_SOUND_ROUTE(0, "mono", 1.0) // pin 28 2'-1
- MDRV_SOUND_ROUTE(1, "mono", 1.0) // pin 29 4'-1
- MDRV_SOUND_ROUTE(2, "mono", 1.0) // pin 30 8'-1
- MDRV_SOUND_ROUTE(3, "mono", 1.0) // pin 31 16'-1
- MDRV_SOUND_ROUTE(4, "mono", 1.0) // pin 36 2'-2
- MDRV_SOUND_ROUTE(5, "mono", 1.0) // pin 35 4'-2
- MDRV_SOUND_ROUTE(6, "mono", 1.0) // pin 34 8'-2
- MDRV_SOUND_ROUTE(7, "mono", 1.0) // pin 33 16'-2
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("aysnd", AY8910, 8000000/4)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15) /* YM2149 really */
+
+ MCFG_SOUND_ADD("msm", MSM5232, 8000000/4)
+ MCFG_SOUND_CONFIG(msm5232_config)
+ MCFG_SOUND_ROUTE(0, "mono", 1.0) // pin 28 2'-1
+ MCFG_SOUND_ROUTE(1, "mono", 1.0) // pin 29 4'-1
+ MCFG_SOUND_ROUTE(2, "mono", 1.0) // pin 30 8'-1
+ MCFG_SOUND_ROUTE(3, "mono", 1.0) // pin 31 16'-1
+ MCFG_SOUND_ROUTE(4, "mono", 1.0) // pin 36 2'-2
+ MCFG_SOUND_ROUTE(5, "mono", 1.0) // pin 35 4'-2
+ MCFG_SOUND_ROUTE(6, "mono", 1.0) // pin 34 8'-2
+ MCFG_SOUND_ROUTE(7, "mono", 1.0) // pin 33 16'-2
// pin 1 SOLO 8' not mapped
// pin 2 SOLO 16' not mapped
// pin 22 Noise Output not mapped
diff --git a/src/mame/drivers/bigfghtr.c b/src/mame/drivers/bigfghtr.c
index 1d36eecceb8..854f60c479a 100644
--- a/src/mame/drivers/bigfghtr.c
+++ b/src/mame/drivers/bigfghtr.c
@@ -680,46 +680,46 @@ static MACHINE_RESET( bigfghtr )
static MACHINE_CONFIG_START( bigfghtr, bigfghtr_state )
- MDRV_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
- MDRV_CPU_PROGRAM_MAP(mainmem)
+ MCFG_CPU_ADD("maincpu", M68000, 8000000) /* 8 MHz?? */
+ MCFG_CPU_PROGRAM_MAP(mainmem)
- MDRV_CPU_VBLANK_INT("screen", irq1_line_hold)
+ MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
- MDRV_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
- MDRV_CPU_PROGRAM_MAP(soundmem)
- MDRV_CPU_IO_MAP(soundport)
- MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
+ MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz???? */
+ MCFG_CPU_PROGRAM_MAP(soundmem)
+ MCFG_CPU_IO_MAP(soundport)
+ MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
- MDRV_MACHINE_START(bigfghtr)
- MDRV_MACHINE_RESET(bigfghtr )
+ MCFG_MACHINE_START(bigfghtr)
+ MCFG_MACHINE_RESET(bigfghtr )
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(57)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
- MDRV_GFXDECODE(bigfghtr)
- MDRV_PALETTE_LENGTH(2048)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(57)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
+ MCFG_GFXDECODE(bigfghtr)
+ MCFG_PALETTE_LENGTH(2048)
- MDRV_VIDEO_EOF(bigfghtr)
- MDRV_VIDEO_START(bigfghtr)
- MDRV_VIDEO_UPDATE(bigfghtr)
+ MCFG_VIDEO_EOF(bigfghtr)
+ MCFG_VIDEO_START(bigfghtr)
+ MCFG_VIDEO_UPDATE(bigfghtr)
/* sound hardware */
- MDRV_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("ymsnd", YM3812, 4000000)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SOUND_ADD("ymsnd", YM3812, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MDRV_SOUND_ADD("dac1", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac1", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MDRV_SOUND_ADD("dac2", DAC, 0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("dac2", DAC, 0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bigstrkb.c b/src/mame/drivers/bigstrkb.c
index dc97395d898..5296434e741 100644
--- a/src/mame/drivers/bigstrkb.c
+++ b/src/mame/drivers/bigstrkb.c
@@ -196,35 +196,35 @@ GFXDECODE_END
static MACHINE_CONFIG_START( bigstrkb, bigstrkb_state )
- MDRV_CPU_ADD("maincpu", M68000, 12000000)
- MDRV_CPU_PROGRAM_MAP(bigstrkb_map)
- MDRV_CPU_VBLANK_INT("screen", irq6_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000, 12000000)
+ MCFG_CPU_PROGRAM_MAP(bigstrkb_map)
+ MCFG_CPU_VBLANK_INT("screen", irq6_line_hold)
- MDRV_GFXDECODE(bigstrkb)
+ MCFG_GFXDECODE(bigstrkb)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_PALETTE_LENGTH(0x400)
+ MCFG_PALETTE_LENGTH(0x400)
- MDRV_VIDEO_START(bigstrkb)
- MDRV_VIDEO_UPDATE(bigstrkb)
+ MCFG_VIDEO_START(bigstrkb)
+ MCFG_VIDEO_UPDATE(bigstrkb)
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-// MDRV_SOUND_ADD("ymsnd", YM2151, ym2151_config)
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+// MCFG_SOUND_ADD("ymsnd", YM2151, ym2151_config)
- MDRV_OKIM6295_ADD("oki1", 4000000, OKIM6295_PIN7_HIGH)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.30)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.30)
+ MCFG_OKIM6295_ADD("oki1", 4000000, OKIM6295_PIN7_HIGH)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.30)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.30)
- MDRV_OKIM6295_ADD("oki2", 4000000, OKIM6295_PIN7_HIGH)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.30)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.30)
+ MCFG_OKIM6295_ADD("oki2", 4000000, OKIM6295_PIN7_HIGH)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.30)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.30)
MACHINE_CONFIG_END
/* Rom Loading */
diff --git a/src/mame/drivers/bingoc.c b/src/mame/drivers/bingoc.c
index b2deecec3e9..7d4931b97e7 100644
--- a/src/mame/drivers/bingoc.c
+++ b/src/mame/drivers/bingoc.c
@@ -127,39 +127,39 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( bingoc, driver_device )
- MDRV_CPU_ADD("maincpu", M68000,8000000) /* ? MHz */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
+ MCFG_CPU_ADD("maincpu", M68000,8000000) /* ? MHz */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
- MDRV_CPU_ADD("soundcpu", Z80,4000000) /* ? MHz */
- MDRV_CPU_PROGRAM_MAP(sound_map)
- MDRV_CPU_IO_MAP(sound_io)
+ MCFG_CPU_ADD("soundcpu", Z80,4000000) /* ? MHz */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_IO_MAP(sound_io)
#if SOUND_TEST
- MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
+ MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
#endif
/* video hardware */
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(512, 256)
- MDRV_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(512, 256)
+ MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
- MDRV_PALETTE_LENGTH(0x100)
+ MCFG_PALETTE_LENGTH(0x100)
- MDRV_VIDEO_START(bingoc)
- MDRV_VIDEO_UPDATE(bingoc)
+ MCFG_VIDEO_START(bingoc)
+ MCFG_VIDEO_UPDATE(bingoc)
- MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") //might just be mono...
+ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") //might just be mono...
- MDRV_SOUND_ADD("ymsnd", YM2151, 7159160/2)
- MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("ymsnd", YM2151, 7159160/2)
+ MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
- MDRV_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
+ MCFG_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MACHINE_CONFIG_END
ROM_START( bingoc )
diff --git a/src/mame/drivers/bingor.c b/src/mame/drivers/bingor.c
index 56d7c4d5864..50a07c82c37 100644
--- a/src/mame/drivers/bingor.c
+++ b/src/mame/drivers/bingor.c
@@ -603,35 +603,35 @@ GFXDECODE_END
static MACHINE_CONFIG_START( bingor, driver_device )
- MDRV_CPU_ADD("maincpu", I80186, 14000000 ) //?? Mhz
- MDRV_CPU_PROGRAM_MAP(bingor_map)
- MDRV_CPU_IO_MAP(bingor_io)
- MDRV_CPU_VBLANK_INT("screen", vblank_irq)
- MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 30)
- MDRV_CPU_PERIODIC_INT(unk_irq, 30)
+ MCFG_CPU_ADD("maincpu", I80186, 14000000 ) //?? Mhz
+ MCFG_CPU_PROGRAM_MAP(bingor_map)
+ MCFG_CPU_IO_MAP(bingor_io)
+ MCFG_CPU_VBLANK_INT("screen", vblank_irq)
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 30)
+ MCFG_CPU_PERIODIC_INT(unk_irq, 30)
- MDRV_CPU_ADD("pic", PIC16C57, 12000000) //?? Mhz
- MDRV_CPU_IO_MAP(pic_io_map)
+ MCFG_CPU_ADD("pic", PIC16C57, 12000000) //?? Mhz
+ MCFG_CPU_IO_MAP(pic_io_map)
- MDRV_GFXDECODE(bingor)
- //MDRV_NVRAM_ADD_0FILL("nvram")
+ MCFG_GFXDECODE(bingor)
+ //MCFG_NVRAM_ADD_0FILL("nvram")
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(400, 300)
- MDRV_SCREEN_VISIBLE_AREA(0, 400-1, 0, 300-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(400, 300)
+ MCFG_SCREEN_VISIBLE_AREA(0, 400-1, 0, 300-1)
- MDRV_PALETTE_LENGTH(0x100)
+ MCFG_PALETTE_LENGTH(0x100)
- MDRV_VIDEO_START(bingor)
- MDRV_VIDEO_UPDATE(bingor)
+ MCFG_VIDEO_START(bingor)
+ MCFG_VIDEO_UPDATE(bingor)
- MDRV_SPEAKER_STANDARD_MONO("mono")
- MDRV_SOUND_ADD("saa", SAA1099, 6000000 )
- MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("saa", SAA1099, 6000000 )
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
// I doubt we need to load the eeproms
diff --git a/src/mame/drivers/bionicc.c b/src/mame/drivers/bionicc.c
index f1d44bc7024..33d5683eebd 100644
--- a/src/mame/drivers/bionicc.c
+++ b/src/mame/drivers/bionicc.c
@@ -359,42 +359,42 @@ static MACHINE_RESET( bionicc )
static MACHINE_CONFIG_START( bionicc, bionicc_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, MASTER_CLOCK / 2) /* 12 MHz - verified in schematics */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT_HACK(bionicc_interrupt,8)
+ MCFG_CPU_ADD("maincpu", M68000, MASTER_CLOCK / 2) /* 12 MHz - verified in schematics */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT_HACK(bionicc_interrupt,8)
- MDRV_CPU_ADD("audiocpu", Z80, EXO3_F0_CLK / 4) /* EXO3 C,B=GND, A=5V ==> Divisor 2^2 */
- MDRV_CPU_PROGRAM_MAP(sound_map)
+ MCFG_CPU_ADD("audiocpu", Z80, EXO3_F0_CLK / 4) /* EXO3 C,B=GND, A=5V ==> Divisor 2^2 */
+ MCFG_CPU_PROGRAM_MAP(sound_map)
/* FIXME: interrupt timing
* schematics indicate that nmi_line is set on M680000 access with AB1=1
* and IOCS=0 (active low), see pages A-1/10, A-4/10 in schematics
*/
- MDRV_CPU_VBLANK_INT_HACK(nmi_line_pulse,4)
+ MCFG_CPU_VBLANK_INT_HACK(nmi_line_pulse,4)
- MDRV_MACHINE_START(bionicc)
- MDRV_MACHINE_RESET(bionicc)
+ MCFG_MACHINE_START(bionicc)
+ MCFG_MACHINE_RESET(bionicc)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
-
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
- MDRV_SCREEN_SIZE(32*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MDRV_GFXDECODE(bionicc)
- MDRV_PALETTE_LENGTH(1024)
-
- MDRV_VIDEO_START(bionicc)
- MDRV_VIDEO_EOF(bionicc)
- MDRV_VIDEO_UPDATE(bionicc)
-
- MDRV_SPEAKER_STANDARD_MONO("mono")
-
- MDRV_SOUND_ADD("ymsnd", YM2151, 3579545)
- MDRV_SOUND_ROUTE(0, "mono", 0.60)
- MDRV_SOUND_ROUTE(1, "mono", 0.60)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
+
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+ MCFG_SCREEN_SIZE(32*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_GFXDECODE(bionicc)
+ MCFG_PALETTE_LENGTH(1024)
+
+ MCFG_VIDEO_START(bionicc)
+ MCFG_VIDEO_EOF(bionicc)
+ MCFG_VIDEO_UPDATE(bionicc)
+
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+
+ MCFG_SOUND_ADD("ymsnd", YM2151, 3579545)
+ MCFG_SOUND_ROUTE(0, "mono", 0.60)
+ MCFG_SOUND_ROUTE(1, "mono", 0.60)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/bishi.c b/src/mame/drivers/bishi.c
index 212145226cc..65a3875a28b 100644
--- a/src/mame/drivers/bishi.c
+++ b/src/mame/drivers/bishi.c
@@ -421,39 +421,39 @@ static MACHINE_RESET( bishi )
static MACHINE_CONFIG_START( bishi, bishi_state )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, CPU_CLOCK) /* 12MHz (24MHz OSC / 2 ) */
- MDRV_CPU_PROGRAM_MAP(main_map)
- MDRV_CPU_VBLANK_INT_HACK(bishi_interrupt, 2)
+ MCFG_CPU_ADD("maincpu", M68000, CPU_CLOCK) /* 12MHz (24MHz OSC / 2 ) */
+ MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_CPU_VBLANK_INT_HACK(bishi_interrupt, 2)
- MDRV_MACHINE_START(bishi)
- MDRV_MACHINE_RESET(bishi)
+ MCFG_MACHINE_START(bishi)
+ MCFG_MACHINE_RESET(bishi)
/* video hardware */
- MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_AFTER_VBLANK)
+ MCFG_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_AFTER_VBLANK)
- MDRV_SCREEN_ADD("screen", RASTER)
- MDRV_SCREEN_REFRESH_RATE(60)
- MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(1200))
- MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
- MDRV_SCREEN_SIZE(64*8, 32*8)
- MDRV_SCREEN_VISIBLE_AREA(29, 29+288-1, 16, 16+224-1)
+ MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(60)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(1200))
+ MCFG_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
+ MCFG_SCREEN_SIZE(64*8, 32*8)
+ MCFG_SCREEN_VISIBLE_AREA(29, 29+288-1, 16, 16+224-1)
- MDRV_PALETTE_LENGTH(4096)
+ MCFG_PALETTE_LENGTH(4096)
- MDRV_VIDEO_START(bishi)
- MDRV_VIDEO_UPDATE(bish