summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-03-13 07:36:43 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-03-14 14:07:14 +0100
commit115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch)
treef0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers
parentf155992daab88ad024cec995428a67108218b51d (diff)
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers')
-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
2090 files changed, 90027 insertions, 82318 deletions
diff --git a/src/mame/drivers/1942.cpp b/src/mame/drivers/1942.cpp
index 2a0de5e5280..5623215d67a 100644
--- a/src/mame/drivers/1942.cpp
+++ b/src/mame/drivers/1942.cpp
@@ -180,24 +180,25 @@ TIMER_DEVICE_CALLBACK_MEMBER(_1942_state::c1942_scanline)
-ADDRESS_MAP_START(_1942_state::c1942_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank1")
- AM_RANGE(0xc000, 0xc000) AM_READ_PORT("SYSTEM")
- AM_RANGE(0xc001, 0xc001) AM_READ_PORT("P1")
- AM_RANGE(0xc002, 0xc002) AM_READ_PORT("P2")
- AM_RANGE(0xc003, 0xc003) AM_READ_PORT("DSWA")
- AM_RANGE(0xc004, 0xc004) AM_READ_PORT("DSWB")
- AM_RANGE(0xc800, 0xc800) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
- AM_RANGE(0xc802, 0xc803) AM_WRITE(c1942_scroll_w)
- AM_RANGE(0xc804, 0xc804) AM_WRITE(c1942_c804_w)
- AM_RANGE(0xc805, 0xc805) AM_WRITE(c1942_palette_bank_w)
- AM_RANGE(0xc806, 0xc806) AM_WRITE(c1942_bankswitch_w)
- AM_RANGE(0xcc00, 0xcc7f) AM_RAM AM_SHARE("spriteram")
- AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(c1942_fgvideoram_w) AM_SHARE("fg_videoram")
- AM_RANGE(0xd800, 0xdbff) AM_RAM_WRITE(c1942_bgvideoram_w) AM_SHARE("bg_videoram")
- AM_RANGE(0xe000, 0xefff) AM_RAM
-ADDRESS_MAP_END
+void _1942_state::c1942_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0x8000, 0xbfff).bankr("bank1");
+ map(0xc000, 0xc000).portr("SYSTEM");
+ map(0xc001, 0xc001).portr("P1");
+ map(0xc002, 0xc002).portr("P2");
+ map(0xc003, 0xc003).portr("DSWA");
+ map(0xc004, 0xc004).portr("DSWB");
+ map(0xc800, 0xc800).w(m_soundlatch, FUNC(generic_latch_8_device::write));
+ map(0xc802, 0xc803).w(this, FUNC(_1942_state::c1942_scroll_w));
+ map(0xc804, 0xc804).w(this, FUNC(_1942_state::c1942_c804_w));
+ map(0xc805, 0xc805).w(this, FUNC(_1942_state::c1942_palette_bank_w));
+ map(0xc806, 0xc806).w(this, FUNC(_1942_state::c1942_bankswitch_w));
+ map(0xcc00, 0xcc7f).ram().share("spriteram");
+ map(0xd000, 0xd7ff).ram().w(this, FUNC(_1942_state::c1942_fgvideoram_w)).share("fg_videoram");
+ map(0xd800, 0xdbff).ram().w(this, FUNC(_1942_state::c1942_bgvideoram_w)).share("bg_videoram");
+ map(0xe000, 0xefff).ram();
+}
WRITE8_MEMBER(_1942_state::c1942p_f600_w)
{
@@ -215,57 +216,61 @@ WRITE8_MEMBER(_1942_state::c1942p_palette_w)
m_palette->set_indirect_color(offset, rgb_t(r<<5,g<<5,b<<6));
}
-ADDRESS_MAP_START(_1942_state::c1942p_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank1")
+void _1942_state::c1942p_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0x8000, 0xbfff).bankr("bank1");
- AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(c1942_fgvideoram_w) AM_SHARE("fg_videoram")
- AM_RANGE(0xd800, 0xdbff) AM_RAM_WRITE(c1942_bgvideoram_w) AM_SHARE("bg_videoram")
+ map(0xd000, 0xd7ff).ram().w(this, FUNC(_1942_state::c1942_fgvideoram_w)).share("fg_videoram");
+ map(0xd800, 0xdbff).ram().w(this, FUNC(_1942_state::c1942_bgvideoram_w)).share("bg_videoram");
- AM_RANGE(0xe000, 0xefff) AM_RAM
+ map(0xe000, 0xefff).ram();
- AM_RANGE(0xce00, 0xcfff) AM_RAM AM_SHARE("spriteram")
+ map(0xce00, 0xcfff).ram().share("spriteram");
- AM_RANGE(0xdc02, 0xdc03) AM_WRITE(c1942_scroll_w)
- AM_RANGE(0xc804, 0xc804) AM_WRITE(c1942_c804_w)
- AM_RANGE(0xc805, 0xc805) AM_WRITE(c1942_palette_bank_w)
+ map(0xdc02, 0xdc03).w(this, FUNC(_1942_state::c1942_scroll_w));
+ map(0xc804, 0xc804).w(this, FUNC(_1942_state::c1942_c804_w));
+ map(0xc805, 0xc805).w(this, FUNC(_1942_state::c1942_palette_bank_w));
- AM_RANGE(0xf000, 0xf3ff) AM_RAM AM_WRITE(c1942p_palette_w) AM_SHARE("protopal")
+ map(0xf000, 0xf3ff).ram().w(this, FUNC(_1942_state::c1942p_palette_w)).share("protopal");
- AM_RANGE(0xf400, 0xf400) AM_WRITE(c1942_bankswitch_w)
- AM_RANGE(0xf500, 0xf500) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
- AM_RANGE(0xf600, 0xf600) AM_WRITE(c1942p_f600_w)
+ map(0xf400, 0xf400).w(this, FUNC(_1942_state::c1942_bankswitch_w));
+ map(0xf500, 0xf500).w(m_soundlatch, FUNC(generic_latch_8_device::write));
+ map(0xf600, 0xf600).w(this, FUNC(_1942_state::c1942p_f600_w));
- AM_RANGE(0xf700, 0xf700) AM_READ_PORT("DSWA")
- AM_RANGE(0xf701, 0xf701) AM_READ_PORT("SYSTEM")
- AM_RANGE(0xf702, 0xf702) AM_READ_PORT("DSWB")
- AM_RANGE(0xf703, 0xf703) AM_READ_PORT("P1")
- AM_RANGE(0xf704, 0xf704) AM_READ_PORT("P2")
-ADDRESS_MAP_END
+ map(0xf700, 0xf700).portr("DSWA");
+ map(0xf701, 0xf701).portr("SYSTEM");
+ map(0xf702, 0xf702).portr("DSWB");
+ map(0xf703, 0xf703).portr("P1");
+ map(0xf704, 0xf704).portr("P2");
+}
-ADDRESS_MAP_START(_1942_state::c1942p_sound_map)
- AM_RANGE(0x0000, 0x3fff) AM_ROM
- AM_RANGE(0x4000, 0x47ff) AM_RAM
- AM_RANGE(0xc000, 0xc000) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
-ADDRESS_MAP_END
+void _1942_state::c1942p_sound_map(address_map &map)
+{
+ map(0x0000, 0x3fff).rom();
+ map(0x4000, 0x47ff).ram();
+ map(0xc000, 0xc000).r(m_soundlatch, FUNC(generic_latch_8_device::read));
+}
-ADDRESS_MAP_START(_1942_state::c1942p_sound_io)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x0000, 0x0000) AM_WRITENOP
- AM_RANGE(0x0014, 0x0015) AM_DEVWRITE("ay1", ay8910_device, address_data_w)
- AM_RANGE(0x0018, 0x0019) AM_DEVWRITE("ay2", ay8910_device, address_data_w)
-ADDRESS_MAP_END
+void _1942_state::c1942p_sound_io(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x0000, 0x0000).nopw();
+ map(0x0014, 0x0015).w("ay1", FUNC(ay8910_device::address_data_w));
+ map(0x0018, 0x0019).w("ay2", FUNC(ay8910_device::address_data_w));
+}
-ADDRESS_MAP_START(_1942_state::sound_map)
- AM_RANGE(0x0000, 0x3fff) AM_ROM
- AM_RANGE(0x4000, 0x47ff) AM_RAM
- AM_RANGE(0x6000, 0x6000) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
- AM_RANGE(0x8000, 0x8001) AM_DEVWRITE("ay1", ay8910_device, address_data_w)
- AM_RANGE(0xc000, 0xc001) AM_DEVWRITE("ay2", ay8910_device, address_data_w)
-ADDRESS_MAP_END
+void _1942_state::sound_map(address_map &map)
+{
+ map(0x0000, 0x3fff).rom();
+ map(0x4000, 0x47ff).ram();
+ map(0x6000, 0x6000).r(m_soundlatch, FUNC(generic_latch_8_device::read));
+ map(0x8000, 0x8001).w("ay1", FUNC(ay8910_device::address_data_w));
+ map(0xc000, 0xc001).w("ay2", FUNC(ay8910_device::address_data_w));
+}
static INPUT_PORTS_START( 1942 )
diff --git a/src/mame/drivers/1943.cpp b/src/mame/drivers/1943.cpp
index 9414b112bc1..8049ef0dcda 100644
--- a/src/mame/drivers/1943.cpp
+++ b/src/mame/drivers/1943.cpp
@@ -102,40 +102,42 @@ READ8_MEMBER(_1943_state::_1943b_c007_r)
/* Memory Maps */
-ADDRESS_MAP_START(_1943_state::c1943_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank1")
- AM_RANGE(0xc000, 0xc000) AM_READ_PORT("SYSTEM")
- AM_RANGE(0xc001, 0xc001) AM_READ_PORT("P1")
- AM_RANGE(0xc002, 0xc002) AM_READ_PORT("P2")
- AM_RANGE(0xc003, 0xc003) AM_READ_PORT("DSWA")
- AM_RANGE(0xc004, 0xc004) AM_READ_PORT("DSWB")
- AM_RANGE(0xc007, 0xc007) AM_READ(c1943_protection_r)
- AM_RANGE(0xc800, 0xc800) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
- AM_RANGE(0xc804, 0xc804) AM_WRITE(c1943_c804_w) // ROM bank switch, screen flip
- AM_RANGE(0xc806, 0xc806) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0xc807, 0xc807) AM_WRITE(c1943_protection_w)
- AM_RANGE(0xd000, 0xd3ff) AM_RAM_WRITE(c1943_videoram_w) AM_SHARE("videoram")
- AM_RANGE(0xd400, 0xd7ff) AM_RAM_WRITE(c1943_colorram_w) AM_SHARE("colorram")
- AM_RANGE(0xd800, 0xd801) AM_RAM AM_SHARE("scrollx")
- AM_RANGE(0xd802, 0xd802) AM_RAM AM_SHARE("scrolly")
- AM_RANGE(0xd803, 0xd804) AM_RAM AM_SHARE("bgscrollx")
- AM_RANGE(0xd806, 0xd806) AM_WRITE(c1943_d806_w) // sprites, bg1, bg2 enable
- AM_RANGE(0xd808, 0xd808) AM_WRITENOP // ???
- AM_RANGE(0xd868, 0xd868) AM_WRITENOP // ???
- AM_RANGE(0xd888, 0xd888) AM_WRITENOP // ???
- AM_RANGE(0xd8a8, 0xd8a8) AM_WRITENOP // ???
- AM_RANGE(0xe000, 0xefff) AM_RAM
- AM_RANGE(0xf000, 0xffff) AM_RAM AM_SHARE("spriteram")
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_1943_state::sound_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0xc000, 0xc7ff) AM_RAM
- AM_RANGE(0xc800, 0xc800) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
- AM_RANGE(0xe000, 0xe001) AM_DEVWRITE("ym1", ym2203_device, write)
- AM_RANGE(0xe002, 0xe003) AM_DEVWRITE("ym2", ym2203_device, write)
-ADDRESS_MAP_END
+void _1943_state::c1943_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0x8000, 0xbfff).bankr("bank1");
+ map(0xc000, 0xc000).portr("SYSTEM");
+ map(0xc001, 0xc001).portr("P1");
+ map(0xc002, 0xc002).portr("P2");
+ map(0xc003, 0xc003).portr("DSWA");
+ map(0xc004, 0xc004).portr("DSWB");
+ map(0xc007, 0xc007).r(this, FUNC(_1943_state::c1943_protection_r));
+ map(0xc800, 0xc800).w("soundlatch", FUNC(generic_latch_8_device::write));
+ map(0xc804, 0xc804).w(this, FUNC(_1943_state::c1943_c804_w)); // ROM bank switch, screen flip
+ map(0xc806, 0xc806).w("watchdog", FUNC(watchdog_timer_device::reset_w));
+ map(0xc807, 0xc807).w(this, FUNC(_1943_state::c1943_protection_w));
+ map(0xd000, 0xd3ff).ram().w(this, FUNC(_1943_state::c1943_videoram_w)).share("videoram");
+ map(0xd400, 0xd7ff).ram().w(this, FUNC(_1943_state::c1943_colorram_w)).share("colorram");
+ map(0xd800, 0xd801).ram().share("scrollx");
+ map(0xd802, 0xd802).ram().share("scrolly");
+ map(0xd803, 0xd804).ram().share("bgscrollx");
+ map(0xd806, 0xd806).w(this, FUNC(_1943_state::c1943_d806_w)); // sprites, bg1, bg2 enable
+ map(0xd808, 0xd808).nopw(); // ???
+ map(0xd868, 0xd868).nopw(); // ???
+ map(0xd888, 0xd888).nopw(); // ???
+ map(0xd8a8, 0xd8a8).nopw(); // ???
+ map(0xe000, 0xefff).ram();
+ map(0xf000, 0xffff).ram().share("spriteram");
+}
+
+void _1943_state::sound_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0xc000, 0xc7ff).ram();
+ map(0xc800, 0xc800).r("soundlatch", FUNC(generic_latch_8_device::read));
+ map(0xe000, 0xe001).w("ym1", FUNC(ym2203_device::write));
+ map(0xe002, 0xe003).w("ym2", FUNC(ym2203_device::write));
+}
/* Input Ports */
diff --git a/src/mame/drivers/1945kiii.cpp b/src/mame/drivers/1945kiii.cpp
index 549f54ef9da..76cc7b1d560 100644
--- a/src/mame/drivers/1945kiii.cpp
+++ b/src/mame/drivers/1945kiii.cpp
@@ -188,41 +188,44 @@ WRITE16_MEMBER(k3_state::flagrall_soundbanks_w)
}
-ADDRESS_MAP_START(k3_state::k3_base_map)
- AM_RANGE(0x0009ce, 0x0009cf) AM_WRITENOP // k3 - bug in code? (clean up log)
- AM_RANGE(0x0009d2, 0x0009d3) AM_WRITENOP // l3 - bug in code? (clean up log)
-
- AM_RANGE(0x000000, 0x0fffff) AM_ROM // ROM
- AM_RANGE(0x100000, 0x10ffff) AM_RAM // Main Ram
- AM_RANGE(0x200000, 0x200fff) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette")
- AM_RANGE(0x240000, 0x240fff) AM_RAM AM_SHARE("spritera1")
- AM_RANGE(0x280000, 0x280fff) AM_RAM AM_SHARE("spritera2")
- AM_RANGE(0x2c0000, 0x2c07ff) AM_RAM_WRITE(k3_bgram_w) AM_SHARE("bgram")
- AM_RANGE(0x2c0800, 0x2c0fff) AM_RAM // or does k3 have a bigger tilemap? (flagrall is definitely 32x32 tiles)
- AM_RANGE(0x340000, 0x340001) AM_WRITE(k3_scrollx_w)
- AM_RANGE(0x380000, 0x380001) AM_WRITE(k3_scrolly_w)
- AM_RANGE(0x400000, 0x400001) AM_READ_PORT("INPUTS")
- AM_RANGE(0x440000, 0x440001) AM_READ_PORT("SYSTEM")
- AM_RANGE(0x480000, 0x480001) AM_READ_PORT("DSW")
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(k3_state::k3_map)
- AM_IMPORT_FROM( k3_base_map )
-
- AM_RANGE(0x3c0000, 0x3c0001) AM_WRITE(k3_soundbanks_w)
-
- AM_RANGE(0x4c0000, 0x4c0001) AM_DEVREADWRITE8("oki1", okim6295_device, read, write, 0xff00)
- AM_RANGE(0x500000, 0x500001) AM_DEVREADWRITE8("oki2", okim6295_device, read, write, 0xff00)
- AM_RANGE(0x8c0000, 0x8cffff) AM_RAM // not used? (bug in code?)
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(k3_state::flagrall_map)
- AM_IMPORT_FROM( k3_base_map )
-
- AM_RANGE(0x3c0000, 0x3c0001) AM_WRITE(flagrall_soundbanks_w)
- AM_RANGE(0x4c0000, 0x4c0001) AM_DEVREADWRITE8("oki1", okim6295_device, read, write, 0x00ff)
-ADDRESS_MAP_END
+void k3_state::k3_base_map(address_map &map)
+{
+ map(0x0009ce, 0x0009cf).nopw(); // k3 - bug in code? (clean up log)
+ map(0x0009d2, 0x0009d3).nopw(); // l3 - bug in code? (clean up log)
+
+ map(0x000000, 0x0fffff).rom(); // ROM
+ map(0x100000, 0x10ffff).ram(); // Main Ram
+ map(0x200000, 0x200fff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
+ map(0x240000, 0x240fff).ram().share("spritera1");
+ map(0x280000, 0x280fff).ram().share("spritera2");
+ map(0x2c0000, 0x2c07ff).ram().w(this, FUNC(k3_state::k3_bgram_w)).share("bgram");
+ map(0x2c0800, 0x2c0fff).ram(); // or does k3 have a bigger tilemap? (flagrall is definitely 32x32 tiles)
+ map(0x340000, 0x340001).w(this, FUNC(k3_state::k3_scrollx_w));
+ map(0x380000, 0x380001).w(this, FUNC(k3_state::k3_scrolly_w));
+ map(0x400000, 0x400001).portr("INPUTS");
+ map(0x440000, 0x440001).portr("SYSTEM");
+ map(0x480000, 0x480001).portr("DSW");
+}
+
+void k3_state::k3_map(address_map &map)
+{
+ k3_base_map(map);
+
+ map(0x3c0000, 0x3c0001).w(this, FUNC(k3_state::k3_soundbanks_w));
+
+ map(0x4c0000, 0x4c0000).rw(m_oki1, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
+ map(0x500000, 0x500000).rw(m_oki2, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
+ map(0x8c0000, 0x8cffff).ram(); // not used? (bug in code?)
+}
+
+
+void k3_state::flagrall_map(address_map &map)
+{
+ k3_base_map(map);
+
+ map(0x3c0000, 0x3c0001).w(this, FUNC(k3_state::flagrall_soundbanks_w));
+ map(0x4c0001, 0x4c0001).rw(m_oki1, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
+}
static INPUT_PORTS_START( k3 )
diff --git a/src/mame/drivers/20pacgal.cpp b/src/mame/drivers/20pacgal.cpp
index 68d7bc914d8..94b47a12ad4 100644
--- a/src/mame/drivers/20pacgal.cpp
+++ b/src/mame/drivers/20pacgal.cpp
@@ -186,39 +186,41 @@ WRITE8_MEMBER(_20pacgal_state::sprite_lookup_w)
// where does the clut (sprite_lookup_w) get uploaded? even if I set a WP on that data in ROM it isn't hit?
// likewise the sound table.. is it being uploaded in a different format at 0x0c000?
// we also need the palette data because there is only a single rom on this pcb?
-ADDRESS_MAP_START(_25pacman_state::_25pacman_map)
- AM_RANGE(0x00000, 0x3ffff) AM_DEVREADWRITE("flash", amd_29lv200t_device, read, write ) // (always fall through if nothing else is mapped?)
+void _25pacman_state::_25pacman_map(address_map &map)
+{
+ map(0x00000, 0x3ffff).rw("flash", FUNC(amd_29lv200t_device::read), FUNC(amd_29lv200t_device::write)); // (always fall through if nothing else is mapped?)
- AM_RANGE(0x04000, 0x047ff) AM_RAM AM_SHARE("video_ram")
- AM_RANGE(0x04800, 0x05fff) AM_RAM
- AM_RANGE(0x06000, 0x06fff) AM_WRITEONLY AM_SHARE("char_gfx_ram")
- AM_RANGE(0x07000, 0x0717f) AM_WRITE(sprite_ram_w)
+ map(0x04000, 0x047ff).ram().share("video_ram");
+ map(0x04800, 0x05fff).ram();
+ map(0x06000, 0x06fff).writeonly().share("char_gfx_ram");
+ map(0x07000, 0x0717f).w(this, FUNC(_25pacman_state::sprite_ram_w));
// AM_RANGE(0x08000, 0x09fff) AM_READ_BANK("bank1") AM_WRITE(ram_48000_w)
- AM_RANGE(0x08000, 0x09fff) AM_WRITENOP
- AM_RANGE(0x0a000, 0x0bfff) AM_WRITE(sprite_gfx_w)
- AM_RANGE(0x0c000, 0x0dfff) AM_WRITENOP // is this the sound waveforms in a different format?
- AM_RANGE(0x0e000, 0x0ffff) AM_WRITENOP
- AM_RANGE(0x1c000, 0x1ffff) AM_WRITENOP
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_20pacgal_state::_20pacgal_map)
- AM_RANGE(0x00000, 0x03fff) AM_ROM
- AM_RANGE(0x04000, 0x07fff) AM_ROM
- AM_RANGE(0x08000, 0x09fff) AM_ROM
- AM_RANGE(0x0a000, 0x0ffff) AM_MIRROR(0x40000) AM_ROM
- AM_RANGE(0x10000, 0x3ffff) AM_ROM
- AM_RANGE(0x44000, 0x447ff) AM_RAM AM_SHARE("video_ram")
- AM_RANGE(0x44800, 0x45eff) AM_RAM
- AM_RANGE(0x45040, 0x4505f) AM_DEVWRITE("namco", namco_cus30_device, pacman_sound_w)
- AM_RANGE(0x45f00, 0x45fff) AM_DEVWRITE("namco", namco_cus30_device, namcos1_cus30_w)
- AM_RANGE(0x46000, 0x46fff) AM_WRITEONLY AM_SHARE("char_gfx_ram")
- AM_RANGE(0x47100, 0x47100) AM_RAM /* leftover from original Galaga code */
- AM_RANGE(0x48000, 0x49fff) AM_READ_BANK("bank1") AM_WRITE(ram_48000_w) /* this should be a mirror of 08000-09fff */
- AM_RANGE(0x4c000, 0x4dfff) AM_WRITE(sprite_gfx_w)
- AM_RANGE(0x4e000, 0x4e17f) AM_WRITE(sprite_ram_w)
- AM_RANGE(0x4e180, 0x4feff) AM_WRITENOP
- AM_RANGE(0x4ff00, 0x4ffff) AM_WRITE(sprite_lookup_w)
-ADDRESS_MAP_END
+ map(0x08000, 0x09fff).nopw();
+ map(0x0a000, 0x0bfff).w(this, FUNC(_25pacman_state::sprite_gfx_w));
+ map(0x0c000, 0x0dfff).nopw(); // is this the sound waveforms in a different format?
+ map(0x0e000, 0x0ffff).nopw();
+ map(0x1c000, 0x1ffff).nopw();
+}
+
+void _20pacgal_state::_20pacgal_map(address_map &map)
+{
+ map(0x00000, 0x03fff).rom();
+ map(0x04000, 0x07fff).rom();
+ map(0x08000, 0x09fff).rom();
+ map(0x0a000, 0x0ffff).mirror(0x40000).rom();
+ map(0x10000, 0x3ffff).rom();
+ map(0x44000, 0x447ff).ram().share("video_ram");
+ map(0x44800, 0x45eff).ram();
+ map(0x45040, 0x4505f).w("namco", FUNC(namco_cus30_device::pacman_sound_w));
+ map(0x45f00, 0x45fff).w("namco", FUNC(namco_cus30_device::namcos1_cus30_w));
+ map(0x46000, 0x46fff).writeonly().share("char_gfx_ram");
+ map(0x47100, 0x47100).ram(); /* leftover from original Galaga code */
+ map(0x48000, 0x49fff).bankr("bank1").w(this, FUNC(_20pacgal_state::ram_48000_w)); /* this should be a mirror of 08000-09fff */
+ map(0x4c000, 0x4dfff).w(this, FUNC(_20pacgal_state::sprite_gfx_w));
+ map(0x4e000, 0x4e17f).w(this, FUNC(_20pacgal_state::sprite_ram_w));
+ map(0x4e180, 0x4feff).nopw();
+ map(0x4ff00, 0x4ffff).w(this, FUNC(_20pacgal_state::sprite_lookup_w));
+}
/*************************************
@@ -232,47 +234,49 @@ READ8_MEMBER( _25pacman_state::_25pacman_io_87_r )
return 0xff;
}
-ADDRESS_MAP_START(_25pacman_state::_25pacman_io_map)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x3f) AM_NOP /* Z180 internal registers */
- AM_RANGE(0x40, 0x7f) AM_NOP /* Z180 internal registers */
- AM_RANGE(0x80, 0x80) AM_READ_PORT("P1")
- AM_RANGE(0x81, 0x81) AM_READ_PORT("P2")
- AM_RANGE(0x82, 0x82) AM_READ_PORT("SERVICE")
- AM_RANGE(0x80, 0x80) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x81, 0x81) AM_WRITE(timer_pulse_w) /* ??? pulsed by the timer irq */
- AM_RANGE(0x82, 0x82) AM_WRITE(irqack_w)
+void _25pacman_state::_25pacman_io_map(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x3f).noprw(); /* Z180 internal registers */
+ map(0x40, 0x7f).noprw(); /* Z180 internal registers */
+ map(0x80, 0x80).portr("P1");
+ map(0x81, 0x81).portr("P2");
+ map(0x82, 0x82).portr("SERVICE");
+ map(0x80, 0x80).w("watchdog", FUNC(watchdog_timer_device::reset_w));
+ map(0x81, 0x81).w(this, FUNC(_25pacman_state::timer_pulse_w)); /* ??? pulsed by the timer irq */
+ map(0x82, 0x82).w(this, FUNC(_25pacman_state::irqack_w));
// AM_RANGE(0x84, 0x84) AM_NOP /* ?? */
- AM_RANGE(0x85, 0x86) AM_WRITEONLY AM_SHARE("stars_seed") /* stars: rng seed (lo/hi) */
- AM_RANGE(0x87, 0x87) AM_READ( _25pacman_io_87_r ) // not eeprom on this
- AM_RANGE(0x87, 0x87) AM_WRITENOP
+ map(0x85, 0x86).writeonly().share("stars_seed"); /* stars: rng seed (lo/hi) */
+ map(0x87, 0x87).r(this, FUNC(_25pacman_state::_25pacman_io_87_r)); // not eeprom on this
+ map(0x87, 0x87).nopw();
// AM_RANGE(0x88, 0x88) AM_WRITE(ram_bank_select_w)
- AM_RANGE(0x89, 0x89) AM_DEVWRITE("dac", dac_byte_interface, write)
- AM_RANGE(0x8a, 0x8a) AM_WRITEONLY AM_SHARE("stars_ctrl") /* stars: bits 3-4 = active set; bit 5 = enable */
- AM_RANGE(0x8b, 0x8b) AM_WRITEONLY AM_SHARE("flip")
- AM_RANGE(0x8c, 0x8c) AM_WRITENOP
- AM_RANGE(0x8f, 0x8f) AM_WRITE(_20pacgal_coin_counter_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_20pacgal_state::_20pacgal_io_map)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x3f) AM_NOP /* Z180 internal registers */
- AM_RANGE(0x40, 0x7f) AM_NOP /* Z180 internal registers */
- AM_RANGE(0x80, 0x80) AM_READ_PORT("P1")
- AM_RANGE(0x81, 0x81) AM_READ_PORT("P2")
- AM_RANGE(0x82, 0x82) AM_READ_PORT("SERVICE")
- AM_RANGE(0x80, 0x80) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x81, 0x81) AM_WRITE(timer_pulse_w) /* ??? pulsed by the timer irq */
- AM_RANGE(0x82, 0x82) AM_WRITE(irqack_w)
- AM_RANGE(0x84, 0x84) AM_NOP /* ?? */
- AM_RANGE(0x85, 0x86) AM_WRITEONLY AM_SHARE("stars_seed") /* stars: rng seed (lo/hi) */
- AM_RANGE(0x87, 0x87) AM_READ_PORT("EEPROMIN") AM_WRITE_PORT("EEPROMOUT")
- AM_RANGE(0x88, 0x88) AM_WRITE(ram_bank_select_w)
- AM_RANGE(0x89, 0x89) AM_DEVWRITE("dac", dac_byte_interface, write)
- AM_RANGE(0x8a, 0x8a) AM_WRITEONLY AM_SHARE("stars_ctrl") /* stars: bits 3-4 = active set; bit 5 = enable */
- AM_RANGE(0x8b, 0x8b) AM_WRITEONLY AM_SHARE("flip")
- AM_RANGE(0x8f, 0x8f) AM_WRITE(_20pacgal_coin_counter_w)
-ADDRESS_MAP_END
+ map(0x89, 0x89).w("dac", FUNC(dac_byte_interface::write));
+ map(0x8a, 0x8a).writeonly().share("stars_ctrl"); /* stars: bits 3-4 = active set; bit 5 = enable */
+ map(0x8b, 0x8b).writeonly().share("flip");
+ map(0x8c, 0x8c).nopw();
+ map(0x8f, 0x8f).w(this, FUNC(_25pacman_state::_20pacgal_coin_counter_w));
+}
+
+void _20pacgal_state::_20pacgal_io_map(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x3f).noprw(); /* Z180 internal registers */
+ map(0x40, 0x7f).noprw(); /* Z180 internal registers */
+ map(0x80, 0x80).portr("P1");
+ map(0x81, 0x81).portr("P2");
+ map(0x82, 0x82).portr("SERVICE");
+ map(0x80, 0x80).w("watchdog", FUNC(watchdog_timer_device::reset_w));
+ map(0x81, 0x81).w(this, FUNC(_20pacgal_state::timer_pulse_w)); /* ??? pulsed by the timer irq */
+ map(0x82, 0x82).w(this, FUNC(_20pacgal_state::irqack_w));
+ map(0x84, 0x84).noprw(); /* ?? */
+ map(0x85, 0x86).writeonly().share("stars_seed"); /* stars: rng seed (lo/hi) */
+ map(0x87, 0x87).portr("EEPROMIN").portw("EEPROMOUT");
+ map(0x88, 0x88).w(this, FUNC(_20pacgal_state::ram_bank_select_w));
+ map(0x89, 0x89).w("dac", FUNC(dac_byte_interface::write));
+ map(0x8a, 0x8a).writeonly().share("stars_ctrl"); /* stars: bits 3-4 = active set; bit 5 = enable */
+ map(0x8b, 0x8b).writeonly().share("flip");
+ map(0x8f, 0x8f).w(this, FUNC(_20pacgal_state::_20pacgal_coin_counter_w));
+}
diff --git a/src/mame/drivers/24cdjuke.cpp b/src/mame/drivers/24cdjuke.cpp
index a87690c45cb..6ef5531e067 100644
--- a/src/mame/drivers/24cdjuke.cpp
+++ b/src/mame/drivers/24cdjuke.cpp
@@ -125,20 +125,22 @@ WRITE8_MEMBER(midcoin24cdjuke_state::digit_w)
}
-ADDRESS_MAP_START(midcoin24cdjuke_state::midcoin24cdjuke_map)
- AM_RANGE(0x0000, 0x3fff) AM_ROM
- AM_RANGE(0x7800, 0x780f) AM_WRITE(digit_w)
- AM_RANGE(0x8000, 0xffff) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(midcoin24cdjuke_state::midcoin24cdjuke_io)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x03) AM_DEVREADWRITE("ic31", i8255_device, read, write)
- AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ic11", i8255_device, read, write)
- AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ic25", i8255_device, read, write)
- AM_RANGE(0x0c, 0x0c) AM_WRITENOP
- AM_RANGE(0x10, 0x1f) AM_READ(unknown_r)
-ADDRESS_MAP_END
+void midcoin24cdjuke_state::midcoin24cdjuke_map(address_map &map)
+{
+ map(0x0000, 0x3fff).rom();
+ map(0x7800, 0x780f).w(this, FUNC(midcoin24cdjuke_state::digit_w));
+ map(0x8000, 0xffff).ram();
+}
+
+void midcoin24cdjuke_state::midcoin24cdjuke_io(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x03).rw("ic31", FUNC(i8255_device::read), FUNC(i8255_device::write));
+ map(0x04, 0x07).rw("ic11", FUNC(i8255_device::read), FUNC(i8255_device::write));
+ map(0x08, 0x0b).rw("ic25", FUNC(i8255_device::read), FUNC(i8255_device::write));
+ map(0x0c, 0x0c).nopw();
+ map(0x10, 0x1f).r(this, FUNC(midcoin24cdjuke_state::unknown_r));
+}
static INPUT_PORTS_START( midcoin24cdjuke )
PORT_START("ROW0")
diff --git a/src/mame/drivers/2mindril.cpp b/src/mame/drivers/2mindril.cpp
index 2c53c24d638..75909adb738 100644
--- a/src/mame/drivers/2mindril.cpp
+++ b/src/mame/drivers/2mindril.cpp
@@ -194,26 +194,27 @@ WRITE16_MEMBER(_2mindril_state::drill_irq_w)
COMBINE_DATA(&m_irq_reg);
}
-ADDRESS_MAP_START(_2mindril_state::drill_map)
- AM_RANGE(0x000000, 0x07ffff) AM_ROM
- AM_RANGE(0x200000, 0x20ffff) AM_RAM
- AM_RANGE(0x300000, 0x3000ff) AM_RAM
- AM_RANGE(0x400000, 0x40ffff) AM_READWRITE(f3_spriteram_r,f3_spriteram_w)
- AM_RANGE(0x410000, 0x41bfff) AM_READWRITE(f3_pf_data_r,f3_pf_data_w)
- AM_RANGE(0x41c000, 0x41dfff) AM_READWRITE(f3_videoram_r,f3_videoram_w)
- AM_RANGE(0x41e000, 0x41ffff) AM_READWRITE(f3_vram_r,f3_vram_w)
- AM_RANGE(0x420000, 0x42ffff) AM_READWRITE(f3_lineram_r,f3_lineram_w)
- AM_RANGE(0x430000, 0x43ffff) AM_READWRITE(f3_pivot_r,f3_pivot_w)
- AM_RANGE(0x460000, 0x46000f) AM_WRITE(f3_control_0_w)
- AM_RANGE(0x460010, 0x46001f) AM_WRITE(f3_control_1_w)
- AM_RANGE(0x500000, 0x501fff) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette")
- AM_RANGE(0x502022, 0x502023) AM_WRITENOP //countinously switches between 0 and 2
- AM_RANGE(0x600000, 0x600007) AM_DEVREADWRITE8("ymsnd", ym2610_device, read, write, 0x00ff)
- AM_RANGE(0x60000c, 0x60000d) AM_READWRITE(drill_irq_r,drill_irq_w)
- AM_RANGE(0x60000e, 0x60000f) AM_RAM // unknown purpose, zeroed at start-up and nothing else
- AM_RANGE(0x700000, 0x70000f) AM_DEVREADWRITE8("tc0510nio", tc0510nio_device, read, write, 0xff00)
- AM_RANGE(0x800000, 0x800001) AM_WRITE(sensors_w)
-ADDRESS_MAP_END
+void _2mindril_state::drill_map(address_map &map)
+{
+ map(0x000000, 0x07ffff).rom();
+ map(0x200000, 0x20ffff).ram();
+ map(0x300000, 0x3000ff).ram();
+ map(0x400000, 0x40ffff).rw(this, FUNC(_2mindril_state::f3_spriteram_r), FUNC(_2mindril_state::f3_spriteram_w));
+ map(0x410000, 0x41bfff).rw(this, FUNC(_2mindril_state::f3_pf_data_r), FUNC(_2mindril_state::f3_pf_data_w));
+ map(0x41c000, 0x41dfff).rw(this, FUNC(_2mindril_state::f3_videoram_r), FUNC(_2mindril_state::f3_videoram_w));
+ map(0x41e000, 0x41ffff).rw(this, FUNC(_2mindril_state::f3_vram_r), FUNC(_2mindril_state::f3_vram_w));
+ map(0x420000, 0x42ffff).rw(this, FUNC(_2mindril_state::f3_lineram_r), FUNC(_2mindril_state::f3_lineram_w));
+ map(0x430000, 0x43ffff).rw(this, FUNC(_2mindril_state::f3_pivot_r), FUNC(_2mindril_state::f3_pivot_w));
+ map(0x460000, 0x46000f).w(this, FUNC(_2mindril_state::f3_control_0_w));
+ map(0x460010, 0x46001f).w(this, FUNC(_2mindril_state::f3_control_1_w));
+ map(0x500000, 0x501fff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
+ map(0x502022, 0x502023).nopw(); //countinously switches between 0 and 2
+ map(0x600000, 0x600007).rw("ymsnd", FUNC(ym2610_device::read), FUNC(ym2610_device::write)).umask16(0x00ff);
+ map(0x60000c, 0x60000d).rw(this, FUNC(_2mindril_state::drill_irq_r), FUNC(_2mindril_state::drill_irq_w));
+ map(0x60000e, 0x60000f).ram(); // unknown purpose, zeroed at start-up and nothing else
+ map(0x700000, 0x70000f).rw("tc0510nio", FUNC(tc0510nio_device::read), FUNC(tc0510nio_device::write)).umask16(0xff00);
+ map(0x800000, 0x800001).w(this, FUNC(_2mindril_state::sensors_w));
+}
static INPUT_PORTS_START( drill )
PORT_START("DSW")//Dip-Switches
diff --git a/src/mame/drivers/30test.cpp b/src/mame/drivers/30test.cpp
index 2c25f09ee04..b4471a80965 100644
--- a/src/mame/drivers/30test.cpp
+++ b/src/mame/drivers/30test.cpp
@@ -139,31 +139,33 @@ WRITE8_MEMBER(namco_30test_state::hc11_okibank_w)
}
-ADDRESS_MAP_START(namco_30test_state::namco_30test_map)
- AM_RANGE(0x0000, 0x003f) AM_RAM // internal I/O
- AM_RANGE(0x0040, 0x007f) AM_RAM // more internal I/O, HC11 change pending
- AM_RANGE(0x007c, 0x007c) AM_READWRITE(hc11_mux_r,hc11_mux_w)
- AM_RANGE(0x007e, 0x007e) AM_READWRITE(hc11_okibank_r,hc11_okibank_w)
- AM_RANGE(0x0080, 0x037f) AM_RAM // internal RAM
- AM_RANGE(0x0d80, 0x0dbf) AM_RAM // EEPROM read-back data goes there
- AM_RANGE(0x2000, 0x2000) AM_DEVREADWRITE("oki", okim6295_device, read, write)
+void namco_30test_state::namco_30test_map(address_map &map)
+{
+ map(0x0000, 0x003f).ram(); // internal I/O
+ map(0x0040, 0x007f).ram(); // more internal I/O, HC11 change pending
+ map(0x007c, 0x007c).rw(this, FUNC(namco_30test_state::hc11_mux_r), FUNC(namco_30test_state::hc11_mux_w));
+ map(0x007e, 0x007e).rw(this, FUNC(namco_30test_state::hc11_okibank_r), FUNC(namco_30test_state::hc11_okibank_w));
+ map(0x0080, 0x037f).ram(); // internal RAM
+ map(0x0d80, 0x0dbf).ram(); // EEPROM read-back data goes there
+ map(0x2000, 0x2000).rw(m_oki, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
/* 0x401e-0x401f: time */
- AM_RANGE(0x4000, 0x401f) AM_WRITE(namco_30test_led_w) // 7-seg leds
+ map(0x4000, 0x401f).w(this, FUNC(namco_30test_state::namco_30test_led_w)); // 7-seg leds
/* 0x6000: 1st place 7-seg led */
/* 0x6001: 2nd place 7-seg led */
/* 0x6002: 3rd place 7-seg led */
/* 0x6003: current / last play score */
/* 0x6004: lamps */
- AM_RANGE(0x6000, 0x6003) AM_WRITE(namco_30test_led_rank_w)
- AM_RANGE(0x6004, 0x6004) AM_WRITE(namco_30test_lamps_w)
- AM_RANGE(0x8000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+ map(0x6000, 0x6003).w(this, FUNC(namco_30test_state::namco_30test_led_rank_w));
+ map(0x6004, 0x6004).w(this, FUNC(namco_30test_state::namco_30test_lamps_w));
+ map(0x8000, 0xffff).rom();
+}
-ADDRESS_MAP_START(namco_30test_state::namco_30test_io)
- AM_RANGE(MC68HC11_IO_PORTA,MC68HC11_IO_PORTA) AM_READ(namco_30test_mux_r)
+void namco_30test_state::namco_30test_io(address_map &map)
+{
+ map(MC68HC11_IO_PORTA, MC68HC11_IO_PORTA).r(this, FUNC(namco_30test_state::namco_30test_mux_r));
// AM_RANGE(MC68HC11_IO_PORTD,MC68HC11_IO_PORTD) AM_RAM
- AM_RANGE(MC68HC11_IO_PORTE,MC68HC11_IO_PORTE) AM_READ_PORT("SYSTEM")
-ADDRESS_MAP_END
+ map(MC68HC11_IO_PORTE, MC68HC11_IO_PORTE).portr("SYSTEM");
+}
static INPUT_PORTS_START( 30test )
diff --git a/src/mame/drivers/39in1.cpp b/src/mame/drivers/39in1.cpp
index e6b04233d36..cefb7c079cc 100644
--- a/src/mame/drivers/39in1.cpp
+++ b/src/mame/drivers/39in1.cpp
@@ -1454,18 +1454,19 @@ DRIVER_INIT_MEMBER(_39in1_state,39in1)
-ADDRESS_MAP_START(_39in1_state::_39in1_map)
- AM_RANGE(0x00000000, 0x0007ffff) AM_ROM
- AM_RANGE(0x00400000, 0x005fffff) AM_ROM AM_REGION("data", 0)
- AM_RANGE(0x04000000, 0x047fffff) AM_READWRITE(cpld_r, cpld_w )
- AM_RANGE(0x40000000, 0x400002ff) AM_READWRITE(pxa255_dma_r, pxa255_dma_w )
- AM_RANGE(0x40400000, 0x40400083) AM_READWRITE(pxa255_i2s_r, pxa255_i2s_w )
- AM_RANGE(0x40a00000, 0x40a0001f) AM_READWRITE(pxa255_ostimer_r, pxa255_ostimer_w )
- AM_RANGE(0x40d00000, 0x40d00017) AM_READWRITE(pxa255_intc_r, pxa255_intc_w )
- AM_RANGE(0x40e00000, 0x40e0006b) AM_READWRITE(pxa255_gpio_r, pxa255_gpio_w )
- AM_RANGE(0x44000000, 0x4400021f) AM_READWRITE(pxa255_lcd_r, pxa255_lcd_w )
- AM_RANGE(0xa0000000, 0xa07fffff) AM_RAM AM_SHARE("ram")
-ADDRESS_MAP_END
+void _39in1_state::_39in1_map(address_map &map)
+{
+ map(0x00000000, 0x0007ffff).rom();
+ map(0x00400000, 0x005fffff).rom().region("data", 0);
+ map(0x04000000, 0x047fffff).rw(this, FUNC(_39in1_state::cpld_r), FUNC(_39in1_state::cpld_w));
+ map(0x40000000, 0x400002ff).rw(this, FUNC(_39in1_state::pxa255_dma_r), FUNC(_39in1_state::pxa255_dma_w));
+ map(0x40400000, 0x40400083).rw(this, FUNC(_39in1_state::pxa255_i2s_r), FUNC(_39in1_state::pxa255_i2s_w));
+ map(0x40a00000, 0x40a0001f).rw(this, FUNC(_39in1_state::pxa255_ostimer_r), FUNC(_39in1_state::pxa255_ostimer_w));
+ map(0x40d00000, 0x40d00017).rw(this, FUNC(_39in1_state::pxa255_intc_r), FUNC(_39in1_state::pxa255_intc_w));
+ map(0x40e00000, 0x40e0006b).rw(this, FUNC(_39in1_state::pxa255_gpio_r), FUNC(_39in1_state::pxa255_gpio_w));
+ map(0x44000000, 0x4400021f).rw(this, FUNC(_39in1_state::pxa255_lcd_r), FUNC(_39in1_state::pxa255_lcd_w));
+ map(0xa0000000, 0xa07fffff).ram().share("ram");
+}
static INPUT_PORTS_START( 39in1 )
PORT_START("MCUIPT")
diff --git a/src/mame/drivers/3do.cpp b/src/mame/drivers/3do.cpp
index ef2a57051a3..15b6b768e85 100644
--- a/src/mame/drivers/3do.cpp
+++ b/src/mame/drivers/3do.cpp
@@ -107,17 +107,18 @@ Part list of Goldstar 3DO Interactive Multiplayer
#define X601_CLOCK XTAL(16'934'400)
-ADDRESS_MAP_START(_3do_state::_3do_mem)
- AM_RANGE(0x00000000, 0x001FFFFF) AM_RAMBANK("bank1") AM_SHARE("dram") /* DRAM */
- AM_RANGE(0x00200000, 0x003FFFFF) AM_RAM AM_SHARE("vram") /* VRAM */
- AM_RANGE(0x03000000, 0x030FFFFF) AM_ROMBANK("bank2") /* BIOS */
- AM_RANGE(0x03100000, 0x0313FFFF) AM_RAM /* Brooktree? */
- AM_RANGE(0x03140000, 0x0315FFFF) AM_READWRITE8(_3do_nvarea_r, _3do_nvarea_w, 0x000000ff) /* NVRAM */
- AM_RANGE(0x03180000, 0x031BFFFF) AM_READWRITE(_3do_slow2_r, _3do_slow2_w) /* Slow bus - additional expansion */
- AM_RANGE(0x03200000, 0x0320FFFF) AM_READWRITE(_3do_svf_r, _3do_svf_w) /* special vram access1 */
- AM_RANGE(0x03300000, 0x033FFFFF) AM_READWRITE(_3do_madam_r, _3do_madam_w) /* address decoder */
- AM_RANGE(0x03400000, 0x034FFFFF) AM_READWRITE(_3do_clio_r, _3do_clio_w) /* io controller */
-ADDRESS_MAP_END
+void _3do_state::_3do_mem(address_map &map)
+{
+ map(0x00000000, 0x001FFFFF).bankrw("bank1").share("dram"); /* DRAM */
+ map(0x00200000, 0x003FFFFF).ram().share("vram"); /* VRAM */
+ map(0x03000000, 0x030FFFFF).bankr("bank2"); /* BIOS */
+ map(0x03100000, 0x0313FFFF).ram(); /* Brooktree? */
+ map(0x03140000, 0x0315FFFF).rw(this, FUNC(_3do_state::_3do_nvarea_r), FUNC(_3do_state::_3do_nvarea_w)).umask32(0x000000ff); /* NVRAM */
+ map(0x03180000, 0x031BFFFF).rw(this, FUNC(_3do_state::_3do_slow2_r), FUNC(_3do_state::_3do_slow2_w)); /* Slow bus - additional expansion */
+ map(0x03200000, 0x0320FFFF).rw(this, FUNC(_3do_state::_3do_svf_r), FUNC(_3do_state::_3do_svf_w)); /* special vram access1 */
+ map(0x03300000, 0x033FFFFF).rw(this, FUNC(_3do_state::_3do_madam_r), FUNC(_3do_state::_3do_madam_w)); /* address decoder */
+ map(0x03400000, 0x034FFFFF).rw(this, FUNC(_3do_state::_3do_clio_r), FUNC(_3do_state::_3do_clio_w)); /* io controller */
+}
static INPUT_PORTS_START( 3do )
diff --git a/src/mame/drivers/3x3puzzl.cpp b/src/mame/drivers/3x3puzzl.cpp
index 86dd7742ef0..fb05e097365 100644
--- a/src/mame/drivers/3x3puzzl.cpp
+++ b/src/mame/drivers/3x3puzzl.cpp
@@ -209,23 +209,24 @@ uint32_t _3x3puzzle_state::screen_update( screen_device &screen, bitmap_rgb32 &b
return 0;
}
-ADDRESS_MAP_START(_3x3puzzle_state::_3x3puzzle_map)
- AM_RANGE(0x000000, 0x07ffff) AM_ROM
- AM_RANGE(0x100000, 0x10ffff) AM_RAM
- AM_RANGE(0x200000, 0x2007ff) AM_RAM AM_SHARE("videoram1")
- AM_RANGE(0x201000, 0x201fff) AM_RAM AM_SHARE("videoram2")
- AM_RANGE(0x202000, 0x202fff) AM_RAM AM_SHARE("videoram3")
- AM_RANGE(0x280000, 0x280001) AM_READ_PORT("VBLANK")
- AM_RANGE(0x300000, 0x3005ff) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette")
- AM_RANGE(0x400000, 0x400001) AM_WRITE(tilemap1_scrollx_w)
- AM_RANGE(0x480000, 0x480001) AM_WRITE(tilemap1_scrolly_w)
- AM_RANGE(0x500000, 0x500001) AM_READ_PORT("P1")
- AM_RANGE(0x580000, 0x580001) AM_READ_PORT("SYS")
- AM_RANGE(0x600000, 0x600001) AM_READ_PORT("DSW01")
- AM_RANGE(0x700000, 0x700001) AM_DEVREADWRITE8("oki", okim6295_device, read, write, 0x00ff)
- AM_RANGE(0x800000, 0x800001) AM_WRITE(gfx_ctrl_w)
- AM_RANGE(0x880000, 0x880001) AM_READNOP // read, but no tested afterwards
-ADDRESS_MAP_END
+void _3x3puzzle_state::_3x3puzzle_map(address_map &map)
+{
+ map(0x000000, 0x07ffff).rom();
+ map(0x100000, 0x10ffff).ram();
+ map(0x200000, 0x2007ff).ram().share("videoram1");
+ map(0x201000, 0x201fff).ram().share("videoram2");
+ map(0x202000, 0x202fff).ram().share("videoram3");
+ map(0x280000, 0x280001).portr("VBLANK");
+ map(0x300000, 0x3005ff).ram().w("palette", FUNC(palette_device::write16)).share("palette");
+ map(0x400000, 0x400001).w(this, FUNC(_3x3puzzle_state::tilemap1_scrollx_w));
+ map(0x480000, 0x480001).w(this, FUNC(_3x3puzzle_state::tilemap1_scrolly_w));
+ map(0x500000, 0x500001).portr("P1");
+ map(0x580000, 0x580001).portr("SYS");
+ map(0x600000, 0x600001).portr("DSW01");
+ map(0x700001, 0x700001).rw(m_oki, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
+ map(0x800000, 0x800001).w(this, FUNC(_3x3puzzle_state::gfx_ctrl_w));
+ map(0x880000, 0x880001).nopr(); // read, but no tested afterwards
+}
static INPUT_PORTS_START( _3x3puzzle )
PORT_START("P1")
diff --git a/src/mame/drivers/4004clk.cpp b/src/mame/drivers/4004clk.cpp
index d187741c3d2..b1385e2474f 100644
--- a/src/mame/drivers/4004clk.cpp
+++ b/src/mame/drivers/4004clk.cpp
@@ -82,30 +82,35 @@ WRITE8_MEMBER(nixieclock_state::neon_w)
m_neon_out[3] = BIT(data,0);
}
-ADDRESS_MAP_START(nixieclock_state::_4004clk_rom)
- AM_RANGE(0x0000, 0x0fff) AM_ROM AM_REGION("maincpu", 0)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(nixieclock_state::_4004clk_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x007f) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(nixieclock_state::_4004clk_stat)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x001f) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(nixieclock_state::_4004clk_rp)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x000f) AM_MIRROR(0x0700) AM_READ_PORT("INPUT")
- AM_RANGE(0x0000, 0x00ef) AM_MIRROR(0x0700) AM_WRITE(nixie_w)
- AM_RANGE(0x00f0, 0x00ff) AM_MIRROR(0x0700) AM_WRITE(neon_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(nixieclock_state::_4004clk_mp)
- AM_RANGE(0x00, 0x00) AM_DEVWRITE("dac", dac_bit_interface, write)
-ADDRESS_MAP_END
+void nixieclock_state::_4004clk_rom(address_map &map)
+{
+ map(0x0000, 0x0fff).rom().region("maincpu", 0);
+}
+
+void nixieclock_state::_4004clk_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x007f).ram();
+}
+
+void nixieclock_state::_4004clk_stat(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x001f).ram();
+}
+
+void nixieclock_state::_4004clk_rp(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x000f).mirror(0x0700).portr("INPUT");
+ map(0x0000, 0x00ef).mirror(0x0700).w(this, FUNC(nixieclock_state::nixie_w));
+ map(0x00f0, 0x00ff).mirror(0x0700).w(this, FUNC(nixieclock_state::neon_w));
+}
+
+void nixieclock_state::_4004clk_mp(address_map &map)
+{
+ map(0x00, 0x00).w("dac", FUNC(dac_bit_interface::write));
+}
/* Input ports */
static INPUT_PORTS_START( 4004clk )
diff --git a/src/mame/drivers/40love.cpp b/src/mame/drivers/40love.cpp
index de75f20cb3d..7c27c9207c7 100644
--- a/src/mame/drivers/40love.cpp
+++ b/src/mame/drivers/40love.cpp
@@ -349,58 +349,60 @@ READ8_MEMBER(fortyl_state::snd_flag_r)
/***************************************************************************/
-ADDRESS_MAP_START(fortyl_state::_40love_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0x8000, 0x87ff) AM_RAM /* M5517P on main board */
- AM_RANGE(0x8800, 0x8800) AM_DEVREADWRITE("bmcu", taito68705_mcu_device, data_r, data_w)
- AM_RANGE(0x8801, 0x8801) AM_READWRITE(fortyl_mcu_status_r, pix1_mcu_w) //pixel layer related
- AM_RANGE(0x8802, 0x8802) AM_WRITE(bank_select_w)
- AM_RANGE(0x8803, 0x8803) AM_READWRITE(pix2_r, pix2_w) //pixel layer related
- AM_RANGE(0x8804, 0x8804) AM_DEVREAD("soundlatch2", generic_latch_8_device, read)
- AM_RANGE(0x8804, 0x8804) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
- AM_RANGE(0x8805, 0x8805) AM_READ(snd_flag_r) AM_WRITENOP /*sound_reset*/ //????
- AM_RANGE(0x8807, 0x8807) AM_READNOP /* unknown */
- AM_RANGE(0x8808, 0x8808) AM_READ_PORT("DSW3")
- AM_RANGE(0x8809, 0x8809) AM_READ_PORT("P1")
- AM_RANGE(0x880a, 0x880a) AM_READ_PORT("SYSTEM")
- AM_RANGE(0x880b, 0x880b) AM_READ_PORT("P2")
- AM_RANGE(0x880c, 0x880c) AM_READ_PORT("DSW1") AM_WRITE(fortyl_pixram_sel_w) /* pixram bank select */
- AM_RANGE(0x880d, 0x880d) AM_READ_PORT("DSW2") AM_WRITENOP /* unknown */
- AM_RANGE(0x9000, 0x97ff) AM_READWRITE(fortyl_bg_videoram_r, fortyl_bg_videoram_w) AM_SHARE("videoram") /* #1 M5517P on video board */
- AM_RANGE(0x9800, 0x983f) AM_RAM AM_SHARE("video_ctrl") /* video control area */
- AM_RANGE(0x9840, 0x987f) AM_RAM AM_SHARE("spriteram") /* sprites part 1 */
- AM_RANGE(0x9880, 0x98bf) AM_READWRITE(fortyl_bg_colorram_r, fortyl_bg_colorram_w) AM_SHARE("colorram") /* background attributes (2 bytes per line) */
- AM_RANGE(0x98c0, 0x98ff) AM_RAM AM_SHARE("spriteram2")/* sprites part 2 */
- AM_RANGE(0xa000, 0xbfff) AM_ROMBANK("bank1")
+void fortyl_state::_40love_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0x8000, 0x87ff).ram(); /* M5517P on main board */
+ map(0x8800, 0x8800).rw(m_bmcu, FUNC(taito68705_mcu_device::data_r), FUNC(taito68705_mcu_device::data_w));
+ map(0x8801, 0x8801).rw(this, FUNC(fortyl_state::fortyl_mcu_status_r), FUNC(fortyl_state::pix1_mcu_w)); //pixel layer related
+ map(0x8802, 0x8802).w(this, FUNC(fortyl_state::bank_select_w));
+ map(0x8803, 0x8803).rw(this, FUNC(fortyl_state::pix2_r), FUNC(fortyl_state::pix2_w)); //pixel layer related
+ map(0x8804, 0x8804).r(m_soundlatch2, FUNC(generic_latch_8_device::read));
+ map(0x8804, 0x8804).w("soundlatch", FUNC(generic_latch_8_device::write));
+ map(0x8805, 0x8805).r(this, FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //????
+ map(0x8807, 0x8807).nopr(); /* unknown */
+ map(0x8808, 0x8808).portr("DSW3");
+ map(0x8809, 0x8809).portr("P1");
+ map(0x880a, 0x880a).portr("SYSTEM");
+ map(0x880b, 0x880b).portr("P2");
+ map(0x880c, 0x880c).portr("DSW1").w(this, FUNC(fortyl_state::fortyl_pixram_sel_w)); /* pixram bank select */
+ map(0x880d, 0x880d).portr("DSW2").nopw(); /* unknown */
+ map(0x9000, 0x97ff).rw(this, FUNC(fortyl_state::fortyl_bg_videoram_r), FUNC(fortyl_state::fortyl_bg_videoram_w)).share("videoram"); /* #1 M5517P on video board */
+ map(0x9800, 0x983f).ram().share("video_ctrl"); /* video control area */
+ map(0x9840, 0x987f).ram().share("spriteram"); /* sprites part 1 */
+ map(0x9880, 0x98bf).rw(this, FUNC(fortyl_state::fortyl_bg_colorram_r), FUNC(fortyl_state::fortyl_bg_colorram_w)).share("colorram"); /* background attributes (2 bytes per line) */
+ map(0x98c0, 0x98ff).ram().share("spriteram2");/* sprites part 2 */
+ map(0xa000, 0xbfff).bankr("bank1");
//AM_RANGE(0xbf00, 0xbfff) writes here when zooms-in/out, left-over or pixel line clearance?
- AM_RANGE(0xc000, 0xffff) AM_READWRITE(fortyl_pixram_r, fortyl_pixram_w) /* banked pixel layer */
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(fortyl_state::undoukai_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0x8000, 0x9fff) AM_ROMBANK("bank1")
- AM_RANGE(0xa000, 0xa7ff) AM_RAM AM_SHARE("mcu_ram") /* M5517P on main board */
- AM_RANGE(0xa800, 0xa800) AM_DEVREADWRITE("bmcu", taito68705_mcu_device, data_r, data_w)
- AM_RANGE(0xa801, 0xa801) AM_READWRITE(fortyl_mcu_status_r, pix1_w) //pixel layer related
- AM_RANGE(0xa802, 0xa802) AM_WRITE(bank_select_w)
- AM_RANGE(0xa803, 0xa803) AM_READWRITE(pix2_r, pix2_w) //pixel layer related
- AM_RANGE(0xa804, 0xa804) AM_DEVREAD("soundlatch2", generic_latch_8_device, read)
- AM_RANGE(0xa804, 0xa804) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
- AM_RANGE(0xa805, 0xa805) AM_READ(snd_flag_r) AM_WRITENOP /*sound_reset*/ //????
- AM_RANGE(0xa807, 0xa807) AM_READNOP AM_WRITENOP /* unknown */
- AM_RANGE(0xa808, 0xa808) AM_READ_PORT("DSW3")
- AM_RANGE(0xa809, 0xa809) AM_READ_PORT("P1")
- AM_RANGE(0xa80a, 0xa80a) AM_READ_PORT("SYSTEM")
- AM_RANGE(0xa80b, 0xa80b) AM_READ_PORT("P2")
- AM_RANGE(0xa80c, 0xa80c) AM_READ_PORT("DSW1") AM_WRITE(fortyl_pixram_sel_w) /* pixram bank select */
- AM_RANGE(0xa80d, 0xa80d) AM_READ_PORT("DSW2") AM_WRITENOP /* unknown */
- AM_RANGE(0xb000, 0xb7ff) AM_READWRITE(fortyl_bg_videoram_r, fortyl_bg_videoram_w) AM_SHARE("videoram") /* #1 M5517P on video board */
- AM_RANGE(0xb800, 0xb83f) AM_RAM AM_SHARE("video_ctrl") /* video control area */
- AM_RANGE(0xb840, 0xb87f) AM_RAM AM_SHARE("spriteram") /* sprites part 1 */
- AM_RANGE(0xb880, 0xb8bf) AM_READWRITE(fortyl_bg_colorram_r, fortyl_bg_colorram_w) AM_SHARE("colorram") /* background attributes (2 bytes per line) */
- AM_RANGE(0xb8e0, 0xb8ff) AM_RAM AM_SHARE("spriteram2") /* sprites part 2 */
- AM_RANGE(0xc000, 0xffff) AM_READWRITE(fortyl_pixram_r, fortyl_pixram_w)
-ADDRESS_MAP_END
+ map(0xc000, 0xffff).rw(this, FUNC(fortyl_state::fortyl_pixram_r), FUNC(fortyl_state::fortyl_pixram_w)); /* banked pixel layer */
+}
+
+void fortyl_state::undoukai_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0x8000, 0x9fff).bankr("bank1");
+ map(0xa000, 0xa7ff).ram().share("mcu_ram"); /* M5517P on main board */
+ map(0xa800, 0xa800).rw(m_bmcu, FUNC(taito68705_mcu_device::data_r), FUNC(taito68705_mcu_device::data_w));
+ map(0xa801, 0xa801).rw(this, FUNC(fortyl_state::fortyl_mcu_status_r), FUNC(fortyl_state::pix1_w)); //pixel layer related
+ map(0xa802, 0xa802).w(this, FUNC(fortyl_state::bank_select_w));
+ map(0xa803, 0xa803).rw(this, FUNC(fortyl_state::pix2_r), FUNC(fortyl_state::pix2_w)); //pixel layer related
+ map(0xa804, 0xa804).r(m_soundlatch2, FUNC(generic_latch_8_device::read));
+ map(0xa804, 0xa804).w("soundlatch", FUNC(generic_latch_8_device::write));
+ map(0xa805, 0xa805).r(this, FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //????
+ map(0xa807, 0xa807).nopr().nopw(); /* unknown */
+ map(0xa808, 0xa808).portr("DSW3");
+ map(0xa809, 0xa809).portr("P1");
+ map(0xa80a, 0xa80a).portr("SYSTEM");
+ map(0xa80b, 0xa80b).portr("P2");
+ map(0xa80c, 0xa80c).portr("DSW1").w(this, FUNC(fortyl_state::fortyl_pixram_sel_w)); /* pixram bank select */
+ map(0xa80d, 0xa80d).portr("DSW2").nopw(); /* unknown */
+ map(0xb000, 0xb7ff).rw(this, FUNC(fortyl_state::fortyl_bg_videoram_r), FUNC(fortyl_state::fortyl_bg_videoram_w)).share("videoram"); /* #1 M5517P on video board */
+ map(0xb800, 0xb83f).ram().share("video_ctrl"); /* video control area */
+ map(0xb840, 0xb87f).ram().share("spriteram"); /* sprites part 1 */
+ map(0xb880, 0xb8bf).rw(this, FUNC(fortyl_state::fortyl_bg_colorram_r), FUNC(fortyl_state::fortyl_bg_colorram_w)).share("colorram"); /* background attributes (2 bytes per line) */
+ map(0xb8e0, 0xb8ff).ram().share("spriteram2"); /* sprites part 2 */
+ map(0xc000, 0xffff).rw(this, FUNC(fortyl_state::fortyl_pixram_r), FUNC(fortyl_state::fortyl_pixram_w));
+}
WRITE8_MEMBER(fortyl_state::sound_control_0_w)
{
@@ -444,21 +446,22 @@ WRITE8_MEMBER(fortyl_state::sound_control_3_w)/* unknown */
// popmessage("SND3 0=%02x 1=%02x 2=%02x 3=%02x", m_snd_ctrl0, m_snd_ctrl1, m_snd_ctrl2, m_snd_ctrl3);
}
-ADDRESS_MAP_START(fortyl_state::sound_map)
- AM_RANGE(0x0000, 0xbfff) AM_ROM
- AM_RANGE(0xc000, 0xc7ff) AM_RAM
- AM_RANGE(0xc800, 0xc801) AM_DEVWRITE("aysnd", ay8910_device, address_data_w)
- AM_RANGE(0xca00, 0xca0d) AM_DEVWRITE("msm", msm5232_device, write)
- AM_RANGE(0xcc00, 0xcc00) AM_WRITE(sound_control_0_w)
- AM_RANGE(0xce00, 0xce00) AM_WRITE(sound_control_1_w)
- AM_RANGE(0xd800, 0xd800) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
- AM_RANGE(0xd800, 0xd800) AM_DEVWRITE("soundlatch2", generic_latch_8_device, write)
- AM_RANGE(0xda00, 0xda00) AM_READNOP // unknown read
- AM_RANGE(0xda00, 0xda00) AM_DEVWRITE("soundnmi", input_merger_device, in_set<1>) // enable NMI
- AM_RANGE(0xdc00, 0xdc00) AM_DEVWRITE("soundnmi", input_merger_device, in_clear<1>) // disable NMI
- AM_RANGE(0xde00, 0xde00) AM_READNOP AM_DEVWRITE("dac", dac_byte_interface, write) /* signed 8-bit DAC - unknown read */
- AM_RANGE(0xe000, 0xefff) AM_ROM /* space for diagnostics ROM */
-ADDRESS_MAP_END
+void fortyl_state::sound_map(address_map &map)
+{
+ map(0x0000, 0xbfff).rom();
+ map(0xc000, 0xc7ff).ram();
+ map(0xc800, 0xc801).w(m_ay, FUNC(ay8910_device::address_data_w));
+ map(0xca00, 0xca0d).w(m_msm, FUNC(msm5232_device::write));
+ map(0xcc00, 0xcc00).w(this, FUNC(fortyl_state::sound_control_0_w));
+ map(0xce00, 0xce00).w(this, FUNC(fortyl_state::sound_control_1_w));
+ map(0xd800, 0xd800).r("soundlatch", FUNC(generic_latch_8_device::read));
+ map(0xd800, 0xd800).w(m_soundlatch2, FUNC(generic_latch_8_device::write));
+ map(0xda00, 0xda00).nopr(); // unknown read
+ map(0xda00, 0xda00).w("soundnmi", FUNC(input_merger_device::in_set<1>)); // enable NMI
+ map(0xdc00, 0xdc00).w("soundnmi", FUNC(input_merger_device::in_clear<1>)); // disable NMI
+ map(0xde00, 0xde00).nopr().w("dac", FUNC(dac_byte_interface::write)); /* signed 8-bit DAC - unknown read */
+ map(0xe000, 0xefff).rom(); /* space for diagnostics ROM */
+}
static INPUT_PORTS_START( 40love )
diff --git a/src/mame/drivers/4dpi.cpp b/src/mame/drivers/4dpi.cpp
index a86e832b186..f245174df69 100644
--- a/src/mame/drivers/4dpi.cpp
+++ b/src/mame/drivers/4dpi.cpp
@@ -218,12 +218,13 @@ void sgi_ip6_state::machine_reset()
ADDRESS MAPS
***************************************************************************/
-ADDRESS_MAP_START(sgi_ip6_state::sgi_ip6_map)
- AM_RANGE( 0x1f880000, 0x1f880003 ) AM_READWRITE(ip6_unk1_r, ip6_unk1_w)
- AM_RANGE( 0x1fb00000, 0x1fb00003 ) AM_READWRITE(ip6_unk3_r, ip6_unk3_w)
- AM_RANGE( 0x1fbc004c, 0x1fbc004f ) AM_READWRITE(ip6_unk2_r, ip6_unk2_w)
- AM_RANGE( 0x1fc00000, 0x1fc3ffff ) AM_ROM AM_REGION( "user1", 0 )
-ADDRESS_MAP_END
+void sgi_ip6_state::sgi_ip6_map(address_map &map)
+{
+ map(0x1f880000, 0x1f880003).rw(this, FUNC(sgi_ip6_state::ip6_unk1_r), FUNC(sgi_ip6_state::ip6_unk1_w));
+ map(0x1fb00000, 0x1fb00003).rw(this, FUNC(sgi_ip6_state::ip6_unk3_r), FUNC(sgi_ip6_state::ip6_unk3_w));
+ map(0x1fbc004c, 0x1fbc004f).rw(this, FUNC(sgi_ip6_state::ip6_unk2_r), FUNC(sgi_ip6_state::ip6_unk2_w));
+ map(0x1fc00000, 0x1fc3ffff).rom().region("user1", 0);
+}
/***************************************************************************
MACHINE DRIVERS
diff --git a/src/mame/drivers/4enlinea.cpp b/src/mame/drivers/4enlinea.cpp
index df0a407dbb9..6eb4c436e6b 100644
--- a/src/mame/drivers/4enlinea.cpp
+++ b/src/mame/drivers/4enlinea.cpp
@@ -350,20 +350,22 @@ READ8_MEMBER(_4enlinea_state::serial_r)
* Memory Map Information *
***********************************/
-ADDRESS_MAP_START(_4enlinea_state::main_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
+void _4enlinea_state::main_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
// AM_RANGE(0x8000, 0xbfff) AM_RAM // CGA VRAM
- AM_RANGE(0xc000, 0xdfff) AM_RAM
+ map(0xc000, 0xdfff).ram();
- AM_RANGE(0xe000, 0xe001) AM_READ(serial_r)
-ADDRESS_MAP_END
+ map(0xe000, 0xe001).r(this, FUNC(_4enlinea_state::serial_r));
+}
-ADDRESS_MAP_START(_4enlinea_state::main_portmap)
- ADDRESS_MAP_GLOBAL_MASK(0x3ff)
+void _4enlinea_state::main_portmap(address_map &map)
+{
+ map.global_mask(0x3ff);
// AM_RANGE(0x3d4, 0x3df) CGA regs
- AM_RANGE(0x3bf, 0x3bf) AM_WRITENOP // CGA mode control, TODO
-ADDRESS_MAP_END
+ map(0x3bf, 0x3bf).nopw(); // CGA mode control, TODO
+}
READ8_MEMBER(_4enlinea_state::serial_status_r)
{
@@ -388,21 +390,23 @@ READ8_MEMBER(_4enlinea_state::hack_r)
return machine().rand();
}
-ADDRESS_MAP_START(_4enlinea_state::audio_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0xf800, 0xfbff) AM_RAM
- AM_RANGE(0xfc24, 0xfc24) AM_READ(hack_r)
- AM_RANGE(0xfc28, 0xfc28) AM_READ(hack_r)
- AM_RANGE(0xfc30, 0xfc31) AM_WRITE(serial_w)
- AM_RANGE(0xfc32, 0xfc32) AM_READWRITE(serial_status_r,serial_status_w)
- AM_RANGE(0xfc48, 0xfc49) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, address_data_w)
+void _4enlinea_state::audio_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0xf800, 0xfbff).ram();
+ map(0xfc24, 0xfc24).r(this, FUNC(_4enlinea_state::hack_r));
+ map(0xfc28, 0xfc28).r(this, FUNC(_4enlinea_state::hack_r));
+ map(0xfc30, 0xfc31).w(this, FUNC(_4enlinea_state::serial_w));
+ map(0xfc32, 0xfc32).rw(this, FUNC(_4enlinea_state::serial_status_r), FUNC(_4enlinea_state::serial_status_w));
+ map(0xfc48, 0xfc49).rw(m_ay, FUNC(ay8910_device::data_r), FUNC(ay8910_device::address_data_w));
-ADDRESS_MAP_END
+}
-ADDRESS_MAP_START(_4enlinea_state::audio_portmap)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
-ADDRESS_MAP_END
+void _4enlinea_state::audio_portmap(address_map &map)
+{
+ map.global_mask(0xff);
+}
/***********************************
diff --git a/src/mame/drivers/4enraya.cpp b/src/mame/drivers/4enraya.cpp
index 1615ee712ee..38e97f77ab0 100644
--- a/src/mame/drivers/4enraya.cpp
+++ b/src/mame/drivers/4enraya.cpp
@@ -250,37 +250,41 @@ WRITE8_MEMBER(_4enraya_state::fenraya_custom_map_w)
* Memory Map Information *
***********************************/
-ADDRESS_MAP_START(_4enraya_state::main_map)
- AM_RANGE(0x0000, 0xffff) AM_READWRITE(fenraya_custom_map_r, fenraya_custom_map_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_4enraya_state::main_portmap)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("DSW")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("INPUTS")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("SYSTEM")
- AM_RANGE(0x23, 0x23) AM_WRITE(sound_data_w)
- AM_RANGE(0x33, 0x33) AM_WRITE(sound_control_w)
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(_4enraya_state::unkpacg_main_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x6000, 0x67ff) AM_RAM AM_SHARE("nvram")
- AM_RANGE(0x7000, 0x7fff) AM_WRITE(fenraya_videoram_w)
- AM_RANGE(0x8000, 0x9fff) AM_ROM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_4enraya_state::unkpacg_main_portmap)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("DSW1")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2")
+void _4enraya_state::main_map(address_map &map)
+{
+ map(0x0000, 0xffff).rw(this, FUNC(_4enraya_state::fenraya_custom_map_r), FUNC(_4enraya_state::fenraya_custom_map_w));
+}
+
+void _4enraya_state::main_portmap(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x00).portr("DSW");
+ map(0x01, 0x01).portr("INPUTS");
+ map(0x02, 0x02).portr("SYSTEM");
+ map(0x23, 0x23).w(this, FUNC(_4enraya_state::sound_data_w));
+ map(0x33, 0x33).w(this, FUNC(_4enraya_state::sound_control_w));
+}
+
+
+void _4enraya_state::unkpacg_main_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x6000, 0x67ff).ram().share("nvram");
+ map(0x7000, 0x7fff).w(this, FUNC(_4enraya_state::fenraya_videoram_w));
+ map(0x8000, 0x9fff).rom();
+}
+
+void _4enraya_state::unkpacg_main_portmap(address_map &map)
+{
+ map.global_mask(0xff);
+ map(0x00, 0x00).portr("DSW1");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2");
// AM_RANGE(0x03, 0x03) AM_WRITE("out_w") // to investigate...
- AM_RANGE(0x17, 0x17) AM_DEVWRITE("aysnd", ay8910_device, data_w)
- AM_RANGE(0x27, 0x27) AM_DEVREAD("aysnd", ay8910_device, data_r)
- AM_RANGE(0x37, 0x37) AM_DEVWRITE("aysnd", ay8910_device, address_w)
-ADDRESS_MAP_END
+ map(0x17, 0x17).w(m_ay, FUNC(ay8910_device::data_w));
+ map(0x27, 0x27).r(m_ay, FUNC(ay8910_device::data_r));
+ map(0x37, 0x37).w(m_ay, FUNC(ay8910_device::address_w));
+}
/***********************************
diff --git a/src/mame/drivers/4roses.cpp b/src/mame/drivers/4roses.cpp
index 49ad743baa5..3502dd61fa2 100644
--- a/src/mame/drivers/4roses.cpp
+++ b/src/mame/drivers/4roses.cpp
@@ -208,12 +208,13 @@ public:
* Memory map information *
*************************/
-ADDRESS_MAP_START(_4roses_state::_4roses_map)
- AM_RANGE(0x0000, 0x07ff) AM_RAM // AM_SHARE("nvram")
- AM_RANGE(0x6000, 0x6fff) AM_RAM_WRITE(funworld_videoram_w) AM_SHARE("videoram")
- AM_RANGE(0x7000, 0x7fff) AM_RAM_WRITE(funworld_colorram_w) AM_SHARE("colorram")
- AM_RANGE(0x8000, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void _4roses_state::_4roses_map(address_map &map)
+{
+ map(0x0000, 0x07ff).ram(); // AM_SHARE("nvram")
+ map(0x6000, 0x6fff).ram().w(this, FUNC(_4roses_state::funworld_videoram_w)).share("videoram");
+ map(0x7000, 0x7fff).ram().w(this, FUNC(_4roses_state::funworld_colorram_w)).share("colorram");
+ map(0x8000, 0xffff).rom();
+}
/*
Unknown R/W
diff --git a/src/mame/drivers/5clown.cpp b/src/mame/drivers/5clown.cpp
index d95b88e9fee..7b4faa60e95 100644
--- a/src/mame/drivers/5clown.cpp
+++ b/src/mame/drivers/5clown.cpp
@@ -756,25 +756,26 @@ WRITE8_MEMBER(_5clown_state::snd_a02_w)
* Memory map information *
*************************/
-ADDRESS_MAP_START(_5clown_state::fclown_map)
- AM_RANGE(0x0000, 0x07ff) AM_RAM AM_SHARE("nvram")
- AM_RANGE(0x0800, 0x0800) AM_DEVWRITE("crtc", mc6845_device, address_w)
- AM_RANGE(0x0801, 0x0801) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w)
- AM_RANGE(0x0844, 0x0847) AM_DEVREADWRITE("pia0", pia6821_device, read, write)
- AM_RANGE(0x0848, 0x084b) AM_DEVREADWRITE("pia1", pia6821_device, read, write)
- AM_RANGE(0x1000, 0x13ff) AM_RAM_WRITE(fclown_videoram_w) AM_SHARE("videoram") /* Init'ed at $2042 */
- AM_RANGE(0x1800, 0x1bff) AM_RAM_WRITE(fclown_colorram_w) AM_SHARE("colorram") /* Init'ed at $2054 */
- AM_RANGE(0x2000, 0x7fff) AM_ROM /* ROM space */
-
- AM_RANGE(0xc048, 0xc048) AM_WRITE(cpu_c048_w )
- AM_RANGE(0xd800, 0xd800) AM_WRITE(cpu_d800_w )
-
- AM_RANGE(0xc400, 0xc400) AM_READ_PORT("SW1") /* DIP Switches bank */
- AM_RANGE(0xcc00, 0xcc00) AM_READ_PORT("SW2") /* DIP Switches bank */
- AM_RANGE(0xd400, 0xd400) AM_READ_PORT("SW3") /* Second DIP Switches bank */
-
- AM_RANGE(0xe000, 0xffff) AM_ROM /* ROM space */
-ADDRESS_MAP_END
+void _5clown_state::fclown_map(address_map &map)
+{
+ map(0x0000, 0x07ff).ram().share("nvram");
+ map(0x0800, 0x0800).w("crtc", FUNC(mc6845_device::address_w));
+ map(0x0801, 0x0801).rw("crtc", FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
+ map(0x0844, 0x0847).rw("pia0", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x0848, 0x084b).rw("pia1", FUNC(pia6821_device::read), FUNC(pia6821_device::write));
+ map(0x1000, 0x13ff).ram().w(this, FUNC(_5clown_state::fclown_videoram_w)).share("videoram"); /* Init'ed at $2042 */
+ map(0x1800, 0x1bff).ram().w(this, FUNC(_5clown_state::fclown_colorram_w)).share("colorram"); /* Init'ed at $2054 */
+ map(0x2000, 0x7fff).rom(); /* ROM space */
+
+ map(0xc048, 0xc048).w(this, FUNC(_5clown_state::cpu_c048_w));
+ map(0xd800, 0xd800).w(this, FUNC(_5clown_state::cpu_d800_w));
+
+ map(0xc400, 0xc400).portr("SW1"); /* DIP Switches bank */
+ map(0xcc00, 0xcc00).portr("SW2"); /* DIP Switches bank */
+ map(0xd400, 0xd400).portr("SW3"); /* Second DIP Switches bank */
+
+ map(0xe000, 0xffff).rom(); /* ROM space */
+}
/*
@@ -831,15 +832,16 @@ ADDRESS_MAP_END
*/
-ADDRESS_MAP_START(_5clown_state::fcaudio_map)
- AM_RANGE(0x0000, 0x07ff) AM_RAM
- AM_RANGE(0x0800, 0x0800) AM_WRITE(snd_800_w)
- AM_RANGE(0x0a02, 0x0a02) AM_WRITE(snd_a02_w)
- AM_RANGE(0x0c04, 0x0c04) AM_DEVWRITE("oki6295", okim6295_device, write)
- AM_RANGE(0x0c06, 0x0c06) AM_DEVREAD("oki6295", okim6295_device, read)
- AM_RANGE(0x0e06, 0x0e06) AM_READ(snd_e06_r)
- AM_RANGE(0xe000, 0xffff) AM_ROM /* ROM space */
-ADDRESS_MAP_END
+void _5clown_state::fcaudio_map(address_map &map)
+{
+ map(0x0000, 0x07ff).ram();
+ map(0x0800, 0x0800).w(this, FUNC(_5clown_state::snd_800_w));
+ map(0x0a02, 0x0a02).w(this, FUNC(_5clown_state::snd_a02_w));
+ map(0x0c04, 0x0c04).w("oki6295", FUNC(okim6295_device::write));
+ map(0x0c06, 0x0c06).r("oki6295", FUNC(okim6295_device::read));
+ map(0x0e06, 0x0e06).r(this, FUNC(_5clown_state::snd_e06_r));
+ map(0xe000, 0xffff).rom(); /* ROM space */
+}
/*************************
diff --git a/src/mame/drivers/68ksbc.cpp b/src/mame/drivers/68ksbc.cpp
index 90353a42662..354080565dd 100644
--- a/src/mame/drivers/68ksbc.cpp
+++ b/src/mame/drivers/68ksbc.cpp
@@ -47,12 +47,13 @@ private:
required_device<cpu_device> m_maincpu;
};
-ADDRESS_MAP_START(c68ksbc_state::c68ksbc_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x000000, 0x002fff) AM_ROM
- AM_RANGE(0x003000, 0x5fffff) AM_RAM
- AM_RANGE(0x600000, 0x600003) AM_DEVREADWRITE8("acia", acia6850_device, read, write, 0x00ff)
-ADDRESS_MAP_END
+void c68ksbc_state::c68ksbc_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x000000, 0x002fff).rom();
+ map(0x003000, 0x5fffff).ram();
+ map(0x600000, 0x600003).rw("acia", FUNC(acia6850_device::read), FUNC(acia6850_device::write)).umask16(0x00ff);
+}
/* Input ports */
diff --git a/src/mame/drivers/8080bw.cpp b/src/mame/drivers/8080bw.cpp
index 0ad1abebe63..0dcb1929fb2 100644
--- a/src/mame/drivers/8080bw.cpp
+++ b/src/mame/drivers/8080bw.cpp
@@ -372,15 +372,16 @@ INPUT_PORTS_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::invadpt2_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(invadpt2_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::invadpt2_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::invadpt2_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invadpt2_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
static INPUT_PORTS_START( invadpt2 )
@@ -442,15 +443,16 @@ MACHINE_CONFIG_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::spacerng_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(invadpt2_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(spacerng_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::spacerng_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::invadpt2_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::spacerng_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
MACHINE_CONFIG_START(_8080bw_state::spacerng)
invadpt2(config);
@@ -468,14 +470,15 @@ MACHINE_CONFIG_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::spcewars_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(spcewars_sh_port_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
-ADDRESS_MAP_END
+void _8080bw_state::spcewars_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::spcewars_sh_port_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invadpt2_sh_port_2_w));
+}
static INPUT_PORTS_START( spcewars )
@@ -526,16 +529,17 @@ MACHINE_CONFIG_END
// has a slightly rearranged io map and has PROMs and watchdog
-ADDRESS_MAP_START(_8080bw_state::spcewarla_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2")
- AM_RANGE(0x04, 0x04) AM_WRITE(spcewars_sh_port_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x08, 0x08) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x0c, 0x0c) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
-ADDRESS_MAP_END
+void _8080bw_state::spcewarla_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2");
+ map(0x04, 0x04).w(this, FUNC(_8080bw_state::spcewars_sh_port_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invadpt2_sh_port_2_w));
+ map(0x06, 0x06).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+ map(0x08, 0x08).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x0c, 0x0c).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+}
MACHINE_CONFIG_START(_8080bw_state::spcewarla)
spcewars(config);
@@ -557,16 +561,17 @@ MACHINE_CONFIG_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::astropal_io_map)
- ADDRESS_MAP_GLOBAL_MASK(0x7)
- AM_RANGE(0x00, 0x00) AM_MIRROR(0x04) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_MIRROR(0x04) AM_READ_PORT("IN1")
- AM_RANGE(0x03, 0x03) AM_MIRROR(0x04) AM_READ_PORT("IN3")
-
- AM_RANGE(0x03, 0x03) AM_WRITE(invaders_audio_1_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invaders_audio_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::astropal_io_map(address_map &map)
+{
+ map.global_mask(0x7);
+ map(0x00, 0x00).mirror(0x04).portr("IN0");
+ map(0x01, 0x01).mirror(0x04).portr("IN1");
+ map(0x03, 0x03).mirror(0x04).portr("IN3");
+
+ map(0x03, 0x03).w(this, FUNC(_8080bw_state::invaders_audio_1_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invaders_audio_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
static INPUT_PORTS_START( astropal )
PORT_START("IN0")
@@ -621,23 +626,25 @@ MACHINE_CONFIG_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::cosmo_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x4000, 0x57ff) AM_ROM
- AM_RANGE(0x5c00, 0x5fff) AM_RAM AM_SHARE("colorram")
-ADDRESS_MAP_END
+void _8080bw_state::cosmo_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x3fff).ram().share("main_ram");
+ map(0x4000, 0x57ff).rom();
+ map(0x5c00, 0x5fff).ram().share("colorram");
+}
/* at least one of these MWA8_NOPs must be sound related */
-ADDRESS_MAP_START(_8080bw_state::cosmo_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0") AM_WRITENOP
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1") AM_WRITENOP
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_WRITENOP
- AM_RANGE(0x03, 0x03) AM_WRITE(invadpt2_sh_port_1_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(cosmo_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x07, 0x07) AM_WRITENOP
-ADDRESS_MAP_END
+void _8080bw_state::cosmo_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0").nopw();
+ map(0x01, 0x01).portr("IN1").nopw();
+ map(0x02, 0x02).portr("IN2").nopw();
+ map(0x03, 0x03).w(this, FUNC(_8080bw_state::invadpt2_sh_port_1_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::cosmo_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+ map(0x07, 0x07).nopw();
+}
static INPUT_PORTS_START( cosmo )
@@ -803,16 +810,18 @@ static INPUT_PORTS_START( spacecom )
INPUT_PORTS_END
-ADDRESS_MAP_START(_8080bw_state::spacecom_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram") // other RAM not hooked up?
-ADDRESS_MAP_END
+void _8080bw_state::spacecom_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x3fff).ram().share("main_ram"); // other RAM not hooked up?
+}
-ADDRESS_MAP_START(_8080bw_state::spacecom_io_map)
- AM_RANGE(0x41, 0x41) AM_READ_PORT("IN0")
- AM_RANGE(0x42, 0x42) AM_READ_PORT("IN1") AM_WRITE(invaders_audio_1_w)
- AM_RANGE(0x44, 0x44) AM_READ_PORT("IN2") AM_WRITE(invaders_audio_2_w)
-ADDRESS_MAP_END
+void _8080bw_state::spacecom_io_map(address_map &map)
+{
+ map(0x41, 0x41).portr("IN0");
+ map(0x42, 0x42).portr("IN1").w(this, FUNC(_8080bw_state::invaders_audio_1_w));
+ map(0x44, 0x44).portr("IN2").w(this, FUNC(_8080bw_state::invaders_audio_2_w));
+}
MACHINE_CONFIG_START(_8080bw_state::spacecom)
@@ -862,20 +871,22 @@ READ8_MEMBER(_8080bw_state::invrvnge_02_r)
return (data & 0x8f) | (ioport("IN1")->read() & 0x70);
}
-ADDRESS_MAP_START(_8080bw_state::invrvnge_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ(invrvnge_02_r) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(invrvnge_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invrvnge_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::invrvnge_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).r(this, FUNC(_8080bw_state::invrvnge_02_r)).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::invrvnge_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invrvnge_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
-ADDRESS_MAP_START(_8080bw_state::invrvnge_sound_map)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0xffff) AM_ROM // dummy prg map, TODO: decrypt ROM
-ADDRESS_MAP_END
+void _8080bw_state::invrvnge_sound_map(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0xffff).rom(); // dummy prg map, TODO: decrypt ROM
+}
static INPUT_PORTS_START( invrvnge )
@@ -1055,15 +1066,16 @@ static INPUT_PORTS_START( galxwars )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
INPUT_PORTS_END
-ADDRESS_MAP_START(_8080bw_state::starw1_io_map)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2")
- AM_RANGE(0x03, 0x03) AM_WRITENOP /* writes 9B at boot */
- AM_RANGE(0x04, 0x04) AM_WRITE(invadpt2_sh_port_1_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x07, 0x07) AM_WRITENOP /* writes 89 at boot */
-ADDRESS_MAP_END
+void _8080bw_state::starw1_io_map(address_map &map)
+{
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2");
+ map(0x03, 0x03).nopw(); /* writes 9B at boot */
+ map(0x04, 0x04).w(this, FUNC(_8080bw_state::invadpt2_sh_port_1_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invadpt2_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+ map(0x07, 0x07).nopw(); /* writes 89 at boot */
+}
MACHINE_CONFIG_START(_8080bw_state::starw1)
invadpt2(config);
@@ -1077,20 +1089,22 @@ MACHINE_CONFIG_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::escmars_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x4000, 0x4fff) AM_ROM
-ADDRESS_MAP_END
+void _8080bw_state::escmars_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x3fff).ram().share("main_ram");
+ map(0x4000, 0x4fff).rom();
+}
-ADDRESS_MAP_START(_8080bw_state::lrescue_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(lrescue_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(lrescue_sh_port_2_w)
-ADDRESS_MAP_END
+void _8080bw_state::lrescue_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::lrescue_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::lrescue_sh_port_2_w));
+}
static INPUT_PORTS_START( lrescue )
@@ -1219,19 +1233,20 @@ WRITE8_MEMBER(_8080bw_state::cosmicmo_05_w)
m_flip_screen = BIT(data, 5) & BIT(ioport("IN2")->read(), 2);
}
-ADDRESS_MAP_START(_8080bw_state::cosmicmo_io_map)
- ADDRESS_MAP_GLOBAL_MASK(0x7)
- AM_RANGE(0x00, 0x00) AM_MIRROR(0x04) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_MIRROR(0x04) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_MIRROR(0x04) AM_READ(invrvnge_02_r)
- AM_RANGE(0x03, 0x03) AM_MIRROR(0x04) AM_DEVREAD("mb14241", mb14241_device, shift_result_r)
-
- AM_RANGE(0x02, 0x02) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_WRITE(invaders_audio_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(cosmicmo_05_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::cosmicmo_io_map(address_map &map)
+{
+ map.global_mask(0x7);
+ map(0x00, 0x00).mirror(0x04).portr("IN0");
+ map(0x01, 0x01).mirror(0x04).portr("IN1");
+ map(0x02, 0x02).mirror(0x04).r(this, FUNC(_8080bw_state::invrvnge_02_r));
+ map(0x03, 0x03).mirror(0x04).r(m_mb14241, FUNC(mb14241_device::shift_result_r));
+
+ map(0x02, 0x02).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).w(this, FUNC(_8080bw_state::invaders_audio_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::cosmicmo_05_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
MACHINE_CONFIG_START(_8080bw_state::cosmicmo)
mw8080bw_root(config);
@@ -1340,23 +1355,25 @@ WRITE8_MEMBER(_8080bw_state::rollingc_scattered_colorram2_w)
m_scattered_colorram2[(offset & 0x1f) | ((offset & 0x1f00) >> 3)] = data;
}
-ADDRESS_MAP_START(_8080bw_state::rollingc_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x4000, 0x5fff) AM_ROM
- AM_RANGE(0xa000, 0xbfff) AM_READWRITE(rollingc_scattered_colorram_r, rollingc_scattered_colorram_w)
- AM_RANGE(0xe000, 0xffff) AM_READWRITE(rollingc_scattered_colorram2_r, rollingc_scattered_colorram2_w)
-ADDRESS_MAP_END
+void _8080bw_state::rollingc_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x3fff).ram().share("main_ram");
+ map(0x4000, 0x5fff).rom();
+ map(0xa000, 0xbfff).rw(this, FUNC(_8080bw_state::rollingc_scattered_colorram_r), FUNC(_8080bw_state::rollingc_scattered_colorram_w));
+ map(0xe000, 0xffff).rw(this, FUNC(_8080bw_state::rollingc_scattered_colorram2_r), FUNC(_8080bw_state::rollingc_scattered_colorram2_w));
+}
-ADDRESS_MAP_START(_8080bw_state::rollingc_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0") AM_WRITE(rollingc_sh_port_w)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(invadpt2_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
-ADDRESS_MAP_END
+void _8080bw_state::rollingc_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0").w(this, FUNC(_8080bw_state::rollingc_sh_port_w));
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::invadpt2_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invadpt2_sh_port_2_w));
+}
static INPUT_PORTS_START( rollingc )
@@ -1427,23 +1444,25 @@ WRITE8_MEMBER(_8080bw_state::schaser_scattered_colorram_w)
m_scattered_colorram[(offset & 0x1f) | ((offset & 0x1f80) >> 2)] = data;
}
-ADDRESS_MAP_START(_8080bw_state::schaser_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x4000, 0x5fff) AM_ROM
- AM_RANGE(0xc000, 0xdfff) AM_READWRITE(schaser_scattered_colorram_r, schaser_scattered_colorram_w)
-ADDRESS_MAP_END
+void _8080bw_state::schaser_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x3fff).ram().share("main_ram");
+ map(0x4000, 0x5fff).rom();
+ map(0xc000, 0xdfff).rw(this, FUNC(_8080bw_state::schaser_scattered_colorram_r), FUNC(_8080bw_state::schaser_scattered_colorram_w));
+}
-ADDRESS_MAP_START(_8080bw_state::schaser_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(schaser_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(schaser_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::schaser_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::schaser_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::schaser_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
static INPUT_PORTS_START( schaser )
@@ -1590,14 +1609,15 @@ READ8_MEMBER(_8080bw_state::schasercv_02_r)
return (data & 0x89) | (in1 & 0x70) | (BIT(in1, 3) << 1) | (BIT(in1, 7) << 2);
}
-ADDRESS_MAP_START(_8080bw_state::schasercv_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ(schasercv_02_r) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(schasercv_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(schasercv_sh_port_2_w)
-ADDRESS_MAP_END
+void _8080bw_state::schasercv_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).r(this, FUNC(_8080bw_state::schasercv_02_r)).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::schasercv_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::schasercv_sh_port_2_w));
+}
static INPUT_PORTS_START( schasercv )
@@ -1687,21 +1707,22 @@ CUSTOM_INPUT_MEMBER(_8080bw_state::sflush_80_r)
return (m_screen->vpos() & 0x80) ? 1 : 0;
}
-ADDRESS_MAP_START(_8080bw_state::sflush_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM
- AM_RANGE(0x4000, 0x5fff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x8008, 0x8008) AM_READ_PORT("PADDLE")
- AM_RANGE(0x8009, 0x8009) AM_DEVREAD("mb14241", mb14241_device, shift_result_r)
- AM_RANGE(0x800a, 0x800a) AM_READ_PORT("IN2")
- AM_RANGE(0x800b, 0x800b) AM_READ_PORT("IN0")
- AM_RANGE(0x8018, 0x8018) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x8019, 0x8019) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x801a, 0x801a) AM_WRITENOP
- AM_RANGE(0x801c, 0x801c) AM_WRITENOP
- AM_RANGE(0x801d, 0x801d) AM_WRITENOP
- AM_RANGE(0xa000, 0xbfff) AM_READWRITE(schaser_scattered_colorram_r, schaser_scattered_colorram_w)
- AM_RANGE(0xd800, 0xffff) AM_ROM
-ADDRESS_MAP_END
+void _8080bw_state::sflush_map(address_map &map)
+{
+ map(0x0000, 0x1fff).ram();
+ map(0x4000, 0x5fff).ram().share("main_ram");
+ map(0x8008, 0x8008).portr("PADDLE");
+ map(0x8009, 0x8009).r(m_mb14241, FUNC(mb14241_device::shift_result_r));
+ map(0x800a, 0x800a).portr("IN2");
+ map(0x800b, 0x800b).portr("IN0");
+ map(0x8018, 0x8018).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x8019, 0x8019).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x801a, 0x801a).nopw();
+ map(0x801c, 0x801c).nopw();
+ map(0x801d, 0x801d).nopw();
+ map(0xa000, 0xbfff).rw(this, FUNC(_8080bw_state::schaser_scattered_colorram_r), FUNC(_8080bw_state::schaser_scattered_colorram_w));
+ map(0xd800, 0xffff).rom();
+}
static INPUT_PORTS_START( sflush )
@@ -1780,15 +1801,16 @@ MACHINE_CONFIG_END
/* */
/*******************************************************************************************/
-ADDRESS_MAP_START(_8080bw_state::lupin3_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0") AM_WRITE(lupin3_00_w)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(lupin3_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(lupin3_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+void _8080bw_state::lupin3_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0").w(this, FUNC(_8080bw_state::lupin3_00_w));
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::lupin3_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::lupin3_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
static INPUT_PORTS_START( lupin3 )
@@ -1946,15 +1968,16 @@ READ8_MEMBER(_8080bw_state::polaris_port00_r)
// you will get a nice sound that accurately follows the plane.
// It sounds better then the actual circuit used.
// Probably an unfinished feature.
-ADDRESS_MAP_START(_8080bw_state::polaris_io_map)
- AM_RANGE(0x00, 0x00) AM_READ(polaris_port00_r) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_WRITE(polaris_sh_port_1_w)
- AM_RANGE(0x03, 0x03) AM_DEVREADWRITE("mb14241", mb14241_device, shift_result_r, shift_data_w)
- AM_RANGE(0x04, 0x04) AM_WRITE(polaris_sh_port_2_w)
- AM_RANGE(0x05, 0x05) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x06, 0x06) AM_WRITE(polaris_sh_port_3_w)
-ADDRESS_MAP_END
+void _8080bw_state::polaris_io_map(address_map &map)
+{
+ map(0x00, 0x00).r(this, FUNC(_8080bw_state::polaris_port00_r)).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).portr("IN2").w(this, FUNC(_8080bw_state::polaris_sh_port_1_w));
+ map(0x03, 0x03).rw(m_mb14241, FUNC(mb14241_device::shift_result_r), FUNC(mb14241_device::shift_data_w));
+ map(0x04, 0x04).w(this, FUNC(_8080bw_state::polaris_sh_port_2_w));
+ map(0x05, 0x05).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+ map(0x06, 0x06).w(this, FUNC(_8080bw_state::polaris_sh_port_3_w));
+}
static INPUT_PORTS_START( polaris )
@@ -2123,14 +2146,15 @@ INPUT_PORTS_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::ballbomb_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1") AM_WRITE(ballbomb_01_w)
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(ballbomb_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(ballbomb_sh_port_2_w)
-ADDRESS_MAP_END
+void _8080bw_state::ballbomb_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).portr("IN1").w(this, FUNC(_8080bw_state::ballbomb_01_w));
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::ballbomb_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::ballbomb_sh_port_2_w));
+}
static INPUT_PORTS_START( ballbomb )
@@ -2177,19 +2201,21 @@ MACHINE_CONFIG_END
/* */
/*******************************************************/
-ADDRESS_MAP_START(_8080bw_state::yosakdon_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x3fff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x4000, 0x43ff) AM_WRITEONLY /* what's this? */
-ADDRESS_MAP_END
+void _8080bw_state::yosakdon_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x3fff).ram().share("main_ram");
+ map(0x4000, 0x43ff).writeonly(); /* what's this? */
+}
-ADDRESS_MAP_START(_8080bw_state::yosakdon_io_map)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN0")
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN1")
- AM_RANGE(0x03, 0x03) AM_WRITE(yosakdon_sh_port_1_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(yosakdon_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_WRITENOP /* character numbers */
-ADDRESS_MAP_END
+void _8080bw_state::yosakdon_io_map(address_map &map)
+{
+ map(0x01, 0x01).portr("IN0");
+ map(0x02, 0x02).portr("IN1");
+ map(0x03, 0x03).w(this, FUNC(_8080bw_state::yosakdon_sh_port_1_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::yosakdon_sh_port_2_w));
+ map(0x06, 0x06).nopw(); /* character numbers */
+}
static INPUT_PORTS_START( yosakdon )
@@ -2366,27 +2392,29 @@ READ8_MEMBER(_8080bw_state::indianbtbr_01_r)
return (data & 0x8f) | (ioport("IN2")->read() & 0x70);
}
-ADDRESS_MAP_START(_8080bw_state::indianbt_io_map)
- AM_RANGE(0x00, 0x00) AM_READ(indianbt_r)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ(invrvnge_02_r) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(indianbt_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(indianbt_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x07, 0x07) AM_WRITE(indianbt_sh_port_3_w)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_8080bw_state::indianbtbr_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x01, 0x01) AM_READ(indianbtbr_01_r)
- AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(indianbtbr_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(indianbtbr_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x07, 0x07) AM_WRITENOP
-ADDRESS_MAP_END
+void _8080bw_state::indianbt_io_map(address_map &map)
+{
+ map(0x00, 0x00).r(this, FUNC(_8080bw_state::indianbt_r));
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).r(this, FUNC(_8080bw_state::invrvnge_02_r)).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::indianbt_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::indianbt_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+ map(0x07, 0x07).w(this, FUNC(_8080bw_state::indianbt_sh_port_3_w));
+}
+
+void _8080bw_state::indianbtbr_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x01, 0x01).r(this, FUNC(_8080bw_state::indianbtbr_01_r));
+ map(0x02, 0x02).portr("IN2").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::indianbtbr_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::indianbtbr_sh_port_2_w));
+ map(0x06, 0x06).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+ map(0x07, 0x07).nopw();
+}
MACHINE_CONFIG_START(_8080bw_state::indianbt)
@@ -2451,14 +2479,15 @@ WRITE8_MEMBER(_8080bw_state::steelwkr_sh_port_3_w)
machine().bookkeeping().coin_lockout_global_w(!(~data & 0x03)); /* possibly */
}
-ADDRESS_MAP_START(_8080bw_state::steelwkr_io_map)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
- AM_RANGE(0x02, 0x02) AM_READ(invrvnge_02_r) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) AM_WRITE(invadpt2_sh_port_1_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
- AM_RANGE(0x06, 0x06) AM_WRITE(steelwkr_sh_port_3_w)
-ADDRESS_MAP_END
+void _8080bw_state::steelwkr_io_map(address_map &map)
+{
+ map(0x01, 0x01).portr("IN1");
+ map(0x02, 0x02).r(this, FUNC(_8080bw_state::invrvnge_02_r)).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)).w(this, FUNC(_8080bw_state::invadpt2_sh_port_1_w));
+ map(0x04, 0x04).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x05, 0x05).w(this, FUNC(_8080bw_state::invadpt2_sh_port_2_w));
+ map(0x06, 0x06).w(this, FUNC(_8080bw_state::steelwkr_sh_port_3_w));
+}
static INPUT_PORTS_START( steelwkr )
/* PORT_START("IN0") - never read */
@@ -2648,20 +2677,22 @@ WRITE8_MEMBER(_8080bw_state::shuttlei_ff_w)
m_flip_screen = BIT(data, 2) & BIT(ioport(CABINET_PORT_TAG)->read(), 0);
}
-ADDRESS_MAP_START(_8080bw_state::shuttlei_map)
- AM_RANGE(0x0000, 0x1fff) AM_ROM
- AM_RANGE(0x2000, 0x37ff) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x3800, 0x3fff) AM_RAM
- AM_RANGE(0x4000, 0x43ff) AM_RAM AM_SHARE("share1") // shuttlei
- AM_RANGE(0x6000, 0x63ff) AM_RAM AM_SHARE("share1") // skylove (is it mirrored, or different PCB hookup?)
-ADDRESS_MAP_END
+void _8080bw_state::shuttlei_map(address_map &map)
+{
+ map(0x0000, 0x1fff).rom();
+ map(0x2000, 0x37ff).ram().share("main_ram");
+ map(0x3800, 0x3fff).ram();
+ map(0x4000, 0x43ff).ram().share("share1"); // shuttlei
+ map(0x6000, 0x63ff).ram().share("share1"); // skylove (is it mirrored, or different PCB hookup?)
+}
-ADDRESS_MAP_START(_8080bw_state::shuttlei_io_map)
- AM_RANGE(0xfc, 0xfc) AM_WRITENOP /* game writes 0xAA every so often (perhaps when base hit?) */
- AM_RANGE(0xfd, 0xfd) AM_WRITE(shuttlei_sh_port_1_w)
- AM_RANGE(0xfe, 0xfe) AM_READ_PORT("DSW") AM_WRITE(shuttlei_sh_port_2_w)
- AM_RANGE(0xff, 0xff) AM_READWRITE(shuttlei_ff_r,shuttlei_ff_w)
-ADDRESS_MAP_END
+void _8080bw_state::shuttlei_io_map(address_map &map)
+{
+ map(0xfc, 0xfc).nopw(); /* game writes 0xAA every so often (perhaps when base hit?) */
+ map(0xfd, 0xfd).w(this, FUNC(_8080bw_state::shuttlei_sh_port_1_w));
+ map(0xfe, 0xfe).portr("DSW").w(this, FUNC(_8080bw_state::shuttlei_sh_port_2_w));
+ map(0xff, 0xff).rw(this, FUNC(_8080bw_state::shuttlei_ff_r), FUNC(_8080bw_state::shuttlei_ff_w));
+}
MACHINE_CONFIG_START(_8080bw_state::shuttlei)
@@ -2733,20 +2764,22 @@ READ8_MEMBER(_8080bw_state::darthvdr_01_r)
return (data & 0xe1) | (ioport("P1")->read() & 0x0e);
}
-ADDRESS_MAP_START(_8080bw_state::darthvdr_map)
- AM_RANGE(0x0000, 0x17ff) AM_ROM
- AM_RANGE(0x1800, 0x1fff) AM_RAM
- AM_RANGE(0x4000, 0x5fff) AM_RAM AM_SHARE("main_ram")
-ADDRESS_MAP_END
+void _8080bw_state::darthvdr_map(address_map &map)
+{
+ map(0x0000, 0x17ff).rom();
+ map(0x1800, 0x1fff).ram();
+ map(0x4000, 0x5fff).ram().share("main_ram");
+}
-ADDRESS_MAP_START(_8080bw_state::darthvdr_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("P1")
- AM_RANGE(0x01, 0x01) AM_READ(darthvdr_01_r)
+void _8080bw_state::darthvdr_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("P1");
+ map(0x01, 0x01).r(this, FUNC(_8080bw_state::darthvdr_01_r));
- AM_RANGE(0x00, 0x00) AM_WRITE(darthvdr_00_w) // flipscreen
- AM_RANGE(0x04, 0x04) AM_WRITENOP
- AM_RANGE(0x08, 0x08) AM_WRITE(darthvdr_08_w) // sound
-ADDRESS_MAP_END
+ map(0x00, 0x00).w(this, FUNC(_8080bw_state::darthvdr_00_w)); // flipscreen
+ map(0x04, 0x04).nopw();
+ map(0x08, 0x08).w(this, FUNC(_8080bw_state::darthvdr_08_w)); // sound
+}
static INPUT_PORTS_START( darthvdr )
@@ -2822,20 +2855,21 @@ MACHINE_CONFIG_END
*
*************************************/
-ADDRESS_MAP_START(_8080bw_state::vortex_io_map)
+void _8080bw_state::vortex_io_map(address_map &map)
+{
// I/O map is same as invaders but with A9 (used as A1 for I/O) inverted
- ADDRESS_MAP_GLOBAL_MASK(0xFF)
- AM_RANGE(0x02, 0x02) AM_MIRROR(0x04) AM_READ_PORT("IN0")
- AM_RANGE(0x03, 0x03) AM_MIRROR(0x04) AM_READ_PORT("IN1")
- AM_RANGE(0x00, 0x00) AM_MIRROR(0x04) AM_READ_PORT("IN2")
- AM_RANGE(0x01, 0x01) AM_MIRROR(0x04) AM_DEVREAD("mb14241", mb14241_device, shift_result_r)
-
- AM_RANGE(0x00, 0x00) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x01, 0x01) AM_WRITE(invaders_audio_1_w)
- AM_RANGE(0x06, 0x06) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x07, 0x07) AM_WRITE(invaders_audio_2_w)
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
-ADDRESS_MAP_END
+ map.global_mask(0xFF);
+ map(0x02, 0x02).mirror(0x04).portr("IN0");
+ map(0x03, 0x03).mirror(0x04).portr("IN1");
+ map(0x00, 0x00).mirror(0x04).portr("IN2");
+ map(0x01, 0x01).mirror(0x04).r(m_mb14241, FUNC(mb14241_device::shift_result_r));
+
+ map(0x00, 0x00).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x01, 0x01).w(this, FUNC(_8080bw_state::invaders_audio_1_w));
+ map(0x06, 0x06).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x07, 0x07).w(this, FUNC(_8080bw_state::invaders_audio_2_w));
+ map(0x04, 0x04).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
+}
static INPUT_PORTS_START( vortex )
@@ -3110,15 +3144,16 @@ READ8_MEMBER(_8080bw_state::claybust_gun_hi_r)
return m_claybust_gun_pos >> 8;
}
-ADDRESS_MAP_START(_8080bw_state::claybust_io_map)
+void _8080bw_state::claybust_io_map(address_map &map)
+{
//AM_RANGE(0x00, 0x00) AM_WRITENOP // ?
- AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1") AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
- AM_RANGE(0x02, 0x02) AM_READ(claybust_gun_lo_r) AM_DEVWRITE("mb14241", mb14241_device, shift_data_w)
- AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_device, shift_result_r) //AM_WRITENOP // port3 write looks sound-related
- AM_RANGE(0x04, 0x04) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
+ map(0x01, 0x01).portr("IN1").w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+ map(0x02, 0x02).r(this, FUNC(_8080bw_state::claybust_gun_lo_r)).w(m_mb14241, FUNC(mb14241_device::shift_data_w));
+ map(0x03, 0x03).r(m_mb14241, FUNC(mb14241_device::shift_result_r)); //AM_WRITENOP // port3 write looks sound-related
+ map(0x04, 0x04).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
//AM_RANGE(0x05, 0x05) AM_WRITENOP // ?
- AM_RANGE(0x06, 0x06) AM_READ(claybust_gun_hi_r)
-ADDRESS_MAP_END
+ map(0x06, 0x06).r(this, FUNC(_8080bw_state::claybust_gun_hi_r));
+}
static INPUT_PORTS_START( claybust )
@@ -3263,15 +3298,16 @@ INPUT_PORTS_END
*****************************************************/
-ADDRESS_MAP_START(_8080bw_state::attackfc_io_map)
- AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
- AM_RANGE(0x02, 0x02) AM_WRITENOP // lamp?
- AM_RANGE(0x03, 0x03) AM_DEVREADWRITE("mb14241", mb14241_device, shift_result_r, shift_data_w)
- AM_RANGE(0x04, 0x04) AM_WRITENOP // sound enable?
- AM_RANGE(0x05, 0x05) AM_WRITENOP // watchdog?
- AM_RANGE(0x06, 0x06) AM_WRITENOP // sound?
- AM_RANGE(0x07, 0x07) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
-ADDRESS_MAP_END
+void _8080bw_state::attackfc_io_map(address_map &map)
+{
+ map(0x00, 0x00).portr("IN0");
+ map(0x02, 0x02).nopw(); // lamp?
+ map(0x03, 0x03).rw(m_mb14241, FUNC(mb14241_device::shift_result_r), FUNC(mb14241_device::shift_data_w));
+ map(0x04, 0x04).nopw(); // sound enable?
+ map(0x05, 0x05).nopw(); // watchdog?
+ map(0x06, 0x06).nopw(); // sound?
+ map(0x07, 0x07).w(m_mb14241, FUNC(mb14241_device::shift_count_w));
+}
static INPUT_PORTS_START( attackfc )
@@ -3393,13 +3429,14 @@ static INPUT_PORTS_START( invmulti )
PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
INPUT_PORTS_END
-ADDRESS_MAP_START(_8080bw_state::invmulti_map)
- AM_RANGE(0x0000, 0x1fff) AM_MIRROR(0x8000) AM_ROMBANK("bank1")
- AM_RANGE(0x2000, 0x3fff) AM_MIRROR(0x8000) AM_RAM AM_SHARE("main_ram")
- AM_RANGE(0x4000, 0x5fff) AM_MIRROR(0x8000) AM_ROMBANK("bank2")
- AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x1fff) AM_READWRITE(invmulti_eeprom_r, invmulti_eeprom_w)
- AM_RANGE(0xe000, 0xe000) AM_MIRROR(0x1fff) AM_WRITE(invmulti_bank_w)
-ADDRESS_MAP_END
+void _8080bw_state::invmulti_map(address_map &map)
+{
+ map(0x0000, 0x1fff).mirror(0x8000).bankr("bank1");
+ map(0x2000, 0x3fff).mirror(0x8000).ram().share("main_ram");
+ map(0x4000, 0x5fff).mirror(0x8000).bankr("bank2");
+ map(0x6000, 0x6000).mirror(0x1fff).rw(this, FUNC(_8080bw_state::invmulti_eeprom_r), FUNC(_8080bw_state::invmulti_eeprom_w));
+ map(0xe000, 0xe000).mirror(0x1fff).w(this, FUNC(_8080bw_state::invmulti_bank_w));
+}
READ8_MEMBER(_8080bw_state::invmulti_eeprom_r)
{
diff --git a/src/mame/drivers/88games.cpp b/src/mame/drivers/88games.cpp
index 9633f178e84..098bf939c6b 100644
--- a/src/mame/drivers/88games.cpp
+++ b/src/mame/drivers/88games.cpp
@@ -121,35 +121,37 @@ WRITE8_MEMBER(_88games_state::k052109_051960_w)
*
*************************************/
-ADDRESS_MAP_START(_88games_state::main_map)
- AM_RANGE(0x0000, 0x0fff) AM_READ_BANK("bank0000") /* banked ROM */
- AM_RANGE(0x1000, 0x1fff) AM_READ_BANK("bank1000") /* banked ROM + palette RAM */
- AM_RANGE(0x1000, 0x1fff) AM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
- AM_RANGE(0x2000, 0x2fff) AM_RAM
- AM_RANGE(0x3000, 0x37ff) AM_RAM AM_SHARE("nvram")
- AM_RANGE(0x3800, 0x3fff) AM_READWRITE(bankedram_r, bankedram_w) AM_SHARE("ram")
- AM_RANGE(0x4000, 0x7fff) AM_READWRITE(k052109_051960_r, k052109_051960_w)
- AM_RANGE(0x5f84, 0x5f84) AM_WRITE(k88games_5f84_w)
- AM_RANGE(0x5f88, 0x5f88) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w)
- AM_RANGE(0x5f8c, 0x5f8c) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
- AM_RANGE(0x5f90, 0x5f90) AM_WRITE(k88games_sh_irqtrigger_w)
- AM_RANGE(0x5f94, 0x5f94) AM_READ_PORT("IN0")
- AM_RANGE(0x5f95, 0x5f95) AM_READ_PORT("IN1")
- AM_RANGE(0x5f96, 0x5f96) AM_READ_PORT("IN2")
- AM_RANGE(0x5f97, 0x5f97) AM_READ_PORT("DSW1")
- AM_RANGE(0x5f9b, 0x5f9b) AM_READ_PORT("DSW2")
- AM_RANGE(0x5fc0, 0x5fcf) AM_DEVWRITE("k051316", k051316_device, ctrl_w)
- AM_RANGE(0x8000, 0xffff) AM_ROM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(_88games_state::sound_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
- AM_RANGE(0x8000, 0x87ff) AM_RAM
- AM_RANGE(0x9000, 0x9000) AM_WRITE(speech_msg_w)
- AM_RANGE(0xa000, 0xa000) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
- AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE("ymsnd", ym2151_device, read, write)
- AM_RANGE(0xe000, 0xe000) AM_WRITE(speech_control_w)
-ADDRESS_MAP_END
+void _88games_state::main_map(address_map &map)
+{
+ map(0x0000, 0x0fff).bankr("bank0000"); /* banked ROM */
+ map(0x1000, 0x1fff).bankr("bank1000"); /* banked ROM + palette RAM */
+ map(0x1000, 0x1fff).w("palette", FUNC(palette_device::write8)).share("palette");
+ map(0x2000, 0x2fff).ram();
+ map(0x3000, 0x37ff).ram().share("nvram");
+ map(0x3800, 0x3fff).rw(this, FUNC(_88games_state::bankedram_r), FUNC(_88games_state::bankedram_w)).share("ram");
+ map(0x4000, 0x7fff).rw(this, FUNC(_88games_state::k052109_051960_r), FUNC(_88games_state::k052109_051960_w));
+ map(0x5f84, 0x5f84).w(this, FUNC(_88games_state::k88games_5f84_w));
+ map(0x5f88, 0x5f88).w("watchdog", FUNC(watchdog_timer_device::reset_w));
+ map(0x5f8c, 0x5f8c).w("soundlatch", FUNC(generic_latch_8_device::write));
+ map(0x5f90, 0x5f90).w(this, FUNC(_88games_state::k88games_sh_irqtrigger_w));
+ map(0x5f94, 0x5f94).portr("IN0");
+ map(0x5f95, 0x5f95).portr("IN1");
+ map(0x5f96, 0x5f96).portr("IN2");
+ map(0x5f97, 0x5f97).portr("DSW1");
+ map(0x5f9b, 0x5f9b).portr("DSW2");
+ map(0x5fc0, 0x5fcf).w(m_k051316, FUNC(k051316_device::ctrl_w));
+ map(0x8000, 0xffff).rom();
+}
+
+void _88games_state::sound_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+ map(0x8000, 0x87ff).ram();
+ map(0x9000, 0x9000).w(this, FUNC(_88games_state::speech_msg_w));
+ map(0xa000, 0xa000).r("soundlatch", FUNC(generic_latch_8_device::read));
+ map(0xc000, 0xc001).rw("ymsnd", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
+ map(0xe000, 0xe000).w(this, FUNC(_88games_state::speech_control_w));
+}
diff --git a/src/mame/drivers/a5105.cpp b/src/mame/drivers/a5105.cpp
index a3372d1ddd9..8f2f6ff92de 100644
--- a/src/mame/drivers/a5105.cpp
+++ b/src/mame/drivers/a5105.cpp
@@ -159,13 +159,14 @@ UPD7220_DRAW_TEXT_LINE_MEMBER( a5105_state::hgdc_draw_text )
}
}
-ADDRESS_MAP_START(a5105_state::a5105_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0x3fff) AM_READ_BANK("bank1")
- AM_RANGE(0x4000, 0x7fff) AM_READ_BANK("bank2")
- AM_RANGE(0x8000, 0xbfff) AM_READWRITE_BANK("bank3")
- AM_RANGE(0xc000, 0xffff) AM_READWRITE_BANK("bank4")
-ADDRESS_MAP_END
+void a5105_state::a5105_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x3fff).bankr("bank1");
+ map(0x4000, 0x7fff).bankr("bank2");
+ map(0x8000, 0xbfff).bankrw("bank3");
+ map(0xc000, 0xffff).bankrw("bank4");
+}
WRITE8_MEMBER( a5105_state::pcg_addr_w )
{
@@ -352,26 +353,27 @@ WRITE8_MEMBER( a5105_state::a5105_upd765_w )
m_fdc->tc_w(BIT(data, 4));
}
-ADDRESS_MAP_START(a5105_state::a5105_io)
- ADDRESS_MAP_UNMAP_HIGH
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x40, 0x41) AM_DEVICE("upd765a", upd765a_device, map)
- AM_RANGE(0x48, 0x4f) AM_WRITE(a5105_upd765_w)
+void a5105_state::a5105_io(address_map &map)
+{
+ map.unmap_value_high();
+ map.global_mask(0xff);
+ map(0x40, 0x41).m(m_fdc, FUNC(upd765a_device::map));
+ map(0x48, 0x4f).w(this, FUNC(a5105_state::a5105_upd765_w));
- AM_RANGE(0x80, 0x83) AM_DEVREADWRITE("z80ctc", z80ctc_device, read, write)
- AM_RANGE(0x90, 0x93) AM_DEVREADWRITE("z80pio", z80pio_device, read, write)
- AM_RANGE(0x98, 0x99) AM_DEVREADWRITE("upd7220", upd7220_device, read, write)
+ map(0x80, 0x83).rw("z80ctc", FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
+ map(0x90, 0x93).rw("z80pio", FUNC(z80pio_device::read), FUNC(z80pio_device::write));
+ map(0x98, 0x99).rw(m_hgdc, FUNC(upd7220_device::read), FUNC(upd7220_device::write));
- AM_RANGE(0x9c, 0x9c) AM_WRITE(pcg_val_w)
+ map(0x9c, 0x9c).w(this, FUNC(a5105_state::pcg_val_w));
// AM_RANGE(0x9d, 0x9d) crtc area (ff-based), palette routes here
- AM_RANGE(0x9e, 0x9e) AM_WRITE(pcg_addr_w)
+ map(0x9e, 0x9e).w(this, FUNC(a5105_state::pcg_addr_w));
// AM_RANGE(0xa0, 0xa1) ay8910?
- AM_RANGE(0xa8, 0xa8) AM_READWRITE(a5105_memsel_r,a5105_memsel_w)
- AM_RANGE(0xa9, 0xa9) AM_READ(key_r)
- AM_RANGE(0xaa, 0xaa) AM_READWRITE(key_mux_r,key_mux_w)
- AM_RANGE(0xab, 0xab) AM_WRITE(a5105_ab_w) //misc output, see above
-ADDRESS_MAP_END
+ map(0xa8, 0xa8).rw(this, FUNC(a5105_state::a5105_memsel_r), FUNC(a5105_state::a5105_memsel_w));
+ map(0xa9, 0xa9).r(this, FUNC(a5105_state::key_r));
+ map(0xaa, 0xaa).rw(this, FUNC(a5105_state::key_mux_r), FUNC(a5105_state::key_mux_w));
+ map(0xab, 0xab).w(this, FUNC(a5105_state::a5105_ab_w)); //misc output, see above
+}
/* Input ports */
static INPUT_PORTS_START( a5105 )
@@ -542,10 +544,11 @@ void a5105_state::video_start()
m_char_ram = memregion("pcg")->base();
}
-ADDRESS_MAP_START(a5105_state::upd7220_map)
- ADDRESS_MAP_GLOBAL_MASK(0x1ffff)
- AM_RANGE(0x00000, 0x1ffff) AM_RAM AM_SHARE("video_ram")
-ADDRESS_MAP_END
+void a5105_state::upd7220_map(address_map &map)
+{
+ map.global_mask(0x1ffff);
+ map(0x00000, 0x1ffff).ram().share("video_ram");
+}
FLOPPY_FORMATS_MEMBER( a5105_state::floppy_formats )
FLOPPY_A5105_FORMAT
diff --git a/src/mame/drivers/a51xx.cpp b/src/mame/drivers/a51xx.cpp
index 239d17c8f09..c1a93dd266c 100644
--- a/src/mame/drivers/a51xx.cpp
+++ b/src/mame/drivers/a51xx.cpp
@@ -40,27 +40,31 @@ public:
};
-ADDRESS_MAP_START(a51xx_state::a5120_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE( 0x0000, 0x03ff ) AM_ROM
- AM_RANGE( 0x0400, 0xffff ) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(a51xx_state::a5120_io)
- ADDRESS_MAP_UNMAP_HIGH
- ADDRESS_MAP_GLOBAL_MASK(0xff)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(a51xx_state::a5130_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE( 0x0000, 0x0fff ) AM_ROM
- AM_RANGE( 0x1000, 0xffff ) AM_RAM
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(a51xx_state::a5130_io)
- ADDRESS_MAP_UNMAP_HIGH
- ADDRESS_MAP_GLOBAL_MASK(0xff)
-ADDRESS_MAP_END
+void a51xx_state::a5120_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x03ff).rom();
+ map(0x0400, 0xffff).ram();
+}
+
+void a51xx_state::a5120_io(address_map &map)
+{
+ map.unmap_value_high();
+ map.global_mask(0xff);
+}
+
+void a51xx_state::a5130_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x0fff).rom();
+ map(0x1000, 0xffff).ram();
+}
+
+void a51xx_state::a5130_io(address_map &map)
+{
+ map.unmap_value_high();
+ map.global_mask(0xff);
+}
/* Input ports */
diff --git a/src/mame/drivers/a6809.cpp b/src/mame/drivers/a6809.cpp
index a8438792beb..5d242f43b42 100644
--- a/src/mame/drivers/a6809.cpp
+++ b/src/mame/drivers/a6809.cpp
@@ -103,16 +103,17 @@ private:
};
-ADDRESS_MAP_START(a6809_state::a6809_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000,0x03ff) AM_RAM
- AM_RANGE(0x0400,0x07ff) AM_RAM AM_SHARE("videoram")
- AM_RANGE(0x0800,0x0800) AM_DEVREAD("mc6845", mc6845_device, status_r) AM_WRITE(a6809_address_w)
- AM_RANGE(0x0801,0x0801) AM_DEVREAD("mc6845", mc6845_device, register_r) AM_WRITE(a6809_register_w)
- AM_RANGE(0x0900,0x090f) AM_MIRROR(0xf0) AM_DEVREADWRITE("via", via6522_device, read, write)
- AM_RANGE(0xf000,0xf7ff) // optional ROM
- AM_RANGE(0xf800,0xffff) AM_ROM AM_REGION("maincpu", 0)
-ADDRESS_MAP_END
+void a6809_state::a6809_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0x03ff).ram();
+ map(0x0400, 0x07ff).ram().share("videoram");
+ map(0x0800, 0x0800).r(m_crtc, FUNC(mc6845_device::status_r)).w(this, FUNC(a6809_state::a6809_address_w));
+ map(0x0801, 0x0801).r(m_crtc, FUNC(mc6845_device::register_r)).w(this, FUNC(a6809_state::a6809_register_w));
+ map(0x0900, 0x090f).mirror(0xf0).rw(m_via, FUNC(via6522_device::read), FUNC(via6522_device::write));
+ map(0xf000, 0xf7ff); // optional ROM
+ map(0xf800, 0xffff).rom().region("maincpu", 0);
+}
/* Input ports */
static INPUT_PORTS_START( a6809 )
diff --git a/src/mame/drivers/a7150.cpp b/src/mame/drivers/a7150.cpp
index d1f91c5daff..ce04d203036 100644
--- a/src/mame/drivers/a7150.cpp
+++ b/src/mame/drivers/a7150.cpp
@@ -281,62 +281,67 @@ WRITE8_MEMBER(a7150_state::a7150_kgs_w)
}
-ADDRESS_MAP_START(a7150_state::a7150_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x00000, 0xf7fff) AM_RAM
- AM_RANGE(0xf8000, 0xfffff) AM_ROM AM_REGION("user1", 0)
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(a7150_state::a7150_io)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x004a, 0x004b) AM_DEVWRITE8("isbc_215g", isbc_215g_device, write, 0x00ff) // KES board
- AM_RANGE(0x00c0, 0x00c3) AM_DEVREADWRITE8("pic8259", pic8259_device, read, write, 0x00ff)
- AM_RANGE(0x00c8, 0x00cf) AM_DEVREADWRITE8("ppi8255", i8255_device, read, write, 0x00ff)
- AM_RANGE(0x00d0, 0x00d7) AM_DEVREADWRITE8("pit8253", pit8253_device, read, write, 0x00ff)
- AM_RANGE(0x00d8, 0x00d9) AM_DEVREADWRITE8("uart8251", i8251_device, data_r, data_w, 0x00ff)
- AM_RANGE(0x00da, 0x00db) AM_DEVREADWRITE8("uart8251", i8251_device, status_r, control_w, 0x00ff)
- AM_RANGE(0x0200, 0x0203) AM_READWRITE8(a7150_kgs_r, a7150_kgs_w, 0x00ff) // ABS/KGS board
- AM_RANGE(0x0300, 0x031f) AM_UNMAP // ASP board #1
- AM_RANGE(0x0320, 0x033f) AM_UNMAP // ASP board #2
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(a7150_state::k7070_cpu_banked)
- ADDRESS_MAP_UNMAP_HIGH
+void a7150_state::a7150_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x00000, 0xf7fff).ram();
+ map(0xf8000, 0xfffff).rom().region("user1", 0);
+}
+
+void a7150_state::a7150_io(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x004a, 0x004a).w("isbc_215g", FUNC(isbc_215g_device::write)); // KES board
+ map(0x00c0, 0x00c3).rw(m_pic8259, FUNC(pic8259_device::read), FUNC(pic8259_device::write)).umask16(0x00ff);
+ map(0x00c8, 0x00cf).rw("ppi8255", FUNC(i8255_device::read), FUNC(i8255_device::write)).umask16(0x00ff);
+ map(0x00d0, 0x00d7).rw(m_pit8253, FUNC(pit8253_device::read), FUNC(pit8253_device::write)).umask16(0x00ff);
+ map(0x00d8, 0x00d8).rw(m_uart8251, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
+ map(0x00da, 0x00da).rw(m_uart8251, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
+ map(0x0200, 0x0203).rw(this, FUNC(a7150_state::a7150_kgs_r), FUNC(a7150_state::a7150_kgs_w)).umask16(0x00ff); // ABS/KGS board
+ map(0x0300, 0x031f).unmaprw(); // ASP board #1
+ map(0x0320, 0x033f).unmaprw(); // ASP board #2
+}
+
+void a7150_state::k7070_cpu_banked(address_map &map)
+{
+ map.unmap_value_high();
// default map: IML=0, MSEL=0. ROM + local RAM.
- AM_RANGE(0x00000, 0x01fff) AM_ROM AM_REGION("user2", 0)
- AM_RANGE(0x02000, 0x07fff) AM_RAMBANK("kgs_ram1")
- AM_RANGE(0x08000, 0x0ffff) AM_RAMBANK("kgs_ram2")
+ map(0x00000, 0x01fff).rom().region("user2", 0);
+ map(0x02000, 0x07fff).bankrw("kgs_ram1");
+ map(0x08000, 0x0ffff).bankrw("kgs_ram2");
// IML=1, MSEL=0. local RAM only.
- AM_RANGE(0x10000, 0x11fff) AM_RAMBANK("kgs_ram0")
- AM_RANGE(0x12000, 0x17fff) AM_RAMBANK("kgs_ram1")
- AM_RANGE(0x18000, 0x1ffff) AM_RAMBANK("kgs_ram2")
+ map(0x10000, 0x11fff).bankrw("kgs_ram0");
+ map(0x12000, 0x17fff).bankrw("kgs_ram1");
+ map(0x18000, 0x1ffff).bankrw("kgs_ram2");
// IML=0, MSEL=1. ROM + local RAM.
- AM_RANGE(0x20000, 0x21fff) AM_ROM AM_REGION("user2", 0)
- AM_RANGE(0x22000, 0x27fff) AM_RAMBANK("kgs_ram1")
+ map(0x20000, 0x21fff).rom().region("user2", 0);
+ map(0x22000, 0x27fff).bankrw("kgs_ram1");
// IML=1, MSEL=1. local RAM only.
- AM_RANGE(0x30000, 0x31fff) AM_RAMBANK("kgs_ram0")
- AM_RANGE(0x32000, 0x37fff) AM_RAMBANK("kgs_ram1")
- AM_RANGE(0x38000, 0x3ffff) AM_RAM AM_SHARE("video_ram")
-ADDRESS_MAP_END
-
-ADDRESS_MAP_START(a7150_state::k7070_cpu_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x0000, 0xffff) AM_DEVREADWRITE("video_bankdev", address_map_bank_device, read8, write8)
-ADDRESS_MAP_END
-
-
-ADDRESS_MAP_START(a7150_state::k7070_cpu_io)
- ADDRESS_MAP_UNMAP_HIGH
- ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x0000, 0x0003) AM_DEVREADWRITE(Z80CTC_TAG, z80ctc_device, read, write)
- AM_RANGE(0x0008, 0x000b) AM_DEVREADWRITE(Z80SIO_TAG, z80sio_device, ba_cd_r, ba_cd_w)
- AM_RANGE(0x0010, 0x0017) AM_READWRITE(kgs_host_r, kgs_host_w) // p. 11 of KGS-K7070.pdf
-
- AM_RANGE(0x0020, 0x0021) AM_NOP // address register
- AM_RANGE(0x0022, 0x0022) AM_NOP // function register (p. 6 of ABG-K7072.pdf)
- AM_RANGE(0x0023, 0x0023) AM_NOP // split register
- AM_RANGE(0x0030, 0x003f) AM_NOP // palette register
-ADDRESS_MAP_END
+ map(0x30000, 0x31fff).bankrw("kgs_ram0");
+ map(0x32000, 0x37fff).bankrw("kgs_ram1");
+ map(0x38000, 0x3ffff).ram().share("video_ram");
+}
+
+void a7150_state::k7070_cpu_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x0000, 0xffff).rw(m_video_bankdev, FUNC(address_map_bank_device::read8), FUNC(address_map_bank_device::write8));
+}
+
+
+void a7150_state::k7070_cpu_io(address_map &map)
+{
+ map.unmap_value_high();
+ map.global_mask(0xff);
+ map(0x0000, 0x0003).rw(m_ctc, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
+ map(0x0008, 0x000b).rw(Z80SIO_TAG, FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w));
+ map(0x0010, 0x0017).rw(this, FUNC(a7150_state::kgs_host_r), FUNC(a7150_state::kgs_host_w)); // p. 11 of KGS-K7070.pdf
+
+ map(0x0020, 0x0021).noprw(); // address register
+ map(0x0022, 0x0022).noprw(); // function register (p. 6 of ABG-K7072.pdf)
+ map(0x0023, 0x0023).noprw(); // split register
+ map(0x0030, 0x003f).noprw(); // palette register
+}
/* Input ports */
static INPUT_PORTS_START( a7150 )
diff --git a/src/mame/drivers/a7800.cpp b/src/mame/drivers/a7800.cpp
index dc9f9a35a66..e2d60a0a130 100644
--- a/src/mame/drivers/a7800.cpp
+++ b/src/mame/drivers/a7800.cpp
@@ -301,25 +301,26 @@ READ8_MEMBER(a7800_state::bios_or_cart_r)
ADDRESS MAPS
***************************************************************************/
-ADDRESS_MAP_START(a7800_state::a7800_mem)
- AM_RANGE(0x0000, 0x001f) AM_MIRROR(0x300) AM_READWRITE(tia_r, tia_w)
- AM_RANGE(0x0020, 0x003f) AM_MIRROR(0x300) AM_DEVREADWRITE("maria", atari_maria_device, read, write)
- AM_RANGE(0x0040, 0x00ff) AM_RAMBANK("zpmirror") // mirror of 0x2040-0x20ff, for zero page
- AM_RANGE(0x0140, 0x01ff) AM_RAMBANK("spmirror") // mirror of 0x2140-0x21ff, for stack page
- AM_RANGE(0x0280, 0x029f) AM_MIRROR(0x160) AM_DEVICE("riot", mos6532_new_device, io_map)
- AM_RANGE(0x0480, 0x04ff) AM_MIRROR(0x100) AM_DEVICE("riot", mos6532_new_device, ram_map)
- AM_RANGE(0x1800, 0x1fff) AM_RAM AM_SHARE("6116_1")
- AM_RANGE(0x2000, 0x27ff) AM_RAM AM_SHARE("6116_2")
+void a7800_state::a7800_mem(address_map &map)
+{
+ map(0x0000, 0x001f).mirror(0x300).rw(this, FUNC(a7800_state::tia_r), FUNC(a7800_state::tia_w));
+ map(0x0020, 0x003f).mirror(0x300).rw(m_maria, FUNC(atari_maria_device::read), FUNC(atari_maria_device::write));
+ map(0x0040, 0x00ff).bankrw("zpmirror"); // mirror of 0x2040-0x20ff, for zero page
+ map(0x0140, 0x01ff).bankrw("spmirror"); // mirror of 0x2140-0x21ff, for stack page
+ map(0x0280, 0x029f).mirror(0x160).m("riot", FUNC(mos6532_new_device::io_map));
+ map(0x0480, 0x04ff).mirror(0x100).m("riot", FUNC(mos6532_new_device::ram_map));
+ map(0x1800, 0x1fff).ram().share("6116_1");
+ map(0x2000, 0x27ff).ram().share("6116_2");
// According to the official Software Guide, the RAM at 0x2000 is
// repeatedly mirrored up to 0x3fff, but this is evidently incorrect
// because the High Score Cartridge maps ROM at 0x3000-0x3fff
// Hardware tests show that only the page at 0x2700 appears at
// 0x2800, and only on some hardware (MARIA? motherboard?) revisions,
// and even then with inconsistent and unreliable results.
- AM_RANGE(0x4000, 0xffff) AM_DEVWRITE("cartslot", a78_cart_slot_device, write_40xx)
- AM_RANGE(0x4000, 0xbfff) AM_DEVREAD("cartslot", a78_cart_slot_device, read_40xx)
- AM_RANGE(0xc000, 0xffff) AM_READ(bios_or_cart_r) // here also the BIOS can be accessed
-ADDRESS_MAP_END
+ map(0x4000, 0xffff).w(m_cart, FUNC(a78_cart_slot_device::write_40xx));
+ map(0x4000, 0xbfff).r(m_cart, FUNC(a78_cart_slot_device::read_40xx));
+ map(0xc000, 0xffff).r(this, FUNC(a7800_state::bios_or_cart_r)); // here also the BIOS can be accessed
+}
/***************************************************************************
diff --git a/src/mame/drivers/aa310.cpp b/src/mame/drivers/aa310.cpp
index 089251142a5..472fcfd372a 100644
--- a/src/mame/drivers/aa310.cpp
+++ b/src/mame/drivers/aa310.cpp
@@ -188,14 +188,15 @@ void aa310_state::machine_reset()
archimedes_reset();
}
-ADDRESS_MAP_START(aa310_state::aa310_mem)
- AM_RANGE(0x00000000, 0x01ffffff) AM_READWRITE(archimedes_memc_logical_r, archimedes_memc_logical_w)
- AM_RANGE(0x02000000, 0x02ffffff) AM_RAM AM_SHARE("physicalram") /* physical RAM - 16 MB for now, should be 512k for the A310 */
- AM_RANGE(0x03000000, 0x033fffff) AM_READWRITE(archimedes_ioc_r, archimedes_ioc_w)
- AM_RANGE(0x03400000, 0x035fffff) AM_