summaryrefslogtreecommitdiffstats
path: root/src/mame
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/audio/atarijsa.cpp119
-rw-r--r--src/mame/audio/cage.cpp46
-rw-r--r--src/mame/audio/carnival.cpp7
-rw-r--r--src/mame/audio/cinemat.cpp38
-rw-r--r--src/mame/audio/csd.cpp17
-rw-r--r--src/mame/audio/dcs.cpp49
-rw-r--r--src/mame/audio/decobsmt.cpp28
-rw-r--r--src/mame/audio/dkong.cpp64
-rw-r--r--src/mame/audio/dsbz80.cpp32
-rw-r--r--src/mame/audio/efo_zsu.cpp43
-rw-r--r--src/mame/audio/exidy.cpp64
-rw-r--r--src/mame/audio/gottlieb.cpp70
-rw-r--r--src/mame/audio/harddriv.cpp59
-rw-r--r--src/mame/audio/hng64.cpp56
-rw-r--r--src/mame/audio/jedi.cpp37
-rw-r--r--src/mame/audio/mario.cpp33
-rw-r--r--src/mame/audio/midway.cpp91
-rw-r--r--src/mame/audio/midway.h12
-rw-r--r--src/mame/audio/n8080.cpp16
-rw-r--r--src/mame/audio/nichisnd.cpp20
-rw-r--r--src/mame/audio/qix.cpp13
-rw-r--r--src/mame/audio/rax.cpp39
-rw-r--r--src/mame/audio/redalert.cpp43
-rw-r--r--src/mame/audio/s11c_bg.cpp19
-rw-r--r--src/mame/audio/scramble.cpp28
-rw-r--r--src/mame/audio/segam1audio.cpp49
-rw-r--r--src/mame/audio/segasnd.cpp30
-rw-r--r--src/mame/audio/seibu.cpp35
-rw-r--r--src/mame/audio/t5182.cpp34
-rw-r--r--src/mame/audio/taito_en.cpp27
-rw-r--r--src/mame/audio/taito_zm.cpp17
-rw-r--r--src/mame/audio/timeplt.cpp42
-rw-r--r--src/mame/audio/williams.cpp103
-rw-r--r--src/mame/audio/wpcsnd.cpp27
-rw-r--r--src/mame/audio/zaccaria.cpp58
-rw-r--r--src/mame/drivers/1942.cpp117
-rw-r--r--src/mame/drivers/1943.cpp70
-rw-r--r--src/mame/drivers/1945kiii.cpp73
-rw-r--r--src/mame/drivers/20pacgal.cpp144
-rw-r--r--src/mame/drivers/24cdjuke.cpp30
-rw-r--r--src/mame/drivers/2mindril.cpp41
-rw-r--r--src/mame/drivers/30test.cpp36
-rw-r--r--src/mame/drivers/39in1.cpp25
-rw-r--r--src/mame/drivers/3do.cpp23
-rw-r--r--src/mame/drivers/3x3puzzl.cpp35
-rw-r--r--src/mame/drivers/4004clk.cpp53
-rw-r--r--src/mame/drivers/40love.cpp135
-rw-r--r--src/mame/drivers/4dpi.cpp13
-rw-r--r--src/mame/drivers/4enlinea.cpp46
-rw-r--r--src/mame/drivers/4enraya.cpp64
-rw-r--r--src/mame/drivers/4roses.cpp13
-rw-r--r--src/mame/drivers/5clown.cpp58
-rw-r--r--src/mame/drivers/68ksbc.cpp13
-rw-r--r--src/mame/drivers/8080bw.cpp635
-rw-r--r--src/mame/drivers/88games.cpp60
-rw-r--r--src/mame/drivers/a5105.cpp55
-rw-r--r--src/mame/drivers/a51xx.cpp46
-rw-r--r--src/mame/drivers/a6809.cpp21
-rw-r--r--src/mame/drivers/a7150.cpp109
-rw-r--r--src/mame/drivers/a7800.cpp27
-rw-r--r--src/mame/drivers/aa310.cpp17
-rw-r--r--src/mame/drivers/abc1600.cpp54
-rw-r--r--src/mame/drivers/abc80.cpp36
-rw-r--r--src/mame/drivers/abc80x.cpp147
-rw-r--r--src/mame/drivers/ac1.cpp43
-rw-r--r--src/mame/drivers/accomm.cpp49
-rw-r--r--src/mame/drivers/ace.cpp69
-rw-r--r--src/mame/drivers/aceex.cpp7
-rw-r--r--src/mame/drivers/acefruit.cpp54
-rw-r--r--src/mame/drivers/aces1.cpp32
-rw-r--r--src/mame/drivers/acesp.cpp20
-rw-r--r--src/mame/drivers/acommand.cpp51
-rw-r--r--src/mame/drivers/acrnsys1.cpp13
-rw-r--r--src/mame/drivers/actfancr.cpp98
-rw-r--r--src/mame/drivers/acvirus.cpp9
-rw-r--r--src/mame/drivers/adam.cpp38
-rw-r--r--src/mame/drivers/adp.cpp149
-rw-r--r--src/mame/drivers/advision.cpp18
-rw-r--r--src/mame/drivers/aeroboto.cpp64
-rw-r--r--src/mame/drivers/aerofgt.cpp767
-rw-r--r--src/mame/drivers/agat.cpp48
-rw-r--r--src/mame/drivers/aim65.cpp29
-rw-r--r--src/mame/drivers/aim65_40.cpp21
-rw-r--r--src/mame/drivers/airbustr.cpp116
-rw-r--r--src/mame/drivers/airraid.cpp94
-rw-r--r--src/mame/drivers/ajax.cpp67
-rw-r--r--src/mame/drivers/akaiax80.cpp31
-rw-r--r--src/mame/drivers/albazc.cpp35
-rw-r--r--src/mame/drivers/albazg.cpp46
-rw-r--r--src/mame/drivers/aleck64.cpp73
-rw-r--r--src/mame/drivers/alesis.cpp79
-rw-r--r--src/mame/drivers/alesis_qs.cpp7
-rw-r--r--src/mame/drivers/alg.cpp77
-rw-r--r--src/mame/drivers/alien.cpp15
-rw-r--r--src/mame/drivers/aliens.cpp57
-rw-r--r--src/mame/drivers/alinvade.cpp39
-rw-r--r--src/mame/drivers/allied.cpp25
-rw-r--r--src/mame/drivers/alpha68k.cpp321
-rw-r--r--src/mame/drivers/alphasma.cpp47
-rw-r--r--src/mame/drivers/alphatpx.cpp132
-rw-r--r--src/mame/drivers/alphatro.cpp107
-rw-r--r--src/mame/drivers/altair.cpp26
-rw-r--r--src/mame/drivers/alto2.cpp23
-rw-r--r--src/mame/drivers/altos2.cpp30
-rw-r--r--src/mame/drivers/altos486.cpp36
-rw-r--r--src/mame/drivers/altos5.cpp64
-rw-r--r--src/mame/drivers/altos8600.cpp101
-rw-r--r--src/mame/drivers/alvg.cpp11
-rw-r--r--src/mame/drivers/amaticmg.cpp84
-rw-r--r--src/mame/drivers/ambush.cpp77
-rw-r--r--src/mame/drivers/amerihok.cpp18
-rw-r--r--src/mame/drivers/amico2k.cpp15
-rw-r--r--src/mame/drivers/amiga.cpp412
-rw-r--r--src/mame/drivers/ampex.cpp29
-rw-r--r--src/mame/drivers/ampoker2.cpp58
-rw-r--r--src/mame/drivers/ampro.cpp30
-rw-r--r--src/mame/drivers/ampscarp.cpp7
-rw-r--r--src/mame/drivers/amspdwy.cpp53
-rw-r--r--src/mame/drivers/amstr_pc.cpp56
-rw-r--r--src/mame/drivers/amstrad.cpp28
-rw-r--r--src/mame/drivers/amusco.cpp32
-rw-r--r--src/mame/drivers/amust.cpp44
-rw-r--r--src/mame/drivers/anes.cpp40
-rw-r--r--src/mame/drivers/angelkds.cpp91
-rw-r--r--src/mame/drivers/anzterm.cpp9
-rw-r--r--src/mame/drivers/apc.cpp52
-rw-r--r--src/mame/drivers/apexc.cpp9
-rw-r--r--src/mame/drivers/apf.cpp38
-rw-r--r--src/mame/drivers/apogee.cpp19
-rw-r--r--src/mame/drivers/apollo.cpp364
-rw-r--r--src/mame/drivers/apple1.cpp13
-rw-r--r--src/mame/drivers/apple2.cpp42
-rw-r--r--src/mame/drivers/apple2e.cpp345
-rw-r--r--src/mame/drivers/apple2gs.cpp5
-rw-r--r--src/mame/drivers/apple3.cpp7
-rw-r--r--src/mame/drivers/applix.cpp91
-rw-r--r--src/mame/drivers/appoooh.cpp65
-rw-r--r--src/mame/drivers/apricot.cpp46
-rw-r--r--src/mame/drivers/apricotf.cpp32
-rw-r--r--src/mame/drivers/apricotp.cpp66
-rw-r--r--src/mame/drivers/aquarium.cpp67
-rw-r--r--src/mame/drivers/aquarius.cpp36
-rw-r--r--src/mame/drivers/arabian.cpp26
-rw-r--r--src/mame/drivers/arachnid.cpp19
-rw-r--r--src/mame/drivers/arcadecl.cpp45
-rw-r--r--src/mame/drivers/arcadia.cpp9
-rw-r--r--src/mame/drivers/argo.cpp24
-rw-r--r--src/mame/drivers/argox.cpp12
-rw-r--r--src/mame/drivers/argus.cpp180
-rw-r--r--src/mame/drivers/aristmk4.cpp118
-rw-r--r--src/mame/drivers/aristmk5.cpp115
-rw-r--r--src/mame/drivers/aristmk6.cpp44
-rw-r--r--src/mame/drivers/arkanoid.cpp157
-rw-r--r--src/mame/drivers/armedf.cpp389
-rw-r--r--src/mame/drivers/arsystems.cpp72
-rw-r--r--src/mame/drivers/artmagic.cpp166
-rw-r--r--src/mame/drivers/ashnojoe.cpp71
-rw-r--r--src/mame/drivers/asst128.cpp24
-rw-r--r--src/mame/drivers/asterix.cpp64
-rw-r--r--src/mame/drivers/asteroid.cpp123
-rw-r--r--src/mame/drivers/astinvad.cpp62
-rw-r--r--src/mame/drivers/astrafr.cpp28
-rw-r--r--src/mame/drivers/astrcorp.cpp126
-rw-r--r--src/mame/drivers/astrocde.cpp275
-rw-r--r--src/mame/drivers/astrof.cpp115
-rw-r--r--src/mame/drivers/astrohome.cpp18
-rw-r--r--src/mame/drivers/astropc.cpp14
-rw-r--r--src/mame/drivers/asuka.cpp218
-rw-r--r--src/mame/drivers/at.cpp172
-rw-r--r--src/mame/drivers/atari400.cpp175
-rw-r--r--src/mame/drivers/atari_s1.cpp81
-rw-r--r--src/mame/drivers/atari_s2.cpp116
-rw-r--r--src/mame/drivers/atarifb.cpp164
-rw-r--r--src/mame/drivers/atarig1.cpp45
-rw-r--r--src/mame/drivers/atarig42.cpp51
-rw-r--r--src/mame/drivers/atarigt.cpp47
-rw-r--r--src/mame/drivers/atarigx2.cpp47
-rw-r--r--src/mame/drivers/atarist.cpp215
-rw-r--r--src/mame/drivers/atarisy1.cpp72
-rw-r--r--src/mame/drivers/atarisy2.cpp82
-rw-r--r--src/mame/drivers/atarisy4.cpp63
-rw-r--r--src/mame/drivers/atetris.cpp107
-rw-r--r--src/mame/drivers/atm.cpp53
-rw-r--r--src/mame/drivers/atom.cpp53
-rw-r--r--src/mame/drivers/atpci.cpp24
-rw-r--r--src/mame/drivers/atronic.cpp18
-rw-r--r--src/mame/drivers/att4425.cpp32
-rw-r--r--src/mame/drivers/att630.cpp19
-rw-r--r--src/mame/drivers/attache.cpp101
-rw-r--r--src/mame/drivers/attckufo.cpp35
-rw-r--r--src/mame/drivers/atvtrack.cpp64
-rw-r--r--src/mame/drivers/aussiebyte.cpp78
-rw-r--r--src/mame/drivers/avalnche.cpp52
-rw-r--r--src/mame/drivers/avigo.cpp61
-rw-r--r--src/mame/drivers/avt.cpp38
-rw-r--r--src/mame/drivers/ax20.cpp32
-rw-r--r--src/mame/drivers/aztarac.cpp46
-rw-r--r--src/mame/drivers/b16.cpp32
-rw-r--r--src/mame/drivers/b2m.cpp67
-rw-r--r--src/mame/drivers/babbage.cpp26
-rw-r--r--src/mame/drivers/backfire.cpp47
-rw-r--r--src/mame/drivers/badlands.cpp56
-rw-r--r--src/mame/drivers/badlandsbl.cpp58
-rw-r--r--src/mame/drivers/bagman.cpp71
-rw-r--r--src/mame/drivers/balsente.cpp89
-rw-r--r--src/mame/drivers/banctec.cpp28
-rw-r--r--src/mame/drivers/bankp.cpp38
-rw-r--r--src/mame/drivers/baraduke.cpp59
-rw-r--r--src/mame/drivers/barni.cpp37
-rw-r--r--src/mame/drivers/bartop52.cpp17
-rw-r--r--src/mame/drivers/basic52.cpp24
-rw-r--r--src/mame/drivers/batman.cpp51
-rw-r--r--src/mame/drivers/battlane.cpp27
-rw-r--r--src/mame/drivers/battlera.cpp50
-rw-r--r--src/mame/drivers/battlex.cpp55
-rw-r--r--src/mame/drivers/battlnts.cpp56
-rw-r--r--src/mame/drivers/bbc.cpp216
-rw-r--r--src/mame/drivers/bbcbc.cpp32
-rw-r--r--src/mame/drivers/bbusters.cpp125
-rw-r--r--src/mame/drivers/bcs3.cpp51
-rw-r--r--src/mame/drivers/beaminv.cpp28
-rw-r--r--src/mame/drivers/beathead.cpp55
-rw-r--r--src/mame/drivers/bebox.cpp78
-rw-r--r--src/mame/drivers/beehive.cpp30
-rw-r--r--src/mame/drivers/beezer.cpp63
-rw-r--r--src/mame/drivers/belatra.cpp7
-rw-r--r--src/mame/drivers/berzerk.cpp85
-rw-r--r--src/mame/drivers/besta.cpp17
-rw-r--r--src/mame/drivers/bestleag.cpp39
-rw-r--r--src/mame/drivers/beta.cpp11
-rw-r--r--src/mame/drivers/bfcobra.cpp86
-rw-r--r--src/mame/drivers/bfm_ad5.cpp19
-rw-r--r--src/mame/drivers/bfm_sc1.cpp75
-rw-r--r--src/mame/drivers/bfm_sc2.cpp108
-rw-r--r--src/mame/drivers/bfm_sc4.cpp16
-rw-r--r--src/mame/drivers/bfm_sc5.cpp73
-rw-r--r--src/mame/drivers/bfm_swp.cpp9
-rw-r--r--src/mame/drivers/bfmsys83.cpp7
-rw-r--r--src/mame/drivers/bfmsys85.cpp41
-rw-r--r--src/mame/drivers/bgt.cpp14
-rw-r--r--src/mame/drivers/big10.cpp30
-rw-r--r--src/mame/drivers/bigbord2.cpp54
-rw-r--r--src/mame/drivers/bigevglf.cpp127
-rw-r--r--src/mame/drivers/bigstrkb.cpp67
-rw-r--r--src/mame/drivers/binbug.cpp60
-rw-r--r--src/mame/drivers/bingo.cpp27
-rw-r--r--src/mame/drivers/bingoc.cpp75
-rw-r--r--src/mame/drivers/bingoman.cpp12
-rw-r--r--src/mame/drivers/bingor.cpp79
-rw-r--r--src/mame/drivers/bingowav.cpp62
-rw-r--r--src/mame/drivers/bionicc.cpp56
-rw-r--r--src/mame/drivers/bishi.cpp39
-rw-r--r--src/mame/drivers/bitgraph.cpp66
-rw-r--r--src/mame/drivers/bk.cpp58
-rw-r--r--src/mame/drivers/bking.cpp122
-rw-r--r--src/mame/drivers/blackt96.cpp44
-rw-r--r--src/mame/drivers/bladestl.cpp64
-rw-r--r--src/mame/drivers/blitz68k.cpp504
-rw-r--r--src/mame/drivers/blktiger.cpp108
-rw-r--r--src/mame/drivers/blmbycar.cpp82
-rw-r--r--src/mame/drivers/blockade.cpp28
-rw-r--r--src/mame/drivers/blockhl.cpp59
-rw-r--r--src/mame/drivers/blockout.cpp97
-rw-r--r--src/mame/drivers/bloodbro.cpp109
-rw-r--r--src/mame/drivers/blstroid.cpp47
-rw-r--r--src/mame/drivers/blueprnt.cpp72
-rw-r--r--src/mame/drivers/bmcbowl.cpp64
-rw-r--r--src/mame/drivers/bmcpokr.cpp133
-rw-r--r--src/mame/drivers/bmjr.cpp31
-rw-r--r--src/mame/drivers/bml3.cpp75
-rw-r--r--src/mame/drivers/bnstars.cpp98
-rw-r--r--src/mame/drivers/bntyhunt.cpp7
-rw-r--r--src/mame/drivers/bob85.cpp24
-rw-r--r--src/mame/drivers/bogeyman.cpp29
-rw-r--r--src/mame/drivers/bombjack.cpp69
-rw-r--r--src/mame/drivers/boogwing.cpp96
-rw-r--r--src/mame/drivers/bottom9.cpp60
-rw-r--r--src/mame/drivers/bowltry.cpp15
-rw-r--r--src/mame/drivers/boxer.cpp33
-rw-r--r--src/mame/drivers/bpmmicro.cpp34
-rw-r--r--src/mame/drivers/br8641.cpp32
-rw-r--r--src/mame/drivers/brkthru.cpp85
-rw-r--r--src/mame/drivers/bsktball.cpp31
-rw-r--r--src/mame/drivers/btime.cpp318
-rw-r--r--src/mame/drivers/btoads.cpp83
-rw-r--r--src/mame/drivers/bublbobl.cpp229
-rw-r--r--src/mame/drivers/buggychl.cpp96
-rw-r--r--src/mame/drivers/bullet.cpp72
-rw-r--r--src/mame/drivers/busicom.cpp57
-rw-r--r--src/mame/drivers/buster.cpp39
-rw-r--r--src/mame/drivers/bw12.cpp36
-rw-r--r--src/mame/drivers/bw2.cpp45
-rw-r--r--src/mame/drivers/bwidow.cpp121
-rw-r--r--src/mame/drivers/bwing.cpp95
-rw-r--r--src/mame/drivers/by17.cpp17
-rw-r--r--src/mame/drivers/by35.cpp32
-rw-r--r--src/mame/drivers/by6803.cpp24
-rw-r--r--src/mame/drivers/by68701.cpp15
-rw-r--r--src/mame/drivers/byvid.cpp91
-rw-r--r--src/mame/drivers/bzone.cpp88
-rw-r--r--src/mame/drivers/c10.cpp26
-rw-r--r--src/mame/drivers/c128.cpp42
-rw-r--r--src/mame/drivers/c64.cpp21
-rw-r--r--src/mame/drivers/c65.cpp33
-rw-r--r--src/mame/drivers/c80.cpp24
-rw-r--r--src/mame/drivers/c900.cpp29
-rw-r--r--src/mame/drivers/cabal.cpp270
-rw-r--r--src/mame/drivers/cabaret.cpp40
-rw-r--r--src/mame/drivers/calchase.cpp104
-rw-r--r--src/mame/drivers/calcune.cpp23
-rw-r--r--src/mame/drivers/calomega.cpp106
-rw-r--r--src/mame/drivers/calorie.cpp76
-rw-r--r--src/mame/drivers/camplynx.cpp151
-rw-r--r--src/mame/drivers/candela.cpp34
-rw-r--r--src/mame/drivers/canon_s80.cpp9
-rw-r--r--src/mame/drivers/canyon.cpp25
-rw-r--r--src/mame/drivers/capbowl.cpp69
-rw-r--r--src/mame/drivers/capcom.cpp7
-rw-r--r--src/mame/drivers/capr1.cpp15
-rw-r--r--src/mame/drivers/caprcyc.cpp7
-rw-r--r--src/mame/drivers/cardline.cpp40
-rw-r--r--src/mame/drivers/carjmbre.cpp57
-rw-r--r--src/mame/drivers/carpolo.cpp47
-rw-r--r--src/mame/drivers/carrera.cpp40
-rw-r--r--src/mame/drivers/casloopy.cpp31
-rw-r--r--src/mame/drivers/castle.cpp21
-rw-r--r--src/mame/drivers/caswin.cpp40
-rw-r--r--src/mame/drivers/cat.cpp53
-rw-r--r--src/mame/drivers/cave.cpp982
-rw-r--r--src/mame/drivers/cavepc.cpp14
-rw-r--r--src/mame/drivers/cb2001.cpp36
-rw-r--r--src/mame/drivers/cball.cpp51
-rw-r--r--src/mame/drivers/cbasebal.cpp61
-rw-r--r--src/mame/drivers/cbm2.cpp28
-rw-r--r--src/mame/drivers/cbuster.cpp69
-rw-r--r--src/mame/drivers/cc40.cpp39
-rw-r--r--src/mame/drivers/ccastles.cpp51
-rw-r--r--src/mame/drivers/cchance.cpp29
-rw-r--r--src/mame/drivers/cchasm.cpp59
-rw-r--r--src/mame/drivers/cclimber.cpp362
-rw-r--r--src/mame/drivers/ccs2810.cpp33
-rw-r--r--src/mame/drivers/ccs300.cpp38
-rw-r--r--src/mame/drivers/cd2650.cpp27
-rw-r--r--src/mame/drivers/cdc721.cpp20
-rw-r--r--src/mame/drivers/cdi.cpp99
-rw-r--r--src/mame/drivers/cedar_magnet.cpp79
-rw-r--r--src/mame/drivers/centiped.cpp358
-rw-r--r--src/mame/drivers/cesclass.cpp33
-rw-r--r--src/mame/drivers/cfx9850.cpp15
-rw-r--r--src/mame/drivers/cgc7900.cpp86
-rw-r--r--src/mame/drivers/cgenie.cpp38
-rw-r--r--src/mame/drivers/chaknpop.cpp41
-rw-r--r--src/mame/drivers/cham24.cpp17
-rw-r--r--src/mame/drivers/champbas.cpp149
-rw-r--r--src/mame/drivers/champbwl.cpp80
-rw-r--r--src/mame/drivers/chanbara.cpp31
-rw-r--r--src/mame/drivers/chance32.cpp50
-rw-r--r--src/mame/drivers/changela.cpp49
-rw-r--r--src/mame/drivers/channelf.cpp24
-rw-r--r--src/mame/drivers/chaos.cpp37
-rw-r--r--src/mame/drivers/cheekyms.cpp30
-rw-r--r--src/mame/drivers/chessmst.cpp54
-rw-r--r--src/mame/drivers/chesstrv.cpp41
-rw-r--r--src/mame/drivers/chexx.cpp30
-rw-r--r--src/mame/drivers/chihiro.cpp20
-rw-r--r--src/mame/drivers/chinagat.cpp120
-rw-r--r--src/mame/drivers/chinsan.cpp58
-rw-r--r--src/mame/drivers/chqflag.cpp87
-rw-r--r--src/mame/drivers/chsuper.cpp49
-rw-r--r--src/mame/drivers/cidelsa.cpp104
-rw-r--r--src/mame/drivers/cinemat.cpp78
-rw-r--r--src/mame/drivers/circus.cpp25
-rw-r--r--src/mame/drivers/circusc.cpp58
-rw-r--r--src/mame/drivers/cischeat.cpp641
-rw-r--r--src/mame/drivers/cit220.cpp39
-rw-r--r--src/mame/drivers/citycon.cpp44
-rw-r--r--src/mame/drivers/ckz80.cpp18
-rw-r--r--src/mame/drivers/clayshoo.cpp30
-rw-r--r--src/mame/drivers/clcd.cpp74
-rw-r--r--src/mame/drivers/cliffhgr.cpp50
-rw-r--r--src/mame/drivers/cloak.cpp62
-rw-r--r--src/mame/drivers/cloud9.cpp41
-rw-r--r--src/mame/drivers/clowndwn.cpp19
-rw-r--r--src/mame/drivers/clpoker.cpp47
-rw-r--r--src/mame/drivers/clshroad.cpp40
-rw-r--r--src/mame/drivers/cm1800.cpp24
-rw-r--r--src/mame/drivers/cmi.cpp86
-rw-r--r--src/mame/drivers/cmmb.cpp35
-rw-r--r--src/mame/drivers/cninja.cpp342
-rw-r--r--src/mame/drivers/cntsteer.cpp121
-rw-r--r--src/mame/drivers/cobra.cpp91
-rw-r--r--src/mame/drivers/coco12.cpp7
-rw-r--r--src/mame/drivers/coco3.cpp35
-rw-r--r--src/mame/drivers/cocoloco.cpp25
-rw-r--r--src/mame/drivers/codata.cpp19
-rw-r--r--src/mame/drivers/coinmstr.cpp179
-rw-r--r--src/mame/drivers/coinmvga.cpp54
-rw-r--r--src/mame/drivers/coleco.cpp47
-rw-r--r--src/mame/drivers/combatsc.cpp120
-rw-r--r--src/mame/drivers/comebaby.cpp22
-rw-r--r--src/mame/drivers/commando.cpp65
-rw-r--r--src/mame/drivers/compc.cpp35
-rw-r--r--src/mame/drivers/compgolf.cpp29
-rw-r--r--src/mame/drivers/compis.cpp59
-rw-r--r--src/mame/drivers/compucolor.cpp24
-rw-r--r--src/mame/drivers/comquest.cpp7
-rw-r--r--src/mame/drivers/comx35.cpp18
-rw-r--r--src/mame/drivers/concept.cpp19
-rw-r--r--src/mame/drivers/contra.cpp90
-rw-r--r--src/mame/drivers/controlid.cpp14
-rw-r--r--src/mame/drivers/coolpool.cpp117
-rw-r--r--src/mame/drivers/coolridr.cpp148
-rw-r--r--src/mame/drivers/cop01.cpp112
-rw-r--r--src/mame/drivers/cops.cpp44
-rw-r--r--src/mame/drivers/copsnrob.cpp45
-rw-r--r--src/mame/drivers/corona.cpp292
-rw-r--r--src/mame/drivers/cortex.cpp28
-rw-r--r--src/mame/drivers/cosmic.cpp115
-rw-r--r--src/mame/drivers/cosmicos.cpp22
-rw-r--r--src/mame/drivers/cp1.cpp9
-rw-r--r--src/mame/drivers/cps1.cpp204
-rw-r--r--src/mame/drivers/cps2.cpp121
-rw-r--r--src/mame/drivers/cps3.cpp88
-rw-r--r--src/mame/drivers/craft.cpp21
-rw-r--r--src/mame/drivers/crbaloon.cpp52
-rw-r--r--src/mame/drivers/crgolf.cpp113
-rw-r--r--src/mame/drivers/crimfght.cpp61
-rw-r--r--src/mame/drivers/crospang.cpp130
-rw-r--r--src/mame/drivers/crshrace.cpp71
-rw-r--r--src/mame/drivers/crvision.cpp52
-rw-r--r--src/mame/drivers/crystal.cpp164
-rw-r--r--src/mame/drivers/csplayh5.cpp22
-rw-r--r--src/mame/drivers/cswat.cpp21
-rw-r--r--src/mame/drivers/ct486.cpp12
-rw-r--r--src/mame/drivers/cubeqst.cpp43
-rw-r--r--src/mame/drivers/cubo.cpp40
-rw-r--r--src/mame/drivers/cultures.cpp100
-rw-r--r--src/mame/drivers/cupidon.cpp19
-rw-r--r--src/mame/drivers/cv1k.cpp55
-rw-r--r--src/mame/drivers/cvicny.cpp17
-rw-r--r--src/mame/drivers/cvs.cpp85
-rw-r--r--src/mame/drivers/cxgz80.cpp13
-rw-r--r--src/mame/drivers/cxhumax.cpp69
-rw-r--r--src/mame/drivers/cyberbal.cpp171
-rw-r--r--src/mame/drivers/cybertnk.cpp91
-rw-r--r--src/mame/drivers/cybiko.cpp78
-rw-r--r--src/mame/drivers/cybstorm.cpp54
-rw-r--r--src/mame/drivers/cyclemb.cpp65
-rw-r--r--src/mame/drivers/czk80.cpp34
-rw-r--r--src/mame/drivers/d400.cpp21
-rw-r--r--src/mame/drivers/d6800.cpp15
-rw-r--r--src/mame/drivers/d6809.cpp17
-rw-r--r--src/mame/drivers/d9final.cpp50
-rw-r--r--src/mame/drivers/dacholer.cpp127
-rw-r--r--src/mame/drivers/dai.cpp30
-rw-r--r--src/mame/drivers/dai3wksi.cpp21
-rw-r--r--src/mame/drivers/dambustr.cpp73
-rw-r--r--src/mame/drivers/darius.cpp126
-rw-r--r--src/mame/drivers/darkmist.cpp58
-rw-r--r--src/mame/drivers/darkseal.cpp70
-rw-r--r--src/mame/drivers/daruma.cpp20
-rw-r--r--src/mame/drivers/dassault.cpp90
-rw-r--r--src/mame/drivers/datum.cpp21
-rw-r--r--src/mame/drivers/dblcrown.cpp60
-rw-r--r--src/mame/drivers/dblewing.cpp64
-rw-r--r--src/mame/drivers/dbox.cpp17
-rw-r--r--src/mame/drivers/dbz.cpp93
-rw-r--r--src/mame/drivers/dccons.cpp79
-rw-r--r--src/mame/drivers/dcheese.cpp44
-rw-r--r--src/mame/drivers/dcon.cpp52
-rw-r--r--src/mame/drivers/dct11em.cpp13
-rw-r--r--src/mame/drivers/dday.cpp33
-rw-r--r--src/mame/drivers/ddayjlc.cpp72
-rw-r--r--src/mame/drivers/ddealer.cpp39
-rw-r--r--src/mame/drivers/ddenlovr.cpp1966
-rw-r--r--src/mame/drivers/ddragon.cpp166
-rw-r--r--src/mame/drivers/ddragon3.cpp196
-rw-r--r--src/mame/drivers/ddribble.cpp80
-rw-r--r--src/mame/drivers/de_2.cpp19
-rw-r--r--src/mame/drivers/deadang.cpp110
-rw-r--r--src/mame/drivers/dec0.cpp514
-rw-r--r--src/mame/drivers/dec8.cpp649
-rw-r--r--src/mame/drivers/deco156.cpp72
-rw-r--r--src/mame/drivers/deco32.cpp541
-rw-r--r--src/mame/drivers/deco_ld.cpp58
-rw-r--r--src/mame/drivers/deco_mlc.cpp90
-rw-r--r--src/mame/drivers/decocass.cpp104
-rw-r--r--src/mame/drivers/dectalk.cpp47
-rw-r--r--src/mame/drivers/decwritr.cpp34
-rw-r--r--src/mame/drivers/deniam.cpp98
-rw-r--r--src/mame/drivers/deshoros.cpp27
-rw-r--r--src/mame/drivers/destroyr.cpp31
-rw-r--r--src/mame/drivers/dfruit.cpp52
-rw-r--r--src/mame/drivers/dgn_beta.cpp69
-rw-r--r--src/mame/drivers/dgpix.cpp38
-rw-r--r--src/mame/drivers/diablo1300.cpp14
-rw-r--r--src/mame/drivers/didact.cpp28
-rw-r--r--src/mame/drivers/dietgo.cpp56
-rw-r--r--src/mame/drivers/digel804.cpp114
-rw-r--r--src/mame/drivers/digijet.cpp5
-rw-r--r--src/mame/drivers/dim68k.cpp49
-rw-r--r--src/mame/drivers/discoboy.cpp70
-rw-r--r--src/mame/drivers/divebomb.cpp122
-rw-r--r--src/mame/drivers/diverboy.cpp42
-rw-r--r--src/mame/drivers/djboy.cpp102
-rw-r--r--src/mame/drivers/djmain.cpp109
-rw-r--r--src/mame/drivers/dkong.cpp230
-rw-r--r--src/mame/drivers/dlair.cpp75
-rw-r--r--src/mame/drivers/dlair2.cpp14
-rw-r--r--src/mame/drivers/dm7000.cpp27
-rw-r--r--src/mame/drivers/dmax8000.cpp38
-rw-r--r--src/mame/drivers/dmndrby.cpp52
-rw-r--r--src/mame/drivers/dms5000.cpp20
-rw-r--r--src/mame/drivers/dms86.cpp34
-rw-r--r--src/mame/drivers/dmv.cpp67
-rw-r--r--src/mame/drivers/docastle.cpp153
-rw-r--r--src/mame/drivers/dogfgt.cpp52
-rw-r--r--src/mame/drivers/dolphunk.cpp28
-rw-r--r--src/mame/drivers/dominob.cpp48
-rw-r--r--src/mame/drivers/dooyong.cpp355
-rw-r--r--src/mame/drivers/dorachan.cpp38
-rw-r--r--src/mame/drivers/dotrikun.cpp22
-rw-r--r--src/mame/drivers/dps1.cpp50
-rw-r--r--src/mame/drivers/dragon.cpp5
-rw-r--r--src/mame/drivers/dragrace.cpp39
-rw-r--r--src/mame/drivers/dreambal.cpp37
-rw-r--r--src/mame/drivers/dreamwld.cpp60
-rw-r--r--src/mame/drivers/drgnmst.cpp47
-rw-r--r--src/mame/drivers/dribling.cpp26
-rw-r--r--src/mame/drivers/drmicro.cpp34
-rw-r--r--src/mame/drivers/drtomy.cpp29
-rw-r--r--src/mame/drivers/drw80pkr.cpp14
-rw-r--r--src/mame/drivers/dsb46.cpp26
-rw-r--r--src/mame/drivers/dual68.cpp53
-rw-r--r--src/mame/drivers/duet16.cpp58
-rw-r--r--src/mame/drivers/dunhuang.cpp81
-rw-r--r--src/mame/drivers/dvk_kcgd.cpp25
-rw-r--r--src/mame/drivers/dvk_ksm.cpp34
-rw-r--r--src/mame/drivers/dwarfd.cpp71
-rw-r--r--src/mame/drivers/dynadice.cpp58
-rw-r--r--src/mame/drivers/dynax.cpp1023
-rw-r--r--src/mame/drivers/dynduke.cpp132
-rw-r--r--src/mame/drivers/e100.cpp15
-rw-r--r--src/mame/drivers/eacc.cpp17
-rw-r--r--src/mame/drivers/ec184x.cpp66
-rw-r--r--src/mame/drivers/ec65.cpp44
-rw-r--r--src/mame/drivers/ecoinf1.cpp18
-rw-r--r--src/mame/drivers/ecoinf2.cpp32
-rw-r--r--src/mame/drivers/ecoinf3.cpp40
-rw-r--r--src/mame/drivers/ecoinfr.cpp78
-rw-r--r--src/mame/drivers/egghunt.cpp57
-rw-r--r--src/mame/drivers/einstein.cpp48
-rw-r--r--src/mame/drivers/electron.cpp17
-rw-r--r--src/mame/drivers/elekscmp.cpp17
-rw-r--r--src/mame/drivers/elektronmono.cpp15
-rw-r--r--src/mame/drivers/elf.cpp24
-rw-r--r--src/mame/drivers/elwro800.cpp59
-rw-r--r--src/mame/drivers/embargo.cpp31
-rw-r--r--src/mame/drivers/enigma2.cpp96
-rw-r--r--src/mame/drivers/enmirage.cpp23
-rw-r--r--src/mame/drivers/eolith.cpp41
-rw-r--r--src/mame/drivers/eolith16.cpp27
-rw-r--r--src/mame/drivers/ep64.cpp47
-rw-r--r--src/mame/drivers/epos.cpp66
-rw-r--r--src/mame/drivers/eprom.cpp123
-rw-r--r--src/mame/drivers/equites.cpp120
-rw-r--r--src/mame/drivers/ertictac.cpp23
-rw-r--r--src/mame/drivers/esd16.cpp221
-rw-r--r--src/mame/drivers/esh.cpp38
-rw-r--r--src/mame/drivers/espial.cpp110
-rw-r--r--src/mame/drivers/esprit.cpp34
-rw-r--r--src/mame/drivers/esq1.cpp44
-rw-r--r--src/mame/drivers/esq5505.cpp84
-rw-r--r--src/mame/drivers/esqasr.cpp22
-rw-r--r--src/mame/drivers/esqkt.cpp17
-rw-r--r--src/mame/drivers/esqmr.cpp7
-rw-r--r--src/mame/drivers/esripsys.cpp92
-rw-r--r--src/mame/drivers/et3400.cpp19
-rw-r--r--src/mame/drivers/eti660.cpp30
-rw-r--r--src/mame/drivers/ettrivia.cpp32
-rw-r--r--src/mame/drivers/eurocom2.cpp40
-rw-r--r--src/mame/drivers/europc.cpp26
-rw-r--r--src/mame/drivers/evmbug.cpp20
-rw-r--r--src/mame/drivers/excali64.cpp52
-rw-r--r--src/mame/drivers/exedexes.cpp62
-rw-r--r--src/mame/drivers/exelv.cpp60
-rw-r--r--src/mame/drivers/exerion.cpp48
-rw-r--r--src/mame/drivers/exidy.cpp204
-rw-r--r--src/mame/drivers/exidy440.cpp70
-rw-r--r--src/mame/drivers/exp85.cpp30
-rw-r--r--src/mame/drivers/expro02.cpp323
-rw-r--r--src/mame/drivers/exprraid.cpp69
-rw-r--r--src/mame/drivers/exterm.cpp84
-rw-r--r--src/mame/drivers/extrema.cpp14
-rw-r--r--src/mame/drivers/exzisus.cpp94
-rw-r--r--src/mame/drivers/ez2d.cpp5
-rw-r--r--src/mame/drivers/f-32.cpp68
-rw-r--r--src/mame/drivers/f1gp.cpp217
-rw-r--r--src/mame/drivers/famibox.cpp23
-rw-r--r--src/mame/drivers/fantland.cpp171
-rw-r--r--src/mame/drivers/fanucs15.cpp48
-rw-r--r--src/mame/drivers/fanucspmg.cpp97
-rw-r--r--src/mame/drivers/fastfred.cpp128
-rw-r--r--src/mame/drivers/fastinvaders.cpp102
-rw-r--r--src/mame/drivers/fastlane.cpp43
-rw-r--r--src/mame/drivers/fb01.cpp32
-rw-r--r--src/mame/drivers/fc100.cpp54
-rw-r--r--src/mame/drivers/fccpu30.cpp35
-rw-r--r--src/mame/drivers/fcombat.cpp66
-rw-r--r--src/mame/drivers/fcrash.cpp482
-rw-r--r--src/mame/drivers/feversoc.cpp29
-rw-r--r--src/mame/drivers/fgoal.cpp67
-rw-r--r--src/mame/drivers/fidel6502.cpp246
-rw-r--r--src/mame/drivers/fidel68k.cpp158
-rw-r--r--src/mame/drivers/fidelmcs48.cpp7
-rw-r--r--src/mame/drivers/fidelz80.cpp140
-rw-r--r--src/mame/drivers/finalizr.cpp71
-rw-r--r--src/mame/drivers/fireball.cpp20
-rw-r--r--src/mame/drivers/firebeat.cpp100
-rw-r--r--src/mame/drivers/firefox.cpp86
-rw-r--r--src/mame/drivers/firetrap.cpp96
-rw-r--r--src/mame/drivers/firetrk.cpp151
-rw-r--r--src/mame/drivers/fitfight.cpp103
-rw-r--r--src/mame/drivers/fk1.cpp42
-rw-r--r--src/mame/drivers/flicker.cpp47
-rw-r--r--src/mame/drivers/flipjack.cpp74
-rw-r--r--src/mame/drivers/flkatck.cpp48
-rw-r--r--src/mame/drivers/flower.cpp62
-rw-r--r--src/mame/drivers/flstory.cpp139
-rw-r--r--src/mame/drivers/flyball.cpp35
-rw-r--r--src/mame/drivers/fm7.cpp553
-rw-r--r--src/mame/drivers/fmtowns.cpp128
-rw-r--r--src/mame/drivers/fontwriter.cpp24
-rw-r--r--src/mame/drivers/foodf.cpp38
-rw-r--r--src/mame/drivers/force68k.cpp29
-rw-r--r--src/mame/drivers/forte2.cpp28
-rw-r--r--src/mame/drivers/fortecar.cpp36
-rw-r--r--src/mame/drivers/fp1100.cpp51
-rw-r--r--src/mame/drivers/fp200.cpp24
-rw-r--r--src/mame/drivers/fp6000.cpp40
-rw-r--r--src/mame/drivers/freekick.cpp209
-rw-r--r--src/mame/drivers/fresh.cpp55
-rw-r--r--src/mame/drivers/fromanc2.cpp253
-rw-r--r--src/mame/drivers/fromance.cpp155
-rw-r--r--src/mame/drivers/fruitpc.cpp40
-rw-r--r--src/mame/drivers/ft68m.cpp25
-rw-r--r--src/mame/drivers/funkball.cpp77
-rw-r--r--src/mame/drivers/funkybee.cpp38
-rw-r--r--src/mame/drivers/funkyjet.cpp53
-rw-r--r--src/mame/drivers/funtech.cpp60
-rw-r--r--src/mame/drivers/funworld.cpp306
-rw-r--r--src/mame/drivers/funybubl.cpp53
-rw-r--r--src/mame/drivers/fuukifg2.cpp71
-rw-r--r--src/mame/drivers/fuukifg3.cpp77
-rw-r--r--src/mame/drivers/g627.cpp28
-rw-r--r--src/mame/drivers/gaelco.cpp175
-rw-r--r--src/mame/drivers/gaelco2.cpp220
-rw-r--r--src/mame/drivers/gaelco3d.cpp133
-rw-r--r--src/mame/drivers/gaelcopc.cpp7
-rw-r--r--src/mame/drivers/gaiden.cpp227
-rw-r--r--src/mame/drivers/gal3.cpp211
-rw-r--r--src/mame/drivers/galaga.cpp177
-rw-r--r--src/mame/drivers/galastrm.cpp33
-rw-r--r--src/mame/drivers/galaxi.cpp66
-rw-r--r--src/mame/drivers/galaxia.cpp74
-rw-r--r--src/mame/drivers/galaxian.cpp1100
-rw-r--r--src/mame/drivers/galaxold.cpp1135
-rw-r--r--src/mame/drivers/galaxy.cpp47
-rw-r--r--src/mame/drivers/galeb.cpp29
-rw-r--r--src/mame/drivers/galgame.cpp19
-rw-r--r--src/mame/drivers/galgames.cpp75
-rw-r--r--src/mame/drivers/galivan.cpp120
-rw-r--r--src/mame/drivers/galpani2.cpp102
-rw-r--r--src/mame/drivers/galpani3.cpp59
-rw-r--r--src/mame/drivers/galpanic.cpp57
-rw-r--r--src/mame/drivers/galspnbl.cpp66
-rw-r--r--src/mame/drivers/gamate.cpp27
-rw-r--r--src/mame/drivers/gambl186.cpp44
-rw-r--r--src/mame/drivers/gamecom.cpp31
-rw-r--r--src/mame/drivers/gamecstl.cpp48
-rw-r--r--src/mame/drivers/gamecube.cpp11
-rw-r--r--src/mame/drivers/gameking.cpp21
-rw-r--r--src/mame/drivers/gameplan.cpp49
-rw-r--r--src/mame/drivers/gamepock.cpp15
-rw-r--r--src/mame/drivers/gammagic.cpp44
-rw-r--r--src/mame/drivers/gamtor.cpp25
-rw-r--r--src/mame/drivers/gaplus.cpp59
-rw-r--r--src/mame/drivers/gatron.cpp26
-rw-r--r--src/mame/drivers/gauntlet.cpp84
-rw-r--r--src/mame/drivers/gb.cpp144
-rw-r--r--src/mame/drivers/gba.cpp29
-rw-r--r--src/mame/drivers/gberet.cpp123
-rw-r--r--src/mame/drivers/gcpinbal.cpp37
-rw-r--r--src/mame/drivers/gei.cpp303
-rw-r--r--src/mame/drivers/geneve.cpp20
-rw-r--r--src/mame/drivers/geniusiq.cpp43
-rw-r--r--src/mame/drivers/genpc.cpp20
-rw-r--r--src/mame/drivers/ggconnie.cpp55
-rw-r--r--src/mame/drivers/ghosteo.cpp32
-rw-r--r--src/mame/drivers/giclassic.cpp58
-rw-r--r--src/mame/drivers/gijoe.cpp68
-rw-r--r--src/mame/drivers/gimix.cpp72
-rw-r--r--src/mame/drivers/ginganin.cpp40
-rw-r--r--src/mame/drivers/gizmondo.cpp17
-rw-r--r--src/mame/drivers/gkigt.cpp94
-rw-r--r--src/mame/drivers/gladiatr.cpp134
-rw-r--r--src/mame/drivers/glasgow.cpp71
-rw-r--r--src/mame/drivers/glass.cpp61
-rw-r--r--src/mame/drivers/globalfr.cpp13
-rw-r--r--src/mame/drivers/globalvr.cpp7
-rw-r--r--src/mame/drivers/gluck2.cpp33
-rw-r--r--src/mame/drivers/gmaster.cpp9
-rw-r--r--src/mame/drivers/gng.cpp117
-rw-r--r--src/mame/drivers/go2000.cpp45
-rw-r--r--src/mame/drivers/goal92.cpp58
-rw-r--r--src/mame/drivers/goindol.cpp66
-rw-r--r--src/mame/drivers/gokidetor.cpp36
-rw-r--r--src/mame/drivers/goldngam.cpp44
-rw-r--r--src/mame/drivers/goldnpkr.cpp316
-rw-r--r--src/mame/drivers/goldstar.cpp690
-rw-r--r--src/mame/drivers/gomoku.cpp25
-rw-r--r--src/mame/drivers/good.cpp23
-rw-r--r--src/mame/drivers/goodejan.cpp70
-rw-r--r--src/mame/drivers/gotcha.cpp54
-rw-r--r--src/mame/drivers/gottlieb.cpp82
-rw-r--r--src/mame/drivers/gotya.cpp31
-rw-r--r--src/mame/drivers/goupil.cpp84
-rw-r--r--src/mame/drivers/gp2x.cpp23
-rw-r--r--src/mame/drivers/gp32.cpp47
-rw-r--r--src/mame/drivers/gp_1.cpp22
-rw-r--r--src/mame/drivers/gp_2.cpp22
-rw-r--r--src/mame/drivers/gpworld.cpp40
-rw-r--r--src/mame/drivers/gradius3.cpp87
-rw-r--r--src/mame/drivers/grchamp.cpp105
-rw-r--r--src/mame/drivers/grfd2301.cpp20
-rw-r--r--src/mame/drivers/gridcomp.cpp63
-rw-r--r--src/mame/drivers/gridlee.cpp36
-rw-r--r--src/mame/drivers/groundfx.cpp35
-rw-r--r--src/mame/drivers/gstream.cpp92
-rw-r--r--src/mame/drivers/gstriker.cpp76
-rw-r--r--src/mame/drivers/gsword.cpp103
-rw-r--r--src/mame/drivers/gticlub.cpp148
-rw-r--r--src/mame/drivers/gts1.cpp39
-rw-r--r--src/mame/drivers/gts3.cpp15
-rw-r--r--src/mame/drivers/gts3a.cpp40
-rw-r--r--src/mame/drivers/gts80.cpp23
-rw-r--r--src/mame/drivers/gts80a.cpp41
-rw-r--r--src/mame/drivers/gts80b.cpp23
-rw-r--r--src/mame/drivers/guab.cpp39
-rw-r--r--src/mame/drivers/gumbo.cpp65
-rw-r--r--src/mame/drivers/gunbustr.cpp27
-rw-r--r--src/mame/drivers/gundealr.cpp68
-rw-r--r--src/mame/drivers/gunpey.cpp34
-rw-r--r--src/mame/drivers/gunsmoke.cpp58
-rw-r--r--src/mame/drivers/gyruss.cpp124
-rw-r--r--src/mame/drivers/h19.cpp42
-rw-r--r--src/mame/drivers/h8.cpp34
-rw-r--r--src/mame/drivers/h89.cpp28
-rw-r--r--src/mame/drivers/halleys.cpp80
-rw-r--r--src/mame/drivers/hanaawas.cpp40
-rw-r--r--src/mame/drivers/hankin.cpp32
-rw-r--r--src/mame/drivers/hapyfish.cpp7
-rw-r--r--src/mame/drivers/harddriv.cpp315
-rw-r--r--src/mame/drivers/harriet.cpp25
-rw-r--r--src/mame/drivers/hazelgr.cpp34
-rw-r--r--src/mame/drivers/hazeltin.cpp32
-rw-r--r--src/mame/drivers/hcastle.cpp78
-rw-r--r--src/mame/drivers/headonb.cpp22
-rw-r--r--src/mame/drivers/hec2hrp.cpp163
-rw-r--r--src/mame/drivers/hexion.cpp106
-rw-r--r--src/mame/drivers/hideseek.cpp17
-rw-r--r--src/mame/drivers/higemaru.cpp31
-rw-r--r--src/mame/drivers/highvdeo.cpp307
-rw-r--r--src/mame/drivers/hikaru.cpp66
-rw-r--r--src/mame/drivers/himesiki.cpp68
-rw-r--r--src/mame/drivers/hitme.cpp54
-rw-r--r--src/mame/drivers/hitpoker.cpp50
-rw-r--r--src/mame/drivers/hk68v10.cpp27
-rw-r--r--src/mame/drivers/hnayayoi.cpp147
-rw-r--r--src/mame/drivers/hng64.cpp59
-rw-r--r--src/mame/drivers/holeland.cpp61
-rw-r--r--src/mame/drivers/homedata.cpp206
-rw-r--r--src/mame/drivers/homelab.cpp91
-rw-r--r--src/mame/drivers/homerun.cpp40
-rw-r--r--src/mame/drivers/homez80.cpp24
-rw-r--r--src/mame/drivers/horizon.cpp30
-rw-r--r--src/mame/drivers/hornet.cpp123
-rw-r--r--src/mame/drivers/hotblock.cpp26
-rw-r--r--src/mame/drivers/hotstuff.cpp31
-rw-r--r--src/mame/drivers/hp16500.cpp130
-rw-r--r--src/mame/drivers/hp2620.cpp32
-rw-r--r--src/mame/drivers/hp2640.cpp50
-rw-r--r--src/mame/drivers/hp48.cpp7
-rw-r--r--src/mame/drivers/hp49gp.cpp15
-rw-r--r--src/mame/drivers/hp64k.cpp40
-rw-r--r--src/mame/drivers/hp700.cpp32
-rw-r--r--src/mame/drivers/hp80.cpp52
-rw-r--r--src/mame/drivers/hp9845.cpp36
-rw-r--r--src/mame/drivers/hp9k.cpp33
-rw-r--r--src/mame/drivers/hp9k_3xx.cpp121
-rw-r--r--src/mame/drivers/hp_ipc.cpp54
-rw-r--r--src/mame/drivers/hprot1.cpp22
-rw-r--r--src/mame/drivers/hpz80unk.cpp42
-rw-r--r--src/mame/drivers/ht68k.cpp15
-rw-r--r--src/mame/drivers/huebler.cpp36
-rw-r--r--src/mame/drivers/hunter2.cpp65
-rw-r--r--src/mame/drivers/hvyunit.cpp104
-rw-r--r--src/mame/drivers/hx20.cpp75
-rw-r--r--src/mame/drivers/hyhoo.cpp42
-rw-r--r--src/mame/drivers/hyperscan.cpp19
-rw-r--r--src/mame/drivers/hyperspt.cpp134
-rw-r--r--src/mame/drivers/hyprduel.cpp104
-rw-r--r--src/mame/drivers/i7000.cpp26
-rw-r--r--src/mame/drivers/ibm3153.cpp16
-rw-r--r--src/mame/drivers/ibm6580.cpp60
-rw-r--r--src/mame/drivers/ibmpc.cpp20
-rw-r--r--src/mame/drivers/ibmpcjr.cpp80
-rw-r--r--src/mame/drivers/icatel.cpp39
-rw-r--r--src/mame/drivers/ice_bozopail.cpp7
-rw-r--r--src/mame/drivers/ice_tbd.cpp20
-rw-r--r--src/mame/drivers/icecold.cpp19
-rw-r--r--src/mame/drivers/ichiban.cpp14
-rw-r--r--src/mame/drivers/idsa.cpp52
-rw-r--r--src/mame/drivers/if800.cpp29
-rw-r--r--src/mame/drivers/igs009.cpp99
-rw-r--r--src/mame/drivers/igs011.cpp529
-rw-r--r--src/mame/drivers/igs017.cpp211
-rw-r--r--src/mame/drivers/igs_fear.cpp9
-rw-r--r--src/mame/drivers/igs_m027.cpp23
-rw-r--r--src/mame/drivers/igs_m036.cpp9
-rw-r--r--src/mame/drivers/igspc.cpp12
-rw-r--r--src/mame/drivers/igspoker.cpp136
-rw-r--r--src/mame/drivers/ikki.cpp48
-rw-r--r--src/mame/drivers/imds.cpp22
-rw-r--r--src/mame/drivers/imds2.cpp88
-rw-r--r--src/mame/drivers/imolagp.cpp68
-rw-r--r--src/mame/drivers/imsai.cpp44
-rw-r--r--src/mame/drivers/inder.cpp136
-rw-r--r--src/mame/drivers/inderp.cpp21
-rw-r--r--src/mame/drivers/indiana.cpp25
-rw-r--r--src/mame/drivers/indigo.cpp47
-rw-r--r--src/mame/drivers/indy_indigo2.cpp41
-rw-r--r--src/mame/drivers/instantm.cpp47
-rw-r--r--src/mame/drivers/instruct.cpp51
-rw-r--r--src/mame/drivers/inteladv.cpp13
-rw-r--r--src/mame/drivers/intellec4.cpp30
-rw-r--r--src/mame/drivers/interact.cpp25
-rw-r--r--src/mame/drivers/interpro.cpp184
-rw-r--r--src/mame/drivers/intrscti.cpp46
-rw-r--r--src/mame/drivers/intv.cpp288
-rw-r--r--src/mame/drivers/inufuku.cpp77
-rw-r--r--src/mame/drivers/invqix.cpp42
-rw-r--r--src/mame/drivers/ipc.cpp32
-rw-r--r--src/mame/drivers/ipds.cpp28
-rw-r--r--src/mame/drivers/iq151.cpp38
-rw-r--r--src/mame/drivers/iqblock.cpp40
-rw-r--r--src/mame/drivers/iqunlim.cpp9
-rw-r--r--src/mame/drivers/iris3130.cpp45
-rw-r--r--src/mame/drivers/irisha.cpp30
-rw-r--r--src/mame/drivers/irobot.cpp47
-rw-r--r--src/mame/drivers/ironhors.cpp159
-rw-r--r--src/mame/drivers/isbc.cpp177
-rw-r--r--src/mame/drivers/isbc8010.cpp56
-rw-r--r--src/mame/drivers/isbc8030.cpp32
-rw-r--r--src/mame/drivers/iskr103x.cpp18
-rw-r--r--src/mame/drivers/istellar.cpp84
-rw-r--r--src/mame/drivers/istrebiteli.cpp28
-rw-r--r--src/mame/drivers/itech32.cpp226
-rw-r--r--src/mame/drivers/itech8.cpp196
-rw-r--r--src/mame/drivers/itgambl2.cpp7
-rw-r--r--src/mame/drivers/itgambl3.cpp9
-rw-r--r--src/mame/drivers/itgamble.cpp9
-rw-r--r--src/mame/drivers/itt3030.cpp45
-rw-r--r--src/mame/drivers/jack.cpp133
-rw-r--r--src/mame/drivers/jackal.cpp54
-rw-r--r--src/mame/drivers/jackie.cpp68
-rw-r--r--src/mame/drivers/jackpool.cpp35
-rw-r--r--src/mame/drivers/jade.cpp28
-rw-r--r--src/mame/drivers/jaguar.cpp394
-rw-r--r--src/mame/drivers/jailbrek.cpp60
-rw-r--r--src/mame/drivers/jalmah.cpp82
-rw-r--r--src/mame/drivers/jangou.cpp176
-rw-r--r--src/mame/drivers/jankenmn.cpp28
-rw-r--r--src/mame/drivers/jantotsu.cpp30
-rw-r--r--src/mame/drivers/jchan.cpp56
-rw-r--r--src/mame/drivers/jclub2.cpp199
-rw-r--r--src/mame/drivers/jedi.cpp55
-rw-r--r--src/mame/drivers/jeutel.cpp66
-rw-r--r--src/mame/drivers/joctronic.cpp146
-rw-r--r--src/mame/drivers/jokrwild.cpp29
-rw-r--r--src/mame/drivers/jollyjgr.cpp72
-rw-r--r--src/mame/drivers/jongkyo.cpp51
-rw-r--r--src/mame/drivers/jonos.cpp19
-rw-r--r--src/mame/drivers/joystand.cpp49
-rw-r--r--src/mame/drivers/jp.cpp38
-rw-r--r--src/mame/drivers/jpmimpct.cpp99
-rw-r--r--src/mame/drivers/jpmmps.cpp30
-rw-r--r--src/mame/drivers/jpms80.cpp40
-rw-r--r--src/mame/drivers/jpmsru.cpp25
-rw-r--r--src/mame/drivers/jpmsys5.cpp76
-rw-r--r--src/mame/drivers/jpmsys7.cpp17
-rw-r--r--src/mame/drivers/jr100.cpp17
-rw-r--r--src/mame/drivers/jr200.cpp25
-rw-r--r--src/mame/drivers/jrpacman.cpp46
-rw-r--r--src/mame/drivers/jtc.cpp164
-rw-r--r--src/mame/drivers/jubilee.cpp26
-rw-r--r--src/mame/drivers/juicebox.cpp11
-rw-r--r--src/mame/drivers/jungleyo.cpp7
-rw-r--r--src/mame/drivers/junior.cpp17
-rw-r--r--src/mame/drivers/junofrst.cpp84
-rw-r--r--src/mame/drivers/jupace.cpp44
-rw-r--r--src/mame/drivers/jupiter.cpp45
-rw-r--r--src/mame/drivers/jvh.cpp30
-rw-r--r--src/mame/drivers/k1003.cpp34
-rw-r--r--src/mame/drivers/k8915.cpp28
-rw-r--r--src/mame/drivers/kaneko16.cpp514
-rw-r--r--src/mame/drivers/kangaroo.cpp53
-rw-r--r--src/mame/drivers/karnov.cpp69
-rw-r--r--src/mame/drivers/kas89.cpp78
-rw-r--r--src/mame/drivers/kaypro.cpp69
-rw-r--r--src/mame/drivers/kc.cpp76
-rw-r--r--src/mame/drivers/kchamp.cpp145
-rw-r--r--src/mame/drivers/kdt6.cpp96
-rw-r--r--src/mame/drivers/kenseim.cpp18
-rw-r--r--src/mame/drivers/kickgoal.cpp42
-rw-r--r--src/mame/drivers/kim1.cpp19
-rw-r--r--src/mame/drivers/kingdrby.cpp147
-rw-r--r--src/mame/drivers/kingobox.cpp195
-rw-r--r--src/mame/drivers/kingpin.cpp54
-rw-r--r--src/mame/drivers/kinst.cpp19
-rw-r--r--src/mame/drivers/kissproto.cpp7
-rw-r--r--src/mame/drivers/klax.cpp73
-rw-r--r--src/mame/drivers/kncljoe.cpp61
-rw-r--r--src/mame/drivers/koftball.cpp62
-rw-r--r--src/mame/drivers/koikoi.cpp30
-rw-r--r--src/mame/drivers/konamigq.cpp76
-rw-r--r--src/mame/drivers/konamigv.cpp97
-rw-r--r--src/mame/drivers/konamigx.cpp189
-rw-r--r--src/mame/drivers/konamim2.cpp102
-rw-r--r--src/mame/drivers/konendev.cpp35
-rw-r--r--src/mame/drivers/konin.cpp55
-rw-r--r--src/mame/drivers/konmedal.cpp129
-rw-r--r--src/mame/drivers/konmedal68k.cpp37
-rw-r--r--src/mame/drivers/kontest.cpp32
-rw-r--r--src/mame/drivers/kopunch.cpp32
-rw-r--r--src/mame/drivers/kramermc.cpp34
-rw-r--r--src/mame/drivers/kron.cpp38
-rw-r--r--src/mame/drivers/krz2000.cpp11
-rw-r--r--src/mame/drivers/ksayakyu.cpp58
-rw-r--r--src/mame/drivers/ksys573.cpp102
-rw-r--r--src/mame/drivers/kungfur.cpp17
-rw-r--r--src/mame/drivers/kurukuru.cpp134
-rw-r--r--src/mame/drivers/kyocera.cpp104
-rw-r--r--src/mame/drivers/kyugo.cpp190
-rw-r--r--src/mame/drivers/labyrunr.cpp43
-rw-r--r--src/mame/drivers/ladybug.cpp117
-rw-r--r--src/mame/drivers/ladyfrog.cpp74
-rw-r--r--src/mame/drivers/laser3k.cpp30
-rw-r--r--src/mame/drivers/laserbas.cpp46
-rw-r--r--src/mame/drivers/laserbat.cpp58
-rw-r--r--src/mame/drivers/lasso.cpp268
-rw-r--r--src/mame/drivers/lastbank.cpp104
-rw-r--r--src/mame/drivers/lastduel.cpp98
-rw-r--r--src/mame/drivers/lastfght.cpp70
-rw-r--r--src/mame/drivers/lazercmd.cpp68
-rw-r--r--src/mame/drivers/lb186.cpp28
-rw-r--r--src/mame/drivers/lbeach.cpp31
-rw-r--r--src/mame/drivers/lc80.cpp30
-rw-r--r--src/mame/drivers/lcmate2.cpp42
-rw-r--r--src/mame/drivers/leapster.cpp20
-rw-r--r--src/mame/drivers/legionna.cpp556
-rw-r--r--src/mame/drivers/leland.cpp208
-rw-r--r--src/mame/drivers/lemmings.cpp48
-rw-r--r--src/mame/drivers/lethal.cpp81
-rw-r--r--src/mame/drivers/lethalj.cpp31
-rw-r--r--src/mame/drivers/lft.cpp30
-rw-r--r--src/mame/drivers/lg-dvd.cpp7
-rw-r--r--src/mame/drivers/lgp.cpp56
-rw-r--r--src/mame/drivers/liberate.cpp191
-rw-r--r--src/mame/drivers/liberatr.cpp86
-rw-r--r--src/mame/drivers/limenko.cpp92
-rw-r--r--src/mame/drivers/lisa.cpp43
-rw-r--r--src/mame/drivers/littlerb.cpp35
-rw-r--r--src/mame/drivers/lkage.cpp99
-rw-r--r--src/mame/drivers/llc.cpp66
-rw-r--r--src/mame/drivers/lockon.cpp121
-rw-r--r--src/mame/drivers/lola8a.cpp42
-rw-r--r--src/mame/drivers/looping.cpp68
-rw-r--r--src/mame/drivers/lordgun.cpp176
-rw-r--r--src/mame/drivers/lsasquad.cpp179
-rw-r--r--src/mame/drivers/ltcasino.cpp45
-rw-r--r--src/mame/drivers/ltd.cpp53
-rw-r--r--src/mame/drivers/luckgrln.cpp163
-rw-r--r--src/mame/drivers/lucky74.cpp52
-rw-r--r--src/mame/drivers/luckybal.cpp24
-rw-r--r--src/mame/drivers/lvcards.cpp78
-rw-r--r--src/mame/drivers/lviv.cpp20
-rw-r--r--src/mame/drivers/lwings.cpp268
-rw-r--r--src/mame/drivers/lwriter.cpp39
-rw-r--r--src/mame/drivers/lynx.cpp19
-rw-r--r--src/mame/drivers/m10.cpp85
-rw-r--r--src/mame/drivers/m107.cpp110
-rw-r--r--src/mame/drivers/m14.cpp32
-rw-r--r--src/mame/drivers/m20.cpp57
-rw-r--r--src/mame/drivers/m24.cpp41
-rw-r--r--src/mame/drivers/m3.cpp24
-rw-r--r--src/mame/drivers/m5.cpp178
-rw-r--r--src/mame/drivers/m52.cpp85
-rw-r--r--src/mame/drivers/m57.cpp29
-rw-r--r--src/mame/drivers/m58.cpp37
-rw-r--r--src/mame/drivers/m62.cpp411
-rw-r--r--src/mame/drivers/m63.cpp96
-rw-r--r--src/mame/drivers/m6805evs.cpp17
-rw-r--r--src/mame/drivers/m72.cpp523
-rw-r--r--src/mame/drivers/m79152pc.cpp28
-rw-r--r--src/mame/drivers/m79amb.cpp27
-rw-r--r--src/mame/drivers/m90.cpp157
-rw-r--r--src/mame/drivers/m92.cpp129
-rw-r--r--src/mame/drivers/mac.cpp484
-rw-r--r--src/mame/drivers/mac128.cpp44
-rw-r--r--src/mame/drivers/macp.cpp35
-rw-r--r--src/mame/drivers/macpci.cpp25
-rw-r--r--src/mame/drivers/macrossp.cpp76
-rw-r--r--src/mame/drivers/macs.cpp34
-rw-r--r--src/mame/drivers/madalien.cpp74
-rw-r--r--src/mame/drivers/madmotor.cpp74
-rw-r--r--src/mame/drivers/magic10.cpp169
-rw-r--r--src/mame/drivers/magicard.cpp92
-rw-r--r--src/mame/drivers/magicfly.cpp21
-rw-r--r--src/mame/drivers/magictg.cpp60
-rw-r--r--src/mame/drivers/magmax.cpp63
-rw-r--r--src/mame/drivers/magnum.cpp22
-rw-r--r--src/mame/drivers/magtouch.cpp38
-rw-r--r--src/mame/drivers/mainevt.cpp142
-rw-r--r--src/mame/drivers/mainsnk.cpp63
-rw-r--r--src/mame/drivers/majorpkr.cpp84
-rw-r--r--src/mame/drivers/malzak.cpp106
-rw-r--r--src/mame/drivers/manohman.cpp23
-rw-r--r--src/mame/drivers/mappy.cpp123
-rw-r--r--src/mame/drivers/marineb.cpp57
-rw-r--r--src/mame/drivers/marinedt.cpp46
-rw-r--r--src/mame/drivers/mario.cpp71
-rw-r--r--src/mame/drivers/markham.cpp52
-rw-r--r--src/mame/drivers/marywu.cpp28
-rw-r--r--src/mame/drivers/mastboy.cpp46
-rw-r--r--src/mame/drivers/matmania.cpp110
-rw-r--r--src/mame/drivers/maxaflex.cpp27
-rw-r--r--src/mame/drivers/maygay1b.cpp98
-rw-r--r--src/mame/drivers/maygayep.cpp11
-rw-r--r--src/mame/drivers/maygaysw.cpp13
-rw-r--r--src/mame/drivers/maygayv1.cpp50
-rw-r--r--src/mame/drivers/mazerbla.cpp159
-rw-r--r--src/mame/drivers/mbc200.cpp60
-rw-r--r--src/mame/drivers/mbc55x.cpp70
-rw-r--r--src/mame/drivers/mbee.cpp389
-rw-r--r--src/mame/drivers/mc10.cpp66
-rw-r--r--src/mame/drivers/mc1000.cpp63
-rw-r--r--src/mame/drivers/mc1502.cpp28
-rw-r--r--src/mame/drivers/mc8020.cpp30
-rw-r--r--src/mame/drivers/mc8030.cpp44
-rw-r--r--src/mame/drivers/mcatadv.cpp101
-rw-r--r--src/mame/drivers/mcb216.cpp47
-rw-r--r--src/mame/drivers/mccpm.cpp24
-rw-r--r--src/mame/drivers/mcr.cpp134
-rw-r--r--src/mame/drivers/mcr3.cpp84
-rw-r--r--src/mame/drivers/mcr68.cpp95
-rw-r--r--src/mame/drivers/meadows.cpp99
-rw-r--r--src/mame/drivers/mediagx.cpp55
-rw-r--r--src/mame/drivers/megadriv_acbl.cpp29
-rw-r--r--src/mame/drivers/megadriv_rad.cpp27
-rw-r--r--src/mame/drivers/megaphx.cpp19
-rw-r--r--src/mame/drivers/megaplay.cpp38
-rw-r--r--src/mame/drivers/megasys1.cpp317
-rw-r--r--src/mame/drivers/megatech.cpp40
-rw-r--r--src/mame/drivers/megazone.cpp91
-rw-r--r--src/mame/drivers/meijinsn.cpp49
-rw-r--r--src/mame/drivers/mekd2.cpp17
-rw-r--r--src/mame/drivers/mephisto.cpp75
-rw-r--r--src/mame/drivers/mephisto_montec.cpp111
-rw-r--r--src/mame/drivers/mephistp.cpp45
-rw-r--r--src/mame/drivers/merit.cpp354
-rw-r--r--src/mame/drivers/meritm.cpp122
-rw-r--r--src/mame/drivers/mermaid.cpp39
-rw-r--r--src/mame/drivers/mes.cpp32
-rw-r--r--src/mame/drivers/metalmx.cpp124
-rw-r--r--src/mame/drivers/metlclsh.cpp72
-rw-r--r--src/mame/drivers/metlfrzr.cpp66
-rw-r--r--src/mame/drivers/metro.cpp827
-rw-r--r--src/mame/drivers/mexico86.cpp61
-rw-r--r--src/mame/drivers/meyc8080.cpp31
-rw-r--r--src/mame/drivers/meyc8088.cpp29
-rw-r--r--src/mame/drivers/mfabfz.cpp45
-rw-r--r--src/mame/drivers/mgames.cpp35
-rw-r--r--src/mame/drivers/mgavegas.cpp17
-rw-r--r--src/mame/drivers/mgolf.cpp57
-rw-r--r--src/mame/drivers/mhavoc.cpp117
-rw-r--r--src/mame/drivers/mice.cpp80
-rw-r--r--src/mame/drivers/micral.cpp77
-rw-r--r--src/mame/drivers/micro20.cpp25
-rw-r--r--src/mame/drivers/micro3d.cpp124
-rw-r--r--src/mame/drivers/microdec.cpp40
-rw-r--r--src/mame/drivers/microkit.cpp20
-rw-r--r--src/mame/drivers/micronic.cpp42
-rw-r--r--src/mame/drivers/micropin.cpp69
-rw-r--r--src/mame/drivers/microtan.cpp29
-rw-r--r--src/mame/drivers/microterm.cpp57
-rw-r--r--src/mame/drivers/midas.cpp94
-rw-r--r--src/mame/drivers/midqslvr.cpp54
-rw-r--r--src/mame/drivers/midtunit.cpp45
-rw-r--r--src/mame/drivers/midvunit.cpp106
-rw-r--r--src/mame/drivers/midwunit.cpp31
-rw-r--r--src/mame/drivers/midxunit.cpp45
-rw-r--r--src/mame/drivers/midyunit.cpp48
-rw-r--r--src/mame/drivers/midzeus.cpp68
-rw-r--r--src/mame/drivers/mightyframe.cpp7
-rw-r--r--src/mame/drivers/mikie.cpp66
-rw-r--r--src/mame/drivers/mikro80.cpp60
-rw-r--r--src/mame/drivers/mikromik.cpp7
-rw-r--r--src/mame/drivers/mikrosha.cpp34
-rw-r--r--src/mame/drivers/mil4000.cpp86
-rw-r--r--src/mame/drivers/milton6805.cpp7
-rw-r--r--src/mame/drivers/milwaukee.cpp21
-rw-r--r--src/mame/drivers/mini2440.cpp7
-rw-r--r--src/mame/drivers/miniboy7.cpp27
-rw-r--r--src/mame/drivers/miniframe.cpp30
-rw-r--r--src/mame/drivers/minitel_2_rpic.cpp7
-rw-r--r--src/mame/drivers/minivadr.cpp11
-rw-r--r--src/mame/drivers/mirage.cpp43
-rw-r--r--src/mame/drivers/mirax.cpp54
-rw-r--r--src/mame/drivers/missb2.cpp95
-rw-r--r--src/mame/drivers/missile.cpp14
-rw-r--r--src/mame/drivers/mitchell.cpp210
-rw-r--r--src/mame/drivers/mits680b.cpp15
-rw-r--r--src/mame/drivers/mjkjidai.cpp34
-rw-r--r--src/mame/drivers/mjsenpu.cpp40
-rw-r--r--src/mame/drivers/mjsister.cpp44
-rw-r--r--src/mame/drivers/mk1.cpp18
-rw-r--r--src/mame/drivers/mk14.cpp21
-rw-r--r--src/mame/drivers/mk2.cpp15
-rw-r--r--src/mame/drivers/mk85.cpp11
-rw-r--r--src/mame/drivers/mk90.cpp13
-rw-r--r--src/mame/drivers/mkit09.cpp30
-rw-r--r--src/mame/drivers/mlanding.cpp148
-rw-r--r--src/mame/drivers/mmagic.cpp38
-rw-r--r--src/mame/drivers/mmd1.cpp72
-rw-r--r--src/mame/drivers/mmm.cpp36
-rw-r--r--src/mame/drivers/mmodular.cpp130
-rw-r--r--src/mame/drivers/mod8.cpp28
-rw-r--r--src/mame/drivers/model1.cpp167
-rw-r--r--src/mame/drivers/model2.cpp366
-rw-r--r--src/mame/drivers/model3.cpp90
-rw-r--r--src/mame/drivers/modellot.cpp28
-rw-r--r--src/mame/drivers/mogura.cpp38
-rw-r--r--src/mame/drivers/mole.cpp35
-rw-r--r--src/mame/drivers/molecular.cpp38
-rw-r--r--src/mame/drivers/momoko.cpp66
-rw-r--r--src/mame/drivers/monty.cpp49
-rw-r--r--src/mame/drivers/monzagp.cpp14
-rw-r--r--src/mame/drivers/moo.cpp206
-rw-r--r--src/mame/drivers/mosaic.cpp74
-rw-r--r--src/mame/drivers/mouser.cpp64
-rw-r--r--src/mame/drivers/mpf1.cpp103
-rw-r--r--src/mame/drivers/mps1230.cpp11
-rw-r--r--src/mame/drivers/mpu12wbk.cpp33
-rw-r--r--src/mame/drivers/mpu2.cpp19
-rw-r--r--src/mame/drivers/mpu3.cpp19
-rw-r--r--src/mame/drivers/mpu4dealem.cpp29
-rw-r--r--src/mame/drivers/mpu4plasma.cpp13
-rw-r--r--src/mame/drivers/mpu4vid.cpp123
-rw-r--r--src/mame/drivers/mpu5.cpp7
-rw-r--r--src/mame/drivers/mpz80.cpp14
-rw-r--r--src/mame/drivers/mquake.cpp70
-rw-r--r--src/mame/drivers/mrdo.cpp35
-rw-r--r--src/mame/drivers/mrflea.cpp78
-rw-r--r--src/mame/drivers/mrgame.cpp104
-rw-r--r--src/mame/drivers/mrjong.cpp32
-rw-r--r--src/mame/drivers/ms0515.cpp85
-rw-r--r--src/mame/drivers/ms32.cpp117
-rw-r--r--src/mame/drivers/ms6102.cpp40
-rw-r--r--src/mame/drivers/ms9540.cpp15
-rw-r--r--src/mame/drivers/msbc1.cpp11
-rw-r--r--src/mame/drivers/msisaac.cpp96
-rw-r--r--src/mame/drivers/mstation.cpp55
-rw-r--r--src/mame/drivers/msx.cpp92
-rw-r--r--src/mame/drivers/mt735.cpp15
-rw-r--r--src/mame/drivers/mtouchxl.cpp63
-rw-r--r--src/mame/drivers/mtx.cpp45
-rw-r--r--src/mame/drivers/mugsmash.cpp50
-rw-r--r--src/mame/drivers/multfish.cpp139
-rw-r--r--src/mame/drivers/multi16.cpp28
-rw-r--r--src/mame/drivers/multi8.cpp50
-rw-r--r--src/mame/drivers/multigam.cpp130
-rw-r--r--src/mame/drivers/munchmo.cpp67
-rw-r--r--src/mame/drivers/murogem.cpp21
-rw-r--r--src/mame/drivers/murogmbl.cpp46
-rw-r--r--src/mame/drivers/mustache.cpp50
-rw-r--r--src/mame/drivers/mvme147.cpp29
-rw-r--r--src/mame/drivers/mw18w.cpp34
-rw-r--r--src/mame/drivers/mw8080bw.cpp570
-rw-r--r--src/mame/drivers/mwarr.cpp56
-rw-r--r--src/mame/drivers/mwsub.cpp34
-rw-r--r--src/mame/drivers/mx2178.cpp32
-rw-r--r--src/mame/drivers/myb3k.cpp46
-rw-r--r--src/mame/drivers/mycom.cpp38
-rw-r--r--src/mame/drivers/mystston.cpp31
-rw-r--r--src/mame/drivers/mystwarr.cpp421
-rw-r--r--src/mame/drivers/myvision.cpp32
-rw-r--r--src/mame/drivers/mz2000.cpp53
-rw-r--r--src/mame/drivers/mz2500.cpp88
-rw-r--r--src/mame/drivers/mz3500.cpp72
-rw-r--r--src/mame/drivers/mz6500.cpp31
-rw-r--r--src/mame/drivers/mz700.cpp144
-rw-r--r--src/mame/drivers/mz80.cpp32
-rw-r--r--src/mame/drivers/mzr8105.cpp13
-rw-r--r--src/mame/drivers/n64.cpp97
-rw-r--r--src/mame/drivers/n8080.cpp57
-rw-r--r--src/mame/drivers/nakajies.cpp40
-rw-r--r--src/mame/drivers/namcofl.cpp77
-rw-r--r--src/mame/drivers/namcona1.cpp80
-rw-r--r--src/mame/drivers/namconb1.cpp118
-rw-r--r--src/mame/drivers/namcond1.cpp82
-rw-r--r--src/mame/drivers/namcops2.cpp9
-rw-r--r--src/mame/drivers/namcos1.cpp117
-rw-r--r--src/mame/drivers/namcos10.cpp61
-rw-r--r--src/mame/drivers/namcos11.cpp144
-rw-r--r--src/mame/drivers/namcos12.cpp247
-rw-r--r--src/mame/drivers/namcos2.cpp355
-rw-r--r--src/mame/drivers/namcos21.cpp414
-rw-r--r--src/mame/drivers/namcos22.cpp308
-rw-r--r--src/mame/drivers/namcos23.cpp207
-rw-r--r--src/mame/drivers/namcos86.cpp283
-rw-r--r--src/mame/drivers/nanos.cpp36
-rw-r--r--src/mame/drivers/naomi.cpp202
-rw-r--r--src/mame/drivers/nascom1.cpp73
-rw-r--r--src/mame/drivers/naughtyb.cpp52
-rw-r--r--src/mame/drivers/nbmj8688.cpp456
-rw-r--r--src/mame/drivers/nbmj8891.cpp636
-rw-r--r--src/mame/drivers/nbmj8900.cpp75
-rw-r--r--src/mame/drivers/nbmj8991.cpp273
-rw-r--r--src/mame/drivers/nbmj9195.cpp817
-rw-r--r--src/mame/drivers/nc.cpp91
-rw-r--r--src/mame/drivers/nds.cpp64
-rw-r--r--src/mame/drivers/nemesis.cpp668
-rw-r--r--src/mame/drivers/neogeo.cpp125
-rw-r--r--src/mame/drivers/neogeocd.cpp76
-rw-r--r--src/mame/drivers/neoprint.cpp101
-rw-r--r--src/mame/drivers/neptunp2.cpp30
-rw-r--r--src/mame/drivers/nes.cpp15
-rw-r--r--src/mame/drivers/nes_vt.cpp204
-rw-r--r--src/mame/drivers/newbrain.cpp18
-rw-r--r--src/mame/drivers/news.cpp23
-rw-r--r--src/mame/drivers/next.cpp119
-rw-r--r--src/mame/drivers/nexus3d.cpp17
-rw-r--r--src/mame/drivers/ngen.cpp22
-rw-r--r--src/mame/drivers/ngp.cpp39
-rw-r--r--src/mame/drivers/nibble.cpp14
-rw-r--r--src/mame/drivers/nightgal.cpp176
-rw-r--r--src/mame/drivers/ninjakd2.cpp242
-rw-r--r--src/mame/drivers/ninjaw.cpp145
-rw-r--r--src/mame/drivers/nitedrvr.cpp29
-rw-r--r--src/mame/drivers/niyanpai.cpp242
-rw-r--r--src/mame/drivers/nmg5.cpp115
-rw-r--r--src/mame/drivers/nmk16.cpp1024
-rw-r--r--src/mame/drivers/nmkmedal.cpp9
-rw-r--r--src/mame/drivers/nokia_3310.cpp27
-rw-r--r--src/mame/drivers/norautp.cpp143
-rw-r--r--src/mame/drivers/notechan.cpp30
-rw-r--r--src/mame/drivers/nova2001.cpp228
-rw-r--r--src/mame/drivers/novag6502.cpp72
-rw-r--r--src/mame/drivers/novag68k.cpp24
-rw-r--r--src/mame/drivers/novagf8.cpp24
-rw-r--r--src/mame/drivers/nsg6809.cpp15
-rw-r--r--src/mame/drivers/nsm.cpp42
-rw-r--r--src/mame/drivers/nsmpoker.cpp26
-rw-r--r--src/mame/drivers/nss.cpp58
-rw-r--r--src/mame/drivers/nwk-tr.cpp94
-rw-r--r--src/mame/drivers/nycaptor.cpp310
-rw-r--r--src/mame/drivers/nyny.cpp93
-rw-r--r--src/mame/drivers/ob68k1a.cpp21
-rw-r--r--src/mame/drivers/octopus.cpp93
-rw-r--r--src/mame/drivers/odyssey.cpp5
-rw-r--r--src/mame/drivers/odyssey2.cpp25
-rw-r--r--src/mame/drivers/offtwall.cpp53
-rw-r--r--src/mame/drivers/ohmygod.cpp52
-rw-r--r--src/mame/drivers/ojankohs.cpp155
-rw-r--r--src/mame/drivers/okean240.cpp94
-rw-r--r--src/mame/drivers/olibochu.cpp56
-rw-r--r--src/mame/drivers/olyboss.cpp63
-rw-r--r--src/mame/drivers/omegrace.cpp72
-rw-r--r--src/mame/drivers/ondra.cpp24
-rw-r--r--src/mame/drivers/oneshot.cpp62
-rw-r--r--src/mame/drivers/onetwo.cpp66
-rw-r--r--src/mame/drivers/onyx.cpp56
-rw-r--r--src/mame/drivers/opwolf.cpp174
-rw-r--r--src/mame/drivers/orao.cpp19
-rw-r--r--src/mame/drivers/orbit.cpp37
-rw-r--r--src/mame/drivers/oric.cpp36
-rw-r--r--src/mame/drivers/orion.cpp98
-rw-r--r--src/mame/drivers/osbexec.cpp42
-rw-r--r--src/mame/drivers/osborne1.cpp33
-rw-r--r--src/mame/drivers/osi.cpp108
-rw-r--r--src/mame/drivers/othello.cpp70
-rw-r--r--src/mame/drivers/othunder.cpp54
-rw-r--r--src/mame/drivers/otomedius.cpp11
-rw-r--r--src/mame/drivers/overdriv.cpp112
-rw-r--r--src/mame/drivers/p112.cpp22
-rw-r--r--src/mame/drivers/p2000t.cpp57
-rw-r--r--src/mame/drivers/p8k.cpp109
-rw-r--r--src/mame/drivers/pachifev.cpp48
-rw-r--r--src/mame/drivers/pacland.cpp70
-rw-r--r--src/mame/drivers/pacman.cpp806
-rw-r--r--src/mame/drivers/palm.cpp9
-rw-r--r--src/mame/drivers/palmz22.cpp7
-rw-r--r--src/mame/drivers/pandoras.cpp105
-rw-r--r--src/mame/drivers/pangofun.cpp40
-rw-r--r--src/mame/drivers/panicr.cpp47
-rw-r--r--src/mame/drivers/paradise.cpp102
-rw-r--r--src/mame/drivers/paranoia.cpp76
-rw-r--r--src/mame/drivers/parodius.cpp78
-rw-r--r--src/mame/drivers/partner.cpp41
-rw-r--r--src/mame/drivers/pasha2.cpp62
-rw-r--r--src/mame/drivers/paso1600.cpp42
-rw-r--r--src/mame/drivers/pasogo.cpp39
-rw-r--r--src/mame/drivers/pasopia.cpp38
-rw-r--r--src/mame/drivers/pasopia7.cpp28
-rw-r--r--src/mame/drivers/pass.cpp47
-rw-r--r--src/mame/drivers/pastelg.cpp63
-rw-r--r--src/mame/drivers/patapata.cpp35
-rw-r--r--src/mame/drivers/pb1000.cpp36
-rw-r--r--src/mame/drivers/pbaction.cpp78
-rw-r--r--src/mame/drivers/pc.cpp83
-rw-r--r--src/mame/drivers/pc100.cpp54
-rw-r--r--src/mame/drivers/pc1500.cpp32
-rw-r--r--src/mame/drivers/pc1512.cpp82
-rw-r--r--src/mame/drivers/pc2000.cpp85
-rw-r--r--src/mame/drivers/pc4.cpp40
-rw-r--r--src/mame/drivers/pc6001.cpp201
-rw-r--r--src/mame/drivers/pc8001.cpp86
-rw-r--r--src/mame/drivers/pc8401a.cpp24
-rw-r--r--src/mame/drivers/pc8801.cpp154
-rw-r--r--src/mame/drivers/pc88va.cpp82
-rw-r--r--src/mame/drivers/pc9801.cpp331
-rw-r--r--src/mame/drivers/pcat_dyn.cpp48
-rw-r--r--src/mame/drivers/pcat_nit.cpp84
-rw-r--r--src/mame/drivers/pcd.cpp67
-rw-r--r--src/mame/drivers/pce.cpp90
-rw-r--r--src/mame/drivers/pce220.cpp109
-rw-r--r--src/mame/drivers/pcfx.cpp44
-rw-r--r--src/mame/drivers/pcktgal.cpp52
-rw-r--r--src/mame/drivers/pcm.cpp34
-rw-r--r--src/mame/drivers/pcw.cpp71
-rw-r--r--src/mame/drivers/pcw16.cpp48
-rw-r--r--src/mame/drivers/pcxt.cpp69
-rw-r--r--src/mame/drivers/pda600.cpp28
-rw-r--r--src/mame/drivers/pdp1.cpp7
-rw-r--r--src/mame/drivers/pdp11.cpp32
-rw-r--r--src/mame/drivers/pecom.cpp30
-rw-r--r--src/mame/drivers/pegasus.cpp34
-rw-r--r--src/mame/drivers/pencil2.cpp60
-rw-r--r--src/mame/drivers/pengadvb.cpp47
-rw-r--r--src/mame/drivers/pengo.cpp79
-rw-r--r--src/mame/drivers/pentagon.cpp53
-rw-r--r--src/mame/drivers/peoplepc.cpp52
-rw-r--r--src/mame/drivers/peplus.cpp52
-rw-r--r--src/mame/drivers/pes.cpp22
-rw-r--r--src/mame/drivers/pet.cpp14
-rw-r--r--src/mame/drivers/peyper.cpp48
-rw-r--r--src/mame/drivers/pg685.cpp141
-rw-r--r--src/mame/drivers/pgm.cpp77
-rw-r--r--src/mame/drivers/pgm2.cpp108
-rw-r--r--src/mame/drivers/pgm3.cpp7
-rw-r--r--src/mame/drivers/phc25.cpp50
-rw-r--r--src/mame/drivers/phoenix.cpp67
-rw-r--r--src/mame/drivers/photon.cpp44
-rw-r--r--src/mame/drivers/photon2.cpp32
-rw-r--r--src/mame/drivers/photoply.cpp42
-rw-r--r--src/mame/drivers/phunsy.cpp39
-rw-r--r--src/mame/drivers/picno.cpp20
-rw-r--r--src/mame/drivers/piggypas.cpp39
-rw-r--r--src/mame/drivers/pimps.cpp28
-rw-r--r--src/mame/drivers/pinball2k.cpp53
-rw-r--r--src/mame/drivers/pingpong.cpp76
-rw-r--r--src/mame/drivers/pinkiri8.cpp74
-rw-r--r--src/mame/drivers/pipbug.cpp18
-rw-r--r--src/mame/drivers/pipedrm.cpp77
-rw-r--r--src/mame/drivers/pipeline.cpp47
-rw-r--r--src/mame/drivers/pirates.cpp31
-rw-r--r--src/mame/drivers/piratesh.cpp57
-rw-r--r--src/mame/drivers/pitagjr.cpp11
-rw-r--r--src/mame/drivers/pitnrun.cpp86
-rw-r--r--src/mame/drivers/pk8000.cpp44
-rw-r--r--src/mame/drivers/pk8020.cpp14
-rw-r--r--src/mame/drivers/pkscram.cpp43
-rw-r--r--src/mame/drivers/pktgaldx.cpp89
-rw-r--r--src/mame/drivers/plan80.cpp30
-rw-r--r--src/mame/drivers/play_1.cpp49
-rw-r--r--src/mame/drivers/play_2.cpp39
-rw-r--r--src/mame/drivers/play_3.cpp78
-rw-r--r--src/mame/drivers/playch10.cpp59
-rw-r--r--src/mame/drivers/playmark.cpp296
-rw-r--r--src/mame/drivers/plus4.cpp14
-rw-r--r--src/mame/drivers/pluto5.cpp7
-rw-r--r--src/mame/drivers/plygonet.cpp96
-rw-r--r--src/mame/drivers/pm68k.cpp17
-rw-r--r--src/mame/drivers/pmd85.cpp142
-rw-r--r--src/mame/drivers/pmi80.cpp26
-rw-r--r--src/mame/drivers/pntnpuzl.cpp40
-rw-r--r--src/mame/drivers/pockchal.cpp7
-rw-r--r--src/mame/drivers/pocketc.cpp134
-rw-r--r--src/mame/drivers/pockstat.cpp31
-rw-r--r--src/mame/drivers/pofo.cpp23
-rw-r--r--src/mame/drivers/poisk1.cpp26
-rw-r--r--src/mame/drivers/pokechmp.cpp61
-rw-r--r--src/mame/drivers/pokemini.cpp13
-rw-r--r--src/mame/drivers/poker72.cpp43
-rw-r--r--src/mame/drivers/polepos.cpp134
-rw-r--r--src/mame/drivers/polgar.cpp128
-rw-r--r--src/mame/drivers/policetr.cpp74
-rw-r--r--src/mame/drivers/poly.cpp39
-rw-r--r--src/mame/drivers/poly88.cpp72
-rw-r--r--src/mame/drivers/poly880.cpp34
-rw-r--r--src/mame/drivers/polyplay.cpp56
-rw-r--r--src/mame/drivers/poolshrk.cpp35
-rw-r--r--src/mame/drivers/pooyan.cpp33
-rw-r--r--src/mame/drivers/popeye.cpp40
-rw-r--r--src/mame/drivers/popobear.cpp44
-rw-r--r--src/mame/drivers/popper.cpp62
-rw-r--r--src/mame/drivers/portrait.cpp46
-rw-r--r--src/mame/drivers/potgoldu.cpp7
-rw-r--r--src/mame/drivers/powerbal.cpp136
-rw-r--r--src/mame/drivers/powerins.cpp106
-rw-r--r--src/mame/drivers/pp01.cpp54
-rw-r--r--src/mame/drivers/ppmast93.cpp62
-rw-r--r--src/mame/drivers/prehisle.cpp53
-rw-r--r--src/mame/drivers/prestige.cpp55
-rw-r--r--src/mame/drivers/primo.cpp61
-rw-r--r--src/mame/drivers/pro80.cpp32
-rw-r--r--src/mame/drivers/proconn.cpp78
-rw-r--r--src/mame/drivers/prof180x.cpp24
-rw-r--r--src/mame/drivers/prof80.cpp35
-rw-r--r--src/mame/drivers/progolf.cpp50
-rw-r--r--src/mame/drivers/prophet600.cpp38
-rw-r--r--src/mame/drivers/proteus3.cpp17
-rw-r--r--src/mame/drivers/ps2.cpp50
-rw-r--r--src/mame/drivers/ps2sony.cpp9
-rw-r--r--src/mame/drivers/psikyo.cpp170
-rw-r--r--src/mame/drivers/psikyo4.cpp56
-rw-r--r--src/mame/drivers/psikyosh.cpp64
-rw-r--r--src/mame/drivers/psion.cpp126
-rw-r--r--src/mame/drivers/psx.cpp14
-rw-r--r--src/mame/drivers/psychic5.cpp204
-rw-r--r--src/mame/drivers/pt68k4.cpp58
-rw-r--r--src/mame/drivers/ptcsol.cpp44
-rw-r--r--src/mame/drivers/pturn.cpp56
-rw-r--r--src/mame/drivers/puckpkmn.cpp77
-rw-r--r--src/mame/drivers/pulsar.cpp32
-rw-r--r--src/mame/drivers/punchout.cpp122
-rw-r--r--src/mame/drivers/pv1000.cpp18
-rw-r--r--src/mame/drivers/pv2000.cpp30
-rw-r--r--src/mame/drivers/pv9234.cpp21
-rw-r--r--src/mame/drivers/pve500.cpp42
-rw-r--r--src/mame/drivers/pwrview.cpp114
-rw-r--r--src/mame/drivers/px4.cpp77
-rw-r--r--src/mame/drivers/px8.cpp58
-rw-r--r--src/mame/drivers/pyl601.cpp47
-rw-r--r--src/mame/drivers/pyson.cpp9
-rw-r--r--src/mame/drivers/pzletime.cpp31
-rw-r--r--src/mame/drivers/qdrmfgp.cpp103
-rw-r--r--src/mame/drivers/qix.cpp85
-rw-r--r--src/mame/drivers/ql.cpp16
-rw-r--r--src/mame/drivers/qtsbc.cpp28
-rw-r--r--src/mame/drivers/quakeat.cpp20
-rw-r--r--src/mame/drivers/quantum.cpp33
-rw-r--r--src/mame/drivers/quasar.cpp63
-rw-r--r--src/mame/drivers/queen.cpp48
-rw-r--r--src/mame/drivers/quickpick5.cpp41
-rw-r--r--src/mame/drivers/quizdna.cpp137
-rw-r--r--src/mame/drivers/quizo.cpp36
-rw-r--r--src/mame/drivers/quizpani.cpp41
-rw-r--r--src/mame/drivers/quizpun2.cpp81
-rw-r--r--src/mame/drivers/quizshow.cpp33
-rw-r--r--src/mame/drivers/qvt103.cpp26
-rw-r--r--src/mame/drivers/qvt201.cpp15
-rw-r--r--src/mame/drivers/qvt6800.cpp40
-rw-r--r--src/mame/drivers/qx10.cpp63
-rw-r--r--src/mame/drivers/r2dtank.cpp42
-rw-r--r--src/mame/drivers/r2dx_v33.cpp249
-rw-r--r--src/mame/drivers/r9751.cpp17
-rw-r--r--src/mame/drivers/rabbit.cpp61
-rw-r--r--src/mame/drivers/rad_eu3a05.cpp90
-rw-r--r--src/mame/drivers/rad_eu3a14.cpp98
-rw-r--r--src/mame/drivers/radio86.cpp148
-rw-r--r--src/mame/drivers/raiden.cpp182
-rw-r--r--src/mame/drivers/raiden2.cpp427
-rw-r--r--src/mame/drivers/rainbow.cpp111
-rw-r--r--src/mame/drivers/rallyx.cpp77
-rw-r--r--src/mame/drivers/rambo.cpp21
-rw-r--r--src/mame/drivers/rampart.cpp51
-rw-r--r--src/mame/drivers/rastan.cpp71
-rw-r--r--src/mame/drivers/rastersp.cpp71
-rw-r--r--src/mame/drivers/ravens.cpp43
-rw-r--r--src/mame/drivers/rbisland.cpp127
-rw-r--r--src/mame/drivers/rbmk.cpp80
-rw-r--r--src/mame/drivers/rc702.cpp38
-rw-r--r--src/mame/drivers/rc759.cpp56
-rw-r--r--src/mame/drivers/rcorsair.cpp21
-rw-r--r--src/mame/drivers/rd100.cpp15
-rw-r--r--src/mame/drivers/rd110.cpp34
-rw-r--r--src/mame/drivers/re900.cpp28
-rw-r--r--src/mame/drivers/realbrk.cpp95
-rw-r--r--src/mame/drivers/redalert.cpp130
-rw-r--r--src/mame/drivers/redclash.cpp76
-rw-r--r--src/mame/drivers/relief.cpp62
-rw-r--r--src/mame/drivers/renegade.cpp69
-rw-r--r--src/mame/drivers/replicator.cpp21
-rw-r--r--src/mame/drivers/retofinv.cpp92
-rw-r--r--src/mame/drivers/rex6000.cpp111
-rw-r--r--src/mame/drivers/rgum.cpp27
-rw-r--r--src/mame/drivers/risc2500.cpp13
-rw-r--r--src/mame/drivers/riscpc.cpp15
-rw-r--r--src/mame/drivers/rltennis.cpp38
-rw-r--r--src/mame/drivers/rm380z.cpp54
-rw-r--r--src/mame/drivers/rmhaihai.cpp98
-rw-r--r--src/mame/drivers/rmnimbus.cpp72
-rw-r--r--src/mame/drivers/rmt32.cpp36
-rw-r--r--src/mame/drivers/rockrage.cpp71
-rw-r--r--src/mame/drivers/rocnrope.cpp39
-rw-r--r--src/mame/drivers/rohga.cpp244
-rw-r--r--src/mame/drivers/rollerg.cpp60
-rw-r--r--src/mame/drivers/rollext.cpp21
-rw-r--r--src/mame/drivers/rollrace.cpp62
-rw-r--r--src/mame/drivers/ron.cpp54
-rw-r--r--src/mame/drivers/rotaryf.cpp36
-rw-r--r--src/mame/drivers/roul.cpp56
-rw-r--r--src/mame/drivers/route16.cpp158
-rw-r--r--src/mame/drivers/rowamet.cpp57
-rw-r--r--src/mame/drivers/royalmah.cpp643
-rw-r--r--src/mame/drivers/rpunch.cpp54
-rw-r--r--src/mame/drivers/rsc55.cpp12
-rw-r--r--src/mame/drivers/rt1715.cpp58
-rw-r--r--src/mame/drivers/runaway.cpp43
-rw-r--r--src/mame/drivers/rungun.cpp75
-rw-r--r--src/mame/drivers/rvoice.cpp28
-rw-r--r--src/mame/drivers/rx78.cpp42
-rw-r--r--src/mame/drivers/s11.cpp55
-rw-r--r--src/mame/drivers/s11a.cpp57
-rw-r--r--src/mame/drivers/s11b.cpp61
-rw-r--r--src/mame/drivers/s11c.cpp23
-rw-r--r--src/mame/drivers/s3.cpp36
-rw-r--r--src/mame/drivers/s4.cpp36
-rw-r--r--src/mame/drivers/s6.cpp36
-rw-r--r--src/mame/drivers/s6a.cpp34
-rw-r--r--src/mame/drivers/s7.cpp40
-rw-r--r--src/mame/drivers/s8.cpp34
-rw-r--r--src/mame/drivers/s8a.cpp34
-rw-r--r--src/mame/drivers/s9.cpp34
-rw-r--r--src/mame/drivers/sacstate.cpp34
-rw-r--r--src/mame/drivers/safarir.cpp21
-rw-r--r--src/mame/drivers/sage2.cpp29
-rw-r--r--src/mame/drivers/sam.cpp9
-rw-r--r--src/mame/drivers/samcoupe.cpp52
-rw-r--r--src/mame/drivers/sandscrp.cpp73
-rw-r--r--src/mame/drivers/sangho.cpp53
-rw-r--r--src/mame/drivers/sanremmg.cpp7
-rw-r--r--src/mame/drivers/sanremo.cpp38
-rw-r--r--src/mame/drivers/sansa_fuze.cpp11
-rw-r--r--src/mame/drivers/sapi1.cpp150
-rw-r--r--src/mame/drivers/sartorius.cpp21
-rw-r--r--src/mame/drivers/saturn.cpp60
-rw-r--r--src/mame/drivers/sauro.cpp125
-rw-r--r--src/mame/drivers/savia84.cpp26
-rw-r--r--src/mame/drivers/savquest.cpp66
-rw-r--r--src/mame/drivers/sbasketb.cpp68
-rw-r--r--src/mame/drivers/sbc6510.cpp46
-rw-r--r--src/mame/drivers/sbowling.cpp36
-rw-r--r--src/mame/drivers/sbrain.cpp64
-rw-r--r--src/mame/drivers/sbrkout.cpp31
-rw-r--r--src/mame/drivers/sbugger.cpp28
-rw-r--r--src/mame/drivers/sc1.cpp26
-rw-r--r--src/mame/drivers/sc2.cpp28
-rw-r--r--src/mame/drivers/scobra.cpp392
-rw-r--r--src/mame/drivers/scopus.cpp26
-rw-r--r--src/mame/drivers/scorpion.cpp55
-rw-r--r--src/mame/drivers/scotrsht.cpp71
-rw-r--r--src/mame/drivers/scramble.cpp605
-rw-r--r--src/mame/drivers/scregg.cpp62
-rw-r--r--src/mame/drivers/scv.cpp15
-rw-r--r--src/mame/drivers/scyclone.cpp82
-rw-r--r--src/mame/drivers/sderby.cpp236
-rw-r--r--src/mame/drivers/sderby2.cpp80
-rw-r--r--src/mame/drivers/sdk80.cpp30
-rw-r--r--src/mame/drivers/sdk85.cpp36
-rw-r--r--src/mame/drivers/sdk86.cpp28
-rw-r--r--src/mame/drivers/seabattl.cpp46
-rw-r--r--src/mame/drivers/sealy.cpp7
-rw-r--r--src/mame/drivers/seattlecmp.cpp28
-rw-r--r--src/mame/drivers/segac2.cpp23
-rw-r--r--src/mame/drivers/segacoin.cpp44
-rw-r--r--src/mame/drivers/segae.cpp100
-rw-r--r--src/mame/drivers/segag80r.cpp99
-rw-r--r--src/mame/drivers/segag80v.cpp43
-rw-r--r--src/mame/drivers/segahang.cpp169
-rw-r--r--src/mame/drivers/segajw.cpp69
-rw-r--r--src/mame/drivers/segald.cpp40
-rw-r--r--src/mame/drivers/segam1.cpp99
-rw-r--r--src/mame/drivers/segaorun.cpp71
-rw-r--r--src/mame/drivers/segapico.cpp13
-rw-r--r--src/mame/drivers/segapm.cpp9
-rw-r--r--src/mame/drivers/segas16a.cpp89
-rw-r--r--src/mame/drivers/segas16b.cpp389
-rw-r--r--src/mame/drivers/segas18.cpp71
-rw-r--r--src/mame/drivers/segas24.cpp195
-rw-r--r--src/mame/drivers/segas32.cpp150
-rw-r--r--src/mame/drivers/segasp.cpp62
-rw-r--r--src/mame/drivers/segaufo.cpp54
-rw-r--r--src/mame/drivers/segaxbd.cpp110
-rw-r--r--src/mame/drivers/segaybd.cpp153
-rw-r--r--src/mame/drivers/seibucats.cpp45
-rw-r--r--src/mame/drivers/seibuspi.cpp298
-rw-r--r--src/mame/drivers/seicross.cpp91
-rw-r--r--src/mame/drivers/seicupbl.cpp56
-rw-r--r--src/mame/drivers/selz80.cpp43
-rw-r--r--src/mame/drivers/sengokmj.cpp44
-rw-r--r--src/mame/drivers/senjyo.cpp174
-rw-r--r--src/mame/drivers/seta.cpp1926
-rw-r--r--src/mame/drivers/seta2.cpp573
-rw-r--r--src/mame/drivers/sf.cpp178
-rw-r--r--src/mame/drivers/sfbonus.cpp65
-rw-r--r--src/mame/drivers/sfcbox.cpp56
-rw-r--r--src/mame/drivers/sfkick.cpp72
-rw-r--r--src/mame/drivers/sg1000.cpp90
-rw-r--r--src/mame/drivers/sg1000a.cpp54
-rw-r--r--src/mame/drivers/sh4robot.cpp24
-rw-r--r--src/mame/drivers/shadfrce.cpp77
-rw-r--r--src/mame/drivers/shangha3.cpp129
-rw-r--r--src/mame/drivers/shanghai.cpp143
-rw-r--r--src/mame/drivers/shangkid.cpp203
-rw-r--r--src/mame/drivers/shaolins.cpp47
-rw-r--r--src/mame/drivers/shisen.cpp66
-rw-r--r--src/mame/drivers/shootaway2.cpp18
-rw-r--r--src/mame/drivers/shootout.cpp75
-rw-r--r--src/mame/drivers/shougi.cpp45
-rw-r--r--src/mame/drivers/shtzone.cpp9
-rw-r--r--src/mame/drivers/shuuz.cpp41
-rw-r--r--src/mame/drivers/sidearms.cpp174
-rw-r--r--src/mame/drivers/sidepckt.cpp65
-rw-r--r--src/mame/drivers/sigmab52.cpp83
-rw-r--r--src/mame/drivers/sigmab98.cpp440
-rw-r--r--src/mame/drivers/silkroad.cpp35
-rw-r--r--src/mame/drivers/silvmil.cpp58
-rw-r--r--src/mame/drivers/simpl156.cpp195
-rw-r--r--src/mame/drivers/simple_st0016.cpp89
-rw-r--r--src/mame/drivers/simpsons.cpp88
-rw-r--r--src/mame/drivers/sitcom.cpp41
-rw-r--r--src/mame/drivers/sk1.cpp9
-rw-r--r--src/mame/drivers/skeetsht.cpp33
-rw-r--r--src/mame/drivers/skimaxx.cpp83
-rw-r--r--src/mame/drivers/skullxbo.cpp61
-rw-r--r--src/mame/drivers/skyarmy.cpp44
-rw-r--r--src/mame/drivers/skydiver.cpp55
-rw-r--r--src/mame/drivers/skyfox.cpp38
-rw-r--r--src/mame/drivers/skykid.cpp68
-rw-r--r--src/mame/drivers/skylncr.cpp208
-rw-r--r--src/mame/drivers/skyraid.cpp35
-rw-r--r--src/mame/drivers/slapfght.cpp274
-rw-r--r--src/mame/drivers/slapshot.cpp89
-rw-r--r--src/mame/drivers/slc1.cpp24
-rw-r--r--src/mame/drivers/sleic.cpp9
-rw-r--r--src/mame/drivers/slicer.cpp32
-rw-r--r--src/mame/drivers/sliver.cpp75
-rw-r--r--src/mame/drivers/slotcarn.cpp48
-rw-r--r--src/mame/drivers/sm1800.cpp30
-rw-r--r--src/mame/drivers/sm7238.cpp63
-rw-r--r--src/mame/drivers/smc777.cpp48
-rw-r--r--src/mame/drivers/sms.cpp192
-rw-r--r--src/mame/drivers/sms_bootleg.cpp34
-rw-r--r--src/mame/drivers/smsmcorp.cpp59
-rw-r--r--src/mame/drivers/snes.cpp18
-rw-r--r--src/mame/drivers/snesb.cpp27
-rw-r--r--src/mame/drivers/snk.cpp1337
-rw-r--r--src/mame/drivers/snk6502.cpp203
-rw-r--r--src/mame/drivers/snk68.cpp100
-rw-r--r--src/mame/drivers/snookr10.cpp89
-rw-r--r--src/mame/drivers/snowbros.cpp338
-rw-r--r--src/mame/drivers/socrates.cpp144
-rw-r--r--src/mame/drivers/softbox.cpp28
-rw-r--r--src/mame/drivers/solomon.cpp73
-rw-r--r--src/mame/drivers/sonson.cpp50
-rw-r--r--src/mame/drivers/sorcerer.cpp65
-rw-r--r--src/mame/drivers/sothello.cpp87
-rw-r--r--src/mame/drivers/spacefb.cpp51
-rw-r--r--src/mame/drivers/spaceg.cpp39
-rw-r--r--src/mame/drivers/spartanxtec.cpp63
-rw-r--r--src/mame/drivers/spbactn.cpp182
-rw-r--r--src/mame/drivers/spc1000.cpp34
-rw-r--r--src/mame/drivers/spc1500.cpp24
-rw-r--r--src/mame/drivers/spcforce.cpp32
-rw-r--r--src/mame/drivers/spdodgeb.cpp46
-rw-r--r--src/mame/drivers/spec128.cpp30
-rw-r--r--src/mame/drivers/special.cpp99
-rw-r--r--src/mame/drivers/specpls3.cpp36
-rw-r--r--src/mame/drivers/spectra.cpp17
-rw-r--r--src/mame/drivers/spectrum.cpp18
-rw-r--r--src/mame/drivers/speedatk.cpp36
-rw-r--r--src/mame/drivers/speedbal.cpp66
-rw-r--r--src/mame/drivers/speedspn.cpp72
-rw-r--r--src/mame/drivers/speglsht.cpp59
-rw-r--r--src/mame/drivers/spiders.cpp42
-rw-r--r--src/mame/drivers/spinb.cpp108
-rw-r--r--src/mame/drivers/spirit76.cpp19
-rw-r--r--src/mame/drivers/splash.cpp188
-rw-r--r--src/mame/drivers/splus.cpp32
-rw-r--r--src/mame/drivers/spoker.cpp83
-rw-r--r--src/mame/drivers/spool99.cpp58
-rw-r--r--src/mame/drivers/sprcros2.cpp74
-rw-r--r--src/mame/drivers/sprint2.cpp47
-rw-r--r--src/mame/drivers/sprint4.cpp39
-rw-r--r--src/mame/drivers/sprint8.cpp37
-rw-r--r--src/mame/drivers/spy.cpp56
-rw-r--r--src/mame/drivers/spyhuntertec.cpp86
-rw-r--r--src/mame/drivers/squale.cpp35
-rw-r--r--src/mame/drivers/srmp2.cpp184
-rw-r--r--src/mame/drivers/srmp5.cpp87
-rw-r--r--src/mame/drivers/srmp6.cpp29
-rw-r--r--src/mame/drivers/srumbler.cpp68
-rw-r--r--src/mame/drivers/ssem.cpp7
-rw-r--r--src/mame/drivers/ssfindo.cpp87
-rw-r--r--src/mame/drivers/sshangha.cpp135
-rw-r--r--src/mame/drivers/sshot.cpp23
-rw-r--r--src/mame/drivers/ssingles.cpp94
-rw-r--r--src/mame/drivers/sslam.cpp82
-rw-r--r--src/mame/drivers/ssozumo.cpp52
-rw-r--r--src/mame/drivers/sspeedr.cpp64
-rw-r--r--src/mame/drivers/ssrj.cpp35
-rw-r--r--src/mame/drivers/sstrangr.cpp28
-rw-r--r--src/mame/drivers/ssv.cpp344
-rw-r--r--src/mame/drivers/ssystem3.cpp13
-rw-r--r--src/mame/drivers/st17xx.cpp7
-rw-r--r--src/mame/drivers/st_mp100.cpp21
-rw-r--r--src/mame/drivers/st_mp200.cpp19
-rw-r--r--src/mame/drivers/stactics.cpp51
-rw-r--r--src/mame/drivers/stadhero.cpp46
-rw-r--r--src/mame/drivers/starcrus.cpp40
-rw-r--r--src/mame/drivers/starfire.cpp13
-rw-r--r--src/mame/drivers/stargame.cpp70
-rw-r--r--src/mame/drivers/starshp1.cpp41
-rw-r--r--src/mame/drivers/starwars.cpp93
-rw-r--r--src/mame/drivers/statriv2.cpp30
-rw-r--r--src/mame/drivers/stellafr.cpp19
-rw-r--r--src/mame/drivers/stfight.cpp113
-rw-r--r--src/mame/drivers/stlforce.cpp56
-rw-r--r--src/mame/drivers/stratos.cpp23
-rw-r--r--src/mame/drivers/strkzn.cpp38
-rw-r--r--src/mame/drivers/strnskil.cpp56
-rw-r--r--src/mame/drivers/studio2.cpp80
-rw-r--r--src/mame/drivers/stuntair.cpp55
-rw-r--r--src/mame/drivers/stv.cpp65
-rw-r--r--src/mame/drivers/su2000.cpp32
-rw-r--r--src/mame/drivers/sub.cpp72
-rw-r--r--src/mame/drivers/subhuntr.cpp19
-rw-r--r--src/mame/drivers/subs.cpp27
-rw-r--r--src/mame/drivers/subsino.cpp284
-rw-r--r--src/mame/drivers/subsino2.cpp411
-rw-r--r--src/mame/drivers/summit.cpp21
-rw-r--r--src/mame/drivers/sumt8035.cpp12
-rw-r--r--src/mame/drivers/sun1.cpp21
-rw-r--r--src/mame/drivers/sun2.cpp79
-rw-r--r--src/mame/drivers/sun3.cpp56
-rw-r--r--src/mame/drivers/sun3x.cpp88
-rw-r--r--src/mame/drivers/sun4.cpp63
-rw-r--r--src/mame/drivers/suna16.cpp268
-rw-r--r--src/mame/drivers/suna8.cpp415
-rw-r--r--src/mame/drivers/supbtime.cpp140
-rw-r--r--src/mame/drivers/supdrapo.cpp43
-rw-r--r--src/mame/drivers/supduck.cpp63
-rw-r--r--src/mame/drivers/super6.cpp32
-rw-r--r--src/mame/drivers/super80.cpp153
-rw-r--r--src/mame/drivers/superchs.cpp63
-rw-r--r--src/mame/drivers/supercrd.cpp11
-rw-r--r--src/mame/drivers/superdq.cpp34
-rw-r--r--src/mame/drivers/superqix.cpp57
-rw-r--r--src/mame/drivers/superslave.cpp32
-rw-r--r--src/mame/drivers/supertnk.cpp42
-rw-r--r--src/mame/drivers/superwng.cpp70
-rw-r--r--src/mame/drivers/supracan.cpp38
-rw-r--r--src/mame/drivers/suprgolf.cpp38
-rw-r--r--src/mame/drivers/suprloco.cpp59
-rw-r--r--src/mame/drivers/suprnova.cpp49
-rw-r--r--src/mame/drivers/suprridr.cpp80
-rw-r--r--src/mame/drivers/suprslam.cpp61
-rw-r--r--src/mame/drivers/supstarf.cpp40
-rw-r--r--src/mame/drivers/surpratk.cpp48
-rw-r--r--src/mame/drivers/sv8000.cpp30
-rw-r--r--src/mame/drivers/svi318.cpp49
-rw-r--r--src/mame/drivers/svision.cpp36
-rw-r--r--src/mame/drivers/svmu.cpp20
-rw-r--r--src/mame/drivers/swtpc.cpp27
-rw-r--r--src/mame/drivers/swtpc09.cpp125
-rw-r--r--src/mame/drivers/swyft.cpp21
-rw-r--r--src/mame/drivers/sym1.cpp27
-rw-r--r--src/mame/drivers/symbolics.cpp15
-rw-r--r--src/mame/drivers/sys2900.cpp40
-rw-r--r--src/mame/drivers/sys9002.cpp36
-rw-r--r--src/mame/drivers/systec.cpp24
-rw-r--r--src/mame/drivers/system1.cpp148
-rw-r--r--src/mame/drivers/system16.cpp1164
-rw-r--r--src/mame/drivers/tagteam.cpp46
-rw-r--r--src/mame/drivers/tail2nos.cpp68
-rw-r--r--src/mame/drivers/taito.cpp170
-rw-r--r--src/mame/drivers/taito_b.cpp565
-rw-r--r--src/mame/drivers/taito_f2.cpp1013
-rw-r--r--src/mame/drivers/taito_f3.cpp78
-rw-r--r--src/mame/drivers/taito_h.cpp121
-rw-r--r--src/mame/drivers/taito_l.cpp424
-rw-r--r--src/mame/drivers/taito_o.cpp17
-rw-r--r--src/mame/drivers/taito_x.cpp186
-rw-r--r--src/mame/drivers/taito_z.cpp544
-rw-r--r--src/mame/drivers/taitoair.cpp119
-rw-r--r--src/mame/drivers/taitogn.cpp87
-rw-r--r--src/mame/drivers/taitojc.cpp126
-rw-r--r--src/mame/drivers/taitopjc.cpp78
-rw-r--r--src/mame/drivers/taitosj.cpp188
-rw-r--r--src/mame/drivers/taitotx.cpp7
-rw-r--r--src/mame/drivers/taitotz.cpp63
-rw-r--r--src/mame/drivers/taitowlf.cpp50
-rw-r--r--src/mame/drivers/tandy1t.cpp128
-rw-r--r--src/mame/drivers/tandy2k.cpp60
-rw-r--r--src/mame/drivers/tank8.cpp73
-rw-r--r--src/mame/drivers/tankbatt.cpp31
-rw-r--r--src/mame/drivers/tankbust.cpp65
-rw-r--r--src/mame/drivers/taotaido.cpp63
-rw-r--r--src/mame/drivers/tapatune.cpp73
-rw-r--r--src/mame/drivers/targeth.cpp69
-rw-r--r--src/mame/drivers/tasman.cpp74
-rw-r--r--src/mame/drivers/tatsumi.cpp338
-rw-r--r--src/mame/drivers/tattack.cpp29
-rw-r--r--src/mame/drivers/tavernie.cpp50
-rw-r--r--src/mame/drivers/taxidriv.cpp100
-rw-r--r--src/mame/drivers/tbowl.cpp107
-rw-r--r--src/mame/drivers/tceptor.cpp162
-rw-r--r--src/mame/drivers/tcl.cpp7
-rw-r--r--src/mame/drivers/tdv2324.cpp49
-rw-r--r--src/mame/drivers/tec1.cpp62
-rw-r--r--src/mame/drivers/techno.cpp29
-rw-r--r--src/mame/drivers/tecmo.cpp215
-rw-r--r--src/mame/drivers/tecmo16.cpp117
-rw-r--r--src/mame/drivers/tecmosys.cpp97
-rw-r--r--src/mame/drivers/tecnbras.cpp18
-rw-r--r--src/mame/drivers/tehkanwc.cpp118
-rw-r--r--src/mame/drivers/tek405x.cpp32
-rw-r--r--src/mame/drivers/tek410x.cpp14
-rw-r--r--src/mame/drivers/tek440x.cpp28
-rw-r--r--src/mame/drivers/tekxp33x.cpp14
-rw-r--r--src/mame/drivers/tempest.cpp51
-rw-r--r--src/mame/drivers/terak.cpp15
-rw-r--r--src/mame/drivers/terco.cpp19
-rw-r--r--src/mame/drivers/terminals.cpp5
-rw-r--r--src/mame/drivers/terracre.cpp136
-rw-r--r--src/mame/drivers/testconsole.cpp44
-rw-r--r--src/mame/drivers/tetrisp2.cpp539
-rw-r--r--src/mame/drivers/tg100.cpp21
-rw-r--r--src/mame/drivers/tgtpanic.cpp22
-rw-r--r--src/mame/drivers/thayers.cpp48
-rw-r--r--src/mame/drivers/thedealr.cpp62
-rw-r--r--src/mame/drivers/thedeep.cpp54
-rw-r--r--src/mame/drivers/thepit.cpp127
-rw-r--r--src/mame/drivers/thief.cpp67
-rw-r--r--src/mame/drivers/thomson.cpp342
-rw-r--r--src/mame/drivers/thoop2.cpp64
-rw-r--r--src/mame/drivers/thunderj.cpp76
-rw-r--r--src/mame/drivers/thunderx.cpp121
-rw-r--r--src/mame/drivers/ti630.cpp20
-rw-r--r--src/mame/drivers/ti74.cpp13
-rw-r--r--src/mame/drivers/ti85.cpp312
-rw-r--r--src/mame/drivers/ti89.cpp95
-rw-r--r--src/mame/drivers/ti990_10.cpp42
-rw-r--r--src/mame/drivers/ti990_4.cpp47
-rw-r--r--src/mame/drivers/ti99_2.cpp32
-rw-r--r--src/mame/drivers/ti99_4p.cpp20
-rw-r--r--src/mame/drivers/ti99_4x.cpp22
-rw-r--r--src/mame/drivers/ti99_8.cpp20
-rw-r--r--src/mame/drivers/tiamc1.cpp88
-rw-r--r--src/mame/drivers/tickee.cpp140
-rw-r--r--src/mame/drivers/tigeroad.cpp149
-rw-r--r--src/mame/drivers/tiki100.cpp20
-rw-r--r--src/mame/drivers/tim011.cpp26
-rw-r--r--src/mame/drivers/tim100.cpp34
-rw-r--r--src/mame/drivers/timelimt.cpp74
-rw-r--r--src/mame/drivers/timeplt.cpp58
-rw-r--r--src/mame/drivers/timetrv.cpp32
-rw-r--r--src/mame/drivers/timex.cpp56
-rw-r--r--src/mame/drivers/tk2000.cpp24
-rw-r--r--src/mame/drivers/tk80.cpp90
-rw-r--r--src/mame/drivers/tk80bs.cpp21
-rw-r--r--src/mame/drivers/tm990189.cpp49
-rw-r--r--src/mame/drivers/tmaster.cpp33
-rw-r--r--src/mame/drivers/tmc1800.cpp78
-rw-r--r--src/mame/drivers/tmc2000e.cpp32
-rw-r--r--src/mame/drivers/tmc600.cpp28
-rw-r--r--src/mame/drivers/tmmjprd.cpp41
-rw-r--r--src/mame/drivers/tmnt.cpp662
-rw-r--r--src/mame/drivers/tmspoker.cpp26
-rw-r--r--src/mame/drivers/tnzs.cpp295
-rw-r--r--src/mame/drivers/toaplan1.cpp660
-rw-r--r--src/mame/drivers/toaplan2.cpp1137
-rw-r--r--src/mame/drivers/toki.cpp179
-rw-r--r--src/mame/drivers/tomcat.cpp61
-rw-r--r--src/mame/drivers/tonton.cpp38
-rw-r--r--src/mame/drivers/toobin.cpp49
-rw-r--r--src/mame/drivers/topspeed.cpp93
-rw-r--r--src/mame/drivers/toratora.cpp31
-rw-r--r--src/mame/drivers/tosh1000.cpp51
-rw-r--r--src/mame/drivers/tourtabl.cpp19
-rw-r--r--src/mame/drivers/tourvis.cpp55
-rw-r--r--src/mame/drivers/toypop.cpp89
-rw-r--r--src/mame/drivers/tp84.cpp124
-rw-r--r--src/mame/drivers/tr175.cpp47
-rw-r--r--src/mame/drivers/trackfld.cpp330
-rw-r--r--src/mame/drivers/travrusa.cpp31
-rw-r--r--src/mame/drivers/tricep.cpp13
-rw-r--r--src/mame/drivers/triforce.cpp13
-rw-r--r--src/mame/drivers/triplhnt.cpp41
-rw-r--r--src/mame/drivers/trs80.cpp356
-rw-r--r--src/mame/drivers/trs80dt1.cpp30
-rw-r--r--src/mame/drivers/trs80m2.cpp47
-rw-r--r--src/mame/drivers/truco.cpp19
-rw-r--r--src/mame/drivers/trucocl.cpp23
-rw-r--r--src/mame/drivers/trvmadns.cpp38
-rw-r--r--src/mame/drivers/trvquest.cpp29
-rw-r--r--src/mame/drivers/tryout.cpp58
-rw-r--r--src/mame/drivers/ts3000.cpp14
-rw-r--r--src/mame/drivers/ts802.cpp42
-rw-r--r--src/mame/drivers/ts803.cpp40
-rw-r--r--src/mame/drivers/ts816.cpp82
-rw-r--r--src/mame/drivers/tsamurai.cpp297
-rw-r--r--src/mame/drivers/tsispch.cpp46
-rw-r--r--src/mame/drivers/ttchamp.cpp36
-rw-r--r--src/mame/drivers/tti.cpp13
-rw-r--r--src/mame/drivers/tubep.cpp213
-rw-r--r--src/mame/drivers/tugboat.cpp25
-rw-r--r--src/mame/drivers/tumbleb.cpp257
-rw-r--r--src/mame/drivers/tunhunt.cpp41
-rw-r--r--src/mame/drivers/turbo.cpp132
-rw-r--r--src/mame/drivers/turrett.cpp42
-rw-r--r--src/mame/drivers/tutankhm.cpp37
-rw-r--r--src/mame/drivers/tutor.cpp77
-rw-r--r--src/mame/drivers/tv910.cpp35
-rw-r--r--src/mame/drivers/tv912.cpp35
-rw-r--r--src/mame/drivers/tv950.cpp27
-rw-r--r--src/mame/drivers/tv990.cpp23
-rw-r--r--src/mame/drivers/tvboy.cpp17
-rw-r--r--src/mame/drivers/tvc.cpp64
-rw-r--r--src/mame/drivers/tvcapcom.cpp5
-rw-r--r--src/mame/drivers/tvgame.cpp26
-rw-r--r--src/mame/drivers/twin16.cpp146
-rw-r--r--src/mame/drivers/twincobr.cpp99
-rw-r--r--src/mame/drivers/twinkle.cpp77
-rw-r--r--src/mame/drivers/twins.cpp71
-rw-r--r--src/mame/drivers/tx0.cpp14
-rw-r--r--src/mame/drivers/tx1.cpp224
-rw-r--r--src/mame/drivers/uapce.cpp47
-rw-r--r--src/mame/drivers/uknc.cpp24
-rw-r--r--src/mame/drivers/ultraman.cpp75
-rw-r--r--src/mame/drivers/ultratnk.cpp41
-rw-r--r--src/mame/drivers/ultrsprt.cpp38
-rw-r--r--src/mame/drivers/umipoker.cpp71
-rw-r--r--src/mame/drivers/undrfire.cpp89
-rw-r--r--src/mame/drivers/unianapc.cpp5
-rw-r--r--src/mame/drivers/unichamp.cpp13
-rw-r--r--src/mame/drivers/unico.cpp133
-rw-r--r--src/mame/drivers/unior.cpp38
-rw-r--r--src/mame/drivers/unistar.cpp22
-rw-r--r--src/mame/drivers/univac.cpp36
-rw-r--r--src/mame/drivers/unixpc.cpp46
-rw-r--r--src/mame/drivers/unkhorse.cpp22
-rw-r--r--src/mame/drivers/upscope.cpp49
-rw-r--r--src/mame/drivers/usgames.cpp74
-rw-r--r--src/mame/drivers/ut88.cpp54
-rw-r--r--src/mame/drivers/uzebox.cpp31
-rw-r--r--src/mame/drivers/v100.cpp46
-rw-r--r--src/mame/drivers/v102.cpp43
-rw-r--r--src/mame/drivers/v1050.cpp79
-rw-r--r--src/mame/drivers/v6809.cpp31
-rw-r--r--src/mame/drivers/vamphalf.cpp370
-rw-r--r--src/mame/drivers/vaportra.cpp65
-rw-r--r--src/mame/drivers/vastar.cpp62
-rw-r--r--src/mame/drivers/vax11.cpp25
-rw-r--r--src/mame/drivers/vball.cpp60
-rw-r--r--src/mame/drivers/vboy.cpp90
-rw-r--r--src/mame/drivers/vc4000.cpp36
-rw-r--r--src/mame/drivers/vcombat.cpp110
-rw-r--r--src/mame/drivers/vcs80.cpp29
-rw-r--r--src/mame/drivers/vd.cpp54
-rw-r--r--src/mame/drivers/vector06.cpp38
-rw-r--r--src/mame/drivers/vector4.cpp40
-rw-r--r--src/mame/drivers/vectrex.cpp30
-rw-r--r--src/mame/drivers/vectrix.cpp20
-rw-r--r--src/mame/drivers/vega.cpp18
-rw-r--r--src/mame/drivers/vegaeo.cpp27
-rw-r--r--src/mame/drivers/vendetta.cpp141
-rw-r--r--src/mame/drivers/vertigo.cpp62
-rw-r--r--src/mame/drivers/vg5k.cpp52
-rw-r--r--src/mame/drivers/vgmplay.cpp252
-rw-r--r--src/mame/drivers/vic10.cpp21
-rw-r--r--src/mame/drivers/vic20.cpp21
-rw-r--r--src/mame/drivers/vicdual.cpp442
-rw-r--r--src/mame/drivers/victor9k.cpp37
-rw-r--r--src/mame/drivers/victory.cpp48
-rw-r--r--src/mame/drivers/vidbrain.cpp32
-rw-r--r--src/mame/drivers/videopin.cpp29
-rw-r--r--src/mame/drivers/videopkr.cpp82
-rw-r--r--src/mame/drivers/vigilant.cpp135
-rw-r--r--src/mame/drivers/vii.cpp23
-rw-r--r--src/mame/drivers/vindictr.cpp45
-rw-r--r--src/mame/drivers/vip.cpp18
-rw-r--r--src/mame/drivers/viper.cpp49
-rw-r--r--src/mame/drivers/vis.cpp54
-rw-r--r--src/mame/drivers/vixen.cpp53
-rw-r--r--src/mame/drivers/vk100.cpp58
-rw-r--r--src/mame/drivers/vlc.cpp39
-rw-r--r--src/mame/drivers/volfied.cpp50
-rw-r--r--src/mame/drivers/votrpss.cpp40
-rw-r--r--src/mame/drivers/votrtnt.cpp15
-rw-r--r--src/mame/drivers/voyager.cpp92
-rw-r--r--src/mame/drivers/vp101.cpp64
-rw-r--r--src/mame/drivers/vp122.cpp41
-rw-r--r--src/mame/drivers/vp60.cpp21
-rw-r--r--src/mame/drivers/vpoker.cpp15
-rw-r--r--src/mame/drivers/vroulet.cpp38
-rw-r--r--src/mame/drivers/vsmilepro.cpp7
-rw-r--r--src/mame/drivers/vsnes.cpp88
-rw-r--r--src/mame/drivers/vt100.cpp68
-rw-r--r--src/mame/drivers/vt220.cpp38
-rw-r--r--src/mame/drivers/vt240.cpp123
-rw-r--r--src/mame/drivers/vt320.cpp12
-rw-r--r--src/mame/drivers/vt520.cpp16
-rw-r--r--src/mame/drivers/vta2000.cpp24
-rw-r--r--src/mame/drivers/vtech1.cpp65
-rw-r--r--src/mame/drivers/vtech2.cpp32
-rw-r--r--src/mame/drivers/vulgus.cpp54
-rw-r--r--src/mame/drivers/wacky_gator.cpp43
-rw-r--r--src/mame/drivers/wallc.cpp70
-rw-r--r--src/mame/drivers/wangpc.cpp80
-rw-r--r--src/mame/drivers/wardner.cpp119
-rw-r--r--src/mame/drivers/warpsped.cpp30
-rw-r--r--src/mame/drivers/warpwarp.cpp80
-rw-r--r--src/mame/drivers/warriorb.cpp85
-rw-r--r--src/mame/drivers/wc90.cpp105
-rw-r--r--src/mame/drivers/wc90b.cpp93
-rw-r--r--src/mame/drivers/wecleman.cpp172
-rw-r--r--src/mame/drivers/welltris.cpp75
-rw-r--r--src/mame/drivers/wgp.cpp83
-rw-r--r--src/mame/drivers/wheelfir.cpp69
-rw-r--r--src/mame/drivers/white_mod.cpp7
-rw-r--r--src/mame/drivers/whitestar.cpp29
-rw-r--r--src/mame/drivers/wicat.cpp115
-rw-r--r--src/mame/drivers/wico.cpp62
-rw-r--r--src/mame/drivers/wildpkr.cpp92
-rw-r--r--src/mame/drivers/williams.cpp244
-rw-r--r--src/mame/drivers/wink.cpp76
-rw-r--r--src/mame/drivers/wiping.cpp44
-rw-r--r--src/mame/drivers/witch.cpp72
-rw-r--r--src/mame/drivers/wiz.cpp128
-rw-r--r--src/mame/drivers/wmg.cpp34
-rw-r--r--src/mame/drivers/wms.cpp26
-rw-r--r--src/mame/drivers/wolfpack.cpp77
-rw-r--r--src/mame/drivers/wpc_95.cpp77
-rw-r--r--src/mame/drivers/wpc_an.cpp15
-rw-r--r--src/mame/drivers/wpc_dcs.cpp75
-rw-r--r--src/mame/drivers/wpc_dot.cpp27
-rw-r--r--src/mame/drivers/wpc_flip1.cpp27
-rw-r--r--src/mame/drivers/wpc_flip2.cpp27
-rw-r--r--src/mame/drivers/wpc_s.cpp75
-rw-r--r--src/mame/drivers/wrally.cpp62
-rw-r--r--src/mame/drivers/wswan.cpp27
-rw-r--r--src/mame/drivers/wwfsstar.cpp52
-rw-r--r--src/mame/drivers/wyse.cpp14
-rw-r--r--src/mame/drivers/wyvernf0.cpp78
-rw-r--r--src/mame/drivers/x07.cpp32
-rw-r--r--src/mame/drivers/x1.cpp152
-rw-r--r--src/mame/drivers/x1twin.cpp18
-rw-r--r--src/mame/drivers/x68k.cpp223
-rw-r--r--src/mame/drivers/xain.cpp100
-rw-r--r--src/mame/drivers/xavix.cpp123
-rw-r--r--src/mame/drivers/xbox.cpp18
-rw-r--r--src/mame/drivers/xerox820.cpp92
-rw-r--r--src/mame/drivers/xexex.cpp86
-rw-r--r--src/mame/drivers/xmen.cpp111
-rw-r--r--src/mame/drivers/xor100.cpp46
-rw-r--r--src/mame/drivers/xorworld.cpp27
-rw-r--r--src/mame/drivers/xtheball.cpp49
-rw-r--r--src/mame/drivers/xtom3d.cpp52
-rw-r--r--src/mame/drivers/xxmissio.cpp70
-rw-r--r--src/mame/drivers/xybots.cpp41
-rw-r--r--src/mame/drivers/xyonix.cpp32
-rw-r--r--src/mame/drivers/yiear.cpp54
-rw-r--r--src/mame/drivers/ymmu100.cpp42
-rw-r--r--src/mame/drivers/yunsun16.cpp82
-rw-r--r--src/mame/drivers/yunsung8.cpp55
-rw-r--r--src/mame/drivers/yuvomz80.cpp59
-rw-r--r--src/mame/drivers/z100.cpp46
-rw-r--r--src/mame/drivers/z1013.cpp24
-rw-r--r--src/mame/drivers/z80dev.cpp36
-rw-r--r--src/mame/drivers/z80ne.cpp129
-rw-r--r--src/mame/drivers/z88.cpp24
-rw-r--r--src/mame/drivers/z9001.cpp32
-rw-r--r--src/mame/drivers/zac2650.cpp25
-rw-r--r--src/mame/drivers/zac_1.cpp68
-rw-r--r--src/mame/drivers/zac_2.cpp39
-rw-r--r--src/mame/drivers/zac_proto.cpp35
-rw-r--r--src/mame/drivers/zaccaria.cpp31
-rw-r--r--src/mame/drivers/zapcomputer.cpp36
-rw-r--r--src/mame/drivers/zaurus.cpp15
-rw-r--r--src/mame/drivers/zaxxon.cpp115
-rw-r--r--src/mame/drivers/zerozone.cpp44
-rw-r--r--src/mame/drivers/zexall.cpp13
-rw-r--r--src/mame/drivers/zms8085.cpp24
-rw-r--r--src/mame/drivers/zn.cpp384
-rw-r--r--src/mame/drivers/zodiack.cpp65
-rw-r--r--src/mame/drivers/zorba.cpp50
-rw-r--r--src/mame/drivers/zr107.cpp115
-rw-r--r--src/mame/drivers/zrt80.cpp44
-rw-r--r--src/mame/drivers/zsbc3.cpp30
-rw-r--r--src/mame/drivers/zwackery.cpp27
-rw-r--r--src/mame/drivers/zx.cpp67
-rw-r--r--src/mame/includes/actfancr.h3
-rw-r--r--src/mame/includes/adam.h2
-rw-r--r--src/mame/includes/battlera.h5
-rw-r--r--src/mame/includes/boogwing.h3
-rw-r--r--src/mame/includes/btoads.h2
-rw-r--r--src/mame/includes/cbuster.h3
-rw-r--r--src/mame/includes/cninja.h1
-rw-r--r--src/mame/includes/coolpool.h2
-rw-r--r--src/mame/includes/darkseal.h3
-rw-r--r--src/mame/includes/dassault.h3
-rw-r--r--src/mame/includes/dec0.h3
-rw-r--r--src/mame/includes/deco32.h1
-rw-r--r--src/mame/includes/dietgo.h3
-rw-r--r--src/mame/includes/esd16.h7
-rw-r--r--src/mame/includes/exterm.h2
-rw-r--r--src/mame/includes/funkyjet.h3
-rw-r--r--src/mame/includes/gaelco2.h1
-rw-r--r--src/mame/includes/gladiatr.h17
-rw-r--r--src/mame/includes/hx20.h4
-rw-r--r--src/mame/includes/lethalj.h2
-rw-r--r--src/mame/includes/namcos1.h3
-rw-r--r--src/mame/includes/pacland.h3
-rw-r--r--src/mame/includes/pacman.h2
-rw-r--r--src/mame/includes/rohga.h3
-rw-r--r--src/mame/includes/skykid.h3
-rw-r--r--src/mame/includes/ssv.h2
-rw-r--r--src/mame/includes/taito_b.h2
-rw-r--r--src/mame/includes/ti85.h2
-rw-r--r--src/mame/includes/vaportra.h3
-rw-r--r--src/mame/machine/abc80kb.cpp5
-rw-r--r--src/mame/machine/acs8600_ics.cpp36
-rw-r--r--src/mame/machine/asic65.cpp20
-rw-r--r--src/mame/machine/awboard.h2
-rw-r--r--src/mame/machine/cedar_magnet_plane.cpp26
-rw-r--r--src/mame/machine/cedar_magnet_sprite.cpp39
-rw-r--r--src/mame/machine/cuda.cpp23
-rw-r--r--src/mame/machine/dec_lk201.cpp19
-rw-r--r--src/mame/machine/decopincpu.cpp44
-rw-r--r--src/mame/machine/egret.cpp23
-rw-r--r--src/mame/machine/gaelco_ds5002fp.cpp18
-rw-r--r--src/mame/machine/hng64_net.cpp18
-rw-r--r--src/mame/machine/inder_sb.cpp50
-rw-r--r--src/mame/machine/inder_vid.cpp26
-rw-r--r--src/mame/machine/isbc_215g.cpp28
-rw-r--r--src/mame/machine/km035.cpp7
-rw-r--r--src/mame/machine/m1comm.cpp28
-rw-r--r--src/mame/machine/m20_8086.cpp24
-rw-r--r--src/mame/machine/m24_z8000.cpp51
-rw-r--r--src/mame/machine/m3comm.cpp13
-rw-r--r--src/mame/machine/megacd.cpp81
-rw-r--r--src/mame/machine/megadriv.cpp55
-rw-r--r--src/mame/machine/mie.cpp54
-rw-r--r--src/mame/machine/model1.cpp11
-rw-r--r--src/mame/machine/mpu4.cpp27
-rw-r--r--src/mame/machine/ms7004.cpp7
-rw-r--r--src/mame/machine/naomibd.h2
-rw-r--r--src/mame/machine/naomig1.h1
-rw-r--r--src/mame/machine/nmk004.cpp23
-rw-r--r--src/mame/machine/pcd_kbd.cpp7
-rw-r--r--src/mame/machine/pcecommn.h3
-rw-r--r--src/mame/machine/pcshare.cpp21
-rw-r--r--src/mame/machine/pgmprot_igs025_igs012.cpp11
-rw-r--r--src/mame/machine/pgmprot_igs025_igs022.cpp11
-rw-r--r--src/mame/machine/pgmprot_igs025_igs028.cpp11
-rw-r--r--src/mame/machine/pgmprot_igs027a_type1.cpp52
-rw-r--r--src/mame/machine/pgmprot_igs027a_type2.cpp36
-rw-r--r--src/mame/machine/pgmprot_igs027a_type3.cpp42
-rw-r--r--src/mame/machine/saturn_cdb.cpp7
-rw-r--r--src/mame/machine/taitocchip.cpp25
-rw-r--r--src/mame/machine/wangpckb.cpp9
-rw-r--r--src/mame/machine/xbox.cpp56
-rw-r--r--src/mame/video/bfm_adr2.cpp27
-rw-r--r--src/mame/video/bfm_dm01.cpp17
-rw-r--r--src/mame/video/cidelsa.cpp20
-rw-r--r--src/mame/video/comx35.cpp7
-rw-r--r--src/mame/video/decodmd1.cpp22
-rw-r--r--src/mame/video/decodmd2.cpp19
-rw-r--r--src/mame/video/decodmd3.cpp15
-rw-r--r--src/mame/video/kyocera.cpp9
-rw-r--r--src/mame/video/mikromik.cpp9
-rw-r--r--src/mame/video/pc8401a.cpp9
-rw-r--r--src/mame/video/pcd.cpp29
-rw-r--r--src/mame/video/pecom.cpp7
-rw-r--r--src/mame/video/qix.cpp142
-rw-r--r--src/mame/video/tmc600.cpp7
2210 files changed, 91605 insertions, 83689 deletions
diff --git a/src/mame/audio/atarijsa.cpp b/src/mame/audio/atarijsa.cpp
index fe781118588..ca841655fe8 100644
--- a/src/mame/audio/atarijsa.cpp
+++ b/src/mame/audio/atarijsa.cpp
@@ -95,66 +95,71 @@ DEFINE_DEVICE_TYPE(ATARI_JSA_IIIS, atari_jsa_iiis_device, "atjsa3s", "Atari JSA
// MEMORY MAPS
//**************************************************************************
-ADDRESS_MAP_START(atari_jsa_i_device::atarijsa1_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x2800, 0x2800) AM_MIRROR(0x01f9) // N/C
- AM_RANGE(0x2802, 0x2802) AM_MIRROR(0x01f9) AM_DEVREAD("soundcomm", atari_sound_comm_device, sound_command_r) // /RDP
- AM_RANGE(0x2804, 0x2804) AM_MIRROR(0x01f9) AM_READ(rdio_r) // /RDIO
- AM_RANGE(0x2806, 0x2806) AM_MIRROR(0x01f9) AM_DEVREADWRITE("soundcomm", atari_sound_comm_device, sound_irq_ack_r, sound_irq_ack_w) // R/W=/IRQACK
- AM_RANGE(0x2a00, 0x2a00) AM_MIRROR(0x01f9) AM_WRITE(tms5220_voice) // /VOICE
- AM_RANGE(0x2a02, 0x2a02) AM_MIRROR(0x01f9) AM_DEVWRITE("soundcomm", atari_sound_comm_device, sound_response_w) // /WRP
- AM_RANGE(0x2a04, 0x2a04) AM_MIRROR(0x01f9) AM_WRITE(wrio_w) // /WRIO
- AM_RANGE(0x2a06, 0x2a06) AM_MIRROR(0x01f9) AM_WRITE(mix_w) // /MIX
- AM_RANGE(0x2c00, 0x2c0f) AM_MIRROR(0x03f0) AM_READWRITE(pokey_r, pokey_w)
- AM_RANGE(0x3000, 0x3fff) AM_ROMBANK("cpubank")
- AM_RANGE(0x4000, 0xffff) AM_ROM
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(atari_jsa_ii_device::atarijsa2_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x2800, 0x2800) AM_MIRROR(0x01f9) AM_READ(oki_r) // /RDV
- AM_RANGE(0x2802, 0x2802) AM_MIRROR(0x01f9) AM_DEVREAD("soundcomm", atari_sound_comm_device, sound_command_r) // /RDP
- AM_RANGE(0x2804, 0x2804) AM_MIRROR(0x01f9) AM_READ(rdio_r) // /RDIO
- AM_RANGE(0x2806, 0x2806) AM_MIRROR(0x01f9) AM_DEVREADWRITE("soundcomm", atari_sound_comm_device, sound_irq_ack_r, sound_irq_ack_w) // R/W=/IRQACK
- AM_RANGE(0x2a00, 0x2a00) AM_MIRROR(0x01f9) AM_WRITE(oki_w) // /WRV
- AM_RANGE(0x2a02, 0x2a02) AM_MIRROR(0x01f9) AM_DEVWRITE("soundcomm", atari_sound_comm_device, sound_response_w) // /WRP
- AM_RANGE(0x2a04, 0x2a04) AM_MIRROR(0x01f9) AM_WRITE(wrio_w) // /WRIO
- AM_RANGE(0x2a06, 0x2a06) AM_MIRROR(0x01f9) AM_WRITE(mix_w) // /MIX
- AM_RANGE(0x3000, 0x3fff) AM_ROMBANK("cpubank")
- AM_RANGE(0x4000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void atari_jsa_i_device::atarijsa1_map(address_map &map)
+{
+ map(0x0000, 0x1fff).ram();
+ map(0x2000, 0x2001).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x2800, 0x2800).mirror(0x01f9); // N/C
+ map(0x2802, 0x2802).mirror(0x01f9).r("soundcomm", FUNC(atari_sound_comm_device::sound_command_r)); // /RDP
+ map(0x2804, 0x2804).mirror(0x01f9).r(this, FUNC(atari_jsa_i_device::rdio_r)); // /RDIO
+ map(0x2806, 0x2806).mirror(0x01f9).rw("soundcomm", FUNC(atari_sound_comm_device::sound_irq_ack_r), FUNC(atari_sound_comm_device::sound_irq_ack_w)); // R/W=/IRQACK
+ map(0x2a00, 0x2a00).mirror(0x01f9).w(this, FUNC(atari_jsa_i_device::tms5220_voice)); // /VOICE
+ map(0x2a02, 0x2a02).mirror(0x01f9).w("soundcomm", FUNC(atari_sound_comm_device::sound_response_w)); // /WRP
+ map(0x2a04, 0x2a04).mirror(0x01f9).w(this, FUNC(atari_jsa_i_device::wrio_w)); // /WRIO
+ map(0x2a06, 0x2a06).mirror(0x01f9).w(this, FUNC(atari_jsa_i_device::mix_w)); // /MIX
+ map(0x2c00, 0x2c0f).mirror(0x03f0).rw(this, FUNC(atari_jsa_i_device::pokey_r), FUNC(atari_jsa_i_device::pokey_w));
+ map(0x3000, 0x3fff).bankr("cpubank");
+ map(0x4000, 0xffff).rom();
+}
+
+
+void atari_jsa_ii_device::atarijsa2_map(address_map &map)
+{
+ map(0x0000, 0x1fff).ram();
+ map(0x2000, 0x2001).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x2800, 0x2800).mirror(0x01f9).r(this, FUNC(atari_jsa_ii_device::oki_r)); // /RDV
+ map(0x2802, 0x2802).mirror(0x01f9).r("soundcomm", FUNC(atari_sound_comm_device::sound_command_r)); // /RDP
+ map(0x2804, 0x2804).mirror(0x01f9).r(this, FUNC(atari_jsa_ii_device::rdio_r)); // /RDIO
+ map(0x2806, 0x2806).mirror(0x01f9).rw("soundcomm", FUNC(atari_sound_comm_device::sound_irq_ack_r), FUNC(atari_sound_comm_device::sound_irq_ack_w)); // R/W=/IRQACK
+ map(0x2a00, 0x2a00).mirror(0x01f9).w(this, FUNC(atari_jsa_ii_device::oki_w)); // /WRV
+ map(0x2a02, 0x2a02).mirror(0x01f9).w("soundcomm", FUNC(atari_sound_comm_device::sound_response_w)); // /WRP
+ map(0x2a04, 0x2a04).mirror(0x01f9).w(this, FUNC(atari_jsa_ii_device::wrio_w)); // /WRIO
+ map(0x2a06, 0x2a06).mirror(0x01f9).w(this, FUNC(atari_jsa_ii_device::mix_w)); // /MIX
+ map(0x3000, 0x3fff).bankr("cpubank");
+ map(0x4000, 0xffff).rom();
+}
// full map verified from schematics and Batman GALs
-ADDRESS_MAP_START(atari_jsa_iii_device::atarijsa3_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x07fe) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x2800, 0x2801) AM_MIRROR(0x05f8) AM_READWRITE(oki_r, overall_volume_w) // /RDV
- AM_RANGE(0x2802, 0x2802) AM_MIRROR(0x05f9) AM_DEVREAD("soundcomm", atari_sound_comm_device, sound_command_r) // /RDP
- AM_RANGE(0x2804, 0x2804) AM_MIRROR(0x05f9) AM_READ(rdio_r) // /RDIO
- AM_RANGE(0x2806, 0x2806) AM_MIRROR(0x05f9) AM_DEVREADWRITE("soundcomm", atari_sound_comm_device, sound_irq_ack_r, sound_irq_ack_w) // R/W=/IRQACK
- AM_RANGE(0x2a00, 0x2a01) AM_MIRROR(0x05f8) AM_WRITE(oki_w) // /WRV
- AM_RANGE(0x2a02, 0x2a02) AM_MIRROR(0x05f9) AM_DEVWRITE("soundcomm", atari_sound_comm_device, sound_response_w) // /WRP
- AM_RANGE(0x2a04, 0x2a04) AM_MIRROR(0x05f9) AM_WRITE(wrio_w) // /WRIO
- AM_RANGE(0x2a06, 0x2a06) AM_MIRROR(0x05f9) AM_WRITE(mix_w) // /MIX
- AM_RANGE(0x3000, 0x3fff) AM_ROMBANK("cpubank")
- AM_RANGE(0x4000, 0xffff) AM_ROM
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(atari_jsa_iii_device::jsa3_oki1_map)
- AM_RANGE(0x00000, 0x1ffff) AM_ROMBANK("oki1lo")
- AM_RANGE(0x20000, 0x3ffff) AM_ROMBANK("oki1hi")
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(atari_jsa_iiis_device::jsa3_oki2_map)
- AM_RANGE(0x00000, 0x1ffff) AM_ROMBANK("oki2lo")
- AM_RANGE(0x20000, 0x3ffff) AM_ROMBANK("oki2hi")
-ADDRESS_MAP_END
+void atari_jsa_iii_device::atarijsa3_map(address_map &map)
+{
+ map(0x0000, 0x1fff).ram();
+ map(0x2000, 0x2001).mirror(0x07fe).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x2800, 0x2801).mirror(0x05f8).rw(this, FUNC(atari_jsa_iii_device::oki_r), FUNC(atari_jsa_iii_device::overall_volume_w)); // /RDV
+ map(0x2802, 0x2802).mirror(0x05f9).r("soundcomm", FUNC(atari_sound_comm_device::sound_command_r)); // /RDP
+ map(0x2804, 0x2804).mirror(0x05f9).r(this, FUNC(atari_jsa_iii_device::rdio_r)); // /RDIO
+ map(0x2806, 0x2806).mirror(0x05f9).rw("soundcomm", FUNC(atari_sound_comm_device::sound_irq_ack_r), FUNC(atari_sound_comm_device::sound_irq_ack_w)); // R/W=/IRQACK
+ map(0x2a00, 0x2a01).mirror(0x05f8).w(this, FUNC(atari_jsa_iii_device::oki_w)); // /WRV
+ map(0x2a02, 0x2a02).mirror(0x05f9).w("soundcomm", FUNC(atari_sound_comm_device::sound_response_w)); // /WRP
+ map(0x2a04, 0x2a04).mirror(0x05f9).w(this, FUNC(atari_jsa_iii_device::wrio_w)); // /WRIO
+ map(0x2a06, 0x2a06).mirror(0x05f9).w(this, FUNC(atari_jsa_iii_device::mix_w)); // /MIX
+ map(0x3000, 0x3fff).bankr("cpubank");
+ map(0x4000, 0xffff).rom();
+}
+
+
+void atari_jsa_iii_device::jsa3_oki1_map(address_map &map)
+{
+ map(0x00000, 0x1ffff).bankr("oki1lo");
+ map(0x20000, 0x3ffff).bankr("oki1hi");
+}
+
+
+void atari_jsa_iiis_device::jsa3_oki2_map(address_map &map)
+{
+ map(0x00000, 0x1ffff).bankr("oki2lo");
+ map(0x20000, 0x3ffff).bankr("oki2hi");
+}
//**************************************************************************
diff --git a/src/mame/audio/cage.cpp b/src/mame/audio/cage.cpp
index 7fb419653db..131ac9ba0e8 100644
--- a/src/mame/audio/cage.cpp
+++ b/src/mame/audio/cage.cpp
@@ -595,28 +595,30 @@ WRITE32_MEMBER( atari_cage_device::speedup_w )
*
*************************************/
-ADDRESS_MAP_START(atari_cage_device::cage_map)
- AM_RANGE(0x000000, 0x00ffff) AM_RAM AM_SHARE("cageram")
- AM_RANGE(0x200000, 0x200000) AM_WRITENOP
- AM_RANGE(0x400000, 0x47ffff) AM_ROMBANK("bank10")
- AM_RANGE(0x808000, 0x8080ff) AM_READWRITE(tms32031_io_r, tms32031_io_w)
- AM_RANGE(0x809800, 0x809fff) AM_RAM
- AM_RANGE(0xa00000, 0xa00000) AM_READWRITE(cage_from_main_r, cage_to_main_w)
- AM_RANGE(0xc00000, 0xffffff) AM_ROMBANK("bank11")
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(atari_cage_seattle_device::cage_map_seattle)
- AM_RANGE(0x000000, 0x00ffff) AM_RAM AM_SHARE("cageram")
- AM_RANGE(0x200000, 0x200000) AM_WRITENOP
- AM_RANGE(0x400000, 0x47ffff) AM_ROMBANK("bank10")
- AM_RANGE(0x808000, 0x8080ff) AM_READWRITE(tms32031_io_r, tms32031_io_w)
- AM_RANGE(0x809800, 0x809fff) AM_RAM
- AM_RANGE(0xa00000, 0xa00000) AM_READWRITE(cage_from_main_r, cage_from_main_ack_w)
- AM_RANGE(0xa00001, 0xa00001) AM_WRITE(cage_to_main_w)
- AM_RANGE(0xa00003, 0xa00003) AM_READ(cage_io_status_r)
- AM_RANGE(0xc00000, 0xffffff) AM_ROMBANK("bank11")
-ADDRESS_MAP_END
+void atari_cage_device::cage_map(address_map &map)
+{
+ map(0x000000, 0x00ffff).ram().share("cageram");
+ map(0x200000, 0x200000).nopw();
+ map(0x400000, 0x47ffff).bankr("bank10");
+ map(0x808000, 0x8080ff).rw(this, FUNC(atari_cage_device::tms32031_io_r), FUNC(atari_cage_device::tms32031_io_w));
+ map(0x809800, 0x809fff).ram();
+ map(0xa00000, 0xa00000).rw(this, FUNC(atari_cage_device::cage_from_main_r), FUNC(atari_cage_device::cage_to_main_w));
+ map(0xc00000, 0xffffff).bankr("bank11");
+}
+
+
+void atari_cage_seattle_device::cage_map_seattle(address_map &map)
+{
+ map(0x000000, 0x00ffff).ram().share("cageram");
+ map(0x200000, 0x200000).nopw();
+ map(0x400000, 0x47ffff).bankr("bank10");
+ map(0x808000, 0x8080ff).rw(this, FUNC(atari_cage_seattle_device::tms32031_io_r), FUNC(atari_cage_seattle_device::tms32031_io_w));
+ map(0x809800, 0x809fff).ram();
+ map(0xa00000, 0xa00000).rw(this, FUNC(atari_cage_seattle_device::cage_from_main_r), FUNC(atari_cage_seattle_device::cage_from_main_ack_w));
+ map(0xa00001, 0xa00001).w(this, FUNC(atari_cage_seattle_device::cage_to_main_w));
+ map(0xa00003, 0xa00003).r(this, FUNC(atari_cage_seattle_device::cage_io_status_r));
+ map(0xc00000, 0xffffff).bankr("bank11");
+}
//-------------------------------------------------
diff --git a/src/mame/audio/carnival.cpp b/src/mame/audio/carnival.cpp
index ab5127cdf18..74b9e246894 100644
--- a/src/mame/audio/carnival.cpp
+++ b/src/mame/audio/carnival.cpp
@@ -191,9 +191,10 @@ READ_LINE_MEMBER( vicdual_state::carnival_music_port_t1_r )
}
-ADDRESS_MAP_START(vicdual_state::mboard_map)
- AM_RANGE(0x0000, 0x03ff) AM_ROM
-ADDRESS_MAP_END
+void vicdual_state::mboard_map(address_map &map)
+{
+ map(0x0000, 0x03ff).rom();
+}
MACHINE_CONFIG_START(vicdual_state::carnival_audio)
diff --git a/src/mame/audio/cinemat.cpp b/src/mame/audio/cinemat.cpp
index 7d053aae651..34ecded46f7 100644
--- a/src/mame/audio/cinemat.cpp
+++ b/src/mame/audio/cinemat.cpp
@@ -1368,24 +1368,26 @@ SOUND_RESET_MEMBER( cinemat_state, demon )
}
-ADDRESS_MAP_START(cinemat_state::demon_sound_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x3000, 0x33ff) AM_RAM
- AM_RANGE(0x4000, 0x4001) AM_DEVREAD("ay1", ay8910_device, data_r)
- AM_RANGE(0x4002, 0x4003) AM_DEVWRITE("ay1", ay8910_device, data_address_w)
- AM_RANGE(0x5000, 0x5001) AM_DEVREAD("ay2", ay8910_device, data_r)
- AM_RANGE(0x5002, 0x5003) AM_DEVWRITE("ay2", ay8910_device, data_address_w)
- AM_RANGE(0x6000, 0x6001) AM_DEVREAD("ay3", ay8910_device, data_r)
- AM_RANGE(0x6002, 0x6003) AM_DEVWRITE("ay3", ay8910_device, data_address_w)
- AM_RANGE(0x7000, 0x7000) AM_WRITENOP /* watchdog? */
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(cinemat_state::demon_sound_ports)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x03) AM_DEVWRITE("ctc", z80ctc_device, write)
- AM_RANGE(0x1c, 0x1f) AM_DEVWRITE("ctc", z80ctc_device, write)
-ADDRESS_MAP_END
+void cinemat_state::demon_sound_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x3000, 0x33ff).ram();
+ map(0x4000, 0x4001).r(m_ay1, FUNC(ay8910_device::data_r));
+ map(0x4002, 0x4003).w(m_ay1, FUNC(ay8910_device::data_address_w));
+ map(0x5000, 0x5001).r("ay2", FUNC(ay8910_device::data_r));
+ map(0x5002, 0x5003).w("ay2", FUNC(ay8910_device::data_address_w));
+ map(0x6000, 0x6001).r("ay3", FUNC(ay8910_device::data_r));
+ map(0x6002, 0x6003).w("ay3", FUNC(ay8910_device::data_address_w));
+ map(0x7000, 0x7000).nopw(); /* watchdog? */
+}
+
+
+void cinemat_state::demon_sound_ports(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x03).w("ctc", FUNC(z80ctc_device::write));
+ map(0x1c, 0x1f).w("ctc", FUNC(z80ctc_device::write));
+}
static const z80_daisy_config daisy_chain[] =
diff --git a/src/mame/audio/csd.cpp b/src/mame/audio/csd.cpp
index 0ae16955aec..57de0f9ba07 100644
--- a/src/mame/audio/csd.cpp
+++ b/src/mame/audio/csd.cpp
@@ -22,14 +22,15 @@ DEFINE_DEVICE_TYPE(MIDWAY_CHEAP_SQUEAK_DELUXE, midway_cheap_squeak_deluxe_device
//-------------------------------------------------
// address map determined by PAL; verified
-ADDRESS_MAP_START(midway_cheap_squeak_deluxe_device::csdeluxe_map)
- ADDRESS_MAP_UNMAP_HIGH
- ADDRESS_MAP_GLOBAL_MASK(0x1ffff)
- AM_RANGE(0x00000, 0x07fff) AM_ROM
- AM_RANGE(0x18000, 0x18007) AM_MIRROR(0x3ff8) AM_DEVREADWRITE8("pia", pia6821_device, read_alt, write_alt, 0xff00) // Spy Hunter accesses the MSB
- AM_RANGE(0x18000, 0x18007) AM_MIRROR(0x3ff8) AM_DEVREADWRITE8("pia", pia6821_device, read_alt, write_alt, 0x00ff) // Turbo Tag access via the LSB
- AM_RANGE(0x1c000, 0x1cfff) AM_RAM
-ADDRESS_MAP_END
+void midway_cheap_squeak_deluxe_device::csdeluxe_map(address_map &map)
+{
+ map.unmap_value_high();
+ map.global_mask(0x1ffff);
+ map(0x00000, 0x07fff).rom();
+ map(0x18000, 0x18007).mirror(0x3ff8).rw("pia", FUNC(pia6821_device::read_alt), FUNC(pia6821_device::write_alt)).umask16(0xff00); // Spy Hunter accesses the MSB
+ map(0x18000, 0x18007).mirror(0x3ff8).rw("pia", FUNC(pia6821_device::read_alt), FUNC(pia6821_device::write_alt)).umask16(0x00ff); // Turbo Tag access via the LSB
+ map(0x1c000, 0x1cfff).ram();
+}
//-------------------------------------------------
// machine configuration
diff --git a/src/mame/audio/dcs.cpp b/src/mame/audio/dcs.cpp
index 47aa4ad87b1..a15a3533b17 100644
--- a/src/mame/audio/dcs.cpp
+++ b/src/mame/audio/dcs.cpp
@@ -267,21 +267,23 @@ enum
*************************************/
/* DCS 2k memory map */
-ADDRESS_MAP_START(dcs_audio_device::dcs_2k_program_map)
- AM_RANGE(0x0000, 0x03ff) AM_RAM AM_SHARE("dcsint")
- AM_RANGE(0x0800, 0x0fff) AM_RAM AM_SHARE("dcsext")
- AM_RANGE(0x1000, 0x17ff) AM_RAM AM_SHARE("dcsext")
- AM_RANGE(0x1800, 0x1fff) AM_RAM AM_SHARE("dcsext")
-ADDRESS_MAP_END
+void dcs_audio_device::dcs_2k_program_map(address_map &map)
+{
+ map(0x0000, 0x03ff).ram().share("dcsint");
+ map(0x0800, 0x0fff).ram().share("dcsext");
+ map(0x1000, 0x17ff).ram().share("dcsext");
+ map(0x1800, 0x1fff).ram().share("dcsext");
+}
-ADDRESS_MAP_START(dcs_audio_device::dcs_2k_data_map)
- AM_RANGE(0x0000, 0x07ff) AM_MIRROR(0x1800) AM_READWRITE(dcs_dataram_r, dcs_dataram_w)
- AM_RANGE(0x2000, 0x2fff) AM_ROMBANK("databank")
- AM_RANGE(0x3000, 0x33ff) AM_WRITE(dcs_data_bank_select_w)
- AM_RANGE(0x3400, 0x37ff) AM_READWRITE(input_latch_r, output_latch_w)
- AM_RANGE(0x3800, 0x39ff) AM_RAM
- AM_RANGE(0x3fe0, 0x3fff) AM_READWRITE(adsp_control_r, adsp_control_w)
-ADDRESS_MAP_END
+void dcs_audio_device::dcs_2k_data_map(address_map &map)
+{
+ map(0x0000, 0x07ff).mirror(0x1800).rw(this, FUNC(dcs_audio_device::dcs_dataram_r), FUNC(dcs_audio_device::dcs_dataram_w));
+ map(0x2000, 0x2fff).bankr("databank");
+ map(0x3000, 0x33ff).w(this, FUNC(dcs_audio_device::dcs_data_bank_select_w));
+ map(0x3400, 0x37ff).rw(this, FUNC(dcs_audio_device::input_latch_r), FUNC(dcs_audio_device::output_latch_w));
+ map(0x3800, 0x39ff).ram();
+ map(0x3fe0, 0x3fff).rw(this, FUNC(dcs_audio_device::adsp_control_r), FUNC(dcs_audio_device::adsp_control_w));
+}
/* DCS 2k with UART memory map */
@@ -320,15 +322,16 @@ ADDRESS_MAP_START(dcs_audio_device::dcs_wpc_program_map)
AM_RANGE(0x1000, 0x3fff) AM_RAM AM_SHARE("dcsext")
ADDRESS_MAP_END
-ADDRESS_MAP_START(dcs_audio_wpc_device::dcs_wpc_data_map)
- AM_RANGE(0x0000, 0x07ff) AM_ROMBANK("databank")
- AM_RANGE(0x1000, 0x2fff) AM_READWRITE(dcs_dataram_r, dcs_dataram_w)
- AM_RANGE(0x3000, 0x3000) AM_WRITE(dcs_data_bank_select_w)
- AM_RANGE(0x3100, 0x3100) AM_WRITE(dcs_data_bank_select2_w)
- AM_RANGE(0x3300, 0x3303) AM_READWRITE(input_latch_r, output_latch_w)
- AM_RANGE(0x3800, 0x39ff) AM_RAM AM_SHARE("iram")
- AM_RANGE(0x3fe0, 0x3fff) AM_READWRITE(adsp_control_r, adsp_control_w)
-ADDRESS_MAP_END
+void dcs_audio_wpc_device::dcs_wpc_data_map(address_map &map)
+{
+ map(0x0000, 0x07ff).bankr("databank");
+ map(0x1000, 0x2fff).rw(this, FUNC(dcs_audio_wpc_device::dcs_dataram_r), FUNC(dcs_audio_wpc_device::dcs_dataram_w));
+ map(0x3000, 0x3000).w(this, FUNC(dcs_audio_wpc_device::dcs_data_bank_select_w));
+ map(0x3100, 0x3100).w(this, FUNC(dcs_audio_wpc_device::dcs_data_bank_select2_w));
+ map(0x3300, 0x3303).rw(this, FUNC(dcs_audio_wpc_device::input_latch_r), FUNC(dcs_audio_wpc_device::output_latch_w));
+ map(0x3800, 0x39ff).ram().share("iram");
+ map(0x3fe0, 0x3fff).rw(this, FUNC(dcs_audio_wpc_device::adsp_control_r), FUNC(dcs_audio_wpc_device::adsp_control_w));
+}
/*************************************
*
diff --git a/src/mame/audio/decobsmt.cpp b/src/mame/audio/decobsmt.cpp
index fb4b2521f2c..2a691432e87 100644
--- a/src/mame/audio/decobsmt.cpp
+++ b/src/mame/audio/decobsmt.cpp
@@ -16,19 +16,21 @@
#define M6809_TAG "soundcpu"
#define BSMT_TAG "bsmt"
-ADDRESS_MAP_START(decobsmt_device::decobsmt_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x2000, 0xffff) AM_ROM AM_REGION(":soundcpu", 0x2000)
- AM_RANGE(0x2000, 0x2001) AM_WRITE(bsmt_reset_w)
- AM_RANGE(0x2002, 0x2003) AM_READ(bsmt_comms_r)
- AM_RANGE(0x2006, 0x2007) AM_READ(bsmt_status_r)
- AM_RANGE(0x6000, 0x6000) AM_WRITE(bsmt0_w)
- AM_RANGE(0xa000, 0xa0ff) AM_WRITE(bsmt1_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(decobsmt_device::bsmt_map)
- AM_RANGE(0x000000, 0xffffff) AM_ROM AM_REGION(":bsmt", 0)
-ADDRESS_MAP_END
+void decobsmt_device::decobsmt_map(address_map &map)
+{
+ map(0x0000, 0x1fff).ram();
+ map(0x2000, 0xffff).rom().region(":soundcpu", 0x2000);
+ map(0x2000, 0x2001).w(this, FUNC(decobsmt_device::bsmt_reset_w));
+ map(0x2002, 0x2003).r(this, FUNC(decobsmt_device::bsmt_comms_r));
+ map(0x2006, 0x2007).r(this, FUNC(decobsmt_device::bsmt_status_r));
+ map(0x6000, 0x6000).w(this, FUNC(decobsmt_device::bsmt0_w));
+ map(0xa000, 0xa0ff).w(this, FUNC(decobsmt_device::bsmt1_w));
+}
+
+void decobsmt_device::bsmt_map(address_map &map)
+{
+ map(0x000000, 0xffffff).rom().region(":bsmt", 0);
+}
void decobsmt_device::bsmt_ready_callback()
{
diff --git a/src/mame/audio/dkong.cpp b/src/mame/audio/dkong.cpp
index b9caacf952b..1df58cf0b02 100644
--- a/src/mame/audio/dkong.cpp
+++ b/src/mame/audio/dkong.cpp
@@ -1273,35 +1273,41 @@ WRITE8_MEMBER(dkong_state::dkong_audio_irq_w)
*
*************************************/
-ADDRESS_MAP_START(dkong_state::dkong_sound_map)
- AM_RANGE(0x0000, 0x0fff) AM_ROM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(dkong_state::dkong_sound_io_map)
- AM_RANGE(0x00, 0xff) AM_READWRITE(dkong_tune_r, dkong_voice_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(dkong_state::dkongjr_sound_io_map)
- AM_RANGE(0x00, 0x00) AM_MIRROR(0xff) AM_DEVREAD("ls174.3d", latch8_device, read)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(dkong_state::radarscp1_sound_io_map)
- AM_RANGE(0x00, 0x00) AM_MIRROR(0xff) AM_DEVREAD("ls175.3d", latch8_device, read)
- AM_RANGE(0x00, 0xff) AM_WRITE(dkong_p1_w) /* DAC here */
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(dkong_state::dkong3_sound1_map)
- AM_RANGE(0x0000, 0x01ff) AM_RAM
- AM_RANGE(0x4016, 0x4016) AM_DEVREAD("latch1", latch8_device, read) /* overwrite default */
- AM_RANGE(0x4017, 0x4017) AM_DEVREAD("latch2", latch8_device, read)
- AM_RANGE(0xe000, 0xffff) AM_ROM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(dkong_state::dkong3_sound2_map)
- AM_RANGE(0x0000, 0x01ff) AM_RAM
- AM_RANGE(0x4016, 0x4016) AM_DEVREAD("latch3", latch8_device, read) /* overwrite default */
- AM_RANGE(0xe000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void dkong_state::dkong_sound_map(address_map &map)
+{
+ map(0x0000, 0x0fff).rom();
+}
+
+void dkong_state::dkong_sound_io_map(address_map &map)
+{
+ map(0x00, 0xff).rw(this, FUNC(dkong_state::dkong_tune_r), FUNC(dkong_state::dkong_voice_w));
+}
+
+void dkong_state::dkongjr_sound_io_map(address_map &map)
+{
+ map(0x00, 0x00).mirror(0xff).r("ls174.3d", FUNC(latch8_device::read));
+}
+
+void dkong_state::radarscp1_sound_io_map(address_map &map)
+{
+ map(0x00, 0x00).mirror(0xff).r("ls175.3d", FUNC(latch8_device::read));
+ map(0x00, 0xff).w(this, FUNC(dkong_state::dkong_p1_w)); /* DAC here */
+}
+
+void dkong_state::dkong3_sound1_map(address_map &map)
+{
+ map(0x0000, 0x01ff).ram();
+ map(0x4016, 0x4016).r("latch1", FUNC(latch8_device::read)); /* overwrite default */
+ map(0x4017, 0x4017).r("latch2", FUNC(latch8_device::read));
+ map(0xe000, 0xffff).rom();
+}
+
+void dkong_state::dkong3_sound2_map(address_map &map)
+{
+ map(0x0000, 0x01ff).ram();
+ map(0x4016, 0x4016).r("latch3", FUNC(latch8_device::read)); /* overwrite default */
+ map(0xe000, 0xffff).rom();
+}
/*************************************
*
diff --git a/src/mame/audio/dsbz80.cpp b/src/mame/audio/dsbz80.cpp
index 53b554955a1..7d4066b2cf4 100644
--- a/src/mame/audio/dsbz80.cpp
+++ b/src/mame/audio/dsbz80.cpp
@@ -15,21 +15,23 @@
#define Z80_TAG "mpegcpu"
-ADDRESS_MAP_START(dsbz80_device::dsbz80_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM AM_REGION(":mpegcpu", 0)
- AM_RANGE(0x8000, 0xffff) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(dsbz80_device::dsbz80io_map)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0xe0, 0xe0) AM_WRITE(mpeg_trigger_w)
- AM_RANGE(0xe2, 0xe4) AM_READWRITE(mpeg_pos_r, mpeg_start_w)
- AM_RANGE(0xe5, 0xe7) AM_WRITE(mpeg_end_w)
- AM_RANGE(0xe8, 0xe8) AM_WRITE(mpeg_volume_w)
- AM_RANGE(0xe9, 0xe9) AM_WRITE(mpeg_stereo_w)
- AM_RANGE(0xf0, 0xf0) AM_DEVREADWRITE("uart", i8251_device, data_r, data_w)
- AM_RANGE(0xf1, 0xf1) AM_DEVREADWRITE("uart", i8251_device, status_r, control_w)
-ADDRESS_MAP_END
+void dsbz80_device::dsbz80_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom().region(":mpegcpu", 0);
+ map(0x8000, 0xffff).ram();
+}
+
+void dsbz80_device::dsbz80io_map(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0xe0, 0xe0).w(this, FUNC(dsbz80_device::mpeg_trigger_w));
+ map(0xe2, 0xe4).rw(this, FUNC(dsbz80_device::mpeg_pos_r), FUNC(dsbz80_device::mpeg_start_w));
+ map(0xe5, 0xe7).w(this, FUNC(dsbz80_device::mpeg_end_w));
+ map(0xe8, 0xe8).w(this, FUNC(dsbz80_device::mpeg_volume_w));
+ map(0xe9, 0xe9).w(this, FUNC(dsbz80_device::mpeg_stereo_w));
+ map(0xf0, 0xf0).rw("uart", FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
+ map(0xf1, 0xf1).rw("uart", FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
+}
//**************************************************************************
diff --git a/src/mame/audio/efo_zsu.cpp b/src/mame/audio/efo_zsu.cpp
index 21fc1e3c3c5..ec3df3434bd 100644
--- a/src/mame/audio/efo_zsu.cpp
+++ b/src/mame/audio/efo_zsu.cpp
@@ -83,34 +83,37 @@ WRITE8_MEMBER(efo_zsu_device::sound_command_w)
-ADDRESS_MAP_START(efo_zsu_device::zsu_map)
- AM_RANGE(0x0000, 0x6fff) AM_ROM
- AM_RANGE(0x7000, 0x77ff) AM_MIRROR(0x0800) AM_RAM
- AM_RANGE(0x8000, 0xffff) AM_ROMBANK("rombank")
-ADDRESS_MAP_END
+void efo_zsu_device::zsu_map(address_map &map)
+{
+ map(0x0000, 0x6fff).rom();
+ map(0x7000, 0x77ff).mirror(0x0800).ram();
+ map(0x8000, 0xffff).bankr("rombank");
+}
-ADDRESS_MAP_START(cedar_magnet_sound_device::cedar_magnet_sound_map)
- AM_RANGE(0x0000, 0xffff) AM_RAM AM_SHARE("ram")
-ADDRESS_MAP_END
+void cedar_magnet_sound_device::cedar_magnet_sound_map(address_map &map)
+{
+ map(0x0000, 0xffff).ram().share("ram");
+}
-ADDRESS_MAP_START(efo_zsu_device::zsu_io)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- ADDRESS_MAP_UNMAP_HIGH
+void efo_zsu_device::zsu_io(address_map &map)
+{
+ map.global_mask(0xff);
+ map.unmap_value_high();
- AM_RANGE(0x00, 0x03) AM_DEVREADWRITE("ctc0", z80ctc_device, read, write)
- AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ctc1", z80ctc_device, read, write)
+ map(0x00, 0x03).rw("ctc0", FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
+ map(0x04, 0x07).rw("ctc1", FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
- AM_RANGE(0x08, 0x08) AM_WRITE(adpcm_fifo_w)
+ map(0x08, 0x08).w(this, FUNC(efo_zsu_device::adpcm_fifo_w));
- AM_RANGE(0x0c, 0x0c) AM_DEVWRITE("aysnd0", ay8910_device, address_w)
- AM_RANGE(0x0d, 0x0d) AM_DEVWRITE("aysnd0", ay8910_device, data_w)
+ map(0x0c, 0x0c).w("aysnd0", FUNC(ay8910_device::address_w));
+ map(0x0d, 0x0d).w("aysnd0", FUNC(ay8910_device::data_w));
- AM_RANGE(0x10, 0x10) AM_DEVWRITE("aysnd1", ay8910_device, address_w)
- AM_RANGE(0x11, 0x11) AM_DEVWRITE("aysnd1", ay8910_device, data_w)
+ map(0x10, 0x10).w("aysnd1", FUNC(ay8910_device::address_w));
+ map(0x11, 0x11).w("aysnd1", FUNC(ay8910_device::data_w));
- AM_RANGE(0x14, 0x14) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
+ map(0x14, 0x14).r("soundlatch", FUNC(generic_latch_8_device::read));
-ADDRESS_MAP_END
+}
WRITE8_MEMBER(efo_zsu_device::adpcm_fifo_w)
{
diff --git a/src/mame/audio/exidy.cpp b/src/mame/audio/exidy.cpp
index c12df091648..2fe9cd1999e 100644
--- a/src/mame/audio/exidy.cpp
+++ b/src/mame/audio/exidy.cpp
@@ -726,17 +726,18 @@ void venture_sound_device::sound_stream_update(sound_stream &stream, stream_samp
-ADDRESS_MAP_START(exidy_state::venture_audio_map)
- ADDRESS_MAP_GLOBAL_MASK(0x7fff)
- AM_RANGE(0x0000, 0x007f) AM_MIRROR(0x0780) AM_RAM
- AM_RANGE(0x0800, 0x087f) AM_MIRROR(0x0780) AM_DEVREADWRITE("riot", riot6532_device, read, write)
- AM_RANGE(0x1000, 0x1003) AM_MIRROR(0x07fc) AM_DEVREADWRITE("pia1", pia6821_device, read, write)
- AM_RANGE(0x1800, 0x1803) AM_MIRROR(0x07fc) AM_DEVREADWRITE("custom", venture_sound_device, sh8253_r, sh8253_w)
- AM_RANGE(0x2000, 0x27ff) AM_DEVWRITE("custom", venture_sound_device, filter_w)
- AM_RANGE(0x2800, 0x2807) AM_MIRROR(0x07f8) AM_DEVREADWRITE("custom", venture_sound_device, sh6840_r, sh6840_w)
- AM_RANGE(0x3000, 0x3003) AM_MIRROR(0x07fc) AM_DEVWRITE("custom", venture_sound_device, sfxctrl_w)
- AM_RANGE(0x5800, 0x7fff) AM_ROM
-ADDRESS_MAP_END
+void exidy_state::venture_audio_map(address_map &map)
+{
+ map.global_mask(0x7fff);
+ map(0x0000, 0x007f).mirror(0x0780).ram();
+ map(0x0800, 0x087f).mirror(0x0780).rw("riot", FUNC(riot6532_device::read), FUNC(riot6532_device::write));
+ map(0x1000, 0x1003).mirror(0x07fc).rw("pia1", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x1800, 0x1803).mirror(0x07fc).rw("custom", FUNC(venture_sound_device::sh8253_r), FUNC(venture_sound_device::sh8253_w));
+ map(0x2000, 0x27ff).w("custom", FUNC(venture_sound_device::filter_w));
+ map(0x2800, 0x2807).mirror(0x07f8).rw("custom", FUNC(venture_sound_device::sh6840_r), FUNC(venture_sound_device::sh6840_w));
+ map(0x3000, 0x3003).mirror(0x07fc).w("custom", FUNC(venture_sound_device::sfxctrl_w));
+ map(0x5800, 0x7fff).rom();
+}
MACHINE_CONFIG_START(exidy_state::venture_audio)
@@ -806,16 +807,18 @@ READ8_MEMBER( venture_sound_device::mtrap_voiceio_r )
}
-ADDRESS_MAP_START(exidy_state::cvsd_map)
- ADDRESS_MAP_GLOBAL_MASK(0x3fff)
- AM_RANGE(0x0000, 0x3fff) AM_ROM
-ADDRESS_MAP_END
+void exidy_state::cvsd_map(address_map &map)
+{
+ map.global_mask(0x3fff);
+ map(0x0000, 0x3fff).rom();
+}
-ADDRESS_MAP_START(exidy_state::cvsd_iomap)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0xff) AM_DEVREADWRITE("custom", venture_sound_device, mtrap_voiceio_r, mtrap_voiceio_w)
-ADDRESS_MAP_END
+void exidy_state::cvsd_iomap(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0xff).rw("custom", FUNC(venture_sound_device::mtrap_voiceio_r), FUNC(venture_sound_device::mtrap_voiceio_w));
+}
MACHINE_CONFIG_START(exidy_state::mtrap_cvsd_audio)
@@ -980,17 +983,18 @@ void victory_sound_device::sound_stream_update(sound_stream &stream, stream_samp
-ADDRESS_MAP_START(victory_state::victory_audio_map)
- AM_RANGE(0x0000, 0x00ff) AM_MIRROR(0x0f00) AM_RAM
- AM_RANGE(0x1000, 0x107f) AM_MIRROR(0x0f80) AM_DEVREADWRITE("riot", riot6532_device, read, write)
- AM_RANGE(0x2000, 0x2003) AM_MIRROR(0x0ffc) AM_DEVREADWRITE("pia1", pia6821_device, read, write)
- AM_RANGE(0x3000, 0x3003) AM_MIRROR(0x0ffc) AM_DEVREADWRITE("custom", victory_sound_device, sh8253_r, sh8253_w)
- AM_RANGE(0x4000, 0x4fff) AM_NOP
- AM_RANGE(0x5000, 0x5007) AM_MIRROR(0x0ff8) AM_DEVREADWRITE("custom", victory_sound_device, sh6840_r, sh6840_w)
- AM_RANGE(0x6000, 0x6003) AM_MIRROR(0x0ffc) AM_DEVWRITE("custom", victory_sound_device, sfxctrl_w)
- AM_RANGE(0x7000, 0xafff) AM_NOP
- AM_RANGE(0xb000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void victory_state::victory_audio_map(address_map &map)
+{
+ map(0x0000, 0x00ff).mirror(0x0f00).ram();
+ map(0x1000, 0x107f).mirror(0x0f80).rw("riot", FUNC(riot6532_device::read), FUNC(riot6532_device::write));
+ map(0x2000, 0x2003).mirror(0x0ffc).rw("pia1", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x3000, 0x3003).mirror(0x0ffc).rw("custom", FUNC(victory_sound_device::sh8253_r), FUNC(victory_sound_device::sh8253_w));
+ map(0x4000, 0x4fff).noprw();
+ map(0x5000, 0x5007).mirror(0x0ff8).rw("custom", FUNC(victory_sound_device::sh6840_r), FUNC(victory_sound_device::sh6840_w));
+ map(0x6000, 0x6003).mirror(0x0ffc).w("custom", FUNC(victory_sound_device::sfxctrl_w));
+ map(0x7000, 0xafff).noprw();
+ map(0xb000, 0xffff).rom();
+}
MACHINE_CONFIG_START(victory_state::victory_audio)
diff --git a/src/mame/audio/gottlieb.cpp b/src/mame/audio/gottlieb.cpp
index 069b08bf1a6..4d4bbba67cb 100644
--- a/src/mame/audio/gottlieb.cpp
+++ b/src/mame/audio/gottlieb.cpp
@@ -77,12 +77,13 @@ WRITE8_MEMBER( gottlieb_sound_r0_device::write )
// audio CPU map
//-------------------------------------------------
-ADDRESS_MAP_START(gottlieb_sound_r0_device::gottlieb_sound_r0_map)
- ADDRESS_MAP_GLOBAL_MASK(0x0fff)
- AM_RANGE(0x0000, 0x003f) AM_RAM AM_MIRROR(0x1c0)
- AM_RANGE(0x0200, 0x020f) AM_DEVREADWRITE("r6530", mos6530_device, read, write)
- AM_RANGE(0x0400, 0x0fff) AM_ROM
-ADDRESS_MAP_END
+void gottlieb_sound_r0_device::gottlieb_sound_r0_map(address_map &map)
+{
+ map.global_mask(0x0fff);
+ map(0x0000, 0x003f).ram().mirror(0x1c0);
+ map(0x0200, 0x020f).rw("r6530", FUNC(mos6530_device::read), FUNC(mos6530_device::write));
+ map(0x0400, 0x0fff).rom();
+}
//-------------------------------------------------
@@ -265,16 +266,17 @@ WRITE_LINE_MEMBER( gottlieb_sound_r1_device::votrax_request )
// audio CPU map
//-------------------------------------------------
-ADDRESS_MAP_START(gottlieb_sound_r1_device::gottlieb_sound_r1_map)
+void gottlieb_sound_r1_device::gottlieb_sound_r1_map(address_map &map)
+{
// A15 not decoded except in expansion socket
- ADDRESS_MAP_GLOBAL_MASK(0x7fff)
- AM_RANGE(0x0000, 0x007f) AM_MIRROR(0x0d80) AM_RAM
- AM_RANGE(0x0200, 0x021f) AM_MIRROR(0x0de0) AM_DEVREADWRITE("riot", riot6532_device, read, write)
- AM_RANGE(0x1000, 0x1000) AM_MIRROR(0x0fff) AM_DEVWRITE("dac", dac_byte_interface, write)
- AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x0fff) AM_WRITE(votrax_data_w)
- AM_RANGE(0x3000, 0x3000) AM_MIRROR(0x0fff) AM_WRITE(speech_clock_dac_w)
- AM_RANGE(0x6000, 0x7fff) AM_ROM
-ADDRESS_MAP_END
+ map.global_mask(0x7fff);
+ map(0x0000, 0x007f).mirror(0x0d80).ram();
+ map(0x0200, 0x021f).mirror(0x0de0).rw("riot", FUNC(riot6532_device::read), FUNC(riot6532_device::write));
+ map(0x1000, 0x1000).mirror(0x0fff).w("dac", FUNC(dac_byte_interface::write));
+ map(0x2000, 0x2000).mirror(0x0fff).w(this, FUNC(gottlieb_sound_r1_device::votrax_data_w));
+ map(0x3000, 0x3000).mirror(0x0fff).w(this, FUNC(gottlieb_sound_r1_device::speech_clock_dac_w));
+ map(0x6000, 0x7fff).rom();
+}
//-------------------------------------------------
@@ -604,30 +606,32 @@ WRITE8_MEMBER( gottlieb_sound_r2_device::sp0250_latch_w )
// sound CPU address map
//-------------------------------------------------
-ADDRESS_MAP_START(gottlieb_sound_r2_device::gottlieb_sound_r2_map)
- AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x3c00) AM_RAM
- AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x3ffe) AM_DEVWRITE("dacvol", dac_byte_interface, write)
- AM_RANGE(0x4001, 0x4001) AM_MIRROR(0x3ffe) AM_DEVWRITE("dac", dac_byte_interface, write)
- AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x3fff) AM_READ(audio_data_r)
- AM_RANGE(0xc000, 0xdfff) AM_MIRROR(0x2000) AM_ROM
-ADDRESS_MAP_END
+void gottlieb_sound_r2_device::gottlieb_sound_r2_map(address_map &map)
+{
+ map(0x0000, 0x03ff).mirror(0x3c00).ram();
+ map(0x4000, 0x4000).mirror(0x3ffe).w("dacvol", FUNC(dac_byte_interface::write));
+ map(0x4001, 0x4001).mirror(0x3ffe).w("dac", FUNC(dac_byte_interface::write));
+ map(0x8000, 0x8000).mirror(0x3fff).r(this, FUNC(gottlieb_sound_r2_device::audio_data_r));
+ map(0xc000, 0xdfff).mirror(0x2000).rom();
+}
//-------------------------------------------------
// sppech CPU address map
//-------------------------------------------------
-ADDRESS_MAP_START(gottlieb_sound_r2_device::gottlieb_speech_r2_map)
- AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x1c00) AM_RAM
- AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x1fff) AM_WRITE(sp0250_latch_w)
- AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x1fff) AM_WRITE(speech_control_w)
- AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x1fff) AM_READ_PORT("SB2")
- AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x1fff) AM_WRITE(psg_latch_w)
- AM_RANGE(0xa000, 0xa000) AM_MIRROR(0x07ff) AM_WRITE(nmi_rate_w)
- AM_RANGE(0xa800, 0xa800) AM_MIRROR(0x07ff) AM_READ(speech_data_r)
- AM_RANGE(0xb000, 0xb000) AM_MIRROR(0x07ff) AM_WRITE(signal_audio_nmi_w)
- AM_RANGE(0xc000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void gottlieb_sound_r2_device::gottlieb_speech_r2_map(address_map &map)
+{
+ map(0x0000, 0x03ff).mirror(0x1c00).ram();
+ map(0x2000, 0x2000).mirror(0x1fff).w(this, FUNC(gottlieb_sound_r2_device::sp0250_latch_w));
+ map(0x4000, 0x4000).mirror(0x1fff).w(this, FUNC(gottlieb_sound_r2_device::speech_control_w));
+ map(0x6000, 0x6000).mirror(0x1fff).portr("SB2");
+ map(0x8000, 0x8000).mirror(0x1fff).w(this, FUNC(gottlieb_sound_r2_device::psg_latch_w));
+ map(0xa000, 0xa000).mirror(0x07ff).w(this, FUNC(gottlieb_sound_r2_device::nmi_rate_w));
+ map(0xa800, 0xa800).mirror(0x07ff).r(this, FUNC(gottlieb_sound_r2_device::speech_data_r));
+ map(0xb000, 0xb000).mirror(0x07ff).w(this, FUNC(gottlieb_sound_r2_device::signal_audio_nmi_w));
+ map(0xc000, 0xffff).rom();
+}
//-------------------------------------------------
diff --git a/src/mame/audio/harddriv.cpp b/src/mame/audio/harddriv.cpp
index 93942157988..e4a6d9e8b3a 100644
--- a/src/mame/audio/harddriv.cpp
+++ b/src/mame/audio/harddriv.cpp
@@ -391,38 +391,41 @@ READ16_MEMBER(harddriv_sound_board_device::hdsnddsp_compare_r)
return 0;
}
-ADDRESS_MAP_START(harddriv_sound_board_device::driversnd_68k_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x000000, 0x01ffff) AM_ROM
- AM_RANGE(0xff0000, 0xff0fff) AM_READWRITE(hdsnd68k_data_r, hdsnd68k_data_w)
- AM_RANGE(0xff1000, 0xff1fff) AM_READWRITE(hdsnd68k_switches_r, hdsnd68k_latches_w)
- AM_RANGE(0xff2000, 0xff2fff) AM_READWRITE(hdsnd68k_320port_r, hdsnd68k_speech_w)
- AM_RANGE(0xff3000, 0xff3fff) AM_READWRITE(hdsnd68k_status_r, hdsnd68k_irqclr_w)
- AM_RANGE(0xff4000, 0xff5fff) AM_READWRITE(hdsnd68k_320ram_r, hdsnd68k_320ram_w)
- AM_RANGE(0xff6000, 0xff7fff) AM_READWRITE(hdsnd68k_320ports_r, hdsnd68k_320ports_w)
- AM_RANGE(0xff8000, 0xffbfff) AM_READWRITE(hdsnd68k_320com_r, hdsnd68k_320com_w)
- AM_RANGE(0xffc000, 0xffffff) AM_RAM
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(harddriv_sound_board_device::driversnd_dsp_program_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x000, 0xfff) AM_RAM AM_SHARE("sounddsp_ram")
-ADDRESS_MAP_END
+void harddriv_sound_board_device::driversnd_68k_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x000000, 0x01ffff).rom();
+ map(0xff0000, 0xff0fff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_data_r), FUNC(harddriv_sound_board_device::hdsnd68k_data_w));
+ map(0xff1000, 0xff1fff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_switches_r), FUNC(harddriv_sound_board_device::hdsnd68k_latches_w));
+ map(0xff2000, 0xff2fff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_320port_r), FUNC(harddriv_sound_board_device::hdsnd68k_speech_w));
+ map(0xff3000, 0xff3fff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_status_r), FUNC(harddriv_sound_board_device::hdsnd68k_irqclr_w));
+ map(0xff4000, 0xff5fff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_320ram_r), FUNC(harddriv_sound_board_device::hdsnd68k_320ram_w));
+ map(0xff6000, 0xff7fff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_320ports_r), FUNC(harddriv_sound_board_device::hdsnd68k_320ports_w));
+ map(0xff8000, 0xffbfff).rw(this, FUNC(harddriv_sound_board_device::hdsnd68k_320com_r), FUNC(harddriv_sound_board_device::hdsnd68k_320com_w));
+ map(0xffc000, 0xffffff).ram();
+}
+
+
+void harddriv_sound_board_device::driversnd_dsp_program_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x000, 0xfff).ram().share("sounddsp_ram");
+}
/* $000 - 08F TMS32010 Internal Data RAM in Data Address Space */
-ADDRESS_MAP_START(harddriv_sound_board_device::driversnd_dsp_io_map)
- AM_RANGE(0, 0) AM_READ(hdsnddsp_rom_r) AM_WRITE(hdsnddsp_dac_w)
- AM_RANGE(1, 1) AM_READ(hdsnddsp_comram_r)
- AM_RANGE(2, 2) AM_READ(hdsnddsp_compare_r)
- AM_RANGE(1, 2) AM_WRITENOP
- AM_RANGE(3, 3) AM_WRITE(hdsnddsp_comport_w)
- AM_RANGE(4, 4) AM_WRITE(hdsnddsp_mute_w)
- AM_RANGE(5, 5) AM_WRITE(hdsnddsp_gen68kirq_w)
- AM_RANGE(6, 7) AM_WRITE(hdsnddsp_soundaddr_w)
-ADDRESS_MAP_END
+void harddriv_sound_board_device::driversnd_dsp_io_map(address_map &map)
+{
+ map(0, 0).r(this, FUNC(harddriv_sound_board_device::hdsnddsp_rom_r)).w(this, FUNC(harddriv_sound_board_device::hdsnddsp_dac_w));
+ map(1, 1).r(this, FUNC(harddriv_sound_board_device::hdsnddsp_comram_r));
+ map(2, 2).r(this, FUNC(harddriv_sound_board_device::hdsnddsp_compare_r));
+ map(1, 2).nopw();
+ map(3, 3).w(this, FUNC(harddriv_sound_board_device::hdsnddsp_comport_w));
+ map(4, 4).w(this, FUNC(harddriv_sound_board_device::hdsnddsp_mute_w));
+ map(5, 5).w(this, FUNC(harddriv_sound_board_device::hdsnddsp_gen68kirq_w));
+ map(6, 7).w(this, FUNC(harddriv_sound_board_device::hdsnddsp_soundaddr_w));
+}
//-------------------------------------------------
diff --git a/src/mame/audio/hng64.cpp b/src/mame/audio/hng64.cpp
index ca9cc49cf92..4d6261935e9 100644
--- a/src/mame/audio/hng64.cpp
+++ b/src/mame/audio/hng64.cpp
@@ -175,24 +175,25 @@ void hng64_state::reset_sound()
// ----------------------------------------------
-ADDRESS_MAP_START(hng64_state::hng_sound_map)
- AM_RANGE(0x00000, 0x0ffff) AM_RAMBANK("bank0")
- AM_RANGE(0x10000, 0x1ffff) AM_RAMBANK("bank1")
- AM_RANGE(0x20000, 0x2ffff) AM_RAMBANK("bank2")
- AM_RANGE(0x30000, 0x3ffff) AM_RAMBANK("bank3")
- AM_RANGE(0x40000, 0x4ffff) AM_RAMBANK("bank4")
- AM_RANGE(0x50000, 0x5ffff) AM_RAMBANK("bank5")
- AM_RANGE(0x60000, 0x6ffff) AM_RAMBANK("bank6")
- AM_RANGE(0x70000, 0x7ffff) AM_RAMBANK("bank7")
- AM_RANGE(0x80000, 0x8ffff) AM_RAMBANK("bank8")
- AM_RANGE(0x90000, 0x9ffff) AM_RAMBANK("bank9")
- AM_RANGE(0xa0000, 0xaffff) AM_RAMBANK("banka")
- AM_RANGE(0xb0000, 0xbffff) AM_RAMBANK("bankb")
- AM_RANGE(0xc0000, 0xcffff) AM_RAMBANK("bankc")
- AM_RANGE(0xd0000, 0xdffff) AM_RAMBANK("bankd")
- AM_RANGE(0xe0000, 0xeffff) AM_RAMBANK("banke")
- AM_RANGE(0xf0000, 0xfffff) AM_RAMBANK("bankf")
-ADDRESS_MAP_END
+void hng64_state::hng_sound_map(address_map &map)
+{
+ map(0x00000, 0x0ffff).bankrw("bank0");
+ map(0x10000, 0x1ffff).bankrw("bank1");
+ map(0x20000, 0x2ffff).bankrw("bank2");
+ map(0x30000, 0x3ffff).bankrw("bank3");
+ map(0x40000, 0x4ffff).bankrw("bank4");
+ map(0x50000, 0x5ffff).bankrw("bank5");
+ map(0x60000, 0x6ffff).bankrw("bank6");
+ map(0x70000, 0x7ffff).bankrw("bank7");
+ map(0x80000, 0x8ffff).bankrw("bank8");
+ map(0x90000, 0x9ffff).bankrw("bank9");
+ map(0xa0000, 0xaffff).bankrw("banka");
+ map(0xb0000, 0xbffff).bankrw("bankb");
+ map(0xc0000, 0xcffff).bankrw("bankc");
+ map(0xd0000, 0xdffff).bankrw("bankd");
+ map(0xe0000, 0xeffff).bankrw("banke");
+ map(0xf0000, 0xfffff).bankrw("bankf");
+}
WRITE16_MEMBER(hng64_state::hng64_sound_port_0008_w)
{
@@ -301,20 +302,21 @@ READ16_MEMBER(hng64_state::sound_comms_r)
return 0;
}
-ADDRESS_MAP_START(hng64_state::hng_sound_io)
- AM_RANGE(0x0000, 0x0007) AM_DEVREADWRITE("l7a1045", l7a1045_sound_device, l7a1045_sound_r, l7a1045_sound_w )
+void hng64_state::hng_sound_io(address_map &map)
+{
+ map(0x0000, 0x0007).rw(m_dsp, FUNC(l7a1045_sound_device::l7a1045_sound_r), FUNC(l7a1045_sound_device::l7a1045_sound_w));
- AM_RANGE(0x0008, 0x0009) AM_READWRITE( hng64_sound_port_0008_r, hng64_sound_port_0008_w )
- AM_RANGE(0x000a, 0x000b) AM_WRITE( hng64_sound_port_000a_w )
- AM_RANGE(0x000c, 0x000d) AM_WRITE( hng64_sound_port_000c_w )
+ map(0x0008, 0x0009).rw(this, FUNC(hng64_state::hng64_sound_port_0008_r), FUNC(hng64_state::hng64_sound_port_0008_w));
+ map(0x000a, 0x000b).w(this, FUNC(hng64_state::hng64_sound_port_000a_w));
+ map(0x000c, 0x000d).w(this, FUNC(hng64_state::hng64_sound_port_000c_w));
- AM_RANGE(0x0080, 0x0081) AM_WRITE( hng64_sound_port_0080_w )
+ map(0x0080, 0x0081).w(this, FUNC(hng64_state::hng64_sound_port_0080_w));
- AM_RANGE(0x0100, 0x010f) AM_READWRITE( sound_comms_r,sound_comms_w )
+ map(0x0100, 0x010f).rw(this, FUNC(hng64_state::sound_comms_r), FUNC(hng64_state::sound_comms_w));
- AM_RANGE(0x0200, 0x021f) AM_WRITE( hng64_sound_bank_w ) // ??
+ map(0x0200, 0x021f).w(this, FUNC(hng64_state::hng64_sound_bank_w)); // ??
-ADDRESS_MAP_END
+}
WRITE_LINE_MEMBER(hng64_state::dma_hreq_cb)
{
diff --git a/src/mame/audio/jedi.cpp b/src/mame/audio/jedi.cpp
index 7b41e5f166b..2925566eeac 100644
--- a/src/mame/audio/jedi.cpp
+++ b/src/mame/audio/jedi.cpp
@@ -163,24 +163,25 @@ WRITE8_MEMBER(jedi_state::speech_reset_w)
*
*************************************/
-ADDRESS_MAP_START(jedi_state::audio_map)
- AM_RANGE(0x0000, 0x07ff) AM_RAM
- AM_RANGE(0x0800, 0x080f) AM_MIRROR(0x07c0) AM_DEVREADWRITE("pokey1", pokey_device, read, write)
- AM_RANGE(0x0810, 0x081f) AM_MIRROR(0x07c0) AM_DEVREADWRITE("pokey2", pokey_device, read, write)
- AM_RANGE(0x0820, 0x082f) AM_MIRROR(0x07c0) AM_DEVREADWRITE("pokey3", pokey_device, read, write)
- AM_RANGE(0x0830, 0x083f) AM_MIRROR(0x07c0) AM_DEVREADWRITE("pokey4", pokey_device, read, write)
- AM_RANGE(0x1000, 0x1000) AM_MIRROR(0x00ff) AM_READNOP AM_WRITE(irq_ack_w)
- AM_RANGE(0x1100, 0x1100) AM_MIRROR(0x00ff) AM_READNOP AM_WRITEONLY AM_SHARE("speech_data")
- AM_RANGE(0x1200, 0x13ff) AM_READNOP AM_WRITE(speech_strobe_w)
- AM_RANGE(0x1400, 0x1400) AM_MIRROR(0x00ff) AM_READNOP AM_WRITE(audio_ack_latch_w)
- AM_RANGE(0x1500, 0x1500) AM_MIRROR(0x00ff) AM_READNOP AM_WRITE(speech_reset_w)
- AM_RANGE(0x1600, 0x17ff) AM_NOP
- AM_RANGE(0x1800, 0x1800) AM_MIRROR(0x03ff) AM_READ(audio_latch_r) AM_WRITENOP
- AM_RANGE(0x1c00, 0x1c00) AM_MIRROR(0x03fe) AM_READ(speech_ready_r) AM_WRITENOP
- AM_RANGE(0x1c01, 0x1c01) AM_MIRROR(0x03fe) AM_READONLY AM_WRITENOP AM_SHARE("audio_comm_stat")
- AM_RANGE(0x2000, 0x7fff) AM_NOP
- AM_RANGE(0x8000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void jedi_state::audio_map(address_map &map)
+{
+ map(0x0000, 0x07ff).ram();
+ map(0x0800, 0x080f).mirror(0x07c0).rw("pokey1", FUNC(pokey_device::read), FUNC(pokey_device::write));
+ map(0x0810, 0x081f).mirror(0x07c0).rw("pokey2", FUNC(pokey_device::read), FUNC(pokey_device::write));
+ map(0x0820, 0x082f).mirror(0x07c0).rw("pokey3", FUNC(pokey_device::read), FUNC(pokey_device::write));
+ map(0x0830, 0x083f).mirror(0x07c0).rw("pokey4", FUNC(pokey_device::read), FUNC(pokey_device::write));
+ map(0x1000, 0x1000).mirror(0x00ff).nopr().w(this, FUNC(jedi_state::irq_ack_w));
+ map(0x1100, 0x1100).mirror(0x00ff).nopr().writeonly().share("speech_data");
+ map(0x1200, 0x13ff).nopr().w(this, FUNC(jedi_state::speech_strobe_w));
+ map(0x1400, 0x1400).mirror(0x00ff).nopr().w(this, FUNC(jedi_state::audio_ack_latch_w));
+ map(0x1500, 0x1500).mirror(0x00ff).nopr().w(this, FUNC(jedi_state::speech_reset_w));
+ map(0x1600, 0x17ff).noprw();
+ map(0x1800, 0x1800).mirror(0x03ff).r(this, FUNC(jedi_state::audio_latch_r)).nopw();
+ map(0x1c00, 0x1c00).mirror(0x03fe).r(this, FUNC(jedi_state::speech_ready_r)).nopw();
+ map(0x1c01, 0x1c01).mirror(0x03fe).readonly().nopw().share("audio_comm_stat");
+ map(0x2000, 0x7fff).noprw();
+ map(0x8000, 0xffff).rom();
+}
diff --git a/src/mame/audio/mario.cpp b/src/mame/audio/mario.cpp
index aee7cdd45d5..fd886d46cd7 100644
--- a/src/mame/audio/mario.cpp
+++ b/src/mame/audio/mario.cpp
@@ -611,21 +611,24 @@ WRITE8_MEMBER(mario_state::mario_sh3_w)
*
*************************************/
-ADDRESS_MAP_START(mario_state::mario_sound_map)
- AM_RANGE(0x0000, 0x07ff) AM_ROMBANK("bank1") AM_REGION("audiocpu", 0)
- AM_RANGE(0x0800, 0x0fff) AM_ROM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(mario_state::mario_sound_io_map)
- AM_RANGE(0x00, 0xff) AM_READ(mario_sh_tune_r) AM_WRITE(mario_sh_sound_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(mario_state::masao_sound_map)
- AM_RANGE(0x0000, 0x0fff) AM_ROM
- AM_RANGE(0x2000, 0x23ff) AM_RAM
- AM_RANGE(0x4000, 0x4000) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
- AM_RANGE(0x6000, 0x6000) AM_DEVWRITE("aysnd", ay8910_device, address_w)
-ADDRESS_MAP_END
+void mario_state::mario_sound_map(address_map &map)
+{
+ map(0x0000, 0x07ff).bankr("bank1").region("audiocpu", 0);
+ map(0x0800, 0x0fff).rom();
+}
+
+void mario_state::mario_sound_io_map(address_map &map)
+{
+ map(0x00, 0xff).r(this, FUNC(mario_state::mario_sh_tune_r)).w(this, FUNC(mario_state::mario_sh_sound_w));
+}
+
+void mario_state::masao_sound_map(address_map &map)
+{
+ map(0x0000, 0x0fff).rom();
+ map(0x2000, 0x23ff).ram();
+ map(0x4000, 0x4000).rw("aysnd", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x6000, 0x6000).w("aysnd", FUNC(ay8910_device::address_w));
+}
/*************************************
diff --git a/src/mame/audio/midway.cpp b/src/mame/audio/midway.cpp
index aa1aa91b51e..a1943dc6ac1 100644
--- a/src/mame/audio/midway.cpp
+++ b/src/mame/audio/midway.cpp
@@ -354,22 +354,36 @@ void midway_ssio_device::update_volumes()
//-------------------------------------------------
// address map verified from schematics
-ADDRESS_MAP_START(midway_ssio_device::ssio_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x3fff) AM_ROM
- AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x0c00) AM_RAM
- AM_RANGE(0x9000, 0x9003) AM_MIRROR(0x0ffc) AM_READ(data_r)
- AM_RANGE(0xa000, 0xa000) AM_MIRROR(0x0ffc) AM_DEVWRITE("ay0", ay8910_device, address_w)
- AM_RANGE(0xa001, 0xa001) AM_MIRROR(0x0ffc) AM_DEVREAD("ay0", ay8910_device, data_r)
- AM_RANGE(0xa002, 0xa002) AM_MIRROR(0x0ffc) AM_DEVWRITE("ay0", ay8910_device, data_w)
- AM_RANGE(0xb000, 0xb000) AM_MIRROR(0x0ffc) AM_DEVWRITE("ay1", ay8910_device, address_w)
- AM_RANGE(0xb001, 0xb001) AM_MIRROR(0x0ffc) AM_DEVREAD("ay1", ay8910_device, data_r)
- AM_RANGE(0xb002, 0xb002) AM_MIRROR(0x0ffc) AM_DEVWRITE("ay1", ay8910_device, data_w)
- AM_RANGE(0xc000, 0xcfff) AM_READNOP AM_WRITE(status_w)
- AM_RANGE(0xd000, 0xdfff) AM_WRITENOP // low bit controls yellow LED
- AM_RANGE(0xe000, 0xefff) AM_READ(irq_clear)
- AM_RANGE(0xf000, 0xffff) AM_READ_PORT("DIP") // 6 DIP switches
-ADDRESS_MAP_END
+void midway_ssio_device::ssio_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x3fff).rom();
+ map(0x8000, 0x83ff).mirror(0x0c00).ram();
+ map(0x9000, 0x9003).mirror(0x0ffc).r(this, FUNC(midway_ssio_device::data_r));
+ map(0xa000, 0xa000).mirror(0x0ffc).w("ay0", FUNC(ay8910_device::address_w));
+ map(0xa001, 0xa001).mirror(0x0ffc).r("ay0", FUNC(ay8910_device::data_r));
+ map(0xa002, 0xa002).mirror(0x0ffc).w("ay0", FUNC(ay8910_device::data_w));
+ map(0xb000, 0xb000).mirror(0x0ffc).w("ay1", FUNC(ay8910_device::address_w));
+ map(0xb001, 0xb001).mirror(0x0ffc).r("ay1", FUNC(ay8910_device::data_r));
+ map(0xb002, 0xb002).mirror(0x0ffc).w("ay1", FUNC(ay8910_device::data_w));
+ map(0xc000, 0xcfff).nopr().w(this, FUNC(midway_ssio_device::status_w));
+ map(0xd000, 0xdfff).nopw(); // low bit controls yellow LED
+ map(0xe000, 0xefff).r(this, FUNC(midway_ssio_device::irq_clear));
+ map(0xf000, 0xffff).portr("DIP"); // 6 DIP switches
+}
+
+
+//-------------------------------------------------
+// default ports map
+//-------------------------------------------------
+
+void midway_ssio_device::ssio_input_ports(address_map &map, const char *ssio) const
+{
+ map(0x00, 0x04).mirror(0x18).r(ssio, FUNC(midway_ssio_device::ioport_read));
+ map(0x07, 0x07).mirror(0x18).r(ssio, FUNC(midway_ssio_device::read));
+ map(0x00, 0x07).w(ssio, FUNC(midway_ssio_device::ioport_write));
+ map(0x1c, 0x1f).w(ssio, FUNC(midway_ssio_device::write));
+}
//-------------------------------------------------
@@ -561,13 +575,14 @@ WRITE_LINE_MEMBER(midway_sounds_good_device::irq_w)
//-------------------------------------------------
// address map determined by PAL; not verified
-ADDRESS_MAP_START(midway_sounds_good_device::soundsgood_map)
- ADDRESS_MAP_UNMAP_HIGH
- ADDRESS_MAP_GLOBAL_MASK(0x7ffff)
- AM_RANGE(0x000000, 0x03ffff) AM_ROM
- AM_RANGE(0x060000, 0x060007) AM_DEVREADWRITE8("pia", pia6821_device, read_alt, write_alt, 0xff00)
- AM_RANGE(0x070000, 0x070fff) AM_RAM
-ADDRESS_MAP_END
+void midway_sounds_good_device::soundsgood_map(address_map &map)
+{
+ map.unmap_value_high();
+ map.global_mask(0x7ffff);
+ map(0x000000, 0x03ffff).rom();
+ map(0x060000, 0x060007).rw("pia", FUNC(pia6821_device::read_alt), FUNC(pia6821_device::write_alt)).umask16(0xff00);
+ map(0x070000, 0x070fff).ram();
+}
//-------------------------------------------------
@@ -716,12 +731,13 @@ WRITE_LINE_MEMBER(midway_turbo_cheap_squeak_device::irq_w)
//-------------------------------------------------
// address map verified from schematics
-ADDRESS_MAP_START(midway_turbo_cheap_squeak_device::turbocs_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x07ff) AM_MIRROR(0x3800) AM_RAM
- AM_RANGE(0x4000, 0x4003) AM_MIRROR(0x3ffc) AM_DEVREADWRITE("pia", pia6821_device, read_alt, write_alt)
- AM_RANGE(0x8000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void midway_turbo_cheap_squeak_device::turbocs_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x07ff).mirror(0x3800).ram();
+ map(0x4000, 0x4003).mirror(0x3ffc).rw("pia", FUNC(pia6821_device::read_alt), FUNC(pia6821_device::write_alt));
+ map(0x8000, 0xffff).rom();
+}
//-------------------------------------------------
@@ -903,14 +919,15 @@ WRITE_LINE_MEMBER(midway_squawk_n_talk_device::irq_w)
// address map verified from schematics
// note that jumpers control the ROM sizes; if these are changed, use the alternate
// address map below
-ADDRESS_MAP_START(midway_squawk_n_talk_device::squawkntalk_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x007f) AM_RAM // internal RAM
- AM_RANGE(0x0080, 0x0083) AM_MIRROR(0x4f6c) AM_DEVREADWRITE("pia0", pia6821_device, read, write)
- AM_RANGE(0x0090, 0x0093) AM_MIRROR(0x4f6c) AM_DEVREADWRITE("pia1", pia6821_device, read, write)
- AM_RANGE(0x1000, 0x1fff) AM_MIRROR(0x4000) AM_WRITE(dac_w)
- AM_RANGE(0x8000, 0xbfff) AM_MIRROR(0x4000) AM_ROM
-ADDRESS_MAP_END
+void midway_squawk_n_talk_device::squawkntalk_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x007f).ram(); // internal RAM
+ map(0x0080, 0x0083).mirror(0x4f6c).rw("pia0", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x0090, 0x0093).mirror(0x4f6c).rw("pia1", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x1000, 0x1fff).mirror(0x4000).w(this, FUNC(midway_squawk_n_talk_device::dac_w));
+ map(0x8000, 0xbfff).mirror(0x4000).rom();
+}
// alternate address map if the ROM jumpers are changed to support a smaller
// ROM size of 2k
diff --git a/src/mame/audio/midway.h b/src/mame/audio/midway.h
index 006e0518c25..b85518960d4 100644
--- a/src/mame/audio/midway.h
+++ b/src/mame/audio/midway.h
@@ -64,6 +64,8 @@ public:
DECLARE_READ8_MEMBER(data_r);
void ssio_map(address_map &map);
+ void ssio_input_ports(address_map &map, const char *ssio) const;
+
protected:
// device-level overrides
virtual const tiny_rom_entry *device_rom_region() const override;
@@ -231,14 +233,4 @@ private:
DECLARE_WRITE_LINE_MEMBER(irq_w);
};
-
-/************ SSIO input ports ***************/
-
-#define SSIO_INPUT_PORTS(ssio) \
- AM_RANGE(0x00, 0x04) AM_MIRROR(0x18) AM_DEVREAD(ssio, midway_ssio_device, ioport_read) \
- AM_RANGE(0x07, 0x07) AM_MIRROR(0x18) AM_DEVREAD(ssio, midway_ssio_device, read) \
- AM_RANGE(0x00, 0x07) AM_DEVWRITE(ssio, midway_ssio_device, ioport_write) \
- AM_RANGE(0x1c, 0x1f) AM_DEVWRITE(ssio, midway_ssio_device, write)
-
-
#endif // MAME_AUDIO_MIDWAY_H
diff --git a/src/mame/audio/n8080.cpp b/src/mame/audio/n8080.cpp
index 7e42395a33d..46498a226cd 100644
--- a/src/mame/audio/n8080.cpp
+++ b/src/mame/audio/n8080.cpp
@@ -460,15 +460,17 @@ SOUND_RESET_MEMBER(n8080_state,helifire)
}
-ADDRESS_MAP_START(n8080_state::n8080_sound_cpu_map)
- ADDRESS_MAP_GLOBAL_MASK(0x3ff)
- AM_RANGE(0x0000, 0x03ff) AM_ROM
-ADDRESS_MAP_END
+void n8080_state::n8080_sound_cpu_map(address_map &map)
+{
+ map.global_mask(0x3ff);
+ map(0x0000, 0x03ff).rom();
+}
-ADDRESS_MAP_START(n8080_state::helifire_sound_io_map)
- AM_RANGE(0x00, 0x7f) AM_READ(helifire_8035_external_ram_r)
-ADDRESS_MAP_END
+void n8080_state::helifire_sound_io_map(address_map &map)
+{
+ map(0x00, 0x7f).r(this, FUNC(n8080_state::helifire_8035_external_ram_r));
+}
MACHINE_CONFIG_START(n8080_state::spacefev_sound)
diff --git a/src/mame/audio/nichisnd.cpp b/src/mame/audio/nichisnd.cpp
index e00359b8a5b..92878424693 100644
--- a/src/mame/audio/nichisnd.cpp
+++ b/src/mame/audio/nichisnd.cpp
@@ -41,15 +41,17 @@ nichisnd_device::nichisnd_device(const machine_config &mconfig, const char *tag,
{
}
-ADDRESS_MAP_START(nichisnd_device::nichisnd_map)
- AM_RANGE(0x0000, 0x77ff) AM_ROM AM_REGION("audiorom",0)
- AM_RANGE(0x7800, 0x7fff) AM_RAM
- AM_RANGE(0x8000, 0xffff) AM_ROMBANK("soundbank")
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(nichisnd_device::nichisnd_io_map)
- AM_RANGE(0x80, 0x81) AM_MIRROR(0xff00) AM_DEVWRITE("ymsnd", ym3812_device, write)
-ADDRESS_MAP_END
+void nichisnd_device::nichisnd_map(address_map &map)
+{
+ map(0x0000, 0x77ff).rom().region("audiorom", 0);
+ map(0x7800, 0x7fff).ram();
+ map(0x8000, 0xffff).bankr("soundbank");
+}
+
+void nichisnd_device::nichisnd_io_map(address_map &map)
+{
+ map(0x80, 0x81).mirror(0xff00).w("ymsnd", FUNC(ym3812_device::write));
+}
WRITE8_MEMBER(nichisnd_device::soundbank_w)
diff --git a/src/mame/audio/qix.cpp b/src/mame/audio/qix.cpp
index 49d779f4e93..a28dc040366 100644
--- a/src/mame/audio/qix.cpp
+++ b/src/mame/audio/qix.cpp
@@ -154,12 +154,13 @@ WRITE_LINE_MEMBER(qix_state::qix_pia_sint)
*
*************************************/
-ADDRESS_MAP_START(qix_state::audio_map)
- AM_RANGE(0x0000, 0x007f) AM_RAM
- AM_RANGE(0x2000, 0x2003) AM_MIRROR(0x5ffc) AM_DEVREADWRITE("sndpia2", pia6821_device, read, write)
- AM_RANGE(0x4000, 0x4003) AM_MIRROR(0x3ffc) AM_DEVREADWRITE("sndpia1", pia6821_device, read, write)
- AM_RANGE(0xd000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void qix_state::audio_map(address_map &map)
+{
+ map(0x0000, 0x007f).ram();
+ map(0x2000, 0x2003).mirror(0x5ffc).rw(m_sndpia2, FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x4000, 0x4003).mirror(0x3ffc).rw(m_sndpia1, FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0xd000, 0xffff).rom();
+}
diff --git a/src/mame/audio/rax.cpp b/src/mame/audio/rax.cpp
index 7e810132b78..86682328c17 100644
--- a/src/mame/audio/rax.cpp
+++ b/src/mame/audio/rax.cpp
@@ -272,24 +272,27 @@ WRITE16_MEMBER( acclaim_rax_device::host_w )
*
*************************************/
-ADDRESS_MAP_START(acclaim_rax_device::adsp_program_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x3fff) AM_RAM AM_SHARE("adsp_pram")
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(acclaim_rax_device::adsp_data_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x1fff) AM_RAMBANK("databank")
- AM_RANGE(0x2000, 0x3fdf) AM_RAM // Internal RAM
- AM_RANGE(0x3fe0, 0x3fff) AM_READWRITE(adsp_control_r, adsp_control_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(acclaim_rax_device::adsp_io_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x0000) AM_WRITE(ram_bank_w)
- AM_RANGE(0x0001, 0x0001) AM_WRITE(rom_bank_w)
- AM_RANGE(0x0003, 0x0003) AM_READWRITE(host_r, host_w)
-ADDRESS_MAP_END
+void acclaim_rax_device::adsp_program_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x3fff).ram().share("adsp_pram");
+}
+
+void acclaim_rax_device::adsp_data_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x1fff).bankrw("databank");
+ map(0x2000, 0x3fdf).ram(); // Internal RAM
+ map(0x3fe0, 0x3fff).rw(this, FUNC(acclaim_rax_device::adsp_control_r), FUNC(acclaim_rax_device::adsp_control_w));
+}
+
+void acclaim_rax_device::adsp_io_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x0000).w(this, FUNC(acclaim_rax_device::ram_bank_w));
+ map(0x0001, 0x0001).w(this, FUNC(acclaim_rax_device::rom_bank_w));
+ map(0x0003, 0x0003).rw(this, FUNC(acclaim_rax_device::host_r), FUNC(acclaim_rax_device::host_w));
+}
void acclaim_rax_device::device_start()
diff --git a/src/mame/audio/redalert.cpp b/src/mame/audio/redalert.cpp
index b1a5b8cc241..7aaf5577ffb 100644
--- a/src/mame/audio/redalert.cpp
+++ b/src/mame/audio/redalert.cpp
@@ -114,14 +114,15 @@ WRITE8_MEMBER(redalert_state::redalert_ay8910_latch_2_w)
m_ay8910_latch_2 = data;
}
-ADDRESS_MAP_START(redalert_state::redalert_audio_map)
- ADDRESS_MAP_GLOBAL_MASK(0x7fff)
- AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x0c00) AM_RAM
- AM_RANGE(0x1000, 0x1000) AM_MIRROR(0x0ffe) AM_READNOP AM_WRITE(redalert_AY8910_w)
- AM_RANGE(0x1001, 0x1001) AM_MIRROR(0x0ffe) AM_READWRITE(redalert_ay8910_latch_1_r, redalert_ay8910_latch_2_w)
- AM_RANGE(0x2000, 0x6fff) AM_NOP
- AM_RANGE(0x7000, 0x77ff) AM_MIRROR(0x0800) AM_ROM
-ADDRESS_MAP_END
+void redalert_state::redalert_audio_map(address_map &map)
+{
+ map.global_mask(0x7fff);
+ map(0x0000, 0x03ff).mirror(0x0c00).ram();
+ map(0x1000, 0x1000).mirror(0x0ffe).nopr().w(this, FUNC(redalert_state::redalert_AY8910_w));
+ map(0x1001, 0x1001).mirror(0x0ffe).rw(this, FUNC(redalert_state::redalert_ay8910_latch_1_r), FUNC(redalert_state::redalert_ay8910_latch_2_w));
+ map(0x2000, 0x6fff).noprw();
+ map(0x7000, 0x77ff).mirror(0x0800).rom();
+}
/*************************************
*
@@ -161,12 +162,13 @@ READ_LINE_MEMBER(redalert_state::sid_callback)
}
-ADDRESS_MAP_START(redalert_state::redalert_voice_map)
- AM_RANGE(0x0000, 0x3fff) AM_ROM
- AM_RANGE(0x4000, 0x7fff) AM_NOP
- AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x3c00) AM_RAM
- AM_RANGE(0xc000, 0xc000) AM_MIRROR(0x3fff) AM_DEVREAD("soundlatch2", generic_latch_8_device, read) AM_WRITENOP
-ADDRESS_MAP_END
+void redalert_state::redalert_voice_map(address_map &map)
+{
+ map(0x0000, 0x3fff).rom();
+ map(0x4000, 0x7fff).noprw();
+ map(0x8000, 0x83ff).mirror(0x3c00).ram();
+ map(0xc000, 0xc000).mirror(0x3fff).r(m_soundlatch2, FUNC(generic_latch_8_device::read)).nopw();
+}
@@ -313,12 +315,13 @@ WRITE8_MEMBER(redalert_state::demoneye_ay8910_data_w)
}
-ADDRESS_MAP_START(redalert_state::demoneye_audio_map)
- ADDRESS_MAP_GLOBAL_MASK(0x3fff)
- AM_RANGE(0x0000, 0x007f) AM_RAM
- AM_RANGE(0x0500, 0x0503) AM_DEVREADWRITE("sndpia", pia6821_device, read, write)
- AM_RANGE(0x2000, 0x3fff) AM_ROM
-ADDRESS_MAP_END
+void redalert_state::demoneye_audio_map(address_map &map)
+{
+ map.global_mask(0x3fff);
+ map(0x0000, 0x007f).ram();
+ map(0x0500, 0x0503).rw("sndpia", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x2000, 0x3fff).rom();
+}
/*************************************
diff --git a/src/mame/audio/s11c_bg.cpp b/src/mame/audio/s11c_bg.cpp
index cf4d4a75ff9..07b4633160c 100644
--- a/src/mame/audio/s11c_bg.cpp
+++ b/src/mame/audio/s11c_bg.cpp
@@ -26,15 +26,16 @@ s11c_bg_device::s11c_bg_device(const machine_config &mconfig, const char *tag, d
{
}
-ADDRESS_MAP_START(s11c_bg_device::s11c_bg_map)
- AM_RANGE(0x0000, 0x07ff) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x1ffe) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x4000, 0x4003) AM_MIRROR(0x1ffc) AM_DEVREADWRITE("pia40", pia6821_device, read, write)
- AM_RANGE(0x6000, 0x67ff) AM_WRITE(bg_speech_digit_w)
- AM_RANGE(0x6800, 0x6fff) AM_WRITE(bg_speech_clock_w)
- AM_RANGE(0x7800, 0x7fff) AM_WRITE(bgbank_w)
- AM_RANGE(0x8000, 0xffff) AM_ROMBANK("bgbank")
-ADDRESS_MAP_END
+void s11c_bg_device::s11c_bg_map(address_map &map)
+{
+ map(0x0000, 0x07ff).ram();
+ map(0x2000, 0x2001).mirror(0x1ffe).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x4000, 0x4003).mirror(0x1ffc).rw("pia40", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x6000, 0x67ff).w(this, FUNC(s11c_bg_device::bg_speech_digit_w));
+ map(0x6800, 0x6fff).w(this, FUNC(s11c_bg_device::bg_speech_clock_w));
+ map(0x7800, 0x7fff).w(this, FUNC(s11c_bg_device::bgbank_w));
+ map(0x8000, 0xffff).bankr("bgbank");
+}
WRITE_LINE_MEMBER( s11c_bg_device::pia40_cb2_w)
{
diff --git a/src/mame/audio/scramble.cpp b/src/mame/audio/scramble.cpp
index 4864b4e3b4f..ba1f4e49b69 100644
--- a/src/mame/audio/scramble.cpp
+++ b/src/mame/audio/scramble.cpp
@@ -276,19 +276,21 @@ WRITE8_MEMBER( scramble_state::ad2083_tms5110_ctrl_w )
m_tmsprom->enable_w(1);
}
-ADDRESS_MAP_START(scramble_state::ad2083_sound_map)
- AM_RANGE(0x0000, 0x2fff) AM_ROM
- AM_RANGE(0x8000, 0x83ff) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(scramble_state::ad2083_sound_io_map)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x01, 0x01) AM_WRITE(ad2083_tms5110_ctrl_w)
- AM_RANGE(0x10, 0x10) AM_DEVWRITE("ay1", ay8910_device, address_w)
- AM_RANGE(0x20, 0x20) AM_DEVREADWRITE("ay1", ay8910_device, data_r, data_w)
- AM_RANGE(0x40, 0x40) AM_DEVREADWRITE("ay2", ay8910_device, data_r, data_w)
- AM_RANGE(0x80, 0x80) AM_DEVWRITE("ay2", ay8910_device, address_w)
-ADDRESS_MAP_END
+void scramble_state::ad2083_sound_map(address_map &map)
+{
+ map(0x0000, 0x2fff).rom();
+ map(0x8000, 0x83ff).ram();
+}
+
+void scramble_state::ad2083_sound_io_map(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x01, 0x01).w(this, FUNC(scramble_state::ad2083_tms5110_ctrl_w));
+ map(0x10, 0x10).w("ay1", FUNC(ay8910_device::address_w));
+ map(0x20, 0x20).rw("ay1", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x40, 0x40).rw("ay2", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x80, 0x80).w("ay2", FUNC(ay8910_device::address_w));
+}
MACHINE_CONFIG_START(scramble_state::ad2083_audio)
diff --git a/src/mame/audio/segam1audio.cpp b/src/mame/audio/segam1audio.cpp
index c6abf062f49..a91ebd39c82 100644
--- a/src/mame/audio/segam1audio.cpp
+++ b/src/mame/audio/segam1audio.cpp
@@ -22,29 +22,32 @@
#define MPCMBANK1_TAG "m1pcm1_bank"
#define MPCMBANK2_TAG "m1pcm2_bank"
-ADDRESS_MAP_START(segam1audio_device::segam1audio_map)
- AM_RANGE(0x000000, 0x03ffff) AM_ROM
- AM_RANGE(0x080000, 0x09ffff) AM_ROM AM_REGION(M68000_TAG, 0x20000) // mirror of upper ROM socket
- AM_RANGE(0xc20000, 0xc20001) AM_DEVREADWRITE8(UART_TAG, i8251_device, data_r, data_w, 0x00ff)
- AM_RANGE(0xc20002, 0xc20003) AM_DEVREADWRITE8(UART_TAG, i8251_device, status_r, control_w, 0x00ff)
- AM_RANGE(0xc40000, 0xc40007) AM_DEVREADWRITE8(MULTIPCM_1_TAG, multipcm_device, read, write, 0x00ff)
- AM_RANGE(0xc40012, 0xc40013) AM_WRITENOP
- AM_RANGE(0xc50000, 0xc50001) AM_WRITE(m1_snd_mpcm_bnk1_w)
- AM_RANGE(0xc60000, 0xc60007) AM_DEVREADWRITE8(MULTIPCM_2_TAG, multipcm_device, read, write, 0x00ff)
- AM_RANGE(0xc70000, 0xc70001) AM_WRITE(m1_snd_mpcm_bnk2_w)
- AM_RANGE(0xd00000, 0xd00007) AM_DEVREADWRITE8(YM3438_TAG, ym3438_device, read, write, 0x00ff)
- AM_RANGE(0xf00000, 0xf0ffff) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(segam1audio_device::mpcm1_map)
- AM_RANGE(0x000000, 0x0fffff) AM_ROM
- AM_RANGE(0x100000, 0x1fffff) AM_ROMBANK(MPCMBANK1_TAG)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(segam1audio_device::mpcm2_map)
- AM_RANGE(0x000000, 0x0fffff) AM_ROM
- AM_RANGE(0x100000, 0x1fffff) AM_ROMBANK(MPCMBANK2_TAG)
-ADDRESS_MAP_END
+void segam1audio_device::segam1audio_map(address_map &map)
+{
+ map(0x000000, 0x03ffff).rom();
+ map(0x080000, 0x09ffff).rom().region(M68000_TAG, 0x20000); // mirror of upper ROM socket
+ map(0xc20001, 0xc20001).rw(UART_TAG, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
+ map(0xc20003, 0xc20003).rw(UART_TAG, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
+ map(0xc40000, 0xc40007).rw(MULTIPCM_1_TAG, FUNC(multipcm_device::read), FUNC(multipcm_device::write)).umask16(0x00ff);
+ map(0xc40012, 0xc40013).nopw();
+ map(0xc50000, 0xc50001).w(this, FUNC(segam1audio_device::m1_snd_mpcm_bnk1_w));
+ map(0xc60000, 0xc60007).rw(MULTIPCM_2_TAG, FUNC(multipcm_device::read), FUNC(multipcm_device::write)).umask16(0x00ff);
+ map(0xc70000, 0xc70001).w(this, FUNC(segam1audio_device::m1_snd_mpcm_bnk2_w));
+ map(0xd00000, 0xd00007).rw(YM3438_TAG, FUNC(ym3438_device::read), FUNC(ym3438_device::write)).umask16(0x00ff);
+ map(0xf00000, 0xf0ffff).ram();
+}
+
+void segam1audio_device::mpcm1_map(address_map &map)
+{
+ map(0x000000, 0x0fffff).rom();
+ map(0x100000, 0x1fffff).bankr(MPCMBANK1_TAG);
+}
+
+void segam1audio_device::mpcm2_map(address_map &map)
+{
+ map(0x000000, 0x0fffff).rom();
+ map(0x100000, 0x1fffff).bankr(MPCMBANK2_TAG);
+}
//**************************************************************************
// GLOBAL VARIABLES
diff --git a/src/mame/audio/segasnd.cpp b/src/mame/audio/segasnd.cpp
index 4b30c819844..2a97b561720 100644
--- a/src/mame/audio/segasnd.cpp
+++ b/src/mame/audio/segasnd.cpp
@@ -200,15 +200,17 @@ void speech_sound_device::sound_stream_update(sound_stream &stream, stream_sampl
*
*************************************/
-ADDRESS_MAP_START(segag80snd_common::speech_map)
- AM_RANGE(0x0000, 0x07ff) AM_MIRROR(0x0800) AM_ROM
-ADDRESS_MAP_END
+void segag80snd_common::speech_map(address_map &map)
+{
+ map(0x0000, 0x07ff).mirror(0x0800).rom();
+}
-ADDRESS_MAP_START(segag80snd_common::speech_portmap)
- AM_RANGE(0x00, 0xff) AM_DEVREAD("segaspeech", speech_sound_device, rom_r)
- AM_RANGE(0x00, 0xff) AM_DEVWRITE("speech", sp0250_device, write)
-ADDRESS_MAP_END
+void segag80snd_common::speech_portmap(address_map &map)
+{
+ map(0x00, 0xff).r("segaspeech", FUNC(speech_sound_device::rom_r));
+ map(0x00, 0xff).w("speech", FUNC(sp0250_device::write));
+}
/*************************************
@@ -846,13 +848,15 @@ void usb_sound_device::sound_stream_update(sound_stream &stream, stream_sample_t
*
*************************************/
-ADDRESS_MAP_START(usb_sound_device::usb_map)
- AM_RANGE(0x0000, 0x0fff) AM_RAM AM_SHARE("pgmram")
-ADDRESS_MAP_END
+void usb_sound_device::usb_map(address_map &map)
+{
+ map(0x0000, 0x0fff).ram().share("pgmram");
+}
-ADDRESS_MAP_START(usb_sound_device::usb_portmap)
- AM_RANGE(0x00, 0xff) AM_READWRITE(workram_r, workram_w) AM_SHARE("workram")
-ADDRESS_MAP_END
+void usb_sound_device::usb_portmap(address_map &map)
+{
+ map(0x00, 0xff).rw(this, FUNC(usb_sound_device::workram_r), FUNC(usb_sound_device::workram_w)).share("workram");
+}
//-------------------------------------------------
diff --git a/src/mame/audio/seibu.cpp b/src/mame/audio/seibu.cpp
index 255402bdb05..1f4dac001d3 100644
--- a/src/mame/audio/seibu.cpp
+++ b/src/mame/audio/seibu.cpp
@@ -286,23 +286,24 @@ WRITE16_MEMBER( seibu_sound_device::main_mustb_w )
/***************************************************************************/
-ADDRESS_MAP_START(seibu_sound_common::seibu_sound_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x27ff) AM_RAM
- AM_RANGE(0x4000, 0x4000) AM_DEVWRITE("seibu_sound", seibu_sound_device, pending_w)
- AM_RANGE(0x4001, 0x4001) AM_DEVWRITE("seibu_sound", seibu_sound_device, irq_clear_w)
- AM_RANGE(0x4002, 0x4002) AM_DEVWRITE("seibu_sound", seibu_sound_device, rst10_ack_w)
- AM_RANGE(0x4003, 0x4003) AM_DEVWRITE("seibu_sound", seibu_sound_device, rst18_ack_w)
- AM_RANGE(0x4007, 0x4007) AM_DEVWRITE("seibu_sound", seibu_sound_device, bank_w)
- AM_RANGE(0x4008, 0x4009) AM_DEVREADWRITE("seibu_sound", seibu_sound_device, ym_r, ym_w)
- AM_RANGE(0x4010, 0x4011) AM_DEVREAD("seibu_sound", seibu_sound_device, soundlatch_r)
- AM_RANGE(0x4012, 0x4012) AM_DEVREAD("seibu_sound", seibu_sound_device, main_data_pending_r)
- AM_RANGE(0x4013, 0x4013) AM_READ_PORT("COIN")
- AM_RANGE(0x4018, 0x4019) AM_DEVWRITE("seibu_sound", seibu_sound_device, main_data_w)
- AM_RANGE(0x401b, 0x401b) AM_DEVWRITE("seibu_sound", seibu_sound_device, coin_w)
- AM_RANGE(0x6000, 0x6000) AM_DEVREADWRITE("oki", okim6295_device, read, write)
- AM_RANGE(0x8000, 0xffff) AM_ROMBANK("seibu_bank1")
-ADDRESS_MAP_END
+void seibu_sound_common::seibu_sound_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x27ff).ram();
+ map(0x4000, 0x4000).w("seibu_sound", FUNC(seibu_sound_device::pending_w));
+ map(0x4001, 0x4001).w("seibu_sound", FUNC(seibu_sound_device::irq_clear_w));
+ map(0x4002, 0x4002).w("seibu_sound", FUNC(seibu_sound_device::rst10_ack_w));
+ map(0x4003, 0x4003).w("seibu_sound", FUNC(seibu_sound_device::rst18_ack_w));
+ map(0x4007, 0x4007).w("seibu_sound", FUNC(seibu_sound_device::bank_w));
+ map(0x4008, 0x4009).rw("seibu_sound", FUNC(seibu_sound_device::ym_r), FUNC(seibu_sound_device::ym_w));
+ map(0x4010, 0x4011).r("seibu_sound", FUNC(seibu_sound_device::soundlatch_r));
+ map(0x4012, 0x4012).r("seibu_sound", FUNC(seibu_sound_device::main_data_pending_r));
+ map(0x4013, 0x4013).portr("COIN");
+ map(0x4018, 0x4019).w("seibu_sound", FUNC(seibu_sound_device::main_data_w));
+ map(0x401b, 0x401b).w("seibu_sound", FUNC(seibu_sound_device::coin_w));
+ map(0x6000, 0x6000).rw("oki", FUNC(okim6295_device::read), FUNC(okim6295_device::write));
+ map(0x8000, 0xffff).bankr("seibu_bank1");
+}
/***************************************************************************/
diff --git a/src/mame/audio/t5182.cpp b/src/mame/audio/t5182.cpp
index d4fb0b597d0..6c7489a743f 100644
--- a/src/mame/audio/t5182.cpp
+++ b/src/mame/audio/t5182.cpp
@@ -335,12 +335,13 @@ ioport_constructor t5182_device::device_input_ports() const
// 90XX reset
// A0XX
// rest unused
-ADDRESS_MAP_START(t5182_device::t5182_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM AM_REGION("cpu", 0) // internal ROM
- AM_RANGE(0x2000, 0x27ff) AM_RAM AM_MIRROR(0x1800) // internal RAM
- AM_RANGE(0x4000, 0x40ff) AM_RAM AM_MIRROR(0x3F00) AM_SHARE("sharedram") // 2016 with four 74ls245s, one each for main and t5182 address and data. pins 23, 22, 20, 19, 18 are all tied low so only 256 bytes are usable
- AM_RANGE(0x8000, 0xffff) AM_ROM AM_REGION(":t5182_z80", 0) // external ROM
-ADDRESS_MAP_END
+void t5182_device::t5182_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom().region("cpu", 0); // internal ROM
+ map(0x2000, 0x27ff).ram().mirror(0x1800); // internal RAM
+ map(0x4000, 0x40ff).ram().mirror(0x3F00).share("sharedram"); // 2016 with four 74ls245s, one each for main and t5182 address and data. pins 23, 22, 20, 19, 18 are all tied low so only 256 bytes are usable
+ map(0x8000, 0xffff).rom().region(":t5182_z80", 0); // external ROM
+}
// 00 W YM2151 address
@@ -353,16 +354,17 @@ ADDRESS_MAP_END
// 30 R coin inputs (bits 0 and 1, active high)
// 40 W external ROM banking? (the only 0 bit enables a ROM)
// 50 W test mode status flags (bit 0 = ROM test fail, bit 1 = RAM test fail, bit 2 = YM2151 IRQ not received)
-ADDRESS_MAP_START(t5182_device::t5182_io)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x01) AM_DEVREADWRITE(":ymsnd", ym2151_device, read, write)
- AM_RANGE(0x10, 0x10) AM_WRITE(sharedram_semaphore_snd_acquire_w)
- AM_RANGE(0x11, 0x11) AM_WRITE(sharedram_semaphore_snd_release_w)
- AM_RANGE(0x12, 0x12) AM_WRITE(ym2151_irq_ack_w)
- AM_RANGE(0x13, 0x13) AM_WRITE(cpu_irq_ack_w)
- AM_RANGE(0x20, 0x20) AM_READ(sharedram_semaphore_main_r)
- AM_RANGE(0x30, 0x30) AM_READ_PORT("T5182_COIN")
-ADDRESS_MAP_END
+void t5182_device::t5182_io(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x01).rw(":ymsnd", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x10, 0x10).w(this, FUNC(t5182_device::sharedram_semaphore_snd_acquire_w));
+ map(0x11, 0x11).w(this, FUNC(t5182_device::sharedram_semaphore_snd_release_w));
+ map(0x12, 0x12).w(this, FUNC(t5182_device::ym2151_irq_ack_w));
+ map(0x13, 0x13).w(this, FUNC(t5182_device::cpu_irq_ack_w));
+ map(0x20, 0x20).r(this, FUNC(t5182_device::sharedram_semaphore_main_r));
+ map(0x30, 0x30).portr("T5182_COIN");
+}
//-------------------------------------------------
diff --git a/src/mame/audio/taito_en.cpp b/src/mame/audio/taito_en.cpp
index f123cc281bf..8dcb483f5d7 100644
--- a/src/mame/audio/taito_en.cpp
+++ b/src/mame/audio/taito_en.cpp
@@ -98,19 +98,20 @@ WRITE8_MEMBER( taito_en_device::en_volume_w )
*
*************************************/
-ADDRESS_MAP_START(taito_en_device::en_sound_map)
- AM_RANGE(0x000000, 0x00ffff) AM_RAM AM_MIRROR(0x30000) AM_SHARE("osram")
- AM_RANGE(0x140000, 0x140fff) AM_DEVREADWRITE8("dpram", mb8421_device, right_r, right_w, 0xff00)
- AM_RANGE(0x200000, 0x20001f) AM_DEVREADWRITE("ensoniq", es5505_device, read, write)
- AM_RANGE(0x260000, 0x2601ff) AM_DEVREADWRITE8("esp", es5510_device, host_r, host_w, 0x00ff)
- AM_RANGE(0x280000, 0x28001f) AM_DEVREADWRITE8("duart68681", mc68681_device, read, write, 0x00ff)
- AM_RANGE(0x300000, 0x30003f) AM_WRITE(en_es5505_bank_w)
- AM_RANGE(0x340000, 0x340003) AM_WRITE8(en_volume_w, 0xff00)
- AM_RANGE(0xc00000, 0xc1ffff) AM_ROMBANK("cpubank1")
- AM_RANGE(0xc20000, 0xc3ffff) AM_ROMBANK("cpubank2")
- AM_RANGE(0xc40000, 0xc7ffff) AM_ROMBANK("cpubank3")
- AM_RANGE(0xff0000, 0xffffff) AM_RAM AM_SHARE("osram") // mirror
-ADDRESS_MAP_END
+void taito_en_device::en_sound_map(address_map &map)
+{
+ map(0x000000, 0x00ffff).ram().mirror(0x30000).share("osram");
+ map(0x140000, 0x140fff).rw("dpram", FUNC(mb8421_device::right_r), FUNC(mb8421_device::right_w)).umask16(0xff00);
+ map(0x200000, 0x20001f).rw("ensoniq", FUNC(es5505_device::read), FUNC(es5505_device::write));
+ map(0x260000, 0x2601ff).rw("esp", FUNC(es5510_device::host_r), FUNC(es5510_device::host_w)).umask16(0x00ff);
+ map(0x280000, 0x28001f).rw("duart68681", FUNC(mc68681_device::read), FUNC(mc68681_device::write)).umask16(0x00ff);
+ map(0x300000, 0x30003f).w(this, FUNC(taito_en_device::en_es5505_bank_w));
+ map(0x340000, 0x340003).w(this, FUNC(taito_en_device::en_volume_w)).umask16(0xff00);
+ map(0xc00000, 0xc1ffff).bankr("cpubank1");
+ map(0xc20000, 0xc3ffff).bankr("cpubank2");
+ map(0xc40000, 0xc7ffff).bankr("cpubank3");
+ map(0xff0000, 0xffffff).ram().share("osram"); // mirror
+}
/*************************************
diff --git a/src/mame/audio/taito_zm.cpp b/src/mame/audio/taito_zm.cpp
index 28c1063ec5f..79680e5bfa3 100644
--- a/src/mame/audio/taito_zm.cpp
+++ b/src/mame/audio/taito_zm.cpp
@@ -108,17 +108,18 @@ WRITE8_MEMBER(taito_zoom_device::tms_ctrl_w)
}
-ADDRESS_MAP_START(taito_zoom_device::taitozoom_mn_map)
+void taito_zoom_device::taitozoom_mn_map(address_map &map)
+{
if(m_use_flash) {
- AM_RANGE(0x080000, 0x0fffff) AM_DEVREAD(":pgmflash", intelfsh16_device, read);
+ map(0x080000, 0x0fffff).r(":pgmflash", FUNC(intelfsh16_device::read));
} else {
- AM_RANGE(0x080000, 0x0fffff) AM_ROM AM_REGION("mn10200", 0);
+ map(0x080000, 0x0fffff).rom().region("mn10200", 0);
}
- AM_RANGE(0x400000, 0x41ffff) AM_RAM
- AM_RANGE(0x800000, 0x8007ff) AM_DEVREADWRITE("zsg2", zsg2_device, read, write)
- AM_RANGE(0xc00000, 0xc00001) AM_RAM // TMS57002 comms
- AM_RANGE(0xe00000, 0xe000ff) AM_READWRITE8(shared_ram_r, shared_ram_w, 0xffff) // M66220FP for comms with maincpu
-ADDRESS_MAP_END
+ map(0x400000, 0x41ffff).ram();
+ map(0x800000, 0x8007ff).rw("zsg2", FUNC(zsg2_device::read), FUNC(zsg2_device::write));
+ map(0xc00000, 0xc00001).ram(); // TMS57002 comms
+ map(0xe00000, 0xe000ff).rw(this, FUNC(taito_zoom_device::shared_ram_r), FUNC(taito_zoom_device::shared_ram_w)); // M66220FP for comms with maincpu
+}
/***************************************************************************
diff --git a/src/mame/audio/timeplt.cpp b/src/mame/audio/timeplt.cpp
index ac74834f240..8662021e5e6 100644
--- a/src/mame/audio/timeplt.cpp
+++ b/src/mame/audio/timeplt.cpp
@@ -151,26 +151,28 @@ WRITE_LINE_MEMBER(timeplt_audio_device::mute_w)
*
*************************************/
-ADDRESS_MAP_START(timeplt_audio_device::timeplt_sound_map)
- AM_RANGE(0x0000, 0x2fff) AM_ROM
- AM_RANGE(0x3000, 0x33ff) AM_MIRROR(0x0c00) AM_RAM
- AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x0fff) AM_DEVREADWRITE("ay1", ay8910_device, data_r, data_w)
- AM_RANGE(0x5000, 0x5000) AM_MIRROR(0x0fff) AM_DEVWRITE("ay1", ay8910_device, address_w)
- AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x0fff) AM_DEVREADWRITE("ay2", ay8910_device, data_r, data_w)
- AM_RANGE(0x7000, 0x7000) AM_MIRROR(0x0fff) AM_DEVWRITE("ay2", ay8910_device, address_w)
- AM_RANGE(0x8000, 0xffff) AM_WRITE(filter_w)
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(timeplt_audio_device::locomotn_sound_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x23ff) AM_MIRROR(0x0c00) AM_RAM
- AM_RANGE(0x3000, 0x3fff) AM_WRITE(filter_w)
- AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x0fff) AM_DEVREADWRITE("ay1", ay8910_device, data_r, data_w)
- AM_RANGE(0x5000, 0x5000) AM_MIRROR(0x0fff) AM_DEVWRITE("ay1", ay8910_device, address_w)
- AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x0fff) AM_DEVREADWRITE("ay2", ay8910_device, data_r, data_w)
- AM_RANGE(0x7000, 0x7000) AM_MIRROR(0x0fff) AM_DEVWRITE("ay2", ay8910_device, address_w)
-ADDRESS_MAP_END
+void timeplt_audio_device::timeplt_sound_map(address_map &map)
+{
+ map(0x0000, 0x2fff).rom();
+ map(0x3000, 0x33ff).mirror(0x0c00).ram();
+ map(0x4000, 0x4000).mirror(0x0fff).rw("ay1", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x5000, 0x5000).mirror(0x0fff).w("ay1", FUNC(ay8910_device::address_w));
+ map(0x6000, 0x6000).mirror(0x0fff).rw("ay2", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x7000, 0x7000).mirror(0x0fff).w("ay2", FUNC(ay8910_device::address_w));
+ map(0x8000, 0xffff).w(this, FUNC(timeplt_audio_device::filter_w));
+}
+
+
+void timeplt_audio_device::locomotn_sound_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x23ff).mirror(0x0c00).ram();
+ map(0x3000, 0x3fff).w(this, FUNC(timeplt_audio_device::filter_w));
+ map(0x4000, 0x4000).mirror(0x0fff).rw("ay1", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x5000, 0x5000).mirror(0x0fff).w("ay1", FUNC(ay8910_device::address_w));
+ map(0x6000, 0x6000).mirror(0x0fff).rw("ay2", FUNC(ay8910_device::data_r), FUNC(ay8910_device::data_w));
+ map(0x7000, 0x7000).mirror(0x0fff).w("ay2", FUNC(ay8910_device::address_w));
+}
/*************************************
diff --git a/src/mame/audio/williams.cpp b/src/mame/audio/williams.cpp
index 74bf40c525a..63877527def 100644
--- a/src/mame/audio/williams.cpp
+++ b/src/mame/audio/williams.cpp
@@ -159,15 +159,16 @@ WRITE8_MEMBER(williams_cvsd_sound_device::cvsd_clock_set_w)
// audio CPU map
//-------------------------------------------------
-ADDRESS_MAP_START(williams_cvsd_sound_device::williams_cvsd_map)
- AM_RANGE(0x0000, 0x07ff) AM_MIRROR(0x1800) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x1ffe) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x4000, 0x4003) AM_MIRROR(0x1ffc) AM_DEVREADWRITE("pia", pia6821_device, read, write)
- AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x07ff) AM_WRITE(cvsd_digit_clock_clear_w)
- AM_RANGE(0x6800, 0x6800) AM_MIRROR(0x07ff) AM_WRITE(cvsd_clock_set_w)
- AM_RANGE(0x7800, 0x7800) AM_MIRROR(0x07ff) AM_WRITE(bank_select_w)
- AM_RANGE(0x8000, 0xffff) AM_ROMBANK("rombank")
-ADDRESS_MAP_END
+void williams_cvsd_sound_device::williams_cvsd_map(address_map &map)
+{
+ map(0x0000, 0x07ff).mirror(0x1800).ram();
+ map(0x2000, 0x2001).mirror(0x1ffe).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x4000, 0x4003).mirror(0x1ffc).rw("pia", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x6000, 0x6000).mirror(0x07ff).w(this, FUNC(williams_cvsd_sound_device::cvsd_digit_clock_clear_w));
+ map(0x6800, 0x6800).mirror(0x07ff).w(this, FUNC(williams_cvsd_sound_device::cvsd_clock_set_w));
+ map(0x7800, 0x7800).mirror(0x07ff).w(this, FUNC(williams_cvsd_sound_device::bank_select_w));
+ map(0x8000, 0xffff).bankr("rombank");
+}
//-------------------------------------------------
@@ -455,36 +456,38 @@ WRITE8_MEMBER(williams_narc_sound_device::cvsd_clock_set_w)
// master CPU map
//-------------------------------------------------
-ADDRESS_MAP_START(williams_narc_sound_device::williams_narc_master_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x03fe) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x2800, 0x2800) AM_MIRROR(0x03ff) AM_WRITE(master_talkback_w)
- AM_RANGE(0x2c00, 0x2c00) AM_MIRROR(0x03ff) AM_WRITE(command2_w)
- AM_RANGE(0x3000, 0x3000) AM_MIRROR(0x03ff) AM_DEVWRITE("dac1", dac_byte_interface, write)
- AM_RANGE(0x3400, 0x3400) AM_MIRROR(0x03ff) AM_READ(command_r)
- AM_RANGE(0x3800, 0x3800) AM_MIRROR(0x03ff) AM_WRITE(master_bank_select_w)
- AM_RANGE(0x3c00, 0x3c00) AM_MIRROR(0x03ff) AM_WRITE(master_sync_w)
- AM_RANGE(0x4000, 0xbfff) AM_ROMBANK("masterbank")
- AM_RANGE(0xc000, 0xffff) AM_ROMBANK("masterupper")
-ADDRESS_MAP_END
+void williams_narc_sound_device::williams_narc_master_map(address_map &map)
+{
+ map(0x0000, 0x1fff).ram();
+ map(0x2000, 0x2001).mirror(0x03fe).rw("ym2151", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0x2800, 0x2800).mirror(0x03ff).w(this, FUNC(williams_narc_sound_device::master_talkback_w));
+ map(0x2c00, 0x2c00).mirror(0x03ff).w(this, FUNC(williams_narc_sound_device::command2_w));
+ map(0x3000, 0x3000).mirror(0x03ff).w("dac1", FUNC(dac_byte_interface::write));
+ map(0x3400, 0x3400).mirror(0x03ff).r(this, FUNC(williams_narc_sound_device::command_r));
+ map(0x3800, 0x3800).mirror(0x03ff).w(this, FUNC(williams_narc_sound_device::master_bank_select_w));
+ map(0x3c00, 0x3c00).mirror(0x03ff).w(this, FUNC(williams_narc_sound_device::master_sync_w));
+ map(0x4000, 0xbfff).bankr("masterbank");
+ map(0xc000, 0xffff).bankr("masterupper");
+}
//-------------------------------------------------
// slave CPU map
//-------------------------------------------------
-ADDRESS_MAP_START(williams_narc_sound_device::williams_narc_slave_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x03ff) AM_WRITE(cvsd_clock_set_w)
- AM_RANGE(0x2400, 0x2400) AM_MIRROR(0x03ff) AM_WRITE(cvsd_digit_clock_clear_w)
- AM_RANGE(0x2800, 0x2800)