summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-17 15:00:31 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-17 15:00:31 +0000
commit5ddbca3e7a2327786fd92cc7443dd84257ba889a (patch)
treef6eb4b827714a8658ea246336342b03d6d7938e0 /src/mame
parentf27b07d0822f4ff52b95a1a0143f3c2313ea02ce (diff)
Modernized screen update calls (no whatsnew)
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/1942.c2
-rw-r--r--src/mame/drivers/1943.c2
-rw-r--r--src/mame/drivers/1945kiii.c8
-rw-r--r--src/mame/drivers/2mindril.c5
-rw-r--r--src/mame/drivers/39in1.c12
-rw-r--r--src/mame/drivers/3do.c4
-rw-r--r--src/mame/drivers/40love.c4
-rw-r--r--src/mame/drivers/4enraya.c2
-rw-r--r--src/mame/drivers/4roses.c2
-rw-r--r--src/mame/drivers/5clown.c8
-rw-r--r--src/mame/drivers/8080bw.c30
-rw-r--r--src/mame/drivers/88games.c2
-rw-r--r--src/mame/drivers/ace.c12
-rw-r--r--src/mame/drivers/acefruit.c12
-rw-r--r--src/mame/drivers/acommand.c22
-rw-r--r--src/mame/drivers/actfancr.c4
-rw-r--r--src/mame/drivers/adp.c31
-rw-r--r--src/mame/drivers/aeroboto.c2
-rw-r--r--src/mame/drivers/aerofgt.c24
-rw-r--r--src/mame/drivers/airbustr.c4
-rw-r--r--src/mame/drivers/ajax.c2
-rw-r--r--src/mame/drivers/albazc.c5
-rw-r--r--src/mame/drivers/albazg.c8
-rw-r--r--src/mame/drivers/aleck64.c2
-rw-r--r--src/mame/drivers/alg.c2
-rw-r--r--src/mame/drivers/aliens.c2
-rw-r--r--src/mame/drivers/alpha68k.c18
-rw-r--r--src/mame/drivers/amaticmg.c22
-rw-r--r--src/mame/drivers/ambush.c2
-rw-r--r--src/mame/drivers/ampoker2.c2
-rw-r--r--src/mame/drivers/amspdwy.c2
-rw-r--r--src/mame/drivers/angelkds.c2
-rw-r--r--src/mame/drivers/appoooh.c4
-rw-r--r--src/mame/drivers/aquarium.c2
-rw-r--r--src/mame/drivers/arabian.c2
-rw-r--r--src/mame/drivers/arcadecl.c2
-rw-r--r--src/mame/drivers/arcadia.c2
-rw-r--r--src/mame/drivers/argus.c6
-rw-r--r--src/mame/drivers/aristmk4.c16
-rw-r--r--src/mame/drivers/aristmk6.c36
-rw-r--r--src/mame/drivers/arkanoid.c4
-rw-r--r--src/mame/drivers/armedf.c16
-rw-r--r--src/mame/drivers/ashnojoe.c2
-rw-r--r--src/mame/drivers/asterix.c2
-rw-r--r--src/mame/drivers/astinvad.c30
-rw-r--r--src/mame/drivers/astrocde.c4
-rw-r--r--src/mame/drivers/astrocorp.c12
-rw-r--r--src/mame/drivers/astrof.c10
-rw-r--r--src/mame/drivers/asuka.c31
-rw-r--r--src/mame/drivers/atarifb.c6
-rw-r--r--src/mame/drivers/atarig1.c4
-rw-r--r--src/mame/drivers/atarig42.c4
-rw-r--r--src/mame/drivers/atarigt.c4
-rw-r--r--src/mame/drivers/atarigx2.c4
-rw-r--r--src/mame/drivers/atarisy1.c2
-rw-r--r--src/mame/drivers/atarisy2.c2
-rw-r--r--src/mame/drivers/atarisy4.c8
-rw-r--r--src/mame/drivers/atetris.c4
-rw-r--r--src/mame/drivers/atlantis.c5
-rw-r--r--src/mame/drivers/atvtrack.c5
-rw-r--r--src/mame/drivers/avalnche.c11
-rw-r--r--src/mame/drivers/avt.c16
-rw-r--r--src/mame/drivers/backfire.c60
-rw-r--r--src/mame/drivers/badlands.c4
-rw-r--r--src/mame/drivers/bagman.c6
-rw-r--r--src/mame/drivers/balsente.c2
-rw-r--r--src/mame/drivers/bankp.c2
-rw-r--r--src/mame/drivers/baraduke.c4
-rw-r--r--src/mame/drivers/batman.c2
-rw-r--r--src/mame/drivers/battlane.c2
-rw-r--r--src/mame/drivers/battlera.c2
-rw-r--r--src/mame/drivers/battlex.c2
-rw-r--r--src/mame/drivers/battlnts.c2
-rw-r--r--src/mame/drivers/bbusters.c13
-rw-r--r--src/mame/drivers/beaminv.c10
-rw-r--r--src/mame/drivers/beezer.c2
-rw-r--r--src/mame/drivers/berzerk.c12
-rw-r--r--src/mame/drivers/bestleag.c52
-rw-r--r--src/mame/drivers/bfcobra.c32
-rw-r--r--src/mame/drivers/bigevglf.c2
-rw-r--r--src/mame/drivers/bigstrkb.c2
-rw-r--r--src/mame/drivers/bingoc.c5
-rw-r--r--src/mame/drivers/bingor.c14
-rw-r--r--src/mame/drivers/bionicc.c2
-rw-r--r--src/mame/drivers/bishi.c2
-rw-r--r--src/mame/drivers/bking.c4
-rw-r--r--src/mame/drivers/blackt96.c8
-rw-r--r--src/mame/drivers/bladestl.c2
-rw-r--r--src/mame/drivers/blitz.c8
-rw-r--r--src/mame/drivers/blitz68k.c28
-rw-r--r--src/mame/drivers/blktiger.c2
-rw-r--r--src/mame/drivers/blmbycar.c4
-rw-r--r--src/mame/drivers/blockade.c2
-rw-r--r--src/mame/drivers/blockhl.c2
-rw-r--r--src/mame/drivers/blockout.c2
-rw-r--r--src/mame/drivers/bloodbro.c6
-rw-r--r--src/mame/drivers/blstroid.c2
-rw-r--r--src/mame/drivers/blueprnt.c2
-rw-r--r--src/mame/drivers/bmcbowl.c14
-rw-r--r--src/mame/drivers/bmcpokr.c8
-rw-r--r--src/mame/drivers/bnstars.c40
-rw-r--r--src/mame/drivers/bogeyman.c2
-rw-r--r--src/mame/drivers/bombjack.c2
-rw-r--r--src/mame/drivers/boogwing.c2
-rw-r--r--src/mame/drivers/bottom9.c2
-rw-r--r--src/mame/drivers/boxer.c8
-rw-r--r--src/mame/drivers/brkthru.c4
-rw-r--r--src/mame/drivers/bsktball.c2
-rw-r--r--src/mame/drivers/btime.c14
-rw-r--r--src/mame/drivers/bublbobl.c4
-rw-r--r--src/mame/drivers/buggychl.c2
-rw-r--r--src/mame/drivers/buster.c8
-rw-r--r--src/mame/drivers/bwing.c2
-rw-r--r--src/mame/drivers/cabal.c4
-rw-r--r--src/mame/drivers/cabaret.c10
-rw-r--r--src/mame/drivers/calomega.c2
-rw-r--r--src/mame/drivers/calorie.c30
-rw-r--r--src/mame/drivers/canyon.c2
-rw-r--r--src/mame/drivers/capbowl.c2
-rw-r--r--src/mame/drivers/cardline.c14
-rw-r--r--src/mame/drivers/carjmbre.c2
-rw-r--r--src/mame/drivers/carpolo.c4
-rw-r--r--src/mame/drivers/carrera.c8
-rw-r--r--src/mame/drivers/caswin.c8
-rw-r--r--src/mame/drivers/cave.c30
-rw-r--r--src/mame/drivers/cb2001.c44
-rw-r--r--src/mame/drivers/cball.c14
-rw-r--r--src/mame/drivers/cbasebal.c2
-rw-r--r--src/mame/drivers/cbuster.c2
-rw-r--r--src/mame/drivers/ccastles.c2
-rw-r--r--src/mame/drivers/cchance.c4
-rw-r--r--src/mame/drivers/cclimber.c8
-rw-r--r--src/mame/drivers/cd32.c2
-rw-r--r--src/mame/drivers/cdi.c4
-rw-r--r--src/mame/drivers/centiped.c10
-rw-r--r--src/mame/drivers/chaknpop.c2
-rw-r--r--src/mame/drivers/cham24.c5
-rw-r--r--src/mame/drivers/champbas.c25
-rw-r--r--src/mame/drivers/champbwl.c24
-rw-r--r--src/mame/drivers/chanbara.c12
-rw-r--r--src/mame/drivers/chance32.c18
-rw-r--r--src/mame/drivers/changela.c2
-rw-r--r--src/mame/drivers/cheekyms.c2
-rw-r--r--src/mame/drivers/chinagat.c6
-rw-r--r--src/mame/drivers/chinsan.c10
-rw-r--r--src/mame/drivers/chqflag.c2
-rw-r--r--src/mame/drivers/cinemat.c4
-rw-r--r--src/mame/drivers/circus.c8
-rw-r--r--src/mame/drivers/circusc.c2
-rw-r--r--src/mame/drivers/cischeat.c8
-rw-r--r--src/mame/drivers/citycon.c2
-rw-r--r--src/mame/drivers/clayshoo.c10
-rw-r--r--src/mame/drivers/cloak.c2
-rw-r--r--src/mame/drivers/cloud9.c2
-rw-r--r--src/mame/drivers/clshroad.c4
-rw-r--r--src/mame/drivers/cmmb.c8
-rw-r--r--src/mame/drivers/cninja.c12
-rw-r--r--src/mame/drivers/cntsteer.c46
-rw-r--r--src/mame/drivers/cobra.c10
-rw-r--r--src/mame/drivers/coinmstr.c8
-rw-r--r--src/mame/drivers/coinmvga.c8
-rw-r--r--src/mame/drivers/combatsc.c4
-rw-r--r--src/mame/drivers/commando.c2
-rw-r--r--src/mame/drivers/compgolf.c2
-rw-r--r--src/mame/drivers/contra.c2
-rw-r--r--src/mame/drivers/coolridr.c42
-rw-r--r--src/mame/drivers/cop01.c4
-rw-r--r--src/mame/drivers/copsnrob.c2
-rw-r--r--src/mame/drivers/corona.c22
-rw-r--r--src/mame/drivers/cosmic.c12
-rw-r--r--src/mame/drivers/cps1.c16
-rw-r--r--src/mame/drivers/cps2.c4
-rw-r--r--src/mame/drivers/cps3.c97
-rw-r--r--src/mame/drivers/crbaloon.c2
-rw-r--r--src/mame/drivers/crimfght.c2
-rw-r--r--src/mame/drivers/crospang.c2
-rw-r--r--src/mame/drivers/crshrace.c4
-rw-r--r--src/mame/drivers/crystal.c30
-rw-r--r--src/mame/drivers/cshooter.c18
-rw-r--r--src/mame/drivers/cubeqst.c16
-rw-r--r--src/mame/drivers/cultures.c36
-rw-r--r--src/mame/drivers/cvs.c2
-rw-r--r--src/mame/drivers/cyberbal.c6
-rw-r--r--src/mame/drivers/cybertnk.c10
-rw-r--r--src/mame/drivers/cyclemb.c10
-rw-r--r--src/mame/drivers/d9final.c8
-rw-r--r--src/mame/drivers/dacholer.c20
-rw-r--r--src/mame/drivers/dai3wksi.c18
-rw-r--r--src/mame/drivers/dambustr.c2
-rw-r--r--src/mame/drivers/darius.c6
-rw-r--r--src/mame/drivers/darkmist.c2
-rw-r--r--src/mame/drivers/darkseal.c2
-rw-r--r--src/mame/drivers/dassault.c2
-rw-r--r--src/mame/drivers/dblewing.c20
-rw-r--r--src/mame/drivers/dbz.c2
-rw-r--r--src/mame/drivers/dcheese.c2
-rw-r--r--src/mame/drivers/dcon.c4
-rw-r--r--src/mame/drivers/dday.c2
-rw-r--r--src/mame/drivers/ddayjlc.c22
-rw-r--r--src/mame/drivers/ddealer.c30
-rw-r--r--src/mame/drivers/ddenlovr.c61
-rw-r--r--src/mame/drivers/ddragon.c6
-rw-r--r--src/mame/drivers/ddragon3.c4
-rw-r--r--src/mame/drivers/ddribble.c2
-rw-r--r--src/mame/drivers/ddz.c10
-rw-r--r--src/mame/drivers/deadang.c2
-rw-r--r--src/mame/drivers/dec0.c20
-rw-r--r--src/mame/drivers/dec8.c31
-rw-r--r--src/mame/drivers/deco156.c18
-rw-r--r--src/mame/drivers/deco32.c20
-rw-r--r--src/mame/drivers/deco_ld.c18
-rw-r--r--src/mame/drivers/deco_mlc.c8
-rw-r--r--src/mame/drivers/decocass.c2
-rw-r--r--src/mame/drivers/deniam.c4
-rw-r--r--src/mame/drivers/deshoros.c9
-rw-r--r--src/mame/drivers/destroyr.c22
-rw-r--r--src/mame/drivers/dgpix.c8
-rw-r--r--src/mame/drivers/dietgo.c2
-rw-r--r--src/mame/drivers/discoboy.c16
-rw-r--r--src/mame/drivers/diverboy.c5
-rw-r--r--src/mame/drivers/djboy.c4
-rw-r--r--src/mame/drivers/djmain.c2
-rw-r--r--src/mame/drivers/dkong.c8
-rw-r--r--src/mame/drivers/dlair.c8
-rw-r--r--src/mame/drivers/dmndrby.c44
-rw-r--r--src/mame/drivers/docastle.c2
-rw-r--r--src/mame/drivers/dogfgt.c2
-rw-r--r--src/mame/drivers/dominob.c14
-rw-r--r--src/mame/drivers/dooyong.c18
-rw-r--r--src/mame/drivers/dorachan.c14
-rw-r--r--src/mame/drivers/dotrikun.c12
-rw-r--r--src/mame/drivers/dragrace.c2
-rw-r--r--src/mame/drivers/dreamwld.c52
-rw-r--r--src/mame/drivers/drgnmst.c2
-rw-r--r--src/mame/drivers/dribling.c2
-rw-r--r--src/mame/drivers/drmicro.c2
-rw-r--r--src/mame/drivers/drtomy.c10
-rw-r--r--src/mame/drivers/drw80pkr.c8
-rw-r--r--src/mame/drivers/dunhuang.c18
-rw-r--r--src/mame/drivers/dwarfd.c5
-rw-r--r--src/mame/drivers/dynadice.c10
-rw-r--r--src/mame/drivers/dynax.c20
-rw-r--r--src/mame/drivers/dynduke.c2
-rw-r--r--src/mame/drivers/egghunt.c8
-rw-r--r--src/mame/drivers/embargo.c10
-rw-r--r--src/mame/drivers/enigma2.c32
-rw-r--r--src/mame/drivers/eolith.c2
-rw-r--r--src/mame/drivers/eolith16.c10
-rw-r--r--src/mame/drivers/epos.c4
-rw-r--r--src/mame/drivers/eprom.c6
-rw-r--r--src/mame/drivers/equites.c4
-rw-r--r--src/mame/drivers/esd16.c2
-rw-r--r--src/mame/drivers/esh.c16
-rw-r--r--src/mame/drivers/espial.c2
-rw-r--r--src/mame/drivers/esripsys.c2
-rw-r--r--src/mame/drivers/ettrivia.c10
-rw-r--r--src/mame/drivers/exedexes.c2
-rw-r--r--src/mame/drivers/exerion.c2
-rw-r--r--src/mame/drivers/exidy.c2
-rw-r--r--src/mame/drivers/expro02.c16
-rw-r--r--src/mame/drivers/exprraid.c2
-rw-r--r--src/mame/drivers/exzisus.c2
-rw-r--r--src/mame/drivers/f-32.c10
-rw-r--r--src/mame/drivers/f1gp.c6
-rw-r--r--src/mame/drivers/famibox.c5
-rw-r--r--src/mame/drivers/fantland.c8
-rw-r--r--src/mame/drivers/fastfred.c4
-rw-r--r--src/mame/drivers/fastlane.c2
-rw-r--r--src/mame/drivers/fcombat.c2
-rw-r--r--src/mame/drivers/fcrash.c86
-rw-r--r--src/mame/drivers/feversoc.c8
-rw-r--r--src/mame/drivers/fgoal.c2
-rw-r--r--src/mame/drivers/finalizr.c2
-rw-r--r--src/mame/drivers/firebeat.c12
-rw-r--r--src/mame/drivers/firefox.c10
-rw-r--r--src/mame/drivers/firetrap.c4
-rw-r--r--src/mame/drivers/firetrk.c6
-rw-r--r--src/mame/drivers/fitfight.c4
-rw-r--r--src/mame/drivers/flipjack.c18
-rw-r--r--src/mame/drivers/flkatck.c2
-rw-r--r--src/mame/drivers/flower.c2
-rw-r--r--src/mame/drivers/flstory.c8
-rw-r--r--src/mame/drivers/flyball.c20
-rw-r--r--src/mame/drivers/foodf.c2
-rw-r--r--src/mame/drivers/fortecar.c12
-rw-r--r--src/mame/drivers/freekick.c6
-rw-r--r--src/mame/drivers/fromanc2.c12
-rw-r--r--src/mame/drivers/fromance.c6
-rw-r--r--src/mame/drivers/funkball.c3
-rw-r--r--src/mame/drivers/funkybee.c2
-rw-r--r--src/mame/drivers/funkyjet.c2
-rw-r--r--src/mame/drivers/funworld.c2
-rw-r--r--src/mame/drivers/funybubl.c2
-rw-r--r--src/mame/drivers/fuukifg2.c2
-rw-r--r--src/mame/drivers/fuukifg3.c4
-rw-r--r--src/mame/drivers/gaelco.c8
-rw-r--r--src/mame/drivers/gaelco2.c16
-rw-r--r--src/mame/drivers/gaelco3d.c2
-rw-r--r--src/mame/drivers/gaiden.c8
-rw-r--r--src/mame/drivers/gal3.c18
-rw-r--r--src/mame/drivers/galaga.c12
-rw-r--r--src/mame/drivers/galastrm.c2
-rw-r--r--src/mame/drivers/galaxi.c16
-rw-r--r--src/mame/drivers/galaxia.c4
-rw-r--r--src/mame/drivers/galaxian.c2
-rw-r--r--src/mame/drivers/galaxold.c10
-rw-r--r--src/mame/drivers/galgame.c10
-rw-r--r--src/mame/drivers/galivan.c4
-rw-r--r--src/mame/drivers/galpani2.c2
-rw-r--r--src/mame/drivers/galpani3.c52
-rw-r--r--src/mame/drivers/galpanic.c18
-rw-r--r--src/mame/drivers/galspnbl.c2
-rw-r--r--src/mame/drivers/gamecstl.c8
-rw-r--r--src/mame/drivers/gaplus.c4
-rw-r--r--src/mame/drivers/gatron.c2
-rw-r--r--src/mame/drivers/gauntlet.c2
-rw-r--r--src/mame/drivers/gberet.c4
-rw-r--r--src/mame/drivers/gbusters.c2
-rw-r--r--src/mame/drivers/gcpinbal.c2
-rw-r--r--src/mame/drivers/gijoe.c2
-rw-r--r--src/mame/drivers/ginganin.c2
-rw-r--r--src/mame/drivers/gladiatr.c4
-rw-r--r--src/mame/drivers/glass.c2
-rw-r--r--src/mame/drivers/gng.c2
-rw-r--r--src/mame/drivers/go2000.c26
-rw-r--r--src/mame/drivers/goal92.c4
-rw-r--r--src/mame/drivers/goindol.c2
-rw-r--r--src/mame/drivers/goldngam.c8
-rw-r--r--src/mame/drivers/goldnpkr.c8
-rw-r--r--src/mame/drivers/goldstar.c44
-rw-r--r--src/mame/drivers/gomoku.c2
-rw-r--r--src/mame/drivers/good.c10
-rw-r--r--src/mame/drivers/gotcha.c2
-rw-r--r--src/mame/drivers/gottlieb.c6
-rw-r--r--src/mame/drivers/gotya.c2
-rw-r--r--src/mame/drivers/gpworld.c5
-rw-r--r--src/mame/drivers/gradius3.c2
-rw-r--r--src/mame/drivers/grchamp.c2
-rw-r--r--src/mame/drivers/gridlee.c2
-rw-r--r--src/mame/drivers/groundfx.c2
-rw-r--r--src/mame/drivers/gstream.c34
-rw-r--r--src/mame/drivers/gstriker.c4
-rw-r--r--src/mame/drivers/gsword.c4
-rw-r--r--src/mame/drivers/guab.c5
-rw-r--r--src/mame/drivers/gumbo.c2
-rw-r--r--src/mame/drivers/gunbustr.c2
-rw-r--r--src/mame/drivers/gundealr.c2
-rw-r--r--src/mame/drivers/gunpey.c8
-rw-r--r--src/mame/drivers/gunsmoke.c2
-rw-r--r--src/mame/drivers/gyruss.c2
-rw-r--r--src/mame/drivers/halleys.c44
-rw-r--r--src/mame/drivers/hanaawas.c2
-rw-r--r--src/mame/drivers/hcastle.c2
-rw-r--r--src/mame/drivers/hexion.c2
-rw-r--r--src/mame/drivers/higemaru.c2
-rw-r--r--src/mame/drivers/highvdeo.c18
-rw-r--r--src/mame/drivers/hikaru.c5
-rw-r--r--src/mame/drivers/himesiki.c2
-rw-r--r--src/mame/drivers/hitme.c16
-rw-r--r--src/mame/drivers/hitpoker.c12
-rw-r--r--src/mame/drivers/hnayayoi.c2
-rw-r--r--src/mame/drivers/hng64.c4
-rw-r--r--src/mame/drivers/holeland.c4
-rw-r--r--src/mame/drivers/homedata.c14
-rw-r--r--src/mame/drivers/homerun.c2
-rw-r--r--src/mame/drivers/hornet.c22
-rw-r--r--src/mame/drivers/hotblock.c12
-rw-r--r--src/mame/drivers/hotstuff.c16
-rw-r--r--src/mame/drivers/hvyunit.c24
-rw-r--r--src/mame/drivers/hyhoo.c2
-rw-r--r--src/mame/drivers/hyperspt.c2
-rw-r--r--src/mame/drivers/hyprduel.c4
-rw-r--r--src/mame/drivers/igs009.c28
-rw-r--r--src/mame/drivers/igs011.c24
-rw-r--r--src/mame/drivers/igs017.c26
-rw-r--r--src/mame/drivers/igs_m027.c10
-rw-r--r--src/mame/drivers/igspoker.c18
-rw-r--r--src/mame/drivers/ikki.c2
-rw-r--r--src/mame/drivers/imolagp.c10
-rw-r--r--src/mame/drivers/intrscti.c10
-rw-r--r--src/mame/drivers/inufuku.c2
-rw-r--r--src/mame/drivers/iqblock.c2
-rw-r--r--src/mame/drivers/irobot.c2
-rw-r--r--src/mame/drivers/ironhors.c4
-rw-r--r--src/mame/drivers/istellar.c10
-rw-r--r--src/mame/drivers/itech32.c2
-rw-r--r--src/mame/drivers/itech8.c24
-rw-r--r--src/mame/drivers/itgambl2.c32
-rw-r--r--src/mame/drivers/itgambl3.c32
-rw-r--r--src/mame/drivers/jack.c6
-rw-r--r--src/mame/drivers/jackal.c2
-rw-r--r--src/mame/drivers/jackie.c22
-rw-r--r--src/mame/drivers/jackpool.c20
-rw-r--r--src/mame/drivers/jailbrek.c2
-rw-r--r--src/mame/drivers/jalmah.c96
-rw-r--r--src/mame/drivers/jangou.c8
-rw-r--r--src/mame/drivers/jantotsu.c12
-rw-r--r--src/mame/drivers/jchan.c22
-rw-r--r--src/mame/drivers/jclub2.c48
-rw-r--r--src/mame/drivers/jokrwild.c8
-rw-r--r--src/mame/drivers/jollyjgr.c38
-rw-r--r--src/mame/drivers/jongkyo.c12
-rw-r--r--src/mame/drivers/jpmsys5.c5
-rw-r--r--src/mame/drivers/jrpacman.c2
-rw-r--r--src/mame/drivers/jubilee.c8
-rw-r--r--src/mame/drivers/junofrst.c2
-rw-r--r--src/mame/drivers/kaneko16.c12
-rw-r--r--src/mame/drivers/kangaroo.c2
-rw-r--r--src/mame/drivers/karnov.c4
-rw-r--r--src/mame/drivers/kchamp.c4
-rw-r--r--src/mame/drivers/kickgoal.c4
-rw-r--r--src/mame/drivers/kingdrby.c22
-rw-r--r--src/mame/drivers/kingobox.c4
-rw-r--r--src/mame/drivers/kinst.c8
-rw-r--r--src/mame/drivers/klax.c2
-rw-r--r--src/mame/drivers/kncljoe.c2
-rw-r--r--src/mame/drivers/koftball.c10
-rw-r--r--src/mame/drivers/koikoi.c8
-rw-r--r--src/mame/drivers/konamigx.c10
-rw-r--r--src/mame/drivers/konamim2.c12
-rw-r--r--src/mame/drivers/kopunch.c2
-rw-r--r--src/mame/drivers/ksayakyu.c2
-rw-r--r--src/mame/drivers/kyugo.c2
-rw-r--r--src/mame/drivers/labyrunr.c2
-rw-r--r--src/mame/drivers/ladybug.c6
-rw-r--r--src/mame/drivers/ladyfrog.c2
-rw-r--r--src/mame/drivers/laserbas.c18
-rw-r--r--src/mame/drivers/laserbat.c23
-rw-r--r--src/mame/drivers/lasso.c8
-rw-r--r--src/mame/drivers/lastduel.c4
-rw-r--r--src/mame/drivers/lastfght.c22
-rw-r--r--src/mame/drivers/lazercmd.c6
-rw-r--r--src/mame/drivers/legionna.c14
-rw-r--r--src/mame/drivers/lemmings.c4
-rw-r--r--src/mame/drivers/lethal.c2
-rw-r--r--src/mame/drivers/lgp.c8
-rw-r--r--src/mame/drivers/liberate.c8
-rw-r--r--src/mame/drivers/limenko.c38
-rw-r--r--src/mame/drivers/littlerb.c10
-rw-r--r--src/mame/drivers/lkage.c4
-rw-r--r--src/mame/drivers/lockon.c4
-rw-r--r--src/mame/drivers/looping.c8
-rw-r--r--src/mame/drivers/lordgun.c4
-rw-r--r--src/mame/drivers/lsasquad.c4
-rw-r--r--src/mame/drivers/ltcasino.c8
-rw-r--r--src/mame/drivers/luckgrln.c42
-rw-r--r--src/mame/drivers/lucky74.c2
-rw-r--r--src/mame/drivers/lvcards.c2
-rw-r--r--src/mame/drivers/lwings.c4
-rw-r--r--src/mame/drivers/m10.c4
-rw-r--r--src/mame/drivers/m107.c2
-rw-r--r--src/mame/drivers/m14.c8
-rw-r--r--src/mame/drivers/m52.c2
-rw-r--r--src/mame/drivers/m57.c2
-rw-r--r--src/mame/drivers/m58.c2
-rw-r--r--src/mame/drivers/m62.c24
-rw-r--r--src/mame/drivers/m63.c14
-rw-r--r--src/mame/drivers/m72.c26
-rw-r--r--src/mame/drivers/m79amb.c8
-rw-r--r--src/mame/drivers/m90.c6
-rw-r--r--src/mame/drivers/m92.c4
-rw-r--r--src/mame/drivers/macrossp.c4
-rw-r--r--src/mame/drivers/macs.c2
-rw-r--r--src/mame/drivers/madmotor.c2
-rw-r--r--src/mame/drivers/magic10.c20
-rw-r--r--src/mame/drivers/magicard.c17
-rw-r--r--src/mame/drivers/magicfly.c8
-rw-r--r--src/mame/drivers/magictg.c9
-rw-r--r--src/mame/drivers/magmax.c2
-rw-r--r--src/mame/drivers/mainevt.c4
-rw-r--r--src/mame/drivers/mainsnk.c2
-rw-r--r--src/mame/drivers/majorpkr.c16
-rw-r--r--src/mame/drivers/malzak.c2
-rw-r--r--src/mame/drivers/mappy.c6
-rw-r--r--src/mame/drivers/marineb.c12
-rw-r--r--src/mame/drivers/marinedt.c98
-rw-r--r--src/mame/drivers/mario.c2
-rw-r--r--src/mame/drivers/markham.c2
-rw-r--r--src/mame/drivers/mastboy.c12
-rw-r--r--src/mame/drivers/matmania.c4
-rw-r--r--src/mame/drivers/maygayv1.c18
-rw-r--r--src/mame/drivers/mayumi.c8
-rw-r--r--src/mame/drivers/mazerbla.c62
-rw-r--r--src/mame/drivers/mcatadv.c4
-rw-r--r--src/mame/drivers/mcr.c2
-rw-r--r--src/mame/drivers/mcr3.c4
-rw-r--r--src/mame/drivers/mcr68.c4
-rw-r--r--src/mame/drivers/meadows.c6
-rw-r--r--src/mame/drivers/mediagx.c8
-rw-r--r--src/mame/drivers/megaplay.c9
-rw-r--r--src/mame/drivers/megasys1.c14
-rw-r--r--src/mame/drivers/megatech.c22
-rw-r--r--src/mame/drivers/megazone.c2
-rw-r--r--src/mame/drivers/meijinsn.c10
-rw-r--r--src/mame/drivers/meritm.c22
-rw-r--r--src/mame/drivers/mermaid.c4
-rw-r--r--src/mame/drivers/metalmx.c7
-rw-r--r--src/mame/drivers/metlclsh.c2
-rw-r--r--src/mame/drivers/metro.c48
-rw-r--r--src/mame/drivers/mexico86.c6
-rw-r--r--src/mame/drivers/meyc8080.c14
-rw-r--r--src/mame/drivers/meyc8088.c29
-rw-r--r--src/mame/drivers/mgolf.c20
-rw-r--r--src/mame/drivers/midas.c14
-rw-r--r--src/mame/drivers/midvunit.c2
-rw-r--r--src/mame/drivers/midzeus.c4
-rw-r--r--src/mame/drivers/mikie.c2
-rw-r--r--src/mame/drivers/mil4000.c14
-rw-r--r--src/mame/drivers/miniboy7.c8
-rw-r--r--src/mame/drivers/minivadr.c10
-rw-r--r--src/mame/drivers/mirage.c18
-rw-r--r--src/mame/drivers/mirax.c5
-rw-r--r--src/mame/drivers/missb2.c34
-rw-r--r--src/mame/drivers/missile.c10
-rw-r--r--src/mame/drivers/mitchell.c10
-rw-r--r--src/mame/drivers/mjkjidai.c2
-rw-r--r--src/mame/drivers/mjsister.c24
-rw-r--r--src/mame/drivers/mlanding.c12
-rw-r--r--src/mame/drivers/model1.c8
-rw-r--r--src/mame/drivers/model2.c8
-rw-r--r--src/mame/drivers/model3.c8
-rw-r--r--src/mame/drivers/mogura.c14
-rw-r--r--src/mame/drivers/mole.c8
-rw-r--r--src/mame/drivers/momoko.c2
-rw-r--r--src/mame/drivers/monzagp.c26
-rw-r--r--src/mame/drivers/moo.c4
-rw-r--r--src/mame/drivers/mosaic.c2
-rw-r--r--src/mame/drivers/mouser.c2
-rw-r--r--src/mame/drivers/mpoker.c10
-rw-r--r--src/mame/drivers/mpu4dealem.c8
-rw-r--r--src/mame/drivers/mpu4plasma.c8
-rw-r--r--src/mame/drivers/mpu4vid.c8
-rw-r--r--src/mame/drivers/mquake.c2
-rw-r--r--src/mame/drivers/mrdo.c2
-rw-r--r--src/mame/drivers/mrflea.c2
-rw-r--r--src/mame/drivers/mrjong.c2
-rw-r--r--src/mame/drivers/ms32.c2
-rw-r--r--src/mame/drivers/msisaac.c2
-rw-r--r--src/mame/drivers/mugsmash.c2
-rw-r--r--src/mame/drivers/multfish.c18
-rw-r--r--src/mame/drivers/multigam.c5
-rw-r--r--src/mame/drivers/munchmo.c2
-rw-r--r--src/mame/drivers/murogem.c10
-rw-r--r--src/mame/drivers/murogmbl.c8
-rw-r--r--src/mame/drivers/mustache.c2
-rw-r--r--src/mame/drivers/mw8080bw.c10
-rw-r--r--src/mame/drivers/mwarr.c42
-rw-r--r--src/mame/drivers/mystwarr.c12
-rw-r--r--src/mame/drivers/n8080.c8
-rw-r--r--src/mame/drivers/namcofl.c2
-rw-r--r--src/mame/drivers/namcona1.c2
-rw-r--r--src/mame/drivers/namconb1.c4
-rw-r--r--src/mame/drivers/namcos1.c4
-rw-r--r--src/mame/drivers/namcos21.c6
-rw-r--r--src/mame/drivers/namcos22.c4
-rw-r--r--src/mame/drivers/namcos23.c12
-rw-r--r--src/mame/drivers/namcos86.c4
-rw-r--r--src/mame/drivers/naomi.c2
-rw-r--r--src/mame/drivers/naughtyb.c4
-rw-r--r--src/mame/drivers/nbmj8688.c8
-rw-r--r--src/mame/drivers/nbmj8891.c2
-rw-r--r--src/mame/drivers/nbmj8900.c2
-rw-r--r--src/mame/drivers/nbmj8991.c4
-rw-r--r--src/mame/drivers/nbmj9195.c4
-rw-r--r--src/mame/drivers/nemesis.c20
-rw-r--r--src/mame/drivers/neogeo.c2
-rw-r--r--src/mame/drivers/neoprint.c10
-rw-r--r--src/mame/drivers/news.c2
-rw-r--r--src/mame/drivers/nexus3d.c5
-rw-r--r--src/mame/drivers/nightgal.c8
-rw-r--r--src/mame/drivers/ninjakd2.c8
-rw-r--r--src/mame/drivers/ninjaw.c12
-rw-r--r--src/mame/drivers/nitedrvr.c2
-rw-r--r--src/mame/drivers/niyanpai.c2
-rw-r--r--src/mame/drivers/nmg5.c46
-rw-r--r--src/mame/drivers/nmk16.c100
-rw-r--r--src/mame/drivers/norautp.c13
-rw-r--r--src/mame/drivers/nova2001.c8
-rw-r--r--src/mame/drivers/nsmpoker.c8
-rw-r--r--src/mame/drivers/nwk-tr.c10
-rw-r--r--src/mame/drivers/nycaptor.c6
-rw-r--r--src/mame/drivers/offtwall.c2
-rw-r--r--src/mame/drivers/ohmygod.c2
-rw-r--r--src/mame/drivers/ojankohs.c8
-rw-r--r--src/mame/drivers/olibochu.c8
-rw-r--r--src/mame/drivers/oneshot.c4
-rw-r--r--src/mame/drivers/onetwo.c8
-rw-r--r--src/mame/drivers/opwolf.c4
-rw-r--r--src/mame/drivers/orbit.c2
-rw-r--r--src/mame/drivers/othldrby.c4
-rw-r--r--src/mame/drivers/othunder.c2
-rw-r--r--src/mame/drivers/overdriv.c2
-rw-r--r--src/mame/drivers/pacland.c2
-rw-r--r--src/mame/drivers/pacman.c4
-rw-r--r--src/mame/drivers/pandoras.c2
-rw-r--r--src/mame/drivers/panicr.c14
-rw-r--r--src/mame/drivers/paradise.c6
-rw-r--r--src/mame/drivers/parodius.c2
-rw-r--r--src/mame/drivers/pasha2.c14
-rw-r--r--src/mame/drivers/pass.c2
-rw-r--r--src/mame/drivers/pastelg.c4
-rw-r--r--src/mame/drivers/pbaction.c2
-rw-r--r--src/mame/drivers/pcktgal.c4
-rw-r--r--src/mame/drivers/pcxt.c10
-rw-r--r--src/mame/drivers/pengo.c2
-rw-r--r--src/mame/drivers/peplus.c8
-rw-r--r--src/mame/drivers/pgm.c4
-rw-r--r--src/mame/drivers/pgm2.c10
-rw-r--r--src/mame/drivers/phoenix.c4
-rw-r--r--src/mame/drivers/photon.c5
-rw-r--r--src/mame/drivers/photon2.c30
-rw-r--r--src/mame/drivers/pingpong.c2
-rw-r--r--src/mame/drivers/pinkiri8.c30
-rw-r--r--src/mame/drivers/pipedrm.c4
-rw-r--r--src/mame/drivers/pipeline.c10
-rw-r--r--src/mame/drivers/pirates.c2
-rw-r--r--src/mame/drivers/pitnrun.c2
-rw-r--r--src/mame/drivers/pkscram.c12
-rw-r--r--src/mame/drivers/pktgaldx.c4
-rw-r--r--src/mame/drivers/playch10.c4
-rw-r--r--src/mame/drivers/playmark.c12
-rw-r--r--src/mame/drivers/plygonet.c2
-rw-r--r--src/mame/drivers/pokechmp.c2
-rw-r--r--src/mame/drivers/poker72.c16
-rw-r--r--src/mame/drivers/polepos.c4
-rw-r--r--src/mame/drivers/policetr.c2
-rw-r--r--src/mame/drivers/polyplay.c2
-rw-r--r--src/mame/drivers/poo.c24
-rw-r--r--src/mame/drivers/poolshrk.c2
-rw-r--r--src/mame/drivers/pooyan.c2
-rw-r--r--src/mame/drivers/popeye.c2
-rw-r--r--src/mame/drivers/popobear.c8
-rw-r--r--src/mame/drivers/popper.c2
-rw-r--r--src/mame/drivers/portrait.c2
-rw-r--r--src/mame/drivers/powerbal.c9
-rw-r--r--src/mame/drivers/powerins.c2
-rw-r--r--src/mame/drivers/ppmast93.c10
-rw-r--r--src/mame/drivers/prehisle.c2
-rw-r--r--src/mame/drivers/progolf.c12
-rw-r--r--src/mame/drivers/psattack.c10
-rw-r--r--src/mame/drivers/psikyo.c16
-rw-r--r--src/mame/drivers/psikyo4.c4
-rw-r--r--src/mame/drivers/psikyosh.c2
-rw-r--r--src/mame/drivers/psychic5.c4
-rw-r--r--src/mame/drivers/pturn.c18
-rw-r--r--src/mame/drivers/punchout.c8
-rw-r--r--src/mame/drivers/pushman.c4
-rw-r--r--src/mame/drivers/pzletime.c28
-rw-r--r--src/mame/drivers/qdrmfgp.c4
-rw-r--r--src/mame/drivers/quakeat.c5
-rw-r--r--src/mame/drivers/quasar.c2
-rw-r--r--src/mame/drivers/quizdna.c2
-rw-r--r--src/mame/drivers/quizo.c8
-rw-r--r--src/mame/drivers/quizpani.c2
-rw-r--r--src/mame/drivers/quizpun2.c10
-rw-r--r--src/mame/drivers/quizshow.c8
-rw-r--r--src/mame/drivers/r2dx_v33.c18
-rw-r--r--src/mame/drivers/rabbit.c36
-rw-r--r--src/mame/drivers/raiden.c2
-rw-r--r--src/mame/drivers/raiden2.c25
-rw-r--r--src/mame/drivers/rainbow.c4
-rw-r--r--src/mame/drivers/rallyx.c10
-rw-r--r--src/mame/drivers/rampart.c2
-rw-r--r--src/mame/drivers/rastan.c2
-rw-r--r--src/mame/drivers/rbmk.c14
-rw-r--r--src/mame/drivers/realbrk.c4
-rw-r--r--src/mame/drivers/redclash.c8
-rw-r--r--src/mame/drivers/relief.c2
-rw-r--r--src/mame/drivers/renegade.c2
-rw-r--r--src/mame/drivers/retofinv.c2
-rw-r--r--src/mame/drivers/rgum.c8
-rw-r--r--src/mame/drivers/rltennis.c2
-rw-r--r--src/mame/drivers/rmhaihai.c8
-rw-r--r--src/mame/drivers/rockrage.c2
-rw-r--r--src/mame/drivers/rocnrope.c2
-rw-r--r--src/mame/drivers/rohga.c8
-rw-r--r--src/mame/drivers/rollerg.c2
-rw-r--r--src/mame/drivers/rollrace.c2
-rw-r--r--src/mame/drivers/rotaryf.c10
-rw-r--r--src/mame/drivers/roul.c8
-rw-r--r--src/mame/drivers/route16.c6
-rw-r--r--src/mame/drivers/royalmah.c10
-rw-r--r--src/mame/drivers/rpunch.c2
-rw-r--r--src/mame/drivers/runaway.c4
-rw-r--r--src/mame/drivers/rungun.c2
-rw-r--r--src/mame/drivers/safarir.c12
-rw-r--r--src/mame/drivers/sandscrp.c20
-rw-r--r--src/mame/drivers/saturn.c8
-rw-r--r--src/mame/drivers/sauro.c4
-rw-r--r--src/mame/drivers/sbasketb.c2
-rw-r--r--src/mame/drivers/sbowling.c10
-rw-r--r--src/mame/drivers/sbrkout.c10
-rw-r--r--src/mame/drivers/sbugger.c2
-rw-r--r--src/mame/drivers/scobra.c4
-rw-r--r--src/mame/drivers/scotrsht.c2
-rw-r--r--src/mame/drivers/scramble.c4
-rw-r--r--src/mame/drivers/scregg.c4
-rw-r--r--src/mame/drivers/sderby.c8
-rw-r--r--src/mame/drivers/seattle.c8
-rw-r--r--src/mame/drivers/segac2.c9
-rw-r--r--src/mame/drivers/segae.c12
-rw-r--r--src/mame/drivers/segag80r.c2
-rw-r--r--src/mame/drivers/segag80v.c2
-rw-r--r--src/mame/drivers/segald.c5
-rw-r--r--src/mame/drivers/segas24.c2
-rw-r--r--src/mame/drivers/segas32.c6
-rw-r--r--src/mame/drivers/seibuspi.c6
-rw-r--r--src/mame/drivers/seicross.c2
-rw-r--r--src/mame/drivers/senjyo.c2
-rw-r--r--src/mame/drivers/seta.c97
-rw-r--r--src/mame/drivers/seta2.c12
-rw-r--r--src/mame/drivers/sf.c2
-rw-r--r--src/mame/drivers/sfbonus.c136
-rw-r--r--src/mame/drivers/shadfrce.c4
-rw-r--r--src/mame/drivers/shangha3.c6
-rw-r--r--src/mame/drivers/shanghai.c9
-rw-r--r--src/mame/drivers/shangkid.c4
-rw-r--r--src/mame/drivers/shaolins.c2
-rw-r--r--src/mame/drivers/shisen.c2
-rw-r--r--src/mame/drivers/shootout.c4
-rw-r--r--src/mame/drivers/shougi.c10
-rw-r--r--src/mame/drivers/shtzone.c5
-rw-r--r--src/mame/drivers/shuuz.c2
-rw-r--r--src/mame/drivers/sidearms.c6
-rw-r--r--src/mame/drivers/sidepckt.c2
-rw-r--r--src/mame/drivers/sigmab52.c5
-rw-r--r--src/mame/drivers/sigmab98.c17
-rw-r--r--src/mame/drivers/silkroad.c2
-rw-r--r--src/mame/drivers/silvmil.c12
-rw-r--r--src/mame/drivers/simpl156.c2
-rw-r--r--src/mame/drivers/simpsons.c2
-rw-r--r--src/mame/drivers/skimaxx.c7
-rw-r--r--src/mame/drivers/skullxbo.c2
-rw-r--r--src/mame/drivers/skyarmy.c12
-rw-r--r--src/mame/drivers/skydiver.c2
-rw-r--r--src/mame/drivers/skyfox.c2
-rw-r--r--src/mame/drivers/skykid.c2
-rw-r--r--src/mame/drivers/skylncr.c22
-rw-r--r--src/mame/drivers/skyraid.c2
-rw-r--r--src/mame/drivers/slapfght.c8
-rw-r--r--src/mame/drivers/slapshot.c8
-rw-r--r--src/mame/drivers/sliver.c10
-rw-r--r--src/mame/drivers/sms.c8
-rw-r--r--src/mame/drivers/snk.c12
-rw-r--r--src/mame/drivers/snk6502.c4
-rw-r--r--src/mame/drivers/snk68.c2
-rw-r--r--src/mame/drivers/snookr10.c2
-rw-r--r--src/mame/drivers/snowbros.c18
-rw-r--r--src/mame/drivers/solomon.c2
-rw-r--r--src/mame/drivers/sonson.c2
-rw-r--r--src/mame/drivers/spacefb.c2
-rw-r--r--src/mame/drivers/spaceg.c10
-rw-r--r--src/mame/drivers/spbactn.c2
-rw-r--r--src/mame/drivers/spcforce.c2
-rw-r--r--src/mame/drivers/spdodgeb.c2
-rw-r--r--src/mame/drivers/speedatk.c2
-rw-r--r--src/mame/drivers/speedbal.c2
-rw-r--r--src/mame/drivers/speedspn.c2
-rw-r--r--src/mame/drivers/speglsht.c16
-rw-r--r--src/mame/drivers/splash.c6
-rw-r--r--src/mame/drivers/spoker.c10
-rw-r--r--src/mame/drivers/spool99.c8
-rw-r--r--src/mame/drivers/sprcros2.c2
-rw-r--r--src/mame/drivers/sprint2.c4
-rw-r--r--src/mame/drivers/sprint4.c4
-rw-r--r--src/mame/drivers/sprint8.c4
-rw-r--r--src/mame/drivers/spy.c2
-rw-r--r--src/mame/drivers/srmp2.c6
-rw-r--r--src/mame/drivers/srmp5.c26
-rw-r--r--src/mame/drivers/srmp6.c14
-rw-r--r--src/mame/drivers/srumbler.c2
-rw-r--r--src/mame/drivers/ssfindo.c18
-rw-r--r--src/mame/drivers/sshangha.c2
-rw-r--r--src/mame/drivers/sshot.c8
-rw-r--r--src/mame/drivers/sslam.c4
-rw-r--r--src/mame/drivers/ssozumo.c2
-rw-r--r--src/mame/drivers/sspeedr.c4
-rw-r--r--src/mame/drivers/ssrj.c4
-rw-r--r--src/mame/drivers/sstrangr.c22
-rw-r--r--src/mame/drivers/ssv.c6
-rw-r--r--src/mame/drivers/st0016.c2
-rw-r--r--src/mame/drivers/stadhero.c2
-rw-r--r--src/mame/drivers/starcrus.c2
-rw-r--r--src/mame/drivers/starfire.c2
-rw-r--r--src/mame/drivers/starshp1.c4
-rw-r--r--src/mame/drivers/statriv2.c8
-rw-r--r--src/mame/drivers/stfight.c2
-rw-r--r--src/mame/drivers/stlforce.c2
-rw-r--r--src/mame/drivers/strnskil.c2
-rw-r--r--src/mame/drivers/sub.c26
-rw-r--r--src/mame/drivers/subs.c4
-rw-r--r--src/mame/drivers/subsino.c64
-rw-r--r--src/mame/drivers/subsino2.c28
-rw-r--r--src/mame/drivers/summit.c8
-rw-r--r--src/mame/drivers/suna16.c8
-rw-r--r--src/mame/drivers/suna8.c10
-rw-r--r--src/mame/drivers/supbtime.c4
-rw-r--r--src/mame/drivers/supdrapo.c10
-rw-r--r--src/mame/drivers/superchs.c2
-rw-r--r--src/mame/drivers/superdq.c8
-rw-r--r--src/mame/drivers/superqix.c8
-rw-r--r--src/mame/drivers/supertnk.c14
-rw-r--r--src/mame/drivers/superwng.c26
-rw-r--r--src/mame/drivers/suprgolf.c14
-rw-r--r--src/mame/drivers/suprloco.c2
-rw-r--r--src/mame/drivers/suprnova.c4
-rw-r--r--src/mame/drivers/suprridr.c2
-rw-r--r--src/mame/drivers/suprslam.c2
-rw-r--r--src/mame/drivers/surpratk.c2
-rw-r--r--src/mame/drivers/system1.c6
-rw-r--r--src/mame/drivers/system16.c14
-rw-r--r--src/mame/drivers/tagteam.c2
-rw-r--r--src/mame/drivers/tail2nos.c2
-rw-r--r--src/mame/drivers/taito_b.c78
-rw-r--r--src/mame/drivers/taito_f2.c84
-rw-r--r--src/mame/drivers/taito_f3.c8
-rw-r--r--src/mame/drivers/taito_h.c6
-rw-r--r--src/mame/drivers/taito_l.c16
-rw-r--r--src/mame/drivers/taito_o.c2
-rw-r--r--src/mame/drivers/taito_x.c8
-rw-r--r--src/mame/drivers/taito_z.c20
-rw-r--r--src/mame/drivers/taitoair.c2
-rw-r--r--src/mame/drivers/taitojc.c4
-rw-r--r--src/mame/drivers/taitopjc.c5
-rw-r--r--src/mame/drivers/taitosj.c4
-rw-r--r--src/mame/drivers/taitotz.c12
-rw-r--r--src/mame/drivers/taitowlf.c5
-rw-r--r--src/mame/drivers/tank8.c4
-rw-r--r--src/mame/drivers/tankbatt.c2
-rw-r--r--src/mame/drivers/tankbust.c2
-rw-r--r--src/mame/drivers/taotaido.c4
-rw-r--r--src/mame/drivers/targeth.c2
-rw-r--r--src/mame/drivers/tasman.c10
-rw-r--r--src/mame/drivers/tatsumi.c8
-rw-r--r--src/mame/drivers/tattack.c10
-rw-r--r--src/mame/drivers/taxidriv.c2
-rw-r--r--src/mame/drivers/tbowl.c4
-rw-r--r--src/mame/drivers/tceptor.c8
-rw-r--r--src/mame/drivers/tcl.c5
-rw-r--r--src/mame/drivers/tecmo.c4
-rw-r--r--src/mame/drivers/tecmo16.c2
-rw-r--r--src/mame/drivers/tecmosys.c2
-rw-r--r--src/mame/drivers/tehkanwc.c2
-rw-r--r--src/mame/drivers/terracre.c6
-rw-r--r--src/mame/drivers/tetrisp2.c18
-rw-r--r--src/mame/drivers/tgtpanic.c12
-rw-r--r--src/mame/drivers/thedeep.c2
-rw-r--r--src/mame/drivers/thepit.c2
-rw-r--r--src/mame/drivers/thief.c6
-rw-r--r--src/mame/drivers/thoop2.c2
-rw-r--r--src/mame/drivers/thunderj.c2
-rw-r--r--src/mame/drivers/thunderx.c4
-rw-r--r--src/mame/drivers/tiamc1.c2
-rw-r--r--src/mame/drivers/tigeroad.c2
-rw-r--r--src/mame/drivers/timelimt.c2
-rw-r--r--src/mame/drivers/timeplt.c2
-rw-r--r--src/mame/drivers/timetrv.c8
-rw-r--r--src/mame/drivers/tmaster.c12
-rw-r--r--src/mame/drivers/tmmjprd.c50
-rw-r--r--src/mame/drivers/tmnt.c26
-rw-r--r--src/mame/drivers/tmspoker.c8
-rw-r--r--src/mame/drivers/tnzs.c28
-rw-r--r--src/mame/drivers/toaplan1.c32
-rw-r--r--src/mame/drivers/toaplan2.c68
-rw-r--r--src/mame/drivers/toki.c4
-rw-r--r--src/mame/drivers/toobin.c2
-rw-r--r--src/mame/drivers/topspeed.c2
-rw-r--r--src/mame/drivers/toratora.c16
-rw-r--r--src/mame/drivers/toypop.c2
-rw-r--r--src/mame/drivers/tp84.c2
-rw-r--r--src/mame/drivers/trackfld.c4
-rw-r--r--src/mame/drivers/travrusa.c2
-rw-r--r--src/mame/drivers/triforce.c5
-rw-r--r--src/mame/drivers/triplhnt.c2
-rw-r--r--src/mame/drivers/truco.c2
-rw-r--r--src/mame/drivers/trucocl.c2
-rw-r--r--src/mame/drivers/trvmadns.c14
-rw-r--r--src/mame/drivers/tryout.c2
-rw-r--r--src/mame/drivers/tsamurai.c6
-rw-r--r--src/mame/drivers/ttchamp.c10
-rw-r--r--src/mame/drivers/tubep.c4
-rw-r--r--src/mame/drivers/tugboat.c10
-rw-r--r--src/mame/drivers/tumbleb.c24
-rw-r--r--src/mame/drivers/tumblep.c2
-rw-r--r--src/mame/drivers/tunhunt.c2
-rw-r--r--src/mame/drivers/turbo.c6
-rw-r--r--src/mame/drivers/tutankhm.c2
-rw-r--r--src/mame/drivers/twin16.c8
-rw-r--r--src/mame/drivers/twincobr.c2
-rw-r--r--src/mame/drivers/twins.c24
-rw-r--r--src/mame/drivers/tx1.c20
-rw-r--r--src/mame/drivers/ultraman.c2
-rw-r--r--src/mame/drivers/ultratnk.c4
-rw-r--r--src/mame/drivers/ultrsprt.c8
-rw-r--r--src/mame/drivers/umipoker.c22
-rw-r--r--src/mame/drivers/undrfire.c4
-rw-r--r--src/mame/drivers/unico.c6
-rw-r--r--src/mame/drivers/unkhorse.c10
-rw-r--r--src/mame/drivers/upscope.c2
-rw-r--r--src/mame/drivers/usgames.c2
-rw-r--r--src/mame/drivers/vamphalf.c10
-rw-r--r--src/mame/drivers/vaportra.c2
-rw-r--r--src/mame/drivers/vastar.c2
-rw-r--r--src/mame/drivers/vball.c2
-rw-r--r--src/mame/drivers/vcombat.c12
-rw-r--r--src/mame/drivers/vectrex.c2
-rw-r--r--src/mame/drivers/vega.c34
-rw-r--r--src/mame/drivers/vegaeo.c14
-rw-r--r--src/mame/drivers/vegas.c8
-rw-r--r--src/mame/drivers/vendetta.c2
-rw-r--r--src/mame/drivers/vicdual.c26
-rw-r--r--src/mame/drivers/victory.c2
-rw-r--r--src/mame/drivers/videopin.c2
-rw-r--r--src/mame/drivers/videopkr.c10
-rw-r--r--src/mame/drivers/vigilant.c6
-rw-r--r--src/mame/drivers/vindictr.c2
-rw-r--r--src/mame/drivers/viper.c15
-rw-r--r--src/mame/drivers/vmetal.c24
-rw-r--r--src/mame/drivers/volfied.c2
-rw-r--r--src/mame/drivers/vpoker.c8
-rw-r--r--src/mame/drivers/vroulet.c10
-rw-r--r--src/mame/drivers/vulgus.c2
-rw-r--r--src/mame/drivers/wallc.c8
-rw-r--r--src/mame/drivers/wardner.c2
-rw-r--r--src/mame/drivers/warpsped.c12
-rw-r--r--src/mame/drivers/warpwarp.c4
-rw-r--r--src/mame/drivers/warriorb.c8
-rw-r--r--src/mame/drivers/wc90.c2
-rw-r--r--src/mame/drivers/wc90b.c2
-rw-r--r--src/mame/drivers/wecleman.c4
-rw-r--r--src/mame/drivers/welltris.c2
-rw-r--r--src/mame/drivers/wgp.c2
-rw-r--r--src/mame/drivers/wheelfir.c24
-rw-r--r--src/mame/drivers/wildpkr.c6
-rw-r--r--src/mame/drivers/williams.c6
-rw-r--r--src/mame/drivers/wink.c8
-rw-r--r--src/mame/drivers/wiping.c2
-rw-r--r--src/mame/drivers/witch.c16
-rw-r--r--src/mame/drivers/wiz.c6
-rw-r--r--src/mame/drivers/wolfpack.c4
-rw-r--r--src/mame/drivers/wrally.c2
-rw-r--r--src/mame/drivers/wwfsstar.c2
-rw-r--r--src/mame/drivers/wwfwfest.c2
-rw-r--r--src/mame/drivers/xain.c2
-rw-r--r--src/mame/drivers/xexex.c2
-rw-r--r--src/mame/drivers/xmen.c8
-rw-r--r--src/mame/drivers/xorworld.c2
-rw-r--r--src/mame/drivers/xxmissio.c2
-rw-r--r--src/mame/drivers/xybots.c2
-rw-r--r--src/mame/drivers/xyonix.c2
-rw-r--r--src/mame/drivers/yiear.c2
-rw-r--r--src/mame/drivers/yunsun16.c4
-rw-r--r--src/mame/drivers/yunsung8.c2
-rw-r--r--src/mame/drivers/zac2650.c2
-rw-r--r--src/mame/drivers/zaccaria.c2
-rw-r--r--src/mame/drivers/zaxxon.c8
-rw-r--r--src/mame/drivers/zr107.c20
-rw-r--r--src/mame/includes/1942.h1
-rw-r--r--src/mame/includes/1943.h1
-rw-r--r--src/mame/includes/20pacgal.h1
-rw-r--r--src/mame/includes/3do.h3
-rw-r--r--src/mame/includes/40love.h3
-rw-r--r--src/mame/includes/4enraya.h3
-rw-r--r--src/mame/includes/8080bw.h33
-rw-r--r--src/mame/includes/88games.h3
-rw-r--r--src/mame/includes/actfancr.h3
-rw-r--r--src/mame/includes/aeroboto.h3
-rw-r--r--src/mame/includes/aerofgt.h30
-rw-r--r--src/mame/includes/airbustr.h6
-rw-r--r--src/mame/includes/ajax.h3
-rw-r--r--src/mame/includes/aliens.h3
-rw-r--r--src/mame/includes/alpha68k.h18
-rw-r--r--src/mame/includes/ambush.h3
-rw-r--r--src/mame/includes/amiga.h6
-rw-r--r--src/mame/includes/ampoker2.h3
-rw-r--r--src/mame/includes/amspdwy.h3
-rw-r--r--src/mame/includes/angelkds.h3
-rw-r--r--src/mame/includes/appoooh.h6
-rw-r--r--src/mame/includes/aquarium.h3
-rw-r--r--src/mame/includes/arabian.h3
-rw-r--r--src/mame/includes/arcadecl.h3
-rw-r--r--src/mame/includes/argus.h9
-rw-r--r--src/mame/includes/arkanoid.h2
-rw-r--r--src/mame/includes/armedf.h3
-rw-r--r--src/mame/includes/ashnojoe.h3
-rw-r--r--src/mame/includes/asterix.h3
-rw-r--r--src/mame/includes/astrocde.h6
-rw-r--r--src/mame/includes/astrof.h2
-rw-r--r--src/mame/includes/asuka.h7
-rw-r--r--src/mame/includes/atarifb.h9
-rw-r--r--src/mame/includes/atarig1.h6
-rw-r--r--src/mame/includes/atarig42.h6
-rw-r--r--src/mame/includes/atarigt.h6
-rw-r--r--src/mame/includes/atarigx2.h6
-rw-r--r--src/mame/includes/atarisy1.h3
-rw-r--r--src/mame/includes/atarisy2.h3
-rw-r--r--src/mame/includes/atetris.h3
-rw-r--r--src/mame/includes/avalnche.h1
-rw-r--r--src/mame/includes/badlands.h3
-rw-r--r--src/mame/includes/bagman.h3
-rw-r--r--src/mame/includes/balsente.h3
-rw-r--r--src/mame/includes/bankp.h3
-rw-r--r--src/mame/includes/baraduke.h6
-rw-r--r--src/mame/includes/batman.h3
-rw-r--r--src/mame/includes/battlane.h3
-rw-r--r--src/mame/includes/battlera.h3
-rw-r--r--src/mame/includes/battlex.h1
-rw-r--r--src/mame/includes/battlnts.h3
-rw-r--r--src/mame/includes/bbusters.h7
-rw-r--r--src/mame/includes/beezer.h3
-rw-r--r--src/mame/includes/bigevglf.h3
-rw-r--r--src/mame/includes/bigstrkb.h3
-rw-r--r--src/mame/includes/bionicc.h3
-rw-r--r--src/mame/includes/bishi.h3
-rw-r--r--src/mame/includes/bking.h6
-rw-r--r--src/mame/includes/bladestl.h3
-rw-r--r--src/mame/includes/blktiger.h3
-rw-r--r--src/mame/includes/blmbycar.h3
-rw-r--r--src/mame/includes/blockade.h3
-rw-r--r--src/mame/includes/blockhl.h3
-rw-r--r--src/mame/includes/blockout.h3
-rw-r--r--src/mame/includes/bloodbro.h9
-rw-r--r--src/mame/includes/blstroid.h3
-rw-r--r--src/mame/includes/blueprnt.h3
-rw-r--r--src/mame/includes/bogeyman.h3
-rw-r--r--src/mame/includes/bombjack.h3
-rw-r--r--src/mame/includes/boogwing.h3
-rw-r--r--src/mame/includes/bottom9.h3
-rw-r--r--src/mame/includes/brkthru.h3
-rw-r--r--src/mame/includes/bsktball.h3
-rw-r--r--src/mame/includes/btime.h21
-rw-r--r--src/mame/includes/bublbobl.h3
-rw-r--r--src/mame/includes/buggychl.h3
-rw-r--r--src/mame/includes/bwing.h3
-rw-r--r--src/mame/includes/cabal.h1
-rw-r--r--src/mame/includes/calomega.h3
-rw-r--r--src/mame/includes/canyon.h3
-rw-r--r--src/mame/includes/capbowl.h3
-rw-r--r--src/mame/includes/carjmbre.h3
-rw-r--r--src/mame/includes/carpolo.h6
-rw-r--r--src/mame/includes/cave.h3
-rw-r--r--src/mame/includes/cbasebal.h3
-rw-r--r--src/mame/includes/cbuster.h3
-rw-r--r--src/mame/includes/ccastles.h3
-rw-r--r--src/mame/includes/cclimber.h12
-rw-r--r--src/mame/includes/cdi.h2
-rw-r--r--src/mame/includes/centiped.h12
-rw-r--r--src/mame/includes/chaknpop.h3
-rw-r--r--src/mame/includes/champbas.h7
-rw-r--r--src/mame/includes/changela.h3
-rw-r--r--src/mame/includes/cheekyms.h3
-rw-r--r--src/mame/includes/chqflag.h3
-rw-r--r--src/mame/includes/cinemat.h6
-rw-r--r--src/mame/includes/circus.h4
-rw-r--r--src/mame/includes/circusc.h3
-rw-r--r--src/mame/includes/cischeat.h12
-rw-r--r--src/mame/includes/citycon.h3
-rw-r--r--src/mame/includes/cloak.h3
-rw-r--r--src/mame/includes/cloud9.h3
-rw-r--r--src/mame/includes/clshroad.h3
-rw-r--r--src/mame/includes/cninja.h15
-rw-r--r--src/mame/includes/combatsc.h6
-rw-r--r--src/mame/includes/commando.h3
-rw-r--r--src/mame/includes/compgolf.h3
-rw-r--r--src/mame/includes/contra.h3
-rw-r--r--src/mame/includes/cop01.h3
-rw-r--r--src/mame/includes/copsnrob.h3
-rw-r--r--src/mame/includes/cosmic.h18
-rw-r--r--src/mame/includes/cps1.h8
-rw-r--r--src/mame/includes/cps3.h1
-rw-r--r--src/mame/includes/crbaloon.h3
-rw-r--r--src/mame/includes/crgolf.h1
-rw-r--r--src/mame/includes/crimfght.h3
-rw-r--r--src/mame/includes/crospang.h3
-rw-r--r--src/mame/includes/crshrace.h6
-rw-r--r--src/mame/includes/cvs.h3
-rw-r--r--src/mame/includes/cyberbal.h9
-rw-r--r--src/mame/includes/darius.h9
-rw-r--r--src/mame/includes/darkmist.h3
-rw-r--r--src/mame/includes/darkseal.h3
-rw-r--r--src/mame/includes/dassault.h3
-rw-r--r--src/mame/includes/dbz.h3
-rw-r--r--src/mame/includes/dc.h3
-rw-r--r--src/mame/includes/dcheese.h3
-rw-r--r--src/mame/includes/dcon.h6
-rw-r--r--src/mame/includes/dday.h3
-rw-r--r--src/mame/includes/ddragon.h3
-rw-r--r--src/mame/includes/ddragon3.h2
-rw-r--r--src/mame/includes/ddribble.h3
-rw-r--r--src/mame/includes/deadang.h3
-rw-r--r--src/mame/includes/dec0.h27
-rw-r--r--src/mame/includes/dec8.h25
-rw-r--r--src/mame/includes/deco32.h18
-rw-r--r--src/mame/includes/deco_mlc.h6
-rw-r--r--src/mame/includes/deniam.h3
-rw-r--r--src/mame/includes/dietgo.h3
-rw-r--r--src/mame/includes/djboy.h6
-rw-r--r--src/mame/includes/djmain.h3
-rw-r--r--src/mame/includes/dkong.h9
-rw-r--r--src/mame/includes/docastle.h3
-rw-r--r--src/mame/includes/dogfgt.h3
-rw-r--r--src/mame/includes/dooyong.h24
-rw-r--r--src/mame/includes/dragrace.h3
-rw-r--r--src/mame/includes/drgnmst.h3
-rw-r--r--src/mame/includes/dribling.h3
-rw-r--r--src/mame/includes/drmicro.h3
-rw-r--r--src/mame/includes/dynax.h24
-rw-r--r--src/mame/includes/dynduke.h3
-rw-r--r--src/mame/includes/eolith.h3
-rw-r--r--src/mame/includes/epos.h3
-rw-r--r--src/mame/includes/eprom.h6
-rw-r--r--src/mame/includes/equites.h2
-rw-r--r--src/mame/includes/esd16.h3
-rw-r--r--src/mame/includes/espial.h3
-rw-r--r--src/mame/includes/esripsys.h3
-rw-r--r--src/mame/includes/exedexes.h1
-rw-r--r--src/mame/includes/exerion.h3
-rw-r--r--src/mame/includes/exidy.h3
-rw-r--r--src/mame/includes/exidy440.h2
-rw-r--r--src/mame/includes/exprraid.h1
-rw-r--r--src/mame/includes/exzisus.h3
-rw-r--r--src/mame/includes/f1gp.h9
-rw-r--r--src/mame/includes/fantland.h3
-rw-r--r--src/mame/includes/fastfred.h6
-rw-r--r--src/mame/includes/fastlane.h3
-rw-r--r--src/mame/includes/fcombat.h3
-rw-r--r--src/mame/includes/fgoal.h3
-rw-r--r--src/mame/includes/finalizr.h3
-rw-r--r--src/mame/includes/firetrap.h3
-rw-r--r--src/mame/includes/firetrk.h9
-rw-r--r--src/mame/includes/fitfight.h3
-rw-r--r--src/mame/includes/flkatck.h3
-rw-r--r--src/mame/includes/flower.h3
-rw-r--r--src/mame/includes/flstory.h9
-rw-r--r--src/mame/includes/foodf.h3
-rw-r--r--src/mame/includes/freekick.h9
-rw-r--r--src/mame/includes/fromanc2.h6
-rw-r--r--src/mame/includes/fromance.h6
-rw-r--r--src/mame/includes/funkybee.h3
-rw-r--r--src/mame/includes/funkyjet.h3
-rw-r--r--src/mame/includes/funworld.h3
-rw-r--r--src/mame/includes/funybubl.h3
-rw-r--r--src/mame/includes/fuukifg2.h3
-rw-r--r--src/mame/includes/fuukifg3.h6
-rw-r--r--src/mame/includes/gaelco.h6
-rw-r--r--src/mame/includes/gaelco2.h9
-rw-r--r--src/mame/includes/gaelco3d.h3
-rw-r--r--src/mame/includes/gaiden.h9
-rw-r--r--src/mame/includes/galaga.h19
-rw-r--r--src/mame/includes/galastrm.h3
-rw-r--r--src/mame/includes/galaxia.h6
-rw-r--r--src/mame/includes/galaxian.h3
-rw-r--r--src/mame/includes/galaxold.h6
-rw-r--r--src/mame/includes/galivan.h6
-rw-r--r--src/mame/includes/galpani2.h3
-rw-r--r--src/mame/includes/galpanic.h7
-rw-r--r--src/mame/includes/galspnbl.h3
-rw-r--r--src/mame/includes/gameplan.h2
-rw-r--r--src/mame/includes/gaplus.h14
-rw-r--r--src/mame/includes/gatron.h3
-rw-r--r--src/mame/includes/gauntlet.h3
-rw-r--r--src/mame/includes/gberet.h6
-rw-r--r--src/mame/includes/gbusters.h3
-rw-r--r--src/mame/includes/gcpinbal.h3
-rw-r--r--src/mame/includes/gijoe.h3
-rw-r--r--src/mame/includes/ginganin.h3
-rw-r--r--src/mame/includes/gladiatr.h6
-rw-r--r--src/mame/includes/glass.h3
-rw-r--r--src/mame/includes/gng.h3
-rw-r--r--src/mame/includes/goal92.h6
-rw-r--r--src/mame/includes/goindol.h3
-rw-r--r--src/mame/includes/goldstar.h18
-rw-r--r--src/mame/includes/gomoku.h3
-rw-r--r--src/mame/includes/gotcha.h3
-rw-r--r--src/mame/includes/gottlieb.h3
-rw-r--r--src/mame/includes/gotya.h3
-rw-r--r--src/mame/includes/gradius3.h3
-rw-r--r--src/mame/includes/grchamp.h3
-rw-r--r--src/mame/includes/gridlee.h3
-rw-r--r--src/mame/includes/groundfx.h3
-rw-r--r--src/mame/includes/gstriker.h3
-rw-r--r--src/mame/includes/gsword.h3
-rw-r--r--src/mame/includes/gumbo.h3
-rw-r--r--src/mame/includes/gunbustr.h3
-rw-r--r--src/mame/includes/gundealr.h3
-rw-r--r--src/mame/includes/gunsmoke.h3
-rw-r--r--src/mame/includes/gyruss.h3
-rw-r--r--src/mame/includes/hanaawas.h3
-rw-r--r--src/mame/includes/hcastle.h3
-rw-r--r--src/mame/includes/hexion.h3
-rw-r--r--src/mame/includes/higemaru.h3
-rw-r--r--src/mame/includes/himesiki.h3
-rw-r--r--src/mame/includes/hitme.h2
-rw-r--r--src/mame/includes/hnayayoi.h3
-rw-r--r--src/mame/includes/hng64.h6
-rw-r--r--src/mame/includes/holeland.h6
-rw-r--r--src/mame/includes/homedata.h15
-rw-r--r--src/mame/includes/homerun.h3
-rw-r--r--src/mame/includes/hyhoo.h3
-rw-r--r--src/mame/includes/hyperspt.h3
-rw-r--r--src/mame/includes/hyprduel.h3
-rw-r--r--src/mame/includes/ikki.h3
-rw-r--r--src/mame/includes/inufuku.h3
-rw-r--r--src/mame/includes/iqblock.h3
-rw-r--r--src/mame/includes/irobot.h3
-rw-r--r--src/mame/includes/ironhors.h6
-rw-r--r--src/mame/includes/itech32.h3
-rw-r--r--src/mame/includes/itech8.h15
-rw-r--r--src/mame/includes/jack.h6
-rw-r--r--src/mame/includes/jackal.h3
-rw-r--r--src/mame/includes/jailbrek.h3
-rw-r--r--src/mame/includes/jedi.h1
-rw-r--r--src/mame/includes/kaneko16.h7
-rw-r--r--src/mame/includes/kangaroo.h3
-rw-r--r--src/mame/includes/karnov.h3
-rw-r--r--src/mame/includes/kchamp.h6
-rw-r--r--src/mame/includes/kickgoal.h3
-rw-r--r--src/mame/includes/kingobox.h6
-rw-r--r--src/mame/includes/klax.h3
-rw-r--r--src/mame/includes/kncljoe.h3
-rw-r--r--src/mame/includes/konamigx.h9
-rw-r--r--src/mame/includes/kopunch.h3
-rw-r--r--src/mame/includes/ksayakyu.h3
-rw-r--r--src/mame/includes/kyugo.h3
-rw-r--r--src/mame/includes/labyrunr.h3
-rw-r--r--src/mame/includes/ladybug.h15
-rw-r--r--src/mame/includes/ladyfrog.h3
-rw-r--r--src/mame/includes/laserbat.h1
-rw-r--r--src/mame/includes/lasso.h9
-rw-r--r--src/mame/includes/lastduel.h6
-rw-r--r--src/mame/includes/lazercmd.h3
-rw-r--r--src/mame/includes/legionna.h9
-rw-r--r--src/mame/includes/leland.h2
-rw-r--r--src/mame/includes/lemmings.h6
-rw-r--r--src/mame/includes/lethal.h3
-rw-r--r--src/mame/includes/liberate.h12
-rw-r--r--src/mame/includes/lkage.h3
-rw-r--r--src/mame/includes/lockon.h6
-rw-r--r--src/mame/includes/lordgun.h3
-rw-r--r--src/mame/includes/lsasquad.h6
-rw-r--r--src/mame/includes/lucky74.h3
-rw-r--r--src/mame/includes/lvcards.h3
-rw-r--r--src/mame/includes/lwings.h6
-rw-r--r--src/mame/includes/m10.h6
-rw-r--r--src/mame/includes/m107.h3
-rw-r--r--src/mame/includes/m52.h3
-rw-r--r--src/mame/includes/m57.h3
-rw-r--r--src/mame/includes/m58.h3
-rw-r--r--src/mame/includes/m62.h33
-rw-r--r--src/mame/includes/m72.h6
-rw-r--r--src/mame/includes/m90.h9
-rw-r--r--src/mame/includes/m92.h6
-rw-r--r--src/mame/includes/macrossp.h6
-rw-r--r--src/mame/includes/madalien.h1
-rw-r--r--src/mame/includes/madmotor.h3
-rw-r--r--src/mame/includes/magmax.h3
-rw-r--r--src/mame/includes/mainevt.h6
-rw-r--r--src/mame/includes/mainsnk.h3
-rw-r--r--src/mame/includes/malzak.h3
-rw-r--r--src/mame/includes/mappy.h9
-rw-r--r--src/mame/includes/marineb.h15
-rw-r--r--src/mame/includes/mario.h3
-rw-r--r--src/mame/includes/markham.h3
-rw-r--r--src/mame/includes/matmania.h6
-rw-r--r--src/mame/includes/mcatadv.h6
-rw-r--r--src/mame/includes/mcr.h3
-rw-r--r--src/mame/includes/mcr3.h6
-rw-r--r--src/mame/includes/mcr68.h6
-rw-r--r--src/mame/includes/meadows.h3
-rw-r--r--src/mame/includes/megadriv.h9
-rw-r--r--src/mame/includes/megasys1.h6
-rw-r--r--src/mame/includes/megazone.h3
-rw-r--r--src/mame/includes/mermaid.h6
-rw-r--r--src/mame/includes/metalmx.h1
-rw-r--r--src/mame/includes/metlclsh.h3
-rw-r--r--src/mame/includes/metro.h3
-rw-r--r--src/mame/includes/mexico86.h6
-rw-r--r--src/mame/includes/midvunit.h3
-rw-r--r--src/mame/includes/midzeus.h6
-rw-r--r--src/mame/includes/mikie.h3
-rw-r--r--src/mame/includes/mitchell.h3
-rw-r--r--src/mame/includes/mjkjidai.h3
-rw-r--r--src/mame/includes/model1.h6
-rw-r--r--src/mame/includes/model2.h3
-rw-r--r--src/mame/includes/model3.h3
-rw-r--r--src/mame/includes/momoko.h3
-rw-r--r--src/mame/includes/moo.h3
-rw-r--r--src/mame/includes/mosaic.h3
-rw-r--r--src/mame/includes/mouser.h3
-rw-r--r--src/mame/includes/mrdo.h3
-rw-r--r--src/mame/includes/mrflea.h3
-rw-r--r--src/mame/includes/mrjong.h3
-rw-r--r--src/mame/includes/ms32.h3
-rw-r--r--src/mame/includes/msisaac.h3
-rw-r--r--src/mame/includes/mugsmash.h3
-rw-r--r--src/mame/includes/munchmo.h3
-rw-r--r--src/mame/includes/mustache.h3
-rw-r--r--src/mame/includes/mw8080bw.h15
-rw-r--r--src/mame/includes/mystston.h1
-rw-r--r--src/mame/includes/mystwarr.h12
-rw-r--r--src/mame/includes/n64.h1
-rw-r--r--src/mame/includes/n8080.h12
-rw-r--r--src/mame/includes/namcofl.h3
-rw-r--r--src/mame/includes/namcona1.h1
-rw-r--r--src/mame/includes/namconb1.h6
-rw-r--r--src/mame/includes/namcos1.h6
-rw-r--r--src/mame/includes/namcos21.h1
-rw-r--r--src/mame/includes/namcos22.h6
-rw-r--r--src/mame/includes/namcos86.h6
-rw-r--r--src/mame/includes/naughtyb.h3
-rw-r--r--src/mame/includes/nbmj8688.h9
-rw-r--r--src/mame/includes/nbmj8891.h3
-rw-r--r--src/mame/includes/nbmj8900.h3
-rw-r--r--src/mame/includes/nbmj8991.h6
-rw-r--r--src/mame/includes/nbmj9195.h3
-rw-r--r--src/mame/includes/nemesis.h3
-rw-r--r--src/mame/includes/neogeo.h3
-rw-r--r--src/mame/includes/news.h3
-rw-r--r--src/mame/includes/ninjakd2.h4
-rw-r--r--src/mame/includes/ninjaw.h9
-rw-r--r--src/mame/includes/nitedrvr.h3
-rw-r--r--src/mame/includes/niyanpai.h3
-rw-r--r--src/mame/includes/nmk16.h45
-rw-r--r--src/mame/includes/norautp.h1
-rw-r--r--src/mame/includes/nova2001.h4
-rw-r--r--src/mame/includes/nycaptor.h3
-rw-r--r--src/mame/includes/offtwall.h3
-rw-r--r--src/mame/includes/ohmygod.h3
-rw-r--r--src/mame/includes/ojankohs.h6
-rw-r--r--src/mame/includes/oneshot.h6
-rw-r--r--src/mame/includes/opwolf.h3
-rw-r--r--src/mame/includes/orbit.h3
-rw-r--r--src/mame/includes/othldrby.h6
-rw-r--r--src/mame/includes/othunder.h3
-rw-r--r--src/mame/includes/overdriv.h3
-rw-r--r--src/mame/includes/pacland.h3
-rw-r--r--src/mame/includes/pacman.h6
-rw-r--r--src/mame/includes/pandoras.h3
-rw-r--r--src/mame/includes/paradise.h9
-rw-r--r--src/mame/includes/parodius.h3
-rw-r--r--src/mame/includes/pass.h3
-rw-r--r--src/mame/includes/pastelg.h3
-rw-r--r--src/mame/includes/pbaction.h1
-rw-r--r--src/mame/includes/pcktgal.h6
-rw-r--r--src/mame/includes/pgm.h6
-rw-r--r--src/mame/includes/phoenix.h3
-rw-r--r--src/mame/includes/pingpong.h3
-rw-r--r--src/mame/includes/pirates.h3
-rw-r--r--src/mame/includes/pitnrun.h3
-rw-r--r--src/mame/includes/pktgaldx.h6
-rw-r--r--src/mame/includes/playch10.h7
-rw-r--r--src/mame/includes/playmark.h16
-rw-r--r--src/mame/includes/plygonet.h3
-rw-r--r--src/mame/includes/pokechmp.h3
-rw-r--r--src/mame/includes/polepos.h3
-rw-r--r--src/mame/includes/policetr.h3
-rw-r--r--src/mame/includes/polyplay.h3
-rw-r--r--src/mame/includes/poolshrk.h3
-rw-r--r--src/mame/includes/pooyan.h3
-rw-r--r--src/mame/includes/popeye.h3
-rw-r--r--src/mame/includes/popper.h3
-rw-r--r--src/mame/includes/portrait.h3
-rw-r--r--src/mame/includes/powerins.h3
-rw-r--r--src/mame/includes/prehisle.h3
-rw-r--r--src/mame/includes/psikyo.h9
-rw-r--r--src/mame/includes/psikyo4.h6
-rw-r--r--src/mame/includes/psikyosh.h5
-rw-r--r--src/mame/includes/psychic5.h6
-rw-r--r--src/mame/includes/punchout.h12
-rw-r--r--src/mame/includes/pushman.h3
-rw-r--r--src/mame/includes/qdrmfgp.h3
-rw-r--r--src/mame/includes/quasar.h3
-rw-r--r--src/mame/includes/quizdna.h3
-rw-r--r--src/mame/includes/quizpani.h3
-rw-r--r--src/mame/includes/raiden.h3
-rw-r--r--src/mame/includes/raiden2.h1
-rw-r--r--src/mame/includes/rainbow.h6
-rw-r--r--src/mame/includes/rallyx.h9
-rw-r--r--src/mame/includes/rampart.h3
-rw-r--r--src/mame/includes/rastan.h3
-rw-r--r--src/mame/includes/realbrk.h6
-rw-r--r--src/mame/includes/redalert.h3
-rw-r--r--src/mame/includes/relief.h3
-rw-r--r--src/mame/includes/renegade.h3
-rw-r--r--src/mame/includes/retofinv.h3
-rw-r--r--src/mame/includes/rltennis.h3
-rw-r--r--src/mame/includes/rockrage.h3
-rw-r--r--src/mame/includes/rocnrope.h3
-rw-r--r--src/mame/includes/rohga.h9
-rw-r--r--src/mame/includes/rollerg.h3
-rw-r--r--src/mame/includes/rollrace.h3
-rw-r--r--src/mame/includes/route16.h9
-rw-r--r--src/mame/includes/rpunch.h3
-rw-r--r--src/mame/includes/runaway.h6
-rw-r--r--src/mame/includes/rungun.h3
-rw-r--r--src/mame/includes/sauro.h6
-rw-r--r--src/mame/includes/sbasketb.h3
-rw-r--r--src/mame/includes/sbugger.h3
-rw-r--r--src/mame/includes/scotrsht.h3
-rw-r--r--src/mame/includes/sderby.h6
-rw-r--r--src/mame/includes/segag80r.h3
-rw-r--r--src/mame/includes/segag80v.h3
-rw-r--r--src/mame/includes/segas24.h3
-rw-r--r--src/mame/includes/segas32.h9
-rw-r--r--src/mame/includes/seibuspi.h6
-rw-r--r--src/mame/includes/seicross.h3
-rw-r--r--src/mame/includes/senjyo.h3
-rw-r--r--src/mame/includes/seta.h20
-rw-r--r--src/mame/includes/seta2.h6
-rw-r--r--src/mame/includes/sf.h3
-rw-r--r--src/mame/includes/shadfrce.h6
-rw-r--r--src/mame/includes/shangha3.h3
-rw-r--r--src/mame/includes/shangkid.h6
-rw-r--r--src/mame/includes/shaolins.h3
-rw-r--r--src/mame/includes/shisen.h3
-rw-r--r--src/mame/includes/shootout.h6
-rw-r--r--src/mame/includes/shuuz.h3
-rw-r--r--src/mame/includes/sidearms.h3
-rw-r--r--src/mame/includes/sidepckt.h3
-rw-r--r--src/mame/includes/silkroad.h3
-rw-r--r--src/mame/includes/simpl156.h3
-rw-r--r--src/mame/includes/simpsons.h3
-rw-r--r--src/mame/includes/skullxbo.h3
-rw-r--r--src/mame/includes/skydiver.h3
-rw-r--r--src/mame/includes/skyfox.h3
-rw-r--r--src/mame/includes/skykid.h3
-rw-r--r--src/mame/includes/skyraid.h3
-rw-r--r--src/mame/includes/slapfght.h6
-rw-r--r--src/mame/includes/slapshot.h6
-rw-r--r--src/mame/includes/snk.h5
-rw-r--r--src/mame/includes/snk6502.h3
-rw-r--r--src/mame/includes/snk68.h3
-rw-r--r--src/mame/includes/snookr10.h3
-rw-r--r--src/mame/includes/snowbros.h6
-rw-r--r--src/mame/includes/solomon.h3
-rw-r--r--src/mame/includes/sonson.h3
-rw-r--r--src/mame/includes/spacefb.h3
-rw-r--r--src/mame/includes/spbactn.h3
-rw-r--r--src/mame/includes/spcforce.h3
-rw-r--r--src/mame/includes/spdodgeb.h3
-rw-r--r--src/mame/includes/speedatk.h3
-rw-r--r--src/mame/includes/speedbal.h3
-rw-r--r--src/mame/includes/speedspn.h3
-rw-r--r--src/mame/includes/splash.h6
-rw-r--r--src/mame/includes/sprcros2.h3
-rw-r--r--src/mame/includes/sprint2.h6
-rw-r--r--src/mame/includes/sprint4.h6
-rw-r--r--src/mame/includes/sprint8.h6
-rw-r--r--src/mame/includes/spy.h3
-rw-r--r--src/mame/includes/srmp2.h9
-rw-r--r--src/mame/includes/srumbler.h5
-rw-r--r--src/mame/includes/sshangha.h3
-rw-r--r--src/mame/includes/sslam.h6
-rw-r--r--src/mame/includes/ssozumo.h3
-rw-r--r--src/mame/includes/sspeedr.h6
-rw-r--r--src/mame/includes/ssrj.h6
-rw-r--r--src/mame/includes/ssv.h9
-rw-r--r--src/mame/includes/st0016.h5
-rw-r--r--src/mame/includes/stactics.h1
-rw-r--r--src/mame/includes/stadhero.h3
-rw-r--r--src/mame/includes/starcrus.h3
-rw-r--r--src/mame/includes/starfire.h3
-rw-r--r--src/mame/includes/starshp1.h6
-rw-r--r--src/mame/includes/stfight.h3
-rw-r--r--src/mame/includes/stlforce.h3
-rw-r--r--src/mame/includes/strnskil.h3
-rw-r--r--src/mame/includes/stv.h6
-rw-r--r--src/mame/includes/subs.h6
-rw-r--r--src/mame/includes/suna16.h6
-rw-r--r--src/mame/includes/suna8.h3
-rw-r--r--src/mame/includes/supbtime.h3
-rw-r--r--src/mame/includes/superchs.h3
-rw-r--r--src/mame/includes/superqix.h6
-rw-r--r--src/mame/includes/suprloco.h3
-rw-r--r--src/mame/includes/suprnova.h6
-rw-r--r--src/mame/includes/suprridr.h3
-rw-r--r--src/mame/includes/suprslam.h3
-rw-r--r--src/mame/includes/surpratk.h3
-rw-r--r--src/mame/includes/system1.h9
-rw-r--r--src/mame/includes/system16.h4
-rw-r--r--src/mame/includes/tagteam.h3
-rw-r--r--src/mame/includes/tail2nos.h3
-rw-r--r--src/mame/includes/taito_b.h9
-rw-r--r--src/mame/includes/taito_f2.h39
-rw-r--r--src/mame/includes/taito_f3.h6
-rw-r--r--src/mame/includes/taito_h.h9
-rw-r--r--src/mame/includes/taito_l.h6
-rw-r--r--src/mame/includes/taito_o.h3
-rw-r--r--src/mame/includes/taito_z.h24
-rw-r--r--src/mame/includes/taitoair.h3
-rw-r--r--src/mame/includes/taitojc.h6
-rw-r--r--src/mame/includes/taitosj.h6
-rw-r--r--src/mame/includes/tank8.h6
-rw-r--r--src/mame/includes/tankbatt.h3
-rw-r--r--src/mame/includes/tankbust.h3
-rw-r--r--src/mame/includes/taotaido.h6
-rw-r--r--src/mame/includes/targeth.h3
-rw-r--r--src/mame/includes/tatsumi.h12
-rw-r--r--src/mame/includes/taxidriv.h3
-rw-r--r--src/mame/includes/tbowl.h6
-rw-r--r--src/mame/includes/tceptor.h12
-rw-r--r--src/mame/includes/tecmo.h3
-rw-r--r--src/mame/includes/tecmo16.h3
-rw-r--r--src/mame/includes/tecmosys.h3
-rw-r--r--src/mame/includes/tehkanwc.h1
-rw-r--r--src/mame/includes/terracre.h3
-rw-r--r--src/mame/includes/tetrisp2.h21
-rw-r--r--src/mame/includes/thedeep.h3
-rw-r--r--src/mame/includes/thepit.h3
-rw-r--r--src/mame/includes/thief.h3
-rw-r--r--src/mame/includes/thoop2.h3
-rw-r--r--src/mame/includes/thunderj.h3
-rw-r--r--src/mame/includes/thunderx.h3
-rw-r--r--src/mame/includes/tiamc1.h3
-rw-r--r--src/mame/includes/tigeroad.h3
-rw-r--r--src/mame/includes/timelimt.h3
-rw-r--r--src/mame/includes/timeplt.h3
-rw-r--r--src/mame/includes/tmnt.h24
-rw-r--r--src/mame/includes/tnzs.h6
-rw-r--r--src/mame/includes/toaplan1.h15
-rw-r--r--src/mame/includes/toaplan2.h20
-rw-r--r--src/mame/includes/toki.h6
-rw-r--r--src/mame/includes/toobin.h3
-rw-r--r--src/mame/includes/topspeed.h3
-rw-r--r--src/mame/includes/toypop.h3
-rw-r--r--src/mame/includes/tp84.h3
-rw-r--r--src/mame/includes/trackfld.h3
-rw-r--r--src/mame/includes/travrusa.h3
-rw-r--r--src/mame/includes/triplhnt.h3
-rw-r--r--src/mame/includes/truco.h3
-rw-r--r--src/mame/includes/trucocl.h3
-rw-r--r--src/mame/includes/tryout.h3
-rw-r--r--src/mame/includes/tsamurai.h6
-rw-r--r--src/mame/includes/tubep.h6
-rw-r--r--src/mame/includes/tumbleb.h30
-rw-r--r--src/mame/includes/tumblep.h3
-rw-r--r--src/mame/includes/tunhunt.h3
-rw-r--r--src/mame/includes/turbo.h9
-rw-r--r--src/mame/includes/tutankhm.h3
-rw-r--r--src/mame/includes/twin16.h6
-rw-r--r--src/mame/includes/twincobr.h3
-rw-r--r--src/mame/includes/tx1.h27
-rw-r--r--src/mame/includes/ultraman.h3
-rw-r--r--src/mame/includes/ultratnk.h6
-rw-r--r--src/mame/includes/undrfire.h6
-rw-r--r--src/mame/includes/unico.h6
-rw-r--r--src/mame/includes/usgames.h3
-rw-r--r--src/mame/includes/vaportra.h3
-rw-r--r--src/mame/includes/vastar.h3
-rw-r--r--src/mame/includes/vball.h3
-rw-r--r--src/mame/includes/vectrex.h3
-rw-r--r--src/mame/includes/vendetta.h3
-rw-r--r--src/mame/includes/vicdual.h9
-rw-r--r--src/mame/includes/victory.h3
-rw-r--r--src/mame/includes/videopin.h3
-rw-r--r--src/mame/includes/vigilant.h6
-rw-r--r--src/mame/includes/vindictr.h3
-rw-r--r--src/mame/includes/volfied.h3
-rw-r--r--src/mame/includes/vsnes.h4
-rw-r--r--src/mame/includes/vulgus.h3
-rw-r--r--src/mame/includes/warpwarp.h3
-rw-r--r--src/mame/includes/warriorb.h6
-rw-r--r--src/mame/includes/wc90.h3
-rw-r--r--src/mame/includes/wc90b.h3
-rw-r--r--src/mame/includes/wecleman.h6
-rw-r--r--src/mame/includes/welltris.h3
-rw-r--r--src/mame/includes/wgp.h3
-rw-r--r--src/mame/includes/williams.h9
-rw-r--r--src/mame/includes/wiping.h3
-rw-r--r--src/mame/includes/wiz.h9
-rw-r--r--src/mame/includes/wolfpack.h6
-rw-r--r--src/mame/includes/wrally.h3
-rw-r--r--src/mame/includes/wwfsstar.h3
-rw-r--r--src/mame/includes/wwfwfest.h3
-rw-r--r--src/mame/includes/xain.h3
-rw-r--r--src/mame/includes/xexex.h3
-rw-r--r--src/mame/includes/xmen.h12
-rw-r--r--src/mame/includes/xorworld.h3
-rw-r--r--src/mame/includes/xxmissio.h3
-rw-r--r--src/mame/includes/xybots.h3
-rw-r--r--src/mame/includes/xyonix.h3
-rw-r--r--src/mame/includes/yiear.h3
-rw-r--r--src/mame/includes/yunsun16.h3
-rw-r--r--src/mame/includes/yunsung8.h3
-rw-r--r--src/mame/includes/zac2650.h3
-rw-r--r--src/mame/includes/zaccaria.h3
-rw-r--r--src/mame/includes/zaxxon.h12
-rw-r--r--src/mame/machine/3do.c17
-rw-r--r--src/mame/machine/decocass.h3
-rw-r--r--src/mame/machine/slikshot.c45
-rw-r--r--src/mame/video/1942.c7
-rw-r--r--src/mame/video/1943.c25
-rw-r--r--src/mame/video/20pacgal.c13
-rw-r--r--src/mame/video/40love.c7
-rw-r--r--src/mame/video/4enraya.c5
-rw-r--r--src/mame/video/8080bw.c119
-rw-r--r--src/mame/video/88games.c31
-rw-r--r--src/mame/video/actfancr.c9
-rw-r--r--src/mame/video/aeroboto.c37
-rw-r--r--src/mame/video/aerofgt.c168
-rw-r--r--src/mame/video/airbustr.c16
-rw-r--r--src/mame/video/ajax.c21
-rw-r--r--src/mame/video/aliens.c15
-rw-r--r--src/mame/video/alpha68k.c52
-rw-r--r--src/mame/video/ambush.c31
-rw-r--r--src/mame/video/amiga.c2
-rw-r--r--src/mame/video/amigaaga.c2
-rw-r--r--src/mame/video/ampoker2.c5
-rw-r--r--src/mame/video/amspdwy.c5
-rw-r--r--src/mame/video/angelkds.c19
-rw-r--r--src/mame/video/appoooh.c46
-rw-r--r--src/mame/video/aquarium.c25
-rw-r--r--src/mame/video/arabian.c11
-rw-r--r--src/mame/video/arcadecl.c5
-rw-r--r--src/mame/video/argus.c29
-rw-r--r--src/mame/video/arkanoid.c10
-rw-r--r--src/mame/video/armedf.c29
-rw-r--r--src/mame/video/ashnojoe.c23
-rw-r--r--src/mame/video/asterix.c57
-rw-r--r--src/mame/video/astrocde.c40
-rw-r--r--src/mame/video/asuka.c30
-rw-r--r--src/mame/video/atarifb.c6
-rw-r--r--src/mame/video/atarig1.c16
-rw-r--r--src/mame/video/atarig42.c30
-rw-r--r--src/mame/video/atarigt.c32
-rw-r--r--src/mame/video/atarigx2.c30
-rw-r--r--src/mame/video/atarisy1.c9
-rw-r--r--src/mame/video/atarisy2.c13
-rw-r--r--src/mame/video/atetris.c5
-rw-r--r--src/mame/video/badlands.c5
-rw-r--r--src/mame/video/bagman.c7
-rw-r--r--src/mame/video/balsente.c9
-rw-r--r--src/mame/video/bankp.c31
-rw-r--r--src/mame/video/baraduke.c30
-rw-r--r--src/mame/video/batman.c21
-rw-r--r--src/mame/video/battlane.c7
-rw-r--r--src/mame/video/battlera.c37
-rw-r--r--src/mame/video/battlex.c7
-rw-r--r--src/mame/video/battlnts.c11
-rw-r--r--src/mame/video/bbusters.c46
-rw-r--r--src/mame/video/beezer.c5
-rw-r--r--src/mame/video/bigevglf.c5
-rw-r--r--src/mame/video/bigstrkb.c17
-rw-r--r--src/mame/video/bionicc.c13
-rw-r--r--src/mame/video/bishi.c13
-rw-r--r--src/mame/video/bking.c78
-rw-r--r--src/mame/video/bladestl.c15
-rw-r--r--src/mame/video/blktiger.c17
-rw-r--r--src/mame/video/blmbycar.c15
-rw-r--r--src/mame/video/blockade.c5
-rw-r--r--src/mame/video/blockhl.c13
-rw-r--r--src/mame/video/blockout.c7
-rw-r--r--src/mame/video/bloodbro.c51
-rw-r--r--src/mame/video/blstroid.c7
-rw-r--r--src/mame/video/blueprnt.c13
-rw-r--r--src/mame/video/bogeyman.c7
-rw-r--r--src/mame/video/bombjack.c7
-rw-r--r--src/mame/video/boogwing.c41
-rw-r--r--src/mame/video/bosco.c24
-rw-r--r--src/mame/video/bottom9.c21
-rw-r--r--src/mame/video/brkthru.c13
-rw-r--r--src/mame/video/bsktball.c5
-rw-r--r--src/mame/video/btime.c83
-rw-r--r--src/mame/video/bublbobl.c29
-rw-r--r--src/mame/video/buggychl.c7
-rw-r--r--src/mame/video/bwing.c47
-rw-r--r--src/mame/video/cabal.c7
-rw-r--r--src/mame/video/calomega.c5
-rw-r--r--src/mame/video/canyon.c5
-rw-r--r--src/mame/video/capbowl.c2
-rw-r--r--src/mame/video/carjmbre.c25
-rw-r--r--src/mame/video/carpolo.c66
-rw-r--r--src/mame/video/cave.c57
-rw-r--r--src/mame/video/cbasebal.c13
-rw-r--r--src/mame/video/cbuster.c27
-rw-r--r--src/mame/video/ccastles.c23
-rw-r--r--src/mame/video/cclimber.c35
-rw-r--r--src/mame/video/centiped.c52
-rw-r--r--src/mame/video/chaknpop.c5
-rw-r--r--src/mame/video/champbas.c10
-rw-r--r--src/mame/video/changela.c11
-rw-r--r--src/mame/video/cheekyms.c19
-rw-r--r--src/mame/video/chqflag.c13
-rw-r--r--src/mame/video/cinemat.c6
-rw-r--r--src/mame/video/circus.c20
-rw-r--r--src/mame/video/circusc.c11
-rw-r--r--src/mame/video/cischeat.c128
-rw-r--r--src/mame/video/citycon.c15
-rw-r--r--src/mame/video/cloak.c5
-rw-r--r--src/mame/video/cloud9.c23
-rw-r--r--src/mame/video/clshroad.c17
-rw-r--r--src/mame/video/cninja.c133
-rw-r--r--src/mame/video/combatsc.c92
-rw-r--r--src/mame/video/commando.c7
-rw-r--r--src/mame/video/compgolf.c15
-rw-r--r--src/mame/video/contra.c31
-rw-r--r--src/mame/video/cop01.c13
-rw-r--r--src/mame/video/copsnrob.c41
-rw-r--r--src/mame/video/cosmic.c18
-rw-r--r--src/mame/video/cps1.c54
-rw-r--r--src/mame/video/crbaloon.c5
-rw-r--r--src/mame/video/crgolf.c25
-rw-r--r--src/mame/video/crimfght.c17
-rw-r--r--src/mame/video/crospang.c9
-rw-r--r--src/mame/video/crshrace.c16
-rw-r--r--src/mame/video/cvs.c59
-rw-r--r--src/mame/video/cyberbal.c6
-rw-r--r--src/mame/video/darius.c6
-rw-r--r--src/mame/video/darkmist.c35
-rw-r--r--src/mame/video/darkseal.c19
-rw-r--r--src/mame/video/dassault.c33
-rw-r--r--src/mame/video/dbz.c37
-rw-r--r--src/mame/video/dc.c15
-rw-r--r--src/mame/video/dcheese.c5
-rw-r--r--src/mame/video/dcon.c64
-rw-r--r--src/mame/video/dday.c19
-rw-r--r--src/mame/video/ddragon.c15
-rw-r--r--src/mame/video/ddragon3.c48
-rw-r--r--src/mame/video/ddribble.c25
-rw-r--r--src/mame/video/deadang.c33
-rw-r--r--src/mame/video/dec0.c287
-rw-r--r--src/mame/video/dec8.c102
-rw-r--r--src/mame/video/deco32.c128
-rw-r--r--src/mame/video/deco_mlc.c9
-rw-r--r--src/mame/video/decocass.c81
-rw-r--r--src/mame/video/deniam.c31
-rw-r--r--src/mame/video/dietgo.c15
-rw-r--r--src/mame/video/digdug.c7
-rw-r--r--src/mame/video/djboy.c22
-rw-r--r--src/mame/video/djmain.c2
-rw-r--r--src/mame/video/dkong.c39
-rw-r--r--src/mame/video/docastle.c7
-rw-r--r--src/mame/video/dogfgt.c15
-rw-r--r--src/mame/video/dooyong.c82
-rw-r--r--src/mame/video/dragrace.c19
-rw-r--r--src/mame/video/drgnmst.c57
-rw-r--r--src/mame/video/dribling.c11
-rw-r--r--src/mame/video/drmicro.c21
-rw-r--r--src/mame/video/dynax.c61
-rw-r--r--src/mame/video/dynduke.c15
-rw-r--r--src/mame/video/eolith.c5
-rw-r--r--src/mame/video/epos.c11
-rw-r--r--src/mame/video/eprom.c18
-rw-r--r--src/mame/video/equites.c22
-rw-r--r--src/mame/video/esd16.c33
-rw-r--r--src/mame/video/espial.c5
-rw-r--r--src/mame/video/esripsys.c19
-rw-r--r--src/mame/video/exedexes.c21
-rw-r--r--src/mame/video/exerion.c27
-rw-r--r--src/mame/video/exidy.c5
-rw-r--r--src/mame/video/exidy440.c11
-rw-r--r--src/mame/video/exprraid.c9
-rw-r--r--src/mame/video/exzisus.c47
-rw-r--r--src/mame/video/f1gp.c45
-rw-r--r--src/mame/video/fantland.c2
-rw-r--r--src/mame/video/fastfred.c16
-rw-r--r--src/mame/video/fastlane.c17
-rw-r--r--src/mame/video/fcombat.c35
-rw-r--r--src/mame/video/fgoal.c29
-rw-r--r--src/mame/video/finalizr.c23
-rw-r--r--src/mame/video/firetrap.c9
-rw-r--r--src/mame/video/firetrk.c97
-rw-r--r--src/mame/video/fitfight.c45
-rw-r--r--src/mame/video/flkatck.c23
-rw-r--r--src/mame/video/flower.c17
-rw-r--r--src/mame/video/flstory.c27
-rw-r--r--src/mame/video/foodf.c9
-rw-r--r--src/mame/video/freekick.c15
-rw-r--r--src/mame/video/fromanc2.c22
-rw-r--r--src/mame/video/fromance.c26
-rw-r--r--src/mame/video/funkybee.c5
-rw-r--r--src/mame/video/funkyjet.c15
-rw-r--r--src/mame/video/funworld.c5
-rw-r--r--src/mame/video/funybubl.c7
-rw-r--r--src/mame/video/fuukifg2.c43
-rw-r--r--src/mame/video/fuukifg3.c56
-rw-r--r--src/mame/video/gaelco.c70
-rw-r--r--src/mame/video/gaelco2.c27
-rw-r--r--src/mame/video/gaelco3d.c19
-rw-r--r--src/mame/video/gaiden.c51
-rw-r--r--src/mame/video/galaga.c18
-rw-r--r--src/mame/video/galastrm.c57
-rw-r--r--src/mame/video/galaxia.c42
-rw-r--r--src/mame/video/galaxian.c15
-rw-r--r--src/mame/video/galaxold.c48
-rw-r--r--src/mame/video/galivan.c34
-rw-r--r--src/mame/video/galpani2.c19
-rw-r--r--src/mame/video/galpanic.c16
-rw-r--r--src/mame/video/galspnbl.c7
-rw-r--r--src/mame/video/gameplan.c20
-rw-r--r--src/mame/video/gaplus.c22
-rw-r--r--src/mame/video/gatron.c5
-rw-r--r--src/mame/video/gauntlet.c9
-rw-r--r--src/mame/video/gberet.c14
-rw-r--r--src/mame/video/gbusters.c31
-rw-r--r--src/mame/video/gcpinbal.c51
-rw-r--r--src/mame/video/gijoe.c73
-rw-r--r--src/mame/video/ginganin.c33
-rw-r--r--src/mame/video/gladiatr.c32
-rw-r--r--src/mame/video/glass.c17
-rw-r--r--src/mame/video/gng.c9
-rw-r--r--src/mame/video/goal92.c34
-rw-r--r--src/mame/video/goindol.c17
-rw-r--r--src/mame/video/goldstar.c172
-rw-r--r--src/mame/video/gomoku.c15
-rw-r--r--src/mame/video/gotcha.c9
-rw-r--r--src/mame/video/gottlieb.c11
-rw-r--r--src/mame/video/gotya.c7
-rw-r--r--src/mame/video/gradius3.c25
-rw-r--r--src/mame/video/grchamp.c61
-rw-r--r--src/mame/video/gridlee.c17
-rw-r--r--src/mame/video/groundfx.c5
-rw-r--r--src/mame/video/gstriker.c9
-rw-r--r--src/mame/video/gsword.c5
-rw-r--r--src/mame/video/gumbo.c7
-rw-r--r--src/mame/video/gunbustr.c2
-rw-r--r--src/mame/video/gundealr.c7
-rw-r--r--src/mame/video/gunsmoke.c17
-rw-r--r--src/mame/video/gyruss.c9
-rw-r--r--src/mame/video/hanaawas.c5
-rw-r--r--src/mame/video/hcastle.c65
-rw-r--r--src/mame/video/hexion.c7
-rw-r--r--src/mame/video/higemaru.c5
-rw-r--r--src/mame/video/himesiki.c9
-rw-r--r--src/mame/video/hnayayoi.c13
-rw-r--r--src/mame/video/hng64.c87
-rw-r--r--src/mame/video/holeland.c14
-rw-r--r--src/mame/video/homedata.c97
-rw-r--r--src/mame/video/homerun.c9
-rw-r--r--src/mame/video/hyhoo.c7
-rw-r--r--src/mame/video/hyperspt.c11
-rw-r--r--src/mame/video/hyprduel.c37
-rw-r--r--src/mame/video/ikki.c29
-rw-r--r--src/mame/video/inufuku.c23
-rw-r--r--src/mame/video/iqblock.c9
-rw-r--r--src/mame/video/irobot.c9
-rw-r--r--src/mame/video/ironhors.c14
-rw-r--r--src/mame/video/itech32.c9
-rw-r--r--src/mame/video/itech8.c34
-rw-r--r--src/mame/video/jack.c10
-rw-r--r--src/mame/video/jackal.c2
-rw-r--r--src/mame/video/jailbrek.c23
-rw-r--r--src/mame/video/jedi.c13
-rw-r--r--src/mame/video/kan_panb.c34
-rw-r--r--src/mame/video/kaneko16.c29
-rw-r--r--src/mame/video/kangaroo.c27
-rw-r--r--src/mame/video/karnov.c7
-rw-r--r--src/mame/video/kchamp.c10
-rw-r--r--src/mame/video/kickgoal.c21
-rw-r--r--src/mame/video/kingobox.c18
-rw-r--r--src/mame/video/klax.c5
-rw-r--r--src/mame/video/kncljoe.c5
-rw-r--r--src/mame/video/konamigx.c28
-rw-r--r--src/mame/video/kopunch.c7
-rw-r--r--src/mame/video/ksayakyu.c9
-rw-r--r--src/mame/video/kyugo.c15
-rw-r--r--src/mame/video/labyrunr.c43
-rw-r--r--src/mame/video/ladybug.c40
-rw-r--r--src/mame/video/ladyfrog.c5
-rw-r--r--src/mame/video/lasso.c29
-rw-r--r--src/mame/video/lastduel.c30
-rw-r--r--src/mame/video/lazercmd.c9
-rw-r--r--src/mame/video/legionna.c95
-rw-r--r--src/mame/video/leland.c34
-rw-r--r--src/mame/video/lemmings.c30
-rw-r--r--src/mame/video/lethal.c13
-rw-r--r--src/mame/video/liberate.c64
-rw-r--r--src/mame/video/lkage.c59
-rw-r--r--src/mame/video/lockon.c18
-rw-r--r--src/mame/video/lordgun.c37
-rw-r--r--src/mame/video/lsasquad.c11
-rw-r--r--src/mame/video/lucky74.c7
-rw-r--r--src/mame/video/lvcards.c5
-rw-r--r--src/mame/video/lwings.c18
-rw-r--r--src/mame/video/m10.c32
-rw-r--r--src/mame/video/m107.c2
-rw-r--r--src/mame/video/m52.c35
-rw-r--r--src/mame/video/m57.c2
-rw-r--r--src/mame/video/m58.c9
-rw-r--r--src/mame/video/m62.c149
-rw-r--r--src/mame/video/m72.c52
-rw-r--r--src/mame/video/m90.c249
-rw-r--r--src/mame/video/m92.c14
-rw-r--r--src/mame/video/macrossp.c38
-rw-r--r--src/mame/video/madalien.c17
-rw-r--r--src/mame/video/madmotor.c7
-rw-r--r--src/mame/video/magmax.c41
-rw-r--r--src/mame/video/mainevt.c28
-rw-r--r--src/mame/video/mainsnk.c7
-rw-r--r--src/mame/video/malzak.c15
-rw-r--r--src/mame/video/mappy.c33
-rw-r--r--src/mame/video/marineb.c97
-rw-r--r--src/mame/video/mario.c13
-rw-r--r--src/mame/video/markham.c9
-rw-r--r--src/mame/video/matmania.c74
-rw-r--r--src/mame/video/mcatadv.c28
-rw-r--r--src/mame/video/mcd212.c10
-rw-r--r--src/mame/video/mcr.c2
-rw-r--r--src/mame/video/mcr3.c20
-rw-r--r--src/mame/video/mcr68.c14
-rw-r--r--src/mame/video/meadows.c5
-rw-r--r--src/mame/video/megasys1.c42
-rw-r--r--src/mame/video/megazone.c45
-rw-r--r--src/mame/video/mermaid.c134
-rw-r--r--src/mame/video/metlclsh.c17
-rw-r--r--src/mame/video/metro.c31
-rw-r--r--src/mame/video/mexico86.c50
-rw-r--r--src/mame/video/midvunit.c15
-rw-r--r--src/mame/video/midzeus.c5
-rw-r--r--src/mame/video/midzeus2.c5
-rw-r--r--src/mame/video/mikie.c7
-rw-r--r--src/mame/video/mitchell.c5
-rw-r--r--src/mame/video/mjkjidai.c7
-rw-r--r--src/mame/video/model1.c9
-rw-r--r--src/mame/video/model2.c33
-rw-r--r--src/mame/video/model3.c59
-rw-r--r--src/mame/video/momoko.c49
-rw-r--r--src/mame/video/moo.c53
-rw-r--r--src/mame/video/mosaic.c7
-rw-r--r--src/mame/video/mouser.c23
-rw-r--r--src/mame/video/mrdo.c7
-rw-r--r--src/mame/video/mrflea.c2
-rw-r--r--src/mame/video/mrjong.c5
-rw-r--r--src/mame/video/ms32.c89
-rw-r--r--src/mame/video/msisaac.c9
-rw-r--r--src/mame/video/mugsmash.c7
-rw-r--r--src/mame/video/munchmo.c2
-rw-r--r--src/mame/video/mustache.c5
-rw-r--r--src/mame/video/mw8080bw.c47
-rw-r--r--src/mame/video/mystston.c15
-rw-r--r--src/mame/video/mystwarr.c68
-rw-r--r--src/mame/video/n64.c15
-rw-r--r--src/mame/video/n8080.c90
-rw-r--r--src/mame/video/namcofl.c7
-rw-r--r--src/mame/video/namcona1.c31
-rw-r--r--src/mame/video/namconb1.c18
-rw-r--r--src/mame/video/namcos1.c44
-rw-r--r--src/mame/video/namcos21.c27
-rw-r--r--src/mame/video/namcos22.c19
-rw-r--r--src/mame/video/namcos86.c26
-rw-r--r--src/mame/video/naughtyb.c23
-rw-r--r--src/mame/video/nbmj8688.c29
-rw-r--r--src/mame/video/nbmj8891.c23
-rw-r--r--src/mame/video/nbmj8900.c31
-rw-r--r--src/mame/video/nbmj8991.c40
-rw-r--r--src/mame/video/nbmj9195.c39
-rw-r--r--src/mame/video/nemesis.c31
-rw-r--r--src/mame/video/neogeo.c5
-rw-r--r--src/mame/video/news.c7
-rw-r--r--src/mame/video/ninjakd2.c50
-rw-r--r--src/mame/video/ninjaw.c6
-rw-r--r--src/mame/video/nitedrvr.c5
-rw-r--r--src/mame/video/niyanpai.c29
-rw-r--r--src/mame/video/nmk16.c56
-rw-r--r--src/mame/video/nova2001.c32
-rw-r--r--src/mame/video/nycaptor.c77
-rw-r--r--src/mame/video/offtwall.c5
-rw-r--r--src/mame/video/ohmygod.c5
-rw-r--r--src/mame/video/ojankohs.c20
-rw-r--r--src/mame/video/oneshot.c26
-rw-r--r--src/mame/video/opwolf.c15
-rw-r--r--src/mame/video/orbit.c7
-rw-r--r--src/mame/video/othldrby.c32
-rw-r--r--src/mame/video/othunder.c13
-rw-r--r--src/mame/video/overdriv.c19
-rw-r--r--src/mame/video/pacland.c9
-rw-r--r--src/mame/video/pacman.c64
-rw-r--r--src/mame/video/pandoras.c9
-rw-r--r--src/mame/video/paradise.c51
-rw-r--r--src/mame/video/parodius.c31
-rw-r--r--src/mame/video/pass.c7
-rw-r--r--src/mame/video/pastelg.c7
-rw-r--r--src/mame/video/pbaction.c7
-rw-r--r--src/mame/video/pcktgal.c6
-rw-r--r--src/mame/video/pgm.c24
-rw-r--r--src/mame/video/phoenix.c7
-rw-r--r--src/mame/video/pingpong.c5
-rw-r--r--src/mame/video/pirates.c13
-rw-r--r--src/mame/video/pitnrun.c25
-rw-r--r--src/mame/video/pktgaldx.c42
-rw-r--r--src/mame/video/playch10.c37
-rw-r--r--src/mame/video/playmark.c59
-rw-r--r--src/mame/video/plygonet.c7
-rw-r--r--src/mame/video/pokechmp.c5
-rw-r--r--src/mame/video/polepos.c7
-rw-r--r--src/mame/video/policetr.c5
-rw-r--r--src/mame/video/polyplay.c5
-rw-r--r--src/mame/video/poolshrk.c11
-rw-r--r--src/mame/video/pooyan.c5
-rw-r--r--src/mame/video/popeye.c5
-rw-r--r--src/mame/video/popper.c21
-rw-r--r--src/mame/video/portrait.c19
-rw-r--r--src/mame/video/powerins.c19
-rw-r--r--src/mame/video/prehisle.c9
-rw-r--r--src/mame/video/psikyo.c131
-rw-r--r--src/mame/video/psikyo4.c4
-rw-r--r--src/mame/video/psikyosh.c13
-rw-r--r--src/mame/video/psychic5.c18
-rw-r--r--src/mame/video/punchout.c40
-rw-r--r--src/mame/video/pushman.c11
-rw-r--r--src/mame/video/qdrmfgp.c2
-rw-r--r--src/mame/video/quasar.c33
-rw-r--r--src/mame/video/quizdna.c9
-rw-r--r--src/mame/video/quizpani.c17
-rw-r--r--src/mame/video/raiden.c27
-rw-r--r--src/mame/video/rainbow.c30
-rw-r--r--src/mame/video/rallyx.c43
-rw-r--r--src/mame/video/rampart.c2
-rw-r--r--src/mame/video/rastan.c11
-rw-r--r--src/mame/video/realbrk.c78
-rw-r--r--src/mame/video/redalert.c63
-rw-r--r--src/mame/video/redclash.c9
-rw-r--r--src/mame/video/relief.c7
-rw-r--r--src/mame/video/renegade.c9
-rw-r--r--src/mame/video/retofinv.c7
-rw-r--r--src/mame/video/rltennis.c7
-rw-r--r--src/mame/video/rockrage.c15
-rw-r--r--src/mame/video/rocnrope.c5
-rw-r--r--src/mame/video/rohga.c85
-rw-r--r--src/mame/video/rollerg.c7
-rw-r--r--src/mame/video/rollrace.c45
-rw-r--r--src/mame/video/route16.c25
-rw-r--r--src/mame/video/rpunch.c13
-rw-r--r--src/mame/video/runaway.c32
-rw-r--r--src/mame/video/rungun.c11
-rw-r--r--src/mame/video/sauro.c12
-rw-r--r--src/mame/video/sbasketb.c7
-rw-r--r--src/mame/video/sbugger.c5
-rw-r--r--src/mame/video/scotrsht.c7
-rw-r--r--src/mame/video/sderby.c18
-rw-r--r--src/mame/video/segag80r.c5
-rw-r--r--src/mame/video/segag80v.c2
-rw-r--r--src/mame/video/segas24.c11
-rw-r--r--src/mame/video/segas32.c29
-rw-r--r--src/mame/video/seibuspi.c33
-rw-r--r--src/mame/video/seicross.c7
-rw-r--r--src/mame/video/senjyo.c47
-rw-r--r--src/mame/video/seta.c22
-rw-r--r--src/mame/video/seta2.c12
-rw-r--r--src/mame/video/sf.c13
-rw-r--r--src/mame/video/shadfrce.c18
-rw-r--r--src/mame/video/shangha3.c5
-rw-r--r--src/mame/video/shangkid.c17
-rw-r--r--src/mame/video/shaolins.c5
-rw-r--r--src/mame/video/shisen.c7
-rw-r--r--src/mame/video/shootout.c14
-rw-r--r--src/mame/video/shuuz.c5
-rw-r--r--src/mame/video/sidearms.c17
-rw-r--r--src/mame/video/sidepckt.c7
-rw-r--r--src/mame/video/silkroad.c31
-rw-r--r--src/mame/video/simpl156.c13
-rw-r--r--src/mame/video/simpsons.c31
-rw-r--r--src/mame/video/skullxbo.c7
-rw-r--r--src/mame/video/skydiver.c5
-rw-r--r--src/mame/video/skyfox.c2
-rw-r--r--src/mame/video/skykid.c25
-rw-r--r--src/mame/video/skyraid.c13
-rw-r--r--src/mame/video/slapfght.c50
-rw-r--r--src/mame/video/slapshot.c72
-rw-r--r--src/mame/video/snk.c81
-rw-r--r--src/mame/video/snk6502.c7
-rw-r--r--src/mame/video/snk68.c5
-rw-r--r--src/mame/video/snookr10.c5
-rw-r--r--src/mame/video/solomon.c7
-rw-r--r--src/mame/video/sonson.c5
-rw-r--r--src/mame/video/spacefb.c2
-rw-r--r--src/mame/video/spbactn.c33
-rw-r--r--src/mame/video/spcforce.c13
-rw-r--r--src/mame/video/spdodgeb.c7
-rw-r--r--src/mame/video/speedatk.c21
-rw-r--r--src/mame/video/speedbal.c11
-rw-r--r--src/mame/video/speedspn.c11
-rw-r--r--src/mame/video/splash.c22
-rw-r--r--src/mame/video/sprcros2.c7
-rw-r--r--src/mame/video/sprint2.c30
-rw-r--r--src/mame/video/sprint4.c22
-rw-r--r--src/mame/video/sprint8.c22
-rw-r--r--src/mame/video/spy.c17
-rw-r--r--src/mame/video/srmp2.c11
-rw-r--r--src/mame/video/srumbler.c9
-rw-r--r--src/mame/video/sshangha.c23
-rw-r--r--src/mame/video/sslam.c40
-rw-r--r--src/mame/video/ssozumo.c7
-rw-r--r--src/mame/video/sspeedr.c9
-rw-r--r--src/mame/video/ssrj.c20
-rw-r--r--src/mame/video/ssv.c38
-rw-r--r--src/mame/video/st0016.c4
-rw-r--r--src/mame/video/stactics.c13
-rw-r--r--src/mame/video/stadhero.c9
-rw-r--r--src/mame/video/starcrus.c41
-rw-r--r--src/mame/video/starfire.c5
-rw-r--r--src/mame/video/starshp1.c54
-rw-r--r--src/mame/video/stfight.c13
-rw-r--r--src/mame/video/stlforce.c39
-rw-r--r--src/mame/video/strnskil.c15
-rw-r--r--src/mame/video/stvvdp2.c24
-rw-r--r--src/mame/video/subs.c14
-rw-r--r--src/mame/video/suna16.c12
-rw-r--r--src/mame/video/suna8.c41
-rw-r--r--src/mame/video/supbtime.c15
-rw-r--r--src/mame/video/superchs.c2
-rw-r--r--src/mame/video/superqix.c14
-rw-r--r--src/mame/video/suprloco.c7
-rw-r--r--src/mame/video/suprnova.c45
-rw-r--r--src/mame/video/suprridr.c25
-rw-r--r--src/mame/video/suprslam.c13
-rw-r--r--src/mame/video/surpratk.c31
-rw-r--r--src/mame/video/system1.c45
-rw-r--r--src/mame/video/system16.c164
-rw-r--r--src/mame/video/tagteam.c5
-rw-r--r--src/mame/video/tail2nos.c9
-rw-r--r--src/mame/video/taito_b.c67
-rw-r--r--src/mame/video/taito_f2.c304
-rw-r--r--src/mame/video/taito_f3.c74
-rw-r--r--src/mame/video/taito_h.c41
-rw-r--r--src/mame/video/taito_l.c44
-rw-r--r--src/mame/video/taito_o.c11
-rw-r--r--src/mame/video/taito_z.c126
-rw-r--r--src/mame/video/taitoair.c17
-rw-r--r--src/mame/video/taitojc.c18
-rw-r--r--src/mame/video/taitosj.c4
-rw-r--r--src/mame/video/tank8.c32
-rw-r--r--src/mame/video/tankbatt.c5
-rw-r--r--src/mame/video/tankbust.c13
-rw-r--r--src/mame/video/taotaido.c26
-rw-r--r--src/mame/video/targeth.c15
-rw-r--r--src/mame/video/tatsumi.c82
-rw-r--r--src/mame/video/taxidriv.c47
-rw-r--r--src/mame/video/tbowl.c42
-rw-r--r--src/mame/video/tceptor.c38
-rw-r--r--src/mame/video/tecmo.c9
-rw-r--r--src/mame/video/tecmo16.c21
-rw-r--r--src/mame/video/tecmosys.c43
-rw-r--r--src/mame/video/tehkanwc.c15
-rw-r--r--src/mame/video/terracre.c9
-rw-r--r--src/mame/video/tetrisp2.c207
-rw-r--r--src/mame/video/thedeep.c17
-rw-r--r--src/mame/video/thepit.c21
-rw-r--r--src/mame/video/thief.c9
-rw-r--r--src/mame/video/thoop2.c43
-rw-r--r--src/mame/video/thunderj.c21
-rw-r--r--src/mame/video/thunderx.c21
-rw-r--r--src/mame/video/tiamc1.c17
-rw-r--r--src/mame/video/tigeroad.c9
-rw-r--r--src/mame/video/timelimt.c11
-rw-r--r--src/mame/video/timeplt.c7
-rw-r--r--src/mame/video/tmnt.c220
-rw-r--r--src/mame/video/tnzs.c14
-rw-r--r--src/mame/video/toaplan1.c55
-rw-r--r--src/mame/video/toaplan2.c82
-rw-r--r--src/mame/video/toki.c70
-rw-r--r--src/mame/video/toobin.c15
-rw-r--r--src/mame/video/topspeed.c45
-rw-r--r--src/mame/video/toypop.c7
-rw-r--r--src/mame/video/tp84.c17
-rw-r--r--src/mame/video/trackfld.c11
-rw-r--r--src/mame/video/travrusa.c7
-rw-r--r--src/mame/video/triplhnt.c11
-rw-r--r--src/mame/video/truco.c5
-rw-r--r--src/mame/video/trucocl.c5
-rw-r--r--src/mame/video/tryout.c25
-rw-r--r--src/mame/video/tsamurai.c24
-rw-r--r--src/mame/video/tubep.c44
-rw-r--r--src/mame/video/tumbleb.c104
-rw-r--r--src/mame/video/tumblep.c15
-rw-r--r--src/mame/video/tunhunt.c31
-rw-r--r--src/mame/video/turbo.c81
-rw-r--r--src/mame/video/tutankhm.c11
-rw-r--r--src/mame/video/twin16.c26
-rw-r--r--src/mame/video/twincobr.c11
-rw-r--r--src/mame/video/tx1.c59
-rw-r--r--src/mame/video/ultraman.c13
-rw-r--r--src/mame/video/ultratnk.c22
-rw-r--r--src/mame/video/undrfire.c82
-rw-r--r--src/mame/video/unico.c42
-rw-r--r--src/mame/video/usgames.c5
-rw-r--r--src/mame/video/vaportra.c49
-rw-r--r--src/mame/video/vastar.c31
-rw-r--r--src/mame/video/vball.c11
-rw-r--r--src/mame/video/vectrex.c19
-rw-r--r--src/mame/video/vendetta.c29
-rw-r--r--src/mame/video/vicdual.c24
-rw-r--r--src/mame/video/victory.c13
-rw-r--r--src/mame/video/videopin.c15
-rw-r--r--src/mame/video/vigilant.c22
-rw-r--r--src/mame/video/vindictr.c7
-rw-r--r--src/mame/video/volfied.c5
-rw-r--r--src/mame/video/vulgus.c11
-rw-r--r--src/mame/video/warpwarp.c7
-rw-r--r--src/mame/video/warriorb.c4
-rw-r--r--src/mame/video/wc90.c21
-rw-r--r--src/mame/video/wc90b.c19
-rw-r--r--src/mame/video/wecleman.c58
-rw-r--r--src/mame/video/welltris.c9
-rw-r--r--src/mame/video/wgp.c47
-rw-r--r--src/mame/video/williams.c37
-rw-r--r--src/mame/video/wiping.c29
-rw-r--r--src/mame/video/wiz.c37
-rw-r--r--src/mame/video/wolfpack.c42
-rw-r--r--src/mame/video/wrally.c33
-rw-r--r--src/mame/video/wwfsstar.c11
-rw-r--r--src/mame/video/wwfwfest.c45
-rw-r--r--src/mame/video/xain.c53
-rw-r--r--src/mame/video/xevious.c7
-rw-r--r--src/mame/video/xexex.c47
-rw-r--r--src/mame/video/xmen.c86
-rw-r--r--src/mame/video/xorworld.c5
-rw-r--r--src/mame/video/xxmissio.c13
-rw-r--r--src/mame/video/xybots.c7
-rw-r--r--src/mame/video/xyonix.c5
-rw-r--r--src/mame/video/yiear.c5
-rw-r--r--src/mame/video/yunsun16.c29
-rw-r--r--src/mame/video/yunsung8.c9
-rw-r--r--src/mame/video/zac2650.c5
-rw-r--r--src/mame/video/zaccaria.c11
-rw-r--r--src/mame/video/zaxxon.c20
2216 files changed, 14567 insertions, 14421 deletions
diff --git a/src/mame/drivers/1942.c b/src/mame/drivers/1942.c
index 4aaa35aab84..7b0d663716c 100644
--- a/src/mame/drivers/1942.c
+++ b/src/mame/drivers/1942.c
@@ -274,7 +274,7 @@ static MACHINE_CONFIG_START( 1942, _1942_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(1942)
+ MCFG_SCREEN_UPDATE_DRIVER(_1942_state, screen_update_1942)
/* sound hardware */
diff --git a/src/mame/drivers/1943.c b/src/mame/drivers/1943.c
index 48e7a38c0ca..f4a1f0f70ec 100644
--- a/src/mame/drivers/1943.c
+++ b/src/mame/drivers/1943.c
@@ -270,7 +270,7 @@ static MACHINE_CONFIG_START( 1943, _1943_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(1943)
+ MCFG_SCREEN_UPDATE_DRIVER(_1943_state, screen_update_1943)
MCFG_GFXDECODE(1943)
MCFG_PALETTE_LENGTH(32*4+16*16+16*16+16*16)
diff --git a/src/mame/drivers/1945kiii.c b/src/mame/drivers/1945kiii.c
index 7f5f0562737..6bfb4734df5 100644
--- a/src/mame/drivers/1945kiii.c
+++ b/src/mame/drivers/1945kiii.c
@@ -77,6 +77,7 @@ public:
TILE_GET_INFO_MEMBER(get_k3_bg_tile_info);
virtual void machine_start();
virtual void video_start();
+ UINT32 screen_update_k3(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -123,10 +124,9 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
}
}
-static SCREEN_UPDATE_IND16(k3)
+UINT32 k3_state::screen_update_k3(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- k3_state *state = screen.machine().driver_data<k3_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
draw_sprites(screen.machine(), bitmap, cliprect);
return 0;
}
@@ -267,7 +267,7 @@ static MACHINE_CONFIG_START( k3, k3_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 64*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
- MCFG_SCREEN_UPDATE_STATIC(k3)
+ MCFG_SCREEN_UPDATE_DRIVER(k3_state, screen_update_k3)
MCFG_PALETTE_LENGTH(0x800)
diff --git a/src/mame/drivers/2mindril.c b/src/mame/drivers/2mindril.c
index dd3d35f38ee..f1a50371e72 100644
--- a/src/mame/drivers/2mindril.c
+++ b/src/mame/drivers/2mindril.c
@@ -63,7 +63,6 @@ public:
DECLARE_DRIVER_INIT(drill);
DECLARE_MACHINE_START(drill);
DECLARE_MACHINE_RESET(drill);
-
};
@@ -458,8 +457,8 @@ static MACHINE_CONFIG_START( drill, _2mindril_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* inaccurate, same as Taito F3? (needs screen raw params anyway) */
MCFG_SCREEN_SIZE(40*8+48*2, 32*8)
MCFG_SCREEN_VISIBLE_AREA(46, 40*8-1 + 46, 24, 24+224-1)
- MCFG_SCREEN_UPDATE_STATIC(f3)
- MCFG_SCREEN_VBLANK_STATIC(f3)
+ MCFG_SCREEN_UPDATE_DRIVER(_2mindril_state, screen_update_f3)
+ MCFG_SCREEN_VBLANK_DRIVER(_2mindril_state, screen_eof_f3)
MCFG_PALETTE_LENGTH(0x2000)
diff --git a/src/mame/drivers/39in1.c b/src/mame/drivers/39in1.c
index 8f07a266ef3..83badf7bae5 100644
--- a/src/mame/drivers/39in1.c
+++ b/src/mame/drivers/39in1.c
@@ -74,6 +74,7 @@ public:
DECLARE_READ32_MEMBER(prot_cheater_r);
DECLARE_DRIVER_INIT(39in1);
virtual void machine_start();
+ UINT32 screen_update_39in1(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
@@ -1517,18 +1518,17 @@ static INPUT_PORTS_START( 39in1 )
PORT_SERVICE_NO_TOGGLE( 0x80000000, IP_ACTIVE_LOW )
INPUT_PORTS_END
-static SCREEN_UPDATE_RGB32( 39in1 )
+UINT32 _39in1_state::screen_update_39in1(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- _39in1_state *state = screen.machine().driver_data<_39in1_state>();
int x = 0;
int y = 0;
- for(y = 0; y <= (state->m_lcd_regs.lccr2 & PXA255_LCCR2_LPP); y++)
+ for(y = 0; y <= (m_lcd_regs.lccr2 & PXA255_LCCR2_LPP); y++)
{
UINT32 *d = &bitmap.pix32(y);
- for(x = 0; x <= (state->m_lcd_regs.lccr1 & PXA255_LCCR1_PPL); x++)
+ for(x = 0; x <= (m_lcd_regs.lccr1 & PXA255_LCCR1_PPL); x++)
{
- d[x] = state->m_pxa255_lcd_palette[state->m_pxa255_lcd_framebuffer[y*((state->m_lcd_regs.lccr1 & PXA255_LCCR1_PPL) + 1) + x]];
+ d[x] = m_pxa255_lcd_palette[m_pxa255_lcd_framebuffer[y*((m_lcd_regs.lccr1 & PXA255_LCCR1_PPL) + 1) + x]];
}
}
return 0;
@@ -1600,7 +1600,7 @@ static MACHINE_CONFIG_START( 39in1, _39in1_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(1024, 1024)
MCFG_SCREEN_VISIBLE_AREA(0, 295, 0, 479)
- MCFG_SCREEN_UPDATE_STATIC(39in1)
+ MCFG_SCREEN_UPDATE_DRIVER(_39in1_state, screen_update_39in1)
MCFG_PALETTE_LENGTH(256)
diff --git a/src/mame/drivers/3do.c b/src/mame/drivers/3do.c
index b3e9653b783..73555d1311c 100644
--- a/src/mame/drivers/3do.c
+++ b/src/mame/drivers/3do.c
@@ -165,7 +165,7 @@ static MACHINE_CONFIG_START( 3do, _3do_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS( X2_CLOCK_NTSC / 2, 1592, 254, 1534, 263, 22, 262 )
- MCFG_SCREEN_UPDATE_STATIC( _3do )
+ MCFG_SCREEN_UPDATE_DRIVER(_3do_state, screen_update__3do)
MCFG_CDROM_ADD( "cdrom", _3do_cdrom)
MACHINE_CONFIG_END
@@ -179,7 +179,7 @@ static MACHINE_CONFIG_START( 3do_pal, _3do_state )
MCFG_SCREEN_ADD("screen", RASTER)
- MCFG_SCREEN_UPDATE_STATIC( _3do )
+ MCFG_SCREEN_UPDATE_DRIVER(_3do_state, screen_update__3do)
MCFG_SCREEN_SIZE( 640, 625 )
MCFG_SCREEN_VISIBLE_AREA( 0, 639, 0, 479 )
MCFG_SCREEN_REFRESH_RATE( 50 )
diff --git a/src/mame/drivers/40love.c b/src/mame/drivers/40love.c
index 4fd0156e6ca..6f7d5026d53 100644
--- a/src/mame/drivers/40love.c
+++ b/src/mame/drivers/40love.c
@@ -1080,7 +1080,7 @@ static MACHINE_CONFIG_START( 40love, fortyl_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(128,128+255, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(fortyl)
+ MCFG_SCREEN_UPDATE_DRIVER(fortyl_state, screen_update_fortyl)
MCFG_GFXDECODE(40love)
MCFG_PALETTE_LENGTH(1024)
@@ -1135,7 +1135,7 @@ static MACHINE_CONFIG_START( undoukai, fortyl_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(128,128+255, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(fortyl)
+ MCFG_SCREEN_UPDATE_DRIVER(fortyl_state, screen_update_fortyl)
MCFG_GFXDECODE(40love)
MCFG_PALETTE_LENGTH(1024)
diff --git a/src/mame/drivers/4enraya.c b/src/mame/drivers/4enraya.c
index 5266657d61f..f37c19c75ed 100644
--- a/src/mame/drivers/4enraya.c
+++ b/src/mame/drivers/4enraya.c
@@ -330,7 +330,7 @@ static MACHINE_CONFIG_START( 4enraya, _4enraya_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(4enraya)
+ MCFG_SCREEN_UPDATE_DRIVER(_4enraya_state, screen_update_4enraya)
MCFG_GFXDECODE(4enraya)
diff --git a/src/mame/drivers/4roses.c b/src/mame/drivers/4roses.c
index d2656839b80..79b4205400e 100644
--- a/src/mame/drivers/4roses.c
+++ b/src/mame/drivers/4roses.c
@@ -396,7 +396,7 @@ static MACHINE_CONFIG_START( 4roses, _4roses_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE((124+1)*4, (30+1)*8) /* guess. taken from funworld games */
MCFG_SCREEN_VISIBLE_AREA(0*4, 96*4-1, 0*8, 29*8-1) /* guess. taken from funworld games */
- MCFG_SCREEN_UPDATE_STATIC(funworld)
+ MCFG_SCREEN_UPDATE_DRIVER(_4roses_state, screen_update_funworld)
MCFG_GFXDECODE(4roses)
diff --git a/src/mame/drivers/5clown.c b/src/mame/drivers/5clown.c
index 9620e9510c7..17c4e32e0a9 100644
--- a/src/mame/drivers/5clown.c
+++ b/src/mame/drivers/5clown.c
@@ -486,6 +486,7 @@ public:
TILE_GET_INFO_MEMBER(get_fclown_tile_info);
virtual void video_start();
virtual void palette_init();
+ UINT32 screen_update_fclown(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -537,10 +538,9 @@ void _5clown_state::video_start()
}
-static SCREEN_UPDATE_IND16( fclown )
+UINT32 _5clown_state::screen_update_fclown(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- _5clown_state *state = screen.machine().driver_data<_5clown_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
}
@@ -1081,7 +1081,7 @@ static MACHINE_CONFIG_START( fclown, _5clown_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE((39+1)*8, (31+1)*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(fclown)
+ MCFG_SCREEN_UPDATE_DRIVER(_5clown_state, screen_update_fclown)
MCFG_GFXDECODE(fclown)
MCFG_PALETTE_LENGTH(256)
diff --git a/src/mame/drivers/8080bw.c b/src/mame/drivers/8080bw.c
index 1b2804669d2..41f805af587 100644
--- a/src/mame/drivers/8080bw.c
+++ b/src/mame/drivers/8080bw.c
@@ -396,7 +396,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( invadpt2, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(invadpt2)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_invadpt2)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -572,7 +572,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( cosmo, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(cosmo)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_cosmo)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -802,7 +802,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( lrescue, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(invadpt2)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_invadpt2)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -954,7 +954,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( rollingc, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(rollingc)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_rollingc)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1072,7 +1072,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( schaser, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(schaser)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_schaser)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -1141,7 +1141,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( schasercv, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(schasercv)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_schasercv)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1222,7 +1222,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( sflush, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(sflush)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_sflush)
MACHINE_CONFIG_END
@@ -1329,7 +1329,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( lupin3, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(indianbt)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_indianbt)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1349,7 +1349,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( lupin3a, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(lupin3)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_lupin3)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1469,7 +1469,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( polaris, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(polaris)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_polaris)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -1592,7 +1592,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( ballbomb, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(ballbomb)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_ballbomb)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1763,7 +1763,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( indianbt, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(indianbt)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_indianbt)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1837,7 +1837,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( steelwkr, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(invadpt2)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_invadpt2)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -1972,7 +1972,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( shuttlei, mw8080bw_root, _8080bw_state )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 24*8-1)
- MCFG_SCREEN_UPDATE_STATIC(shuttlei)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_shuttlei)
/* sound hardware */
MCFG_FRAGMENT_ADD(invaders_samples_audio)
@@ -2153,7 +2153,7 @@ MACHINE_CONFIG_DERIVED_CLASS( vortex, mw8080bw_root, _8080bw_state )
/* video hardware */
// TODO: replace with modified invaders color renderer code allowing midscanline color writes
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(invaders)
+ MCFG_SCREEN_UPDATE_DRIVER(_8080bw_state, screen_update_invaders)
/* add shifter */
MCFG_MB14241_ADD("mb14241")
diff --git a/src/mame/drivers/88games.c b/src/mame/drivers/88games.c
index a054de42e2d..4f6f87bcdbb 100644
--- a/src/mame/drivers/88games.c
+++ b/src/mame/drivers/88games.c
@@ -386,7 +386,7 @@ static MACHINE_CONFIG_START( 88games, _88games_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 )
- MCFG_SCREEN_UPDATE_STATIC(88games)
+ MCFG_SCREEN_UPDATE_DRIVER(_88games_state, screen_update_88games)
MCFG_PALETTE_LENGTH(2048)
diff --git a/src/mame/drivers/ace.c b/src/mame/drivers/ace.c
index 7bdef149339..3c0bf68debc 100644
--- a/src/mame/drivers/ace.c
+++ b/src/mame/drivers/ace.c
@@ -68,6 +68,7 @@ public:
virtual void machine_reset();
virtual void video_start();
virtual void palette_init();
+ UINT32 screen_update_ace(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -91,9 +92,8 @@ void aceal_state::video_start()
machine().gfx[4]->set_source(m_scoreram);
}
-static SCREEN_UPDATE_IND16( ace )
+UINT32 aceal_state::screen_update_ace(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- aceal_state *state = screen.machine().driver_data<aceal_state>();
int offs;
/* first of all, fill the screen with the background color */
@@ -103,19 +103,19 @@ static SCREEN_UPDATE_IND16( ace )
0,
0,
0, 0,
- state->m_objpos[0], state->m_objpos[1]);
+ m_objpos[0], m_objpos[1]);
drawgfx_opaque(bitmap, cliprect, screen.machine().gfx[2],
0,
0,
0, 0,
- state->m_objpos[2], state->m_objpos[3]);
+ m_objpos[2], m_objpos[3]);
drawgfx_opaque(bitmap, cliprect, screen.machine().gfx[3],
0,
0,
0, 0,
- state->m_objpos[4], state->m_objpos[5]);
+ m_objpos[4], m_objpos[5]);
for (offs = 0; offs < 8; offs++)
{
@@ -359,7 +359,7 @@ static MACHINE_CONFIG_START( ace, aceal_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(4*8, 32*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(ace)
+ MCFG_SCREEN_UPDATE_DRIVER(aceal_state, screen_update_ace)
MCFG_GFXDECODE(ace)
MCFG_PALETTE_LENGTH(2)
diff --git a/src/mame/drivers/acefruit.c b/src/mame/drivers/acefruit.c
index 8100daef70b..e65674e952b 100644
--- a/src/mame/drivers/acefruit.c
+++ b/src/mame/drivers/acefruit.c
@@ -39,6 +39,7 @@ public:
DECLARE_DRIVER_INIT(sidewndr);
virtual void video_start();
virtual void palette_init();
+ UINT32 screen_update_acefruit(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -89,9 +90,8 @@ static INTERRUPT_GEN( acefruit_vblank )
state->m_refresh_timer->adjust( attotime::zero );
}
-static SCREEN_UPDATE_IND16( acefruit )
+UINT32 acefruit_state::screen_update_acefruit(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- acefruit_state *state = screen.machine().driver_data<acefruit_state>();
int startrow = cliprect.min_y / 8;
int endrow = cliprect.max_y / 8;
int row;
@@ -106,8 +106,8 @@ static SCREEN_UPDATE_IND16( acefruit )
for( col = 0; col < 32; col++ )
{
int tile_index = ( col * 32 ) + row;
- int code = state->m_videoram[ tile_index ];
- int color = state->m_colorram[ tile_index ];
+ int code = m_videoram[ tile_index ];
+ int color = m_colorram[ tile_index ];
if( color < 0x4 )
{
@@ -123,7 +123,7 @@ static SCREEN_UPDATE_IND16( acefruit )
for( x = 0; x < 16; x++ )
{
- int sprite = ( state->m_spriteram[ ( spriteindex / 64 ) % 6 ] & 0xf ) ^ 0xf;
+ int sprite = ( m_spriteram[ ( spriteindex / 64 ) % 6 ] & 0xf ) ^ 0xf;
const UINT8 *gfxdata = gfx->get_data(sprite);
for( y = 0; y < 8; y++ )
@@ -592,7 +592,7 @@ static MACHINE_CONFIG_START( acefruit, acefruit_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(512, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 511, 0, 255)
- MCFG_SCREEN_UPDATE_STATIC(acefruit)
+ MCFG_SCREEN_UPDATE_DRIVER(acefruit_state, screen_update_acefruit)
MCFG_PALETTE_LENGTH(16)
diff --git a/src/mame/drivers/acommand.c b/src/mame/drivers/acommand.c
index 610644229c3..6ceaee97c7b 100644
--- a/src/mame/drivers/acommand.c
+++ b/src/mame/drivers/acommand.c
@@ -92,6 +92,7 @@ public:
TILE_GET_INFO_MEMBER(ac_get_bg_tile_info);
TILE_GET_INFO_MEMBER(ac_get_tx_tile_info);
virtual void video_start();
+ UINT32 screen_update_acommand(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -249,21 +250,20 @@ static void draw_led(bitmap_ind16 &bitmap, int x, int y,UINT8 value)
}
-static SCREEN_UPDATE_IND16( acommand )
+UINT32 acommand_state::screen_update_acommand(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- acommand_state *state = screen.machine().driver_data<acommand_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0,0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0,0);
draw_sprites(screen.machine(),bitmap,cliprect,0,0);
- state->m_tx_tilemap->draw(bitmap, cliprect, 0,0);
+ m_tx_tilemap->draw(bitmap, cliprect, 0,0);
/*Order might be wrong,but these for sure are the led numbers tested*/
- draw_led(bitmap, 0, 20, (state->m_led0 & 0x0f00) >> 8);
- draw_led(bitmap, 6, 20, (state->m_led0 & 0x00f0) >> 4);
- draw_led(bitmap, 12, 20, (state->m_led0 & 0x000f));
+ draw_led(bitmap, 0, 20, (m_led0 & 0x0f00) >> 8);
+ draw_led(bitmap, 6, 20, (m_led0 & 0x00f0) >> 4);
+ draw_led(bitmap, 12, 20, (m_led0 & 0x000f));
- draw_led(bitmap, 256-18,20,(state->m_led0 & 0xf000) >> 12);
- draw_led(bitmap, 256-12,20,(state->m_led1 & 0xf0) >> 4);
- draw_led(bitmap, 256-6,20, (state->m_led1 & 0xf));
+ draw_led(bitmap, 256-18,20,(m_led0 & 0xf000) >> 12);
+ draw_led(bitmap, 256-12,20,(m_led1 & 0xf0) >> 4);
+ draw_led(bitmap, 256-6,20, (m_led1 & 0xf));
return 0;
}
@@ -609,7 +609,7 @@ static MACHINE_CONFIG_START( acommand, acommand_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(acommand)
+ MCFG_SCREEN_UPDATE_DRIVER(acommand_state, screen_update_acommand)
MCFG_GFXDECODE(acommand)
MCFG_PALETTE_LENGTH(0x4000)
diff --git a/src/mame/drivers/actfancr.c b/src/mame/drivers/actfancr.c
index 8abb946a694..ff35a1b2935 100644
--- a/src/mame/drivers/actfancr.c
+++ b/src/mame/drivers/actfancr.c
@@ -337,7 +337,7 @@ static MACHINE_CONFIG_START( actfancr, actfancr_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_STATIC(actfancr)
+ MCFG_SCREEN_UPDATE_DRIVER(actfancr_state, screen_update_actfancr)
MCFG_GFXDECODE(actfan)
MCFG_PALETTE_LENGTH(768)
@@ -387,7 +387,7 @@ static MACHINE_CONFIG_START( triothep, actfancr_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_STATIC(actfancr)
+ MCFG_SCREEN_UPDATE_DRIVER(actfancr_state, screen_update_actfancr)
MCFG_GFXDECODE(triothep)
MCFG_PALETTE_LENGTH(768)
diff --git a/src/mame/drivers/adp.c b/src/mame/drivers/adp.c
index 5fa12f6cbf9..806149d9d4f 100644
--- a/src/mame/drivers/adp.c
+++ b/src/mame/drivers/adp.c
@@ -183,6 +183,7 @@ public:
DECLARE_MACHINE_START(skattv);
DECLARE_MACHINE_RESET(skattv);
DECLARE_PALETTE_INIT(adp);
+ UINT32 screen_update_adp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -203,24 +204,22 @@ UINT32 adp_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, con
#if 0
-static SCREEN_UPDATE_IND16( adp )
+UINT32 adp_state::screen_update_adp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- adp_state *state = screen.machine().driver_data<adp_state>();
- state->m_h63484->update_screen(bitmap, cliprect);
+ m_h63484->update_screen(bitmap, cliprect);
#if 0
- adp_state *state = screen.machine().driver_data<adp_state>();
int x, y, b, src;
- b = ((hd63484_regs_r(state->m_hd63484, 0xcc/2, 0xffff) & 0x000f) << 16) + hd63484_regs_r(state->m_hd63484, 0xce/2, 0xffff);
+ b = ((hd63484_regs_r(m_hd63484, 0xcc/2, 0xffff) & 0x000f) << 16) + hd63484_regs_r(m_hd63484, 0xce/2, 0xffff);
for (y = 0;y < 280;y++)
{
- for (x = 0 ; x < (hd63484_regs_r(state->m_hd63484, 0xca/2, 0xffff) & 0x0fff) * 4 ; x += 4)
+ for (x = 0 ; x < (hd63484_regs_r(m_hd63484, 0xca/2, 0xffff) & 0x0fff) * 4 ; x += 4)
{
b &= (HD63484_RAM_SIZE - 1);
- src = hd63484_ram_r(state->m_hd63484, b, 0xffff);
+ src = hd63484_ram_r(m_hd63484, b, 0xffff);
bitmap.pix16(y, x ) = ((src & 0x000f) >> 0) << 0;
bitmap.pix16(y, x + 1) = ((src & 0x00f0) >> 4) << 0;
bitmap.pix16(y, x + 2) = ((src & 0x0f00) >> 8) << 0;
@@ -229,24 +228,24 @@ static SCREEN_UPDATE_IND16( adp )
}
}
if (!screen.machine().input().code_pressed(KEYCODE_O)) // debug: toggle window
- if ((hd63484_regs_r(state->m_hd63484, 0x06/2, 0xffff) & 0x0300) == 0x0300)
+ if ((hd63484_regs_r(m_hd63484, 0x06/2, 0xffff) & 0x0300) == 0x0300)
{
- int sy = (hd63484_regs_r(state->m_hd63484, 0x94/2, 0xffff) & 0x0fff) - (hd63484_regs_r(state->m_hd63484, 0x88/2, 0xffff) >> 8);
- int h = hd63484_regs_r(state->m_hd63484, 0x96/2, 0xffff) & 0x0fff;
- int sx = ((hd63484_regs_r(state->m_hd63484, 0x92/2, 0xffff) >> 8) - (hd63484_regs_r(state->m_hd63484, 0x84/2, 0xffff) >> 8)) * 2 * 2;
- int w = (hd63484_regs_r(state->m_hd63484, 0x92/2, 0xffff) & 0xff) * 2;
+ int sy = (hd63484_regs_r(m_hd63484, 0x94/2, 0xffff) & 0x0fff) - (hd63484_regs_r(m_hd63484, 0x88/2, 0xffff) >> 8);
+ int h = hd63484_regs_r(m_hd63484, 0x96/2, 0xffff) & 0x0fff;
+ int sx = ((hd63484_regs_r(m_hd63484, 0x92/2, 0xffff) >> 8) - (hd63484_regs_r(m_hd63484, 0x84/2, 0xffff) >> 8)) * 2 * 2;
+ int w = (hd63484_regs_r(m_hd63484, 0x92/2, 0xffff) & 0xff) * 2;
if (sx < 0) sx = 0; // not sure about this (shangha2 title screen)
- b = (((hd63484_regs_r(state->m_hd63484, 0xdc/2, 0xffff) & 0x000f) << 16) + hd63484_regs_r(state->m_hd63484, 0xde/2, 0xffff));
+ b = (((hd63484_regs_r(m_hd63484, 0xdc/2, 0xffff) & 0x000f) << 16) + hd63484_regs_r(m_hd63484, 0xde/2, 0xffff));
for (y = sy ; y <= sy + h && y < 280 ; y++)
{
- for (x = 0 ; x < (hd63484_regs_r(state->m_hd63484, 0xca/2, 0xffff) & 0x0fff) * 4 ; x += 4)
+ for (x = 0 ; x < (hd63484_regs_r(m_hd63484, 0xca/2, 0xffff) & 0x0fff) * 4 ; x += 4)
{
b &= (HD63484_RAM_SIZE - 1);
- src = hd63484_ram_r(state->m_hd63484, b, 0xffff);
+ src = hd63484_ram_r(m_hd63484, b, 0xffff);
- if (x <= w && x + sx >= 0 && x + sx < (hd63484_regs_r(state->m_hd63484, 0xca/2, 0xffff) & 0x0fff) * 4)
+ if (x <= w && x + sx >= 0 && x + sx < (hd63484_regs_r(m_hd63484, 0xca/2, 0xffff) & 0x0fff) * 4)
{
bitmap.pix16(y, x + sx ) = ((src & 0x000f) >> 0) << 0;
bitmap.pix16(y, x + sx + 1) = ((src & 0x00f0) >> 4) << 0;
diff --git a/src/mame/drivers/aeroboto.c b/src/mame/drivers/aeroboto.c
index 03453cfd449..c7922e411e8 100644
--- a/src/mame/drivers/aeroboto.c
+++ b/src/mame/drivers/aeroboto.c
@@ -265,7 +265,7 @@ static MACHINE_CONFIG_START( formatz, aeroboto_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 31*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(aeroboto)
+ MCFG_SCREEN_UPDATE_DRIVER(aeroboto_state, screen_update_aeroboto)
MCFG_GFXDECODE(aeroboto)
diff --git a/src/mame/drivers/aerofgt.c b/src/mame/drivers/aerofgt.c
index 7bb74c18671..23cf346dbba 100644
--- a/src/mame/drivers/aerofgt.c
+++ b/src/mame/drivers/aerofgt.c
@@ -1343,7 +1343,7 @@ static MACHINE_CONFIG_START( pspikes, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(pspikes)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_pspikes)
MCFG_GFXDECODE(pspikes)
MCFG_PALETTE_LENGTH(2048)
@@ -1379,7 +1379,7 @@ static MACHINE_CONFIG_START( spikes91, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 320-1, 0*8+4, 224+4-1)
- MCFG_SCREEN_UPDATE_STATIC(spikes91)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_spikes91)
MCFG_GFXDECODE(spikes91)
MCFG_PALETTE_LENGTH(2048)
@@ -1411,7 +1411,7 @@ static MACHINE_CONFIG_START( pspikesb, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(pspikesb)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_pspikesb)
MCFG_GFXDECODE(pspikesb)
MCFG_PALETTE_LENGTH(2048)
@@ -1441,7 +1441,7 @@ static MACHINE_CONFIG_START( pspikesc, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+4, 44*8+4-1, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(pspikes)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_pspikes)
MCFG_GFXDECODE(pspikes)
MCFG_PALETTE_LENGTH(2048)
@@ -1476,7 +1476,7 @@ static MACHINE_CONFIG_START( karatblz, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(1*8, 45*8-1, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(karatblz)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_karatblz)
MCFG_GFXDECODE(turbofrc)
MCFG_PALETTE_LENGTH(1024)
@@ -1515,7 +1515,7 @@ static MACHINE_CONFIG_START( spinlbrk, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(1*8, 45*8-1, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(spinlbrk)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_spinlbrk)
MCFG_GFXDECODE(turbofrc)
MCFG_PALETTE_LENGTH(1024)
@@ -1554,7 +1554,7 @@ static MACHINE_CONFIG_START( turbofrc, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 44*8-1, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(turbofrc)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_turbofrc)
MCFG_GFXDECODE(turbofrc)
MCFG_PALETTE_LENGTH(1024)
@@ -1594,7 +1594,7 @@ static MACHINE_CONFIG_START( aerofgtb, aerofgt_state )
/* wrong but improves sprite-background synchronization */
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
- MCFG_SCREEN_UPDATE_STATIC(turbofrc)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_turbofrc)
MCFG_GFXDECODE(aerofgtb)
MCFG_PALETTE_LENGTH(1024)
@@ -1634,7 +1634,7 @@ static MACHINE_CONFIG_START( aerofgt, aerofgt_state )
/* wrong but improves sprite-background synchronization */
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
- MCFG_SCREEN_UPDATE_STATIC(aerofgt)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_aerofgt)
MCFG_GFXDECODE(aerofgt)
MCFG_PALETTE_LENGTH(1024)
@@ -1672,7 +1672,7 @@ static MACHINE_CONFIG_START( aerfboot, aerofgt_state )
/* wrong but improves sprite-background synchronization */
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
- MCFG_SCREEN_UPDATE_STATIC(aerfboot)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_aerfboot)
MCFG_GFXDECODE(aerfboot)
MCFG_PALETTE_LENGTH(1024)
@@ -1703,7 +1703,7 @@ static MACHINE_CONFIG_START( aerfboo2, aerofgt_state )
/* wrong but improves sprite-background synchronization */
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+12, 40*8-1+12, 0*8, 28*8-1)
- MCFG_SCREEN_UPDATE_STATIC(aerfboo2)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_aerfboo2)
MCFG_GFXDECODE(aerfboo2)
MCFG_PALETTE_LENGTH(1024)
@@ -1736,7 +1736,7 @@ static MACHINE_CONFIG_START( wbbc97, aerofgt_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 64*8)
MCFG_SCREEN_VISIBLE_AREA(0*8+14, 44*8-1+4, 0*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(wbbc97)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_wbbc97)
MCFG_GFXDECODE(wbbc97)
MCFG_PALETTE_LENGTH(2048)
diff --git a/src/mame/drivers/airbustr.c b/src/mame/drivers/airbustr.c
index 6932b2a06ab..0d14e3b4965 100644
--- a/src/mame/drivers/airbustr.c
+++ b/src/mame/drivers/airbustr.c
@@ -647,8 +647,8 @@ static MACHINE_CONFIG_START( airbustr, airbustr_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(airbustr)
- MCFG_SCREEN_VBLANK_STATIC(airbustr)
+ MCFG_SCREEN_UPDATE_DRIVER(airbustr_state, screen_update_airbustr)
+ MCFG_SCREEN_VBLANK_DRIVER(airbustr_state, screen_eof_airbustr)
MCFG_GFXDECODE(airbustr)
MCFG_PALETTE_LENGTH(768)
diff --git a/src/mame/drivers/ajax.c b/src/mame/drivers/ajax.c
index 54360ba3260..2f7e61d8ebc 100644
--- a/src/mame/drivers/ajax.c
+++ b/src/mame/drivers/ajax.c
@@ -229,7 +229,7 @@ static MACHINE_CONFIG_START( ajax, ajax_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MCFG_SCREEN_UPDATE_STATIC(ajax)
+ MCFG_SCREEN_UPDATE_DRIVER(ajax_state, screen_update_ajax)
MCFG_PALETTE_LENGTH(2048)
diff --git a/src/mame/drivers/albazc.c b/src/mame/drivers/albazc.c
index e79e9c8da27..7eae69ccf9e 100644
--- a/src/mame/drivers/albazc.c
+++ b/src/mame/drivers/albazc.c
@@ -34,6 +34,7 @@ public:
DECLARE_WRITE8_MEMBER(albazc_vregs_w);
virtual void video_start();
virtual void palette_init();
+ UINT32 screen_update_hanaroku(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -87,7 +88,7 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
}
}
-static SCREEN_UPDATE_IND16(hanaroku)
+UINT32 albazc_state::screen_update_hanaroku(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
bitmap.fill(0x1f0, cliprect); // ???
draw_sprites(screen.machine(), bitmap, cliprect);
@@ -278,7 +279,7 @@ static MACHINE_CONFIG_START( hanaroku, albazc_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 64*8)
MCFG_SCREEN_VISIBLE_AREA(0, 48*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(hanaroku)
+ MCFG_SCREEN_UPDATE_DRIVER(albazc_state, screen_update_hanaroku)
MCFG_GFXDECODE(hanaroku)
MCFG_PALETTE_LENGTH(0x200)
diff --git a/src/mame/drivers/albazg.c b/src/mame/drivers/albazg.c
index 8680b0a3f7f..ac7c64a0631 100644
--- a/src/mame/drivers/albazg.c
+++ b/src/mame/drivers/albazg.c
@@ -76,6 +76,7 @@ public:
virtual void machine_start();
virtual void machine_reset();
virtual void video_start();
+ UINT32 screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
TILE_GET_INFO_MEMBER(albazg_state::y_get_bg_tile_info)
@@ -96,10 +97,9 @@ void albazg_state::video_start()
m_bg_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(albazg_state::y_get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
}
-static SCREEN_UPDATE_IND16( yumefuda )
+UINT32 albazg_state::screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- albazg_state *state = screen.machine().driver_data<albazg_state>();
- state->m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
+ m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
return 0;
}
@@ -395,7 +395,7 @@ static MACHINE_CONFIG_START( yumefuda, albazg_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0, 32*8-1, 0, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC( yumefuda )
+ MCFG_SCREEN_UPDATE_DRIVER(albazg_state, screen_update_yumefuda)
MCFG_MC6845_ADD("crtc", H46505, MASTER_CLOCK/16, mc6845_intf) /* hand tuned to get ~60 fps */
diff --git a/src/mame/drivers/aleck64.c b/src/mame/drivers/aleck64.c
index 14f78825e2e..f3bb67e5d38 100644
--- a/src/mame/drivers/aleck64.c
+++ b/src/mame/drivers/aleck64.c
@@ -817,7 +817,7 @@ static MACHINE_CONFIG_START( aleck64, n64_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(640, 525)
MCFG_SCREEN_VISIBLE_AREA(0, 639, 0, 239)
- MCFG_SCREEN_UPDATE_STATIC(n64)
+ MCFG_SCREEN_UPDATE_DRIVER(n64_state, screen_update_n64)
MCFG_PALETTE_LENGTH(0x1000)
diff --git a/src/mame/drivers/alg.c b/src/mame/drivers/alg.c
index 97472725efc..e06c45c0c38 100644
--- a/src/mame/drivers/alg.c
+++ b/src/mame/drivers/alg.c
@@ -447,7 +447,7 @@ static MACHINE_CONFIG_START( alg_r1, alg_state )
MCFG_NVRAM_ADD_0FILL("nvram")
MCFG_LASERDISC_LDP1450_ADD("laserdisc")
- MCFG_LASERDISC_OVERLAY_STATIC(512*2, 262, amiga)
+ MCFG_LASERDISC_OVERLAY_DRIVER(512*2, 262, amiga_state, screen_update_amiga)
MCFG_LASERDISC_OVERLAY_CLIP((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
/* video hardware */
diff --git a/src/mame/drivers/aliens.c b/src/mame/drivers/aliens.c
index 2474b5e2c22..50a11a7f01d 100644
--- a/src/mame/drivers/aliens.c
+++ b/src/mame/drivers/aliens.c
@@ -270,7 +270,7 @@ static MACHINE_CONFIG_START( aliens, aliens_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MCFG_SCREEN_UPDATE_STATIC(aliens)
+ MCFG_SCREEN_UPDATE_DRIVER(aliens_state, screen_update_aliens)
MCFG_PALETTE_LENGTH(512)
diff --git a/src/mame/drivers/alpha68k.c b/src/mame/drivers/alpha68k.c
index b44ce979eb5..5068f4b9e6d 100644
--- a/src/mame/drivers/alpha68k.c
+++ b/src/mame/drivers/alpha68k.c
@@ -1978,7 +1978,7 @@ static MACHINE_CONFIG_START( sstingry, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(sstingry)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_sstingry)
MCFG_GFXDECODE(sstingry)
MCFG_PALETTE_LENGTH(256 + 1)
@@ -2023,7 +2023,7 @@ static MACHINE_CONFIG_START( kyros, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(kyros)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_kyros)
MCFG_GFXDECODE(kyros)
MCFG_PALETTE_LENGTH(256 + 1)
@@ -2068,7 +2068,7 @@ static MACHINE_CONFIG_START( jongbou, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(kyros)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_kyros)
MCFG_GFXDECODE(jongbou)
MCFG_PALETTE_LENGTH(256 + 1)
@@ -2102,7 +2102,7 @@ static MACHINE_CONFIG_START( alpha68k_I, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(alpha68k_I)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_alpha68k_I)
MCFG_GFXDECODE(paddle)
@@ -2146,7 +2146,7 @@ static MACHINE_CONFIG_START( alpha68k_II, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(alpha68k_II)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_alpha68k_II)
MCFG_GFXDECODE(alpha68k_II)
MCFG_PALETTE_LENGTH(2048)
@@ -2195,7 +2195,7 @@ static MACHINE_CONFIG_START( alpha68k_II_gm, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(alpha68k_II)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_alpha68k_II)
MCFG_GFXDECODE(alpha68k_II)
MCFG_PALETTE_LENGTH(2048)
@@ -2238,7 +2238,7 @@ static MACHINE_CONFIG_START( alpha68k_V, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(alpha68k_V)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_alpha68k_V)
MCFG_GFXDECODE(alpha68k_V)
MCFG_PALETTE_LENGTH(4096)
@@ -2280,7 +2280,7 @@ static MACHINE_CONFIG_START( alpha68k_V_sb, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(alpha68k_V_sb)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_alpha68k_V_sb)
MCFG_GFXDECODE(alpha68k_V)
MCFG_PALETTE_LENGTH(4096)
@@ -2321,7 +2321,7 @@ static MACHINE_CONFIG_START( tnextspc, alpha68k_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(alpha68k_I)
+ MCFG_SCREEN_UPDATE_DRIVER(alpha68k_state, screen_update_alpha68k_I)
MCFG_GFXDECODE(tnextspc)
diff --git a/src/mame/drivers/amaticmg.c b/src/mame/drivers/amaticmg.c
index f20f73dfc8e..fed5a063276 100644
--- a/src/mame/drivers/amaticmg.c
+++ b/src/mame/drivers/amaticmg.c
@@ -452,6 +452,8 @@ public:
virtual void video_start();
virtual void palette_init();
DECLARE_PALETTE_INIT(amaticmg2);
+ UINT32 screen_update_amaticmg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ UINT32 screen_update_amaticmg2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -463,9 +465,8 @@ void amaticmg_state::video_start()
{
}
-static SCREEN_UPDATE_IND16( amaticmg )
+UINT32 amaticmg_state::screen_update_amaticmg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- amaticmg_state *state = screen.machine().driver_data<amaticmg_state>();
gfx_element *gfx = screen.machine().gfx[0];
int y,x;
int count = 0;
@@ -474,12 +475,12 @@ static SCREEN_UPDATE_IND16( amaticmg )
{
for (x=0;x<96;x++)
{
- UINT16 tile = state->m_vram[count];
+ UINT16 tile = m_vram[count];
UINT8 color;
- tile += ((state->m_attr[count]&0x0f)<<8);
+ tile += ((m_attr[count]&0x0f)<<8);
/* TODO: this looks so out of place ... */
- color = (state->m_attr[count]&0xf0)>>3;
+ color = (m_attr[count]&0xf0)>>3;
drawgfx_opaque(bitmap,cliprect,gfx,tile,color,0,0,x*4,y*8);
count++;
@@ -489,9 +490,8 @@ static SCREEN_UPDATE_IND16( amaticmg )
return 0;
}
-static SCREEN_UPDATE_IND16( amaticmg2 )
+UINT32 amaticmg_state::screen_update_amaticmg2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- amaticmg_state *state = screen.machine().driver_data<amaticmg_state>();
gfx_element *gfx = screen.machine().gfx[0];
int y,x;
int count = 16;
@@ -500,10 +500,10 @@ static SCREEN_UPDATE_IND16( amaticmg2 )
{
for (x=0;x<96;x++)
{
- UINT16 tile = state->m_vram[count];
+ UINT16 tile = m_vram[count];
UINT8 color;
- tile += ((state->m_attr[count]&0xff)<<8);
+ tile += ((m_attr[count]&0xff)<<8);
color = 0;
drawgfx_opaque(bitmap,cliprect,gfx,tile,color,0,0,x*4,y*8);
@@ -881,7 +881,7 @@ static MACHINE_CONFIG_START( amaticmg, amaticmg_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(512, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
- MCFG_SCREEN_UPDATE_STATIC(amaticmg)
+ MCFG_SCREEN_UPDATE_DRIVER(amaticmg_state, screen_update_amaticmg)
MCFG_MC6845_ADD("crtc", MC6845, CRTC_CLOCK, mc6845_intf)
@@ -919,7 +919,7 @@ static MACHINE_CONFIG_DERIVED( amaticmg2, amaticmg )
MCFG_CPU_VBLANK_INT("screen", amaticmg2_irq)
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(amaticmg2)
+ MCFG_SCREEN_UPDATE_DRIVER(amaticmg_state, screen_update_amaticmg2)
MCFG_GFXDECODE(amaticmg2)
MCFG_PALETTE_INIT_OVERRIDE(amaticmg_state,amaticmg2)
diff --git a/src/mame/drivers/ambush.c b/src/mame/drivers/ambush.c
index ff17cb4fc6e..c8f655547ac 100644
--- a/src/mame/drivers/ambush.c
+++ b/src/mame/drivers/ambush.c
@@ -240,7 +240,7 @@ static MACHINE_CONFIG_START( ambush, ambush_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-3) /* The -3 makes the cocktail mode perfect */
- MCFG_SCREEN_UPDATE_STATIC(ambush)
+ MCFG_SCREEN_UPDATE_DRIVER(ambush_state, screen_update_ambush)
MCFG_GFXDECODE(ambush)
MCFG_PALETTE_LENGTH(256)
diff --git a/src/mame/drivers/ampoker2.c b/src/mame/drivers/ampoker2.c
index 3722ebcd6d0..a999d65a87a 100644
--- a/src/mame/drivers/ampoker2.c
+++ b/src/mame/drivers/ampoker2.c
@@ -1182,7 +1182,7 @@ static MACHINE_CONFIG_START( ampoker2, ampoker2_state )
*/
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(20*8, 56*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(ampoker2)
+ MCFG_SCREEN_UPDATE_DRIVER(ampoker2_state, screen_update_ampoker2)
MCFG_GFXDECODE(ampoker2)
MCFG_PALETTE_LENGTH(512)
diff --git a/src/mame/drivers/amspdwy.c b/src/mame/drivers/amspdwy.c
index be07180e7b4..0301cd17ae5 100644
--- a/src/mame/drivers/amspdwy.c
+++ b/src/mame/drivers/amspdwy.c
@@ -288,7 +288,7 @@ static MACHINE_CONFIG_START( amspdwy, amspdwy_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(256, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 0+16, 256-16-1)
- MCFG_SCREEN_UPDATE_STATIC(amspdwy)
+ MCFG_SCREEN_UPDATE_DRIVER(amspdwy_state, screen_update_amspdwy)
MCFG_GFXDECODE(amspdwy)
MCFG_PALETTE_LENGTH(32)
diff --git a/src/mame/drivers/angelkds.c b/src/mame/drivers/angelkds.c
index 68b0f6ec85d..736f2e78b2d 100644
--- a/src/mame/drivers/angelkds.c
+++ b/src/mame/drivers/angelkds.c
@@ -617,7 +617,7 @@ static MACHINE_CONFIG_START( angelkds, angelkds_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_STATIC(angelkds)
+ MCFG_SCREEN_UPDATE_DRIVER(angelkds_state, screen_update_angelkds)
MCFG_GFXDECODE(angelkds)
MCFG_PALETTE_LENGTH(0x100)
diff --git a/src/mame/drivers/appoooh.c b/src/mame/drivers/appoooh.c
index 5aeb41b0982..77f3c3c05cc 100644
--- a/src/mame/drivers/appoooh.c
+++ b/src/mame/drivers/appoooh.c
@@ -475,7 +475,7 @@ static MACHINE_CONFIG_DERIVED( appoooh, appoooh_common )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(appoooh)
+ MCFG_SCREEN_UPDATE_DRIVER(appoooh_state, screen_update_appoooh)
MCFG_GFXDECODE(appoooh)
MCFG_PALETTE_LENGTH(32*8+32*8)
@@ -493,7 +493,7 @@ static MACHINE_CONFIG_DERIVED( robowres, appoooh_common )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(robowres)
+ MCFG_SCREEN_UPDATE_DRIVER(appoooh_state, screen_update_robowres)
MCFG_GFXDECODE(robowres)
MCFG_PALETTE_LENGTH(32*8+32*8)
diff --git a/src/mame/drivers/aquarium.c b/src/mame/drivers/aquarium.c
index 7b222739b16..0bec20ed5be 100644
--- a/src/mame/drivers/aquarium.c
+++ b/src/mame/drivers/aquarium.c
@@ -331,7 +331,7 @@ static MACHINE_CONFIG_START( aquarium, aquarium_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 64*8)
MCFG_SCREEN_VISIBLE_AREA(2*8, 42*8-1, 2*8, 34*8-1)
- MCFG_SCREEN_UPDATE_STATIC(aquarium)
+ MCFG_SCREEN_UPDATE_DRIVER(aquarium_state, screen_update_aquarium)
MCFG_GFXDECODE(aquarium)
MCFG_PALETTE_LENGTH(0x1000/2)
diff --git a/src/mame/drivers/arabian.c b/src/mame/drivers/arabian.c
index 5ceab530ee3..9ad4875559a 100644
--- a/src/mame/drivers/arabian.c
+++ b/src/mame/drivers/arabian.c
@@ -374,7 +374,7 @@ static MACHINE_CONFIG_START( arabian, arabian_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(256, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 255, 11, 244)
- MCFG_SCREEN_UPDATE_STATIC(arabian)
+ MCFG_SCREEN_UPDATE_DRIVER(arabian_state, screen_update_arabian)
MCFG_PALETTE_LENGTH(256*32)
diff --git a/src/mame/drivers/arcadecl.c b/src/mame/drivers/arcadecl.c
index ac026539275..633042de663 100644
--- a/src/mame/drivers/arcadecl.c
+++ b/src/mame/drivers/arcadecl.c
@@ -343,7 +343,7 @@ static MACHINE_CONFIG_START( arcadecl, arcadecl_state )
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0+12, 336+12, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(arcadecl)
+ MCFG_SCREEN_UPDATE_DRIVER(arcadecl_state, screen_update_arcadecl)
MCFG_VIDEO_START_OVERRIDE(arcadecl_state,arcadecl)
diff --git a/src/mame/drivers/arcadia.c b/src/mame/drivers/arcadia.c
index 46060a6b935..4912e4ab055 100644
--- a/src/mame/drivers/arcadia.c
+++ b/src/mame/drivers/arcadia.c
@@ -325,7 +325,7 @@ static MACHINE_CONFIG_START( arcadia, arcadia_amiga_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(512*2, 262)
MCFG_SCREEN_VISIBLE_AREA((129-8)*2, (449+8-1)*2, 44-8, 244+8-1)
- MCFG_SCREEN_UPDATE_STATIC(amiga)
+ MCFG_SCREEN_UPDATE_DRIVER(amiga_state, screen_update_amiga)
MCFG_PALETTE_LENGTH(4096)
MCFG_PALETTE_INIT_OVERRIDE(arcadia_amiga_state,amiga)
diff --git a/src/mame/drivers/argus.c b/src/mame/drivers/argus.c
index 98bc279163f..0d9d2b4e8fb 100644
--- a/src/mame/drivers/argus.c
+++ b/src/mame/drivers/argus.c
@@ -559,7 +559,7 @@ static MACHINE_CONFIG_START( argus, argus_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is referred to psychic5 driver */)
MCFG_SCREEN_SIZE(32*16, 32*16)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(argus)
+ MCFG_SCREEN_UPDATE_DRIVER(argus_state, screen_update_argus)
MCFG_GFXDECODE(argus)
MCFG_PALETTE_LENGTH(896)
@@ -603,7 +603,7 @@ static MACHINE_CONFIG_START( valtric, argus_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is referred to psychic5 driver */)
MCFG_SCREEN_SIZE(32*16, 32*16)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(valtric)
+ MCFG_SCREEN_UPDATE_DRIVER(argus_state, screen_update_valtric)
MCFG_GFXDECODE(valtric)
MCFG_PALETTE_LENGTH(768)
@@ -647,7 +647,7 @@ static MACHINE_CONFIG_START( butasan, argus_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0) /* This value is taken from psychic5 driver */)
MCFG_SCREEN_SIZE(32*16, 32*16)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_STATIC(butasan)
+ MCFG_SCREEN_UPDATE_DRIVER(argus_state, screen_update_butasan)
MCFG_GFXDECODE(butasan)
MCFG_PALETTE_LENGTH(768)
diff --git a/src/mame/drivers/aristmk4.c b/src/mame/drivers/aristmk4.c
index 60721f6d406..d31bbdd52ec 100644
--- a/src/mame/drivers/aristmk4.c
+++ b/src/mame/drivers/aristmk4.c
@@ -321,6 +321,7 @@ public:
virtual void video_start();
virtual void palette_init();
DECLARE_PALETTE_INIT(lions);
+ UINT32 screen_update_aristmk4(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
/* Partial Cashcade protocol */
@@ -370,9 +371,8 @@ INLINE void uBackgroundColour(running_machine &machine)
}
}
-static SCREEN_UPDATE_IND16(aristmk4)
+UINT32 aristmk4_state::screen_update_aristmk4(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- aristmk4_state *state = screen.machine().driver_data<aristmk4_state>();
gfx_element *gfx = screen.machine().gfx[0];
int x,y;
int count = 0;
@@ -386,14 +386,14 @@ static SCREEN_UPDATE_IND16(aristmk4)
{
for (x=38;x--;)
{
- color = ((state->m_mkiv_vram[count]) & 0xe0) >> 5;
- tile = (state->m_mkiv_vram[count+1]|state->m_mkiv_vram[count]<<8) & 0x3ff;
- bgtile = (state->m_mkiv_vram[count+1]|state->m_mkiv_vram[count]<<8) & 0xff; // first 256 tiles
+ color = ((m_mkiv_vram[count]) & 0xe0) >> 5;
+ tile = (m_mkiv_vram[count+1]|m_mkiv_vram[count]<<8) & 0x3ff;
+ bgtile = (m_mkiv_vram[count+1]|m_mkiv_vram[count]<<8) & 0xff; // first 256 tiles
uBackgroundColour(screen.machine()); // read sw7
gfx->decode(bgtile); // force the machine to update only the first 256 tiles.
// as we only update the background, not the entire display.
- flipx = ((state->m_mkiv_vram[count]) & 0x04);
- flipy = ((state->m_mkiv_vram[count]) & 0x08);
+ flipx = ((m_mkiv_vram[count]) & 0x04);
+ flipy = ((m_mkiv_vram[count]) & 0x08);
drawgfx_opaque(bitmap,cliprect,gfx,tile,color,flipx,flipy,(38-x-1)<<3,(27-y-1)<<3);
count+=2;
}
@@ -1699,7 +1699,7 @@ static MACHINE_CONFIG_START( aristmk4, aristmk4_state )
MCFG_GFXDECODE(aristmk4)
MCFG_PALETTE_LENGTH(512)
- MCFG_SCREEN_UPDATE_STATIC(aristmk4)
+ MCFG_SCREEN_UPDATE_DRIVER(aristmk4_state, screen_update_aristmk4)
MCFG_I8255A_ADD( "ppi8255_0", ppi8255_intf )
MCFG_VIA6522_ADD("via6522_0", 0, via_interface) /* 1 MHz.(only 1 or 2 MHz.are valid) */
diff --git a/src/mame/drivers/aristmk6.c b/src/mame/drivers/aristmk6.c
index adeccbdf856..196d25b8163 100644
--- a/src/mame/drivers/aristmk6.c
+++ b/src/mame/drivers/aristmk6.c
@@ -18,6 +18,7 @@ public:
UINT8 m_type;
DECLARE_READ64_MEMBER(test_r);
virtual void video_start();
+ UINT32 screen_update_aristmk6(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
@@ -25,51 +26,50 @@ void aristmk6_state::video_start()
{
}
-SCREEN_UPDATE_RGB32(aristmk6)
+UINT32 aristmk6_state::screen_update_aristmk6(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- aristmk6_state *state = screen.machine().driver_data<aristmk6_state>();
int x,y,count;
- const UINT8 *blit_ram = state->memregion("maincpu")->base();
+ const UINT8 *blit_ram = memregion("maincpu")->base();
if(screen.machine().input().code_pressed(KEYCODE_Z))
- state->m_test_x++;
+ m_test_x++;
if(screen.machine().input().code_pressed(KEYCODE_X))
- state->m_test_x--;
+ m_test_x--;
if(screen.machine().input().code_pressed(KEYCODE_A))
- state->m_test_y++;
+ m_test_y++;
if(screen.machine().input().code_pressed(KEYCODE_S))
- state->m_test_y--;
+ m_test_y--;
if(screen.machine().input().code_pressed(KEYCODE_Q))
- state->m_start_offs+=0x2000;
+ m_start_offs+=0x2000;
if(screen.machine().input().code_pressed(KEYCODE_W))
- state->m_start_offs-=0x2000;
+ m_start_offs-=0x2000;
if(screen.machine().input().code_pressed(KEYCODE_E))
- state->m_start_offs++;
+ m_start_offs++;
if(screen.machine().input().code_pressed(KEYCODE_R))
- state->m_start_offs--;
+ m_start_offs--;
if(screen.machine().input().code_pressed_once(KEYCODE_L))
- state->m_type^=1;
+ m_type^=1;
- popmessage("%d %d %04x %d",state->m_test_x,state->m_test_y,state->m_start_offs,state->m_type);
+ popmessage("%d %d %04x %d",m_test_x,m_test_y,m_start_offs,m_type);
bitmap.fill(get_black_pen(screen.machine()), cliprect);
- count = (state->m_start_offs);
+ count = (m_start_offs);
- for(y=0;y<state->m_test_y;y++)
+ for(y=0;y<m_test_y;y++)
{
- for(x=0;x<state->m_test_x;x++)
+ for(x=0;x<m_test_x;x++)
{
- if(state->m_type)
+ if(m_type)
{
UINT16 vram;
int r,g,b;
@@ -143,7 +143,7 @@ static MACHINE_CONFIG_START( aristmk6, aristmk6_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
MCFG_SCREEN_SIZE(640, 480)
MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
- MCFG_SCREEN_UPDATE_STATIC(aristmk6)
+ MCFG_SCREEN_UPDATE_DRIVER(aristmk6_state, screen_update_aristmk6)
MCFG_PALETTE_LENGTH(0x1000)
diff --git a/src/mame/drivers/arkanoid.c b/src/mame/drivers/arkanoid.c
index 773f5a06a52..488a277edf1 100644
--- a/src/mame/drivers/arkanoid.c
+++ b/src/mame/drivers/arkanoid.c
@@ -1036,7 +1036,7 @@ static MACHINE_CONFIG_START( arkanoid, arkanoid_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(arkanoid)
+ MCFG_SCREEN_UPDATE_DRIVER(arkanoid_state, screen_update_arkanoid)
MCFG_GFXDECODE(arkanoid)
MCFG_PALETTE_LENGTH(512)
@@ -1069,7 +1069,7 @@ static MACHINE_CONFIG_START( hexa, arkanoid_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_SCREEN_UPDATE_STATIC(hexa)
+ MCFG_SCREEN_UPDATE_DRIVER(arkanoid_state, screen_update_hexa)
MCFG_GFXDECODE(hexa)
MCFG_PALETTE_LENGTH(256)
diff --git a/src/mame/drivers/armedf.c b/src/mame/drivers/armedf.c
index 6d69a25fb7f..adc126d88e5 100644
--- a/src/mame/drivers/armedf.c
+++ b/src/mame/drivers/armedf.c
@@ -1197,7 +1197,7 @@ static MACHINE_CONFIG_START( terraf, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1246,7 +1246,7 @@ static MACHINE_CONFIG_START( terrafb, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1290,7 +1290,7 @@ static MACHINE_CONFIG_START( kozure, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 ) // 320 x 240, trusted
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1334,7 +1334,7 @@ static MACHINE_CONFIG_START( armedf, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,armedf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1378,7 +1378,7 @@ static MACHINE_CONFIG_START( cclimbr2, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1422,7 +1422,7 @@ static MACHINE_CONFIG_START( legion, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1466,7 +1466,7 @@ static MACHINE_CONFIG_START( legiono, armedf_state )
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
@@ -1523,7 +1523,7 @@ static MACHINE_CONFIG_START( bigfghtr, bigfghtr_state )
MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 1*8, 31*8-1 )
MCFG_VIDEO_START_OVERRIDE(armedf_state,armedf)
- MCFG_SCREEN_UPDATE_STATIC(armedf)
+ MCFG_SCREEN_UPDATE_DRIVER(armedf_state, screen_update_armedf)
MCFG_SCREEN_VBLANK_DEVICE("spriteram", buffered_spriteram16_device, vblank_copy_rising)
MCFG_GFXDECODE(armedf)
diff --git a/src/mame/drivers/ashnojoe.c b/src/mame/drivers/ashnojoe.c
index 6bed7ee151e..15467971f7b 100644
--- a/src/mame/drivers/ashnojoe.c
+++ b/src/mame/drivers/ashnojoe.c
@@ -364,7 +364,7 @@ static MACHINE_CONFIG_START( ashnojoe, ashnojoe_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(512, 512)
MCFG_SCREEN_VISIBLE_AREA(14*8, 50*8-1, 3*8, 29*8-1)
- MCFG_SCREEN_UPDATE_STATIC(ashnojoe)
+ MCFG_SCREEN_UPDATE_DRIVER(ashnojoe_state, screen_update_ashnojoe)
MCFG_GFXDECODE(ashnojoe)
MCFG_PALETTE_LENGTH(0x1000/2)
diff --git a/src/mame/drivers/asterix.c b/src/mame/drivers/asterix.c
index 2ef76f54fdb..c329451a059 100644
--- a/src/mame/drivers/asterix.c
+++ b/src/mame/drivers/asterix.c
@@ -307,7 +307,7 @@ static MACHINE_CONFIG_START( asterix, asterix_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
- MCFG_SCREEN_UPDATE_STATIC(asterix)
+ MCFG_SCREEN_UPDATE_DRIVER(asterix_state, screen_update_asterix)
MCFG_PALETTE_LENGTH(2048)
diff --git a/src/mame/drivers/astinvad.c b/src/mame/drivers/astinvad.c
index c01646523f0..f74835e4a43 100644
--- a/src/mame/drivers/astinvad.c
+++ b/src/mame/drivers/astinvad.c
@@ -81,6 +81,8 @@ public:
DECLARE_MACHINE_START(spaceint);
DECLARE_MACHINE_RESET(spaceint);
DECLARE_VIDEO_START(spaceint);
+ UINT32 screen_update_astinvad(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ UINT32 screen_update_spaceint(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
@@ -167,36 +169,34 @@ static void plot_byte( running_machine &machine, bitmap_rgb32 &bitmap, UINT8 y,
}
-static SCREEN_UPDATE_RGB32( astinvad )
+UINT32 astinvad_state::screen_update_astinvad(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- astinvad_state *state = screen.machine().driver_data<astinvad_state>();
- const UINT8 *color_prom = state->memregion("proms")->base();
- UINT8 yoffs = state->m_flip_yoffs & state->m_screen_flip;
+ const UINT8 *color_prom = memregion("proms")->base();
+ UINT8 yoffs = m_flip_yoffs & m_screen_flip;
int x, y;
/* render the visible pixels */
for (y = cliprect.min_y; y <= cliprect.max_y; y++)
for (x = cliprect.min_x & ~7; x <= cliprect.max_x; x += 8)
{
- UINT8 color = color_prom[((y & 0xf8) << 2) | (x >> 3)] >> (state->m_screen_flip ? 0 : 4);
- UINT8 data = state->m_videoram[(((y ^ state->m_screen_flip) + yoffs) << 5) | ((x ^ state->m_screen_flip) >> 3)];
- plot_byte(screen.machine(), bitmap, y, x, data, state->m_screen_red ? 1 : color);
+ UINT8 color = color_prom[((y & 0xf8) << 2) | (x >> 3)] >> (m_screen_flip ? 0 : 4);
+ UINT8 data = m_videoram[(((y ^ m_screen_flip) + yoffs) << 5) | ((x ^ m_screen_flip) >> 3)];
+ plot_byte(screen.machine(), bitmap, y, x, data, m_screen_red ? 1 : color);
}
return 0;
}
-static SCREEN_UPDATE_RGB32( spaceint )
+UINT32 astinvad_state::screen_update_spaceint(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- astinvad_state *state = screen.machine().driver_data<astinvad_state>();
- const UINT8 *color_prom = state->memregion("proms")->base();
+ const UINT8 *color_prom = memregion("proms")->base();
int offs;
- for (offs = 0; offs < state->m_videoram.bytes(); offs++)
+ for (offs = 0; offs < m_videoram.bytes(); offs++)
{
- UINT8 data = state->m_videoram[offs];
- UINT8 color = state->m_colorram[offs];
+ UINT8 data = m_videoram[offs];
+ UINT8 color = m_colorram[offs];
UINT8 y = ~offs;
UINT8 x = offs >> 8 << 3;
@@ -601,7 +601,7 @@ static MACHINE_CONFIG_START( kamikaze, astinvad_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(VIDEO_CLOCK, 320, 0, 256, 256, 32, 256)
- MCFG_SCREEN_UPDATE_STATIC(astinvad)
+ MCFG_SCREEN_UPDATE_DRIVER(astinvad_state, screen_update_astinvad)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -637,7 +637,7 @@ static MACHINE_CONFIG_START( spaceint, astinvad_state )
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
MCFG_SCREEN_REFRESH_RATE(60)
- MCFG_SCREEN_UPDATE_STATIC(spaceint)
+ MCFG_SCREEN_UPDATE_DRIVER(astinvad_state, screen_update_spaceint)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
diff --git a/src/mame/drivers/astrocde.c b/src/mame/drivers/astrocde.c
index 074995f8b10..9e404c1fae2 100644
--- a/src/mame/drivers/astrocde.c
+++ b/src/mame/drivers/astrocde.c
@@ -1298,7 +1298,7 @@ static MACHINE_CONFIG_START( astrocade_base, astrocde_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(ASTROCADE_CLOCK, 455, 0, 352, 262, 0, 240)
MCFG_SCREEN_DEFAULT_POSITION(1.1, 0.0, 1.18, -0.018) /* clip out borders */
- MCFG_SCREEN_UPDATE_STATIC(astrocde)
+ MCFG_SCREEN_UPDATE_DRIVER(astrocde_state, screen_update_astrocde)
MACHINE_CONFIG_END
@@ -1315,7 +1315,7 @@ static MACHINE_CONFIG_DERIVED( astrocade_16color_base, astrocade_base )
MCFG_VIDEO_START_OVERRIDE(astrocde_state,profpac)
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(profpac)
+ MCFG_SCREEN_UPDATE_DRIVER(astrocde_state, screen_update_profpac)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/astrocorp.c b/src/mame/drivers/astrocorp.c
index d4c724cf22e..84198b42790 100644
--- a/src/mame/drivers/astrocorp.c
+++ b/src/mame/drivers/astrocorp.c
@@ -64,6 +64,7 @@ public:
DECLARE_DRIVER_INIT(showhanc);
DECLARE_DRIVER_INIT(showhand);
DECLARE_VIDEO_START(astrocorp);
+ UINT32 screen_update_astrocorp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
/***************************************************************************
@@ -150,12 +151,11 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
}
}
-static SCREEN_UPDATE_IND16(astrocorp)
+UINT32 astrocorp_state::screen_update_astrocorp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- astrocorp_state *state = screen.machine().driver_data<astrocorp_state>();
- if (state->m_screen_enable & 1)
- copybitmap(bitmap, state->m_bitmap, 0,0,0,0, cliprect);
+ if (m_screen_enable & 1)
+ copybitmap(bitmap, m_bitmap, 0,0,0,0, cliprect);
else
bitmap.fill(get_black_pen(screen.machine()), cliprect);
@@ -487,7 +487,7 @@ static MACHINE_CONFIG_START( showhand, astrocorp_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(320, 240)
MCFG_SCREEN_VISIBLE_AREA(0, 320-1, 0, 240-1)
- MCFG_SCREEN_UPDATE_STATIC(astrocorp)
+ MCFG_SCREEN_UPDATE_DRIVER(astrocorp_state, screen_update_astrocorp)
MCFG_GFXDECODE(astrocorp)
MCFG_PALETTE_LENGTH(0x100)
@@ -538,7 +538,7 @@ static MACHINE_CONFIG_START( skilldrp, astrocorp_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(0x200, 0x100)
MCFG_SCREEN_VISIBLE_AREA(0, 0x200-1, 0, 0xf0-1)
- MCFG_SCREEN_UPDATE_STATIC(astrocorp)
+ MCFG_SCREEN_UPDATE_DRIVER(astrocorp_state, screen_update_astrocorp)
MCFG_GFXDECODE(astrocorp)
MCFG_PALETTE_LENGTH(0x100)
diff --git a/src/mame/drivers/astrof.c b/src/mame/drivers/astrof.c
index 7039cec625a..07d09b1e736 100644
--- a/src/mame/drivers/astrof.c
+++ b/src/mame/drivers/astrof.c
@@ -413,7 +413,7 @@ static void video_update_common( running_machine &machine, bitmap_rgb32 &bitmap,
}
-static SCREEN_UPDATE_RGB32( astrof )
+UINT32 astrof_state::screen_update_astrof(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
pen_t pens[ASTROF_NUM_PENS];
@@ -425,7 +425,7 @@ static SCREEN_UPDATE_RGB32( astrof )
}
-static SCREEN_UPDATE_RGB32( tomahawk )
+UINT32 astrof_state::screen_update_tomahawk(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
pen_t pens[TOMAHAWK_NUM_PENS];
@@ -962,7 +962,7 @@ static MACHINE_CONFIG_DERIVED( astrof, base )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(astrof)
+ MCFG_SCREEN_UPDATE_DRIVER(astrof_state, screen_update_astrof)
/* audio hardware */
MCFG_FRAGMENT_ADD(astrof_audio)
@@ -988,7 +988,7 @@ static MACHINE_CONFIG_DERIVED( spfghmk2, base )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(astrof)
+ MCFG_SCREEN_UPDATE_DRIVER(astrof_state, screen_update_astrof)
/* audio hardware */
MCFG_FRAGMENT_ADD(spfghmk2_audio)
@@ -1005,7 +1005,7 @@ static MACHINE_CONFIG_DERIVED( tomahawk, base )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(tomahawk)
+ MCFG_SCREEN_UPDATE_DRIVER(astrof_state, screen_update_tomahawk)
/* audio hardware */
MCFG_FRAGMENT_ADD(tomahawk_audio)
diff --git a/src/mame/drivers/asuka.c b/src/mame/drivers/asuka.c
index e4aca9360e0..ae6f37a6c38 100644
--- a/src/mame/drivers/asuka.c
+++ b/src/mame/drivers/asuka.c
@@ -870,13 +870,12 @@ void asuka_state::machine_reset()
memset(m_cval, 0, 26);
}
-static SCREEN_VBLANK( asuka )
+void asuka_state::screen_eof_asuka(screen_device &screen, bool state)
{
// rising edge
- if (vblank_on)
+ if (state)
{
- asuka_state *state = screen.machine().driver_data<asuka_state>();
- pc090oj_eof_callback(state->m_pc090oj);
+ pc090oj_eof_callback(m_pc090oj);
}
}
@@ -911,8 +910,8 @@ static MACHINE_CONFIG_START( bonzeadv, asuka_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 3*8, 31*8-1)
- MCFG_SCREEN_UPDATE_STATIC(bonzeadv)
- MCFG_SCREEN_VBLANK_STATIC(asuka)
+ MCFG_SCREEN_UPDATE_DRIVER(asuka_state, screen_update_bonzeadv)
+ MCFG_SCREEN_VBLANK_DRIVER(asuka_state, screen_eof_asuka)
MCFG_GFXDECODE(asuka)
MCFG_PALETTE_LENGTH(4096)
@@ -954,8 +953,8 @@ static MACHINE_CONFIG_START( asuka, asuka_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(asuka)
- MCFG_SCREEN_VBLANK_STATIC(asuka)
+ MCFG_SCREEN_UPDATE_DRIVER(asuka_state, screen_update_asuka)
+ MCFG_SCREEN_VBLANK_DRIVER(asuka_state, screen_eof_asuka)
MCFG_GFXDECODE(asuka)
MCFG_PALETTE_LENGTH(4096)
@@ -1004,8 +1003,8 @@ static MACHINE_CONFIG_START( cadash, asuka_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(bonzeadv)
- MCFG_SCREEN_VBLANK_STATIC(asuka)
+ MCFG_SCREEN_UPDATE_DRIVER(asuka_state, screen_update_bonzeadv)
+ MCFG_SCREEN_VBLANK_DRIVER(asuka_state, screen_eof_asuka)
MCFG_GFXDECODE(asuka)
MCFG_PALETTE_LENGTH(4096)
@@ -1046,8 +1045,8 @@ static MACHINE_CONFIG_START( mofflott, asuka_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(asuka)
- MCFG_SCREEN_VBLANK_STATIC(asuka)
+ MCFG_SCREEN_UPDATE_DRIVER(asuka_state, screen_update_asuka)
+ MCFG_SCREEN_VBLANK_DRIVER(asuka_state, screen_eof_asuka)
MCFG_GFXDECODE(asuka)
MCFG_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */
@@ -1092,8 +1091,8 @@ static MACHINE_CONFIG_START( galmedes, asuka_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(asuka)
- MCFG_SCREEN_VBLANK_STATIC(asuka)
+ MCFG_SCREEN_UPDATE_DRIVER(asuka_state, screen_update_asuka)
+ MCFG_SCREEN_VBLANK_DRIVER(asuka_state, screen_eof_asuka)
MCFG_GFXDECODE(asuka)
MCFG_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */
@@ -1134,8 +1133,8 @@ static MACHINE_CONFIG_START( eto, asuka_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(asuka)
- MCFG_SCREEN_VBLANK_STATIC(asuka)
+ MCFG_SCREEN_UPDATE_DRIVER(asuka_state, screen_update_asuka)
+ MCFG_SCREEN_VBLANK_DRIVER(asuka_state, screen_eof_asuka)
MCFG_GFXDECODE(asuka)
MCFG_PALETTE_LENGTH(4096)
diff --git a/src/mame/drivers/atarifb.c b/src/mame/drivers/atarifb.c
index b59119ce99b..335c2460b34 100644
--- a/src/mame/drivers/atarifb.c
+++ b/src/mame/drivers/atarifb.c
@@ -564,7 +564,7 @@ static MACHINE_CONFIG_START( atarifb, atarifb_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2037) /* 16.3ms * 1/8 = 2037.5. Is it 1/8th or 3/32nds? (1528?) */)
MCFG_SCREEN_SIZE(38*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 38*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_STATIC(atarifb)
+ MCFG_SCREEN_UPDATE_DRIVER(atarifb_state, screen_update_atarifb)
MCFG_GFXDECODE(atarifb)
MCFG_PALETTE_LENGTH(12)
@@ -595,7 +595,7 @@ static MACHINE_CONFIG_DERIVED( abaseb, atarifb )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
- MCFG_SCREEN_UPDATE_STATIC(abaseb)
+ MCFG_SCREEN_UPDATE_DRIVER(atarifb_state, screen_update_abaseb)
/* sound hardware */
MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
@@ -613,7 +613,7 @@ static MACHINE_CONFIG_DERIVED( soccer, atarifb )
/* video hardware */
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_VISIBLE_AREA(0*8, 38*8-1, 2*8, 32*8-1)
- MCFG_SCREEN_UPDATE_STATIC(soccer)
+ MCFG_SCREEN_UPDATE_DRIVER(atarifb_state, screen_update_soccer)
MCFG_GFXDECODE(soccer)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atarig1.c b/src/mame/drivers/atarig1.c
index 09618e0f558..1c2281f0212 100644
--- a/src/mame/drivers/atarig1.c
+++ b/src/mame/drivers/atarig1.c
@@ -463,8 +463,8 @@ static MACHINE_CONFIG_START( atarig1, atarig1_state )
MCFG_SCREEN_ADD("screen", RASTER)
/* note: these parameters are from published specs, not derived */
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atarig1)
- MCFG_SCREEN_VBLANK_STATIC(atarig1)
+ MCFG_SCREEN_UPDATE_DRIVER(atarig1_state, screen_update_atarig1)
+ MCFG_SCREEN_VBLANK_DRIVER(atarig1_state, screen_eof_atarig1)
MCFG_VIDEO_START_OVERRIDE(atarig1_state,atarig1)
diff --git a/src/mame/drivers/atarig42.c b/src/mame/drivers/atarig42.c
index fc2d3b16c80..12d9f12eb5a 100644
--- a/src/mame/drivers/atarig42.c
+++ b/src/mame/drivers/atarig42.c
@@ -569,8 +569,8 @@ static MACHINE_CONFIG_START( atarig42, atarig42_state )
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS chip to generate video signals */
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atarig42)
- MCFG_SCREEN_VBLANK_STATIC(atarig42)
+ MCFG_SCREEN_UPDATE_DRIVER(atarig42_state, screen_update_atarig42)
+ MCFG_SCREEN_VBLANK_DRIVER(atarig42_state, screen_eof_atarig42)
MCFG_VIDEO_START_OVERRIDE(atarig42_state,atarig42)
diff --git a/src/mame/drivers/atarigt.c b/src/mame/drivers/atarigt.c
index f2b70528324..e4869b338e8 100644
--- a/src/mame/drivers/atarigt.c
+++ b/src/mame/drivers/atarigt.c
@@ -826,8 +826,8 @@ static MACHINE_CONFIG_START( atarigt, atarigt_state )
/* note: these parameters are from published specs, not derived */
/* the board uses a pair of GALs to determine H and V parameters */
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atarigt)
- MCFG_SCREEN_VBLANK_STATIC(atarigt)
+ MCFG_SCREEN_UPDATE_DRIVER(atarigt_state, screen_update_atarigt)
+ MCFG_SCREEN_VBLANK_DRIVER(atarigt_state, screen_eof_atarigt)
MCFG_VIDEO_START_OVERRIDE(atarigt_state,atarigt)
diff --git a/src/mame/drivers/atarigx2.c b/src/mame/drivers/atarigx2.c
index 326dea91a2c..8f93e26edbd 100644
--- a/src/mame/drivers/atarigx2.c
+++ b/src/mame/drivers/atarigx2.c
@@ -1446,8 +1446,8 @@ static MACHINE_CONFIG_START( atarigx2, atarigx2_state )
/* note: these parameters are from published specs, not derived */
/* the board uses a pair of GALs to determine H and V parameters */
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atarigx2)
- MCFG_SCREEN_VBLANK_STATIC(atarigx2)
+ MCFG_SCREEN_UPDATE_DRIVER(atarigx2_state, screen_update_atarigx2)
+ MCFG_SCREEN_VBLANK_DRIVER(atarigx2_state, screen_eof_atarigx2)
MCFG_VIDEO_START_OVERRIDE(atarigx2_state,atarigx2)
diff --git a/src/mame/drivers/atarisy1.c b/src/mame/drivers/atarisy1.c
index d3f9ad222d4..ada267edfc7 100644
--- a/src/mame/drivers/atarisy1.c
+++ b/src/mame/drivers/atarisy1.c
@@ -785,7 +785,7 @@ static MACHINE_CONFIG_START( atarisy1, atarisy1_state )
/* note: these parameters are from published specs, not derived */
/* video timing comes from an 82S163 (H) and an 82S129 (V) */
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atarisy1)
+ MCFG_SCREEN_UPDATE_DRIVER(atarisy1_state, screen_update_atarisy1)
MCFG_VIDEO_START_OVERRIDE(atarisy1_state,atarisy1)
diff --git a/src/mame/drivers/atarisy2.c b/src/mame/drivers/atarisy2.c
index d7e33dadbdb..dd03234c812 100644
--- a/src/mame/drivers/atarisy2.c
+++ b/src/mame/drivers/atarisy2.c
@@ -1279,7 +1279,7 @@ static MACHINE_CONFIG_START( atarisy2, atarisy2_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(VIDEO_CLOCK/2, 640, 0, 512, 416, 0, 384)
- MCFG_SCREEN_UPDATE_STATIC(atarisy2)
+ MCFG_SCREEN_UPDATE_DRIVER(atarisy2_state, screen_update_atarisy2)
MCFG_VIDEO_START_OVERRIDE(atarisy2_state,atarisy2)
diff --git a/src/mame/drivers/atarisy4.c b/src/mame/drivers/atarisy4.c
index 353939fecd4..af85a7cb49e 100644
--- a/src/mame/drivers/atarisy4.c
+++ b/src/mame/drivers/atarisy4.c
@@ -58,6 +58,7 @@ public:
virtual void video_start();
virtual void video_reset();
DECLARE_MACHINE_RESET(airrace);
+ UINT32 screen_update_atarisy4(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
@@ -155,9 +156,8 @@ void atarisy4_state::video_reset()
gpu.vblank_wait = 0;
}
-static SCREEN_UPDATE_RGB32( atarisy4 )
+UINT32 atarisy4_state::screen_update_atarisy4(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- atarisy4_state *state = screen.machine().driver_data<atarisy4_state>();
int y;
UINT32 offset = 0;
@@ -174,7 +174,7 @@ static SCREEN_UPDATE_RGB32( atarisy4 )
for (y = cliprect.min_y; y <= cliprect.max_y; ++y)
{
- UINT16 *src = &state->m_screen_ram[(offset + (4096 * y)) / 2];
+ UINT16 *src = &m_screen_ram[(offset + (4096 * y)) / 2];
UINT32 *dest = &bitmap.pix32(y, cliprect.min_x);
int x;
@@ -740,7 +740,7 @@ static MACHINE_CONFIG_START( atarisy4, atarisy4_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(32000000/2, 660, 0, 512, 404, 0, 384)
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
- MCFG_SCREEN_UPDATE_STATIC(atarisy4)
+ MCFG_SCREEN_UPDATE_DRIVER(atarisy4_state, screen_update_atarisy4)
MCFG_PALETTE_LENGTH(256)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/atetris.c b/src/mame/drivers/atetris.c
index 23309f483e7..6ec79b58832 100644
--- a/src/mame/drivers/atetris.c
+++ b/src/mame/drivers/atetris.c
@@ -354,7 +354,7 @@ static MACHINE_CONFIG_START( atetris, atetris_state )
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atetris)
+ MCFG_SCREEN_UPDATE_DRIVER(atetris_state, screen_update_atetris)
/* sound hardware */
@@ -386,7 +386,7 @@ static MACHINE_CONFIG_START( atetrisb2, atetris_state )
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 456, 0, 336, 262, 0, 240)
- MCFG_SCREEN_UPDATE_STATIC(atetris)
+ MCFG_SCREEN_UPDATE_DRIVER(atetris_state, screen_update_atetris)
/* sound hardware */
diff --git a/src/mame/drivers/atlantis.c b/src/mame/drivers/atlantis.c
index 9f2ee47543a..5ae2fa314eb 100644
--- a/src/mame/drivers/atlantis.c
+++ b/src/mame/drivers/atlantis.c
@@ -48,6 +48,7 @@ public:
DECLARE_DRIVER_INIT(mwskins);
virtual void machine_start();
virtual void machine_reset();
+ UINT32 screen_update_mwskins(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -85,7 +86,7 @@ void atlantis_state::machine_reset()
*
*************************************/
-static SCREEN_UPDATE_IND16( mwskins )
+UINT32 atlantis_state::screen_update_mwskins(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
return 0;
}
@@ -166,7 +167,7 @@ static MACHINE_CONFIG_START( mwskins, atlantis_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(320, 240)
MCFG_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
- MCFG_SCREEN_UPDATE_STATIC(mwskins)
+ MCFG_SCREEN_UPDATE_DRIVER(atlantis_state, screen_update_mwskins)
MCFG_PALETTE_INIT(BBBBB_GGGGG_RRRRR)
MCFG_PALETTE_LENGTH(32768)
diff --git a/src/mame/drivers/atvtrack.c b/src/mame/drivers/atvtrack.c
index 144907e50b7..76dc617eaf4 100644
--- a/src/mame/drivers/atvtrack.c
+++ b/src/mame/drivers/atvtrack.c
@@ -85,6 +85,7 @@ public:
virtual void machine_start();
virtual void machine_reset();
virtual void video_start();
+ UINT32 screen_update_atvtrack(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
static void logbinary(UINT32 data,int high=31,int low=0)
@@ -318,7 +319,7 @@ void atvtrack_state::video_start()
{
}
-SCREEN_UPDATE_RGB32(atvtrack)
+UINT32 atvtrack_state::screen_update_atvtrack(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
return 0;
}
@@ -401,7 +402,7 @@ static MACHINE_CONFIG_START( atvtrack, atvtrack_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
MCFG_SCREEN_SIZE(640, 480)
MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
- MCFG_SCREEN_UPDATE_STATIC(atvtrack)
+ MCFG_SCREEN_UPDATE_DRIVER(atvtrack_state, screen_update_atvtrack)
MCFG_PALETTE_LENGTH(0x1000)
diff --git a/src/mame/drivers/avalnche.c b/src/mame/drivers/avalnche.c
index 635b8b7c1af..8a0eecc22c4 100644
--- a/src/mame/drivers/avalnche.c
+++ b/src/mame/drivers/avalnche.c
@@ -44,24 +44,23 @@
*
*************************************/
-static SCREEN_UPDATE_RGB32( avalnche )
+UINT32 avalnche_state::screen_update_avalnche(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- avalnche_state *state = screen.machine().driver_data<avalnche_state>();
offs_t offs;
- for (offs = 0; offs < state->m_videoram.bytes(); offs++)
+ for (offs = 0; offs < m_videoram.bytes(); offs++)
{
int i;
UINT8 x = offs << 3;
int y = offs >> 5;
- UINT8 data = state->m_videoram[offs];
+ UINT8 data = m_videoram[offs];
for (i = 0; i < 8; i++)