summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-07 06:04:18 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-07 06:04:18 +0000
commitfec65e0b5766ade69e086d1c5b859d97494fce56 (patch)
treec22b07938e9ad590184f1276bc2bead6d888a78d /src/mame
parent30d94e51c53f30187a1bc565ef33e4744319790e (diff)
Cleanups and version bumpmame0153
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/audio/cclimber.c5
-rw-r--r--src/mame/audio/cclimber.h10
-rw-r--r--src/mame/audio/cps3.c8
-rw-r--r--src/mame/audio/namco52.c2
-rw-r--r--src/mame/audio/namco52.h10
-rw-r--r--src/mame/audio/namco54.c2
-rw-r--r--src/mame/audio/namco54.h6
-rw-r--r--src/mame/audio/taito_en.h2
-rw-r--r--src/mame/audio/taito_zm.c6
-rw-r--r--src/mame/audio/taito_zm.h4
-rw-r--r--src/mame/drivers/1942.c194
-rw-r--r--src/mame/drivers/1945kiii.c8
-rw-r--r--src/mame/drivers/20pacgal.c6
-rw-r--r--src/mame/drivers/3x3puzzl.c2
-rw-r--r--src/mame/drivers/4enlinea.c20
-rw-r--r--src/mame/drivers/5clown.c2
-rw-r--r--src/mame/drivers/88games.c6
-rw-r--r--src/mame/drivers/a1supply.c32
-rw-r--r--src/mame/drivers/acefruit.c2
-rw-r--r--src/mame/drivers/aerofgt.c12
-rw-r--r--src/mame/drivers/albazc.c2
-rw-r--r--src/mame/drivers/aleisttl.c32
-rw-r--r--src/mame/drivers/amusco.c51
-rw-r--r--src/mame/drivers/arcadia.c16
-rw-r--r--src/mame/drivers/aristmk4.c26
-rw-r--r--src/mame/drivers/asteroid.c2
-rw-r--r--src/mame/drivers/astinvad.c2
-rw-r--r--src/mame/drivers/astrof.c1
-rw-r--r--src/mame/drivers/asuka.c4
-rw-r--r--src/mame/drivers/atarigx2.c58
-rw-r--r--src/mame/drivers/atarittl.c132
-rw-r--r--src/mame/drivers/atetris.c2
-rw-r--r--src/mame/drivers/backfire.c4
-rw-r--r--src/mame/drivers/bailey.c32
-rw-r--r--src/mame/drivers/battlnts.c2
-rw-r--r--src/mame/drivers/beathead.c2
-rw-r--r--src/mame/drivers/big10.c6
-rw-r--r--src/mame/drivers/blackt96.c2
-rw-r--r--src/mame/drivers/bladestl.c6
-rw-r--r--src/mame/drivers/blmbycar.c2
-rw-r--r--src/mame/drivers/blockhl.c2
-rw-r--r--src/mame/drivers/bloodbro.c2
-rw-r--r--src/mame/drivers/blstroid.c2
-rw-r--r--src/mame/drivers/bmcbowl.c4
-rw-r--r--src/mame/drivers/bmcpokr.c2
-rw-r--r--src/mame/drivers/bnstars.c4
-rw-r--r--src/mame/drivers/boogwing.c2
-rw-r--r--src/mame/drivers/bowltry.c30
-rw-r--r--src/mame/drivers/boxer.c8
-rw-r--r--src/mame/drivers/btime.c2
-rw-r--r--src/mame/drivers/bzone.c2
-rw-r--r--src/mame/drivers/cabal.c2
-rw-r--r--src/mame/drivers/calomega.c8
-rw-r--r--src/mame/drivers/carrera.c2
-rw-r--r--src/mame/drivers/cavepc.c8
-rw-r--r--src/mame/drivers/cball.c2
-rw-r--r--src/mame/drivers/cbuster.c2
-rw-r--r--src/mame/drivers/cd32.c2
-rw-r--r--src/mame/drivers/centiped.c2
-rw-r--r--src/mame/drivers/chanbara.c2
-rw-r--r--src/mame/drivers/chicago.c34
-rw-r--r--src/mame/drivers/chqflag.c2
-rw-r--r--src/mame/drivers/cliffhgr.c2
-rw-r--r--src/mame/drivers/cmmb.c2
-rw-r--r--src/mame/drivers/cninja.c12
-rw-r--r--src/mame/drivers/cntsteer.c2
-rw-r--r--src/mame/drivers/cobra.c2
-rw-r--r--src/mame/drivers/coinmstr.c74
-rw-r--r--src/mame/drivers/coolridr.c2
-rw-r--r--src/mame/drivers/cps1.c32
-rw-r--r--src/mame/drivers/cps3.c2
-rw-r--r--src/mame/drivers/crystal.c74
-rw-r--r--src/mame/drivers/cswat.c6
-rw-r--r--src/mame/drivers/cubeqst.c2
-rw-r--r--src/mame/drivers/cv1k.c48
-rw-r--r--src/mame/drivers/d9final.c2
-rw-r--r--src/mame/drivers/dacholer.c2
-rw-r--r--src/mame/drivers/dai3wksi.c6
-rw-r--r--src/mame/drivers/dassault.c2
-rw-r--r--src/mame/drivers/dblcrown.c16
-rw-r--r--src/mame/drivers/dblewing.c2
-rw-r--r--src/mame/drivers/ddealer.c8
-rw-r--r--src/mame/drivers/ddenlovr.c2
-rw-r--r--src/mame/drivers/ddragon3.c4
-rw-r--r--src/mame/drivers/dec0.c2
-rw-r--r--src/mame/drivers/deco32.c16
-rw-r--r--src/mame/drivers/deco_ld.c4
-rw-r--r--src/mame/drivers/deshoros.c2
-rw-r--r--src/mame/drivers/destroyr.c2
-rw-r--r--src/mame/drivers/dfruit.c4
-rw-r--r--src/mame/drivers/discoboy.c6
-rw-r--r--src/mame/drivers/dkong.c6
-rw-r--r--src/mame/drivers/docastle.c2
-rw-r--r--src/mame/drivers/dominob.c2
-rw-r--r--src/mame/drivers/dooyong.c2
-rw-r--r--src/mame/drivers/dorachan.c2
-rw-r--r--src/mame/drivers/dotrikun.c2
-rw-r--r--src/mame/drivers/dreamwld.c8
-rw-r--r--src/mame/drivers/dunhuang.c2
-rw-r--r--src/mame/drivers/dwarfd.c4
-rw-r--r--src/mame/drivers/ecoinf2.c30
-rw-r--r--src/mame/drivers/electra.c32
-rw-r--r--src/mame/drivers/enigma2.c2
-rw-r--r--src/mame/drivers/exedexes.c2
-rw-r--r--src/mame/drivers/exerion.c2
-rw-r--r--src/mame/drivers/exidyttl.c52
-rw-r--r--src/mame/drivers/exprraid.c8
-rw-r--r--src/mame/drivers/f1gp.c4
-rw-r--r--src/mame/drivers/fantland.c2
-rw-r--r--src/mame/drivers/fcrash.c4
-rw-r--r--src/mame/drivers/feversoc.c2
-rw-r--r--src/mame/drivers/firefox.c2
-rw-r--r--src/mame/drivers/firetrk.c4
-rw-r--r--src/mame/drivers/flipjack.c6
-rw-r--r--src/mame/drivers/flkatck.c16
-rw-r--r--src/mame/drivers/flyball.c2
-rw-r--r--src/mame/drivers/fungames.c32
-rw-r--r--src/mame/drivers/funkyjet.c2
-rw-r--r--src/mame/drivers/funworld.c220
-rw-r--r--src/mame/drivers/gaelco3d.c2
-rw-r--r--src/mame/drivers/gaiden.c2
-rw-r--r--src/mame/drivers/galaga.c38
-rw-r--r--src/mame/drivers/galaxi.c2
-rw-r--r--src/mame/drivers/galaxian.c4
-rw-r--r--src/mame/drivers/galaxold.c4
-rw-r--r--src/mame/drivers/galivan.c2
-rw-r--r--src/mame/drivers/galpani2.c4
-rw-r--r--src/mame/drivers/gaplus.c10
-rw-r--r--src/mame/drivers/gatron.c15
-rw-r--r--src/mame/drivers/gbusters.c6
-rw-r--r--src/mame/drivers/gei.c2
-rw-r--r--src/mame/drivers/ggconnie.c2
-rw-r--r--src/mame/drivers/ghosteo.c2
-rw-r--r--src/mame/drivers/gladiatr.c2
-rw-r--r--src/mame/drivers/go2000.c2
-rw-r--r--src/mame/drivers/goldnpkr.c10
-rw-r--r--src/mame/drivers/goldstar.c86
-rw-r--r--src/mame/drivers/gstream.c43
-rw-r--r--src/mame/drivers/gsword.c2
-rw-r--r--src/mame/drivers/gticlub.c6
-rw-r--r--src/mame/drivers/gunpey.c2
-rw-r--r--src/mame/drivers/gunsmoke.c2
-rw-r--r--src/mame/drivers/halleys.c6
-rw-r--r--src/mame/drivers/highvdeo.c6
-rw-r--r--src/mame/drivers/hng64.c28
-rw-r--r--src/mame/drivers/hornet.c4
-rw-r--r--src/mame/drivers/hshavoc.c2
-rw-r--r--src/mame/drivers/hvyunit.c2
-rw-r--r--src/mame/drivers/hyperspt.c2
-rw-r--r--src/mame/drivers/igs017.c2
-rw-r--r--src/mame/drivers/igs_m027.c1
-rw-r--r--src/mame/drivers/igspoker.c2
-rw-r--r--src/mame/drivers/ikki.c2
-rw-r--r--src/mame/drivers/intrscti.c2
-rw-r--r--src/mame/drivers/itgambl3.c13
-rw-r--r--src/mame/drivers/itgamble.c2
-rw-r--r--src/mame/drivers/jackie.c2
-rw-r--r--src/mame/drivers/jclub2.c199
-rw-r--r--src/mame/drivers/kaneko16.c12
-rw-r--r--src/mame/drivers/kingobox.c2
-rw-r--r--src/mame/drivers/koftball.c6
-rw-r--r--src/mame/drivers/konamigx.c2
-rw-r--r--src/mame/drivers/konendev.c2
-rw-r--r--src/mame/drivers/kopunch.c8
-rw-r--r--src/mame/drivers/lastbank.c2
-rw-r--r--src/mame/drivers/lethal.c84
-rw-r--r--src/mame/drivers/littlerb.c14
-rw-r--r--src/mame/drivers/ltcasino.c2
-rw-r--r--src/mame/drivers/m14.c4
-rw-r--r--src/mame/drivers/m62.c2
-rw-r--r--src/mame/drivers/m63.c3
-rw-r--r--src/mame/drivers/mappy.c16
-rw-r--r--src/mame/drivers/mazerbla.c2
-rw-r--r--src/mame/drivers/mcr3.c4
-rw-r--r--src/mame/drivers/mcr68.c8
-rw-r--r--src/mame/drivers/meadwttl.c32
-rw-r--r--src/mame/drivers/megaphx.c60
-rw-r--r--src/mame/drivers/megaplay.c32
-rw-r--r--src/mame/drivers/megatech.c54
-rw-r--r--src/mame/drivers/metalmx.c2
-rw-r--r--src/mame/drivers/metro.c10
-rw-r--r--src/mame/drivers/mgolf.c2
-rw-r--r--src/mame/drivers/mhavoc.c2
-rw-r--r--src/mame/drivers/micro3d.c2
-rw-r--r--src/mame/drivers/mil4000.c74
-rw-r--r--src/mame/drivers/mirage.c2
-rw-r--r--src/mame/drivers/mitchell.c2
-rw-r--r--src/mame/drivers/mlanding.c2
-rw-r--r--src/mame/drivers/model1.c4
-rw-r--r--src/mame/drivers/model2.c2
-rw-r--r--src/mame/drivers/model3.c6
-rw-r--r--src/mame/drivers/monacogp.c132
-rw-r--r--src/mame/drivers/mpoker.c2
-rw-r--r--src/mame/drivers/mpu4.c4
-rw-r--r--src/mame/drivers/mpu4hw.c4
-rw-r--r--src/mame/drivers/mpu4misc.c10
-rw-r--r--src/mame/drivers/mugsmash.c2
-rw-r--r--src/mame/drivers/multfish.c14
-rw-r--r--src/mame/drivers/multfish_boot.c2
-rw-r--r--src/mame/drivers/multfish_ref.c2
-rw-r--r--src/mame/drivers/murogmbl.c2
-rw-r--r--src/mame/drivers/mystwarr.c12
-rw-r--r--src/mame/drivers/namcos12.c6
-rw-r--r--src/mame/drivers/namcos22.c10
-rw-r--r--src/mame/drivers/naomi.c244
-rw-r--r--src/mame/drivers/nbmj8891.c4
-rw-r--r--src/mame/drivers/nbmj8900.c2
-rw-r--r--src/mame/drivers/neogeo.c7
-rw-r--r--src/mame/drivers/neptunp2.c2
-rw-r--r--src/mame/drivers/nightgal.c2
-rw-r--r--src/mame/drivers/ninjaw.c2
-rw-r--r--src/mame/drivers/nmg5.c2
-rw-r--r--src/mame/drivers/nss.c2
-rw-r--r--src/mame/drivers/nwk-tr.c2
-rw-r--r--src/mame/drivers/nycaptor.c4
-rw-r--r--src/mame/drivers/nyny.c2
-rw-r--r--src/mame/drivers/offtwall.c24
-rw-r--r--src/mame/drivers/ohmygod.c2
-rw-r--r--src/mame/drivers/olibochu.c4
-rw-r--r--src/mame/drivers/onetwo.c2
-rw-r--r--src/mame/drivers/othello.c2
-rw-r--r--src/mame/drivers/overdriv.c4
-rw-r--r--src/mame/drivers/pacman.c12
-rw-r--r--src/mame/drivers/panicr.c2
-rw-r--r--src/mame/drivers/pcxt.c12
-rw-r--r--src/mame/drivers/pengadvb.c12
-rw-r--r--src/mame/drivers/peplus.c4
-rw-r--r--src/mame/drivers/pgm.c1
-rw-r--r--src/mame/drivers/pgm2.c75
-rw-r--r--src/mame/drivers/photon.c2
-rw-r--r--src/mame/drivers/pinkiri8.c2
-rw-r--r--src/mame/drivers/pkscram.c2
-rw-r--r--src/mame/drivers/pktgaldx.c2
-rw-r--r--src/mame/drivers/polepos.c8
-rw-r--r--src/mame/drivers/pong.c1254
-rw-r--r--src/mame/drivers/popeye.c148
-rw-r--r--src/mame/drivers/popobear.c4
-rw-r--r--src/mame/drivers/puckpkmn.c4
-rw-r--r--src/mame/drivers/pzletime.c4
-rw-r--r--src/mame/drivers/qdrmfgp.c4
-rw-r--r--src/mame/drivers/quantum.c2
-rw-r--r--src/mame/drivers/r2dx_v33.c2
-rw-r--r--src/mame/drivers/raiden2.c14
-rw-r--r--src/mame/drivers/ramtek.c44
-rw-r--r--src/mame/drivers/rcorsair.c2
-rw-r--r--src/mame/drivers/realbrk.c2
-rw-r--r--src/mame/drivers/rltennis.c2
-rw-r--r--src/mame/drivers/rockrage.c4
-rw-r--r--src/mame/drivers/rohga.c10
-rw-r--r--src/mame/drivers/rollerg.c6
-rw-r--r--src/mame/drivers/rungun.c2
-rw-r--r--src/mame/drivers/s7.c2
-rw-r--r--src/mame/drivers/safarir.c2
-rw-r--r--src/mame/drivers/scobra.c4
-rw-r--r--src/mame/drivers/scramble.c2
-rw-r--r--src/mame/drivers/seabattl.c2
-rw-r--r--src/mame/drivers/segac2.c26
-rw-r--r--src/mame/drivers/segaorun.c20
-rw-r--r--src/mame/drivers/segas16a.c12
-rw-r--r--src/mame/drivers/segas18.c2
-rw-r--r--src/mame/drivers/segaybd.c2
-rw-r--r--src/mame/drivers/seicross.c4
-rw-r--r--src/mame/drivers/seta.c10
-rw-r--r--src/mame/drivers/seta2.c4
-rw-r--r--src/mame/drivers/sf.c2
-rw-r--r--src/mame/drivers/sidearms.c2
-rw-r--r--src/mame/drivers/sigmab98.c4
-rw-r--r--src/mame/drivers/simpl156.c2
-rw-r--r--src/mame/drivers/skylncr.c20
-rw-r--r--src/mame/drivers/slapfght.c16
-rw-r--r--src/mame/drivers/slapshot.c2
-rw-r--r--src/mame/drivers/smsmcorp.c2
-rw-r--r--src/mame/drivers/spy.c2
-rw-r--r--src/mame/drivers/statriv2.c2
-rw-r--r--src/mame/drivers/stuntair.c2
-rw-r--r--src/mame/drivers/subs.c2
-rw-r--r--src/mame/drivers/subsino.c2
-rw-r--r--src/mame/drivers/subsino2.c6
-rw-r--r--src/mame/drivers/supbtime.c4
-rw-r--r--src/mame/drivers/supercrd.c2
-rw-r--r--src/mame/drivers/superwng.c2
-rw-r--r--src/mame/drivers/system16.c2
-rw-r--r--src/mame/drivers/taito_b.c10
-rw-r--r--src/mame/drivers/taito_f2.c12
-rw-r--r--src/mame/drivers/taitoair.c2
-rw-r--r--src/mame/drivers/taitogn.c14
-rw-r--r--src/mame/drivers/taitojc.c4
-rw-r--r--src/mame/drivers/taitottl.c66
-rw-r--r--src/mame/drivers/taotaido.c2
-rw-r--r--src/mame/drivers/tceptor.c2
-rw-r--r--src/mame/drivers/tecmo16.c2
-rw-r--r--src/mame/drivers/thunderx.c2
-rw-r--r--src/mame/drivers/toaplan1.c2
-rw-r--r--src/mame/drivers/toaplan2.c6
-rw-r--r--src/mame/drivers/tourtabl.c2
-rw-r--r--src/mame/drivers/toypop.c6
-rw-r--r--src/mame/drivers/triforce.c2
-rw-r--r--src/mame/drivers/truco.c2
-rw-r--r--src/mame/drivers/tugboat.c2
-rw-r--r--src/mame/drivers/tumbleb.c2
-rw-r--r--src/mame/drivers/tumblep.c2
-rw-r--r--src/mame/drivers/turrett.c2
-rw-r--r--src/mame/drivers/uapce.c2
-rw-r--r--src/mame/drivers/ultraman.c8
-rw-r--r--src/mame/drivers/vamphalf.c4
-rw-r--r--src/mame/drivers/vaportra.c2
-rw-r--r--src/mame/drivers/vball.c2
-rw-r--r--src/mame/drivers/vega.c6
-rw-r--r--src/mame/drivers/vendetta.c2
-rw-r--r--src/mame/drivers/vlc.c4
-rw-r--r--src/mame/drivers/volfied.c2
-rw-r--r--src/mame/drivers/vp101.c2
-rw-r--r--src/mame/drivers/wardner.c4
-rw-r--r--src/mame/drivers/warpwarp.c2
-rw-r--r--src/mame/drivers/wecleman.c2
-rw-r--r--src/mame/drivers/welltris.c2
-rw-r--r--src/mame/drivers/witch.c18
-rw-r--r--src/mame/drivers/wiz.c4
-rw-r--r--src/mame/drivers/wolfpack.c2
-rw-r--r--src/mame/drivers/xmen.c4
-rw-r--r--src/mame/drivers/xybots.c2
-rw-r--r--src/mame/drivers/xyonix.c2
-rw-r--r--src/mame/drivers/zaxxon.c2
-rw-r--r--src/mame/drivers/zr107.c5
-rw-r--r--src/mame/etc/template_driver.c8
-rw-r--r--src/mame/includes/1943.h2
-rw-r--r--src/mame/includes/airbustr.h2
-rw-r--r--src/mame/includes/amiga.h4
-rw-r--r--src/mame/includes/atari.h2
-rw-r--r--src/mame/includes/atarisy1.h2
-rw-r--r--src/mame/includes/aztarac.h2
-rw-r--r--src/mame/includes/balsente.h2
-rw-r--r--src/mame/includes/battlane.h2
-rw-r--r--src/mame/includes/battlera.h2
-rw-r--r--src/mame/includes/bfm_sc45.h6
-rw-r--r--src/mame/includes/bigevglf.h2
-rw-r--r--src/mame/includes/bladestl.h1
-rw-r--r--src/mame/includes/btime.h2
-rw-r--r--src/mame/includes/bublbobl.h2
-rw-r--r--src/mame/includes/bwing.h2
-rw-r--r--src/mame/includes/calomega.h2
-rw-r--r--src/mame/includes/carpolo.h2
-rw-r--r--src/mame/includes/cave.h2
-rw-r--r--src/mame/includes/ccastles.h2
-rw-r--r--src/mame/includes/cchasm.h2
-rw-r--r--src/mame/includes/centiped.h2
-rw-r--r--src/mame/includes/cidelsa.h4
-rw-r--r--src/mame/includes/citycon.h2
-rw-r--r--src/mame/includes/cninja.h2
-rw-r--r--src/mame/includes/combatsc.h2
-rw-r--r--src/mame/includes/contra.h2
-rw-r--r--src/mame/includes/cop01.h2
-rw-r--r--src/mame/includes/copsnrob.h2
-rw-r--r--src/mame/includes/cps1.h4
-rw-r--r--src/mame/includes/crbaloon.h2
-rw-r--r--src/mame/includes/crimfght.h2
-rw-r--r--src/mame/includes/crshrace.h4
-rw-r--r--src/mame/includes/cvs.h4
-rw-r--r--src/mame/includes/darius.h2
-rw-r--r--src/mame/includes/dbz.h2
-rw-r--r--src/mame/includes/dcheese.h2
-rw-r--r--src/mame/includes/deadang.h2
-rw-r--r--src/mame/includes/dec8.h2
-rw-r--r--src/mame/includes/deco32.h4
-rw-r--r--src/mame/includes/djboy.h2
-rw-r--r--src/mame/includes/dkong.h2
-rw-r--r--src/mame/includes/docastle.h6
-rw-r--r--src/mame/includes/equites.h2
-rw-r--r--src/mame/includes/espial.h2
-rw-r--r--src/mame/includes/esripsys.h2
-rw-r--r--src/mame/includes/exerion.h4
-rw-r--r--src/mame/includes/exidy.h2
-rw-r--r--src/mame/includes/exidy440.h2
-rw-r--r--src/mame/includes/exprraid.h2
-rw-r--r--src/mame/includes/f1gp.h4
-rw-r--r--src/mame/includes/fastfred.h2
-rw-r--r--src/mame/includes/fcombat.h2
-rw-r--r--src/mame/includes/fgoal.h2
-rw-r--r--src/mame/includes/firetrap.h2
-rw-r--r--src/mame/includes/firetrk.h2
-rw-r--r--src/mame/includes/fuukifg2.h2
-rw-r--r--src/mame/includes/fuukifg3.h4
-rw-r--r--src/mame/includes/gaelco3d.h2
-rw-r--r--src/mame/includes/galaga.h2
-rw-r--r--src/mame/includes/galpanic.h2
-rw-r--r--src/mame/includes/gaplus.h2
-rw-r--r--src/mame/includes/gcpinbal.h2
-rw-r--r--src/mame/includes/gladiatr.h4
-rw-r--r--src/mame/includes/gottlieb.h4
-rw-r--r--src/mame/includes/gradius3.h2
-rw-r--r--src/mame/includes/grchamp.h2
-rw-r--r--src/mame/includes/gridlee.h2
-rw-r--r--src/mame/includes/gsword.h2
-rw-r--r--src/mame/includes/gyruss.h2
-rw-r--r--src/mame/includes/harddriv.h2
-rw-r--r--src/mame/includes/homedata.h2
-rw-r--r--src/mame/includes/homerun.h2
-rw-r--r--src/mame/includes/hyprduel.h2
-rw-r--r--src/mame/includes/ikki.h2
-rw-r--r--src/mame/includes/irobot.h2
-rw-r--r--src/mame/includes/ironhors.h2
-rw-r--r--src/mame/includes/itech32.h2
-rw-r--r--src/mame/includes/jackal.h2
-rw-r--r--src/mame/includes/kaneko16.h8
-rw-r--r--src/mame/includes/karnov.h6
-rw-r--r--src/mame/includes/konamigx.h2
-rw-r--r--src/mame/includes/labyrunr.h2
-rw-r--r--src/mame/includes/ladybug.h2
-rw-r--r--src/mame/includes/laserbat.h2
-rw-r--r--src/mame/includes/lasso.h2
-rw-r--r--src/mame/includes/lastduel.h4
-rw-r--r--src/mame/includes/lazercmd.h2
-rw-r--r--src/mame/includes/liberate.h2
-rw-r--r--src/mame/includes/lkage.h2
-rw-r--r--src/mame/includes/lockon.h2
-rw-r--r--src/mame/includes/lsasquad.h2
-rw-r--r--src/mame/includes/m10.h4
-rw-r--r--src/mame/includes/m107.h2
-rw-r--r--src/mame/includes/m52.h2
-rw-r--r--src/mame/includes/m72.h2
-rw-r--r--src/mame/includes/m92.h2
-rw-r--r--src/mame/includes/macrossp.h2
-rw-r--r--src/mame/includes/matmania.h2
-rw-r--r--src/mame/includes/mcatadv.h2
-rw-r--r--src/mame/includes/mcr68.h2
-rw-r--r--src/mame/includes/meadows.h2
-rw-r--r--src/mame/includes/metlclsh.h2
-rw-r--r--src/mame/includes/micro3d.h2
-rw-r--r--src/mame/includes/model3.h2
-rw-r--r--src/mame/includes/mouser.h4
-rw-r--r--src/mame/includes/mrflea.h2
-rw-r--r--src/mame/includes/ms32.h2
-rw-r--r--src/mame/includes/mugsmash.h2
-rw-r--r--src/mame/includes/multfish.h4
-rw-r--r--src/mame/includes/munchmo.h2
-rw-r--r--src/mame/includes/n8080.h2
-rw-r--r--src/mame/includes/namcona1.h6
-rw-r--r--src/mame/includes/namcos1.h2
-rw-r--r--src/mame/includes/namcos2.h2
-rw-r--r--src/mame/includes/naughtyb.h2
-rw-r--r--src/mame/includes/nemesis.h2
-rw-r--r--src/mame/includes/ninjaw.h2
-rw-r--r--src/mame/includes/nitedrvr.h2
-rw-r--r--src/mame/includes/nycaptor.h2
-rw-r--r--src/mame/includes/ojankohs.h2
-rw-r--r--src/mame/includes/orbit.h2
-rw-r--r--src/mame/includes/othunder.h2
-rw-r--r--src/mame/includes/pandoras.h2
-rw-r--r--src/mame/includes/paradise.h2
-rw-r--r--src/mame/includes/pcktgal.h2
-rw-r--r--src/mame/includes/pktgaldx.h2
-rw-r--r--src/mame/includes/playch10.h2
-rw-r--r--src/mame/includes/pooyan.h2
-rw-r--r--src/mame/includes/popeye.h2
-rw-r--r--src/mame/includes/portrait.h2
-rw-r--r--src/mame/includes/powerins.h2
-rw-r--r--src/mame/includes/psikyo4.h2
-rw-r--r--src/mame/includes/pushman.h2
-rw-r--r--src/mame/includes/rainbow.h2
-rw-r--r--src/mame/includes/rockrage.h3
-rw-r--r--src/mame/includes/rohga.h2
-rw-r--r--src/mame/includes/rungun.h2
-rw-r--r--src/mame/includes/sbasketb.h2
-rw-r--r--src/mame/includes/scramble.h2
-rw-r--r--src/mame/includes/segas16b.h2
-rw-r--r--src/mame/includes/segas18.h2
-rw-r--r--src/mame/includes/seicross.h2
-rw-r--r--src/mame/includes/seta.h2
-rw-r--r--src/mame/includes/skyfox.h4
-rw-r--r--src/mame/includes/slapfght.h4
-rw-r--r--src/mame/includes/slapshot.h2
-rw-r--r--src/mame/includes/snes.h4
-rw-r--r--src/mame/includes/snowbros.h2
-rw-r--r--src/mame/includes/spacefb.h2
-rw-r--r--src/mame/includes/sprcros2.h4
-rw-r--r--src/mame/includes/ssv.h2
-rw-r--r--src/mame/includes/stadhero.h2
-rw-r--r--src/mame/includes/stv.h6
-rw-r--r--src/mame/includes/system16.h2
-rw-r--r--src/mame/includes/tail2nos.h2
-rw-r--r--src/mame/includes/taito_f2.h2
-rw-r--r--src/mame/includes/taito_h.h2
-rw-r--r--src/mame/includes/taito_o.h2
-rw-r--r--src/mame/includes/taitojc.h2
-rw-r--r--src/mame/includes/taitosj.h2
-rw-r--r--src/mame/includes/tceptor.h2
-rw-r--r--src/mame/includes/thedeep.h2
-rw-r--r--src/mame/includes/thunderx.h2
-rw-r--r--src/mame/includes/timeplt.h2
-rw-r--r--src/mame/includes/toki.h2
-rw-r--r--src/mame/includes/topspeed.h2
-rw-r--r--src/mame/includes/tp84.h2
-rw-r--r--src/mame/includes/tubep.h2
-rw-r--r--src/mame/includes/tumbleb.h2
-rw-r--r--src/mame/includes/tunhunt.h2
-rw-r--r--src/mame/includes/turbo.h2
-rw-r--r--src/mame/includes/twin16.h2
-rw-r--r--src/mame/includes/undrfire.h2
-rw-r--r--src/mame/includes/vaportra.h2
-rw-r--r--src/mame/includes/volfied.h2
-rw-r--r--src/mame/includes/warriorb.h2
-rw-r--r--src/mame/includes/wecleman.h2
-rw-r--r--src/mame/includes/wgp.h2
-rw-r--r--src/mame/includes/wiz.h2
-rw-r--r--src/mame/includes/zac2650.h2
-rw-r--r--src/mame/includes/zodiack.h2
-rw-r--r--src/mame/layout/cherryb3.lay4
-rw-r--r--src/mame/layout/dblcrown.lay4
-rw-r--r--src/mame/layout/gamball.lay4
-rw-r--r--src/mame/layout/goldstar.lay4
-rw-r--r--src/mame/machine/asteroid.c2
-rw-r--r--src/mame/machine/atari.c1
-rw-r--r--src/mame/machine/atarigen.h2
-rw-r--r--src/mame/machine/cdi070.h2
-rw-r--r--src/mame/machine/gaelco3d.h2
-rw-r--r--src/mame/machine/igs036crypt.c100
-rw-r--r--src/mame/machine/igs036crypt.h4
-rw-r--r--src/mame/machine/inder_sb.c64
-rw-r--r--src/mame/machine/inder_sb.h2
-rw-r--r--src/mame/machine/inder_vid.c7
-rw-r--r--src/mame/machine/inder_vid.h6
-rw-r--r--src/mame/machine/megadriv.c12
-rw-r--r--src/mame/machine/namco06.c14
-rw-r--r--src/mame/machine/namco06.h24
-rw-r--r--src/mame/machine/namco50.c2
-rw-r--r--src/mame/machine/namco50.h8
-rw-r--r--src/mame/machine/namco51.h8
-rw-r--r--src/mame/machine/namco53.c10
-rw-r--r--src/mame/machine/namco53.h16
-rw-r--r--src/mame/machine/namco62.h4
-rw-r--r--src/mame/machine/namcoio.h18
-rw-r--r--src/mame/machine/namcos1.c5
-rw-r--r--src/mame/machine/naomim4.c6
-rw-r--r--src/mame/machine/pcecommn.c1
-rw-r--r--src/mame/machine/pcecommn.h2
-rw-r--r--src/mame/machine/slapfght.c2
-rw-r--r--src/mame/machine/tait8741.c7
-rw-r--r--src/mame/machine/tait8741.h52
-rw-r--r--src/mame/machine/taitoio.h32
-rw-r--r--src/mame/mame.lst132
-rw-r--r--src/mame/video/alpha68k.c2
-rw-r--r--src/mame/video/amspdwy.c2
-rw-r--r--src/mame/video/angelkds.c6
-rw-r--r--src/mame/video/appoooh.c4
-rw-r--r--src/mame/video/argus.c2
-rw-r--r--src/mame/video/atarimo.c4
-rw-r--r--src/mame/video/avgdvg.c50
-rw-r--r--src/mame/video/avgdvg.h124
-rw-r--r--src/mame/video/baraduke.c2
-rw-r--r--src/mame/video/battlane.c4
-rw-r--r--src/mame/video/battlex.c2
-rw-r--r--src/mame/video/bfm_adr2.c2
-rw-r--r--src/mame/video/bfm_adr2.h2
-rw-r--r--src/mame/video/bfm_dm01.c4
-rw-r--r--src/mame/video/bfm_dm01.h4
-rw-r--r--src/mame/video/bogeyman.c5
-rw-r--r--src/mame/video/bwing.c4
-rw-r--r--src/mame/video/c45.c1
-rw-r--r--src/mame/video/c45.h8
-rw-r--r--src/mame/video/canyon.c2
-rw-r--r--src/mame/video/carpolo.c2
-rw-r--r--src/mame/video/cclimber.c6
-rw-r--r--src/mame/video/chaknpop.c2
-rw-r--r--src/mame/video/champbas.c8
-rw-r--r--src/mame/video/cheekyms.c10
-rw-r--r--src/mame/video/combatsc.c2
-rw-r--r--src/mame/video/cps1.c2
-rw-r--r--src/mame/video/crimfght.c2
-rw-r--r--src/mame/video/darkmist.c2
-rw-r--r--src/mame/video/ddribble.c2
-rw-r--r--src/mame/video/dec8.c2
-rw-r--r--src/mame/video/decbac06.h2
-rw-r--r--src/mame/video/deckarn.h2
-rw-r--r--src/mame/video/decmxc06.c4
-rw-r--r--src/mame/video/decmxc06.h4
-rw-r--r--src/mame/video/deco16ic.h4
-rw-r--r--src/mame/video/decocomn.h4
-rw-r--r--src/mame/video/decospr.h3
-rw-r--r--src/mame/video/djmain.c4
-rw-r--r--src/mame/video/drgnmst.c2
-rw-r--r--src/mame/video/exerion.c4
-rw-r--r--src/mame/video/fcombat.c10
-rw-r--r--src/mame/video/firetrk.c8
-rw-r--r--src/mame/video/fitfight.c2
-rw-r--r--src/mame/video/gaelco2.c2
-rw-r--r--src/mame/video/galaxian.c2
-rw-r--r--src/mame/video/goindol.c4
-rw-r--r--src/mame/video/gottlieb.c2
-rw-r--r--src/mame/video/gotya.c4
-rw-r--r--src/mame/video/gp9001.h1
-rw-r--r--src/mame/video/grchamp.c4
-rw-r--r--src/mame/video/gticlub.c2
-rw-r--r--src/mame/video/gyruss.c2
-rw-r--r--src/mame/video/hyperspt.c4
-rw-r--r--src/mame/video/jalblend.c2
-rw-r--r--src/mame/video/k001005.h2
-rw-r--r--src/mame/video/k001604.h2
-rw-r--r--src/mame/video/k007121.h2
-rw-r--r--src/mame/video/k007342.c10
-rw-r--r--src/mame/video/k007342.h11
-rw-r--r--src/mame/video/k007420.c4
-rw-r--r--src/mame/video/k007420.h4
-rw-r--r--src/mame/video/k051316.h2
-rw-r--r--src/mame/video/k053244_k053245.h2
-rw-r--r--src/mame/video/k053246_k053247_k055673.h2
-rw-r--r--src/mame/video/k053250.h2
-rw-r--r--src/mame/video/k054338.c2
-rw-r--r--src/mame/video/kaneko16.c6
-rw-r--r--src/mame/video/kaneko_spr.c1
-rw-r--r--src/mame/video/kaneko_spr.h2
-rw-r--r--src/mame/video/kopunch.c2
-rw-r--r--src/mame/video/ladyfrog.c4
-rw-r--r--src/mame/video/lastduel.c2
-rw-r--r--src/mame/video/m10.c4
-rw-r--r--src/mame/video/m52.c4
-rw-r--r--src/mame/video/mermaid.c2
-rw-r--r--src/mame/video/mikie.c2
-rw-r--r--src/mame/video/mrflea.c2
-rw-r--r--src/mame/video/ms32.c2
-rw-r--r--src/mame/video/mugsmash.c2
-rw-r--r--src/mame/video/munchmo.c5
-rw-r--r--src/mame/video/mystston.c2
-rw-r--r--src/mame/video/namcona1.c2
-rw-r--r--src/mame/video/namcos22.c2
-rw-r--r--src/mame/video/ninjakd2.c2
-rw-r--r--src/mame/video/nova2001.c6
-rw-r--r--src/mame/video/oneshot.c3
-rw-r--r--src/mame/video/pooyan.c2
-rw-r--r--src/mame/video/popeye.c38
-rw-r--r--src/mame/video/ppu2c0x.c4
-rw-r--r--src/mame/video/ppu2c0x.h10
-rw-r--r--src/mame/video/psikyo4.c2
-rw-r--r--src/mame/video/raiden.c2
-rw-r--r--src/mame/video/sbasketb.c2
-rw-r--r--src/mame/video/segaic16.h2
-rw-r--r--src/mame/video/segaic24.h4
-rw-r--r--src/mame/video/seibu_crtc.h8
-rw-r--r--src/mame/video/shangkid.c8
-rw-r--r--src/mame/video/sidearms.c2
-rw-r--r--src/mame/video/slapfght.c44
-rw-r--r--src/mame/video/solomon.c2
-rw-r--r--src/mame/video/sonson.c2
-rw-r--r--src/mame/video/ssozumo.c2
-rw-r--r--src/mame/video/sspeedr.c4
-rw-r--r--src/mame/video/stadhero.c2
-rw-r--r--src/mame/video/starcrus.c28
-rw-r--r--src/mame/video/stlforce.c2
-rw-r--r--src/mame/video/strnskil.c2
-rw-r--r--src/mame/video/tagteam.c4
-rw-r--r--src/mame/video/taito_h.c6
-rw-r--r--src/mame/video/taito_o.c2
-rw-r--r--src/mame/video/taitoair.c2
-rw-r--r--src/mame/video/taitosj.c4
-rw-r--r--src/mame/video/tc0080vco.h2
-rw-r--r--src/mame/video/tc0110pcr.c1
-rw-r--r--src/mame/video/tc0110pcr.h9
-rw-r--r--src/mame/video/tc0480scp.h2
-rw-r--r--src/mame/video/tceptor.c2
-rw-r--r--src/mame/video/tecmo_spr.c2
-rw-r--r--src/mame/video/thepit.c4
-rw-r--r--src/mame/video/tia.h4
-rw-r--r--src/mame/video/tigeroad.c2
-rw-r--r--src/mame/video/trackfld.c4
-rw-r--r--src/mame/video/tunhunt.c3
-rw-r--r--src/mame/video/twincobr.c2
-rw-r--r--src/mame/video/wecleman.c1
-rw-r--r--src/mame/video/wiz.c10
-rw-r--r--src/mame/video/wolfpack.c10
-rw-r--r--src/mame/video/ygv608.c6
-rw-r--r--src/mame/video/ygv608.h2
-rw-r--r--src/mame/video/yiear.c2
-rw-r--r--src/mame/video/zaxxon.c8
672 files changed, 3422 insertions, 3480 deletions
diff --git a/src/mame/audio/cclimber.c b/src/mame/audio/cclimber.c
index 0f5eee6ae98..42f080033b9 100644
--- a/src/mame/audio/cclimber.c
+++ b/src/mame/audio/cclimber.c
@@ -41,8 +41,8 @@ MACHINE_CONFIG_FRAGMENT( cclimber_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, ":mono", 0.50)
MCFG_SAMPLES_ADD("samples", cclimber_samples_interface)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, ":mono", 0.5)
-MACHINE_CONFIG_END
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, ":mono", 0.5)
+MACHINE_CONFIG_END
//**************************************************************************
// DEVICE DEFINITIONS
@@ -136,4 +136,3 @@ void cclimber_audio_device::play_sample(int start,int freq,int volume)
m_samples->start_raw(0,samplebuf,2 * len,freq);
}
-
diff --git a/src/mame/audio/cclimber.h b/src/mame/audio/cclimber.h
index 8c4e1d216e5..e771c5a2b5a 100644
--- a/src/mame/audio/cclimber.h
+++ b/src/mame/audio/cclimber.h
@@ -28,7 +28,7 @@ extern const device_type CCLIMBER_AUDIO;
#define MCFG_CCLIMBER_AUDIO_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, CCLIMBER_AUDIO, 0)
-
+
// ======================> cclimber_audio_device
class cclimber_audio_device : public device_t
@@ -41,14 +41,14 @@ public:
DECLARE_WRITE8_MEMBER( sample_rate_w );
DECLARE_WRITE8_MEMBER( sample_volume_w );
DECLARE_WRITE8_MEMBER( sample_select_w );
-
+
protected:
- // device level overrides
- virtual void device_start();
+ // device level overrides
+ virtual void device_start();
virtual machine_config_constructor device_mconfig_additions() const;
void play_sample(int start,int freq,int volume);
-private:
+private:
int m_sample_num;
int m_sample_freq;
int m_sample_volume;
diff --git a/src/mame/audio/cps3.c b/src/mame/audio/cps3.c
index 82002cc9842..b8c6a1b47c9 100644
--- a/src/mame/audio/cps3.c
+++ b/src/mame/audio/cps3.c
@@ -73,7 +73,7 @@ void cps3_sound_device::sound_stream_update(sound_stream &stream, stream_sample_
-------- -------- xxxxxxxx xxxxxxxx end address high
7 xxxxxxxx xxxxxxxx -------- -------- volume right (signed?)
-------- -------- xxxxxxxx xxxxxxxx volume left (signed?)
-
+
(*) reg 5 and 6 are always the same. One of them probably means loop-end address,
but we won't know which until we do tests on real hw.
*/
@@ -87,10 +87,10 @@ void cps3_sound_device::sound_stream_update(sound_stream &stream, stream_sample_
INT16 vol_l = (vptr->regs[7] & 0xffff);
INT16 vol_r = (vptr->regs[7] >> 16 & 0xffff);
-
+
UINT32 pos = vptr->pos;
UINT32 frac = vptr->frac;
-
+
/* TODO */
start -= 0x400000;
end -= 0x400000;
@@ -144,7 +144,7 @@ WRITE32_MEMBER( cps3_sound_device::cps3_sound_w )
else if (offset == 0x80)
{
assert((mem_mask & 0xffff0000) == 0xffff0000); // doesn't happen
-
+
UINT16 key = data >> 16;
for (int i = 0; i < CPS3_VOICES; i++)
diff --git a/src/mame/audio/namco52.c b/src/mame/audio/namco52.c
index bf7397e7808..514bb893299 100644
--- a/src/mame/audio/namco52.c
+++ b/src/mame/audio/namco52.c
@@ -166,7 +166,7 @@ namco_52xx_device::namco_52xx_device(const machine_config &mconfig, const char *
m_basenode(0),
m_extclock(0),
m_romread(*this),
- m_si(*this)
+ m_si(*this)
{
}
diff --git a/src/mame/audio/namco52.h b/src/mame/audio/namco52.h
index 8af8dbbac50..949c62de1e2 100644
--- a/src/mame/audio/namco52.h
+++ b/src/mame/audio/namco52.h
@@ -23,7 +23,7 @@
#define MCFG_NAMCO_52XX_SI_CB(_devcb) \
devcb = &namco_52xx_device::set_si_callback(*device, DEVCB2_##_devcb);
-
+
class namco_52xx_device : public device_t
{
@@ -35,7 +35,7 @@ public:
static void set_extclock(device_t &device, attoseconds_t clk) { downcast<namco_52xx_device &>(device).m_extclock = clk; }
template<class _Object> static devcb2_base &set_romread_callback(device_t &device, _Object object) { return downcast<namco_52xx_device &>(device).m_romread.set_callback(object); }
template<class _Object> static devcb2_base &set_si_callback(device_t &device, _Object object) { return downcast<namco_52xx_device &>(device).m_si.set_callback(object); }
-
+
DECLARE_WRITE8_MEMBER(write);
DECLARE_READ8_MEMBER( K_r );
@@ -52,7 +52,7 @@ protected:
virtual void device_start();
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
-
+
TIMER_CALLBACK_MEMBER( latch_callback );
TIMER_CALLBACK_MEMBER( irq_clear );
TIMER_CALLBACK_MEMBER( external_clock_pulse );
@@ -60,12 +60,12 @@ private:
// internal state
required_device<mb88_cpu_device> m_cpu;
required_device<discrete_device> m_discrete;
-
+
int m_basenode;
attoseconds_t m_extclock;
devcb2_read8 m_romread;
devcb2_read8 m_si;
-
+
UINT8 m_latched_cmd;
UINT32 m_address;
};
diff --git a/src/mame/audio/namco54.c b/src/mame/audio/namco54.c
index a8f14368685..6fce7cd8af6 100644
--- a/src/mame/audio/namco54.c
+++ b/src/mame/audio/namco54.c
@@ -58,7 +58,7 @@ TIMER_CALLBACK_MEMBER( namco_54xx_device::latch_callback )
}
READ8_MEMBER( namco_54xx_device::K_r )
-{
+{
return m_latched_cmd >> 4;
}
diff --git a/src/mame/audio/namco54.h b/src/mame/audio/namco54.h
index 3abe55cd749..9396436ca20 100644
--- a/src/mame/audio/namco54.h
+++ b/src/mame/audio/namco54.h
@@ -24,12 +24,12 @@ public:
static void set_discrete(device_t &device, const char *tag) { downcast<namco_54xx_device &>(device).m_discrete.set_tag(tag); }
static void set_basenote(device_t &device, int node) { downcast<namco_54xx_device &>(device).m_basenode = node; }
-
+
DECLARE_READ8_MEMBER( K_r );
DECLARE_READ8_MEMBER( R0_r );
DECLARE_WRITE8_MEMBER( O_w );
DECLARE_WRITE8_MEMBER( R1_w );
-
+
DECLARE_WRITE8_MEMBER( write );
protected:
// device-level overrides
@@ -43,7 +43,7 @@ private:
// internal state
required_device<mb88_cpu_device> m_cpu;
required_device<discrete_device> m_discrete;
-
+
int m_basenode;
UINT8 m_latched_cmd;
};
diff --git a/src/mame/audio/taito_en.h b/src/mame/audio/taito_en.h
index 5864ab00180..973f750bd60 100644
--- a/src/mame/audio/taito_en.h
+++ b/src/mame/audio/taito_en.h
@@ -19,7 +19,7 @@ public:
DECLARE_WRITE16_MEMBER( es5510_dsp_w );
DECLARE_WRITE_LINE_MEMBER(duart_irq_handler);
-
+
DECLARE_WRITE8_MEMBER(mb87078_gain_changed);
protected:
diff --git a/src/mame/audio/taito_zm.c b/src/mame/audio/taito_zm.c
index d451029af87..1364a84509c 100644
--- a/src/mame/audio/taito_zm.c
+++ b/src/mame/audio/taito_zm.c
@@ -55,7 +55,7 @@ taito_zoom_device::taito_zoom_device(const machine_config &mconfig, const char *
void taito_zoom_device::device_start()
{
m_snd_shared_ram = auto_alloc_array_clear(machine(), UINT8, 0x100);
-
+
// register for savestates
save_item(NAME(m_reg_address));
save_item(NAME(m_tms_ctrl));
@@ -69,7 +69,7 @@ void taito_zoom_device::device_start()
void taito_zoom_device::device_reset()
{
m_reg_address = 0;
-
+
m_zsg2->reset();
}
@@ -150,7 +150,7 @@ WRITE16_MEMBER(taito_zoom_device::reg_data_w)
popmessage("ZOOM gain L %04X, contact MAMEdev", data);
m_zsg2->set_output_gain(0, (data & 0x3f) / 63.0);
break;
-
+
case 0x05:
// zsg2+dsp global volume right
if (data & 0xc0c0)
diff --git a/src/mame/audio/taito_zm.h b/src/mame/audio/taito_zm.h
index 9604f8319fe..b9d759b4c99 100644
--- a/src/mame/audio/taito_zm.h
+++ b/src/mame/audio/taito_zm.h
@@ -27,11 +27,11 @@ protected:
virtual void device_reset();
private:
-
+
// devices/pointers
required_device<mn10200_device> m_soundcpu;
required_device<zsg2_device> m_zsg2;
-
+
// internal state
UINT16 m_reg_address;
UINT8 m_tms_ctrl;
diff --git a/src/mame/drivers/1942.c b/src/mame/drivers/1942.c
index f6c9ef1bd52..97104b72950 100644
--- a/src/mame/drivers/1942.c
+++ b/src/mame/drivers/1942.c
@@ -72,73 +72,73 @@ correctly.
#include "includes/1942.h"
#define NLFILT(RA, R1, C1, R2) \
- NET_C(RA.1, V5) \
- NET_C(RA.2, R1.1) \
- NET_C(R1.2, GND) \
- NET_C(R1.1, C1.1) \
- NET_C(C1.2, R2.1)
+ NET_C(RA.1, V5) \
+ NET_C(RA.2, R1.1) \
+ NET_C(R1.2, GND) \
+ NET_C(R1.1, C1.1) \
+ NET_C(C1.2, R2.1)
static NETLIST_START(nl_1942)
- /* Standard stuff */
-
- SOLVER(Solver, 48000)
- ANALOG_INPUT(V5, 5)
-
- /* AY 8910 internal resistors */
-
- RES(R_AY1_1, 1000);
- RES(R_AY1_2, 1000);
- RES(R_AY1_3, 1000);
- RES(R_AY2_1, 1000);
- RES(R_AY2_2, 1000);
- RES(R_AY2_3, 1000);
-
- RES(R2, 220000)
- RES(R3, 220000)
- RES(R4, 220000)
- RES(R5, 220000)
- RES(R6, 220000)
- RES(R7, 220000)
-
- RES(R11, 10000)
- RES(R12, 10000)
- RES(R13, 10000)
- RES(R14, 10000)
- RES(R15, 10000)
- RES(R16, 10000)
-
- CAP(CC7, 10e-6)
- CAP(CC8, 10e-6)
- CAP(CC9, 10e-6)
- CAP(CC10, 10e-6)
- CAP(CC11, 10e-6)
- CAP(CC12, 10e-6)
-
- NLFILT(R_AY2_3, R13, CC7, R2)
- NLFILT(R_AY2_2, R15, CC8, R3)
- NLFILT(R_AY2_1, R11, CC9, R4)
-
- NLFILT(R_AY1_3, R12, CC10, R5)
- NLFILT(R_AY1_2, R14, CC11, R6)
- NLFILT(R_AY1_1, R16, CC12, R7)
-
- POT(VR, 2000)
- NET_C(VR.3, GND)
-
- NET_C(R2.2, VR.1)
- NET_C(R3.2, VR.1)
- NET_C(R4.2, VR.1)
- NET_C(R5.2, VR.1)
- NET_C(R6.2, VR.1)
- NET_C(R7.2, VR.1)
-
- CAP(CC6, 10e-6)
- RES(R1, 100000)
-
- NET_C(CC6.1, VR.2)
- NET_C(CC6.2, R1.1)
- NET_C(R1.2, GND)
+ /* Standard stuff */
+
+ SOLVER(Solver, 48000)
+ ANALOG_INPUT(V5, 5)
+
+ /* AY 8910 internal resistors */
+
+ RES(R_AY1_1, 1000);
+ RES(R_AY1_2, 1000);
+ RES(R_AY1_3, 1000);
+ RES(R_AY2_1, 1000);
+ RES(R_AY2_2, 1000);
+ RES(R_AY2_3, 1000);
+
+ RES(R2, 220000)
+ RES(R3, 220000)
+ RES(R4, 220000)
+ RES(R5, 220000)
+ RES(R6, 220000)
+ RES(R7, 220000)
+
+ RES(R11, 10000)
+ RES(R12, 10000)
+ RES(R13, 10000)
+ RES(R14, 10000)
+ RES(R15, 10000)
+ RES(R16, 10000)
+
+ CAP(CC7, 10e-6)
+ CAP(CC8, 10e-6)
+ CAP(CC9, 10e-6)
+ CAP(CC10, 10e-6)
+ CAP(CC11, 10e-6)
+ CAP(CC12, 10e-6)
+
+ NLFILT(R_AY2_3, R13, CC7, R2)
+ NLFILT(R_AY2_2, R15, CC8, R3)
+ NLFILT(R_AY2_1, R11, CC9, R4)
+
+ NLFILT(R_AY1_3, R12, CC10, R5)
+ NLFILT(R_AY1_2, R14, CC11, R6)
+ NLFILT(R_AY1_1, R16, CC12, R7)
+
+ POT(VR, 2000)
+ NET_C(VR.3, GND)
+
+ NET_C(R2.2, VR.1)
+ NET_C(R3.2, VR.1)
+ NET_C(R4.2, VR.1)
+ NET_C(R5.2, VR.1)
+ NET_C(R6.2, VR.1)
+ NET_C(R7.2, VR.1)
+
+ CAP(CC6, 10e-6)
+ RES(R1, 100000)
+
+ NET_C(CC6.1, VR.2)
+ NET_C(CC6.2, R1.1)
+ NET_C(R1.2, GND)
NETLIST_END()
@@ -519,12 +519,12 @@ void _1942_state::machine_reset()
static const ay8910_interface ay8910_config =
{
- AY8910_RESISTOR_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_NULL
+ AY8910_RESISTOR_OUTPUT,
+ AY8910_DEFAULT_LOADS,
+ DEVCB_NULL,
+ DEVCB_NULL,
+ DEVCB_NULL,
+ DEVCB_NULL
};
static MACHINE_CONFIG_START( 1942, _1942_state )
@@ -541,7 +541,7 @@ static MACHINE_CONFIG_START( 1942, _1942_state )
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", 1942)
-
+
MCFG_PALETTE_ADD("palette", 64*4+4*32*8+16*16)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(_1942_state, 1942)
@@ -557,32 +557,32 @@ static MACHINE_CONFIG_START( 1942, _1942_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("ay1", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
- MCFG_SOUND_CONFIG(ay8910_config)
- MCFG_SOUND_ROUTE_EX(0, "snd_nl", 1.0, 0)
- MCFG_SOUND_ROUTE_EX(1, "snd_nl", 1.0, 1)
- MCFG_SOUND_ROUTE_EX(2, "snd_nl", 1.0, 2)
- MCFG_SOUND_ADD("ay2", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
- MCFG_SOUND_CONFIG(ay8910_config)
- MCFG_SOUND_ROUTE_EX(0, "snd_nl", 1.0, 3)
- MCFG_SOUND_ROUTE_EX(1, "snd_nl", 1.0, 4)
- MCFG_SOUND_ROUTE_EX(2, "snd_nl", 1.0, 5)
-
- /* NETLIST configuration using internal AY8910 resistor values */
-
- MCFG_SOUND_ADD("snd_nl", NETLIST_SOUND, 48000)
- MCFG_NETLIST_SETUP(nl_1942)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 5.0)
-
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 0, "R_AY1_1.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 1, "R_AY1_2.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 2, "R_AY1_3.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 3, "R_AY2_1.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 4, "R_AY2_2.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 5, "R_AY2_3.R")
-
- MCFG_NETLIST_STREAM_OUTPUT("snd_nl", 0, "R1.1")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(100000.0, 0.0)
+ MCFG_SOUND_ADD("ay1", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE_EX(0, "snd_nl", 1.0, 0)
+ MCFG_SOUND_ROUTE_EX(1, "snd_nl", 1.0, 1)
+ MCFG_SOUND_ROUTE_EX(2, "snd_nl", 1.0, 2)
+ MCFG_SOUND_ADD("ay2", AY8910, AUDIO_CLOCK) /* 1.5 MHz */
+ MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_SOUND_ROUTE_EX(0, "snd_nl", 1.0, 3)
+ MCFG_SOUND_ROUTE_EX(1, "snd_nl", 1.0, 4)
+ MCFG_SOUND_ROUTE_EX(2, "snd_nl", 1.0, 5)
+
+ /* NETLIST configuration using internal AY8910 resistor values */
+
+ MCFG_SOUND_ADD("snd_nl", NETLIST_SOUND, 48000)
+ MCFG_NETLIST_SETUP(nl_1942)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 5.0)
+
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 0, "R_AY1_1.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 1, "R_AY1_2.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 2, "R_AY1_3.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 3, "R_AY2_1.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 4, "R_AY2_2.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 5, "R_AY2_3.R")
+
+ MCFG_NETLIST_STREAM_OUTPUT("snd_nl", 0, "R1.1")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(100000.0, 0.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/1945kiii.c b/src/mame/drivers/1945kiii.c
index fee80fe7653..c7952fd91b4 100644
--- a/src/mame/drivers/1945kiii.c
+++ b/src/mame/drivers/1945kiii.c
@@ -120,10 +120,10 @@ void k3_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
ypos = (source[0] & 0x00ff) >> 0;
tileno = (source2[0] & 0x7ffe) >> 1;
xpos |= (source2[0] & 0x0001) << 8;
- gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos, ypos, 0);
- gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos, ypos - 0x100, 0); // wrap
- gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos - 0x200, ypos, 0); // wrap
- gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos - 0x200, ypos - 0x100, 0); // wrap
+ gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos, ypos, 0);
+ gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos, ypos - 0x100, 0); // wrap
+ gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos - 0x200, ypos, 0); // wrap
+ gfx->transpen(bitmap,cliprect, tileno, 1, 0, 0, xpos - 0x200, ypos - 0x100, 0); // wrap
source++;
source2++;
diff --git a/src/mame/drivers/20pacgal.c b/src/mame/drivers/20pacgal.c
index e21b7974715..aef7026ce40 100644
--- a/src/mame/drivers/20pacgal.c
+++ b/src/mame/drivers/20pacgal.c
@@ -206,14 +206,14 @@ WRITE8_MEMBER(_20pacgal_state::sprite_lookup_w)
// likewise the sound table.. is it being uploaded in a different format at 0x0c000?
// we also need the palette data because there is only a single rom on this pcb?
static ADDRESS_MAP_START( 25pacman_map, AS_PROGRAM, 8, _25pacman_state )
-
+
AM_RANGE(0x04000, 0x047ff) AM_RAM AM_SHARE("video_ram")
AM_RANGE(0x04800, 0x05fff) AM_RAM
AM_RANGE(0x06000, 0x06fff) AM_WRITEONLY AM_SHARE("char_gfx_ram")
AM_RANGE(0x07000, 0x0717f) AM_WRITE(sprite_ram_w)
-// AM_RANGE(0x08000, 0x09fff) AM_READ_BANK("bank1") AM_WRITE(ram_48000_w)
+// AM_RANGE(0x08000, 0x09fff) AM_READ_BANK("bank1") AM_WRITE(ram_48000_w)
AM_RANGE(0x08000, 0x09fff) AM_WRITENOP
AM_RANGE(0x0a000, 0x0bfff) AM_WRITE(sprite_gfx_w)
@@ -270,7 +270,7 @@ READ8_MEMBER( _25pacman_state::_25pacman_io_87_r )
AM_RANGE(0x85, 0x86) AM_WRITEONLY AM_SHARE("stars_seed") /* stars: rng seed (lo/hi) */
AM_RANGE(0x87, 0x87) AM_READ( _25pacman_io_87_r ) // not eeprom on this
AM_RANGE(0x87, 0x87) AM_WRITENOP
-// AM_RANGE(0x88, 0x88) AM_WRITE(ram_bank_select_w)
+// AM_RANGE(0x88, 0x88) AM_WRITE(ram_bank_select_w)
AM_RANGE(0x89, 0x89) AM_DEVWRITE("dac", dac_device, write_signed8)
AM_RANGE(0x8a, 0x8a) AM_WRITEONLY AM_SHARE("stars_ctrl") /* stars: bits 3-4 = active set; bit 5 = enable */
AM_RANGE(0x8b, 0x8b) AM_WRITEONLY AM_SHARE("flip")
diff --git a/src/mame/drivers/3x3puzzl.c b/src/mame/drivers/3x3puzzl.c
index ab3e0d7aa80..4410ba8a854 100644
--- a/src/mame/drivers/3x3puzzl.c
+++ b/src/mame/drivers/3x3puzzl.c
@@ -72,7 +72,7 @@ public:
required_device<okim6295_device> m_oki;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
-
+
// screen updates
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/drivers/4enlinea.c b/src/mame/drivers/4enlinea.c
index 94c543f7040..b6a3119eb22 100644
--- a/src/mame/drivers/4enlinea.c
+++ b/src/mame/drivers/4enlinea.c
@@ -188,7 +188,7 @@
#define SEC_CLOCK XTAL_8MHz
#define HCGA_CLOCK XTAL_14_31818MHz
-#define PRG_CPU_CLOCK MAIN_CLOCK /2 /* 8 MHz. (measured) */
+#define PRG_CPU_CLOCK MAIN_CLOCK /2 /* 8 MHz. (measured) */
#define SND_CPU_CLOCK SEC_CLOCK /2 /* 4 MHz. (measured) */
#define SND_AY_CLOCK SEC_CLOCK /4 /* 2 MHz. (measured) */
#define CRTC_CLOCK SEC_CLOCK /2 /* 8 MHz. (measured) */
@@ -321,9 +321,9 @@ void isa8_cga_4enlinea_device::device_start()
}
}
-// astring tempstring;
-// m_chr_gen_base = memregion(subtag(tempstring, "gfx1"))->base();
-// m_chr_gen = m_chr_gen_base + m_chr_gen_offset[1];
+// astring tempstring;
+// m_chr_gen_base = memregion(subtag(tempstring, "gfx1"))->base();
+// m_chr_gen = m_chr_gen_base + m_chr_gen_offset[1];
}
@@ -346,7 +346,7 @@ READ8_MEMBER(_4enlinea_state::serial_r)
static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, _4enlinea_state )
AM_RANGE(0x0000, 0x7fff) AM_ROM
-// AM_RANGE(0x8000, 0xbfff) AM_RAM // CGA VRAM
+// AM_RANGE(0x8000, 0xbfff) AM_RAM // CGA VRAM
AM_RANGE(0xc000, 0xdfff) AM_RAM
AM_RANGE(0xe000, 0xe001) AM_READ(serial_r)
@@ -355,7 +355,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( main_portmap, AS_IO, 8, _4enlinea_state )
ADDRESS_MAP_GLOBAL_MASK(0x3ff)
-// AM_RANGE(0x3d4, 0x3df) CGA regs
+// AM_RANGE(0x3d4, 0x3df) CGA regs
AM_RANGE(0x3bf, 0x3bf) AM_WRITENOP // CGA mode control, TODO
ADDRESS_MAP_END
@@ -455,12 +455,10 @@ INPUT_PORTS_END
void _4enlinea_state::machine_start()
{
-
}
void _4enlinea_state::machine_reset()
{
-
}
@@ -535,7 +533,7 @@ static MACHINE_CONFIG_START( 4enlinea, _4enlinea_state )
MCFG_CPU_PROGRAM_MAP(main_map)
MCFG_CPU_IO_MAP(main_portmap)
MCFG_CPU_PERIODIC_INT_DRIVER(_4enlinea_state, _4enlinea_irq, 60) //TODO
-// MCFG_CPU_PERIODIC_INT_DRIVER(_4enlinea_state, irq0_line_hold, 4*35)
+// MCFG_CPU_PERIODIC_INT_DRIVER(_4enlinea_state, irq0_line_hold, 4*35)
MCFG_CPU_ADD("audiocpu", Z80, SND_CPU_CLOCK)
MCFG_CPU_PROGRAM_MAP(audio_map)
@@ -550,8 +548,8 @@ static MACHINE_CONFIG_START( 4enlinea, _4enlinea_state )
CRTC_CLOCK is 8MHz, entering for pin 1 of UM487F. This clock is used
only for UM6845R embedded mode. The frequency divisor is unknown.
- CRTC_CLOCK / 4.0 = 66.961296 Hz.
- CRTC_CLOCK / 4.5 = 59.521093 Hz.
+ CRTC_CLOCK / 4.0 = 66.961296 Hz.
+ CRTC_CLOCK / 4.5 = 59.521093 Hz.
CRTC_CLOCK / 5.0 = 53.569037 Hz.
*/
diff --git a/src/mame/drivers/5clown.c b/src/mame/drivers/5clown.c
index b5a32fd8633..8e013209269 100644
--- a/src/mame/drivers/5clown.c
+++ b/src/mame/drivers/5clown.c
@@ -462,7 +462,7 @@ public:
m_audiocpu(*this, "audiocpu"),
m_ay8910(*this, "ay8910"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
diff --git a/src/mame/drivers/88games.c b/src/mame/drivers/88games.c
index 2354e4b3ff9..5c5bb8641a1 100644
--- a/src/mame/drivers/88games.c
+++ b/src/mame/drivers/88games.c
@@ -372,13 +372,13 @@ static MACHINE_CONFIG_START( 88games, _88games_state )
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K052109_ADD("k052109", _88games_k052109_intf)
MCFG_K052109_GFXDECODE("gfxdecode")
- MCFG_K052109_PALETTE("palette")
+ MCFG_K052109_PALETTE("palette")
MCFG_K051960_ADD("k051960", _88games_k051960_intf)
MCFG_K051960_GFXDECODE("gfxdecode")
- MCFG_K051960_PALETTE("palette")
+ MCFG_K051960_PALETTE("palette")
MCFG_K051316_ADD("k051316", _88games_k051316_intf)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
diff --git a/src/mame/drivers/a1supply.c b/src/mame/drivers/a1supply.c
index fda864e2411..809ff5090b1 100644
--- a/src/mame/drivers/a1supply.c
+++ b/src/mame/drivers/a1supply.c
@@ -1,12 +1,12 @@
/***************************************************************************
-
+
A-1 Supply discrete hardware games
-
+
TV 21 (197?)
TV 21 III (197?)
TV Poker (197?)
- These actually seem to use Intel 4040 as a CPU + a lot of discrete circuitry...
+ These actually seem to use Intel 4040 as a CPU + a lot of discrete circuitry...
to be checked!
***************************************************************************/
@@ -48,38 +48,38 @@ class a1supply_state : public driver_device
public:
a1supply_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(a1supply)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -109,9 +109,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/acefruit.c b/src/mame/drivers/acefruit.c
index 669d1260996..b259484c66f 100644
--- a/src/mame/drivers/acefruit.c
+++ b/src/mame/drivers/acefruit.c
@@ -34,7 +34,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
emu_timer *m_refresh_timer;
DECLARE_WRITE8_MEMBER(acefruit_colorram_w);
DECLARE_WRITE8_MEMBER(acefruit_coin_w);
diff --git a/src/mame/drivers/aerofgt.c b/src/mame/drivers/aerofgt.c
index df4f65d5889..37f151a92f0 100644
--- a/src/mame/drivers/aerofgt.c
+++ b/src/mame/drivers/aerofgt.c
@@ -1489,7 +1489,7 @@ static MACHINE_CONFIG_START( karatblz, aerofgt_state )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(2)
MCFG_VSYSTEM_SPR2_GFXDECODE("gfxdecode")
MCFG_VSYSTEM_SPR2_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("vsystem_spr_ol2", VSYSTEM_SPR2, 0)
MCFG_VSYSTEM_SPR2_SET_TILE_INDIRECT( aerofgt_state, aerofgt_ol2_tile_callback )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(3)
@@ -1542,7 +1542,7 @@ static MACHINE_CONFIG_START( spinlbrk, aerofgt_state )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(2)
MCFG_VSYSTEM_SPR2_GFXDECODE("gfxdecode")
MCFG_VSYSTEM_SPR2_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("vsystem_spr_ol2", VSYSTEM_SPR2, 0)
MCFG_VSYSTEM_SPR2_SET_TILE_INDIRECT( aerofgt_state, aerofgt_ol2_tile_callback ) // rom lookup
MCFG_VSYSTEM_SPR2_SET_PRITYPE(1)
@@ -1596,7 +1596,7 @@ static MACHINE_CONFIG_START( turbofrc, aerofgt_state )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(2)
MCFG_VSYSTEM_SPR2_GFXDECODE("gfxdecode")
MCFG_VSYSTEM_SPR2_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("vsystem_spr_ol2", VSYSTEM_SPR2, 0)
MCFG_VSYSTEM_SPR2_SET_TILE_INDIRECT( aerofgt_state, aerofgt_ol2_tile_callback )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(3)
@@ -1650,8 +1650,8 @@ static MACHINE_CONFIG_START( aerofgtb, aerofgt_state )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(2)
MCFG_VSYSTEM_SPR2_GFXDECODE("gfxdecode")
MCFG_VSYSTEM_SPR2_PALETTE("palette")
-
- MCFG_DEVICE_ADD("vsystem_spr_ol2", VSYSTEM_SPR2, 0)
+
+ MCFG_DEVICE_ADD("vsystem_spr_ol2", VSYSTEM_SPR2, 0)
MCFG_VSYSTEM_SPR2_SET_TILE_INDIRECT( aerofgt_state, aerofgt_ol2_tile_callback )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(3)
MCFG_VSYSTEM_SPR2_GFXDECODE("gfxdecode")
@@ -1806,7 +1806,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_DRIVER(aerofgt_state, screen_update_wbbc97)
+ MCFG_SCREEN_UPDATE_DRIVER(aerofgt_state, screen_update_wbbc97)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", wbbc97)
MCFG_PALETTE_ADD("palette", 2048)
diff --git a/src/mame/drivers/albazc.c b/src/mame/drivers/albazc.c
index d0b1287360d..5d677127bd8 100644
--- a/src/mame/drivers/albazc.c
+++ b/src/mame/drivers/albazc.c
@@ -288,7 +288,7 @@ static MACHINE_CONFIG_START( hanaroku, albazc_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", hanaroku)
-
+
MCFG_PALETTE_ADD("palette", 0x200)
MCFG_PALETTE_INIT_OWNER(albazc_state, albazc)
diff --git a/src/mame/drivers/aleisttl.c b/src/mame/drivers/aleisttl.c
index c8753300936..976ce76fae6 100644
--- a/src/mame/drivers/aleisttl.c
+++ b/src/mame/drivers/aleisttl.c
@@ -1,7 +1,7 @@
/***************************************************************************
-
+
Allied Leisure discrete hardware games
-
+
Hesitation (1974) AL-6500?
Paddle Battle (1973)
Robot (1975) AL-7500
@@ -10,7 +10,7 @@
Super Soccer (1973)
Tennis Tourney (1973)
Zap (1974) AL-6500
-
+
***************************************************************************/
@@ -50,38 +50,38 @@ class sburners_state : public driver_device
public:
sburners_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(sburners)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -111,9 +111,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/amusco.c b/src/mame/drivers/amusco.c
index e226f9e9d8e..ce14c156431 100644
--- a/src/mame/drivers/amusco.c
+++ b/src/mame/drivers/amusco.c
@@ -24,14 +24,14 @@
1x MOS 6845 (U27) CRT Controller.
2x P8255 Programmable Peripheral Interface (I/O).
- 2x SRM2264 8k X 8 CMOS Static RAM.
+ 2x SRM2264 8k X 8 CMOS Static RAM.
- 1x 27128 (U35) ROM. Handwritten sticker: Char A U35.
- 1x 27128 (U36) ROM. Handwritten sticker: Char B U36.
- 1x 27128 (U37) ROM. Handwritten sticker: Char C U37.
- 1x 27256 (U42) ROM. Handwritten sticker: PK V1.4 U42.
+ 1x 27128 (U35) ROM. Handwritten sticker: Char A U35.
+ 1x 27128 (U36) ROM. Handwritten sticker: Char B U36.
+ 1x 27128 (U37) ROM. Handwritten sticker: Char C U37.
+ 1x 27256 (U42) ROM. Handwritten sticker: PK V1.4 U42.
- 1x TI SN76489 Digital Complex Sound Generator (DCSG).
+ 1x TI SN76489 Digital Complex Sound Generator (DCSG).
3x MMI PAL16L8ACN (U47, U48, U50)
1x MMI PAL16R4 (U49) <-- couldn't get a consistent read
@@ -62,12 +62,12 @@
*******************************************************************************/
-#define MASTER_CLOCK XTAL_22_1184MHz /* confirmed */
-#define SECOND_CLOCK XTAL_15MHz /* confirmed */
+#define MASTER_CLOCK XTAL_22_1184MHz /* confirmed */
+#define SECOND_CLOCK XTAL_15MHz /* confirmed */
-#define CPU_CLOCK MASTER_CLOCK / 4 /* guess */
-#define CRTC_CLOCK SECOND_CLOCK / 8 /* guess */
-#define SND_CLOCK SECOND_CLOCK / 8 /* guess */
+#define CPU_CLOCK MASTER_CLOCK / 4 /* guess */
+#define CRTC_CLOCK SECOND_CLOCK / 8 /* guess */
+#define SND_CLOCK SECOND_CLOCK / 8 /* guess */
#include "emu.h"
@@ -120,7 +120,6 @@ public:
WRITE16_MEMBER(amusco_state::amusco_videoram_w)
{
-
}
PALETTE_INIT_MEMBER(amusco_state, amusco_palette_init)
@@ -180,7 +179,7 @@ PALETTE_INIT_MEMBER(amusco_state, amusco)
static ADDRESS_MAP_START( amusco_mem_map, AS_PROGRAM, 16, amusco_state )
AM_RANGE(0x00000, 0x0ffff) AM_RAM
- AM_RANGE(0xec000, 0xecfff) AM_RAM AM_SHARE("videoram") // placeholder
+ AM_RANGE(0xec000, 0xecfff) AM_RAM AM_SHARE("videoram") // placeholder
AM_RANGE(0xf8000, 0xfffff) AM_ROM
ADDRESS_MAP_END
@@ -213,19 +212,19 @@ WRITE16_MEMBER( amusco_state::vram_w)
{
m_videoram[m_video_update_address] = data;
m_bg_tilemap->mark_tile_dirty(m_video_update_address);
-// printf("%04x %04x\n",m_video_update_address,data);
+// printf("%04x %04x\n",m_video_update_address,data);
}
static ADDRESS_MAP_START( amusco_io_map, AS_IO, 16, amusco_state )
AM_RANGE(0x0000, 0x0001) AM_READWRITE8(mc6845_r, mc6845_w, 0xffff)
-// AM_RANGE(0x0000, 0x0001) AM_DEVREADWRITE8("crtc", mc6845_device, status_r, address_w, 0x00ff)
-// AM_RANGE(0x0000, 0x0001) AM_DEVREADWRITE8("crtc", mc6845_device, register_r, register_w, 0xff00)
+// AM_RANGE(0x0000, 0x0001) AM_DEVREADWRITE8("crtc", mc6845_device, status_r, address_w, 0x00ff)
+// AM_RANGE(0x0000, 0x0001) AM_DEVREADWRITE8("crtc", mc6845_device, register_r, register_w, 0xff00)
AM_RANGE(0x0010, 0x0011) AM_DEVREADWRITE8("pic8259", pic8259_device, read, write, 0xffff ) //PPI 8255
- AM_RANGE(0x0060, 0x0061) AM_DEVWRITE8("sn", sn76489_device, write, 0x00ff) /* sound */
+ AM_RANGE(0x0060, 0x0061) AM_DEVWRITE8("sn", sn76489_device, write, 0x00ff) /* sound */
AM_RANGE(0x0070, 0x0071) AM_WRITE(vram_w)
-// AM_RANGE(0x0010, 0x0011) AM_READ_PORT("IN1")
-// AM_RANGE(0x0012, 0x0013) AM_READ_PORT("IN3")
+// AM_RANGE(0x0010, 0x0011) AM_READ_PORT("IN1")
+// AM_RANGE(0x0012, 0x0013) AM_READ_PORT("IN3")
AM_RANGE(0x0030, 0x0031) AM_READ_PORT("DSW1") AM_WRITENOP // lamps?
AM_RANGE(0x0040, 0x0041) AM_READ_PORT("DSW2")
ADDRESS_MAP_END
@@ -485,8 +484,8 @@ GFXDECODE_END
MC6845_ON_UPDATE_ADDR_CHANGED(crtc_addr)
{
-// amusco_state *state = device->machine().driver_data<amusco_state>();
-// state->m_video_update_address = address;
+// amusco_state *state = device->machine().driver_data<amusco_state>();
+// state->m_video_update_address = address;
}
static MC6845_INTERFACE( mc6845_intf )
@@ -537,8 +536,8 @@ static MACHINE_CONFIG_START( amusco, amusco_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MCFG_SCREEN_SIZE(88*8, 27*10) // screen size: 88*8 27*10
- MCFG_SCREEN_VISIBLE_AREA(0*8, 74*8-1, 0*10, 24*10-1) // visible scr: 74*8 24*10
+ MCFG_SCREEN_SIZE(88*8, 27*10) // screen size: 88*8 27*10
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 74*8-1, 0*10, 24*10-1) // visible scr: 74*8 24*10
MCFG_SCREEN_UPDATE_DRIVER(amusco_state, screen_update_amusco)
MCFG_SCREEN_PALETTE("palette")
@@ -568,9 +567,9 @@ ROM_START( amusco )
ROM_LOAD( "char_a_u35.u35", 0x0000, 0x4000, CRC(ded67ef6) SHA1(da7326c190211e956e5a5f763d5045615bb8ffb3) )
ROM_LOAD( "char_b_u36.u36", 0x4000, 0x4000, CRC(55523513) SHA1(97fd221c298698628d4f6564389d96eb89e55927) )
ROM_LOAD( "char_c_u37.u37", 0x8000, 0x4000, CRC(d26f3b94) SHA1(e58af4f6f1a9091c23827997d03b91f02bb07856) )
-// ROM_LOAD( "char_a_u35.u35", 0x8000, 0x4000, CRC(ded67ef6) SHA1(da7326c190211e956e5a5f763d5045615bb8ffb3) )
-// ROM_LOAD( "char_b_u36.u36", 0x4000, 0x4000, CRC(55523513) SHA1(97fd221c298698628d4f6564389d96eb89e55927) )
-// ROM_LOAD( "char_c_u37.u37", 0x0000, 0x4000, CRC(d26f3b94) SHA1(e58af4f6f1a9091c23827997d03b91f02bb07856) )
+// ROM_LOAD( "char_a_u35.u35", 0x8000, 0x4000, CRC(ded67ef6) SHA1(da7326c190211e956e5a5f763d5045615bb8ffb3) )
+// ROM_LOAD( "char_b_u36.u36", 0x4000, 0x4000, CRC(55523513) SHA1(97fd221c298698628d4f6564389d96eb89e55927) )
+// ROM_LOAD( "char_c_u37.u37", 0x0000, 0x4000, CRC(d26f3b94) SHA1(e58af4f6f1a9091c23827997d03b91f02bb07856) )
ROM_REGION( 0x0800, "plds", 0 )
ROM_LOAD( "pal16l8a.u47", 0x0000, 0x0104, CRC(554b4286) SHA1(26bc991f2cc58644cd2d9ce5c1867a94455b95a8) )
diff --git a/src/mame/drivers/arcadia.c b/src/mame/drivers/arcadia.c
index 2317b0c312c..381aa09d2d3 100644
--- a/src/mame/drivers/arcadia.c
+++ b/src/mame/drivers/arcadia.c
@@ -18,10 +18,10 @@
World Darts
Xenon
World Trophy Soccer
- Delta Command (N.Y Warriors)
- Blastaball
- Aaargh
- Pharaohs Match
+ Delta Command (N.Y Warriors)
+ Blastaball
+ Aaargh
+ Pharaohs Match
Other Arcadia games (not dumped):
@@ -218,7 +218,7 @@ static ADDRESS_MAP_START( amiga_map, AS_PROGRAM, 16, arcadia_amiga_state )
AM_RANGE(0xc00000, 0xdfffff) AM_READWRITE(amiga_custom_r, amiga_custom_w) AM_SHARE("custom_regs")
AM_RANGE(0xe80000, 0xe8ffff) AM_READWRITE(amiga_autoconfig_r, amiga_autoconfig_w)
AM_RANGE(0xf80000, 0xffffff) AM_ROM AM_REGION("user1", 0) /* Kickstart BIOS */
-
+
AM_RANGE(0x800000, 0x97ffff) AM_ROMBANK("bank2") AM_REGION("user3", 0)
AM_RANGE(0x980000, 0x9fbfff) AM_ROM AM_REGION("user2", 0)
AM_RANGE(0x9fc000, 0x9ffffd) AM_RAM AM_SHARE("nvram")
@@ -235,7 +235,7 @@ static ADDRESS_MAP_START( argh_map, AS_PROGRAM, 16, arcadia_amiga_state )
AM_RANGE(0xf80000, 0xffffff) AM_ROM AM_REGION("user1", 0) /* Kickstart BIOS */
AM_RANGE(0x800000, 0x97ffff) AM_ROMBANK("bank2") AM_REGION("user3", 0)
-// AM_RANGE(0x980000, 0x9fefff) AM_ROM AM_REGION("user3", 0)
+// AM_RANGE(0x980000, 0x9fefff) AM_ROM AM_REGION("user3", 0)
AM_RANGE(0x9ff000, 0x9fffff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0xf00000, 0xf7ffff) AM_ROM AM_REGION("user3", 0)
ADDRESS_MAP_END
@@ -915,7 +915,7 @@ void arcadia_amiga_state::generic_decode(const char *tag, int bit7, int bit6, in
#if 0
{
UINT8 *ROM = memregion(tag)->base();
- // int size = memregion(tag)->bytes();
+ // int size = memregion(tag)->bytes();
FILE *fp;
char filename[256];
@@ -962,7 +962,7 @@ void arcadia_amiga_state::arcadia_init()
/* OnePlay bios is encrypted, TenPlay is not */
biosrom = (UINT16 *)memregion("user2")->base();
-
+
if (biosrom)
if (biosrom[0] != 0x4afc)
generic_decode("user2", 6, 1, 0, 2, 3, 4, 5, 7);
diff --git a/src/mame/drivers/aristmk4.c b/src/mame/drivers/aristmk4.c
index ff4ee3ee9f7..8af2d7a0d8f 100644
--- a/src/mame/drivers/aristmk4.c
+++ b/src/mame/drivers/aristmk4.c
@@ -17,7 +17,7 @@
* Press PB4, PB5 and PB6 keys simultaneously (Z+X+C keys by default)
* A value (displayed below) will appear next to RF/AMT on the right of the screen
* Key out both the Jackpot and Audit Keys
-
+
This method works with the following games:
3bagflnz 200
@@ -68,7 +68,7 @@
eforest
fhunter
fhuntera
-
+
Technical Notes:
68B09EP Motorola Processor
@@ -303,11 +303,11 @@ public:
required_device<ay8910_device> m_ay1;
required_device<ay8910_device> m_ay2;
required_device<samples_device> m_samples;
-
+
required_shared_ptr<UINT8> m_mkiv_vram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
int m_rtc_address_strobe;
int m_rtc_data_strobe;
UINT8 *m_shapeRomPtr;
@@ -2381,25 +2381,25 @@ ROM_END
ROM_START( gunnrose ) // MK2.5
ROM_REGION(0x10000, "maincpu", 0 )
/* VIDEO AND SOUND EPROM */
- ROM_LOAD("gnr.u7", 0x06000, 0x2000, CRC(fe7d0ea4) SHA1(3F3F4809534065C33ECA2CFFF0D1D2A3E3992406)) // 1VL/SH136 RED AND BLACK
+ ROM_LOAD("gnr.u7", 0x06000, 0x2000, CRC(fe7d0ea4) SHA1(3F3F4809534065C33ECA2CFFF0D1D2A3E3992406)) // 1VL/SH136 RED AND BLACK
/* GAME EPROMS */
- ROM_LOAD("gnr.u9", 0x08000, 0x8000, CRC(4fb5f757) SHA1(A4129BCA7E573FAAC0D11DE41A9BF8EA144091EE)) // E/C606191SMP
+ ROM_LOAD("gnr.u9", 0x08000, 0x8000, CRC(4fb5f757) SHA1(A4129BCA7E573FAAC0D11DE41A9BF8EA144091EE)) // E/C606191SMP
/* SHAPE EPROMS */
ROM_REGION(0xc000, "tile_gfx", 0 )
- ROM_LOAD("gnr.u8", 0x00000, 0x2000, CRC(dec9e695) SHA1(A596C4243D6D39E0611FF714E19E14188C90B6F1)) // 1VL/SH136 RED AND BLACK
- ROM_LOAD("gnr.u10", 0x02000, 0x2000, CRC(e83b8e79) SHA1(595F41A5F59F938581A57B445370AA716C6B1409)) // 1VL/SH136 RED AND BLACK
- ROM_LOAD("gnr.u12", 0x04000, 0x2000, CRC(9134d029) SHA1(D698FB91D8F5FA78FFD056149421008D3F12C456)) // 1VL/SH136 RED AND BLACK
- ROM_LOAD("gnr.u9t", 0x06000, 0x2000, CRC(73a0c2cd) SHA1(662056D570EAA069483D378B77EFCFB42EFF6D0D)) // E/C606191SMP
- ROM_LOAD("gnr.u11", 0x08000, 0x2000, CRC(c50adffe) SHA1(A7C4A3CDD4D5D31A1420E47859408CAA75CE2636)) // 1VL/SH136 RED AND BLACK
- ROM_LOAD("gnr.u13", 0x0a000, 0x2000, CRC(e0a6bfc5) SHA1(07E4C8191503F0EA2DE4F7CE18FE6290D20EF80E)) // 1VL/SH136 RED AND BLACK
+ ROM_LOAD("gnr.u8", 0x00000, 0x2000, CRC(dec9e695) SHA1(A596C4243D6D39E0611FF714E19E14188C90B6F1)) // 1VL/SH136 RED AND BLACK
+ ROM_LOAD("gnr.u10", 0x02000, 0x2000, CRC(e83b8e79) SHA1(595F41A5F59F938581A57B445370AA716C6B1409)) // 1VL/SH136 RED AND BLACK
+ ROM_LOAD("gnr.u12", 0x04000, 0x2000, CRC(9134d029) SHA1(D698FB91D8F5FA78FFD056149421008D3F12C456)) // 1VL/SH136 RED AND BLACK
+ ROM_LOAD("gnr.u9t", 0x06000, 0x2000, CRC(73a0c2cd) SHA1(662056D570EAA069483D378B77EFCFB42EFF6D0D)) // E/C606191SMP
+ ROM_LOAD("gnr.u11", 0x08000, 0x2000, CRC(c50adffe) SHA1(A7C4A3CDD4D5D31A1420E47859408CAA75CE2636)) // 1VL/SH136 RED AND BLACK
+ ROM_LOAD("gnr.u13", 0x0a000, 0x2000, CRC(e0a6bfc5) SHA1(07E4C8191503F0EA2DE4F7CE18FE6290D20EF80E)) // 1VL/SH136 RED AND BLACK
/* COLOR PROM */
ROM_REGION(0x200, "proms", 0 ) /* are either of these correct? They are taken from different games */
//ROM_LOAD("2cm07.u71", 0x0000, 0x0200, CRC(1e3f402a) SHA1(f38da1ad6607df38add10c69febf7f5f8cd21744)) // Using 2CM07 until a correct PROM is confirmed
ROM_LOAD("1cm48.u71", 0x0000, 0x0200, BAD_DUMP CRC(81daeeb0) SHA1(7dfe198c6def5c4ae4ecac488d65c2911fb3a890))
-
+
ROM_END
GAMEL( 1985, 86lions, 0, 86lions, aristmk4, aristmk4_state, aristmk4, ROT0, "Aristocrat", "86 Lions", GAME_NOT_WORKING, layout_topgear )
diff --git a/src/mame/drivers/asteroid.c b/src/mame/drivers/asteroid.c
index 88e3aee1a1c..e9b47e10a0f 100644
--- a/src/mame/drivers/asteroid.c
+++ b/src/mame/drivers/asteroid.c
@@ -645,7 +645,7 @@ static MACHINE_CONFIG_START( asteroid, asteroid_state )
MCFG_DEVICE_ADD("dvg", DVG, 0)
MCFG_AVGDVG_VECTOR("vector")
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
diff --git a/src/mame/drivers/astinvad.c b/src/mame/drivers/astinvad.c
index 1f36053f7ad..0240a488745 100644
--- a/src/mame/drivers/astinvad.c
+++ b/src/mame/drivers/astinvad.c
@@ -74,7 +74,7 @@ public:
required_device<samples_device> m_samples;
required_device<screen_device> m_screen;
-
+
DECLARE_WRITE8_MEMBER(color_latch_w);
DECLARE_WRITE8_MEMBER(spaceint_videoram_w);
DECLARE_READ8_MEMBER(kamikaze_ppi_r);
diff --git a/src/mame/drivers/astrof.c b/src/mame/drivers/astrof.c
index 5ad68a9e6cd..2390a1c7ae7 100644
--- a/src/mame/drivers/astrof.c
+++ b/src/mame/drivers/astrof.c
@@ -1311,7 +1311,6 @@ DRIVER_INIT_MEMBER(astrof_state,sstarbtl)
DRIVER_INIT_MEMBER(astrof_state,acombat3)
{
-
/* set up protection handlers */
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0xa003, 0xa003, read8_delegate(FUNC(astrof_state::shoot_r),this));
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0xa004, 0xa004, read8_delegate(FUNC(astrof_state::abattle_coin_prot_r),this));
diff --git a/src/mame/drivers/asuka.c b/src/mame/drivers/asuka.c
index 000f906e25f..742a006c494 100644
--- a/src/mame/drivers/asuka.c
+++ b/src/mame/drivers/asuka.c
@@ -888,7 +888,7 @@ static MACHINE_CONFIG_START( bonzeadv, asuka_state )
MCFG_TC0100SCN_PALETTE("palette")
MCFG_TC0110PCR_ADD("tc0110pcr")
MCFG_TC0110PCR_PALETTE("palette")
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -920,7 +920,7 @@ static MACHINE_CONFIG_START( asuka, asuka_state )
MCFG_TC0220IOC_READ_2_CB(IOPORT("IN0"))
MCFG_TC0220IOC_READ_3_CB(IOPORT("IN1"))
MCFG_TC0220IOC_READ_7_CB(IOPORT("IN2"))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/atarigx2.c b/src/mame/drivers/atarigx2.c
index b98d83a91d9..de9aa82ab14 100644
--- a/src/mame/drivers/atarigx2.c
+++ b/src/mame/drivers/atarigx2.c
@@ -168,41 +168,41 @@ this should be generalized to cover other regions of the table, and the scarcity
in those regions precludes applying the same kind of analysis.
int parameters3[16][2] = {
- {0x003a, 0x0032},
- {0x0076, 0x0064},
- {0x00ee, 0x00c8},
- {0x01dc, 0x0190},
- {0x01b0, 0x012A},
- {0x0168, 0x005C},
- {0x00d8, 0x00b8},
- {0x01b0, 0x0172},
- {0x016a, 0x00ee},
- {0x00de, 0x01de},
- {0x01be, 0x01b6},
- {0x0174, 0x0164},
- {0x00e2, 0x00c0},
- {0x01c6, 0x0180},
- {0x0186, 0x010a},
- {0x0104, 0x001c}
+ {0x003a, 0x0032},
+ {0x0076, 0x0064},
+ {0x00ee, 0x00c8},
+ {0x01dc, 0x0190},
+ {0x01b0, 0x012A},
+ {0x0168, 0x005C},
+ {0x00d8, 0x00b8},
+ {0x01b0, 0x0172},
+ {0x016a, 0x00ee},
+ {0x00de, 0x01de},
+ {0x01be, 0x01b6},
+ {0x0174, 0x0164},
+ {0x00e2, 0x00c0},
+ {0x01c6, 0x0180},
+ {0x0186, 0x010a},
+ {0x0104, 0x001c}
};
// every output bit is a linear function on the input bits except by
// a quadratic term always involving bit #0 of the input
UINT32 ftest4(UINT32 num)
{
- UINT32 accum = 0;
-
- for (int i=0; i<16; ++i)
- {
- int b1 = weight(num&parameters3[i][0])&1; // <- linear function (parameters3[i][0] acts as a mask determining which bits are added)
- int b2 = weight(num&parameters3[i][1])&1; // <- idem
- b2 &= BIT(num, 0); // quadratic term
- int b3 = b1 ^ b2;
-
- accum ^= (b3 << i);
- }
-
- return accum;
+ UINT32 accum = 0;
+
+ for (int i=0; i<16; ++i)
+ {
+ int b1 = weight(num&parameters3[i][0])&1; // <- linear function (parameters3[i][0] acts as a mask determining which bits are added)
+ int b2 = weight(num&parameters3[i][1])&1; // <- idem
+ b2 &= BIT(num, 0); // quadratic term
+ int b3 = b1 ^ b2;
+
+ accum ^= (b3 << i);
+ }
+
+ return accum;
}
*********************/
diff --git a/src/mame/drivers/atarittl.c b/src/mame/drivers/atarittl.c
index e21cbdf5fc3..159f3a0bb1a 100644
--- a/src/mame/drivers/atarittl.c
+++ b/src/mame/drivers/atarittl.c
@@ -2,23 +2,23 @@
Atari / Kee Games Driver - Discrete Games made in the 1970's
-
+
Atari / Kee Games List and Data based, in part from:
-
+
- Andy's collection of Bronzeage Atari Video Arcade PCB's"
http://www.andysarcade.net/personal/bronzeage/index.htm
-
+
- "Atari's Technical Manual Log"
http://www.atarigames.com/manuals.txt
-
+
Suspected "same games" are grouped together. These are usually the exact same game but different cabinet/name.
-
-
+
+
Technical Manual #s Game Name(s) Atari Part #'s Data PROM/ROM Chip Numbers
-------------------+----------------------------------------------------+----------------------------------+---------+---------------------------------------
TM-025 Anti-Aircraft (1975) A000951 YES 003127
TM-058 Breakout/Breakout Cocktail (1976) A004533 NO
- TM-048 Crash 'N Score/Stock Car (1975) A004256 YES 003186(x2), 003187(x2), 004248, 004247
+ TM-048 Crash 'N Score/Stock Car (1975) A004256 YES 003186(x2), 003187(x2), 004248, 004247
TM-030 Crossfire (1975)
TM-003,005,011,020 Gran Trak 10/Trak 10/Formula K/Race Circuit (1974) A000872,A000872 K3RT YES 74186 Racetrack Prom (K5)
TM-004,021 Gran Trak 20/Trak 20/Twin Racer (1974) A001791(RT20),A001793(A20-K4DRTA) YES 74186 Racetrack prom (K5)
@@ -33,7 +33,7 @@
TM-040 Outlaw (1976) A003213 YES 003323 - ROM (8205 @ J4)
TM-007 Pin Pong (1974) A001660 NO
TM-013 Pong/Super Pong (1972) A001433,A000423 NO
- TM-015 Pong Cocktail (1974) NO
+ TM-015 Pong Cocktail (1974) NO
TM-014 Pong Doubles/Coupe Davis (1974) A000785 NO
TM-018 Pursuit (1975) K8P-B 90128 NO
TM-012,022,034 Quadrapong/Elimination (1974) A000845 NO
@@ -46,13 +46,13 @@
TM-057 Stunt Cycle (1976) A004128 YES 004275 ROM Motorcycle/Bus (1F), 004811 ROM Score Translator (D7)
TM-010,036,049 Tank/Tank Cocktail/Tank II (1974/1975) A003111 (K5T-F 90124) YES 90-2006
TM-002 Touch Me (1974) NO
-
+
- Not Known to be released or produced, but at least announced.
-
+
TM-024 Qwakers (Not Produced/Released)
TM-017 World Cup Football (Not Produced/Released)
-
-
+
+
***************************************************************************/
@@ -94,39 +94,39 @@ class atarikee_state : public driver_device
public:
atarikee_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(atarikee)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, atarikee_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, atarikee_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -147,7 +147,7 @@ void atarikee_state::video_start()
static MACHINE_CONFIG_START( atarikee, atarikee_state )
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
+ MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
MCFG_NETLIST_SETUP(atarikee)
/* video hardware */
@@ -309,15 +309,15 @@ ROM_START( tank )
ROM_END
-/* // NO DUMPED ROMS
+/* // NO DUMPED ROMS
// Astroturf
ROM_START( astrotrf )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
-
- ROM_REGION( 0x0400, "gfx", ROMREGION_ERASE00 ) // Region Size unknown, dump size unknown
- ROM_LOAD( "003774.c8", 0x0000, 0x0100, NO_DUMP ) // Bugle
- ROM_LOAD( "003773-02.c4", 0x0100, 0x0100, NO_DUMP ) // Graphics (Astroturf - Rev.A)
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+
+ ROM_REGION( 0x0400, "gfx", ROMREGION_ERASE00 ) // Region Size unknown, dump size unknown
+ ROM_LOAD( "003774.c8", 0x0000, 0x0100, NO_DUMP ) // Bugle
+ ROM_LOAD( "003773-02.c4", 0x0100, 0x0100, NO_DUMP ) // Graphics (Astroturf - Rev.A)
ROM_END
// Crossfire
@@ -327,91 +327,91 @@ ROM_END
// Gran Trak 10
ROM_START( gtrak10 ) // Unknown size, assumed 2K Bytes
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
-
- ROM_REGION( 0x0800, "racetrack", ROMREGION_ERASE00 )
- ROM_LOAD( "74168.k5", 0x0000, 0x0800, NO_DUMP) // Racetrack
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+
+ ROM_REGION( 0x0800, "racetrack", ROMREGION_ERASE00 )
+ ROM_LOAD( "74168.k5", 0x0000, 0x0800, NO_DUMP) // Racetrack
ROM_END
-
+
// Gran Trak 20
ROM_START( gtrak20 ) // Unknown size, assumed 2K Bytes
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
-
- ROM_REGION( 0x0800, "racetrack", ROMREGION_ERASE00 )
- ROM_LOAD( "74168.k5", 0x0000, 0x0800, NO_DUMP) // Racetrack
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+
+ ROM_REGION( 0x0800, "racetrack", ROMREGION_ERASE00 )
+ ROM_LOAD( "74168.k5", 0x0000, 0x0800, NO_DUMP) // Racetrack
ROM_END
// LeMans
ROM_START( lemans )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
-
- ROM_REGION( 0x0400, "gfx", ROMREGION_ERASE00 ) // Region Size unknown, dump size unknown
- ROM_LOAD( "005837-01.n5", 0x0000, 0x0100, NO_DUMP ) // Rom 1
- ROM_LOAD( "005838-01.n4", 0x0100, 0x0100, NO_DUMP ) // Rom 2
- ROM_LOAD( "005839-01.n6", 0x0200, 0x0100, NO_DUMP ) // Rom 3
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+
+ ROM_REGION( 0x0400, "gfx", ROMREGION_ERASE00 ) // Region Size unknown, dump size unknown
+ ROM_LOAD( "005837-01.n5", 0x0000, 0x0100, NO_DUMP ) // Rom 1
+ ROM_LOAD( "005838-01.n4", 0x0100, 0x0100, NO_DUMP ) // Rom 2
+ ROM_LOAD( "005839-01.n6", 0x0200, 0x0100, NO_DUMP ) // Rom 3
ROM_END
-
-// Qwak!
+
+// Qwak!
ROM_START( qwak )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
-
- ROM_REGION( 0x0200, "gfx", ROMREGION_ERASE00 ) // Region Size unknown, dump size unknown
- ROM_LOAD( "37-2530n.k9", 0x0000, 0x0200, NO_DUMP ) // Custom Rom (2530 N)
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+
+ ROM_REGION( 0x0200, "gfx", ROMREGION_ERASE00 ) // Region Size unknown, dump size unknown
+ ROM_LOAD( "37-2530n.k9", 0x0000, 0x0200, NO_DUMP ) // Custom Rom (2530 N)
ROM_END
-
+
*/
-/* // 100% TTL - NO ROMS
-
+/* // 100% TTL - NO ROMS
+
ROM_START( breakout )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( goal4 )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( gotcha )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( gotchac )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( highway )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( pinpong )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( pongdbl )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( pursuit )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( quadpong )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( rebound )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( spacrace )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
ROM_START( touchme )
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
-
+
*/
diff --git a/src/mame/drivers/atetris.c b/src/mame/drivers/atetris.c
index 30a88288135..ed8cc5159a7 100644
--- a/src/mame/drivers/atetris.c
+++ b/src/mame/drivers/atetris.c
@@ -335,7 +335,7 @@ static MACHINE_CONFIG_START( atetris, atetris_state )
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_FORMAT(RRRGGGBB)
-
+
MCFG_SCREEN_ADD("screen", RASTER)
/* note: these parameters are from published specs, not derived */
/* the board uses an SOS-2 chip to generate video signals */
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c
index 8629751d0f4..03ebcb3fe66 100644
--- a/src/mame/drivers/backfire.c
+++ b/src/mame/drivers/backfire.c
@@ -526,11 +526,11 @@ static MACHINE_CONFIG_START( backfire, backfire_state )
MCFG_SCREEN_PALETTE("palette")
- MCFG_DECO16IC_ADD("tilegen1", backfire_deco16ic_tilegen1_intf)
+ MCFG_DECO16IC_ADD("tilegen1", backfire_deco16ic_tilegen1_intf)
MCFG_DECO16IC_SET_SCREEN("lscreen")
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", backfire_deco16ic_tilegen2_intf)
MCFG_DECO16IC_SET_SCREEN("lscreen")
MCFG_DECO16IC_GFXDECODE("gfxdecode")
diff --git a/src/mame/drivers/bailey.c b/src/mame/drivers/bailey.c
index 952053b6cf2..37b2e53b712 100644
--- a/src/mame/drivers/bailey.c
+++ b/src/mame/drivers/bailey.c
@@ -1,9 +1,9 @@
/***************************************************************************
-
+
Bailey International discrete hardware games
-
+
Fun Four (1976)
-
+
***************************************************************************/
@@ -43,38 +43,38 @@ class bailey_state : public driver_device
public:
bailey_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(bailey)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -104,9 +104,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/battlnts.c b/src/mame/drivers/battlnts.c
index 2471e476371..82a9c377b86 100644
--- a/src/mame/drivers/battlnts.c
+++ b/src/mame/drivers/battlnts.c
@@ -253,7 +253,7 @@ static MACHINE_CONFIG_START( battlnts, battlnts_state )
MCFG_K007342_GFXNUM(0)
MCFG_K007342_CALLBACK_OWNER(battlnts_state, battlnts_tile_callback)
MCFG_K007342_GFXDECODE("gfxdecode")
-
+
MCFG_K007420_ADD("k007420")
MCFG_K007420_BANK_LIMIT(0x3ff)
MCFG_K007420_CALLBACK_OWNER(battlnts_state, battlnts_sprite_callback)
diff --git a/src/mame/drivers/beathead.c b/src/mame/drivers/beathead.c
index d2319b6cb40..2699a76973b 100644
--- a/src/mame/drivers/beathead.c
+++ b/src/mame/drivers/beathead.c
@@ -377,7 +377,7 @@ static MACHINE_CONFIG_START( beathead, beathead_state )
MCFG_SCREEN_SIZE(42*8, 262)
MCFG_SCREEN_VISIBLE_AREA(0*8, 42*8-1, 0*8, 30*8-1)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 32768)
/* sound hardware */
diff --git a/src/mame/drivers/big10.c b/src/mame/drivers/big10.c
index 0ba261cdaf7..a152b7dcfc6 100644
--- a/src/mame/drivers/big10.c
+++ b/src/mame/drivers/big10.c
@@ -159,12 +159,12 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( big10 )
PORT_START("SYSTEM")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_TOGGLE /* Service Mode */
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_TOGGLE /* Service Mode */
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_R) PORT_NAME("Reset")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_W) PORT_NAME("Payout")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // in test mode, go to the game whilst keep pressed.
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // in test mode, go to the game whilst keep pressed.
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // in test mode, go to the game whilst keep pressed.
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // in test mode, go to the game whilst keep pressed.
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)
diff --git a/src/mame/drivers/blackt96.c b/src/mame/drivers/blackt96.c
index d2a232904b8..6d1e8824792 100644
--- a/src/mame/drivers/blackt96.c
+++ b/src/mame/drivers/blackt96.c
@@ -329,7 +329,7 @@ static ADDRESS_MAP_START( blackt96_map, AS_PROGRAM, 16, blackt96_state )
AM_RANGE(0x207000, 0x207fff) AM_RAM_WRITE(bg_videoram7_w) AM_SHARE("spriteram7")
- AM_RANGE(0x400000, 0x400fff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
+ AM_RANGE(0x400000, 0x400fff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
AM_RANGE(0xc00000, 0xc03fff) AM_RAM // main ram
ADDRESS_MAP_END
diff --git a/src/mame/drivers/bladestl.c b/src/mame/drivers/bladestl.c
index a9f5ad84c77..997222c88f2 100644
--- a/src/mame/drivers/bladestl.c
+++ b/src/mame/drivers/bladestl.c
@@ -334,12 +334,12 @@ static MACHINE_CONFIG_START( bladestl, bladestl_state )
MCFG_K007342_GFXNUM(0)
MCFG_K007342_CALLBACK_OWNER(bladestl_state, bladestl_tile_callback)
MCFG_K007342_GFXDECODE("gfxdecode")
-
+
MCFG_K007420_ADD("k007420")
MCFG_K007420_BANK_LIMIT(0x3ff)
- MCFG_K007420_CALLBACK_OWNER(bladestl_state, bladestl_sprite_callback)
+ MCFG_K007420_CALLBACK_OWNER(bladestl_state, bladestl_sprite_callback)
MCFG_K007420_PALETTE("palette")
-
+
MCFG_K051733_ADD("k051733")
/* sound hardware */
diff --git a/src/mame/drivers/blmbycar.c b/src/mame/drivers/blmbycar.c
index 98bfb1b2600..0f33ea103e8 100644
--- a/src/mame/drivers/blmbycar.c
+++ b/src/mame/drivers/blmbycar.c
@@ -363,7 +363,7 @@ static MACHINE_CONFIG_START( blmbycar, blmbycar_state )
MCFG_SCREEN_VISIBLE_AREA(0, 0x180-1, 0, 0x100-1)
MCFG_SCREEN_UPDATE_DRIVER(blmbycar_state, screen_update_blmbycar)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", blmbycar)
MCFG_PALETTE_ADD("palette", 0x300)
diff --git a/src/mame/drivers/blockhl.c b/src/mame/drivers/blockhl.c
index a0f7c052eb0..fdec1f4d9fa 100644
--- a/src/mame/drivers/blockhl.c
+++ b/src/mame/drivers/blockhl.c
@@ -187,7 +187,7 @@ void blockhl_state::machine_start()
m_paletteram.resize(m_palette->entries() * 2);
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
save_item(NAME(m_paletteram));
save_item(NAME(m_palette_selected));
save_item(NAME(m_rombank));
diff --git a/src/mame/drivers/bloodbro.c b/src/mame/drivers/bloodbro.c
index ab826c5fd1f..1dd41ca3e63 100644
--- a/src/mame/drivers/bloodbro.c
+++ b/src/mame/drivers/bloodbro.c
@@ -472,7 +472,7 @@ static MACHINE_CONFIG_START( bloodbro, bloodbro_state )
MCFG_DEVICE_ADD("crtc", SEIBU_CRTC, 0)
MCFG_SEIBU_CRTC_LAYER_EN_CB(WRITE16(bloodbro_state, layer_en_w))
MCFG_SEIBU_CRTC_LAYER_SCROLL_CB(WRITE16(bloodbro_state, layer_scroll_w))
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", bloodbro)
MCFG_PALETTE_ADD("palette", 2048)
diff --git a/src/mame/drivers/blstroid.c b/src/mame/drivers/blstroid.c
index bd47378458e..f3931a93e5e 100644
--- a/src/mame/drivers/blstroid.c
+++ b/src/mame/drivers/blstroid.c
@@ -183,7 +183,7 @@ static MACHINE_CONFIG_START( blstroid, blstroid_state )
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", blstroid)
-
+
MCFG_PALETTE_ADD("palette", 512)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
diff --git a/src/mame/drivers/bmcbowl.c b/src/mame/drivers/bmcbowl.c
index 5bd7479990e..b6a1e0d74c5 100644
--- a/src/mame/drivers/bmcbowl.c
+++ b/src/mame/drivers/bmcbowl.c
@@ -326,7 +326,7 @@ static ADDRESS_MAP_START( bmcbowl_mem, AS_PROGRAM, 16, bmcbowl_state )
AM_RANGE(0x000000, 0x01ffff) AM_ROM
AM_RANGE(0x090000, 0x090001) AM_WRITE(bmc_RAMDAC_offset_w) AM_SHARE("colorram")
- AM_RANGE(0x090002, 0x090003) AM_WRITE(bmc_RAMDAC_color_w)
+ AM_RANGE(0x090002, 0x090003) AM_WRITE(bmc_RAMDAC_color_w)
AM_RANGE(0x090004, 0x090005) AM_WRITENOP//RAMDAC
AM_RANGE(0x090800, 0x090803) AM_WRITENOP
@@ -489,7 +489,7 @@ static MACHINE_CONFIG_START( bmcbowl, bmcbowl_state )
MCFG_NVRAM_ADD_1FILL("nvram")
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
+
MCFG_SOUND_ADD("ymsnd", YM2413, XTAL_3_579545MHz ) // guessed chip type, clock not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50)
diff --git a/src/mame/drivers/bmcpokr.c b/src/mame/drivers/bmcpokr.c
index 970e150f9b9..4b4e3359823 100644
--- a/src/mame/drivers/bmcpokr.c
+++ b/src/mame/drivers/bmcpokr.c
@@ -242,7 +242,7 @@ static MACHINE_CONFIG_START( bmcpokr, bmcpokr_state )
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0*8, 32*8-1)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 256)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", bmcpokr)
diff --git a/src/mame/drivers/bnstars.c b/src/mame/drivers/bnstars.c
index ac1dfb6ce00..3ae58ee313a 100644
--- a/src/mame/drivers/bnstars.c
+++ b/src/mame/drivers/bnstars.c
@@ -1259,7 +1259,7 @@ static ADDRESS_MAP_START( bnstars_map, AS_PROGRAM, 32, bnstars_state )
AM_RANGE(0x00000000, 0x001fffff) AM_ROM
AM_RANGE(0xfc800000, 0xfc800003) AM_WRITE(ms32_sound_w)
-
+
AM_RANGE(0xfcc00004, 0xfcc00007) AM_READ(bnstars1_r )
AM_RANGE(0xfcc00008, 0xfcc0000b) AM_READ_PORT("IN4")
AM_RANGE(0xfcc00010, 0xfcc00013) AM_READ_PORT("IN5")
@@ -1282,7 +1282,7 @@ static ADDRESS_MAP_START( bnstars_map, AS_PROGRAM, 32, bnstars_state )
AM_RANGE(0xfce00e00, 0xfce00e03) AM_WRITE(bnstars1_mahjong_select_w) // ?
AM_RANGE(0xfd000000, 0xfd000003) AM_READ(ms32_sound_r)
-
+
/* wrote together */
AM_RANGE(0xfd040000, 0xfd047fff) AM_RAM // priority ram
AM_RANGE(0xfd080000, 0xfd087fff) AM_RAM
diff --git a/src/mame/drivers/boogwing.c b/src/mame/drivers/boogwing.c
index 4e53f11b885..d08182e2603 100644
--- a/src/mame/drivers/boogwing.c
+++ b/src/mame/drivers/boogwing.c
@@ -364,7 +364,7 @@ static MACHINE_CONFIG_START( boogwing, boogwing_state )
MCFG_DECO16IC_ADD("tilegen1", boogwing_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", boogwing_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
diff --git a/src/mame/drivers/bowltry.c b/src/mame/drivers/bowltry.c
index fc23c93b9c0..33269117ffb 100644
--- a/src/mame/drivers/bowltry.c
+++ b/src/mame/drivers/bowltry.c
@@ -1,27 +1,27 @@
/************************************************************************************************************
- Bowling Try
+ Bowling Try
- (c)200? Atlus
+ (c)200? Atlus
- TODO:
- - Tight loops at 0x60e090-0x60e093, control status from video chip?
- - YGV631-B ... what's that?
+ TODO:
+ - Tight loops at 0x60e090-0x60e093, control status from video chip?
+ - YGV631-B ... what's that?
- ATLUS PCB BT-208001
- ------------------------
+ ATLUS PCB BT-208001
+ ------------------------
- At U12 the chip is Toshiba TA8428FG
+ At U12 the chip is Toshiba TA8428FG
- At U1 the chip is H8/3008
+ At U1 the chip is H8/3008
- At X1 on the crystal it is printed S753
+ At X1 on the crystal it is printed S753
- big gfx chip marked
+ big gfx chip marked
- YAMAHA JAPAN
- YGV631-B
- 0806LU004
+ YAMAHA JAPAN
+ YGV631-B
+ 0806LU004
************************************************************************************************************/
@@ -94,7 +94,7 @@ UINT32 bowltry_state::screen_update_bowltry(screen_device &screen, bitmap_rgb32
static MACHINE_CONFIG_START( bowltry, bowltry_state )
MCFG_CPU_ADD("maincpu", H83008, 16000000 )
MCFG_CPU_PROGRAM_MAP( bowltry_map )
-// MCFG_CPU_VBLANK_INT_DRIVER("screen", bowltry_state, irq0_line_hold) // uses vector $64, IMIAB according to the manual (timer/compare B, internal to the CPU)
+// MCFG_CPU_VBLANK_INT_DRIVER("screen", bowltry_state, irq0_line_hold) // uses vector $64, IMIAB according to the manual (timer/compare B, internal to the CPU)
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/boxer.c b/src/mame/drivers/boxer.c
index 6ad36a8363a..09518f12ec0 100644
--- a/src/mame/drivers/boxer.c
+++ b/src/mame/drivers/boxer.c
@@ -51,7 +51,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(boxer_input_r);
DECLARE_READ8_MEMBER(boxer_misc_r);
DECLARE_WRITE8_MEMBER(boxer_bell_w);
@@ -180,7 +180,7 @@ void boxer_state::draw_boxer( bitmap_ind16 &bitmap, const rectangle &cliprect )
code = p[32 * l + 4 * i + j];
-
+
m_gfxdecode->gfx(n)->transpen(bitmap,cliprect,
code,
0,
@@ -190,7 +190,7 @@ void boxer_state::draw_boxer( bitmap_ind16 &bitmap, const rectangle &cliprect )
code = p[32 * r + 4 * i - j + 3];
-
+
m_gfxdecode->gfx(n)->transpen(bitmap,cliprect,
code,
0,
@@ -215,7 +215,7 @@ UINT32 boxer_state::screen_update_boxer(screen_device &screen, bitmap_ind16 &bit
{
UINT8 code = m_tile_ram[32 * i + j];
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code,
0,
diff --git a/src/mame/drivers/btime.c b/src/mame/drivers/btime.c
index e4ed1ed99c0..a458e757e30 100644
--- a/src/mame/drivers/btime.c
+++ b/src/mame/drivers/btime.c
@@ -1319,7 +1319,7 @@ static MACHINE_CONFIG_START( btime, btime_state )
MCFG_MACHINE_RESET_OVERRIDE(btime_state,btime)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", btime)
-
+
MCFG_PALETTE_ADD("palette", 16)
MCFG_PALETTE_INIT_OWNER(btime_state,btime)
MCFG_PALETTE_FORMAT(BBGGGRRR)
diff --git a/src/mame/drivers/bzone.c b/src/mame/drivers/bzone.c
index 1779fc2f6cc..2e5c8923b4c 100644
--- a/src/mame/drivers/bzone.c
+++ b/src/mame/drivers/bzone.c
@@ -560,7 +560,7 @@ static MACHINE_CONFIG_START( bzone_base, bzone_state )
MCFG_SCREEN_VISIBLE_AREA(0, 580, 0, 400)
MCFG_SCREEN_UPDATE_DEVICE("vector", vector_device, screen_update)
- MCFG_DEVICE_ADD("avg", AVG_BZONE, 0)
+ MCFG_DEVICE_ADD("avg", AVG_BZONE, 0)
MCFG_AVGDVG_VECTOR("vector")
/* Drivers */
diff --git a/src/mame/drivers/cabal.c b/src/mame/drivers/cabal.c
index 5c1ed9e68e4..39748ce1e2a 100644
--- a/src/mame/drivers/cabal.c
+++ b/src/mame/drivers/cabal.c
@@ -473,7 +473,7 @@ static MACHINE_CONFIG_START( cabal, cabal_state )
MCFG_SCREEN_REFRESH_RATE(59.60) /* verified on pcb */
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(256, 256)
- MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(cabal_state, screen_update_cabal)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/calomega.c b/src/mame/drivers/calomega.c
index 84255193866..dbd018c280a 100644
--- a/src/mame/drivers/calomega.c
+++ b/src/mame/drivers/calomega.c
@@ -2682,7 +2682,7 @@ static MACHINE_CONFIG_DERIVED( s903mod, sys903 )
MCFG_SOUND_CONFIG(sys905_ay8912_intf)
MCFG_DEVICE_REMOVE("acia6850_0")
-
+
MCFG_DEVICE_REMOVE("aciabaud")
MACHINE_CONFIG_END
@@ -2706,7 +2706,7 @@ static MACHINE_CONFIG_DERIVED( sys905, sys903 )
MCFG_SOUND_CONFIG(sys905_ay8912_intf)
MCFG_DEVICE_REMOVE("acia6850_0")
-
+
MCFG_DEVICE_REMOVE("aciabaud")
MACHINE_CONFIG_END
@@ -2738,7 +2738,7 @@ static MACHINE_CONFIG_DERIVED( sys906, sys903 )
MCFG_SOUND_CONFIG(sys906_ay8912_intf)
MCFG_DEVICE_REMOVE("acia6850_0")
-
+
MCFG_DEVICE_REMOVE("aciabaud")
MACHINE_CONFIG_END
@@ -3879,7 +3879,7 @@ DRIVER_INIT_MEMBER(calomega_state,comg080)
BPR[x] = 0x04; /* blue background */
}
m_palette->update();
-
+
/* Injecting missing Start and NMI vectors...
Start = $2042; NMI = $26f8;
Also a fake vector at $3ff8-$3ff9. The code checks these values to continue.
diff --git a/src/mame/drivers/carrera.c b/src/mame/drivers/carrera.c
index caa69b91674..e5221990640 100644
--- a/src/mame/drivers/carrera.c
+++ b/src/mame/drivers/carrera.c
@@ -352,7 +352,7 @@ static MACHINE_CONFIG_START( carrera, carrera_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", carrera)
MCFG_PALETTE_ADD("palette", 32)
MCFG_PALETTE_INIT_OWNER(carrera_state, carrera)
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
diff --git a/src/mame/drivers/cavepc.c b/src/mame/drivers/cavepc.c
index d47e21c302b..01caa590556 100644
--- a/src/mame/drivers/cavepc.c
+++ b/src/mame/drivers/cavepc.c
@@ -134,8 +134,8 @@ DRIVER_INIT_MEMBER(cavepc_state,cavepc)
Deathshmiles II (2009/10/14 MASTER VER 4.00)
-CAVE's venture into PC based hardware platforms. The game did not
-sell that well and was plagued by BSODs and hardware issues. The
+CAVE's venture into PC based hardware platforms. The game did not
+sell that well and was plagued by BSODs and hardware issues. The
motherboard bios version that shipped out with the game is F2 on
a Gigabyte GA-MA78GPM-UD2H board
( http://www.gigabyte.com/products/product-page.aspx?pid=3016#ov )
@@ -143,13 +143,13 @@ a Gigabyte GA-MA78GPM-UD2H board
The following versions are known to have existed.
1.00 - released 2009/05/14
-2.00
+2.00
3.00 - sometimes scrolls the text "2ND UPDATE MASTER VER 3.00" at
the bottom of the title screen
The archive contains the following:
-./images, documentaiton
+./images, documentaiton
./cf_card_2gb, a dd image of the 2GB CF FLASH card
./usb_drive, the game is updated using a USB drive and will not
start if it is not present
diff --git a/src/mame/drivers/cball.c b/src/mame/drivers/cball.c
index c94235b1364..cfc79c03112 100644
--- a/src/mame/drivers/cball.c
+++ b/src/mame/drivers/cball.c
@@ -36,7 +36,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(cball_vram_w);
DECLARE_READ8_MEMBER(cball_wram_r);
DECLARE_WRITE8_MEMBER(cball_wram_w);
diff --git a/src/mame/drivers/cbuster.c b/src/mame/drivers/cbuster.c
index 31ae2d875dd..7e797c4c8b1 100644
--- a/src/mame/drivers/cbuster.c
+++ b/src/mame/drivers/cbuster.c
@@ -322,7 +322,7 @@ static MACHINE_CONFIG_START( twocrude, cbuster_state )
MCFG_DECO16IC_ADD("tilegen1", twocrude_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", twocrude_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
diff --git a/src/mame/drivers/cd32.c b/src/mame/drivers/cd32.c
index e63dce5964a..4cee7e3516c 100644
--- a/src/mame/drivers/cd32.c
+++ b/src/mame/drivers/cd32.c
@@ -864,7 +864,7 @@ CONS( 1993, cd32, 0, 0, cd32, cd32, cd32_state, cd32, "Commo
Harem Challenge | | 1995
Laser Quiz | | 1995
Laser Quiz 2 "Italy" | 1.0 | 1995
- Laser Strixx | | 1995
+ Laser Strixx | | 1995
Laser Strixx 2 | | 1995
Magic Premium | 1.1 | 1996
Laser Quiz France | 1.0 | 1995
diff --git a/src/mame/drivers/centiped.c b/src/mame/drivers/centiped.c
index 833d31b6694..a8ea4683b5a 100644
--- a/src/mame/drivers/centiped.c
+++ b/src/mame/drivers/centiped.c
@@ -2052,7 +2052,7 @@ ROM_START( magworm )
ROM_END
-ROM_START( magworma )
+ROM_START( magworma )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "h41.1d", 0x2000, 0x0800, CRC(773a3da6) SHA1(577ae0578231df83a768d6a50b86dcaf715a32d7) )
ROM_LOAD( "h42.1e", 0x2800, 0x0800, CRC(482c7808) SHA1(6d274a988e603d33131cb6ffbfe2cdd22fabf25b) )
diff --git a/src/mame/drivers/chanbara.c b/src/mame/drivers/chanbara.c
index 1def5112668..7c4d7b4f272 100644
--- a/src/mame/drivers/chanbara.c
+++ b/src/mame/drivers/chanbara.c
@@ -84,7 +84,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(chanbara_videoram_w);
DECLARE_WRITE8_MEMBER(chanbara_colorram_w);
DECLARE_WRITE8_MEMBER(chanbara_videoram2_w);
diff --git a/src/mame/drivers/chicago.c b/src/mame/drivers/chicago.c
index 7b96653d05b..e5525a483c2 100644
--- a/src/mame/drivers/chicago.c
+++ b/src/mame/drivers/chicago.c
@@ -1,9 +1,9 @@
/***************************************************************************
-
+
Chicago Coin discrete hardware games
-
+
Game Name Model #
- -----------------------------------------
+ -----------------------------------------
Demolition Derby (1976) #466
Super Flipper (1975) #458
Olympic TV Football (1973) #429-A
@@ -12,7 +12,7 @@
TV Ping Pong (1973) #424
TV Pin Game (1975) #451
TV Tennis (1973) #427
-
+
***************************************************************************/
@@ -52,38 +52,38 @@ class chicago_state : public driver_device
public:
chicago_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(chicago)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -113,9 +113,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/chqflag.c b/src/mame/drivers/chqflag.c
index 8a58a59295e..ad3381ed22d 100644
--- a/src/mame/drivers/chqflag.c
+++ b/src/mame/drivers/chqflag.c
@@ -300,7 +300,7 @@ void chqflag_state::machine_start()
m_paletteram.resize(m_palette->entries() * 2);
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
save_item(NAME(m_paletteram));
save_item(NAME(m_k051316_readroms));
save_item(NAME(m_last_vreg));
diff --git a/src/mame/drivers/cliffhgr.c b/src/mame/drivers/cliffhgr.c
index 60308e0c971..c085769f87e 100644
--- a/src/mame/drivers/cliffhgr.c
+++ b/src/mame/drivers/cliffhgr.c
@@ -120,7 +120,7 @@ public:
TIMER_CALLBACK_MEMBER(cliff_irq_callback);
required_device<cpu_device> m_maincpu;
required_device<discrete_device> m_discrete;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
diff --git a/src/mame/drivers/cmmb.c b/src/mame/drivers/cmmb.c
index 8a2573f64ac..159cf242085 100644
--- a/src/mame/drivers/cmmb.c
+++ b/src/mame/drivers/cmmb.c
@@ -338,7 +338,7 @@ static MACHINE_CONFIG_START( cmmb, cmmb_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", cmmb)
-
+
MCFG_PALETTE_ADD("palette", 512)
MCFG_PALETTE_FORMAT(RRRGGGBB)
diff --git a/src/mame/drivers/cninja.c b/src/mame/drivers/cninja.c
index f4ea22b00bb..73b32d5ee27 100644
--- a/src/mame/drivers/cninja.c
+++ b/src/mame/drivers/cninja.c
@@ -960,7 +960,7 @@ static MACHINE_CONFIG_START( cninja, cninja_state )
MCFG_DECO16IC_ADD("tilegen1", cninja_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", cninja_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1028,7 +1028,7 @@ static MACHINE_CONFIG_START( stoneage, cninja_state )
MCFG_DECO16IC_ADD("tilegen1", cninja_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", cninja_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1091,7 +1091,7 @@ static MACHINE_CONFIG_START( cninjabl, cninja_state )
MCFG_DECO16IC_ADD("tilegen1", cninja_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", cninja_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1141,7 +1141,7 @@ static MACHINE_CONFIG_START( edrandy, cninja_state )
MCFG_DECO16IC_ADD("tilegen1", edrandy_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", edrandy_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1206,7 +1206,7 @@ static MACHINE_CONFIG_START( robocop2, cninja_state )
MCFG_DECO16IC_ADD("tilegen1", robocop2_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", robocop2_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1276,7 +1276,7 @@ static MACHINE_CONFIG_START( mutantf, cninja_state )
MCFG_DECO16IC_ADD("tilegen1", mutantf_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", mutantf_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
diff --git a/src/mame/drivers/cntsteer.c b/src/mame/drivers/cntsteer.c
index cb3824b6a20..066df5cf216 100644
--- a/src/mame/drivers/cntsteer.c
+++ b/src/mame/drivers/cntsteer.c
@@ -73,7 +73,7 @@ public:
required_device<cpu_device> m_subcpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(zerotrgt_vregs_w);
DECLARE_WRITE8_MEMBER(cntsteer_vregs_w);
DECLARE_WRITE8_MEMBER(cntsteer_foreground_vram_w);
diff --git a/src/mame/drivers/cobra.c b/src/mame/drivers/cobra.c
index 4cdd2d1a108..82e32af7553 100644
--- a/src/mame/drivers/cobra.c
+++ b/src/mame/drivers/cobra.c
@@ -624,7 +624,7 @@ public:
required_device<ata_interface_device> m_ata;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ64_MEMBER(main_comram_r);
DECLARE_WRITE64_MEMBER(main_comram_w);
DECLARE_READ64_MEMBER(main_fifo_r);
diff --git a/src/mame/drivers/coinmstr.c b/src/mame/drivers/coinmstr.c
index b0fcf0650d1..dfa72df9db2 100644
--- a/src/mame/drivers/coinmstr.c
+++ b/src/mame/drivers/coinmstr.c
@@ -18,9 +18,9 @@
Technical notes....
-
+
There are at least 2 different boards.
-
+
A) Unknown, with 2x 6264 RAM, mapped $C000-$DFFF and $E000-$FFFF.
B) 'PCB-001-POK', with 3x 6116 RAM, mapped $E000-$E7FF, $E800-$EFFF, and $F000-$F7FF.
@@ -40,7 +40,7 @@
AY-3-8912
---------
-
+
- IO pins connected to DIP switches bank.
- Data pin connected to CPU data pin.
- BC1 goes to PAL IC12 pin 12
@@ -50,7 +50,7 @@
PIAs
----
-
+
PIA0 (IC24) Port A --> Input.
PIA0 (IC24) Port B --> Output.
@@ -58,15 +58,15 @@
PB0 to PB6 go to ULN2003 (IC19) then on PCB connector.
PB7 goes to ULM2003 (IC40) pin 1 then on PCB connector.
-
+
PIA1 (IC39) Port A --> Output.
PIA1 (IC39) Port B --> Output.
PA0-PA7 go to 22 KOhm resistor, then a "pull up" capacitor, and then into the base of a transistor.
- Collector connected to +5V, emitter is the output (1 KOhm pulldown), it goes into an ULN2803
- and then to PCB connector. 3 of that transistors outputs (input of the ULN) are connected
- together and connected to another circuit that generate 2 more outputs on PCB connector.
- (them seem unused no solder on the pcb connector)
+ Collector connected to +5V, emitter is the output (1 KOhm pulldown), it goes into an ULN2803
+ and then to PCB connector. 3 of that transistors outputs (input of the ULN) are connected
+ together and connected to another circuit that generate 2 more outputs on PCB connector.
+ (them seem unused no solder on the pcb connector)
PB0 to PB6 goes to ULN2003 (IC34) then on PCB connector.
PB7 goes to ULM2003 (IC40) pin 2 then on PCB connector.
@@ -78,7 +78,7 @@
PB0 to PB6 go to ULN2003 (IC31) then on PCB connector.
PB7 goes to ULM2003 (IC40) pin 3 then on PCB connector.
-
+
====================================================================================
Notes by game....
@@ -91,7 +91,7 @@
DIP switch #1 changes the minimal hand between "Jacks or Better" and
"Pair of Aces".
-
+
There are two bookkeeping modes. I think these are for different levels
like operator and manager/supervisor. With the DIP switch #4 you can
switch between them. Is possible that this input would be meant to be
@@ -114,7 +114,7 @@
Pressing DEAL/START, you can get the winning hands, occurence of
spades, diamonds, clubs and hearts. also number of jokers dealt.
-
+
With DIP switch #8 ON, you can enter a sort of test mode, where you
can set the cards using the HOLD buttons, and test the winning hands.
@@ -335,7 +335,7 @@ ADDRESS_MAP_END
/* 2x 6462 hardware C000-DFFF & E000-FFFF */
static ADDRESS_MAP_START( jpcoin_map, AS_PROGRAM, 8, coinmstr_state )
AM_RANGE(0x0000, 0xbfff) AM_ROM
- AM_RANGE(0xc000, 0xdfff) AM_RAM /* 2x 6462 hardware */
+ AM_RANGE(0xc000, 0xdfff) AM_RAM /* 2x 6462 hardware */
AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(quizmstr_bg_w) AM_SHARE("videoram")
AM_RANGE(0xe800, 0xefff) AM_RAM_WRITE(quizmstr_attr1_w) AM_SHARE("attr_ram1")
AM_RANGE(0xf000, 0xf7ff) AM_RAM_WRITE(quizmstr_attr2_w) AM_SHARE("attr_ram2")
@@ -345,7 +345,7 @@ ADDRESS_MAP_END
/* 3x 6116 hardware E000-E800, E800-EFFF & F000-F7FF */
static ADDRESS_MAP_START( jpcoin2_map, AS_PROGRAM, 8, coinmstr_state )
AM_RANGE(0x0000, 0xbfff) AM_ROM
- AM_RANGE(0xc000, 0xdfff) AM_RAM /* only for the 2x 6462 hardware */
+ AM_RANGE(0xc000, 0xdfff) AM_RAM /* only for the 2x 6462 hardware */
AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(quizmstr_bg_w) AM_SHARE("videoram")
AM_RANGE(0xe800, 0xefff) AM_RAM_WRITE(quizmstr_attr1_w) AM_SHARE("attr_ram1")
AM_RANGE(0xf000, 0xf7ff) AM_RAM_WRITE(quizmstr_attr2_w) AM_SHARE("attr_ram2")
@@ -486,7 +486,7 @@ E0-E1 CRTC
AM_RANGE(0xc8, 0xcb) AM_DEVREADWRITE("pia0", pia6821_device, read, write) /* confirmed */
AM_RANGE(0xd0, 0xd3) AM_DEVREADWRITE("pia1", pia6821_device, read, write)
AM_RANGE(0xd8, 0xdb) AM_DEVREADWRITE("pia2", pia6821_device, read, write) /* confirmed */
-// AM_RANGE(0xc0, 0xc1) AM_READ(ff_r) /* needed to boot */
+// AM_RANGE(0xc0, 0xc1) AM_READ(ff_r) /* needed to boot */
AM_RANGE(0xc4, 0xc4) AM_READ(ff_r) /* needed to boot */
ADDRESS_MAP_END
@@ -820,12 +820,12 @@ static INPUT_PORTS_START( trailblz )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
-static INPUT_PORTS_START( supnudg2 ) /* need to find the button 'B' to be playable */
+static INPUT_PORTS_START( supnudg2 ) /* need to find the button 'B' to be playable */
PORT_START("PIA0.A")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("1 Pound (5 credits)") // coin x 5
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("50 Pence (2.5 credits)") // coin x 2.5
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("20 Pence (1 credit)") // coin x 1
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("10 Pence (0.5 credit)") // coin x 0.5
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("1 Pound (5 credits)") // coin x 5
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("50 Pence (2.5 credits)") // coin x 2.5
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("20 Pence (1 credit)") // coin x 1
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("10 Pence (0.5 credit)") // coin x 0.5
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A) PORT_NAME("PIA0.A_0x10")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S) PORT_NAME("PIA0.A_0x20")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("PIA0.A_0x40")
@@ -992,14 +992,14 @@ static INPUT_PORTS_START( pokeroul )
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
-/* PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
+/* PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
*/
PORT_START("PIA2.B")
PORT_DIPNAME( 0x01, 0x01, "PIA2.B" )
@@ -1525,14 +1525,14 @@ static MACHINE_CONFIG_DERIVED( jpcoin, coinmstr )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(jpcoin_map)
MCFG_CPU_IO_MAP(jpcoin_io_map)
-// MCFG_NVRAM_ADD_0FILL("attr_ram3")
+// MCFG_NVRAM_ADD_0FILL("attr_ram3")
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( jpcoin2, coinmstr )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(jpcoin2_map)
MCFG_CPU_IO_MAP(jpcoin2_io_map)
-// MCFG_NVRAM_ADD_0FILL("attr_ram3")
+// MCFG_NVRAM_ADD_0FILL("attr_ram3")
MACHINE_CONFIG_END
/*
@@ -1691,23 +1691,23 @@ ROM_END
/*
Looks like the 2x 6264, since checks C000-DFFF
-
+
BP 1D0 (PIAS init)
BP 1102 (calls)
-
+
Output C0
Input C1
-
+
Input C8
Output C9 (masked)
Output CA
-
+
Input D0
Output D1
Output D2
Input D3
Output DA
-
+
Output E0 CRTC
Output E1 CRTC
@@ -1753,8 +1753,8 @@ ROM_START( jpcoin2 )
ROM_LOAD( "jp88-1.ic9", 0x0000, 0x4000, CRC(60d31daf) SHA1(204537887388f1a174d1a09331186182be31e8ee) )
ROM_REGION( 0x4000, "gfx1", 0 )
- ROM_LOAD( "jp88-3.ic45", 0x0000, 0x2000, CRC(f2f92a7e) SHA1(ce6f6fd5af0049269357527650b51a1016caf636) )
- ROM_LOAD( "jp88-2.ic41", 0x2000, 0x2000, CRC(57db61b2) SHA1(a3bc2056866cbb9fdca52e62f2ff4a952d1d7484) )
+ ROM_LOAD( "jp88-3.ic45", 0x0000, 0x2000, CRC(f2f92a7e) SHA1(ce6f6fd5af0049269357527650b51a1016caf636) )
+ ROM_LOAD( "jp88-2.ic41", 0x2000, 0x2000, CRC(57db61b2) SHA1(a3bc2056866cbb9fdca52e62f2ff4a952d1d7484) )
ROM_END
diff --git a/src/mame/drivers/coolridr.c b/src/mame/drivers/coolridr.c
index ff475a3819a..fc5e80a9138 100644
--- a/src/mame/drivers/coolridr.c
+++ b/src/mame/drivers/coolridr.c
@@ -3546,7 +3546,7 @@ void coolridr_state::machine_reset()
WRITE8_MEMBER(coolridr_state::scsp_irq)
{
- m_soundcpu->set_input_line(offset, data);
+ m_soundcpu->set_input_line(offset, data);
}
WRITE_LINE_MEMBER(coolridr_state::scsp1_to_sh1_irq)
diff --git a/src/mame/drivers/cps1.c b/src/mame/drivers/cps1.c
index da8b0a78beb..cc7624d910b 100644
--- a/src/mame/drivers/cps1.c
+++ b/src/mame/drivers/cps1.c
@@ -951,10 +951,10 @@ static INPUT_PORTS_START( ghoulsu )
PORT_DIPSETTING( 0x30, "30K, 60K and every 70K" )
PORT_DIPSETTING( 0x00, "40K, 70K and every 80K" )
/* Manuals states the following bonus settings
- PORT_DIPSETTING( 0x20, "20K, 50K and every 70K" )
- PORT_DIPSETTING( 0x10, "10K, 30K and every 30K" )
- PORT_DIPSETTING( 0x30, "40K, 70K and every 80K" )
- PORT_DIPSETTING( 0x00, "30K, 60K and every 70K" )
+ PORT_DIPSETTING( 0x20, "20K, 50K and every 70K" )
+ PORT_DIPSETTING( 0x10, "10K, 30K and every 30K" )
+ PORT_DIPSETTING( 0x30, "40K, 70K and every 80K" )
+ PORT_DIPSETTING( 0x00, "30K, 60K and every 70K" )
*/
/* Debug Dip Switches */
PORT_DIPNAME( 0x07, 0x07, "Starting Weapon" ) PORT_CONDITION("DSWC", 0x80, EQUALS, 0x00) PORT_DIPLOCATION("SW(B):1,2,3")
@@ -1077,11 +1077,11 @@ static INPUT_PORTS_START( strider )
PORT_DIPSETTING( 0x20, "30K, 50K then every 70K" )
PORT_DIPSETTING( 0x10, "20K & 60K only" )
PORT_DIPSETTING( 0x00, "30K & 60K only" )
-/* According to manual, these are the proper settings
- PORT_DIPSETTING( 0x30, "40K, 70K then every 80K" )
- PORT_DIPSETTING( 0x20, "20K, 50K then every 70K" )
- PORT_DIPSETTING( 0x10, "10k, 30k then every 30k" )
- PORT_DIPSETTING( 0x00, "30K, 60k then every 70k" )
+/* According to manual, these are the proper settings
+ PORT_DIPSETTING( 0x30, "40K, 70K then every 80K" )
+ PORT_DIPSETTING( 0x20, "20K, 50K then every 70K" )
+ PORT_DIPSETTING( 0x10, "10k, 30k then every 30k" )
+ PORT_DIPSETTING( 0x00, "30K, 60k then every 70k" )
*/
PORT_DIPNAME( 0xc0, 0x80, "Internal Diff. on Life Loss" ) PORT_DIPLOCATION("SW(B):7,8")
@@ -8633,10 +8633,10 @@ CPS1 motherboard (no dash)
Original 88622-c-2 C board
Bootleg B board with
- PIC16c55 near PRG roms seem protected
- 8 dipswith near both sound roms and gfx roms
- 1,4,5,8 ON
- 2,3,6,7 OFF
+ PIC16c55 near PRG roms seem protected
+ 8 dipswith near both sound roms and gfx roms
+ 1,4,5,8 ON
+ 2,3,6,7 OFF
Sound rom match various romset
*/
@@ -8652,7 +8652,7 @@ ROM_START( sf2ceblp )
ROM_LOAD16_BYTE( "prg34.bin", 0x80001, 0x20000, CRC(f06a12f2) SHA1(ddc431ce01392d4a7562760743abd9ea73b06cf3) )
ROM_LOAD16_BYTE( "prg28.bin", 0xc0000, 0x40000, CRC(b7ad5214) SHA1(17b05e0aa9a4eb5f1aaafe35fa029d2a9aea530d) )
ROM_LOAD16_BYTE( "prg33.bin", 0xc0001, 0x40000, CRC(6340b914) SHA1(443e37a06058548c8ce7a15ecd10a6635e69d09f) )
-
+
ROM_REGION( 0x600000, "gfx", 0 )
ROMX_LOAD( "24.bin", 0x000000, 0x40000, CRC(a8b5633a) SHA1(6548a89d616910d06db126eb1a9c6b5979baff03) , ROM_SKIP(7) )
ROMX_LOAD( "14.bin", 0x000001, 0x40000, CRC(5db24ca7) SHA1(0543e89174fecc866a08e0ecc7c31a6efca15da5) , ROM_SKIP(7) )
@@ -8688,8 +8688,8 @@ ROM_START( sf2ceblp )
ROM_REGION( 0x40000, "oki", 0 ) /* Samples */
ROM_LOAD( "s92_18.bin", 0x00000, 0x20000, CRC(7f162009) SHA1(346bf42992b4c36c593e21901e22c87ae4a7d86d) )
ROM_LOAD( "s92_19.bin", 0x20000, 0x20000, CRC(beade53f) SHA1(277c397dc12752719ec6b47d2224750bd1c07f79) )
-
- ROM_REGION( 0x2000, "protectin_pic", 0 )
+
+ ROM_REGION( 0x2000, "protectin_pic", 0 )
ROM_LOAD( "pic16c55", 0x00000, 0x2000, BAD_DUMP CRC(f22e2311) SHA1(320edfba140728599e91c01e863a8b6d071e4bbf) )
ROM_END
diff --git a/src/mame/drivers/cps3.c b/src/mame/drivers/cps3.c
index 70a901637be..3a922f2f448 100644
--- a/src/mame/drivers/cps3.c
+++ b/src/mame/drivers/cps3.c
@@ -2583,7 +2583,7 @@ static MACHINE_CONFIG_START( cps3, cps3_state )
MCFG_PALETTE_ADD("palette", 0x10000) // actually 0x20000 ...
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
diff --git a/src/mame/drivers/crystal.c b/src/mame/drivers/crystal.c
index dcad22be4d0..1ea3af3a366 100644
--- a/src/mame/drivers/crystal.c
+++ b/src/mame/drivers/crystal.c
@@ -1076,26 +1076,26 @@ DRIVER_INIT_MEMBER(crystal_state,topbladv)
{
// patches based on analysis of PIC dump
UINT16 *Rom = (UINT16*) memregion("user1")->base();
- /*
- PIC Protection data:
- - RAM ADDR - --PATCH--
- 62 0f 02 02 fc 90 01 90
- 68 6a 02 02 04 90 01 90
- 2c cf 03 02 e9 df c2 c3
- 00 e0 03 02 01 90 00 92
+ /*
+ PIC Protection data:
+ - RAM ADDR - --PATCH--
+ 62 0f 02 02 fc 90 01 90
+ 68 6a 02 02 04 90 01 90
+ 2c cf 03 02 e9 df c2 c3
+ 00 e0 03 02 01 90 00 92
*/
- Rom[WORD_XOR_LE(0x12d7a/2)]=0x90FC; //PUSH R7-R6-R5-R4-R3-R2
- Rom[WORD_XOR_LE(0x12d7c/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0x12d7a/2)]=0x90FC; //PUSH R7-R6-R5-R4-R3-R2
+ Rom[WORD_XOR_LE(0x12d7c/2)]=0x9001; //PUSH R0
- Rom[WORD_XOR_LE(0x18880/2)]=0x9004; //PUSH R2
- Rom[WORD_XOR_LE(0x18882/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0x18880/2)]=0x9004; //PUSH R2
+ Rom[WORD_XOR_LE(0x18882/2)]=0x9001; //PUSH R0
- Rom[WORD_XOR_LE(0x2fe18/2)]=0x9001; //PUSH R0
- Rom[WORD_XOR_LE(0x2fe1a/2)]=0x9200; //PUSH SR
+ Rom[WORD_XOR_LE(0x2fe18/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0x2fe1a/2)]=0x9200; //PUSH SR
- Rom[WORD_XOR_LE(0x2ED44/2)]=0xDFE9; //CALL 0x3cf00
- Rom[WORD_XOR_LE(0x2ED46/2)]=0xC3C2; //MOV %SR0,%DR1
+ Rom[WORD_XOR_LE(0x2ED44/2)]=0xDFE9; //CALL 0x3cf00
+ Rom[WORD_XOR_LE(0x2ED46/2)]=0xC3C2; //MOV %SR0,%DR1
}
@@ -1105,42 +1105,42 @@ DRIVER_INIT_MEMBER(crystal_state,officeye)
UINT16 *Rom = (UINT16*) memregion("user1")->base();
/*
- PIC Protection data:
- - RAM ADDR - --PATCH--
- 0a 83 01 02 1c 90 01 90
- 50 85 01 02 7c 90 01 90
- 4c 99 05 02 04 90 01 90
- 3a c1 01 02 1c 90 01 90
+ PIC Protection data:
+ - RAM ADDR - --PATCH--
+ 0a 83 01 02 1c 90 01 90
+ 50 85 01 02 7c 90 01 90
+ 4c 99 05 02 04 90 01 90
+ 3a c1 01 02 1c 90 01 90
*/
- Rom[WORD_XOR_LE(0x9c9e/2)]=0x901C; //PUSH R4-R3-R2
- Rom[WORD_XOR_LE(0x9ca0/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0x9c9e/2)]=0x901C; //PUSH R4-R3-R2
+ Rom[WORD_XOR_LE(0x9ca0/2)]=0x9001; //PUSH R0
- Rom[WORD_XOR_LE(0x9EE4/2)]=0x907C; //PUSH R6-R5-R4-R3-R2
- Rom[WORD_XOR_LE(0x9EE6/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0x9EE4/2)]=0x907C; //PUSH R6-R5-R4-R3-R2
+ Rom[WORD_XOR_LE(0x9EE6/2)]=0x9001; //PUSH R0
- Rom[WORD_XOR_LE(0x4B2E0/2)]=0x9004; //PUSH R2
- Rom[WORD_XOR_LE(0x4B2E2/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0x4B2E0/2)]=0x9004; //PUSH R2
+ Rom[WORD_XOR_LE(0x4B2E2/2)]=0x9001; //PUSH R0
- Rom[WORD_XOR_LE(0xDACE/2)]=0x901c; //PUSH R4-R3-R2
- Rom[WORD_XOR_LE(0xDAD0/2)]=0x9001; //PUSH R0
+ Rom[WORD_XOR_LE(0xDACE/2)]=0x901c; //PUSH R4-R3-R2
+ Rom[WORD_XOR_LE(0xDAD0/2)]=0x9001; //PUSH R0
}
DRIVER_INIT_MEMBER(crystal_state, donghaer)
{
UINT16 *Rom = (UINT16*)memregion("user1")->base();
- Rom[WORD_XOR_LE(0x037A2 / 2)] = 0x9004; // PUSH %R2
- Rom[WORD_XOR_LE(0x037A4 / 2)] = 0x8202; // LD (%SP,0x8),%R2
+ Rom[WORD_XOR_LE(0x037A2 / 2)] = 0x9004; // PUSH %R2
+ Rom[WORD_XOR_LE(0x037A4 / 2)] = 0x8202; // LD (%SP,0x8),%R2
- Rom[WORD_XOR_LE(0x03834 / 2)] = 0x9001; // PUSH %R0
- Rom[WORD_XOR_LE(0x03836 / 2)] = 0x9200; // PUSH %SR
+ Rom[WORD_XOR_LE(0x03834 / 2)] = 0x9001; // PUSH %R0
+ Rom[WORD_XOR_LE(0x03836 / 2)] = 0x9200; // PUSH %SR
- Rom[WORD_XOR_LE(0x0AC9E / 2)] = 0x9004; // PUSH %R2
- Rom[WORD_XOR_LE(0x0ACA0 / 2)] = 0x4081; // LERI 0x81
+ Rom[WORD_XOR_LE(0x0AC9E / 2)] = 0x9004; // PUSH %R2
+ Rom[WORD_XOR_LE(0x0ACA0 / 2)] = 0x4081; // LERI 0x81
- Rom[WORD_XOR_LE(0x19C70 / 2)] = 0x900C; // PUSH %R2-%R3
- Rom[WORD_XOR_LE(0x19C72 / 2)] = 0x9001; // PUSH %R0
+ Rom[WORD_XOR_LE(0x19C70 / 2)] = 0x900C; // PUSH %R2-%R3
+ Rom[WORD_XOR_LE(0x19C72 / 2)] = 0x9001; // PUSH %R0
}
diff --git a/src/mame/drivers/cswat.c b/src/mame/drivers/cswat.c
index 87d3c316ff6..08bd4d8bf83 100644
--- a/src/mame/drivers/cswat.c
+++ b/src/mame/drivers/cswat.c
@@ -4,7 +4,7 @@
mirrors and motors to move a spotlight(s) on a large projection screen,
similar to Namco Shoot Away/Shoot Away II.
The CRT is just used for showing status and keeping scores.
-
+
X1 18.432MHz
HD68A09EP - Hitachi M6809 CPU
2 * M58725P - Mitsubishi 2KB SRAM
@@ -134,13 +134,13 @@ READ8_MEMBER(cswat_state::sensors_r)
static ADDRESS_MAP_START( cswat_map, AS_PROGRAM, 8, cswat_state )
AM_RANGE(0x0000, 0x0bff) AM_RAM_WRITE(videoram_w) AM_SHARE("videoram")
AM_RANGE(0x0c00, 0x0fff) AM_RAM
-// AM_RANGE(0x1800, 0x1800) AM_READNOP // ? reads here after writing to $4000
+// AM_RANGE(0x1800, 0x1800) AM_READNOP // ? reads here after writing to $4000
AM_RANGE(0x2000, 0x2000) AM_WRITE(irq_ack_w) // writes 1 at end of vblank irq, 0 at gamestart
AM_RANGE(0x2000, 0x2001) AM_READ(dipswitch_r)
AM_RANGE(0x2002, 0x2002) AM_WRITE(irq_ack_w) // writes 0 at start of vblank irq
AM_RANGE(0x2002, 0x2002) AM_READ(sensors_r)
AM_RANGE(0x2003, 0x2003) AM_READ_PORT("IN0")
-// AM_RANGE(0x4000, 0x4009) AM_NOP // ?
+// AM_RANGE(0x4000, 0x4009) AM_NOP // ?
AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END
diff --git a/src/mame/drivers/cubeqst.c b/src/mame/drivers/cubeqst.c
index db436c49732..86cfcb3c9af 100644
--- a/src/mame/drivers/cubeqst.c
+++ b/src/mame/drivers/cubeqst.c
@@ -44,7 +44,7 @@ public:
required_device<cquestrot_cpu_device> m_rotatecpu;
required_device<cquestlin_cpu_device> m_linecpu;
required_device<cquestsnd_cpu_device> m_soundcpu;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
rgb_t *m_colormap;
DECLARE_WRITE16_MEMBER(palette_w);
DECLARE_READ16_MEMBER(line_r);
diff --git a/src/mame/drivers/cv1k.c b/src/mame/drivers/cv1k.c
index c8d732de29c..8e81459533d 100644
--- a/src/mame/drivers/cv1k.c
+++ b/src/mame/drivers/cv1k.c
@@ -163,7 +163,7 @@ Speedups
Blitter Timing
- Correct slowdown emulation and flags (depends on blit mode, and speed of RAM) - could do with the recompiler or alt idle skips on the busy flag wait looops
- - End of Blit IRQ? (one game has a valid irq routine that looks like it was used for profiling, but nothing depends on it)
+ - End of Blit IRQ? (one game has a valid irq routine that looks like it was used for profiling, but nothing depends on it)
*/
@@ -204,16 +204,16 @@ public:
INTERRUPT_GEN_MEMBER(cv1k_interrupt);
UINT32 screen_update_cv1k(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
-
+
DECLARE_MACHINE_RESET( cv1k );
/* game specific */
- DECLARE_READ64_MEMBER(mushisam_speedup_r);
- DECLARE_READ64_MEMBER(mushisama_speedup_r);
- DECLARE_READ64_MEMBER(espgal2_speedup_r);
- DECLARE_DRIVER_INIT(mushisam);
- DECLARE_DRIVER_INIT(mushisama);
- DECLARE_DRIVER_INIT(espgal2);
+ DECLARE_READ64_MEMBER(mushisam_speedup_r);
+ DECLARE_READ64_MEMBER(mushisama_speedup_r);
+ DECLARE_READ64_MEMBER(espgal2_speedup_r);
+ DECLARE_DRIVER_INIT(mushisam);
+ DECLARE_DRIVER_INIT(mushisama);
+ DECLARE_DRIVER_INIT(espgal2);
};
@@ -237,7 +237,7 @@ UINT32 cv1k_state::screen_update_cv1k(screen_device &screen, bitmap_rgb32 &bitma
READ64_MEMBER( cv1k_state::cv1k_flash_port_e_r )
{
- return ((m_serflash->flash_ready_r(space, offset) ? 0x20 : 0x00)) | 0xdf;
+ return ((m_serflash->flash_ready_r(space, offset) ? 0x20 : 0x00)) | 0xdf;
}
@@ -324,7 +324,7 @@ static ADDRESS_MAP_START( cv1k_map, AS_PROGRAM, 64, cv1k_state )
AM_RANGE(0x10000000, 0x10000007) AM_READWRITE8(cv1k_flash_io_r, cv1k_flash_io_w, U64(0xffffffffffffffff))
AM_RANGE(0x10400000, 0x10400007) AM_DEVWRITE8("ymz770", ymz770_device, write, U64(0xffffffffffffffff))
AM_RANGE(0x10C00000, 0x10C00007) AM_READWRITE8(serial_rtc_eeprom_r, serial_rtc_eeprom_w, U64(0xffffffffffffffff))
-// AM_RANGE(0x18000000, 0x18000057) // blitter, installed on reset
+// AM_RANGE(0x18000000, 0x18000057) // blitter, installed on reset
AM_RANGE(0xf0000000, 0xf0ffffff) AM_RAM // mem mapped cache (sh3 internal?)
ADDRESS_MAP_END
@@ -334,7 +334,7 @@ static ADDRESS_MAP_START( cv1k_d_map, AS_PROGRAM, 64, cv1k_state )
AM_RANGE(0x10000000, 0x10000007) AM_READWRITE8(cv1k_flash_io_r, cv1k_flash_io_w, U64(0xffffffffffffffff))
AM_RANGE(0x10400000, 0x10400007) AM_DEVWRITE8("ymz770", ymz770_device, write, U64(0xffffffffffffffff))
AM_RANGE(0x10C00000, 0x10C00007) AM_READWRITE8(serial_rtc_eeprom_r, serial_rtc_eeprom_w, U64(0xffffffffffffffff))
-// AM_RANGE(0x18000000, 0x18000057) // blitter, installed on reset
+// AM_RANGE(0x18000000, 0x18000057) // blitter, installed on reset
AM_RANGE(0xf0000000, 0xf0ffffff) AM_RAM // mem mapped cache (sh3 internal?)
ADDRESS_MAP_END
@@ -349,7 +349,7 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( cv1k )
- PORT_START("DSW") // 18000050.l (18000050.b + 3 i.e. MSB + 3, is shown as DIPSW)
+ PORT_START("DSW") // 18000050.l (18000050.b + 3 i.e. MSB + 3, is shown as DIPSW)
// PORT_BIT( 0xfcfffffc, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_DIPNAME( 0x00000002, 0x00000000, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x00000000, DEF_STR( Off ) )
@@ -357,9 +357,9 @@ static INPUT_PORTS_START( cv1k )
PORT_SERVICE( 0x00000001, IP_ACTIVE_HIGH )
PORT_START("PORT_C")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 ) // Service coin
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // Test button copied here
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) // IMPLEMENT COIN ERROR!
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 ) // Service coin
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // Test button copied here
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) // IMPLEMENT COIN ERROR!
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
@@ -376,10 +376,10 @@ static INPUT_PORTS_START( cv1k )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1)
PORT_START("PORT_F")
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 ) // Test Push Button
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 ) // Test Push Button
PORT_BIT( 0xfd, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_START("PORT_L") // 4000134.b, 4000136.b
+ PORT_START("PORT_L") // 4000134.b, 4000136.b
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
@@ -528,7 +528,7 @@ ROM_START( mushisamb )
ROM_REGION( 0x8400000, "game", ROMREGION_ERASEFF)
ROM_LOAD("mushisamb_u2", 0x000000, 0x8400000, CRC(6cc9d1a9) SHA1(17907798dce1defadd10354cec6c8d364e045570) ) /* (2004/10/12 MASTER VER) */
-
+
ROM_REGION( 0x800000, "ymz770", ROMREGION_ERASEFF)
ROM_LOAD16_WORD_SWAP("u23", 0x000000, 0x400000, CRC(138e2050) SHA1(9e86489a4e65af5efb5495adf6d4b3e01d5b2816) )
ROM_LOAD16_WORD_SWAP("u24", 0x400000, 0x400000, CRC(e3d05c9f) SHA1(130c3d62317da1729c85bd178bd51500edd73ada) )
@@ -798,25 +798,25 @@ READ64_MEMBER( cv1k_state::mushisam_speedup_r )
int pc = m_maincpu->pc();
if ( pc == 0xc04a0aa ) m_maincpu->spin_until_time( attotime::from_usec(10)); // mushisam
else if (pc == 0xc04a0da) m_maincpu->spin_until_time( attotime::from_usec(10)); // mushitam
-// else printf("read %08x\n", m_maincpu->pc());
+// else printf("read %08x\n", m_maincpu->pc());
return cv1k_ram[0x0022f0/8];
}
DRIVER_INIT_MEMBER(cv1k_state,mushisam)
{
- m_maincpu->space(AS_PROGRAM).install_read_handler(0xc0022f0, 0xc0022f7, read64_delegate(FUNC(cv1k_state::mushisam_speedup_r),this));
+ m_maincpu->space(AS_PROGRAM).install_read_handler(0xc0022f0, 0xc0022f7, read64_delegate(FUNC(cv1k_state::mushisam_speedup_r),this));
}
READ64_MEMBER( cv1k_state::mushisama_speedup_r )
{
if (m_maincpu->pc()== 0xc04a2aa ) m_maincpu->spin_until_time( attotime::from_usec(10)); // mushisam
-// else printf("read %08x\n", m_maincpu->pc());
+// else printf("read %08x\n", m_maincpu->pc());
return cv1k_ram[0x00024d8/8];
}
DRIVER_INIT_MEMBER(cv1k_state,mushisama)
{
- m_maincpu->space(AS_PROGRAM).install_read_handler(0xc0024d8, 0xc0024df, read64_delegate(FUNC(cv1k_state::mushisama_speedup_r),this));
+ m_maincpu->space(AS_PROGRAM).install_read_handler(0xc0024d8, 0xc0024df, read64_delegate(FUNC(cv1k_state::mushisama_speedup_r),this));
}
READ64_MEMBER( cv1k_state::espgal2_speedup_r )
@@ -827,13 +827,13 @@ READ64_MEMBER( cv1k_state::espgal2_speedup_r )
if ( pc == 0xc05176a ) m_maincpu->spin_until_time( attotime::from_usec(10)); // futari15 / futari15a / futari10 / futariblk / ibarablk / ibarablka / mmpork / mmmbanc
if ( pc == 0xc0519a2 ) m_maincpu->spin_until_time( attotime::from_usec(10)); // deathsml
if ( pc == 0xc1d1346 ) m_maincpu->spin_until_time( attotime::from_usec(10)); // dpddfk / dsmbl
-// else printf("read %08x\n", m_maincpu->pc());
+// else printf("read %08x\n", m_maincpu->pc());
return cv1k_ram[0x002310/8];
}
DRIVER_INIT_MEMBER(cv1k_state,espgal2)
{
- m_maincpu->space(AS_PROGRAM).install_read_handler(0xc002310, 0xc002317, read64_delegate(FUNC(cv1k_state::espgal2_speedup_r),this));
+ m_maincpu->space(AS_PROGRAM).install_read_handler(0xc002310, 0xc002317, read64_delegate(FUNC(cv1k_state::espgal2_speedup_r),this));
}
diff --git a/src/mame/drivers/d9final.c b/src/mame/drivers/d9final.c
index 8e0ad993928..a3932426608 100644
--- a/src/mame/drivers/d9final.c
+++ b/src/mame/drivers/d9final.c
@@ -297,7 +297,7 @@ static MACHINE_CONFIG_START( d9final, d9final_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(512, 256)
- MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 16, 256-16-1)
+ MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 16, 256-16-1)
MCFG_SCREEN_UPDATE_DRIVER(d9final_state, screen_update_d9final)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/dacholer.c b/src/mame/drivers/dacholer.c
index dfbd930e800..b7f17a46d98 100644
--- a/src/mame/drivers/dacholer.c
+++ b/src/mame/drivers/dacholer.c
@@ -62,7 +62,7 @@ public:
optional_device<msm5205_device> m_msm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* video-related */
tilemap_t *m_bg_tilemap;
tilemap_t *m_fg_tilemap;
diff --git a/src/mame/drivers/dai3wksi.c b/src/mame/drivers/dai3wksi.c
index 56e2f0f1aeb..b75edcb0ed2 100644
--- a/src/mame/drivers/dai3wksi.c
+++ b/src/mame/drivers/dai3wksi.c
@@ -67,7 +67,7 @@ public:
optional_device<sn76477_device> m_ic79;
optional_device<sn76477_device> m_ic80;
optional_device<sn76477_device> m_ic81;
-
+
/* video */
required_shared_ptr<UINT8> m_dai3wksi_videoram;
int m_dai3wksi_flipscreen;
@@ -83,10 +83,10 @@ public:
DECLARE_WRITE8_MEMBER(dai3wksi_audio_1_w);
DECLARE_WRITE8_MEMBER(dai3wksi_audio_2_w);
DECLARE_WRITE8_MEMBER(dai3wksi_audio_3_w);
-
+
/* i/o ports */
required_ioport m_in2;
-
+
virtual void machine_start();
virtual void machine_reset();
};
diff --git a/src/mame/drivers/dassault.c b/src/mame/drivers/dassault.c
index 15276ea5824..1d6c9f4b2d2 100644
--- a/src/mame/drivers/dassault.c
+++ b/src/mame/drivers/dassault.c
@@ -516,7 +516,7 @@ static MACHINE_CONFIG_START( dassault, dassault_state )
MCFG_DECO16IC_ADD("tilegen1", dassault_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", dassault_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
diff --git a/src/mame/drivers/dblcrown.c b/src/mame/drivers/dblcrown.c
index 14b7d6be17e..812215f5bac 100644
--- a/src/mame/drivers/dblcrown.c
+++ b/src/mame/drivers/dblcrown.c
@@ -5,7 +5,7 @@
Double Crown (c) 1997 Cadence Technology / Dyna
Driver by Angelo Salese
- Additional work by Roberto Fresca.
+ Additional work by Roberto Fresca.
TODO:
- Bogus "Hole" in main screen display;
@@ -35,14 +35,14 @@
4 * dipsw 8pos
YMZ284-D (ay8910, but without i/o ports)
MAXIM MAX693ACPE is a "Microprocessor Supervisory Circuit", for watchdog
- and for nvram functions.
+ and for nvram functions.
***************************************************************************/
-#define MAIN_CLOCK XTAL_28_63636MHz
-#define CPU_CLOCK MAIN_CLOCK / 6
-#define SND_CLOCK MAIN_CLOCK / 12
+#define MAIN_CLOCK XTAL_28_63636MHz
+#define CPU_CLOCK MAIN_CLOCK / 6
+#define SND_CLOCK MAIN_CLOCK / 12
#include "emu.h"
#include "cpu/z80/z80.h"
@@ -298,9 +298,9 @@ WRITE8_MEMBER( dblcrown_state::output_w )
x-x- --xx unknown
*/
- coin_counter_w(machine(), 0, data & 0x10); /* Coin In counter pulse */
- coin_counter_w(machine(), 1 ,data & 0x08); /* Payout counter pulse */
-// popmessage("out: %02x", data);
+ coin_counter_w(machine(), 0, data & 0x10); /* Coin In counter pulse */
+ coin_counter_w(machine(), 1 ,data & 0x08); /* Payout counter pulse */
+// popmessage("out: %02x", data);
}
diff --git a/src/mame/drivers/dblewing.c b/src/mame/drivers/dblewing.c
index 94ffd1a6b0d..e45e6d5ce4f 100644
--- a/src/mame/drivers/dblewing.c
+++ b/src/mame/drivers/dblewing.c
@@ -394,7 +394,7 @@ static MACHINE_CONFIG_START( dblewing, dblewing_state )
MCFG_DECO16IC_ADD("tilegen1", dblewing_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
decospr_device::set_pri_callback(*device, dblwings_pri_callback);
diff --git a/src/mame/drivers/ddealer.c b/src/mame/drivers/ddealer.c
index 72529699f56..ea9ca55bd54 100644
--- a/src/mame/drivers/ddealer.c
+++ b/src/mame/drivers/ddealer.c
@@ -225,7 +225,7 @@ void ddealer_state::ddealer_draw_video_layer( UINT16* vreg_base, UINT16* top, UI
UINT16 tile = (src[count] & 0x0fff);
UINT16 colr = (src[count] & 0xf000) >> 12;
count++;
- gfx->transpen(bitmap,cliprect, tile, colr, 0, flipy, (x * 16) - sx, (y * 16) - sy, 15);
+ gfx->transpen(bitmap,cliprect, tile, colr, 0, flipy, (x * 16) - sx, (y * 16) - sy, 15);
}
}
count = 0;
@@ -238,7 +238,7 @@ void ddealer_state::ddealer_draw_video_layer( UINT16* vreg_base, UINT16* top, UI
UINT16 tile = (src[count] & 0x0fff);
UINT16 colr = (src[count] & 0xf000) >> 12;
count++;
- gfx->transpen(bitmap,cliprect, tile, colr, 0, flipy, (x * 16) - sx, (y * 16) - sy, 15);
+ gfx->transpen(bitmap,cliprect, tile, colr, 0, flipy, (x * 16) - sx, (y * 16) - sy, 15);
}
}
}
@@ -257,7 +257,7 @@ void ddealer_state::ddealer_draw_video_layer( UINT16* vreg_base, UINT16* top, UI
UINT16 tile = (src[count] & 0x0fff);
UINT16 colr = (src[count] & 0xf000) >> 12;
count++;
- gfx->transpen(bitmap,cliprect, tile, colr, flipy, flipy, (x * 16) + sx, (y * 16) + sy, 15);
+ gfx->transpen(bitmap,cliprect, tile, colr, flipy, flipy, (x * 16) + sx, (y * 16) + sy, 15);
}
}
count = 0;
@@ -270,7 +270,7 @@ void ddealer_state::ddealer_draw_video_layer( UINT16* vreg_base, UINT16* top, UI
UINT16 tile = (src[count] & 0x0fff);
UINT16 colr = (src[count] & 0xf000) >> 12;
count++;
- gfx->transpen(bitmap,cliprect, tile, colr, flipy, flipy, (x * 16) + sx, (y * 16) + sy, 15);
+ gfx->transpen(bitmap,cliprect, tile, colr, flipy, flipy, (x * 16) + sx, (y * 16) + sy, 15);
}
}
}
diff --git a/src/mame/drivers/ddenlovr.c b/src/mame/drivers/ddenlovr.c
index 477a633d25f..c265ca3ebd9 100644
--- a/src/mame/drivers/ddenlovr.c
+++ b/src/mame/drivers/ddenlovr.c
@@ -9785,7 +9785,7 @@ static MACHINE_CONFIG_START( kotbinyo, ddenlovr_state )
/* devices */
// MCFG_DEVICE_ADD("rtc", MSM6242, XTAL_32_768kHz)
-// MCFG_MSM6242_OUT_INT_HANDLER(WRITELINE(ddenlovr_state, hanakanz_rtc_irq))
+// MCFG_MSM6242_OUT_INT_HANDLER(WRITELINE(ddenlovr_state, hanakanz_rtc_irq))
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( kotbinsp, kotbinyo )
diff --git a/src/mame/drivers/ddragon3.c b/src/mame/drivers/ddragon3.c
index 667f1f86c08..d62287b94ff 100644
--- a/src/mame/drivers/ddragon3.c
+++ b/src/mame/drivers/ddragon3.c
@@ -802,7 +802,7 @@ void ddragon3_state::machine_start()
{
m_paletteram.resize(m_palette->entries());
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
save_item(NAME(m_vreg));
save_item(NAME(m_bg_scrollx));
save_item(NAME(m_bg_scrolly));
@@ -879,7 +879,7 @@ static MACHINE_CONFIG_DERIVED( ctribe, ddragon3 )
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
-
+
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(ddragon3_state, screen_update_ctribe)
diff --git a/src/mame/drivers/dec0.c b/src/mame/drivers/dec0.c
index e6fab911123..37d39a0e9a4 100644
--- a/src/mame/drivers/dec0.c
+++ b/src/mame/drivers/dec0.c
@@ -1487,7 +1487,7 @@ static MACHINE_CONFIG_START( secretab, dec0_automat_state )
deco_mxc06_device::set_gfx_region(*device, 3);
MCFG_DECO_MXC06_GFXDECODE("gfxdecode")
MCFG_DECO_MXC06_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
diff --git a/src/mame/drivers/deco32.c b/src/mame/drivers/deco32.c
index 5e6003ddb4a..b8fbb032852 100644
--- a/src/mame/drivers/deco32.c
+++ b/src/mame/drivers/deco32.c
@@ -1759,7 +1759,7 @@ static MACHINE_CONFIG_START( captaven, deco32_state )
MCFG_DECO16IC_ADD("tilegen1", captaven_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", captaven_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1834,7 +1834,7 @@ static MACHINE_CONFIG_START( fghthist, deco32_state ) /* DE-0380-2 PCB */
MCFG_DECO16IC_ADD("tilegen1", fghthist_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", fghthist_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1896,7 +1896,7 @@ static MACHINE_CONFIG_START( fghthsta, deco32_state ) /* DE-0395-1 PCB */
MCFG_DECO16IC_ADD("tilegen1", fghthist_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", fghthist_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -2021,7 +2021,7 @@ static MACHINE_CONFIG_START( dragngun, dragngun_state )
MCFG_DECO16IC_ADD("tilegen1", dragngun_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", dragngun_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -2108,7 +2108,7 @@ static MACHINE_CONFIG_START( lockload, dragngun_state )
MCFG_DECO16IC_ADD("tilegen1", lockload_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", lockload_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -2197,7 +2197,7 @@ static MACHINE_CONFIG_START( tattass, deco32_state )
MCFG_DECO16IC_ADD("tilegen1", tattass_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", tattass_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -2245,12 +2245,12 @@ static MACHINE_CONFIG_START( nslasher, deco32_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_SIZE(42*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_DRIVER(deco32_state, screen_update_nslasher)
+ MCFG_SCREEN_UPDATE_DRIVER(deco32_state, screen_update_nslasher)
MCFG_DECO16IC_ADD("tilegen1", tattass_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", tattass_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
diff --git a/src/mame/drivers/deco_ld.c b/src/mame/drivers/deco_ld.c
index 115f838460d..58a214ec83f 100644
--- a/src/mame/drivers/deco_ld.c
+++ b/src/mame/drivers/deco_ld.c
@@ -141,7 +141,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_laserdisc_data;
int m_nmimask;
DECLARE_WRITE8_MEMBER(rblaster_sound_w);
@@ -266,7 +266,7 @@ WRITE8_MEMBER(deco_ld_state::decold_sound_cmd_w)
/* same as Burger Time HW */
WRITE8_MEMBER(deco_ld_state::decold_palette_w)
{
- m_palette->write(space, offset, UINT8(~data));
+ m_palette->write(space, offset, UINT8(~data));
}
/* unknown, but certainly related to audiocpu somehow */
diff --git a/src/mame/drivers/deshoros.c b/src/mame/drivers/deshoros.c
index d411386955c..20dfafee093 100644
--- a/src/mame/drivers/deshoros.c
+++ b/src/mame/drivers/deshoros.c
@@ -275,7 +275,7 @@ static MACHINE_CONFIG_START( destiny, destiny_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 48*8-1, 0*8, 16*8-1)
MCFG_SCREEN_UPDATE_DRIVER(destiny_state, screen_update_destiny)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 16)
diff --git a/src/mame/drivers/destroyr.c b/src/mame/drivers/destroyr.c
index 465431a3416..046d862dc9e 100644
--- a/src/mame/drivers/destroyr.c
+++ b/src/mame/drivers/destroyr.c
@@ -56,7 +56,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(destroyr_misc_w);
DECLARE_WRITE8_MEMBER(destroyr_cursor_load_w);
DECLARE_WRITE8_MEMBER(destroyr_interrupt_ack_w);
diff --git a/src/mame/drivers/dfruit.c b/src/mame/drivers/dfruit.c
index 59bf94ca7cf..16e1df8c116 100644
--- a/src/mame/drivers/dfruit.c
+++ b/src/mame/drivers/dfruit.c
@@ -403,11 +403,11 @@ static MACHINE_CONFIG_START( dfruit, dfruit_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", dfruit )
MCFG_PALETTE_ADD("palette", 0x100)
-
+
MCFG_DEVICE_ADD("tc0091lvc", TC0091LVC, 0)
MCFG_TC0091LVC_GFXDECODE("gfxdecode")
MCFG_TC0091LVC_PALETTE("palette")
-
+
MCFG_I8255A_ADD( "ppi8255_0", ppi8255_intf )
/* sound hardware */
diff --git a/src/mame/drivers/discoboy.c b/src/mame/drivers/discoboy.c
index e5a2a98795f..e60bbe4fb10 100644
--- a/src/mame/drivers/discoboy.c
+++ b/src/mame/drivers/discoboy.c
@@ -487,12 +487,12 @@ WRITE_LINE_MEMBER(discoboy_state::yunsung8_adpcm_int)
static MACHINE_CONFIG_START( discoboy, discoboy_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/2) /* 6 MHz? */
+ MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/2) /* 6 MHz? */
MCFG_CPU_PROGRAM_MAP(discoboy_map)
MCFG_CPU_IO_MAP(io_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", discoboy_state, irq0_line_hold)
- MCFG_CPU_ADD("audiocpu", Z80, XTAL_10MHz/2) /* 5 MHz? */
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_10MHz/2) /* 5 MHz? */
MCFG_CPU_PROGRAM_MAP(sound_map)
MCFG_CPU_PERIODIC_INT_DRIVER(discoboy_state, nmi_line_pulse, 32*60)
@@ -513,7 +513,7 @@ static MACHINE_CONFIG_START( discoboy, discoboy_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MCFG_SOUND_ADD("ymsnd", YM3812, XTAL_10MHz/4) /* 2.5 MHz? */
+ MCFG_SOUND_ADD("ymsnd", YM3812, XTAL_10MHz/4) /* 2.5 MHz? */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.6)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.6)
diff --git a/src/mame/drivers/dkong.c b/src/mame/drivers/dkong.c
index 6921d4cfa7c..74057de0e6a 100644
--- a/src/mame/drivers/dkong.c
+++ b/src/mame/drivers/dkong.c
@@ -752,7 +752,7 @@ READ8_MEMBER(dkong_state::strtheat_inputport_1_r)
}
WRITE8_MEMBER(dkong_state::dkong_z80dma_rdy_w)
-{
+{
m_z80dma->rdy_w(data & 0x01);
}
@@ -1731,7 +1731,7 @@ static MACHINE_CONFIG_START( dkong3, dkong_state )
MCFG_SCREEN_UPDATE_DRIVER(dkong_state, screen_update_dkong)
MCFG_SCREEN_PALETTE("palette")
- MCFG_GFXDECODE_ADD("gfxdecode", "palette", dkong)
+ MCFG_GFXDECODE_ADD("gfxdecode", "palette", dkong)
MCFG_PALETTE_ADD("palette", DK3_PALETTE_LENGTH)
MCFG_PALETTE_INIT_OWNER(dkong_state,dkong3)
@@ -1763,7 +1763,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( dkong3b, dkongjr )
- /* basic machine hardware */
+ /* basic machine hardware */
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_INIT_OWNER(dkong_state,dkong3)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/docastle.c b/src/mame/drivers/docastle.c
index af5edc0924d..6c4fac61f8e 100644
--- a/src/mame/drivers/docastle.c
+++ b/src/mame/drivers/docastle.c
@@ -626,7 +626,7 @@ static MACHINE_CONFIG_START( docastle, docastle_state )
/* video hardware */
MCFG_MC6845_ADD("crtc", H46505, "screen", XTAL_9_828MHz / 16, crtc_intf)
-
+
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(XTAL_9_828MHz/2, 0x138, 8, 0x100-8, 0x108, 0, 0xc0) // from crtc
MCFG_SCREEN_UPDATE_DRIVER(docastle_state, screen_update_docastle)
diff --git a/src/mame/drivers/dominob.c b/src/mame/drivers/dominob.c
index af471ccaba8..6ffee9346d9 100644
--- a/src/mame/drivers/dominob.c
+++ b/src/mame/drivers/dominob.c
@@ -139,7 +139,6 @@ UINT32 dominob_state::screen_update_dominob(screen_device &screen, bitmap_ind16
{
for (x = 0; x < 256 / 32; x++)
{
-
m_gfxdecode->gfx(1)->opaque(bitmap,
cliprect,
m_bgram[index] + 256 * (m_bgram[index + 1] & 0xf),
@@ -154,7 +153,6 @@ UINT32 dominob_state::screen_update_dominob(screen_device &screen, bitmap_ind16
{
for (x = 0; x < 32; x++)
{
-
m_gfxdecode->gfx(0)->transpen(bitmap,
cliprect,
m_videoram[(y * 32 + x) * 2 + 1] + (m_videoram[(y * 32 + x) * 2] & 7) * 256,
diff --git a/src/mame/drivers/dooyong.c b/src/mame/drivers/dooyong.c
index 7f46cbc9e35..cc36740343b 100644
--- a/src/mame/drivers/dooyong.c
+++ b/src/mame/drivers/dooyong.c
@@ -1661,7 +1661,7 @@ ROM_START( flytigera ) // alt pcb type
ROM_LOAD( "ftiger_2.4h", 0x08000, 0x08000, CRC(ca9d6713) SHA1(645cccc06c7f6744b25e7917f414956856419b8a) )
ROM_CONTINUE( 0x00000, 0x8000 )
- ROM_REGION( 0x80000, "gfx2", 0 ) /* sprites */
+ ROM_REGION( 0x80000, "gfx2", 0 ) /* sprites */
ROM_LOAD16_BYTE( "ftiger_16.4h", 0x00000, 0x20000, CRC(8a158b95) SHA1(ed09d9c40b76a27e06601381e463a00b16555f1e) )
ROM_LOAD16_BYTE( "ftiger_15.2h", 0x00001, 0x20000, CRC(399f6043) SHA1(ea0debd6d0f8c61f0078809c2828734fc15e891d) )
ROM_LOAD16_BYTE( "ftiger_14.4k", 0x40000, 0x20000, CRC(df66b6f3) SHA1(3a29ae69a09306c5a2a2786acbf227832b408152) )
diff --git a/src/mame/drivers/dorachan.c b/src/mame/drivers/dorachan.c
index 5d8f46f3311..b618e54233f 100644
--- a/src/mame/drivers/dorachan.c
+++ b/src/mame/drivers/dorachan.c
@@ -38,7 +38,7 @@ public:
virtual void machine_reset();
UINT32 screen_update_dorachan(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
diff --git a/src/mame/drivers/dotrikun.c b/src/mame/drivers/dotrikun.c
index 98e0c4b4308..49ed44d8890 100644
--- a/src/mame/drivers/dotrikun.c
+++ b/src/mame/drivers/dotrikun.c
@@ -43,7 +43,7 @@ public:
virtual void machine_reset();
UINT32 screen_update_dotrikun(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
diff --git a/src/mame/drivers/dreamwld.c b/src/mame/drivers/dreamwld.c
index 0f66957c59b..bf2f8c81cf1 100644
--- a/src/mame/drivers/dreamwld.c
+++ b/src/mame/drivers/dreamwld.c
@@ -223,10 +223,10 @@ void dreamwld_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
{
for (xct = 0; xct < xsize; xct++)
{
- gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, xpos + xct * xinc, ypos + yct * yinc, 0);
- gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, (xpos + xct * xinc) - 0x200, ypos + yct * yinc, 0);
- gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, (xpos + xct * xinc) - 0x200, (ypos + yct * yinc) - 0x200, 0);
- gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, xpos + xct * xinc, (ypos + yct * yinc) - 0x200 , 0);
+ gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, xpos + xct * xinc, ypos + yct * yinc, 0);
+ gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, (xpos + xct * xinc) - 0x200, ypos + yct * yinc, 0);
+ gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, (xpos + xct * xinc) - 0x200, (ypos + yct * yinc) - 0x200, 0);
+ gfx->transpen(bitmap,cliprect, redirect[tileno], colour, xflip, yflip, xpos + xct * xinc, (ypos + yct * yinc) - 0x200 , 0);
tileno++;
}
diff --git a/src/mame/drivers/dunhuang.c b/src/mame/drivers/dunhuang.c
index 0af7c0c6f19..736d4a5d834 100644
--- a/src/mame/drivers/dunhuang.c
+++ b/src/mame/drivers/dunhuang.c
@@ -130,7 +130,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/drivers/dwarfd.c b/src/mame/drivers/dwarfd.c
index f6a20e5734f..00fdc877e0c 100644
--- a/src/mame/drivers/dwarfd.c
+++ b/src/mame/drivers/dwarfd.c
@@ -307,7 +307,7 @@ public:
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
/* video-related */
@@ -337,7 +337,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(i8275_preg_w);
DECLARE_READ8_MEMBER(i8275_preg_r);
DECLARE_WRITE8_MEMBER(i8275_creg_w);
diff --git a/src/mame/drivers/ecoinf2.c b/src/mame/drivers/ecoinf2.c
index 05d60f41358..0df6d52d88a 100644
--- a/src/mame/drivers/ecoinf2.c
+++ b/src/mame/drivers/ecoinf2.c
@@ -21,7 +21,7 @@ class ecoinf2_state : public driver_device
public:
ecoinf2_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
+ m_maincpu(*this, "maincpu"),
m_coins(*this, "COINS"),
m_key(*this, "PERKEY"),
m_panel(*this, "PANEL")
@@ -38,7 +38,7 @@ public:
UINT16 m_lamps[16];
UINT16 m_leds[16];
//UINT16 m_chars[14];
-// void update_display();
+// void update_display();
int m_optic_pattern;
int strobe_addr;
int strobe_amount;
@@ -89,7 +89,7 @@ public:
}
DECLARE_WRITE8_MEMBER(ppi8255_ic10_write_c_strobe)
{
-// if (data>=0xf0)
+// if (data>=0xf0)
{
strobe_addr = data & 0xf;
@@ -100,7 +100,7 @@ public:
update_lamps();
update_leds();
}
- // else logerror("%04x - ppi8255_ic10_(used)write_c %02x (UNUSUAL?)\n", m_maincpu->pcbase(), data);
+ // else logerror("%04x - ppi8255_ic10_(used)write_c %02x (UNUSUAL?)\n", m_maincpu->pcbase(), data);
}
@@ -149,7 +149,7 @@ public:
return 0x00;
}
-// return m_misc->read();
+// return m_misc->read();
}
@@ -177,11 +177,11 @@ public:
coin_lockout_w(machine(), 1, (data & 0x02) );
coin_lockout_w(machine(), 2, (data & 0x04) );
coin_lockout_w(machine(), 3, (data & 0x08) );
- coin_lockout_w(machine(), 4, (data & 0x10) );
-
+ coin_lockout_w(machine(), 4, (data & 0x10) );
+
//int wdog = (data& 0x80);
}
-
+
@@ -254,7 +254,7 @@ static I8255_INTERFACE (ppi8255_ic22_intf)//inputs
DEVCB_DRIVER_MEMBER(ecoinf2_state,ppi8255_ic22_read_c_misc), /* Port C read (0x20 appears to be meter power)*/
DEVCB_NULL
};
-
+
// IC24 is the workhorse of the Phoenix, it seems to handle meters, payslides, coin lamps, inhibits and the watchdog! */
static I8255_INTERFACE (ppi8255_ic24_intf)//coins and related
{
@@ -295,10 +295,10 @@ static ADDRESS_MAP_START( oxo_portmap, AS_IO, 8, ecoinf2_state )
AM_RANGE(0x48, 0x4b) AM_DEVREADWRITE("ic22_inpt", i8255_device, read, write) //*
AM_RANGE(0x4c, 0x4f) AM_DEVREADWRITE("ic23_reel", i8255_device, read, write)
AM_RANGE(0x50, 0x53) AM_DEVREADWRITE("ic13_leds", i8255_device, read, write) //*
-// AM_RANGE(0x54, 0x57) AM_DEVREADWRITE("ic25_dips", i8255_device, read, write) // is this an 8255, or a mirrored byte read?
+// AM_RANGE(0x54, 0x57) AM_DEVREADWRITE("ic25_dips", i8255_device, read, write) // is this an 8255, or a mirrored byte read?
-
-// AM_RANGE(0x5c, 0x5c) AM_WRITE(ox_port5c_out_w)
+
+// AM_RANGE(0x5c, 0x5c) AM_WRITE(ox_port5c_out_w)
ADDRESS_MAP_END
@@ -494,7 +494,7 @@ static INPUT_PORTS_START( ecoinf2 )
PORT_DIPNAME( 0x80, 0x80, "IN7:80" )
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
-
+
PORT_START("PANEL")
PORT_DIPNAME( 0x01, 0x01, "IN8:01" )
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
@@ -561,7 +561,7 @@ static MACHINE_CONFIG_START( ecoinf2_oxo, ecoinf2_state )
MCFG_CPU_ADD("maincpu", Z180,4000000) // some of these hit invalid opcodes with a plain z80, some don't?
MCFG_CPU_PROGRAM_MAP(oxo_memmap)
MCFG_CPU_IO_MAP(oxo_portmap)
-
+
MCFG_DEFAULT_LAYOUT(layout_ecoinf2)
MCFG_MACHINE_START_OVERRIDE(ecoinf2_state, ecoinf2 )
@@ -571,7 +571,7 @@ static MACHINE_CONFIG_START( ecoinf2_oxo, ecoinf2_state )
MCFG_I8255_ADD( "ic22_inpt", ppi8255_ic22_intf )
MCFG_I8255_ADD( "ic23_reel", ppi8255_ic23_intf )
MCFG_I8255_ADD( "ic13_leds", ppi8255_ic13_intf )
-// MCFG_I8255_ADD( "ic25_dips", ppi8255_ic25_intf )
+// MCFG_I8255_ADD( "ic25_dips", ppi8255_ic25_intf )
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/electra.c b/src/mame/drivers/electra.c
index 69c802d9809..89dfae26052 100644
--- a/src/mame/drivers/electra.c
+++ b/src/mame/drivers/electra.c
@@ -1,7 +1,7 @@
/***************************************************************************
-
+
Electra discrete hardware games
-
+
Game Name
Avenger (1975) EG-1020
Eliminator IV (1976)
@@ -9,7 +9,7 @@
Pace Car Pro (1975) EG-1000
UFO Chase (1975) EG-1010
Wings (1976)
-
+
***************************************************************************/
@@ -49,38 +49,38 @@ class electra_state : public driver_device
public:
electra_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(electra)
SOLVER(Solve, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -110,9 +110,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/enigma2.c b/src/mame/drivers/enigma2.c
index fbf9b9c7b4d..b19f9db34d8 100644
--- a/src/mame/drivers/enigma2.c
+++ b/src/mame/drivers/enigma2.c
@@ -82,7 +82,7 @@ public:
/* devices */
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
DECLARE_READ8_MEMBER(dip_switch_r);
DECLARE_WRITE8_MEMBER(sound_data_w);
DECLARE_WRITE8_MEMBER(enigma2_flip_screen_w);
diff --git a/src/mame/drivers/exedexes.c b/src/mame/drivers/exedexes.c
index 9be1bd7f551..96adad8fba3 100644
--- a/src/mame/drivers/exedexes.c
+++ b/src/mame/drivers/exedexes.c
@@ -236,7 +236,7 @@ static MACHINE_CONFIG_START( exedexes, exedexes_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", exedexes)
-
+
MCFG_PALETTE_ADD("palette", 64*4+64*4+16*16+16*16)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(exedexes_state, exedexes)
diff --git a/src/mame/drivers/exerion.c b/src/mame/drivers/exerion.c
index bdd771bc2e3..5097a1f6be6 100644
--- a/src/mame/drivers/exerion.c
+++ b/src/mame/drivers/exerion.c
@@ -400,7 +400,7 @@ static MACHINE_CONFIG_START( exerion, exerion_state )
MCFG_SCREEN_RAW_PARAMS(EXERION_PIXEL_CLOCK, EXERION_HTOTAL, EXERION_HBEND, EXERION_HBSTART, EXERION_VTOTAL, EXERION_VBEND, EXERION_VBSTART)
MCFG_SCREEN_UPDATE_DRIVER(exerion_state, screen_update_exerion)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", exerion)
MCFG_PALETTE_ADD("palette", 256*3)
MCFG_PALETTE_INDIRECT_ENTRIES(32)
diff --git a/src/mame/drivers/exidyttl.c b/src/mame/drivers/exidyttl.c
index dd45ea2de50..6a6244c16dc 100644
--- a/src/mame/drivers/exidyttl.c
+++ b/src/mame/drivers/exidyttl.c
@@ -13,7 +13,7 @@ Exidy discrete hardware games
Super Death Chase (1977)
Table Football (1975)
Tv Pinball (1974)
-
+
***************************************************************************/
@@ -53,15 +53,15 @@ class exidyttl_state : public driver_device
public:
exidyttl_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
// driver_device overrides
@@ -77,14 +77,14 @@ private:
static NETLIST_START(attack)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -105,7 +105,7 @@ void exidyttl_state::video_start()
static MACHINE_CONFIG_START( attack, exidyttl_state )
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
+ MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
MCFG_NETLIST_SETUP(attack)
/* video hardware */
@@ -147,32 +147,32 @@ ROM_END
/***********
Exidy Death Race 1976
-
+
Drawing Name
------------
- 6331-36.E7 32x8 Right Gremlin
- 6301-91.J10 256x4
-
- 6331-36.R7 32x8 Left Gremlin
- 6301-91.V10 256x4
-
- 6301-92.V5 P1 (left car)
+ 6331-36.E7 32x8 Right Gremlin
+ 6301-91.J10 256x4
+
+ 6331-36.R7 32x8 Left Gremlin
+ 6301-91.V10 256x4
+
+ 6301-92.V5 P1 (left car)
6331-35.T7
-
- 6301-92.J5 P2 (right car)
+
+ 6301-92.J5 P2 (right car)
6331-35.G7
-
- 6301-97.M11 Image Generation
+
+ 6301-97.M11 Image Generation
6301-98.L11
6301-99.K11
6301-100.J11
-
- 6331-33.P14 Score & Timer
-
- 6331-31.A11 Timing / Sync
+
+ 6331-33.P14 Score & Timer
+
+ 6331-31.A11 Timing / Sync
6331-32.C12
-
-***********/
+
+***********/
ROM_START( deathrac )
diff --git a/src/mame/drivers/exprraid.c b/src/mame/drivers/exprraid.c
index d277395872d..cf596f2a4d8 100644
--- a/src/mame/drivers/exprraid.c
+++ b/src/mame/drivers/exprraid.c
@@ -509,10 +509,10 @@ static MACHINE_CONFIG_START( exprraid, exprraid_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// 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, 1*8, 31*8-1)
+// MCFG_SCREEN_REFRESH_RATE(60)
+// 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, 1*8, 31*8-1)
MCFG_SCREEN_RAW_PARAMS(XTAL_12MHz/2, 384, 0, 256, 262, 8, 256-8) /* not accurate */
MCFG_SCREEN_UPDATE_DRIVER(exprraid_state, screen_update_exprraid)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/f1gp.c b/src/mame/drivers/f1gp.c
index 6c4d1155481..475eb1a05c1 100644
--- a/src/mame/drivers/f1gp.c
+++ b/src/mame/drivers/f1gp.c
@@ -186,7 +186,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( f1gpb_cpu2_map, AS_PROGRAM, 16, f1gp_state )
AM_RANGE(0x000000, 0x01ffff) AM_ROM
- AM_RANGE(0xff8000, 0xffbfff) AM_RAM
+ AM_RANGE(0xff8000, 0xffbfff) AM_RAM
AM_RANGE(0xffc000, 0xffcfff) AM_RAM AM_SHARE("sharedram")
AM_RANGE(0xfff030, 0xfff031) AM_NOP //?
ADDRESS_MAP_END
@@ -442,7 +442,7 @@ static MACHINE_CONFIG_START( f1gp, f1gp_state )
MCFG_VSYSTEM_SPR2_SET_PRITYPE(2)
MCFG_VSYSTEM_SPR2_GFXDECODE("gfxdecode")
MCFG_VSYSTEM_SPR2_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("vsystem_spr_ol2", VSYSTEM_SPR2, 0)
MCFG_VSYSTEM_SPR2_SET_TILE_INDIRECT( f1gp_state, f1gp_ol2_tile_callback )
MCFG_VSYSTEM_SPR2_SET_GFXREGION(2)
diff --git a/src/mame/drivers/fantland.c b/src/mame/drivers/fantland.c
index b4ab05d2608..406f74c6abc 100644
--- a/src/mame/drivers/fantland.c
+++ b/src/mame/drivers/fantland.c
@@ -996,7 +996,7 @@ static MACHINE_CONFIG_START( borntofi, fantland_state )
MCFG_MSM5205_VCLK_CB(WRITELINE(fantland_state, borntofi_adpcm_int_0)) /* IRQ handler */
MCFG_MSM5205_PRESCALER_SELECTOR(MSM5205_S48_4B) /* 8 kHz, 4 Bits */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
-
+
MCFG_SOUND_ADD("msm2", MSM5205, 384000)
MCFG_MSM5205_VCLK_CB(WRITELINE(fantland_state, borntofi_adpcm_int_1)) /* IRQ handler */
MCFG_MSM5205_PRESCALER_SELECTOR(MSM5205_S48_4B) /* 8 kHz, 4 Bits */
diff --git a/src/mame/drivers/fcrash.c b/src/mame/drivers/fcrash.c
index 2c24494e49a..d312f9da4a4 100644
--- a/src/mame/drivers/fcrash.c
+++ b/src/mame/drivers/fcrash.c
@@ -1301,7 +1301,7 @@ static INPUT_PORTS_START( sf2mdtb )
PORT_DIPNAME( 0x40, 0x40, "2 Coins to Start, 1 to Continue" ) PORT_DIPLOCATION("SW(A):7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW(A):8" ) //sort of debug mode...
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW(A):8" ) //sort of debug mode...
//depnding (???) of other DSW setting get different
//"game" mode, autoplay, bonus round, ecc...
PORT_START("DSWB")
@@ -2482,7 +2482,7 @@ static MACHINE_CONFIG_START( sf2m1, cps_state )
MCFG_SCREEN_UPDATE_DRIVER(cps_state, screen_update_fcrash)
MCFG_SCREEN_VBLANK_DRIVER(cps_state, screen_eof_cps1)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", cps1)
MCFG_PALETTE_ADD("palette", 0xc00)
MCFG_VIDEO_START_OVERRIDE(cps_state,cps1)
diff --git a/src/mame/drivers/feversoc.c b/src/mame/drivers/feversoc.c
index e476291c82a..986ae80c1a9 100644
--- a/src/mame/drivers/feversoc.c
+++ b/src/mame/drivers/feversoc.c
@@ -256,7 +256,7 @@ static MACHINE_CONFIG_START( feversoc, feversoc_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(40*8, 32*8)
- MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 30*8-1) //dynamic resolution?
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 30*8-1) //dynamic resolution?
MCFG_SCREEN_UPDATE_DRIVER(feversoc_state, screen_update_feversoc)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/firefox.c b/src/mame/drivers/firefox.c
index 91e2872d0ed..305599f5bb0 100644
--- a/src/mame/drivers/firefox.c
+++ b/src/mame/drivers/firefox.c
@@ -730,7 +730,7 @@ static MACHINE_CONFIG_START( firefox, firefox_state )
MCFG_LASERDISC_22VP931_ADD("laserdisc")
- MCFG_LASERDISC_OVERLAY_DRIVER(64*8, 525, firefox_state, screen_update_firefox)
+ MCFG_LASERDISC_OVERLAY_DRIVER(64*8, 525, firefox_state, screen_update_firefox)
MCFG_LASERDISC_OVERLAY_CLIP(7*8, 53*8-1, 44, 480+44)
MCFG_LASERDISC_OVERLAY_PALETTE("palette")
diff --git a/src/mame/drivers/firetrk.c b/src/mame/drivers/firetrk.c
index db545314853..5c84fd1ea8e 100644
--- a/src/mame/drivers/firetrk.c
+++ b/src/mame/drivers/firetrk.c
@@ -49,11 +49,11 @@ INPUT_CHANGED_MEMBER(firetrk_state::gear_changed)
TIMER_DEVICE_CALLBACK_MEMBER(firetrk_state::firetrk_scanline)
{
int scanline = param;
-
+
// periodic IRQs are generated by inverse 16V signal
if ((scanline & 0x1f) == 0)
generic_pulse_irq_line(m_maincpu, 0, 1);
-
+
// vblank interrupt
// NMIs are disabled during service mode
if (!m_in_service_mode && scanline == 240)
diff --git a/src/mame/drivers/flipjack.c b/src/mame/drivers/flipjack.c
index 39037d2a6fb..3dfcbbb9ff9 100644
--- a/src/mame/drivers/flipjack.c
+++ b/src/mame/drivers/flipjack.c
@@ -98,7 +98,7 @@ public:
m_vram(*this, "vram"),
m_cram(*this, "cram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
m_soundlatch = 0;
m_bank = 0;
@@ -112,7 +112,7 @@ public:
required_shared_ptr<UINT8> m_fbram;
required_shared_ptr<UINT8> m_vram;
required_shared_ptr<UINT8> m_cram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
@@ -204,7 +204,7 @@ UINT32 flipjack_state::screen_update_flipjack(screen_device &screen, bitmap_rgb3
int tile = m_bank << 8 | m_vram[x+y*0x100];
int color = m_cram[x+y*0x100] & 0x3f;
- gfx->transpen(bitmap,cliprect, tile, color, 0, 0, x*8, y*8, 0);
+ gfx->transpen(bitmap,cliprect, tile, color, 0, 0, x*8, y*8, 0);
}
}
diff --git a/src/mame/drivers/flkatck.c b/src/mame/drivers/flkatck.c
index 3adf4b5f16f..77050aaf3b1 100644
--- a/src/mame/drivers/flkatck.c
+++ b/src/mame/drivers/flkatck.c
@@ -289,14 +289,14 @@ ROM_START( flkatcka )
ROM_LOAD( "669_m02.16b", 0x000000, 0x008000, CRC(7e11e6b9) SHA1(7a7d65a458b15842a6345388007c8f682aec20a7) )
ROM_REGION( 0x080000, "gfx1", 0 ) /* tiles + sprites */ // same data as above set, on PWB 450593 sub-board instead.
- ROM_LOAD16_BYTE( "669_f03a.4b", 0x000001, 0x010000, CRC(f0ed4c1e) SHA1(58efe3cd81054d22de54a7d195aa3b865bde4a01) )
- ROM_LOAD16_BYTE( "669_f03e.4d", 0x000000, 0x010000, CRC(95a57a26) SHA1(c8aa30c2c734c0740630b1b04ae43c69931cc7c1) )
- ROM_LOAD16_BYTE( "669_f03b.5b", 0x020001, 0x010000, CRC(e2593f3c) SHA1(aa0f6d04015650eaef17c4a39f228eaccf9a2948) )
- ROM_LOAD16_BYTE( "669_f03f.5d", 0x020000, 0x010000, CRC(c6c9903e) SHA1(432ad6d03992499cc533273226944a666b40fa58) )
- ROM_LOAD16_BYTE( "669_f03c.6b", 0x040001, 0x010000, CRC(47be92dd) SHA1(9ccc62d7d42fccbd5ad60e35e3a0478a04405cf1) )
- ROM_LOAD16_BYTE( "669_f03g.6d", 0x040000, 0x010000, CRC(70d35fbd) SHA1(21384f738684c5da4a7a84a1c9aa173fffddf47a) )
- ROM_LOAD16_BYTE( "669_f03d.7b", 0x060001, 0x010000, CRC(18d48f9e) SHA1(b95e38aa813e0f3a0dc6bd45fdb4bf71f7e2066c) )
- ROM_LOAD16_BYTE( "669_f03h.7d", 0x060000, 0x010000, CRC(abfe76e7) SHA1(f8661f189308e83056ec442fa6c936efff67ba0a) )
+ ROM_LOAD16_BYTE( "669_f03a.4b", 0x000001, 0x010000, CRC(f0ed4c1e) SHA1(58efe3cd81054d22de54a7d195aa3b865bde4a01) )
+ ROM_LOAD16_BYTE( "669_f03e.4d", 0x000000, 0x010000, CRC(95a57a26) SHA1(c8aa30c2c734c0740630b1b04ae43c69931cc7c1) )
+ ROM_LOAD16_BYTE( "669_f03b.5b", 0x020001, 0x010000, CRC(e2593f3c) SHA1(aa0f6d04015650eaef17c4a39f228eaccf9a2948) )
+ ROM_LOAD16_BYTE( "669_f03f.5d", 0x020000, 0x010000, CRC(c6c9903e) SHA1(432ad6d03992499cc533273226944a666b40fa58) )
+ ROM_LOAD16_BYTE( "669_f03c.6b", 0x040001, 0x010000, CRC(47be92dd) SHA1(9ccc62d7d42fccbd5ad60e35e3a0478a04405cf1) )
+ ROM_LOAD16_BYTE( "669_f03g.6d", 0x040000, 0x010000, CRC(70d35fbd) SHA1(21384f738684c5da4a7a84a1c9aa173fffddf47a) )
+ ROM_LOAD16_BYTE( "669_f03d.7b", 0x060001, 0x010000, CRC(18d48f9e) SHA1(b95e38aa813e0f3a0dc6bd45fdb4bf71f7e2066c) )
+ ROM_LOAD16_BYTE( "669_f03h.7d", 0x060000, 0x010000, CRC(abfe76e7) SHA1(f8661f189308e83056ec442fa6c936efff67ba0a) )
ROM_REGION( 0x040000, "k007232", 0 ) /* 007232 data (chip 1) */
ROM_LOAD( "mask2m.11a", 0x000000, 0x040000, CRC(6d1ea61c) SHA1(9e6eb9ac61838df6e1f74e74bb72f3edf1274aed) )
diff --git a/src/mame/drivers/flyball.c b/src/mame/drivers/flyball.c
index bae7da01d88..ccbd7f2ec76 100644
--- a/src/mame/drivers/flyball.c
+++ b/src/mame/drivers/flyball.c
@@ -57,7 +57,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(flyball_input_r);
DECLARE_READ8_MEMBER(flyball_scanline_r);
DECLARE_READ8_MEMBER(flyball_potsense_r);
diff --git a/src/mame/drivers/fungames.c b/src/mame/drivers/fungames.c
index e4566a0ccab..b0bd63e466b 100644
--- a/src/mame/drivers/fungames.c
+++ b/src/mame/drivers/fungames.c
@@ -1,7 +1,7 @@
/***************************************************************************
-
+
Fun Games discrete hardware games
-
+
Biplane (1975)
Biplane 4 (1976)
King
@@ -9,7 +9,7 @@
Take 5 (1975)
Take 7 (1975)
Tankers (1975)
-
+
***************************************************************************/
@@ -49,38 +49,38 @@ class fungames_state : public driver_device
public:
fungames_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(fungames)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -110,9 +110,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/funkyjet.c b/src/mame/drivers/funkyjet.c
index 6ead868c6b5..3a33702024e 100644
--- a/src/mame/drivers/funkyjet.c
+++ b/src/mame/drivers/funkyjet.c
@@ -345,7 +345,7 @@ static MACHINE_CONFIG_START( funkyjet, funkyjet_state )
MCFG_DECO16IC_ADD("tilegen1", funkyjet_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
diff --git a/src/mame/drivers/funworld.c b/src/mame/drivers/funworld.c
index f8d2ebdd5c3..47d83bf3e46 100644
--- a/src/mame/drivers/funworld.c
+++ b/src/mame/drivers/funworld.c
@@ -6,7 +6,7 @@
65C02 + 2x PIAs + M6845 CRTC + AY8910
Also from Amatic, CMC, Dino4 encrypted, and Leopard 4.
-
+
Driver by Roberto Fresca.
Based on a preliminary work of Curt Coder & Peter Trauner.
@@ -159,11 +159,11 @@
complex operations for each byte nibble. See DRIVER_INIT for the final algorithm.
- Saloon (french) use bitswaps to address & data in program, graphics and color PROM.
- Dino4 hardware games have address/data bitswap in program, and data bitswap (sometimes
- with extra boolean XOR operations) in graphics.
+ with extra boolean XOR operations) in graphics.
- Microcontroller. Some games (like Soccer New and Mongolfier New are using an extra MCU mainly
for protection.
-
+
- Mirrored video and color RAM. A derivative of CMC hardware uses this trick to avoid ROM swaps.
If you run Luna Park in a regular CMC board, you'll get an unplayable mess of graphics.
@@ -226,7 +226,7 @@
Also PRG rom higher address line is connected to DIP switch #1 so it should have 2 games
in the same PCB (2 revisions?).
-
+
There is at least one missing game in the family... 'Hyppo Family', also from C.M.C.
This game should be located and dumped.
@@ -416,15 +416,15 @@
Press DEAL/DRAW to exit the mode.
-
+
* Unknown Royal Card on Dino4 hardware....
-
+
This one is really strange. The game is running in a Dino4 hardware, plus a daughterboard
with a mexican Rockwell R65C02 + an unknown PLCC. The program/gfx are totally decrypted.
The game vectors are $C122 (RESET) and $C20F (IRQ)
-
+
The code starts...
-
+
C122: A2 FF LDX #$FF ; load 0xFF to reg X
C124: 9A TXS ; transfer to the stack
C125: 78 SEI ; set interrupts
@@ -437,7 +437,7 @@
C132: A9 C2 LDA #$C2 ; /
C134: 8D 02 00 STA $0002 ;/
C137: 4C DC 48 JMP $48DC ; jump to $48DC...
-
+
48DC: 93 NOP ;\
48DD: 00 BRK ; \
48DE: B7 4B SMB3 $4B ; \
@@ -446,13 +446,13 @@
48E3: B7 4D SMB3 $4B ; /
48E5: 05 B7 ORA $B7 ;/
48E7: 4C 05 76 JMP $7605 ; jump to $7605 (no code there)
-
+
And the IRQ vector pointed code... does nothing!
-
+
C20F: 40 RTI ; return from interrupt
-
+
And the code pointed from $0000...
-
+
C210: 48 PHA ; transfer accumulator to stack
C211: AD 01 0A LDA $0A01 ; read the PIA #2 input
C214: 29 F7 AND #$F7 ; \ compare with 0xF7
@@ -472,11 +472,11 @@
Maybe mnemonic 93 is AXA (ab),Y (93 ab) instead of NOP (as seen in some sources)??...
Tooo much obscure/darkness here
-
+
So... No idea what's wrong here.
If someone could figure a possible transform, please let me know.
-
-
+
+
***********************************************************************************
@@ -530,7 +530,7 @@
rcdino4: 0x7C 0x60 0x65 0x08 0x21 0x08 0x1F 0x1F 0x00 0x07 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00.
chinatow: 0x7C 0x60 0x65 0x08 0x21 0x08 0x1F 0x1F 0x00 0x07 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00.
-
+
***********************************************************************************
@@ -1147,7 +1147,7 @@ static ADDRESS_MAP_START( cuoreuno_map, AS_PROGRAM, 8, funworld_state )
AM_RANGE(0x0e01, 0x0e01) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w)
AM_RANGE(0x2000, 0x2000) AM_READNOP /* some unknown reads */
AM_RANGE(0x3e00, 0x3fff) AM_RAM /* some games use $3e03-05 range for protection */
- AM_RANGE(0x4000, 0x5fff) AM_ROM /* used by rcdino4 (dino4 hw ) */
+ AM_RANGE(0x4000, 0x5fff) AM_ROM /* used by rcdino4 (dino4 hw ) */
AM_RANGE(0x6000, 0x6fff) AM_RAM_WRITE(funworld_videoram_w) AM_SHARE("videoram")
AM_RANGE(0x7000, 0x7fff) AM_RAM_WRITE(funworld_colorram_w) AM_SHARE("colorram")
AM_RANGE(0x8000, 0xffff) AM_ROM
@@ -1158,10 +1158,10 @@ READ8_MEMBER(funworld_state::chinatow_r_32f0)
{
logerror("read from 0x32f0 at offset %02X\n",offset);
switch (offset)
- {
- case 0: return 0xfe;
-
- }
+ {
+ case 0: return 0xfe;
+
+ }
return 0xff;
}
@@ -1175,13 +1175,13 @@ static ADDRESS_MAP_START( chinatow_map, AS_PROGRAM, 8, funworld_state )
AM_RANGE(0x0e01, 0x0e01) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w)
AM_RANGE(0x2000, 0x2000) AM_READNOP /* some unknown reads */
AM_RANGE(0x32f0, 0x32ff) AM_READ(chinatow_r_32f0)
- AM_RANGE(0x4000, 0x5fff) AM_ROM /* used by rcdino4 (dino4 hw ) */
+ AM_RANGE(0x4000, 0x5fff) AM_ROM /* used by rcdino4 (dino4 hw ) */
AM_RANGE(0x6000, 0x6fff) AM_RAM_WRITE(funworld_videoram_w) AM_SHARE("videoram")
AM_RANGE(0x7000, 0x7fff) AM_RAM_WRITE(funworld_colorram_w) AM_SHARE("colorram")
AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END
-static ADDRESS_MAP_START( lunapark_map, AS_PROGRAM, 8, funworld_state ) // mirrored video RAM 4000/5000 to 6000/7000
+static ADDRESS_MAP_START( lunapark_map, AS_PROGRAM, 8, funworld_state ) // mirrored video RAM 4000/5000 to 6000/7000
AM_RANGE(0x0000, 0x07ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x0800, 0x0803) AM_DEVREADWRITE("pia0", pia6821_device, read, write)
AM_RANGE(0x0a00, 0x0a03) AM_DEVREADWRITE("pia1", pia6821_device, read, write)
@@ -2024,12 +2024,12 @@ static INPUT_PORTS_START( lunapark )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
/* the following one seems to be disconnected
- to avoid the use of remote credits or direct payout */
+ to avoid the use of remote credits or direct payout */
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
/* the following one is connected to 1st DSW and is meant
- for switch between different programs stored in different
- halves of the program ROM */
+ for switch between different programs stored in different
+ halves of the program ROM */
PORT_START("SELDSW")
PORT_DIPNAME( 0x01, 0x00, "Game Selector" ) PORT_DIPLOCATION("SW1:1")
PORT_DIPSETTING( 0x00, "PROGRAM 1, (5 TIRI LIRE 500, ABILITA VINTE)" )
@@ -2622,60 +2622,60 @@ static INPUT_PORTS_START( novoplay )
INPUT_PORTS_END
static INPUT_PORTS_START( chinatow )
- PORT_START("IN0")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* no remote credits */
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Stop 1 / Switch Bet (1-Max)")
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Clear / Bet / Prendi (Take)")
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start / Gioca (Play) / Gmable")
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Stop 5 / Half Gamble / Super Game")
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
- PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
- PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Stop 4 / Alta (High)")
-
- PORT_START("IN1")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Stop 2 / Bassa (Low)")
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Stop 3")
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Ticket") PORT_CODE(KEYCODE_8)
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
- PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
-
- PORT_START("IN2")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
- PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x01, 0x01, "Test Mode" ) PORT_DIPLOCATION("SW1:8")
- PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x02, 0x02, "Counter" ) PORT_DIPLOCATION("SW1:7")
- PORT_DIPSETTING( 0x02, "X10" )
- PORT_DIPSETTING( 0x00, "X1" )
- PORT_DIPNAME( 0x04, 0x04, "Royal Flush" ) PORT_DIPLOCATION("SW1:6")
- PORT_DIPSETTING( 0x04, "With" )
- PORT_DIPSETTING( 0x00, "Without" )
- PORT_DIPNAME( 0x08, 0x08, "5 of a kind" ) PORT_DIPLOCATION("SW1:5")
- PORT_DIPSETTING( 0x08, "With" )
- PORT_DIPSETTING( 0x00, "Without" )
- PORT_DIPNAME( 0x60, 0x60, "Payout type" ) PORT_DIPLOCATION("SW1:3,2")
- PORT_DIPSETTING( 0x00, "Ticket + Hopper" )
- PORT_DIPSETTING( 0x20, "Ticket" )
- PORT_DIPSETTING( 0x40, "Hopper" )
- PORT_DIPSETTING( 0x60, "Ticket + Hopper" )
- PORT_DIPNAME( 0x90, 0x90, "Coin/Credit ratio" ) PORT_DIPLOCATION("SW1:1,4")
- PORT_DIPSETTING( 0x00, "1 coin 1 credit" )
- PORT_DIPSETTING( 0x10, "1 coin 1 credit" )
- PORT_DIPSETTING( 0x80, "1 coin 5 credits" )
- PORT_DIPSETTING( 0x90, "1 coin 10 credits" )
- INPUT_PORTS_END
+ PORT_START("IN0")
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* no remote credits */
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Stop 1 / Switch Bet (1-Max)")
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Clear / Bet / Prendi (Take)")
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start / Gioca (Play) / Gmable")
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Stop 5 / Half Gamble / Super Game")
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
+ PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
+ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Stop 4 / Alta (High)")
+
+ PORT_START("IN1")
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Stop 2 / Bassa (Low)")
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Stop 3")
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Ticket") PORT_CODE(KEYCODE_8)
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
+ PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
+
+ PORT_START("IN2")
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
+ PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
+ PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
+
+ PORT_START("DSW")
+ PORT_DIPNAME( 0x01, 0x01, "Test Mode" ) PORT_DIPLOCATION("SW1:8")
+ PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+ PORT_DIPNAME( 0x02, 0x02, "Counter" ) PORT_DIPLOCATION("SW1:7")
+ PORT_DIPSETTING( 0x02, "X10" )
+ PORT_DIPSETTING( 0x00, "X1" )
+ PORT_DIPNAME( 0x04, 0x04, "Royal Flush" ) PORT_DIPLOCATION("SW1:6")
+ PORT_DIPSETTING( 0x04, "With" )
+ PORT_DIPSETTING( 0x00, "Without" )
+ PORT_DIPNAME( 0x08, 0x08, "5 of a kind" ) PORT_DIPLOCATION("SW1:5")
+ PORT_DIPSETTING( 0x08, "With" )
+ PORT_DIPSETTING( 0x00, "Without" )
+ PORT_DIPNAME( 0x60, 0x60, "Payout type" ) PORT_DIPLOCATION("SW1:3,2")
+ PORT_DIPSETTING( 0x00, "Ticket + Hopper" )
+ PORT_DIPSETTING( 0x20, "Ticket" )
+ PORT_DIPSETTING( 0x40, "Hopper" )
+ PORT_DIPSETTING( 0x60, "Ticket + Hopper" )
+ PORT_DIPNAME( 0x90, 0x90, "Coin/Credit ratio" ) PORT_DIPLOCATION("SW1:1,4")
+ PORT_DIPSETTING( 0x00, "1 coin 1 credit" )
+ PORT_DIPSETTING( 0x10, "1 coin 1 credit" )
+ PORT_DIPSETTING( 0x80, "1 coin 5 credits" )
+ PORT_DIPSETTING( 0x90, "1 coin 10 credits" )
+ INPUT_PORTS_END
static INPUT_PORTS_START( royal )
PORT_START("IN0")
@@ -2993,7 +2993,7 @@ static MACHINE_CONFIG_DERIVED( magicrd2, fw1stpal )
MCFG_CPU_PROGRAM_MAP(magicrd2_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", funworld_state, nmi_line_pulse)
MCFG_VIDEO_START_OVERRIDE(funworld_state, magicrd2)
-
+
MCFG_DEVICE_REMOVE("crtc")
MCFG_MC6845_ADD("crtc", MC6845, "screen", CRTC_CLOCK, magicrd2_mc6845_intf)
@@ -3048,7 +3048,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( lunapark, fw1stpal )
MCFG_CPU_REPLACE("maincpu", R65C02, CPU_CLOCK) /* 2MHz */
- MCFG_CPU_PROGRAM_MAP(lunapark_map) // mirrored video RAM (4000/5000 to 6000/7000).
+ MCFG_CPU_PROGRAM_MAP(lunapark_map) // mirrored video RAM (4000/5000 to 6000/7000).
MCFG_CPU_VBLANK_INT_DRIVER("screen", funworld_state, nmi_line_pulse)
MCFG_MACHINE_START_OVERRIDE(funworld_state, lunapark)
MCFG_MACHINE_RESET_OVERRIDE(funworld_state, lunapark)
@@ -3460,7 +3460,7 @@ ROM_END
then service1+service2 and reset,
then another reset.
-
+
Q is remote (x100)
W is payout.
*/
@@ -3489,10 +3489,10 @@ ROM_END
then service1+service2 and reset,
then another reset.
-
+
This set has spam graphics, but seems
used by another program.
-
+
*/
ROM_START( jolycdie ) /* Bootleg PCB, NON encrypted graphics */
ROM_REGION( 0x10000, "maincpu", 0 )
@@ -4114,7 +4114,7 @@ ROM_END
ROM_START( pool10f )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "cmc-pool10+a+.u2", 0x8000, 0x8000, CRC(e8087fb8) SHA1(c012a81f561978bd97708a52f656e7b13e41a3e2) )
-
+
ROM_REGION( 0x10000, "gfx1", 0 )
ROM_LOAD( "cmc-pool10-b.u21", 0x0000, 0x8000, CRC(99c8c074) SHA1(f8082b08e895cbcd028a2b7cd961a7a2c8b2762c) )
ROM_LOAD( "cmc-pool10-c.u20", 0x8000, 0x8000, CRC(9abedd0c) SHA1(f184a82e8ec2387069d631bcb77e890acd44b3f5) )
@@ -4168,13 +4168,13 @@ ROM_START( pool10i )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "a.u2", 0x8000, 0x8000, CRC(566bc05d) SHA1(eec88c8ba6cb664f38ebf8b71f99b4e7d04a9601) )
ROM_IGNORE( 0x8000 ) /* Identical halves. Discarding 2nd half */
-
+
ROM_REGION( 0x10000, "gfx1", 0 )
ROM_LOAD( "b.u21", 0x0000, 0x8000, CRC(581c4878) SHA1(5ae61af090feea1745e22f46b33b2c01e6013fbe) )
ROM_IGNORE( 0x8000 ) /* Identical halves. Discarding 2nd half */
ROM_LOAD( "c.u20", 0x8000, 0x8000, CRC(3bdf1106) SHA1(fa21cbd49bb27ea4a784cf4e4b3fbd52650a285b) )
ROM_IGNORE( 0x8000 ) /* Identical halves. Discarding 2nd half */
-
+
ROM_REGION( 0x0800, "nvram", 0 ) /* default NVRAM */
ROM_LOAD( "pool10l_nvram.bin", 0x0000, 0x0800, CRC(89cbee4b) SHA1(ff8031a96ee40e1e62abbae7a0b3d9dc2122759f) )
@@ -4338,18 +4338,18 @@ ROM_END
The second set, has the same programs, but the strings on the first half
were changed to match the second program.
-
+
*/
/* The following two have mirrored video RAM 4000/5000 to 6000/7000. */
ROM_START( lunapark )
- ROM_REGION( 0x10000, "maincpu", 0 ) /* Two different programs. Selectable through a DIP switch */
+ ROM_REGION( 0x10000, "maincpu", 0 ) /* Two different programs. Selectable through a DIP switch */
ROM_LOAD( "lunapark-425-95n003.u2", 0x0000, 0x10000, CRC(b3a620ee) SHA1(67b3498edf7b536e22c4d97c1f6ad5a71521e68f) )
ROM_REGION( 0x10000, "gfx1", 0 )
ROM_LOAD( "lunapark-425-95n002.u21", 0x0000, 0x8000, CRC(2bededb7) SHA1(b8d7e6fe307d347d762adf35d361ade620aab37b) )
- ROM_CONTINUE( 0x0000, 0x8000) /* Discarding 1nd half 0xff filled*/
+ ROM_CONTINUE( 0x0000, 0x8000) /* Discarding 1nd half 0xff filled*/
ROM_LOAD( "lunapark-425-95n001.u20", 0x8000, 0x8000, CRC(7d91ce1f) SHA1(7e9bfad76f305d5787faffe3a07b218beb37fda8) )
- ROM_CONTINUE( 0x8000, 0x8000) /* Discarding 1nd half 0xff filled*/
+ ROM_CONTINUE( 0x8000, 0x8000) /* Discarding 1nd half 0xff filled*/
ROM_REGION( 0x0800, "nvram", 0 ) /* default NVRAM */
ROM_LOAD( "lunapark_nvram.bin", 0x0000, 0x0800, CRC(f99e749b) SHA1(fafd4205dfaacb4c21215af6997d06ab419c9281) )
@@ -4359,14 +4359,14 @@ ROM_START( lunapark )
ROM_END
ROM_START( lunaparkb )
- ROM_REGION( 0x10000, "maincpu", 0 ) /* Two different programs. Selectable through a DIP switch */
+ ROM_REGION( 0x10000, "maincpu", 0 ) /* Two different programs. Selectable through a DIP switch */
ROM_LOAD( "lunapark-number-03_lunaparkb.u2", 0x0000, 0x10000, CRC(cb819bb7) SHA1(c7fb25eab093de2f644445a713d99ee8024d8499) )
ROM_REGION( 0x10000, "gfx1", 0 )
- ROM_LOAD( "27512.u21", 0x0000, 0x8000, CRC(d64ac315) SHA1(c67d9e67a988036844efd4f980d47a90c022ba18) ) /* only the first 2 bytes different */
- ROM_CONTINUE( 0x0000, 0x8000) /* Discarding 1nd half 0xff filled*/
+ ROM_LOAD( "27512.u21", 0x0000, 0x8000, CRC(d64ac315) SHA1(c67d9e67a988036844efd4f980d47a90c022ba18) ) /* only the first 2 bytes different */
+ ROM_CONTINUE( 0x0000, 0x8000) /* Discarding 1nd half 0xff filled*/
ROM_LOAD( "27512.u20", 0x8000, 0x8000, CRC(7d91ce1f) SHA1(7e9bfad76f305d5787faffe3a07b218beb37fda8 ) )
- ROM_CONTINUE( 0x8000, 0x8000) /* Discarding 1nd half 0xff filled*/
+ ROM_CONTINUE( 0x8000, 0x8000) /* Discarding 1nd half 0xff filled*/
ROM_REGION( 0x0800, "nvram", 0 ) /* default NVRAM */
ROM_LOAD( "lunaparkb_nvram.bin", 0x0000, 0x0800, CRC(f99e749b) SHA1(fafd4205dfaacb4c21215af6997d06ab419c9281) )
@@ -5684,10 +5684,10 @@ ROM_START( chinatow )
ROM_REGION( 0x10000, "gfx1", 0 )
ROM_LOAD( "27c512.u2", 0x0000, 0x8000, CRC(6ace221f) SHA1(d35a6621d9d9231a844d7043da78035855ebf572) )
- ROM_CONTINUE( 0x0000, 0x8000) /* Discarding 1nd half 0xff filled*/
+ ROM_CONTINUE( 0x0000, 0x8000) /* Discarding 1nd half 0xff filled*/
ROM_LOAD( "27c512.u20", 0x8000, 0x8000, CRC(efb7f1ec) SHA1(260005526fc9b4087ca03f7cc585e40b6fa007fb) )
- ROM_CONTINUE( 0x8000, 0x8000) /* Discarding 1nd half 0xff filled*/
-
+ ROM_CONTINUE( 0x8000, 0x8000) /* Discarding 1nd half 0xff filled*/
+
ROM_REGION( 0x0800, "nvram", 0 ) /* default NVRAM */
ROM_LOAD( "chinatow_nvram.bin", 0x0000, 0x0800, CRC(eef4c5e7) SHA1(a2d9a9f617d35ccb99236114e5ce3257ad572f49) )
@@ -5787,7 +5787,7 @@ DRIVER_INIT_MEMBER(funworld_state, mongolnw)
UINT8 *ROM = memregion("maincpu")->base();
ROM[0x9115] = 0xa5;
-
+
/* prevent one test from triggering hardware error */
ROM[0xb8f3] = 0xff;
}
@@ -5801,7 +5801,7 @@ DRIVER_INIT_MEMBER(funworld_state, soccernw)
ROM[0x80b2] = 0xa9;
ROM[0x80b3] = 0x00;
ROM[0x9115] = 0xa5;
-
+
/* prevent one test from triggering hardware error */
ROM[0xb8f3] = 0xff;
}
@@ -5867,7 +5867,7 @@ DRIVER_INIT_MEMBER(funworld_state, saloon)
rom[a] = buffer[i];
}
}
-
+
/******************************
* Graphics ROM decryption *
@@ -6171,7 +6171,7 @@ DRIVER_INIT_MEMBER(funworld_state, rcdino4)
}
}
-
+
/******************************
* Graphics ROM decryption *
******************************/
@@ -6190,7 +6190,7 @@ DRIVER_INIT_MEMBER(funworld_state, rcdino4)
}
/* d4-d5 data lines swap, plus a XOR with 0x81, implemented in two steps for an easy view */
-
+
int x;
UINT8 *src = memregion( "gfx1" )->base();
@@ -6199,7 +6199,7 @@ DRIVER_INIT_MEMBER(funworld_state, rcdino4)
src[x] = BITSWAP8(src[x], 7, 6, 4, 5, 3, 2, 1, 0);
src[x] = src[x] ^ 0x81;
}
-
+
}
/**********************************************
@@ -6219,7 +6219,7 @@ GAMEL( 1993, jolyccrb, jollycrd, cuoreuno, jolycdcr, driver_device, 0,
GAMEL( 1985, sjcd2kx3, jollycrd, fw1stpal, funworld, driver_device, 0, ROT0, "M.P.", "Super Joly 2000 - 3x", 0, layout_jollycrd )
GAME( 1986, jolycdab, jollycrd, fw1stpal, funworld, driver_device, 0, ROT0, "Inter Games", "Jolly Card (Austrian, Fun World, bootleg)", GAME_NOT_WORKING )
GAMEL( 1992, jolycdsp, jollycrd, cuoreuno, jolycdit, funworld_state, ctunk, ROT0, "TAB Austria", "Jolly Card (Spanish, blue TAB board, encrypted)", 0, layout_royalcrd )
-GAMEL( 1990, jolycdid, jollycrd, cuoreuno, jolycdcr, driver_device, 0, ROT0, "bootleg", "Jolly Card (Italian, different colors, set 1)", 0, layout_jollycrd ) // italian, CPLD, different colors.
+GAMEL( 1990, jolycdid, jollycrd, cuoreuno, jolycdcr, driver_device, 0, ROT0, "bootleg", "Jolly Card (Italian, different colors, set 1)", 0, layout_jollycrd ) // italian, CPLD, different colors.
GAMEL( 1990, jolycdie, jollycrd, cuoreuno, jolycdib, driver_device, 0, ROT0, "bootleg", "Jolly Card (Italian, different colors, set 2)", 0, layout_jollycrd ) // not from TAB blue PCB
// Bonus Card based...
@@ -6246,9 +6246,9 @@ GAMEL( 1997, tortufam, 0, cuoreuno, cuoreuno, driver_device, 0,
GAMEL( 1996, potgame, 0, cuoreuno, cuoreuno, driver_device, 0, ROT0, "C.M.C.", "Pot Game (Italian)", 0, layout_jollycrd )
GAMEL( 1996, bottle10, 0, cuoreuno, cuoreuno, driver_device, 0, ROT0, "C.M.C.", "Bottle 10 (Italian, set 1)", 0, layout_jollycrd )
GAMEL( 1996, bottl10b, bottle10, cuoreuno, cuoreuno, driver_device, 0, ROT0, "C.M.C.", "Bottle 10 (Italian, set 2)", 0, layout_jollycrd )
-GAMEL( 1998, lunapark, 0, lunapark, lunapark, driver_device, 0, ROT0, "<unknown>", "Luna Park (set 1, dual program)", 0, layout_jollycrd ) // mirrored video RAM (4000/5000 to 6000/7000).
-GAMEL( 1998, lunaparkb, lunapark, lunapark, lunapark, driver_device, 0, ROT0, "<unknown>", "Luna Park (set 2, dual program)", 0, layout_jollycrd ) // mirrored video RAM (4000/5000 to 6000/7000).
-GAMEL( 1998, lunaparkc, lunapark, cuoreuno, cuoreuno, driver_device, 0, ROT0, "<unknown>", "Luna Park (set 3)", 0, layout_jollycrd ) // regular video RAM 6000/7000.
+GAMEL( 1998, lunapark, 0, lunapark, lunapark, driver_device, 0, ROT0, "<unknown>", "Luna Park (set 1, dual program)", 0, layout_jollycrd ) // mirrored video RAM (4000/5000 to 6000/7000).
+GAMEL( 1998, lunaparkb, lunapark, lunapark, lunapark, driver_device, 0, ROT0, "<unknown>", "Luna Park (set 2, dual program)", 0, layout_jollycrd ) // mirrored video RAM (4000/5000 to 6000/7000).
+GAMEL( 1998, lunaparkc, lunapark, cuoreuno, cuoreuno, driver_device, 0, ROT0, "<unknown>", "Luna Park (set 3)", 0, layout_jollycrd ) // regular video RAM 6000/7000.
GAMEL( 1998, crystal, 0, cuoreuno, cuoreuno, driver_device, 0, ROT0, "J.C.D. srl", "Crystal Colours (CMC hardware)", 0, layout_jollycrd )
// Royal Card based...
diff --git a/src/mame/drivers/gaelco3d.c b/src/mame/drivers/gaelco3d.c
index 1f0c5de0a26..10e6a64597a 100644
--- a/src/mame/drivers/gaelco3d.c
+++ b/src/mame/drivers/gaelco3d.c
@@ -991,7 +991,7 @@ static MACHINE_CONFIG_START( gaelco3d, gaelco3d_state )
MCFG_QUANTUM_TIME(attotime::from_hz(6000))
MCFG_TIMER_DRIVER_ADD("adsp_timer", gaelco3d_state, adsp_autobuffer_irq)
-
+
MCFG_DEVICE_ADD("serial", GAELCO_SERIAL, 0)
MCFG_GAELCO_SERIAL_IRQ_HANDLER(WRITELINE(gaelco3d_state, ser_irq))
diff --git a/src/mame/drivers/gaiden.c b/src/mame/drivers/gaiden.c
index 0976a1a096c..460f4b53ca5 100644
--- a/src/mame/drivers/gaiden.c
+++ b/src/mame/drivers/gaiden.c
@@ -1511,7 +1511,7 @@ void gaiden_state::descramble_drgnbowl_gfx()
int i;
UINT8 *ROM = memregion("maincpu")->base();
size_t size = memregion("maincpu")->bytes();
-
+
{
dynamic_buffer buffer(size);
diff --git a/src/mame/drivers/galaga.c b/src/mame/drivers/galaga.c
index 7f5ffe31d74..2022b72ec9d 100644
--- a/src/mame/drivers/galaga.c
+++ b/src/mame/drivers/galaga.c
@@ -1623,15 +1623,15 @@ static MACHINE_CONFIG_START( bosco, bosco_state )
MCFG_NAMCO_50XX_ADD("50xx_1", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_50XX_ADD("50xx_2", MASTER_CLOCK/6/2) /* 1.536 MHz */
- MCFG_NAMCO_51XX_ADD("51xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
+ MCFG_NAMCO_51XX_ADD("51xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_51XX_INPUT_0_CB(IOPORT("IN0L"))
MCFG_NAMCO_51XX_INPUT_1_CB(IOPORT("IN0H"))
MCFG_NAMCO_51XX_INPUT_2_CB(IOPORT("IN1L"))
MCFG_NAMCO_51XX_INPUT_3_CB(IOPORT("IN1H"))
MCFG_NAMCO_51XX_OUTPUT_0_CB(WRITE8(galaga_state,out_0))
MCFG_NAMCO_51XX_OUTPUT_1_CB(WRITE8(galaga_state,out_1))
-
-
+
+
MCFG_NAMCO_52XX_ADD("52xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_52XX_DISCRETE("discrete")
MCFG_NAMCO_52XX_BASENODE(NODE_04)
@@ -1642,21 +1642,21 @@ static MACHINE_CONFIG_START( bosco, bosco_state )
MCFG_NAMCO_54XX_ADD("54xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_54XX_DISCRETE("discrete")
MCFG_NAMCO_54XX_BASENODE(NODE_01)
-
+
MCFG_NAMCO_06XX_ADD("06xx_0", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
MCFG_NAMCO_06XX_READ_2_CB(DEVREAD8("50xx_1", namco_50xx_device, read))
MCFG_NAMCO_06XX_READ_REQUEST_2_CB(DEVWRITELINE("50xx_1", namco_50xx_device, read_request))
- MCFG_NAMCO_06XX_WRITE_2_CB(DEVWRITE8("50xx_1", namco_50xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_2_CB(DEVWRITE8("50xx_1", namco_50xx_device, write))
MCFG_NAMCO_06XX_WRITE_3_CB(DEVWRITE8("54xx", namco_54xx_device, write))
-
+
MCFG_NAMCO_06XX_ADD("06xx_1", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("sub")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("50xx_2", namco_50xx_device, read))
MCFG_NAMCO_06XX_READ_REQUEST_0_CB(DEVWRITELINE("50xx_2", namco_50xx_device, read_request))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("50xx_2", namco_50xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("50xx_2", namco_50xx_device, write))
MCFG_NAMCO_06XX_WRITE_1_CB(DEVWRITE8("52xx", namco_52xx_device, write))
MCFG_WATCHDOG_VBLANK_INIT(8)
@@ -1712,7 +1712,7 @@ static MACHINE_CONFIG_START( galaga, galaga_state )
MCFG_NAMCO_51XX_INPUT_3_CB(IOPORT("IN1H"))
MCFG_NAMCO_51XX_OUTPUT_0_CB(WRITE8(galaga_state,out_0))
MCFG_NAMCO_51XX_OUTPUT_1_CB(WRITE8(galaga_state,out_1))
-
+
MCFG_NAMCO_54XX_ADD("54xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_54XX_DISCRETE("discrete")
MCFG_NAMCO_54XX_BASENODE(NODE_01)
@@ -1720,9 +1720,9 @@ static MACHINE_CONFIG_START( galaga, galaga_state )
MCFG_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
MCFG_NAMCO_06XX_WRITE_3_CB(DEVWRITE8("54xx", namco_54xx_device, write))
-
+
MCFG_WATCHDOG_VBLANK_INIT(8)
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) /* 100 CPU slices per frame - an high value to ensure proper */
/* synchronization of the CPUs */
@@ -1766,8 +1766,8 @@ static MACHINE_CONFIG_DERIVED( galagab, galaga )
MCFG_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
-
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
+
MCFG_CPU_ADD("sub3", Z80, MASTER_CLOCK/6) /* 3.072 MHz */
MCFG_CPU_PROGRAM_MAP(galaga_mem4)
@@ -1798,7 +1798,7 @@ static MACHINE_CONFIG_START( xevious, xevious_state )
MCFG_NAMCO_51XX_INPUT_3_CB(IOPORT("IN1H"))
MCFG_NAMCO_51XX_OUTPUT_0_CB(WRITE8(galaga_state,out_0))
MCFG_NAMCO_51XX_OUTPUT_1_CB(WRITE8(galaga_state,out_1))
-
+
MCFG_NAMCO_54XX_ADD("54xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_54XX_DISCRETE("discrete")
MCFG_NAMCO_54XX_BASENODE(NODE_01)
@@ -1806,10 +1806,10 @@ static MACHINE_CONFIG_START( xevious, xevious_state )
MCFG_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
MCFG_NAMCO_06XX_READ_2_CB(DEVREAD8("50xx", namco_50xx_device, read))
MCFG_NAMCO_06XX_READ_REQUEST_2_CB(DEVWRITELINE("50xx", namco_50xx_device, read_request))
- MCFG_NAMCO_06XX_WRITE_2_CB(DEVWRITE8("50xx", namco_50xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_2_CB(DEVWRITE8("50xx", namco_50xx_device, write))
MCFG_NAMCO_06XX_WRITE_3_CB(DEVWRITE8("54xx", namco_54xx_device, write))
MCFG_WATCHDOG_VBLANK_INIT(8)
@@ -1855,7 +1855,7 @@ static MACHINE_CONFIG_DERIVED( battles, xevious )
MCFG_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
MCFG_CPU_ADD("sub3", Z80, MASTER_CLOCK/6) /* 3.072 MHz */
MCFG_CPU_PROGRAM_MAP(battles_mem4)
@@ -1897,7 +1897,7 @@ static MACHINE_CONFIG_START( digdug, digdug_state )
MCFG_NAMCO_51XX_INPUT_3_CB(IOPORT("IN1H"))
MCFG_NAMCO_51XX_OUTPUT_0_CB(WRITE8(galaga_state,out_0))
MCFG_NAMCO_51XX_OUTPUT_1_CB(WRITE8(galaga_state,out_1))
-
+
MCFG_NAMCO_53XX_ADD("53xx", MASTER_CLOCK/6/2) /* 1.536 MHz */
MCFG_NAMCO_53XX_K_CB(READ8(galaga_state,custom_mod_r))
MCFG_NAMCO_53XX_INPUT_0_CB(IOPORT("DSWA"))
@@ -1908,7 +1908,7 @@ static MACHINE_CONFIG_START( digdug, digdug_state )
MCFG_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
- MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
+ MCFG_NAMCO_06XX_WRITE_0_CB(DEVWRITE8("51xx", namco_51xx_device, write))
MCFG_NAMCO_06XX_READ_1_CB(DEVREAD8("53xx", namco_53xx_device, read))
MCFG_NAMCO_06XX_READ_REQUEST_1_CB(DEVWRITELINE("53xx", namco_53xx_device, read_request))
diff --git a/src/mame/drivers/galaxi.c b/src/mame/drivers/galaxi.c
index 91889621814..cccce066a9c 100644
--- a/src/mame/drivers/galaxi.c
+++ b/src/mame/drivers/galaxi.c
@@ -103,7 +103,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/drivers/galaxian.c b/src/mame/drivers/galaxian.c
index c0986b5aa1a..0ff118988ce 100644
--- a/src/mame/drivers/galaxian.c
+++ b/src/mame/drivers/galaxian.c
@@ -7001,8 +7001,8 @@ ROM_START( galaxbsf2 )
ROM_LOAD( "gal09.ic13", 0x2400, 0x0400, CRC(5876f695) SHA1(e8c0d13066cfe4a409293b9e1380513099b35330) )
ROM_REGION( 0x0400, "unknown", 0 )
- ROM_LOAD( "gal00eg.ic4", 0x0000, 0x0400, CRC(1038467f) SHA1(e34cc53a1203335cf9c9a94c3f96cab5a444a34a) ) // the first 0x100 bytes of this is ic41, the rest is different? should it bank in somehow to give extra features??
-
+ ROM_LOAD( "gal00eg.ic4", 0x0000, 0x0400, CRC(1038467f) SHA1(e34cc53a1203335cf9c9a94c3f96cab5a444a34a) ) // the first 0x100 bytes of this is ic41, the rest is different? should it bank in somehow to give extra features??
+
ROM_REGION( 0x1000, "gfx1", 0 )
ROM_LOAD( "galaxian.1h", 0x0000, 0x0800, CRC(39fb43a4) SHA1(4755609bd974976f04855d51e08ec0d62ab4bc07) )
ROM_LOAD( "galaxian.1k", 0x0800, 0x0800, CRC(7e3f56a2) SHA1(a9795d8b7388f404f3b0e2c6ce15d713a4c5bafa) )
diff --git a/src/mame/drivers/galaxold.c b/src/mame/drivers/galaxold.c
index 14eff3bd087..0c70b68e3cd 100644
--- a/src/mame/drivers/galaxold.c
+++ b/src/mame/drivers/galaxold.c
@@ -2550,7 +2550,7 @@ static MACHINE_CONFIG_START( drivfrcg, galaxold_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(galaxold_state, screen_update_galaxold)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 64)
MCFG_PALETTE_INIT_OWNER(galaxold_state,rockclim)
@@ -2622,7 +2622,7 @@ static MACHINE_CONFIG_START( racknrol, galaxold_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", galaxian)
MCFG_PALETTE_ADD("palette", 32)
MCFG_PALETTE_INIT_OWNER(galaxold_state,rockclim)
-
+
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
MCFG_SCREEN_UPDATE_DRIVER(galaxold_state, screen_update_galaxold)
diff --git a/src/mame/drivers/galivan.c b/src/mame/drivers/galivan.c
index 429da6985a5..ee767622687 100644
--- a/src/mame/drivers/galivan.c
+++ b/src/mame/drivers/galivan.c
@@ -441,7 +441,7 @@ static MACHINE_CONFIG_START( galivan, galivan_state )
MCFG_PALETTE_ADD("palette", 8*16+16*16+256*16)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(galivan_state, galivan)
-
+
MCFG_VIDEO_START_OVERRIDE(galivan_state,galivan)
/* sound hardware */
diff --git a/src/mame/drivers/galpani2.c b/src/mame/drivers/galpani2.c
index cd9e0abdb03..cfc02cd65c8 100644
--- a/src/mame/drivers/galpani2.c
+++ b/src/mame/drivers/galpani2.c
@@ -966,8 +966,8 @@ ROM_END
ROM_START( galpani2e2 )
ROM_REGION( 0x100000, "maincpu", 0 ) /* CPU#1 Code */
- ROM_LOAD16_BYTE( "g000i1-u133-0.u133", 0x000000, 0x080000, CRC(7df7b759) SHA1(2479a6389649ee6042b175b71d7ed54bc116add5) ) //english version specific
- ROM_LOAD16_BYTE( "g001i1-u134-0.u134", 0x000001, 0x080000, CRC(c92937c3) SHA1(0c9e894c0e23e319bd2d01ec573f02ed510e3ed6) ) //same as german version
+ ROM_LOAD16_BYTE( "g000i1-u133-0.u133", 0x000000, 0x080000, CRC(7df7b759) SHA1(2479a6389649ee6042b175b71d7ed54bc116add5) ) //english version specific
+ ROM_LOAD16_BYTE( "g001i1-u134-0.u134", 0x000001, 0x080000, CRC(c92937c3) SHA1(0c9e894c0e23e319bd2d01ec573f02ed510e3ed6) ) //same as german version
ROM_REGION( 0x40000, "sub", 0 ) /* CPU#2 Code */
ROM_LOAD16_BYTE( "g002i1.125", 0x000000, 0x020000, CRC(a3034e1c) SHA1(493e4be36f2aea0083d5d37e16486ed66dab952e) )
diff --git a/src/mame/drivers/gaplus.c b/src/mame/drivers/gaplus.c
index ad8bf7730cc..b8e6e72e01f 100644
--- a/src/mame/drivers/gaplus.c
+++ b/src/mame/drivers/gaplus.c
@@ -549,13 +549,13 @@ static MACHINE_CONFIG_START( gaplus, gaplus_state )
MCFG_NAMCO56XX_IN_3_CB(IOPORT("BUTTONS"))
MCFG_NAMCO56XX_OUT_0_CB(WRITE8(gaplus_state, out_lamps0))
MCFG_NAMCO56XX_OUT_1_CB(WRITE8(gaplus_state, out_lamps1))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO58XX, 0)
MCFG_NAMCO58XX_IN_0_CB(IOPORT("DSWA_HIGH"))
MCFG_NAMCO58XX_IN_1_CB(IOPORT("DSWB_LOW"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("DSWB_HIGH"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("DSWA_LOW"))
-
+
MCFG_NAMCO_62XX_ADD("62xx", 24576000/6/2) /* totally made up - TODO: fix */
//MCFG_NAMCO_62XX_INPUT_0_CB(IOPORT("IN0L"))
//MCFG_NAMCO_62XX_INPUT_1_CB(IOPORT("IN0H"))
@@ -563,7 +563,7 @@ static MACHINE_CONFIG_START( gaplus, gaplus_state )
//MCFG_NAMCO_62XX_INPUT_3_CB(IOPORT("IN1H"))
//MCFG_NAMCO_62XX_OUTPUT_0_CB(WRITE8(gaplus_state,out_0))
//MCFG_NAMCO_62XX_OUTPUT_1_CB(WRITE8(gaplus_state,out_1))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60.606060)
@@ -597,7 +597,7 @@ static MACHINE_CONFIG_DERIVED( gaplusd, gaplus )
MCFG_NAMCO58XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_REPLACE("namcoio_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(IOPORT("DSWA_HIGH"))
MCFG_NAMCO56XX_IN_1_CB(IOPORT("DSWB_LOW"))
@@ -616,7 +616,7 @@ static MACHINE_CONFIG_DERIVED( gapluso, gaplusd )
MCFG_NAMCO56XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO56XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO56XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_REPLACE("namcoio_2", NAMCO58XX, 0)
MCFG_NAMCO58XX_IN_0_CB(IOPORT("DSWA_HIGH"))
MCFG_NAMCO58XX_IN_1_CB(IOPORT("DSWB_LOW"))
diff --git a/src/mame/drivers/gatron.c b/src/mame/drivers/gatron.c
index 46a4b2d9246..f3779db3ea0 100644
--- a/src/mame/drivers/gatron.c
+++ b/src/mame/drivers/gatron.c
@@ -19,7 +19,7 @@
* PCB1: PULL TABS.
-
+
Board silkscreend:
GAME-A-TRON CORP.
@@ -72,7 +72,7 @@
Identified the unknown writes as a init sequence for 1x PSG sound device.
The type/class is unknown due to almost all devices are plastic covered.
-
+
* PCB 3: BINGO.
The PCB doesn't looks like an official Game-A-Tron board. Maybe it's a bootleg,
@@ -190,7 +190,7 @@
Press "LADY LUCK TICKET" (key X) to play with Lady Luck (center) Ticket.
Press "BIG BAR TICKET" (key C) to play with Big Bar (right) Ticket.
-
+
* Bingo:
Pressing SERVICE 1 (key 9) you enter the Test/Settings Mode. You can test
@@ -213,8 +213,8 @@
Press "CHANGE CARD" (key Z) to change for another card with a different set of numbers.
Press "START" (key X) to start the game.
Press "CHANGE GAME" (key C) to switch between games X-L-T-C-N-U.
-
- Note that letters in games X-L-T-C-N-U are just references to the shape of the special
+
+ Note that letters in games X-L-T-C-N-U are just references to the shape of the special
numbers group inside the card, which will play.
You must setup double-ups to something different of 0 (default), to play with these
@@ -253,9 +253,9 @@
[2014-02-04]
- Added Bingo (1983). PCB seems bootleg, but the game looks legit.
- - Worked from the scratch a whole set of inputs and button-lamps support for this game.
+ - Worked from the scratch a whole set of inputs and button-lamps support for this game.
- Changed the poker41 description to Four in One Poker (as seen in the official brochure).
- - Added game and technical notes.
+ - Added game and technical notes.
[2008-10-14]
- Improved the button-lamps layouts to look more realistic.
@@ -625,4 +625,3 @@ ROM_END
GAMEL( 1983, poker41, 0, gat, poker41, driver_device, 0, ROT0, "Game-A-Tron", "Four in One Poker", 0, layout_poker41 )
GAMEL( 1983, pulltabs, 0, gat, pulltabs, driver_device, 0, ROT0, "Game-A-Tron", "Pull Tabs", 0, layout_pulltabs )
GAMEL( 1983, bingo, 0, gat, bingo, driver_device, 0, ROT0, "Game-A-Tron?", "Bingo", 0, layout_bingo )
-
diff --git a/src/mame/drivers/gbusters.c b/src/mame/drivers/gbusters.c
index 7431516fbe2..539ef48ed2b 100644
--- a/src/mame/drivers/gbusters.c
+++ b/src/mame/drivers/gbusters.c
@@ -257,10 +257,10 @@ void gbusters_state::machine_start()
membank("bank1")->configure_entries(0, 16, &ROM[0x10000], 0x2000);
membank("bank1")->set_entry(0);
-
+
m_paletteram.resize(0x800);
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
save_item(NAME(m_paletteram));
save_item(NAME(m_palette_selected));
save_item(NAME(m_priority));
@@ -298,7 +298,7 @@ static MACHINE_CONFIG_START( gbusters, gbusters_state )
MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
MCFG_SCREEN_UPDATE_DRIVER(gbusters_state, screen_update_gbusters)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_ENABLE_SHADOWS()
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
diff --git a/src/mame/drivers/gei.c b/src/mame/drivers/gei.c
index 654e90bcc44..af55244c708 100644
--- a/src/mame/drivers/gei.c
+++ b/src/mame/drivers/gei.c
@@ -1196,7 +1196,7 @@ static MACHINE_CONFIG_DERIVED( quizvid, findout )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(quizvid_map)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_INIT_OWNER(gei_state,quizvid)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/ggconnie.c b/src/mame/drivers/ggconnie.c
index bfa46d205c2..68b7242b8d8 100644
--- a/src/mame/drivers/ggconnie.c
+++ b/src/mame/drivers/ggconnie.c
@@ -31,7 +31,7 @@ class ggconnie_state : public pce_common_state
{
public:
ggconnie_state(const machine_config &mconfig, device_type type, const char *tag)
- : pce_common_state(mconfig, type, tag),
+ : pce_common_state(mconfig, type, tag),
m_rtc(*this, "rtc"),
m_oki(*this, "oki")
{ }
diff --git a/src/mame/drivers/ghosteo.c b/src/mame/drivers/ghosteo.c
index 4c578e6a6a8..9ee64d97c83 100644
--- a/src/mame/drivers/ghosteo.c
+++ b/src/mame/drivers/ghosteo.c
@@ -273,7 +273,7 @@ WRITE8_MEMBER(ghosteo_state::s3c2410_nand_command_w )
case 0xFF :
{
nand.mode = NAND_M_INIT;
- m_s3c2410->frnb_w(1);
+ m_s3c2410->frnb_w(1);
}
break;
case 0x00 :
diff --git a/src/mame/drivers/gladiatr.c b/src/mame/drivers/gladiatr.c
index 0c828b2c2f9..c79aa852c07 100644
--- a/src/mame/drivers/gladiatr.c
+++ b/src/mame/drivers/gladiatr.c
@@ -711,7 +711,7 @@ static MACHINE_CONFIG_START( gladiatr, gladiatr_state )
MCFG_TAITO8741_MODES(TAITO8741_MASTER,TAITO8741_SLAVE,TAITO8741_PORT,TAITO8741_PORT)
MCFG_TAITO8741_CONNECT(1,0,0,0)
MCFG_TAITO8741_PORT_HANDLERS(READ8(gladiatr_state,gladiator_dsw1_r),READ8(gladiatr_state,gladiator_dsw2_r),READ8(gladiatr_state,gladiator_button3_r),READ8(gladiatr_state,gladiator_controls_r))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/go2000.c b/src/mame/drivers/go2000.c
index a342168bb0f..2fdc83e0ce9 100644
--- a/src/mame/drivers/go2000.c
+++ b/src/mame/drivers/go2000.c
@@ -62,7 +62,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/drivers/goldnpkr.c b/src/mame/drivers/goldnpkr.c
index a331da037fa..539e38714b0 100644
--- a/src/mame/drivers/goldnpkr.c
+++ b/src/mame/drivers/goldnpkr.c
@@ -3410,8 +3410,8 @@ static INPUT_PORTS_START( mondial )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
/* the following one is connected to DIP switches and is meant
- for switch between different programs stored in different
- halves of the program ROM */
+ for switch between different programs stored in different
+ halves of the program ROM */
PORT_START("SELDSW")
PORT_DIPNAME( 0x01, 0x00, "Game Selector" )
PORT_DIPSETTING( 0x00, "Game 1 (Italian" )
@@ -4048,7 +4048,7 @@ ROM_START( videtron )
ROM_END
ROM_START( videtron2 )
- ROM_REGION( 0x10000, "maincpu", 0 ) /* different from videtron */
+ ROM_REGION( 0x10000, "maincpu", 0 ) /* different from videtron */
ROM_LOAD( "4.bin", 0x5000, 0x1000, CRC(4a7dab42) SHA1(7fcdab985b783d90879a99b2a53a6814ca4278eb) )
ROM_LOAD( "5.bin", 0x6000, 0x1000, CRC(c70e8127) SHA1(7db2d4a29cba7c336f254393955fad71f30a539a) )
ROM_LOAD( "6.bin", 0x7000, 0x1000, CRC(490c7304) SHA1(1a6c6112571fd0e35b640ed58f66582a2d99c58b) )
@@ -10335,5 +10335,5 @@ GAME( 198?, pokerdub, 0, pottnpkr, goldnpkr, driver_device, 0,
GAME( 198?, pokerduc, 0, goldnpkr, goldnpkr, goldnpkr_state, icp1db, ROT0, "<unknown>", "unknown encrypted poker game", GAME_NOT_WORKING ) // encrypted.
GAMEL( 198?, bchancep, 0, bchancep, goldnpkr, goldnpkr_state, bchancep, ROT0, "<unknown>", "Bonne Chance! (Golden Poker prequel HW)", GAME_NOT_WORKING, layout_goldnpkr )
-GAME( 1987, pokermon, 0, mondial, mondial, driver_device, 0, ROT0, "<unknown>", "Mundial/Mondial (Italian/French)", 0 ) // banked selectable program
-GAME( 198?, pokersis, 0, bchancep, goldnpkr, driver_device, 0, ROT0, "Sisteme France", "unknown Sisteme France Poker", GAME_NOT_WORKING ) // fix banking (4 prgs?)...
+GAME( 1987, pokermon, 0, mondial, mondial, driver_device, 0, ROT0, "<unknown>", "Mundial/Mondial (Italian/French)", 0 ) // banked selectable program
+GAME( 198?, pokersis, 0, bchancep, goldnpkr, driver_device, 0, ROT0, "Sisteme France", "unknown Sisteme France Poker", GAME_NOT_WORKING ) // fix banking (4 prgs?)...
diff --git a/src/mame/drivers/goldstar.c b/src/mame/drivers/goldstar.c
index f29b86563d1..b2c9cf34c23 100644
--- a/src/mame/drivers/goldstar.c
+++ b/src/mame/drivers/goldstar.c
@@ -155,7 +155,7 @@ WRITE8_MEMBER(goldstar_state::goldstar_lamps_w)
output_set_lamp_value(4, (data >> 4) & 1); /* Stop 2 / Big / Bonus */
output_set_lamp_value(5, (data >> 5) & 1); /* Start / Stop All / Card 4 */
-// popmessage("lamps: %02X", data);
+// popmessage("lamps: %02X", data);
}
WRITE8_MEMBER(goldstar_state::cb3_lamps_w)
@@ -176,7 +176,7 @@ WRITE8_MEMBER(goldstar_state::cb3_lamps_w)
output_set_lamp_value(4, (data >> 4) & 1); /* Stop 3 / Small / Info */
output_set_lamp_value(5, (data >> 5) & 1); /* Start / Stop All */
-// popmessage("lamps: %02X", data);
+// popmessage("lamps: %02X", data);
}
@@ -244,8 +244,8 @@ static ADDRESS_MAP_START( ncb3_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0xf830, 0xf830) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
AM_RANGE(0xf840, 0xf840) AM_DEVWRITE("aysnd", ay8910_device, address_w)
- AM_RANGE(0xf850, 0xf850) AM_WRITE(cb3_lamps_w) /* Control Set 1 lamps */
- AM_RANGE(0xf860, 0xf860) AM_WRITE(cb3_lamps_w) /* Control Set 2 lamps */
+ AM_RANGE(0xf850, 0xf850) AM_WRITE(cb3_lamps_w) /* Control Set 1 lamps */
+ AM_RANGE(0xf860, 0xf860) AM_WRITE(cb3_lamps_w) /* Control Set 2 lamps */
AM_RANGE(0xf870, 0xf870) AM_DEVWRITE("snsnd", sn76489_device, write) /* guess... device is initialized, but doesn't seems to be used.*/
ADDRESS_MAP_END
@@ -296,7 +296,7 @@ static ADDRESS_MAP_START( wcherry_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0x0000, 0xb7ff) AM_ROM
AM_RANGE(0xb800, 0xbfff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0xc000, 0xc7ff) AM_ROM
-
+
/* Video RAM and reels stuff are there just as placeholder, and obviously in wrong offset */
AM_RANGE(0xc800, 0xcfff) AM_RAM_WRITE(goldstar_fg_vidram_w ) AM_SHARE("fg_vidram")
AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(goldstar_fg_atrram_w ) AM_SHARE("fg_atrram")
@@ -307,15 +307,15 @@ static ADDRESS_MAP_START( wcherry_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0xf080, 0xf0bf) AM_RAM AM_SHARE("reel2_scroll")
AM_RANGE(0xf0c0, 0xf0ff) AM_RAM AM_SHARE("reel3_scroll")
- /* Not really PPI's... They are emulated/simulated inside the CPLDs */
+ /* Not really PPI's... They are emulated/simulated inside the CPLDs */
AM_RANGE(0xf600, 0xf603) AM_DEVREADWRITE("ppi8255_0", i8255_device, read, write) /* Input Ports */
AM_RANGE(0xf610, 0xf613) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) /* Input Ports */
AM_RANGE(0xf620, 0xf623) AM_DEVREADWRITE("ppi8255_2", i8255_device, read, write) /* Input/Output Ports */
AM_RANGE(0xf630, 0xf630) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
AM_RANGE(0xf640, 0xf640) AM_DEVWRITE("aysnd", ay8910_device, address_w)
- AM_RANGE(0xf650, 0xf650) AM_WRITENOP // AM_WRITE(output_w) // unknown register: 0x3e
- AM_RANGE(0xf660, 0xf660) AM_WRITENOP // AM_WRITE(output_w) // unknown register: 0x3e
+ AM_RANGE(0xf650, 0xf650) AM_WRITENOP // AM_WRITE(output_w) // unknown register: 0x3e
+ AM_RANGE(0xf660, 0xf660) AM_WRITENOP // AM_WRITE(output_w) // unknown register: 0x3e
AM_RANGE(0xf670, 0xf670) AM_DEVWRITE("snsnd", sn76489_device, write) /* guess... device is initialized, but doesn't seems to be used.*/
AM_RANGE(0xf800, 0xffff) AM_RAM
@@ -1714,8 +1714,8 @@ INPUT_PORTS_END
static INPUT_PORTS_START( goldstar )
PORT_START("IN0")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) // appear in the input test but seems that lack of functions.
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // appear in the input test but seems that lack of functions.
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) // appear in the input test but seems that lack of functions.
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // appear in the input test but seems that lack of functions.
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("Bet Red / 2")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3 / Small / 1 / Info")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet Blue / D-UP / 3")
@@ -6507,9 +6507,9 @@ static MACHINE_CONFIG_START( super9, goldstar_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK)
MCFG_CPU_PROGRAM_MAP(goldstar_map)
-// MCFG_CPU_PROGRAM_MAP(nfm_map)
+// MCFG_CPU_PROGRAM_MAP(nfm_map)
MCFG_CPU_IO_MAP(goldstar_readport)
-// MCFG_CPU_IO_MAP(unkch_portmap)
+// MCFG_CPU_IO_MAP(unkch_portmap)
MCFG_CPU_VBLANK_INT_DRIVER("screen", goldstar_state, irq0_line_hold)
/* video hardware */
@@ -7703,27 +7703,27 @@ ROM_START( goldfrui )
ROM_CONTINUE( 0x0000, 0x08000) /* Discarding 2nd quarter 0xff filled*/
ROM_CONTINUE( 0x0000, 0x08000) /* Discarding 3nd quarter 0xff filled*/
- ROM_REGION( 0x40000, "oki", 0 ) // Audio ADPCM
+ ROM_REGION( 0x40000, "oki", 0 ) // Audio ADPCM
ROM_LOAD( "27c1000.u57", 0x0000, 0x20000, CRC(9d58960f) SHA1(c68edf95743e146398aabf6b9617d18e1f9bf25b) )
ROM_END
/*
- Super Nove by Playmark
-
- bp 2db
- the next call ($0C33) hangs the game
- since there are ascii strings there
- instead of code.
-
+ Super Nove by Playmark
+
+ bp 2db
+ the next call ($0C33) hangs the game
+ since there are ascii strings there
+ instead of code.
+
*/
ROM_START( super9 )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "27e010.30", 0x0000, 0x10000, CRC(1aaea8d3) SHA1(71395a6d74a7cd55606daa57d17ff4628aa5f577) )
- ROM_IGNORE( 0x10000) /* Discarding 2nd half */
-// ROM_LOAD( "27e010.30", 0x0000, 0x10000, CRC(1aaea8d3) SHA1(71395a6d74a7cd55606daa57d17ff4628aa5f577) )
-// ROM_CONTINUE( 0x0000, 0x10000) /* Discarding 1st half */
-
+ ROM_IGNORE( 0x10000) /* Discarding 2nd half */
+// ROM_LOAD( "27e010.30", 0x0000, 0x10000, CRC(1aaea8d3) SHA1(71395a6d74a7cd55606daa57d17ff4628aa5f577) )
+// ROM_CONTINUE( 0x0000, 0x10000) /* Discarding 1st half */
+
ROM_REGION( 0x20000, "gfx1", 0 )
ROM_LOAD( "nearcpu.bin", 0x00000, 0x20000, CRC(643cff6f) SHA1(305ca9182c3f6d69e09be38b854b3d7bdfa75439) )
@@ -7732,7 +7732,7 @@ ROM_START( super9 )
ROM_CONTINUE( 0x0000, 0x08000) // Discarding 1nd quarter 0xff filled
ROM_CONTINUE( 0x0000, 0x08000) // Discarding 2nd quarter 0xff filled
ROM_CONTINUE( 0x0000, 0x08000) // Discarding 3nd quarter 0xff filled
-
+
ROM_REGION( 0x40000, "oki", 0 ) /* Audio ADPCM */
ROM_LOAD( "27c1001.27", 0x0000, 0x20000, CRC(9d58960f) SHA1(c68edf95743e146398aabf6b9617d18e1f9bf25b) )
ROM_END
@@ -7872,9 +7872,9 @@ ROM_START( cb3d )
ROM_LOAD( "4.5h", 0x06000, 0x02000, CRC(cbcc6bfb) SHA1(5bafc934fef1f50d8c182c39d3a7ce795c89d175) )
ROM_REGION( 0x0200, "proms", 0 )
- ROM_LOAD_NIB_LOW( "n82s129.13g", 0x0000, 0x0100, CRC(59ac98e4) SHA1(5fc0f1a48c49c956cdb8826e20663dc57a9175e4) ) // 1st bank colors, low 4 bits.
- ROM_LOAD_NIB_HIGH( "n82s129.14g", 0x0000, 0x0100, CRC(0d8f35bd) SHA1(0c2a0145cdaaf9beabdce241731a36b0c65f18a2) ) // 1st bank colors, high 4 bits.
- ROM_LOAD( "dm74s288.13d", 0x0080, 0x0020, CRC(77a85e21) SHA1(3b41e0ab7cc55c5d78914d23e8289383f5bd5654) ) // 2nd bank colors
+ ROM_LOAD_NIB_LOW( "n82s129.13g", 0x0000, 0x0100, CRC(59ac98e4) SHA1(5fc0f1a48c49c956cdb8826e20663dc57a9175e4) ) // 1st bank colors, low 4 bits.
+ ROM_LOAD_NIB_HIGH( "n82s129.14g", 0x0000, 0x0100, CRC(0d8f35bd) SHA1(0c2a0145cdaaf9beabdce241731a36b0c65f18a2) ) // 1st bank colors, high 4 bits.
+ ROM_LOAD( "dm74s288.13d", 0x0080, 0x0020, CRC(77a85e21) SHA1(3b41e0ab7cc55c5d78914d23e8289383f5bd5654) ) // 2nd bank colors
ROM_END
@@ -7885,7 +7885,7 @@ ROM_END
5x 8 DIP switches.
1x 12 MHz xtal.
- ROM 3v202 is the prg.
+ ROM 3v202 is the prg.
*/
ROM_START( cb3e )
ROM_REGION( 0x10000, "maincpu", 0 )
@@ -7899,7 +7899,7 @@ ROM_START( cb3e )
ROM_REGION( 0x0200, "proms", 0 )
ROM_LOAD( "82s147.u1", 0x00000, 0x0100, CRC(d4eaa276) SHA1(b6598ee64ac3d41ca979c8667de8576cfb304451) )
- ROM_CONTINUE( 0x00000, 0x0100) // 2nd half has the data.
+ ROM_CONTINUE( 0x00000, 0x0100) // 2nd half has the data.
ROM_END
@@ -11614,7 +11614,7 @@ ROM_START( wcherry )
ROM_LOAD( "wincherrya.ic9", 0x00000, 0x08000, CRC(919bd692) SHA1(1aeb66f1e4555b731858833445000593e613f74d) )
ROM_REGION( 0x0200, "proms", 0 )
- ROM_LOAD( "am27c29pc", 0x00000, 0x0200, BAD_DUMP CRC(5c8f2b8f) SHA1(67d2121e75813dd85d83858c5fc5ec6ad9cc2a7d) ) // borrowed from other game.
+ ROM_LOAD( "am27c29pc", 0x00000, 0x0200, BAD_DUMP CRC(5c8f2b8f) SHA1(67d2121e75813dd85d83858c5fc5ec6ad9cc2a7d) ) // borrowed from other game.
ROM_END
@@ -12259,17 +12259,17 @@ DRIVER_INIT_MEMBER(goldstar_state, super9)
UINT8 *src = memregion("gfx1")->base();
for (i = 0;i < 0x20000;i++)
{
-// src[i] = BITSWAP8(src[i], 7,4,2,1,6,5,3,0);
-// src[i] = BITSWAP8(src[i], 7,3,2,6,1,5,4,0);
+// src[i] = BITSWAP8(src[i], 7,4,2,1,6,5,3,0);
+// src[i] = BITSWAP8(src[i], 7,3,2,6,1,5,4,0);
src[i] = BITSWAP8(src[i], 7,3,2,6,5,1,4,0);
}
UINT8 *src2 = memregion("gfx2")->base();
for (i = 0;i < 0x8000;i++)
{
-// src2[i] = BITSWAP8(src2[i], 7,4,2,1,6,5,3,0);
-// src2[i] = BITSWAP8(src2[i], 7,3,2,6,1,5,4,0);
- src2[i] = BITSWAP8(src2[i], 3,7,6,2,5,1,0,4); // endianess
+// src2[i] = BITSWAP8(src2[i], 7,4,2,1,6,5,3,0);
+// src2[i] = BITSWAP8(src2[i], 7,3,2,6,1,5,4,0);
+ src2[i] = BITSWAP8(src2[i], 3,7,6,2,5,1,0,4); // endianess
}
}
@@ -12289,18 +12289,18 @@ DRIVER_INIT_MEMBER(goldstar_state, cb3e)
}
/* bank 1 graphics */
-// int i;
+// int i;
UINT8 *src = memregion("gfx1")->base();
for (i = 0; i < 0x20000; i++)
{
- src[i] = BITSWAP8(src[i], 4, 3, 2, 5, 1, 6, 0, 7); // OK
+ src[i] = BITSWAP8(src[i], 4, 3, 2, 5, 1, 6, 0, 7); // OK
}
/* bank 2 graphics */
UINT8 *src2 = memregion("gfx2")->base();
for (i = 0; i < 0x8000; i++)
{
- src2[i] = BITSWAP8(src2[i], 3, 4, 2, 5, 1, 6, 0, 7); // OK
+ src2[i] = BITSWAP8(src2[i], 3, 4, 2, 5, 1, 6, 0, 7); // OK
}
}
@@ -12311,14 +12311,14 @@ DRIVER_INIT_MEMBER(goldstar_state, wcherry)
UINT8 *src = memregion("gfx1")->base();
for (i = 0; i < 0x20000; i++)
{
- src[i] = BITSWAP8(src[i], 4, 3, 2, 5, 1, 6, 0, 7); // OK
+ src[i] = BITSWAP8(src[i], 4, 3, 2, 5, 1, 6, 0, 7); // OK
}
/* bank 2 graphics */
UINT8 *src2 = memregion("gfx2")->base();
for (i = 0; i < 0x8000; i++)
{
- src2[i] = BITSWAP8(src2[i], 3, 4, 2, 5, 1, 6, 0, 7); // OK
+ src2[i] = BITSWAP8(src2[i], 3, 4, 2, 5, 1, 6, 0, 7); // OK
}
}
@@ -12333,8 +12333,8 @@ GAMEL( 199?, goldstbl, goldstar, goldstbl, goldstar, driver_device, 0,
GAME( 199?, moonlght, goldstar, moonlght, goldstar, driver_device, 0, ROT0, "bootleg", "Moon Light (bootleg of Golden Star)", 0 )
GAME( 199?, chrygld, 0, chrygld, chrygld, goldstar_state, chrygld, ROT0, "bootleg", "Cherry Gold I", 0 )
GAME( 199?, chry10, 0, chrygld, chry10, goldstar_state, chry10, ROT0, "bootleg", "Cherry 10 (bootleg with PIC16F84)", 0 )
-GAME( 199?, goldfrui, goldstar, goldfrui, goldstar, driver_device, 0, ROT0, "bootleg", "Gold Fruit", 0 ) // maybe fullname should be 'Gold Fruit (main 40%)'
-GAME( 2001, super9, goldstar, super9, goldstar, goldstar_state, super9, ROT0, "Playmark", "Super Nove (Playmark)", GAME_NOT_WORKING) // need to decode gfx and see the program loops/reset...
+GAME( 199?, goldfrui, goldstar, goldfrui, goldstar, driver_device, 0, ROT0, "bootleg", "Gold Fruit", 0 ) // maybe fullname should be 'Gold Fruit (main 40%)'
+GAME( 2001, super9, goldstar, super9, goldstar, goldstar_state, super9, ROT0, "Playmark", "Super Nove (Playmark)", GAME_NOT_WORKING) // need to decode gfx and see the program loops/reset...
GAME( 2001, wcherry, 0, wcherry, chrygld, goldstar_state, wcherry, ROT0, "bootleg", "Win Cherry (ver 0.16 - 19990219)", GAME_NOT_WORKING)
diff --git a/src/mame/drivers/gstream.c b/src/mame/drivers/gstream.c
index bd3f10c93b8..a0899f0ec8c 100644
--- a/src/mame/drivers/gstream.c
+++ b/src/mame/drivers/gstream.c
@@ -1,24 +1,24 @@
/********************************************************************
G-Stream (c)2002 Oriental Soft Japan
- X2222 (prototype) (c)2000 Oriental Soft
+ X2222 (prototype) (c)2000 Oriental Soft
- ---
- X2222 has corrupt boss graphics because the program roms we use don't match the sprite roms.
- --
+ ---
+ X2222 has corrupt boss graphics because the program roms we use don't match the sprite roms.
+ --
Hyperstone based hardware
Simple Sprites (16x16x8bpp tiles)
3 Simple Tilemaps (32x32x8bpp tiles)
- X2222 uses raw 16bpp palette data instead of 8bpp indexed colours.
+ X2222 uses raw 16bpp palette data instead of 8bpp indexed colours.
todo: sprite lag (sprites need buffering?)
sprite wraparound is imperfect
The following is confirmed on G-Stream only
- ---
+ ---
CPU: E1-32XT
Sound: 2x AD-65 (OKIM6295 clone)
@@ -41,7 +41,7 @@
---
Dump Notes:::
-
+
G-Stream 2020, 2002 Oriental Soft Japan
Shooter from Oriental soft, heavy influence from XII Stag
@@ -146,7 +146,7 @@ public:
m_workram(*this, "workram"),
m_vram(*this, "vram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
m_toggle = 0;
}
@@ -172,8 +172,8 @@ public:
/* misc */
int m_oki_bank_1;
int m_oki_bank_2;
- int m_toggle;
- int m_xoffset;
+ int m_toggle;
+ int m_xoffset;
DECLARE_WRITE32_MEMBER(gstream_vram_w);
DECLARE_WRITE32_MEMBER(gstream_tilemap1_scrollx_w);
@@ -201,7 +201,7 @@ public:
void rearrange_sprite_data(UINT8* ROM, UINT32* NEW, UINT32* NEW2);
void rearrange_tile_data(UINT8* ROM, UINT32* NEW, UINT32* NEW2);
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
};
@@ -599,11 +599,10 @@ void drawgfx_transpen_x2222(bitmap_rgb32 &dest, const rectangle &cliprect, gfx_e
code %= gfx->elements();
// render
-
+
do {
g_profiler.start(PROFILER_DRAWGFX);
do {
-
const UINT8 *srcdata, *srcdata2;
INT32 destendx, destendy;
INT32 srcx, srcy;
@@ -695,7 +694,7 @@ void drawgfx_transpen_x2222(bitmap_rgb32 &dest, const rectangle &cliprect, gfx_e
{
UINT32 srcdata = (srcptr[0]);
UINT32 srcdata2 = (srcptr2[0]);
-
+
UINT32 fullval = (srcdata | (srcdata2 << 8));
UINT32 r = ((fullval >> 0) & 0x1f) << 3;
UINT32 g = ((fullval >> 5) & 0x3f) << 2;
@@ -703,7 +702,7 @@ void drawgfx_transpen_x2222(bitmap_rgb32 &dest, const rectangle &cliprect, gfx_e
UINT32 full = (r << 16) | (g << 8) | (b << 0);
if (full != 0)
destptr[0] = full;
-
+
srcptr++;
srcptr2++;
destptr++;
@@ -729,7 +728,7 @@ void drawgfx_transpen_x2222(bitmap_rgb32 &dest, const rectangle &cliprect, gfx_e
{
UINT32 srcdata = (srcptr[0]);
UINT32 srcdata2 = (srcptr2[0]);
-
+
UINT32 fullval = (srcdata | (srcdata2 << 8));
UINT32 r = ((fullval >> 0) & 0x1f) << 3;
UINT32 g = ((fullval >> 5) & 0x3f) << 2;
@@ -737,7 +736,7 @@ void drawgfx_transpen_x2222(bitmap_rgb32 &dest, const rectangle &cliprect, gfx_e
UINT32 full = (r << 16) | (g << 8) | (b << 0);
if (full != 0)
destptr[0] = full;
-
+
srcptr--;
srcptr2--;
destptr++;
@@ -766,7 +765,7 @@ void gstream_state::draw_bg_gstream(bitmap_rgb32 &bitmap, const rectangle &clipr
int vram_data = (ram[(basex&0x0f)+((basey&0x0f)*0x10)]);
int pal = (vram_data & 0xc0000000) >> 30;
int code = (vram_data & 0x0fff0000) >> 16;
-
+
pal += palbase;
if (m_gfxdecode->gfx(map+5))
@@ -806,7 +805,7 @@ UINT32 gstream_state::screen_update_gstream(screen_device &screen, bitmap_rgb32
draw_bg_gstream(bitmap, cliprect, m_tmap3_scrollx >> 16, m_tmap3_scrolly >> 16, 2, m_vram + 0x800/4, 0x18);
- draw_bg_gstream(bitmap, cliprect, m_tmap2_scrollx >> 16, m_tmap2_scrolly >> 16, 1, m_vram + 0x400/4, 0x14);
+ draw_bg_gstream(bitmap, cliprect, m_tmap2_scrollx >> 16, m_tmap2_scrolly >> 16, 1, m_vram + 0x400/4, 0x14);
draw_bg_gstream(bitmap, cliprect, m_tmap1_scrollx >> 16, m_tmap1_scrolly >> 16, 0, m_vram + 0x000/4, 0x10); // move on top for x2222 , check
@@ -907,7 +906,7 @@ static MACHINE_CONFIG_START( x2222, gstream_state )
MCFG_CPU_VBLANK_INT_DRIVER("screen", gstream_state, irq0_line_hold)
-// MCFG_NVRAM_ADD_1FILL("nvram")
+// MCFG_NVRAM_ADD_1FILL("nvram")
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -979,7 +978,7 @@ ROM_START( x2222 )
ROM_REGION32_BE( 0x0200000, "misc", 0 ) /* other code */
ROM_LOAD( "test.hye", 0x000000, 0x0112dda, CRC(c1142b2f) SHA1(5807930820a53604013a6ac66e4d4ebe3628e1fc) ) // the above binary was built from this
-
+
/* x2222 uses raw rgb16 data rather than 8bpp indexed, in order to use the same gfx decodes with a custom draw routine we arrange the data into 2 8bpp regions on init */
ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASE00 ) /* sprite tiles (16x16x8) */
/* filled in at init*/
@@ -1041,7 +1040,7 @@ ROM_START( x2222o )
ROM_REGION32_BE( 0x0200000, "misc", 0 ) /* other code */
ROM_LOAD( "older.hye", 0x000000, 0x010892f, CRC(cf3a004e) SHA1(1cba64cfa235b9540f33a5ee0cc02dfd267e00fc) ) // this corresponds to the older.bin we're using, for reference
-
+
/* x2222 uses raw rgb16 data rather than 8bpp indexed, in order to use the same gfx decodes with a custom draw routine we arrange the data into 2 8bpp regions on init */
ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASE00 ) /* sprite tiles (16x16x8) */
/* filled in at init*/
diff --git a/src/mame/drivers/gsword.c b/src/mame/drivers/gsword.c
index f131dba361c..51d5c10f396 100644
--- a/src/mame/drivers/gsword.c
+++ b/src/mame/drivers/gsword.c
@@ -703,7 +703,7 @@ static MACHINE_CONFIG_START( josvolly, gsword_state )
MCFG_CPU_VBLANK_INT_DRIVER("screen", gsword_state, irq0_line_hold)
MCFG_MACHINE_RESET_OVERRIDE(gsword_state,josvolly)
-
+
MCFG_JOSVOLLY8741_ADD("josvolly_8741")
MCFG_JOSVOLLY8741_CONNECT(1,0,0,0)
MCFG_JOSVOLLY8741_PORT_HANDLERS(IOPORT("DSW1"),IOPORT("DSW2"),IOPORT("DSW1"),IOPORT("DSW2"))
diff --git a/src/mame/drivers/gticlub.c b/src/mame/drivers/gticlub.c
index 173aa55958c..dcb8deb7588 100644
--- a/src/mame/drivers/gticlub.c
+++ b/src/mame/drivers/gticlub.c
@@ -260,7 +260,7 @@ public:
required_device<adsp21062_device> m_dsp;
optional_device<cpu_device> m_dsp2;
required_device<k056800_device> m_k056800;
- required_device<adc1038_device> m_adc1038;
+ required_device<adc1038_device> m_adc1038;
required_device<eeprom_serial_93cxx_device> m_eeprom;
required_device<palette_device> m_palette;
@@ -1108,11 +1108,11 @@ static MACHINE_CONFIG_START( hangplt, gticlub_state )
MCFG_SCREEN_UPDATE_DRIVER(gticlub_state, screen_update_hangplt)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K001604_ADD("k001604_1", hangplt_k001604_intf_l)
MCFG_K001604_GFXDECODE("gfxdecode")
MCFG_K001604_PALETTE("palette")
-
+
MCFG_K001604_ADD("k001604_2", hangplt_k001604_intf_r)
MCFG_K001604_GFXDECODE("gfxdecode")
MCFG_K001604_PALETTE("palette")
diff --git a/src/mame/drivers/gunpey.c b/src/mame/drivers/gunpey.c
index 09581f5e5ce..0b3d6405e5f 100644
--- a/src/mame/drivers/gunpey.c
+++ b/src/mame/drivers/gunpey.c
@@ -202,7 +202,7 @@ public:
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
m_wram(*this, "wram"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/gunsmoke.c b/src/mame/drivers/gunsmoke.c
index 48c1f16435d..aff853a873c 100644
--- a/src/mame/drivers/gunsmoke.c
+++ b/src/mame/drivers/gunsmoke.c
@@ -313,7 +313,7 @@ static MACHINE_CONFIG_START( gunsmoke, gunsmoke_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", gunsmoke)
-
+
MCFG_PALETTE_ADD("palette", 32*4+16*16+16*16)
MCFG_PALETTE_INDIRECT_ENTRIES(256)
MCFG_PALETTE_INIT_OWNER(gunsmoke_state, gunsmoke)
diff --git a/src/mame/drivers/halleys.c b/src/mame/drivers/halleys.c
index 3345fc56f9d..f0952306428 100644
--- a/src/mame/drivers/halleys.c
+++ b/src/mame/drivers/halleys.c
@@ -247,7 +247,7 @@ public:
offs_t m_collision_detection;
int m_latch_delay;
dynamic_array<UINT8> m_paletteram;
-
+
DECLARE_WRITE8_MEMBER(bgtile_w);
DECLARE_READ8_MEMBER(blitter_status_r);
DECLARE_READ8_MEMBER(blitter_r);
@@ -1282,10 +1282,10 @@ void halleys_state::video_start()
m_alpha_table[(src<<8)+dst] = c | BG_RGB;
}
-
+
m_paletteram.resize(m_palette->entries());
m_palette->basemem().set(m_paletteram, ENDIANNESS_LITTLE, 1);
-
+
m_bgcolor = m_palette->black_pen();
}
diff --git a/src/mame/drivers/highvdeo.c b/src/mame/drivers/highvdeo.c
index eec9bf14eb8..92a399284bc 100644
--- a/src/mame/drivers/highvdeo.c
+++ b/src/mame/drivers/highvdeo.c
@@ -1626,7 +1626,7 @@ ROM_START( magicbom )
ROM_LOAD( "sound-magic-bomb-hmb-vers1-memory-4m.ic16", 0x00000, 0x80000, CRC(45b2b53a) SHA1(983bcc5869d84938ba278f26339dd72c17ed1d00) )
ROM_END
-ROM_START( record ) // do checks and expect something... pc=e8044
+ROM_START( record ) // do checks and expect something... pc=e8044
ROM_REGION( 0x100000, "user1", 0 ) /* V30 Code */
ROM_LOAD16_BYTE( "record-vrc-i17-vers1-video-map.ic7", 0x00000, 0x80000, CRC(d0e59a64) SHA1(5f51448a4cdefd335e19affa4b47df7b428b0e7c) )
ROM_LOAD16_BYTE( "record-vrc-i17-vers1-video-map.ic8", 0x00001, 0x80000, CRC(823d1c25) SHA1(3104567b2b05708d1b5218f9f0e64bfa3d0df46b) )
@@ -1644,9 +1644,9 @@ READ16_MEMBER(highvdeo_state::record_status_r)
switch(offset*2)
{
case 0:
- resetpulse^=0x15; // and 0x07, cmp with 0x05
+ resetpulse^=0x15; // and 0x07, cmp with 0x05
return 0 | resetpulse;
- case 2: return 0x15; // unknown
+ case 2: return 0x15; // unknown
}
return 0;
diff --git a/src/mame/drivers/hng64.c b/src/mame/drivers/hng64.c
index fbb27e4d3e6..dba03547db2 100644
--- a/src/mame/drivers/hng64.c
+++ b/src/mame/drivers/hng64.c
@@ -650,7 +650,7 @@ READ32_MEMBER(hng64_state::fight_io_r)
switch (offset*4)
{
- case 0x000: return 0x00000400;
+ case 0x000: return 0x00000400;
case 0x004: return ioport("SYSTEM")->read();
case 0x008: return ioport("P1_P2")->read();
case 0x600: return m_no_machine_error_code;
@@ -919,12 +919,12 @@ WRITE32_MEMBER(hng64_state::dl_control_w) // This handles framebuffers
{
//if(data & 2) // swap buffers
//{
- // clear3d();
+ // clear3d();
//}
-// printf("%02x\n",data);
+// printf("%02x\n",data);
-// if(data & 1) // process DMA from 3d FIFO to framebuffer
+// if(data & 1) // process DMA from 3d FIFO to framebuffer
// if(data & 4) // reset buffer count
}
@@ -984,11 +984,11 @@ READ32_MEMBER(hng64_state::tcram_r)
*/
READ32_MEMBER(hng64_state::unk_vreg_r)
{
-// m_unk_vreg_toggle^=0x8000;
+// m_unk_vreg_toggle^=0x8000;
return 0;
-// return ++m_unk_vreg_toggle;
+// return ++m_unk_vreg_toggle;
}
/***** I don't think there is a soundram2, having it NOT hooked up causes xrally to copy the sound program to the expected location, see memory map note *****/
@@ -1890,11 +1890,11 @@ TIMER_DEVICE_CALLBACK_MEMBER(hng64_state::hng64_irq)
switch(scanline)
{
- case 224*2: m_set_irq(0x0001); break; // lv 0 vblank irq
-// case 0*2: m_set_irq(0x0002); break; // lv 1
-// case 32*2: m_set_irq(0x0008); break; // lv 2
-// case 64*2: m_set_irq(0x0008); break; // lv 2
- case 128*2: m_set_irq(0x0800); break; // lv 11 network irq?
+ case 224*2: m_set_irq(0x0001); break; // lv 0 vblank irq
+// case 0*2: m_set_irq(0x0002); break; // lv 1
+// case 32*2: m_set_irq(0x0008); break; // lv 2
+// case 64*2: m_set_irq(0x0008); break; // lv 2
+ case 128*2: m_set_irq(0x0800); break; // lv 11 network irq?
}
}
@@ -1923,11 +1923,11 @@ void hng64_state::machine_reset()
m_audiocpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
m_audiocpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
-// m_comm->set_input_line(INPUT_LINE_RESET, PULSE_LINE); // reset the CPU and let 'er rip
+// m_comm->set_input_line(INPUT_LINE_RESET, PULSE_LINE); // reset the CPU and let 'er rip
// m_comm->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); // hold on there pardner...
// "Display List" init - ugly
-// m_activeBuffer = 0;
+// m_activeBuffer = 0;
/* For simulate MCU stepping */
m_mcu_fake_time = 0;
@@ -1955,7 +1955,7 @@ static MACHINE_CONFIG_START( hng64, hng64_state )
MCFG_CPU_IO_MAP(hng_comm_io_map)
MCFG_NVRAM_ADD_0FILL("nvram")
-
+
MCFG_DEVICE_ADD("rtc", MSM6242, XTAL_32_768kHz)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", hng64)
diff --git a/src/mame/drivers/hornet.c b/src/mame/drivers/hornet.c
index 759eff2130b..53b63ee0d4d 100644
--- a/src/mame/drivers/hornet.c
+++ b/src/mame/drivers/hornet.c
@@ -1002,7 +1002,7 @@ static MACHINE_CONFIG_START( hornet, hornet_state )
MCFG_PALETTE_ADD("palette", 65536)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K037122_ADD("k037122_1", "screen", 0)
MCFG_K037122_GFXDECODE("gfxdecode")
MCFG_K037122_PALETTE("palette")
@@ -1077,7 +1077,7 @@ static MACHINE_CONFIG_DERIVED( hornet_2board, hornet )
MCFG_K037122_ADD("k037122_1", "lscreen", 0)
MCFG_K037122_GFXDECODE("gfxdecode")
MCFG_K037122_PALETTE("palette")
-
+
MCFG_K037122_ADD("k037122_2", "rscreen", 1)
MCFG_K037122_GFXDECODE("gfxdecode")
MCFG_K037122_PALETTE("palette")
diff --git a/src/mame/drivers/hshavoc.c b/src/mame/drivers/hshavoc.c
index 22bc937e3b3..9b90247effd 100644
--- a/src/mame/drivers/hshavoc.c
+++ b/src/mame/drivers/hshavoc.c
@@ -222,7 +222,7 @@ DRIVER_INIT_MEMBER(md_boot_state,hshavoc)
}
DRIVER_INIT_CALL(megadriv);
-
+
m_vdp->stop_timers();
}
diff --git a/src/mame/drivers/hvyunit.c b/src/mame/drivers/hvyunit.c
index 5ed1dcc67ae..5c2581fbd45 100644
--- a/src/mame/drivers/hvyunit.c
+++ b/src/mame/drivers/hvyunit.c
@@ -111,7 +111,7 @@ public:
required_device<kaneko_pandora_device> m_pandora;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(trigger_nmi_on_slave_cpu);
DECLARE_WRITE8_MEMBER(master_bankswitch_w);
DECLARE_WRITE8_MEMBER(mermaid_data_w);
diff --git a/src/mame/drivers/hyperspt.c b/src/mame/drivers/hyperspt.c
index f7f0d408189..4dca646c5f0 100644
--- a/src/mame/drivers/hyperspt.c
+++ b/src/mame/drivers/hyperspt.c
@@ -345,7 +345,7 @@ static MACHINE_CONFIG_DERIVED( roadf, hyperspt )
MCFG_CPU_PROGRAM_MAP(roadf_map)
MCFG_GFXDECODE_MODIFY("gfxdecode", roadf)
MCFG_VIDEO_START_OVERRIDE(hyperspt_state,roadf)
-
+
MCFG_CPU_MODIFY("audiocpu")
MCFG_CPU_PROGRAM_MAP(roadf_sound_map)
MCFG_DEVICE_REMOVE("vlm")
diff --git a/src/mame/drivers/igs017.c b/src/mame/drivers/igs017.c
index edbc7a04c41..24e6ba481ed 100644
--- a/src/mame/drivers/igs017.c
+++ b/src/mame/drivers/igs017.c
@@ -79,7 +79,7 @@ public:
optional_device<igs022_device> m_igs022; // Mj Shuang Long Qiang Zhu 2
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
void igs025_to_igs022_callback( void );
int m_toggle;
diff --git a/src/mame/drivers/igs_m027.c b/src/mame/drivers/igs_m027.c
index 36b76fff74d..b480d8ac77c 100644
--- a/src/mame/drivers/igs_m027.c
+++ b/src/mame/drivers/igs_m027.c
@@ -203,7 +203,6 @@ void igs_m027_state::video_start()
void igs_m027_state::video_start_fearless()
{
-
}
UINT32 igs_m027_state::screen_update_igs_majhong(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
diff --git a/src/mame/drivers/igspoker.c b/src/mame/drivers/igspoker.c
index e494ba8c0a9..4582c5a70f0 100644
--- a/src/mame/drivers/igspoker.c
+++ b/src/mame/drivers/igspoker.c
@@ -90,7 +90,7 @@ public:
required_shared_ptr<UINT8> m_fg_color_ram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
int m_nmi_enable;
int m_bg_enable;
int m_hopper;
diff --git a/src/mame/drivers/ikki.c b/src/mame/drivers/ikki.c
index 3d2d8670335..eec997db616 100644
--- a/src/mame/drivers/ikki.c
+++ b/src/mame/drivers/ikki.c
@@ -254,7 +254,7 @@ static MACHINE_CONFIG_START( ikki, ikki_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(32*8, 32*8+3*8)
- MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(ikki_state, screen_update_ikki)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/intrscti.c b/src/mame/drivers/intrscti.c
index 63e4cc02507..4f2220c434c 100644
--- a/src/mame/drivers/intrscti.c
+++ b/src/mame/drivers/intrscti.c
@@ -24,7 +24,7 @@ public:
m_subcpu(*this,"subcpu"),
m_vram(*this, "vram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/itgambl3.c b/src/mame/drivers/itgambl3.c
index 83938b333e4..0e2d0cd3728 100644
--- a/src/mame/drivers/itgambl3.c
+++ b/src/mame/drivers/itgambl3.c
@@ -483,26 +483,26 @@ ROM_START( x5jokers ) /* CPU and clock should be changed for this game */
ROM_LOAD( "xfivejs.u29", 0x00000, 0x80000, CRC(67d51cb4) SHA1(9182a63473a32a9ad91a7a6a47d5a5d965e3cb03) )
ROM_END
-ROM_START( queenotg )
+ROM_START( queenotg )
ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "queenotg_m30624fgafp.mcu", 0x00000, 0x4000, NO_DUMP )
- ROM_REGION( 0x200000, "gfx1", 0 )
+ ROM_REGION( 0x200000, "gfx1", 0 )
ROM_LOAD( "u22.bin", 0x000000, 0x200000, CRC(b9bd0fac) SHA1(ce6a6d85e9ae47860cc6d270d8d563df58146b74) )
- ROM_REGION( 0x80000, "oki", 0 )
+ ROM_REGION( 0x80000, "oki", 0 )
ROM_LOAD( "u3.bin", 0x00000, 0x20000, CRC(f318927e) SHA1(f47ec9eb995b28403066fb2b66aad98c044676bc) )
ROM_END
-ROM_START( ejollyx9 )
+ROM_START( ejollyx9 )
ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "ejollyx9_m30624fgafp.mcu", 0x00000, 0x4000, NO_DUMP )
- ROM_REGION( 0x200000, "gfx1", 0 )
+ ROM_REGION( 0x200000, "gfx1", 0 )
ROM_LOAD( "nm.u22", 0x000000, 0x200000, CRC(86b86a98) SHA1(cff4e79aaacad79e17e4dc52f2c14755424a2567) )
- ROM_REGION( 0x80000, "oki", 0 )
+ ROM_REGION( 0x80000, "oki", 0 )
ROM_LOAD( "nm.u3", 0x00000, 0x80000, CRC(0529696b) SHA1(7e182051baae0b7de1f5a2c18f1b68b695f339d8) )
ROM_END
@@ -518,4 +518,3 @@ GAME( 200?, supjolly, 0, itgambl3, itgambl3, driver_device, 0, ROT0, "<un
GAME( 200?, x5jokers, 0, itgambl3, itgambl3, driver_device, 0, ROT0, "Electronic Projects", "X Five Jokers (Version 1.12)", GAME_IS_SKELETON )
GAME( 200?, queenotg, 0, itgambl3, itgambl3, driver_device, 0, ROT0, "<unknown>", "Queen of the Games", GAME_IS_SKELETON )
GAME( 200?, ejollyx9, 0, itgambl3, itgambl3, driver_device, 0, ROT0, "Solar Games", "Euro Jolly X9", GAME_IS_SKELETON )
-
diff --git a/src/mame/drivers/itgamble.c b/src/mame/drivers/itgamble.c
index a780a3b362f..1c12997c2cf 100644
--- a/src/mame/drivers/itgamble.c
+++ b/src/mame/drivers/itgamble.c
@@ -65,7 +65,7 @@ public:
itgamble_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/drivers/jackie.c b/src/mame/drivers/jackie.c
index 1f2ad39ea1b..6707dc4e02a 100644
--- a/src/mame/drivers/jackie.c
+++ b/src/mame/drivers/jackie.c
@@ -76,7 +76,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
int m_exp_bank;
tilemap_t *m_fg_tilemap;
tilemap_t *m_reel1_tilemap;
diff --git a/src/mame/drivers/jclub2.c b/src/mame/drivers/jclub2.c
index 47be6834e07..fd198847bc2 100644
--- a/src/mame/drivers/jclub2.c
+++ b/src/mame/drivers/jclub2.c
@@ -293,14 +293,13 @@ UINT32 darkhors_state::screen_update_darkhors(screen_device &screen, bitmap_ind1
***************************************************************************/
-WRITE32_MEMBER(darkhors_state::jclub2o_eeprom_w) //seiko s-2929 is used on old style pcb
+WRITE32_MEMBER(darkhors_state::jclub2o_eeprom_w) //seiko s-2929 is used on old style pcb
{
if (data & ~0xff000000)
logerror("%s: Unknown EEPROM bit written %08X\n",machine().describe_context(),data);
-
+
if ( ACCESSING_BITS_24_31 )
{
-
// latch the bit
m_eeprom->di_write((data & 0x01000000) >> 24);
@@ -355,7 +354,6 @@ static int mask_to_bit( int mask )
READ32_MEMBER(darkhors_state::darkhors_input_sel_r)
{
-
// from bit mask to bit number
int bit_p1 = mask_to_bit((m_input_sel & 0x00ff0000) >> 16);
int bit_p2 = mask_to_bit((m_input_sel & 0xff000000) >> 24);
@@ -371,7 +369,6 @@ READ32_MEMBER(darkhors_state::p_580004)
{
UINT32 ret = ioport("580004")->read()& 0x00ffffff;
switch (m_input_sel_jc_2p){
-
case 0x01: return ret | (ioport("580004-01")->read()<<24);
case 0x02: return ret | (ioport("580004-02")->read()<<24);
case 0x04: return ret | (ioport("580004-04")->read()<<24);
@@ -381,7 +378,7 @@ switch (m_input_sel_jc_2p){
case 0x40: return ret | (ioport("580004-40")->read()<<24);
case 0x80: return ret | (ioport("580004-80")->read()<<24);
}
-
+
return ret;
}
@@ -390,7 +387,6 @@ READ32_MEMBER(darkhors_state::p_4e0000)
{
UINT32 ret = ioport("4E0000")->read()& 0x00ffffff;
switch (m_input_sel_jc_2p){
-
case 0x01: return ret | (ioport("4E0000-01")->read()<<24);
case 0x02: return ret | (ioport("4E0000-02")->read()<<24);
case 0x04: return ret | (ioport("4E0000-04")->read()<<24);
@@ -456,24 +452,24 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( jclub2_map, AS_PROGRAM, 32, darkhors_state )
AM_RANGE(0x000000, 0x1fffff) AM_ROM
- AM_RANGE(0x400000, 0x41ffff) AM_RAM AM_SHARE("nvram") //all 68k ram is battery backup
+ AM_RANGE(0x400000, 0x41ffff) AM_RAM AM_SHARE("nvram") //all 68k ram is battery backup
//AM_RANGE(0x400000, 0x41ffff) AM_RAM
AM_RANGE(0x490000, 0x490003) AM_WRITE(darkhors_eeprom_w)
- AM_RANGE(0x4E0000, 0x4E0003) AM_READ(p_4e0000) //input 2p
+ AM_RANGE(0x4E0000, 0x4E0003) AM_READ(p_4e0000) //input 2p
AM_RANGE(0x4E0000, 0x4E0003) AM_WRITE(jclub2_input_sel_w_p1)
- AM_RANGE(0x580000, 0x580003) AM_READ_PORT("580000") //eeprom related?
- AM_RANGE(0x580004, 0x580007) AM_READ(p_580004) //system + some 1p input here
- AM_RANGE(0x580008, 0x58000b) AM_READ_PORT("580008") //input 1p + coins
+ AM_RANGE(0x580000, 0x580003) AM_READ_PORT("580000") //eeprom related?
+ AM_RANGE(0x580004, 0x580007) AM_READ(p_580004) //system + some 1p input here
+ AM_RANGE(0x580008, 0x58000b) AM_READ_PORT("580008") //input 1p + coins
AM_RANGE(0x58000c, 0x58000f) AM_WRITE(jclub2_input_sel_w_p2)
- AM_RANGE(0x580200, 0x580203) AM_READNOP //????
+ AM_RANGE(0x580200, 0x580203) AM_READNOP //????
AM_RANGE(0x800000, 0x87ffff) AM_DEVREADWRITE16( "st0020_spr", st0020_device, st0020_sprram_r, st0020_sprram_w, 0xffffffff );
AM_RANGE(0x880000, 0x89ffff) AM_RAM AM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
AM_RANGE(0x8a0000, 0x8bffff) AM_RAM // this should still be palette ram!
-// AM_RANGE(0x8C0000, 0x8C00ff) AM_DEVREADWRITE16( "st0020_spr", st0020_device, st0020_blitram_r, st0020_blitram_w, 0xffffffff );
+// AM_RANGE(0x8C0000, 0x8C00ff) AM_DEVREADWRITE16( "st0020_spr", st0020_device, st0020_blitram_r, st0020_blitram_w, 0xffffffff );
AM_RANGE(0x8E0000, 0x8E01ff) AM_RAM
AM_RANGE(0x900000, 0x9fffff) AM_DEVREADWRITE16( "st0020_spr", st0020_device, st0020_gfxram_r, st0020_gfxram_w, 0xffffffff );
@@ -483,20 +479,20 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( jclub2o_map, AS_PROGRAM, 32, darkhors_state )
-
+
AM_RANGE(0x000000, 0x1fffff) AM_ROM
- AM_RANGE(0x400000, 0x41ffff) AM_RAM AM_SHARE("nvram") //all 68k ram is battery backup
+ AM_RANGE(0x400000, 0x41ffff) AM_RAM AM_SHARE("nvram") //all 68k ram is battery backup
//AM_RANGE(0x400000, 0x41ffff) AM_RAM
-
- AM_RANGE(0x490000, 0x490003) AM_WRITE(jclub2o_eeprom_w) //eeprom s2929 not 93c46
- AM_RANGE(0x4E0000, 0x4E0003) AM_READ(p_4e0000) //input 2p
+
+ AM_RANGE(0x490000, 0x490003) AM_WRITE(jclub2o_eeprom_w) //eeprom s2929 not 93c46
+ AM_RANGE(0x4E0000, 0x4E0003) AM_READ(p_4e0000) //input 2p
AM_RANGE(0x4E0000, 0x4E0003) AM_WRITE(jclub2_input_sel_w_p1)
- AM_RANGE(0x580000, 0x580003) AM_READ_PORT("580000") //eeprom read
- AM_RANGE(0x580004, 0x580007) AM_READ(p_580004) //system + some 1p keyboard input here
- AM_RANGE(0x580008, 0x58000b) AM_READ_PORT("580008") //input 1p + coins
+ AM_RANGE(0x580000, 0x580003) AM_READ_PORT("580000") //eeprom read
+ AM_RANGE(0x580004, 0x580007) AM_READ(p_580004) //system + some 1p keyboard input here
+ AM_RANGE(0x580008, 0x58000b) AM_READ_PORT("580008") //input 1p + coins
AM_RANGE(0x58000c, 0x58000f) AM_WRITE(jclub2_input_sel_w_p2)
-
- AM_RANGE(0x580200, 0x580203) AM_READNOP //????
+
+ AM_RANGE(0x580200, 0x580203) AM_READNOP //????
AM_RANGE(0x600000, 0x67ffff) AM_DEVREADWRITE16( "st0020_spr", st0020_device, st0020_sprram_r, st0020_sprram_w, 0xffffffff );
AM_RANGE(0x680000, 0x69ffff) AM_RAM AM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
@@ -722,50 +718,50 @@ INPUT_PORTS_END
static INPUT_PORTS_START( jclub2 )
-
+
PORT_START("580000")
PORT_BIT( 0x7fffffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80000000, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read)
PORT_START("580008")
PORT_BIT( 0x0000ffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Payout") PORT_CODE(KEYCODE_LCONTROL) // payout 1p
+ PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Payout") PORT_CODE(KEYCODE_LCONTROL) // payout 1p
PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_START1 ) // start 1p
+ PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_START1 ) // start 1p
PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 coin out") PORT_CODE(KEYCODE_RSHIFT) //coin out 2p
- PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 coin out") PORT_CODE(KEYCODE_LSHIFT) //coin out 1p
+ PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 coin out") PORT_CODE(KEYCODE_RSHIFT) //coin out 2p
+ PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 coin out") PORT_CODE(KEYCODE_LSHIFT) //coin out 1p
PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_COIN1 ) //1p coin drop
- PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_COIN3 ) //2p coin drop
- PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_COIN1 ) //1p coin in s1
- PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_COIN2 ) //1p coin in s2
- PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_COIN3 ) //2p coin in s1
- PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_COIN4 ) //2p coin in s2
+ PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_COIN1 ) //1p coin drop
+ PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_COIN3 ) //2p coin drop
+ PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_COIN1 ) //1p coin in s1
+ PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_COIN2 ) //1p coin in s2
+ PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_COIN3 ) //2p coin in s1
+ PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_COIN4 ) //2p coin in s2
PORT_START("580004")
PORT_BIT( 0x0000ffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_SERVICE2 ) //reset
- PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_SERVICE3 ) //meter
- PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_SERVICE4 ) //last game
+ PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_SERVICE2 ) //reset
+ PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_SERVICE3 ) //meter
+ PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_SERVICE4 ) //last game
PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Cancel") PORT_CODE(KEYCODE_LALT) // cancel 1p
- PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME(DEF_STR( Test )) PORT_CODE(KEYCODE_F1) //test
+ PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME(DEF_STR( Test )) PORT_CODE(KEYCODE_F1) //test
PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 hopper full") PORT_CODE(KEYCODE_CLOSEBRACE) //hopper full 2p
- PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 hopper full") PORT_CODE(KEYCODE_OPENBRACE) //hopper full 1p
- PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
- PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
-
- PORT_START("580004-01") //1P
+ PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 hopper full") PORT_CODE(KEYCODE_CLOSEBRACE) //hopper full 2p
+ PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 hopper full") PORT_CODE(KEYCODE_OPENBRACE) //hopper full 1p
+ PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+ PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 1p
+
+ PORT_START("580004-01") //1P
PORT_BIT( 0x00, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 1") PORT_CODE(KEYCODE_1_PAD)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 2") PORT_CODE(KEYCODE_2_PAD)
@@ -776,7 +772,7 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 7") PORT_CODE(KEYCODE_7_PAD)
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 8") PORT_CODE(KEYCODE_8_PAD)
- PORT_START("580004-02") //1P
+ PORT_START("580004-02") //1P
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 1-2") PORT_CODE(KEYCODE_Q)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 1-3") PORT_CODE(KEYCODE_W)
@@ -785,9 +781,9 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 1-6") PORT_CODE(KEYCODE_T)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 1-7") PORT_CODE(KEYCODE_Y)
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 1-8") PORT_CODE(KEYCODE_U)
-
- PORT_START("580004-04") //1P
+
+ PORT_START("580004-04") //1P
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 2-3") PORT_CODE(KEYCODE_I)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 2-4") PORT_CODE(KEYCODE_O)
@@ -795,8 +791,8 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 2-6") PORT_CODE(KEYCODE_S)
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 2-7") PORT_CODE(KEYCODE_D)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 2-8") PORT_CODE(KEYCODE_F)
-
- PORT_START("580004-08") //1P
+
+ PORT_START("580004-08") //1P
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 3-4") PORT_CODE(KEYCODE_G)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 3-5") PORT_CODE(KEYCODE_H)
@@ -804,52 +800,52 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 3-7") PORT_CODE(KEYCODE_K)
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 3-8") PORT_CODE(KEYCODE_L)
- PORT_START("580004-10") //1P
+ PORT_START("580004-10") //1P
PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 4-5") PORT_CODE(KEYCODE_Z)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 4-6") PORT_CODE(KEYCODE_X)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 4-7") PORT_CODE(KEYCODE_C)
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 4-8") PORT_CODE(KEYCODE_V)
-
- PORT_START("580004-20") //1P
+
+ PORT_START("580004-20") //1P
PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 5-6") PORT_CODE(KEYCODE_B)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 5-7") PORT_CODE(KEYCODE_N)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 5-8") PORT_CODE(KEYCODE_M)
-
- PORT_START("580004-40") //1P
- PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("580004-40") //1P
+ PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 6-7") PORT_CODE(KEYCODE_COMMA)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 6-8") PORT_CODE(KEYCODE_STOP)
-
- PORT_START("580004-80") //1P
+
+ PORT_START("580004-80") //1P
PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 7-8") PORT_CODE(KEYCODE_SLASH)
PORT_START("4E0000") // 4E0000
PORT_BIT( 0x0000ffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Payout") PORT_CODE(KEYCODE_RCONTROL) // payout 2p
+ PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Payout") PORT_CODE(KEYCODE_RCONTROL) // payout 2p
PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_START2 ) // start 2p
+ PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_START2 ) // start 2p
PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Cancel") PORT_CODE(KEYCODE_RALT) // cancel 2p
+ PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Cancel") PORT_CODE(KEYCODE_RALT) // cancel 2p
PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //unused???
- PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
- PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
-
- PORT_START("4E0000-01") //2P
+ PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+ PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) //keyboard input 2p
+
+ PORT_START("4E0000-01") //2P
PORT_BIT( 0x00, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 1") PORT_CODE(KEYCODE_1_PAD)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 2") PORT_CODE(KEYCODE_2_PAD)
@@ -860,7 +856,7 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 7") PORT_CODE(KEYCODE_7_PAD)
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 8") PORT_CODE(KEYCODE_8_PAD)
- PORT_START("4E0000-02") //2P
+ PORT_START("4E0000-02") //2P
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 1-2") PORT_CODE(KEYCODE_Q)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 1-3") PORT_CODE(KEYCODE_W)
@@ -869,9 +865,9 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 1-6") PORT_CODE(KEYCODE_T)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 1-7") PORT_CODE(KEYCODE_Y)
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 1-8") PORT_CODE(KEYCODE_U)
-
- PORT_START("4E0000-04") //2P
+
+ PORT_START("4E0000-04") //2P
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 2-3") PORT_CODE(KEYCODE_I)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 2-4") PORT_CODE(KEYCODE_O)
@@ -879,8 +875,8 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 2-6") PORT_CODE(KEYCODE_S)
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 2-7") PORT_CODE(KEYCODE_D)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 2-8") PORT_CODE(KEYCODE_F)
-
- PORT_START("4E0000-08") //2P
+
+ PORT_START("4E0000-08") //2P
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 3-4") PORT_CODE(KEYCODE_G)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 3-5") PORT_CODE(KEYCODE_H)
@@ -888,26 +884,26 @@ static INPUT_PORTS_START( jclub2 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 3-7") PORT_CODE(KEYCODE_K)
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 3-8") PORT_CODE(KEYCODE_L)
- PORT_START("4E0000-10") //2P
+ PORT_START("4E0000-10") //2P
PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 4-5") PORT_CODE(KEYCODE_Z)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 4-6") PORT_CODE(KEYCODE_X)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 4-7") PORT_CODE(KEYCODE_C)
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 4-8") PORT_CODE(KEYCODE_V)
-
- PORT_START("4E0000-20") //2P
+
+ PORT_START("4E0000-20") //2P
PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 5-6") PORT_CODE(KEYCODE_B)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 5-7") PORT_CODE(KEYCODE_N)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 5-8") PORT_CODE(KEYCODE_M)
-
- PORT_START("4E0000-40") //2P
+
+ PORT_START("4E0000-40") //2P
PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 6-7") PORT_CODE(KEYCODE_COMMA)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Bet 6-8") PORT_CODE(KEYCODE_STOP)
-
- PORT_START("4E0000-80") //2P
+
+ PORT_START("4E0000-80") //2P
PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet 7-8") PORT_CODE(KEYCODE_SLASH)
INPUT_PORTS_END
@@ -1023,7 +1019,7 @@ static MACHINE_CONFIG_START( jclub2, darkhors_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
// NOT an ST0020 but instead ST0032, ram format isn't compatible at least
MCFG_DEVICE_ADD("st0020_spr", ST0020_SPRITES, 0)
st0020_device::set_is_st0032(*device, 1);
@@ -1085,8 +1081,8 @@ static MACHINE_CONFIG_START( jclub2o, darkhors_state )
MCFG_CPU_VBLANK_INT_DRIVER("screen", darkhors_state, irq0_line_hold)
MCFG_NVRAM_ADD_0FILL("nvram")
- MCFG_EEPROM_SERIAL_93C56_ADD("eeprom") //not correct
-
+ MCFG_EEPROM_SERIAL_93C56_ADD("eeprom") //not correct
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -1098,9 +1094,9 @@ static MACHINE_CONFIG_START( jclub2o, darkhors_state )
MCFG_PALETTE_ADD("palette", 0x10000)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_DEVICE_ADD("st0020_spr", ST0020_SPRITES, 0)
st0020_device::set_is_jclub2o(*device, 1);
MCFG_ST0020_SPRITES_GFXDECODE("gfxdecode")
@@ -1220,7 +1216,7 @@ ROM_START( jclub2 )
ROM_REGION( 0x80000, "misc", ROMREGION_ERASEFF )
ROM_LOAD( "gal16v8b-m88-03.bin", 0x000, 0x117, CRC(6d9c882e) SHA1(84cb95ab540290c2f8b740668360e9c643a67dcf) )
ROM_LOAD( "gal16v8b-m88-04.bin", 0x000, 0x117, CRC(5e79f292) SHA1(5e44c234e2b15d486a1af71fee986892aa245b4d) )
-
+
ROM_REGION( 0x80, "eeprom", 0 ) // EEPROM
ROM_LOAD( "eeprom-jclub2.bin", 0x0000, 0x0080, CRC(1513cdc8) SHA1(22ff752f3e0f8f611c234a1dc4327aa360b4d6eb) )
ROM_END
@@ -1271,16 +1267,16 @@ ROM_START( jclub2o )
ROM_REGION( 0x80000, "st0016", 0 ) // z80 core (used for sound?)
ROM_LOAD( "sx006-04.u87", 0x00000, 0x80000, CRC(a87adedd) SHA1(1cd5af2d03738fff2230b46241659179467c828c) )
-
+
ROM_REGION( 0x100, "eeprom", 0 ) // eeprom 16 bit one!!!
- ROM_LOAD( "eeprom-jclub2o.bin", 0x0000, 0x100, CRC(dd1c88ec) SHA1(acb67e41e832f203361e0f93afcd4eaf963fd13e) ) //jclub2ob ones
+ ROM_LOAD( "eeprom-jclub2o.bin", 0x0000, 0x100, CRC(dd1c88ec) SHA1(acb67e41e832f203361e0f93afcd4eaf963fd13e) ) //jclub2ob ones
ROM_END
/*
Jockey Club II (26-mar-1997)
8 Horses, old style PCB.
Maybe upgraded to a release candidate software revision.
-*/
+*/
ROM_START( jclub2ob )
ROM_REGION( 0x200000, "maincpu", 0 ) // 68EC020 code + compressed gfx
ROM_LOAD16_WORD_SWAP( "sx006a-01.u26",0x00000, 0x200000, CRC(55e249bc) SHA1(ed0f066ed17f047760b712cbbfba1a62d4b452ba) )
@@ -1292,7 +1288,7 @@ ROM_START( jclub2ob )
ROM_REGION( 0x80000, "st0016", 0 ) // z80 core (used for sound?)
ROM_LOAD( "sx006-04.u87", 0x00000, 0x80000, CRC(a87adedd) SHA1(1cd5af2d03738fff2230b46241659179467c828c) )
-
+
ROM_REGION( 0x100, "eeprom", 0 ) // eeprom 16 bit one!!!
ROM_LOAD( "eeprom-jclub2o.bin", 0x0000, 0x100, CRC(dd1c88ec) SHA1(acb67e41e832f203361e0f93afcd4eaf963fd13e) )
ROM_END
@@ -1325,7 +1321,7 @@ DRIVER_INIT_MEMBER(darkhors_state,darkhors)
temp[i] = eeprom[BITSWAP8(i,7,5,4,3,2,1,0,6)];
memcpy(eeprom, temp, len);
-
+
}
}
@@ -1336,7 +1332,7 @@ GAME( 199?, jclub2ob, jclub2, jclub2o, jclub2, driver_device, 0, ROT0, "S
GAME( 2001, darkhors, jclub2, darkhors,darkhors,darkhors_state, darkhors,ROT0, "bootleg", "Dark Horse (bootleg of Jockey Club II)", GAME_IMPERFECT_GRAPHICS )
-//test boot = test mode
+//test boot = test mode
//reset +start 1p at boot, when msg on screen press test without release other key = setup
//reset +cancel 1p = backup all clear
//reset, test, meter and last game are keys so once you turn them they stay "active"
@@ -1347,4 +1343,3 @@ boot with
- 0 + left alt (reset + p1 cancel) to clear data
- 0 + 1 + f1 (IIRC) to write ID
*/
-
diff --git a/src/mame/drivers/kaneko16.c b/src/mame/drivers/kaneko16.c
index f829438be32..65fd7572807 100644
--- a/src/mame/drivers/kaneko16.c
+++ b/src/mame/drivers/kaneko16.c
@@ -1666,16 +1666,16 @@ static MACHINE_CONFIG_START( berlwall, kaneko16_berlwall_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK) // mangled sprites otherwise
+// MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK) // mangled sprites otherwise
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(256, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 16, 240-1)
MCFG_SCREEN_UPDATE_DRIVER(kaneko16_berlwall_state, screen_update_berlwall)
-// MCFG_SCREEN_PALETTE("palette")
+// MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", 1x4bit_1x4bit)
- MCFG_PALETTE_ADD("palette", 2048 )
+ MCFG_PALETTE_ADD("palette", 2048 )
MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB)
MCFG_PALETTE_ADD("bgpalette", 32768) /* 32768 static colors for the bg */
@@ -1688,7 +1688,7 @@ static MACHINE_CONFIG_START( berlwall, kaneko16_berlwall_state )
MCFG_KANEKO_TMAP_GFXDECODE("gfxdecode")
MCFG_DEVICE_ADD_VU002_SPRITES
-// kaneko16_sprite_device::set_altspacing(*device, 1);
+// kaneko16_sprite_device::set_altspacing(*device, 1);
MCFG_KANEKO16_SPRITE_GFXDECODE("gfxdecode")
MCFG_VIDEO_START_OVERRIDE(kaneko16_berlwall_state,berlwall)
@@ -1741,7 +1741,7 @@ static MACHINE_CONFIG_START( bakubrkr, kaneko16_state )
kaneko_view2_tilemap_device::set_gfx_region(*device, 1);
kaneko_view2_tilemap_device::set_offset(*device, 0x5b, -0x8, 256, 240);
MCFG_KANEKO_TMAP_GFXDECODE("gfxdecode")
-
+
MCFG_DEVICE_ADD("view2_1", KANEKO_TMAP, 0)
kaneko_view2_tilemap_device::set_gfx_region(*device, 2);
kaneko_view2_tilemap_device::set_offset(*device, 0x5b, -0x8, 256, 240);
@@ -1809,7 +1809,7 @@ static MACHINE_CONFIG_START( blazeon, kaneko16_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", 1x4bit_1x4bit)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB)
-
+
MCFG_DEVICE_ADD("view2_0", KANEKO_TMAP, 0)
kaneko_view2_tilemap_device::set_gfx_region(*device, 1);
kaneko_view2_tilemap_device::set_offset(*device, 0x33, 0x8, 320, 240);
diff --git a/src/mame/drivers/kingobox.c b/src/mame/drivers/kingobox.c
index 10de29ec076..c1df39e9d66 100644
--- a/src/mame/drivers/kingobox.c
+++ b/src/mame/drivers/kingobox.c
@@ -490,7 +490,7 @@ static MACHINE_CONFIG_START( kingofb, kingofb_state )
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(kingofb_state, screen_update_kingofb)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", kingobox)
MCFG_PALETTE_ADD("palette", 256+8*2)
diff --git a/src/mame/drivers/koftball.c b/src/mame/drivers/koftball.c
index f4ef0fc7d66..125ce88b5dd 100644
--- a/src/mame/drivers/koftball.c
+++ b/src/mame/drivers/koftball.c
@@ -179,7 +179,7 @@ static ADDRESS_MAP_START( koftball_mem, AS_PROGRAM, 16, koftball_state )
AM_RANGE(0x2da000, 0x2da003) AM_DEVWRITE8("ymsnd", ym2413_device, write, 0xff00)
AM_RANGE(0x2db000, 0x2db001) AM_WRITE(bmc_RAMDAC_offset_w) AM_SHARE("colorram")
- AM_RANGE(0x2db002, 0x2db003) AM_READWRITE(bmc_RAMDAC_color_r, bmc_RAMDAC_color_w)
+ AM_RANGE(0x2db002, 0x2db003) AM_READWRITE(bmc_RAMDAC_color_r, bmc_RAMDAC_color_w)
AM_RANGE(0x2db004, 0x2db005) AM_WRITENOP
AM_RANGE(0x2dc000, 0x2dc001) AM_DEVREADWRITE8("oki", okim6295_device, read, write, 0xff00)
AM_RANGE(0x2f0000, 0x2f0003) AM_READ_PORT("INPUTS")
@@ -254,13 +254,13 @@ static MACHINE_CONFIG_START( koftball, koftball_state )
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0*8, 30*8-1)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 256)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", koftball)
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
+
MCFG_SOUND_ADD("ymsnd", YM2413, XTAL_3_579545MHz) // guessed chip type, clock not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.50)
diff --git a/src/mame/drivers/konamigx.c b/src/mame/drivers/konamigx.c
index 73240f378bd..84deb27a9ae 100644
--- a/src/mame/drivers/konamigx.c
+++ b/src/mame/drivers/konamigx.c
@@ -1728,7 +1728,7 @@ static MACHINE_CONFIG_DERIVED( gxtype3, konamigx )
MCFG_VIDEO_START_OVERRIDE(konamigx_state,konamigx_type3)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_ENTRIES(16384)
MCFG_PALETTE_ENABLE_SHADOWS()
diff --git a/src/mame/drivers/konendev.c b/src/mame/drivers/konendev.c
index 1a7b545345f..e3a7aa2d320 100644
--- a/src/mame/drivers/konendev.c
+++ b/src/mame/drivers/konendev.c
@@ -109,7 +109,7 @@ static MACHINE_CONFIG_START( konendev, konendev_state )
MCFG_CPU_PROGRAM_MAP(konendev_map)
/* video hardware */
- MCFG_PALETTE_ADD_RRRRRGGGGGBBBBB("palette")
+ MCFG_PALETTE_ADD_RRRRRGGGGGBBBBB("palette")
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/kopunch.c b/src/mame/drivers/kopunch.c
index d590fe5bf53..15372b3bb5c 100644
--- a/src/mame/drivers/kopunch.c
+++ b/src/mame/drivers/kopunch.c
@@ -1,7 +1,7 @@
/********************************************************
KO Punch (c) 1981 Sega
-
+
XTAL: ?
CPU: 8085 (proof: it uses SIM opcode)
Other: 4 x i8255 for all I/O
@@ -13,12 +13,12 @@
*********************************************************
-
+
This is a simple boxing bag game, but for visual feedback
it has a small CRT instead of LEDs or a dial.
-
+
Insert coin, select your weightclass (7 buttons on cab), and punch.
-
+
Heavyweight - 300K
Middleweight - 260K
Welterweight - 230K
diff --git a/src/mame/drivers/lastbank.c b/src/mame/drivers/lastbank.c
index 68dceedda7b..fb34429c468 100644
--- a/src/mame/drivers/lastbank.c
+++ b/src/mame/drivers/lastbank.c
@@ -480,7 +480,7 @@ static MACHINE_CONFIG_START( lastbank, lastbank_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", lastbank )
MCFG_PALETTE_ADD("palette", 0x100)
-
+
MCFG_DEVICE_ADD("tc0091lvc", TC0091LVC, 0)
MCFG_TC0091LVC_GFXDECODE("gfxdecode")
MCFG_TC0091LVC_PALETTE("palette")
diff --git a/src/mame/drivers/lethal.c b/src/mame/drivers/lethal.c
index e283472b696..db0206c04a5 100644
--- a/src/mame/drivers/lethal.c
+++ b/src/mame/drivers/lethal.c
@@ -598,20 +598,20 @@ static MACHINE_CONFIG_DERIVED( lethalej, lethalen )
MCFG_K053244_PALETTE("palette")
MACHINE_CONFIG_END
-ROM_START( lethalen ) // US version UAE
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethalen ) // US version UAE
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191uae01.u4", 0x00000, 0x40000, CRC(dca340e3) SHA1(8efbba0e3a459bcfe23c75c584bf3a4ce25148bb) )
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -622,27 +622,27 @@ ROM_START( lethalen ) // US version UAE
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD( "lethalenue.nv", 0x0000, 0x0080, CRC(6e7224e6) SHA1(86dea9262d55e58b573d397d0fea437c58728707) )
ROM_END
-ROM_START( lethalenub ) // US version UAB
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethalenub ) // US version UAB
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191uab01.u4", 0x00000, 0x40000, CRC(2afd7528) SHA1(65ce4a54fe96ad38d39d335b5d3a644a495c7e31) )
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -653,27 +653,27 @@ ROM_START( lethalenub ) // US version UAB
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD( "lethalenub.nv", 0x0000, 0x0080, CRC(14c6c6e5) SHA1(8a498b5322266df25fb24d1b7bd7937de459d207) )
ROM_END
-ROM_START( lethalenua ) // US version UAA
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethalenua ) // US version UAA
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191uaa01.u4", 0x00000, 0x40000, CRC(ab6b8f16) SHA1(8de6c429a6e71144270e79d18ad47b5aad13fe04) )
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -684,27 +684,27 @@ ROM_START( lethalenua ) // US version UAA
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD( "lethalenua.nv", 0x0000, 0x0080, CRC(f71ad1c3) SHA1(04c7052d0895797af8a06183b8a877795bf2dbb3) )
ROM_END
-ROM_START( lethalenux ) // US version ?, proto / hack?, very different to other sets
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethalenux ) // US version ?, proto / hack?, very different to other sets
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191xxx01.u4", 0x00000, 0x40000, CRC(a3b9e790) SHA1(868b422850be129952c8b11c3c4aa730d8ea1544) ) // hacked? fails rom test, verified on multiple boards
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -715,27 +715,27 @@ ROM_START( lethalenux ) // US version ?, proto / hack?, very different to other
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD( "lethalenux.nv", 0x0000, 0x0080, CRC(5d69c39d) SHA1(e468df829ee5094792289f9166d7e39b638ab70d) )
ROM_END
-ROM_START( lethaleneab ) // Euro ver. EAB
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethaleneab ) // Euro ver. EAB
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191eab01.u4", 0x00000, 0x40000, CRC(d7ce111e) SHA1(e56137a0ba7664f09b5d05bb39ec6eb4d1e412c7) )
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -746,27 +746,27 @@ ROM_START( lethaleneab ) // Euro ver. EAB
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD( "lethaleneab.nv", 0x0000, 0x0080, CRC(4e9bb34d) SHA1(9502583bc9f5f6fc5bba333869398b24bf154b73) )
ROM_END
-ROM_START( lethaleneae ) // Euro ver. EAE
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethaleneae ) // Euro ver. EAE
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191eae01.u4", 0x00000, 0x40000, CRC(c6a3c6ac) SHA1(96a209a3a5b4af40af36bd7090c59a74f8c8df59) )
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -777,27 +777,27 @@ ROM_START( lethaleneae ) // Euro ver. EAE
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD( "lethaleneae.nv", 0x0000, 0x0080, CRC(eb369a67) SHA1(6c67294669614e96de5efb38372dbed435ee04d3) )
ROM_END
-ROM_START( lethalenj ) // Japan version JAD
- ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
+ROM_START( lethalenj ) // Japan version JAD
+ ROM_REGION( 0x40000, "maincpu", 0 ) /* main program */
ROM_LOAD( "191jad01.u4", 0x00000, 0x40000, CRC(160a25c0) SHA1(1d3ed5a158e461a73c079fe24a8e9d5e2a87e126) )
- ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
+ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 sound program */
ROM_LOAD( "191a02.f4", 0x00000, 0x10000, CRC(72b843cc) SHA1(b44b2f039358c26fa792d740639b66a5c8bf78e7) )
- ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
+ ROM_REGION( 0x400000, "gfx1", 0 ) /* tilemaps */
ROM_LOAD32_WORD( "191a08", 0x000002, 0x100000, CRC(555bd4db) SHA1(d2e55796b4ab2306ae549fa9e7288e41eaa8f3de) )
ROM_LOAD32_WORD( "191a10", 0x000000, 0x100000, CRC(2fa9bf51) SHA1(1e4ec56b41dfd8744347a7b5799e3ebce0939adc) )
ROM_LOAD32_WORD( "191a07", 0x200002, 0x100000, CRC(1dad184c) SHA1(b2c4a8e48084005056aef2c8eaccb3d2eca71b73) )
ROM_LOAD32_WORD( "191a09", 0x200000, 0x100000, CRC(e2028531) SHA1(63ccce7855d829763e9e248a6c3eb6ea89ab17ee) )
- ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
+ ROM_REGION( 0x400000, "gfx2", ROMREGION_ERASE00 ) /* sprites - fake 6bpp decode is done from here */
ROM_LOAD( "191a04", 0x000000, 0x100000, CRC(5c3eeb2b) SHA1(33ea8b3968b78806334b5a0aab3a2c24e45c604e) )
ROM_LOAD( "191a05", 0x100000, 0x100000, CRC(f2e3b58b) SHA1(0bbc2fe87a4fd00b5073a884bcfebcf9c2c402ad) )
ROM_LOAD( "191a06", 0x200000, 0x100000, CRC(ee11fc08) SHA1(ec6dd684e8261b181d65b8bf1b9e97da5c4468f7) )
@@ -808,7 +808,7 @@ ROM_START( lethalenj ) // Japan version JAD
ROM_REGION( 0x200000, "gfx4", ROMREGION_ERASE00 )
ROM_COPY("gfx2",0x200000,0, 0x200000)
- ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
+ ROM_REGION( 0x200000, "k054539", 0 ) /* K054539 samples */
ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
ROM_REGION16_BE( 0x80, "eeprom", 0 )
diff --git a/src/mame/drivers/littlerb.c b/src/mame/drivers/littlerb.c
index 334a1139faa..d9b849f65f5 100644
--- a/src/mame/drivers/littlerb.c
+++ b/src/mame/drivers/littlerb.c
@@ -155,12 +155,12 @@ CUSTOM_INPUT_MEMBER(littlerb_state::littlerb_frame_step_r)
static INPUT_PORTS_START( littlerb )
PORT_START("DSW") /* 16bit */
- PORT_DIPNAME( 0x0003, 0x0001, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:8,7")
+ PORT_DIPNAME( 0x0003, 0x0001, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:8,7")
PORT_DIPSETTING( 0x0003, "2" )
PORT_DIPSETTING( 0x0001, "3" )
PORT_DIPSETTING( 0x0002, "4" )
PORT_DIPSETTING( 0x0000, "5" )
- PORT_DIPNAME( 0x001c, 0x0004, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:6,5,4")
+ PORT_DIPNAME( 0x001c, 0x0004, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:6,5,4")
PORT_DIPSETTING( 0x0000, DEF_STR( 5C_1C ) )
PORT_DIPSETTING( 0x0010, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x0008, DEF_STR( 3C_1C ) )
@@ -169,7 +169,7 @@ static INPUT_PORTS_START( littlerb )
PORT_DIPSETTING( 0x0014, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x000c, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x001c, DEF_STR( 1C_4C ) )
- PORT_DIPNAME( 0x00e0, 0x0020, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:3,2,1")
+ PORT_DIPNAME( 0x00e0, 0x0020, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:3,2,1")
PORT_DIPSETTING( 0x0000, DEF_STR( 5C_1C ) )
PORT_DIPSETTING( 0x0080, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x0040, DEF_STR( 3C_1C ) )
@@ -178,15 +178,15 @@ static INPUT_PORTS_START( littlerb )
PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x0060, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x00e0, DEF_STR( 1C_4C ) )
- PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:8")
+ PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:8")
PORT_DIPSETTING( 0x0100, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0600, 0x0600, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:7,6")
+ PORT_DIPNAME( 0x0600, 0x0600, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:7,6")
PORT_DIPSETTING( 0x0600, "Every 150,000" )
PORT_DIPSETTING( 0x0200, "Every 200,000" )
PORT_DIPSETTING( 0x0400, "Every 300,000" )
PORT_DIPSETTING( 0x0000, DEF_STR( None ) )
- PORT_DIPNAME( 0x3800, 0x2800, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,4,3")
+ PORT_DIPNAME( 0x3800, 0x2800, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,4,3")
PORT_DIPSETTING( 0x3800, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x1800, DEF_STR( Medium_Easy ) )
PORT_DIPSETTING( 0x2800, DEF_STR( Normal ) )
@@ -196,7 +196,7 @@ static INPUT_PORTS_START( littlerb )
PORT_DIPSETTING( 0x2000, DEF_STR( Very_Hard ) )
PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
PORT_SERVICE_DIPLOC( 0x4000, IP_ACTIVE_LOW, "SW2:2" )
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:1")
+ PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:1")
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x8000, DEF_STR( On ) )
diff --git a/src/mame/drivers/ltcasino.c b/src/mame/drivers/ltcasino.c
index e953ad9b7a4..12b12b10775 100644
--- a/src/mame/drivers/ltcasino.c
+++ b/src/mame/drivers/ltcasino.c
@@ -658,7 +658,7 @@ static MACHINE_CONFIG_START( ltcasino, ltcasino_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
- MCFG_SCREEN_VISIBLE_AREA(6*8, 58*8-1, 0, 32*8-1)
+ MCFG_SCREEN_VISIBLE_AREA(6*8, 58*8-1, 0, 32*8-1)
MCFG_SCREEN_UPDATE_DRIVER(ltcasino_state, screen_update_ltcasino)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/m14.c b/src/mame/drivers/m14.c
index a0fd3c46e81..79492b48ab5 100644
--- a/src/mame/drivers/m14.c
+++ b/src/mame/drivers/m14.c
@@ -77,7 +77,7 @@ public:
/* devices */
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
-
+
DECLARE_WRITE8_MEMBER(m14_vram_w);
DECLARE_WRITE8_MEMBER(m14_cram_w);
DECLARE_READ8_MEMBER(m14_rng_r);
@@ -346,7 +346,7 @@ static MACHINE_CONFIG_START( m14, m14_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 28*8-1)
MCFG_SCREEN_UPDATE_DRIVER(m14_state, screen_update_m14)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", m14)
MCFG_PALETTE_ADD("palette", 0x20)
MCFG_PALETTE_INIT_OWNER(m14_state, m14)
diff --git a/src/mame/drivers/m62.c b/src/mame/drivers/m62.c
index f097e8bc09b..97f17066052 100644
--- a/src/mame/drivers/m62.c
+++ b/src/mame/drivers/m62.c
@@ -1045,7 +1045,7 @@ static MACHINE_CONFIG_DERIVED( lotlot, ldrun )
/* video hardware */
MCFG_GFXDECODE_MODIFY("gfxdecode", lotlot)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_ENTRIES(768)
diff --git a/src/mame/drivers/m63.c b/src/mame/drivers/m63.c
index fefaf8e5a6c..e98a7cfb91e 100644
--- a/src/mame/drivers/m63.c
+++ b/src/mame/drivers/m63.c
@@ -347,7 +347,7 @@ void m63_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect )
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -356,7 +356,6 @@ void m63_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect )
/* sprite wrapping - verified on real hardware*/
if (sx > 0xf0)
{
-
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/drivers/mappy.c b/src/mame/drivers/mappy.c
index ca7a9d155e1..d33bb4030db 100644
--- a/src/mame/drivers/mappy.c
+++ b/src/mame/drivers/mappy.c
@@ -1723,7 +1723,7 @@ static MACHINE_CONFIG_START( superpac, mappy_state )
MCFG_NAMCO56XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO56XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO56XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(READ8(mappy_state, dipB_mux))
MCFG_NAMCO56XX_IN_1_CB(READ8(mappy_state, dipA_l))
@@ -1745,7 +1745,7 @@ static MACHINE_CONFIG_START( pacnpal, mappy_state )
MCFG_NAMCO56XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO56XX_IN_3_CB(IOPORT("BUTTONS"))
MCFG_NAMCO56XX_OUT_0_CB(WRITE8(mappy_state, out_lamps))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO59XX, 0)
MCFG_NAMCO59XX_IN_0_CB(READ8(mappy_state, dipB_mux))
MCFG_NAMCO59XX_IN_1_CB(READ8(mappy_state, dipA_l))
@@ -1767,7 +1767,7 @@ static MACHINE_CONFIG_START( grobda, mappy_state )
MCFG_NAMCO58XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(READ8(mappy_state, dipB_mux))
MCFG_NAMCO56XX_IN_1_CB(READ8(mappy_state, dipA_l))
@@ -1807,14 +1807,14 @@ static MACHINE_CONFIG_START( phozon, mappy_state )
MCFG_NAMCO58XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(READ8(mappy_state, dipB_muxi))
MCFG_NAMCO56XX_IN_1_CB(READ8(mappy_state, dipA_l))
MCFG_NAMCO56XX_IN_2_CB(READ8(mappy_state, dipA_h))
MCFG_NAMCO56XX_IN_3_CB(IOPORT("DSW0"))
MCFG_NAMCO56XX_OUT_0_CB(WRITE8(mappy_state, out_mux))
-
+
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", phozon)
MCFG_PALETTE_ADD("palette", 64*4+64*4)
@@ -1884,7 +1884,7 @@ static MACHINE_CONFIG_START( mappy, mappy_state )
MCFG_NAMCO58XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO58XX, 0)
MCFG_NAMCO58XX_IN_0_CB(READ8(mappy_state, dipB_mux))
MCFG_NAMCO58XX_IN_1_CB(READ8(mappy_state, dipA_l))
@@ -1907,7 +1907,7 @@ static MACHINE_CONFIG_START( digdug2, mappy_state )
MCFG_NAMCO58XX_IN_1_CB(IOPORT("P1"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(READ8(mappy_state, dipB_mux))
MCFG_NAMCO56XX_IN_1_CB(READ8(mappy_state, dipA_l))
@@ -1937,7 +1937,7 @@ static MACHINE_CONFIG_START( motos, mappy_state )
MCFG_NAMCO56XX_IN_2_CB(IOPORT("P2"))
MCFG_NAMCO56XX_IN_3_CB(IOPORT("BUTTONS"))
MCFG_NAMCO56XX_OUT_0_CB(WRITE8(mappy_state, out_lamps))
-
+
MCFG_DEVICE_ADD("namcoio_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(READ8(mappy_state, dipB_mux))
MCFG_NAMCO56XX_IN_1_CB(READ8(mappy_state, dipA_l))
diff --git a/src/mame/drivers/mazerbla.c b/src/mame/drivers/mazerbla.c
index cc663caa597..7dc96cfac2a 100644
--- a/src/mame/drivers/mazerbla.c
+++ b/src/mame/drivers/mazerbla.c
@@ -1505,7 +1505,7 @@ static MACHINE_CONFIG_START( mazerbla, mazerbla_state )
MCFG_PALETTE_ADD("palette", 256+1)
MCFG_PALETTE_INIT_OWNER(mazerbla_state, mazerbla)
-
+
/* sound hardware */
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/mcr3.c b/src/mame/drivers/mcr3.c
index f3585d4b39f..6d65c7f13fa 100644
--- a/src/mame/drivers/mcr3.c
+++ b/src/mame/drivers/mcr3.c
@@ -1636,11 +1636,11 @@ ROM_START( stargrds )
ROM_END
-/* Spy Hunter labels look like this
+/* Spy Hunter labels look like this
SPY-HUNTER
C.P.U.
PG3
- 2/9/84
+ 2/9/84
*/
ROM_START( spyhunt )
diff --git a/src/mame/drivers/mcr68.c b/src/mame/drivers/mcr68.c
index 92eadcdf2c3..a1fcb2a4d94 100644
--- a/src/mame/drivers/mcr68.c
+++ b/src/mame/drivers/mcr68.c
@@ -773,7 +773,7 @@ static INPUT_PORTS_START( archrivlb )
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
- PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
+ PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
@@ -1511,13 +1511,13 @@ ROM_END
ROM_START( archrivlb ) /* Reports as rev 2.0 5/03/89 */
ROM_REGION( 0x40000, "maincpu", 0 )
- ROM_LOAD16_BYTE( "4.bin", 0x00000, 0x10000, CRC(1d99cce6) SHA1(738d651de0bf1b4a1524a1d8835a060bfc4649a8) )
+ ROM_LOAD16_BYTE( "4.bin", 0x00000, 0x10000, CRC(1d99cce6) SHA1(738d651de0bf1b4a1524a1d8835a060bfc4649a8) )
ROM_LOAD16_BYTE( "2.bin", 0x00001, 0x10000, CRC(5d58a77b) SHA1(9a42bb89acd4e6b603215b14b4d411d14615f412) )
ROM_LOAD16_BYTE( "3.bin", 0x20000, 0x10000, CRC(d6d08ff7) SHA1(bbbd4b5c3218c9bb461b17e536191d40ab39f67c) )
ROM_LOAD16_BYTE( "1.bin", 0x20001, 0x10000, CRC(92f3a43d) SHA1(45fdcbacd65f5898d54cc2ac95639b7ee2c097e6) )
ROM_REGION( 0x90000, "cvsd:cpu", 0 ) /* Audio System board */
- ROM_LOAD( "13.bin", 0x10000, 0x08000, CRC(96b3c652) SHA1(1bb576d0bf6b6b8df24e7b9352a33e97dd8ebdcb) )
+ ROM_LOAD( "13.bin", 0x10000, 0x08000, CRC(96b3c652) SHA1(1bb576d0bf6b6b8df24e7b9352a33e97dd8ebdcb) )
ROM_RELOAD( 0x18000, 0x08000 )
ROM_RELOAD( 0x20000, 0x08000 )
ROM_RELOAD( 0x28000, 0x08000 )
@@ -1531,7 +1531,7 @@ ROM_START( archrivlb ) /* Reports as rev 2.0 5/03/89 */
ROM_RELOAD( 0x68000, 0x08000 )
ROM_REGION( 0x20000, "gfx1", ROMREGION_INVERT )
- ROM_LOAD( "5.bin", 0x00000, 0x10000, CRC(7eb3d7c6) SHA1(8544d04929cdb36fa7f0dcb67e0b7fd8c7b0fc2b) )
+ ROM_LOAD( "5.bin", 0x00000, 0x10000, CRC(7eb3d7c6) SHA1(8544d04929cdb36fa7f0dcb67e0b7fd8c7b0fc2b) )
ROM_LOAD( "6.bin", 0x10000, 0x10000, CRC(31e68050) SHA1(e25871beb08a8706af70d277fa7305a1f4d7d3e2) )
ROM_REGION( 0x80000, "gfx2", 0 )
diff --git a/src/mame/drivers/meadwttl.c b/src/mame/drivers/meadwttl.c
index 2082b5314eb..6da925479cf 100644
--- a/src/mame/drivers/meadwttl.c
+++ b/src/mame/drivers/meadwttl.c
@@ -1,14 +1,14 @@
/***************************************************************************
-
+
Meadows Discrete Game List
-
+
Bombs Away (1976)
Ckidzo (1976)
Cobra Gunship (1976)
Drop Zone 4 (1975)
Flim Flam (1974)
4 in 1 Meadows (197?)
-
+
***************************************************************************/
@@ -48,38 +48,38 @@ class meadwttl_state : public driver_device
public:
meadwttl_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(meadows)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -109,9 +109,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/megaphx.c b/src/mame/drivers/megaphx.c
index b960654170c..3024c2651b8 100644
--- a/src/mame/drivers/megaphx.c
+++ b/src/mame/drivers/megaphx.c
@@ -1,8 +1,8 @@
-/*
+/*
Dinamic / Inder arcade hardware
Mega Phoenix
-
+
also known to exist on this hardware:
Hammer Boy
Nonamed 2 (ever finished? only code seen has 1991 date and is vastly incomplete) (versions exist for Amstrad CPC, MSX and Spectrum)
@@ -22,7 +22,7 @@
I/O:
- port_c_r / port_c_w should go through the 8255 but I don't see how to hook them up that way? various bits of the writes are lost?
-
+
--
@@ -33,7 +33,7 @@
TS68000CP8
TMS34010FNL-40
TMP82C55AP-2
-
+
Bt478KPJ35 Palette / RAMDAC
Actel A1010A-PL68C (custom blitter maybe?)
@@ -45,11 +45,11 @@
ST Z8430AB1
custom INDER badged chip 40 pin? (probably just a z80 - it's in the sound section)
- MODELO: MEGA PHOENIX
- KIT NO. 1.034
- FECHA FABRICACION 08.10.91
- LA MANIPULCION DE LA ETIQUETA O DE LA PLACA ANULA SU SARANTIA
- (this sticker is also present on the other PCB)
+ MODELO: MEGA PHOENIX
+ KIT NO. 1.034
+ FECHA FABRICACION 08.10.91
+ LA MANIPULCION DE LA ETIQUETA O DE LA PLACA ANULA SU SARANTIA
+ (this sticker is also present on the other PCB)
*/
@@ -77,8 +77,7 @@ public:
m_indersb(*this, "inder_sb"),
m_indervid(*this, "inder_vid")
- {
-
+ {
}
required_device<cpu_device> m_maincpu;
@@ -126,7 +125,7 @@ static ADDRESS_MAP_START( megaphx_68k_map, AS_PROGRAM, 16, megaphx_state )
AM_RANGE(0x060004, 0x060005) AM_READ8( port_c_r, 0x00ff )
AM_RANGE(0x060006, 0x060007) AM_WRITE8( port_c_w, 0x00ff )
AM_RANGE(0x060000, 0x060003) AM_DEVREADWRITE8("ppi8255_0", i8255_device, read, write, 0x00ff)
-
+
AM_RANGE(0x800000, 0x83ffff) AM_ROM AM_REGION("roms01", 0x00000) // code + bg gfx are in here
AM_RANGE(0x840000, 0x87ffff) AM_ROM AM_REGION("roms23", 0x00000) // bg gfx are in here
AM_RANGE(0x880000, 0x8bffff) AM_ROM AM_REGION("roms45", 0x00000) // bg gfx + title screen in here
@@ -210,7 +209,7 @@ static INPUT_PORTS_START( megaphx )
PORT_DIPNAME( 0x0001, 0x0000, DEF_STR( Demo_Sounds ) )
PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_SERVICE( 0x0002, IP_ACTIVE_HIGH )
+ PORT_SERVICE( 0x0002, IP_ACTIVE_HIGH )
PORT_DIPNAME( 0x001c, 0x0010, "Difficulty?" ) // in hammer boy at least..
PORT_DIPSETTING( 0x0000, "0" )
PORT_DIPSETTING( 0x0004, "1" )
@@ -240,39 +239,35 @@ INPUT_PORTS_END
READ8_MEMBER(megaphx_state::port_c_r)
{
-
//printf("read port c - write value was %02x\n", port_c_value);
-// int pc = machine().device("maincpu")->safe_pc();
+// int pc = machine().device("maincpu")->safe_pc();
UINT8 ret = 0;
-// printf("(%06x) port_c_r (thru 8255)\n", pc);
-
+// printf("(%06x) port_c_r (thru 8255)\n", pc);
+
if (m_pic_clock == 1) ret |= 0x08;
if (m_pic_readbit == 1) ret |= 0x02;
-// return ioport("SYS")->read();
+// return ioport("SYS")->read();
return ret;
}
WRITE8_MEMBER(megaphx_state::port_c_w)
{
-
-
-
-// int pc = machine().device("maincpu")->safe_pc();
+// int pc = machine().device("maincpu")->safe_pc();
port_c_value = (data & 0x0f);
if (port_c_value == 0x9)
{
- // printf("Assert PIC reset line\n");
+ // printf("Assert PIC reset line\n");
m_pic_is_reset = 1;
}
else if (port_c_value == 0x8)
{
- // printf("Clear PIC reset line\n");
+ // printf("Clear PIC reset line\n");
m_pic_is_reset = 0;
-
+
m_pic_shift_pos = 0;
m_pic_data = 0;
m_pic_data_bit = 0;
@@ -282,31 +277,30 @@ WRITE8_MEMBER(megaphx_state::port_c_w)
}
else if (port_c_value == 0xd)
{
- // printf("Set PIC data line\n");
+ // printf("Set PIC data line\n");
m_pic_data_bit = 1;
}
else if (port_c_value == 0xc)
{
- // printf("Clear PIC data line\n");
+ // printf("Clear PIC data line\n");
m_pic_data_bit = 0;
}
else if (port_c_value == 0xf)
{
if (m_pic_clock == 0)
{
- // printf("Set PIC clock line | pos %d | bit %d\n", m_pic_shift_pos, m_pic_data_bit);
-
+ // printf("Set PIC clock line | pos %d | bit %d\n", m_pic_shift_pos, m_pic_data_bit);
+
m_pic_clock = 1;
-
+
}
}
else if (port_c_value == 0xe)
{
-
if (m_pic_clock == 1)
{
m_pic_data |= m_pic_data_bit << m_pic_shift_pos;
@@ -339,13 +333,13 @@ WRITE8_MEMBER(megaphx_state::port_c_w)
m_pic_shift_pos++;
- // printf("Clear PIC clock line\n");
+ // printf("Clear PIC clock line\n");
m_pic_clock = 0;
}
}
else
{
- // printf("Unknown write to PIC %02x (PC %06x)\n", port_c_value, pc);
+ // printf("Unknown write to PIC %02x (PC %06x)\n", port_c_value, pc);
}
diff --git a/src/mame/drivers/megaplay.c b/src/mame/drivers/megaplay.c
index fbede6965f3..5f33a2b066a 100644
--- a/src/mame/drivers/megaplay.c
+++ b/src/mame/drivers/megaplay.c
@@ -70,7 +70,7 @@ public:
m_vdp1(*this, "vdp1"),
m_bioscpu(*this, "mtbios")
{ }
-
+
DECLARE_READ16_MEMBER(extra_ram_r);
DECLARE_WRITE16_MEMBER(extra_ram_w);
DECLARE_READ8_MEMBER(bios_banksel_r);
@@ -92,30 +92,30 @@ public:
DECLARE_WRITE8_MEMBER(game_w);
DECLARE_READ8_MEMBER(vdp_count_r);
DECLARE_WRITE_LINE_MEMBER(bios_int_callback);
-
+
DECLARE_DRIVER_INIT(megaplay);
DECLARE_VIDEO_START(megplay);
DECLARE_MACHINE_RESET(megaplay);
UINT32 screen_update_megplay(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
-
+
private:
-
+
UINT32 m_bios_mode; // determines whether ROM banks or Game data is to read from 0x8000-0xffff
-
+
UINT32 m_bios_bank; // ROM bank selection
UINT16 m_game_banksel; // Game bank selection
UINT32 m_readpos; // serial bank selection position (9-bit)
UINT32 m_bios_bank_addr;
-
+
UINT32 m_bios_width; // determines the way the game info ROM is read
UINT8 m_bios_ctrl[6];
UINT8 m_bios_6600;
UINT8 m_bios_6403;
UINT8 m_bios_6404;
-
+
UINT16 *m_ic36_ram;
UINT8* m_ic37_ram;
-
+
required_shared_ptr<UINT8> m_ic3_ram;
optional_device<sega315_5124_device> m_vdp1;
required_device<cpu_device> m_bioscpu;
@@ -616,22 +616,22 @@ UINT32 mplay_state::screen_update_megplay(screen_device &screen, bitmap_rgb32 &b
{
//printf("megplay vu\n");
screen_update_megadriv(screen, bitmap, cliprect);
-// m_vdp->screen_update(screen, bitmap, cliprect);
+// m_vdp->screen_update(screen, bitmap, cliprect);
// overlay, only drawn for pixels != 0
for (int y = 0; y < 224; y++)
{
UINT32* lineptr = &bitmap.pix32(y);
UINT32* srcptr = &m_vdp->get_bitmap().pix32(y + SEGA315_5124_TBORDER_START + SEGA315_5124_NTSC_224_TBORDER_HEIGHT);
-
+
for (int x = 0; x < SEGA315_5124_WIDTH; x++)
{
UINT32 src = srcptr[x] & 0xffffff;
-
+
if (src)
lineptr[x] = src;
}
- }
+ }
return 0;
}
@@ -855,15 +855,15 @@ WRITE16_MEMBER(mplay_state::extra_ram_w )
DRIVER_INIT_MEMBER(mplay_state,megaplay)
{
- // copy game instruction rom to main map. maybe this should just be accessed
+ // copy game instruction rom to main map. maybe this should just be accessed
// through a handler instead?
UINT8 *instruction_rom = memregion("user1")->base();
UINT8 *game_rom = memregion("maincpu")->base();
-
+
for (int offs = 0; offs < 0x8000; offs++)
{
UINT8 dat = instruction_rom[offs];
-
+
game_rom[0x300000 + offs * 2] = dat;
game_rom[0x300001 + offs * 2] = dat;
}
@@ -875,7 +875,7 @@ DRIVER_INIT_MEMBER(mplay_state,megaplay)
DRIVER_INIT_CALL(megadrij);
m_megadrive_io_read_data_port_ptr = read8_delegate(FUNC(md_base_state::megadrive_io_read_data_port_3button),this);
m_megadrive_io_write_data_port_ptr = write16_delegate(FUNC(md_base_state::megadrive_io_write_data_port_3button),this);
-
+
// for now ...
m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0xa10000, 0xa1001f, read16_delegate(FUNC(mplay_state::mp_io_read),this), write16_delegate(FUNC(mplay_state::mp_io_write),this));
diff --git a/src/mame/drivers/megatech.c b/src/mame/drivers/megatech.c
index 756e4914c6a..71e40685358 100644
--- a/src/mame/drivers/megatech.c
+++ b/src/mame/drivers/megatech.c
@@ -88,13 +88,13 @@ public:
TIMER_Z80_RUN_STATE,
TIMER_Z80_STOP_STATE
};
-
+
mtech_state(const machine_config &mconfig, device_type type, const char *tag)
: md_base_state(mconfig, type, tag),
m_vdp1(*this, "vdp1"),
m_bioscpu(*this, "mtbios")
{ }
-
+
DECLARE_WRITE_LINE_MEMBER( snd_int_callback );
DECLARE_WRITE_LINE_MEMBER( bios_int_callback );
DECLARE_READ8_MEMBER(cart_select_r);
@@ -113,8 +113,8 @@ public:
DECLARE_READ8_MEMBER(sms_count_r);
DECLARE_READ8_MEMBER(sms_ioport_dc_r);
DECLARE_READ8_MEMBER(sms_ioport_dd_r);
- DECLARE_WRITE8_MEMBER(mt_sms_standard_rom_bank_w);
-
+ DECLARE_WRITE8_MEMBER(mt_sms_standard_rom_bank_w);
+
DECLARE_DRIVER_INIT(mt_crt);
DECLARE_DRIVER_INIT(mt_slot);
DECLARE_MACHINE_RESET(megatech);
@@ -122,32 +122,32 @@ public:
UINT32 screen_update_main(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
UINT32 screen_update_menu(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void screen_eof_main(screen_device &screen, bool state);
-
+
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
-
-private:
+
+private:
UINT8 m_mt_cart_select_reg;
UINT32 m_bios_port_ctrl;
int m_current_game_is_sms; // is the current game SMS based (running on genesis z80, in VDP compatibility mode)
UINT32 m_bios_ctrl_inputs;
UINT8 m_bios_ctrl[6];
int m_mt_bank_addr;
-
+
int m_cart_is_genesis[8];
-
+
void set_genz80_as_md();
void set_genz80_as_sms();
-
+
TIMER_CALLBACK_MEMBER(z80_run_state);
TIMER_CALLBACK_MEMBER(z80_stop_state);
-
+
UINT8* m_banked_ram;
UINT8* sms_mainram;
UINT8* sms_rom;
-
+
required_device<sega315_5124_device> m_vdp1;
- required_device<cpu_device> m_bioscpu;
+ required_device<cpu_device> m_bioscpu;
};
@@ -328,7 +328,7 @@ WRITE8_MEMBER( mtech_state::mt_sms_standard_rom_bank_w )
{
int bank = data & 0x1f;
//logerror("bank w %02x %02x\n", offset, data);
-
+
sms_mainram[0x1ffc + offset] = data;
switch (offset)
{
@@ -347,7 +347,7 @@ WRITE8_MEMBER( mtech_state::mt_sms_standard_rom_bank_w )
case 3:
memcpy(sms_rom+0x8000, space.machine().root_device().memregion("maincpu")->base()+bank*0x4000, 0x4000);
break;
-
+
}
}
@@ -356,26 +356,26 @@ void mtech_state::set_genz80_as_sms()
address_space &prg = machine().device("genesis_snd_z80")->memory().space(AS_PROGRAM);
address_space &io = machine().device("genesis_snd_z80")->memory().space(AS_IO);
sn76496_base_device *sn = machine().device<sn76496_base_device>("snsnd");
-
+
// main ram area
sms_mainram = (UINT8 *)prg.install_ram(0xc000, 0xdfff, 0, 0x2000);
memset(sms_mainram,0x00,0x2000);
-
+
// fixed rom bank area
sms_rom = (UINT8 *)prg.install_rom(0x0000, 0xbfff, NULL);
-
+
memcpy(sms_rom, machine().root_device().memregion("maincpu")->base(), 0xc000);
-
+
prg.install_write_handler(0xfffc, 0xffff, write8_delegate(FUNC(mtech_state::mt_sms_standard_rom_bank_w),this));
-
+
// ports
io.install_read_handler (0x40, 0x41, 0xff, 0x3e, read8_delegate(FUNC(mtech_state::sms_count_r),this));
io.install_write_handler (0x40, 0x41, 0xff, 0x3e, write8_delegate(FUNC(sn76496_device::write),sn));
io.install_readwrite_handler (0x80, 0x80, 0xff, 0x3e, read8_delegate(FUNC(sega315_5124_device::vram_read),(sega315_5124_device *)m_vdp), write8_delegate(FUNC(sega315_5124_device::vram_write),(sega315_5124_device *)m_vdp));
io.install_readwrite_handler (0x81, 0x81, 0xff, 0x3e, read8_delegate(FUNC(sega315_5124_device::register_read),(sega315_5124_device *)m_vdp), write8_delegate(FUNC(sega315_5124_device::register_write),(sega315_5124_device *)m_vdp));
-
+
io.install_read_handler (0x10, 0x10, read8_delegate(FUNC(mtech_state::sms_ioport_dd_r),this)); // super tetris
-
+
io.install_read_handler (0xdc, 0xdc, read8_delegate(FUNC(mtech_state::sms_ioport_dc_r),this));
io.install_read_handler (0xdd, 0xdd, read8_delegate(FUNC(mtech_state::sms_ioport_dd_r),this));
io.install_read_handler (0xde, 0xde, read8_delegate(FUNC(mtech_state::sms_ioport_dd_r),this));
@@ -391,7 +391,7 @@ void mtech_state::set_genz80_as_md()
prg.install_readwrite_bank(0x0000, 0x1fff, "bank1");
machine().root_device().membank("bank1")->set_base(m_genz80.z80_prgram);
-
+
prg.install_ram(0x0000, 0x1fff, m_genz80.z80_prgram);
prg.install_readwrite_handler(0x4000, 0x4003, read8_delegate(FUNC(ym2612_device::read),ym2612), write8_delegate(FUNC(ym2612_device::write),ym2612));
@@ -558,7 +558,7 @@ WRITE8_MEMBER(mtech_state::bios_port_ctrl_w )
READ8_MEMBER(mtech_state::bios_joypad_r )
{
UINT8 retdata = 0;
-
+
if (m_bios_port_ctrl == 0x55)
{
/* A keys */
@@ -570,7 +570,7 @@ READ8_MEMBER(mtech_state::bios_joypad_r )
retdata = (m_io_pad_3b[0]->read() & 0x3f) | ((m_io_pad_3b[1]->read() & 0x03) << 6);
else
retdata = ((m_io_pad_3b[1]->read() & 0x3c) >> 2) | 0xf0;
-
+
}
return retdata;
}
@@ -637,10 +637,10 @@ UINT32 mtech_state::screen_update_main(screen_device &screen, bitmap_rgb32 &bitm
{
UINT32* lineptr = &bitmap.pix32(y);
UINT32* srcptr = &m_vdp->get_bitmap().pix32(y + SEGA315_5124_TBORDER_START + SEGA315_5124_NTSC_224_TBORDER_HEIGHT);
-
+
for (int x = 0; x < SEGA315_5124_WIDTH; x++)
lineptr[x] = srcptr[x];
- }
+ }
#endif
}
return 0;
diff --git a/src/mame/drivers/metalmx.c b/src/mame/drivers/metalmx.c
index 132250c0442..6241e3fac74 100644
--- a/src/mame/drivers/metalmx.c
+++ b/src/mame/drivers/metalmx.c
@@ -726,7 +726,7 @@ static MACHINE_CONFIG_START( metalmx, metalmx_state )
MCFG_CPU_CONFIG(gsp_config)
MCFG_CPU_PROGRAM_MAP(gsp_map)
- MCFG_CPU_ADD("dsp32c_1", DSP32C, 40000000) /* Unverified */
+ MCFG_CPU_ADD("dsp32c_1", DSP32C, 40000000) /* Unverified */
MCFG_CPU_PROGRAM_MAP(dsp32c_1_map)
MCFG_CPU_ADD("dsp32c_2", DSP32C, 40000000) /* Unverified */
diff --git a/src/mame/drivers/metro.c b/src/mame/drivers/metro.c
index 670ccebc300..4b5722332ba 100644
--- a/src/mame/drivers/metro.c
+++ b/src/mame/drivers/metro.c
@@ -1731,8 +1731,8 @@ const device_type PUZZLET_IO = &device_creator<puzzlet_io_device>;
puzzlet_io_device::puzzlet_io_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PUZZLET_IO, "Puzzlet Coin/Start I/O", tag, owner, clock, "puzzlet_io", __FILE__),
- data_cb(*this),
- port(*this, ":IN0")
+ data_cb(*this),
+ port(*this, ":IN0")
{
}
@@ -5316,9 +5316,9 @@ ROM_END
/* an 'Electronic Devices' manufactured board has been seen with the following roms. The data is 100% identical to the above set
but due to lazy manufacturing larger ROMs were used and the first half filled with 0xff
- ROM_LOAD16_BYTE( "ladyki_3.h9", 0x000000, 0x080000, CRC(c658f954) SHA1(d50043457e67a94feff1328fe9bf522aa3c124b6) ) // == e2.8g
- ROM_LOAD16_BYTE( "ladyki_2.h10", 0x000001, 0x080000, CRC(bf58e4db) SHA1(9d7f74dc348b0ccb3bcf1b618d6092292b6945b8) ) // == e3.10g
- ROM_LOAD( "ladyki_1.d1", 0x000000, 0x080000, CRC(3dca957c) SHA1(4b815b7cb124a38c639a4b425ed6e8b1f0946451) ) // == e8.1d
+ ROM_LOAD16_BYTE( "ladyki_3.h9", 0x000000, 0x080000, CRC(c658f954) SHA1(d50043457e67a94feff1328fe9bf522aa3c124b6) ) // == e2.8g
+ ROM_LOAD16_BYTE( "ladyki_2.h10", 0x000001, 0x080000, CRC(bf58e4db) SHA1(9d7f74dc348b0ccb3bcf1b618d6092292b6945b8) ) // == e3.10g
+ ROM_LOAD( "ladyki_1.d1", 0x000000, 0x080000, CRC(3dca957c) SHA1(4b815b7cb124a38c639a4b425ed6e8b1f0946451) ) // == e8.1d
*/
ROM_START( moegonta )
diff --git a/src/mame/drivers/mgolf.c b/src/mame/drivers/mgolf.c
index cd4f18d3f0b..c4b9fbe43ad 100644
--- a/src/mame/drivers/mgolf.c
+++ b/src/mame/drivers/mgolf.c
@@ -40,7 +40,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(mgolf_vram_w);
DECLARE_READ8_MEMBER(mgolf_wram_r);
DECLARE_READ8_MEMBER(mgolf_dial_r);
diff --git a/src/mame/drivers/mhavoc.c b/src/mame/drivers/mhavoc.c
index 34014214838..67b11989b13 100644
--- a/src/mame/drivers/mhavoc.c
+++ b/src/mame/drivers/mhavoc.c
@@ -516,7 +516,7 @@ static MACHINE_CONFIG_START( mhavoc, mhavoc_state )
MCFG_SCREEN_SIZE(400, 300)
MCFG_SCREEN_VISIBLE_AREA(0, 300, 0, 260)
MCFG_SCREEN_UPDATE_DEVICE("vector", vector_device, screen_update)
-
+
MCFG_DEVICE_ADD("avg", AVG_MHAVOC, 0)
MCFG_AVGDVG_VECTOR("vector")
diff --git a/src/mame/drivers/micro3d.c b/src/mame/drivers/micro3d.c
index 62d6937beaf..419bb3bb68c 100644
--- a/src/mame/drivers/micro3d.c
+++ b/src/mame/drivers/micro3d.c
@@ -328,7 +328,7 @@ static MACHINE_CONFIG_START( micro3d, micro3d_state )
MCFG_MC68681_B_TX_CALLBACK(WRITELINE(micro3d_state, duart_txb))
MCFG_MC68681_INPORT_CALLBACK(READ8(micro3d_state, duart_input_r))
MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(micro3d_state, duart_output_w))
-
+
MCFG_DEVICE_ADD("mc68901", MC68901, 4000000)
MCFG_MC68901_TIMER_CLOCK(4000000)
MCFG_MC68901_RX_CLOCK(0)
diff --git a/src/mame/drivers/mil4000.c b/src/mame/drivers/mil4000.c
index eb408d46bad..ed8387fd4c4 100644
--- a/src/mame/drivers/mil4000.c
+++ b/src/mame/drivers/mil4000.c
@@ -314,29 +314,29 @@ READ16_MEMBER(mil4000_state::chewheel_mcu_r)
{
/* Damn thing!
708010-708011 communicate with the MCU.
- The returned value is critical to the reels.
-
- Writes to MCU:
-
- 0x11 --> seems quiet or null.
- 0x1A --> command for reels state/gfx. Two bytes (command + parameter).
+ The returned value is critical to the reels.
+
+ Writes to MCU:
+
+ 0x11 --> seems quiet or null.
+ 0x1A --> command for reels state/gfx. Two bytes (command + parameter).
The second value will be the parameter to feed.
The MCU will respond with one value (see table below).
- bits:
- 7654-3210
- ---- ---- = cherries.
- ---- ---x = single bar.
+ bits:
+ 7654-3210
+ ---- ---- = cherries.
+ ---- ---x = single bar.
---- --x- = double bars.
---- --xx = triple bars.
- ---- -x-- = unknown (combinations produce reset).
- ---- x--- = sevens.
- ---- x--x = double plums.
- ---- x-x- = plums.
- ---- x-xx = bells.
- ---x ---- = blanks.
- -xx- ---- = some kind of gfx retrace.
- x--- ---- = reset the game
+ ---- -x-- = unknown (combinations produce reset).
+ ---- x--- = sevens.
+ ---- x--x = double plums.
+ ---- x-x- = plums.
+ ---- x-xx = bells.
+ ---x ---- = blanks.
+ -xx- ---- = some kind of gfx retrace.
+ x--- ---- = reset the game
There are other commands, like:
0x1B (+4 parameters)
@@ -344,42 +344,42 @@ READ16_MEMBER(mil4000_state::chewheel_mcu_r)
0x1D (+2 parameters)
0x1E (+1 parameter)
- You can find a 1E-18 at start.
-
+ You can find a 1E-18 at start.
+
*/
- switch( mcucomm ) /* MCU command */
+ switch( mcucomm ) /* MCU command */
{
- case 0x11: /* Idle - Null */
+ case 0x11: /* Idle - Null */
{
logerror("Writes idle command 0x11 to MCU");
- return (machine().rand() & 0x0b); // otherwise got corrupt gfx...
+ return (machine().rand() & 0x0b); // otherwise got corrupt gfx...
}
- case 0x1a: /* Reels state - Control */
+ case 0x1a: /* Reels state - Control */
{
logerror("MCU feedback to command 0x1a with data: %02x\n", mcudata);
return (machine().rand() & 0x0b);
}
- case 0x1b: /* Unknown */
+ case 0x1b: /* Unknown */
{
logerror("MCU feedback to command 0x1b with data: %02x\n", mcudata);
return 0x00;
}
- case 0x1c: /* Unknown. Always 00's? */
+ case 0x1c: /* Unknown. Always 00's? */
{
logerror("MCU feedback to command 0x1c with data: %02x\n", mcudata);
return 0x00;
}
- case 0x1d: /* Unknown */
+ case 0x1d: /* Unknown */
{
logerror("MCU feedback to command 0x1d with data: %02x\n", mcudata);
return 0x00;
}
- case 0x1e: /* Unknown, only one at boot (1e 18) */
+ case 0x1e: /* Unknown, only one at boot (1e 18) */
{
logerror("MCU feedback to command 0x1e with data: %02x\n", mcudata);
return 0x00;
@@ -387,7 +387,7 @@ READ16_MEMBER(mil4000_state::chewheel_mcu_r)
}
logerror("MCU feedback to unknown command: %02x\n", mcucomm);
- return (machine().rand() & 0x0b); // otherwise got corrupt gfx...
+ return (machine().rand() & 0x0b); // otherwise got corrupt gfx...
}
WRITE16_MEMBER(mil4000_state::chewheel_mcu_w)
@@ -407,14 +407,14 @@ WRITE16_MEMBER(mil4000_state::chewheel_mcu_w)
READ16_MEMBER(mil4000_state::unk_r)
{
-// reads: 51000C-0E. touch screen?
+// reads: 51000C-0E. touch screen?
return 0xff;
}
WRITE16_MEMBER(mil4000_state::unk_w)
{
-// writes: 510000-02-04-06-08-0A-0C-0E
-// logerror("unknown writes from address %04x\n", offset);
+// writes: 510000-02-04-06-08-0A-0C-0E
+// logerror("unknown writes from address %04x\n", offset);
}
@@ -444,8 +444,8 @@ static ADDRESS_MAP_START( chewheel_map, AS_PROGRAM, 16, mil4000_state )
AM_RANGE(0x508000, 0x50bfff) AM_RAM_WRITE(sc2_vram_w) AM_SHARE("sc2_vram") // V62C518256L-35P (U8).
AM_RANGE(0x50c000, 0x50ffff) AM_RAM_WRITE(sc3_vram_w) AM_SHARE("sc3_vram") // V62C518256L-35P (U8).
- AM_RANGE(0x51000c, 0x51000f) AM_READ(unk_r) // no idea what's mapped here.
- AM_RANGE(0x510000, 0x51000f) AM_WRITE(unk_w) // no idea what's mapped here.
+ AM_RANGE(0x51000c, 0x51000f) AM_READ(unk_r) // no idea what's mapped here.
+ AM_RANGE(0x510000, 0x51000f) AM_WRITE(unk_w) // no idea what's mapped here.
AM_RANGE(0x708000, 0x708001) AM_READ_PORT("IN0")
AM_RANGE(0x708002, 0x708003) AM_READ_PORT("IN1")
@@ -456,8 +456,8 @@ static ADDRESS_MAP_START( chewheel_map, AS_PROGRAM, 16, mil4000_state )
AM_RANGE(0x70801e, 0x70801f) AM_DEVREADWRITE8("oki", okim6295_device, read, write, 0x00ff)
AM_RANGE(0x780000, 0x780fff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
- AM_RANGE(0xff0000, 0xff3fff) AM_RAM AM_SHARE("nvram") // V62C51864L-70P (U77).
- AM_RANGE(0xffc000, 0xffffff) AM_RAM // V62C51864L-70P (U78).
+ AM_RANGE(0xff0000, 0xff3fff) AM_RAM AM_SHARE("nvram") // V62C51864L-70P (U77).
+ AM_RANGE(0xffc000, 0xffffff) AM_RAM // V62C51864L-70P (U78).
ADDRESS_MAP_END
@@ -702,7 +702,7 @@ Cherry Wheel.
Similar hardware to TOP XXI
But...
-2x V62C518256L-35P. 32K x 8 Static RAM. (U7-U8)
+2x V62C518256L-35P. 32K x 8 Static RAM. (U7-U8)
2x V62C51864L-70P. 8K x 8 Static RAM. (U77-U78)
Only U77 is tied to the battery.
diff --git a/src/mame/drivers/mirage.c b/src/mame/drivers/mirage.c
index 4fcc2ee17f4..d524beb27f5 100644
--- a/src/mame/drivers/mirage.c
+++ b/src/mame/drivers/mirage.c
@@ -340,7 +340,7 @@ static MACHINE_CONFIG_START( mirage, miragemi_state )
MCFG_DECO16IC_ADD("tilegen1", mirage_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
diff --git a/src/mame/drivers/mitchell.c b/src/mame/drivers/mitchell.c
index 710a28c4969..7957105337a 100644
--- a/src/mame/drivers/mitchell.c
+++ b/src/mame/drivers/mitchell.c
@@ -1092,7 +1092,7 @@ static MACHINE_CONFIG_START( mgakuen, mitchell_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", mgakuen)
-
+
MCFG_PALETTE_ADD("palette", 1024) /* less colors than the others */
MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB)
diff --git a/src/mame/drivers/mlanding.c b/src/mame/drivers/mlanding.c
index 6beba68a659..6780bf950b8 100644
--- a/src/mame/drivers/mlanding.c
+++ b/src/mame/drivers/mlanding.c
@@ -108,7 +108,7 @@ public:
required_shared_ptr<UINT16> m_cha_ram;
required_shared_ptr<UINT16> m_dot_ram;
required_shared_ptr<UINT8> m_power_ram;
-
+
required_device<palette_device> m_palette;
UINT16 *m_dma_ram;
diff --git a/src/mame/drivers/model1.c b/src/mame/drivers/model1.c
index 28b8d454a87..2165f16f17f 100644
--- a/src/mame/drivers/model1.c
+++ b/src/mame/drivers/model1.c
@@ -1521,7 +1521,7 @@ static MACHINE_CONFIG_START( model1, model1_state )
MCFG_NVRAM_ADD_0FILL("nvram")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_S24TILE_DEVICE_ADD("tile", 0x3fff)
MCFG_S24TILE_DEVICE_GFXDECODE("gfxdecode")
MCFG_S24TILE_DEVICE_PALETTE("palette")
@@ -1565,7 +1565,7 @@ static MACHINE_CONFIG_START( model1_vr, model1_state )
MCFG_NVRAM_ADD_0FILL("nvram")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_S24TILE_DEVICE_ADD("tile", 0x3fff)
MCFG_S24TILE_DEVICE_GFXDECODE("gfxdecode")
MCFG_S24TILE_DEVICE_PALETTE("palette")
diff --git a/src/mame/drivers/model2.c b/src/mame/drivers/model2.c
index 1f70aca03d9..38f1b847033 100644
--- a/src/mame/drivers/model2.c
+++ b/src/mame/drivers/model2.c
@@ -1955,7 +1955,7 @@ static MACHINE_CONFIG_START( model2o, model2_state )
MCFG_TIMER_PTR((FPTR)3)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_S24TILE_DEVICE_ADD("tile", 0x3fff)
MCFG_S24TILE_DEVICE_GFXDECODE("gfxdecode")
MCFG_S24TILE_DEVICE_PALETTE("palette")
diff --git a/src/mame/drivers/model3.c b/src/mame/drivers/model3.c
index 5e9412ea7fb..c29c5c6e7b6 100644
--- a/src/mame/drivers/model3.c
+++ b/src/mame/drivers/model3.c
@@ -2941,13 +2941,13 @@ ROM_START( bassdx ) /* step 1.0, Sega game ID# is 833-13476 BSS DX JPN, ROM boar
ROM_END
/*
-In Mame getbass is marked as GET BASS STD, while my pcb came from a DLX cab.
+In Mame getbass is marked as GET BASS STD, while my pcb came from a DLX cab.
Rom board 833-13317
834-13318 sticker is on rom board too.
On cage the follow sticker are present
BSS-4500-CVT2
833-13317 GAME BD BSS-CVT2
-
+
I/O board 837-13283 (GET BASS MEC CONT BD in manual) 171-7558c
epr20690.ic11 is controller board prg
@@ -5442,7 +5442,7 @@ static MACHINE_CONFIG_START( model3_10, model3_state )
MCFG_SCREEN_SIZE(512, 400)
MCFG_SCREEN_UPDATE_DRIVER(model3_state, screen_update_model3)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD_RRRRRGGGGGBBBBB("palette")
diff --git a/src/mame/drivers/monacogp.c b/src/mame/drivers/monacogp.c
index d87783bae24..e4221834bc8 100644
--- a/src/mame/drivers/monacogp.c
+++ b/src/mame/drivers/monacogp.c
@@ -1,54 +1,54 @@
/***************************************************************************
-
+
Sega Monaco GP
1980
-
+
Board 96598-P is an oscillator board that generates the game sounds. It is activated by outputs from Board Assy A (96577X).
-
+
Board Assy's A (96577X) and B (96578X) are the main guts of the gameplay and contain the roms (all sprites).
- Board Assy A accepts all of the game inputs (Coin, wheel, shift, accelerator pedal), sends the signals for the sounds to the Oscillator board, outputs to the L.E.D. score display board, and directly interacts with Board Assy B
+ Board Assy A accepts all of the game inputs (Coin, wheel, shift, accelerator pedal), sends the signals for the sounds to the Oscillator board, outputs to the L.E.D. score display board, and directly interacts with Board Assy B
Board Assy B outputs the video, outputs to the L.E.D. score display board. and directly interacts with Board Assy A.
-
- On the second set, boards A and B have different part numbers (97091X and 97092X) and two less roms. These boards were made later then the first set.
+
+ On the second set, boards A and B have different part numbers (97091X and 97092X) and two less roms. These boards were made later then the first set.
These boards seem to be interchangable, the only difference seems to be the rom size, which only 2 of the roms utilize the full 1024 bytes (second set).
-
- ROM SET A <type 7461, 24 pin> ROM SET B <type MB7132E, 24 pin>
- Board 96577X Board 97091X
- ROM ID IC# ROM ID
- PRa125 (Light data) IC59 PRb-01 (identical to PRa125)
- PRa126 (Explosion) IC65 PRb-02 (identical to PRa126)
- PRa131 (????) IC71 PRb-04 (identical to PRa131)
- PRa127 (car(2)) IC77 PRb-13 (identical to PRa127)
- PRa128 (car(2)rotated) IC84 PRb-03 (identical to PRa128)
- PRa129 (car) IC91 -----
- PRa130 (car(2) spinout) IC98 PRb-14 (contains PRa130 and half of PRa129)
- PRa132 (car(2)(main)) IC111 PRb-15 (identical to PRa132)
-
- PRm-39 IC105 PRm-39 <both type 6331-1, 16 pin>
- PRm-38 IC115 PRm-38 <both type 6331-1, 16 pin>
-
- Board 96578X Board 97092X
- ROM ID IC# ROM ID
- PRa140 (brdge-water) IC12 -----
- PRa141 (brdge-pillar) IC17 PRb-16 (contains both PRa140 and PRa141)
- PRa138 (firetruck) IC30 PRb-10 (identical to PRa138)
- PRa139 (car+bridge symb)IC51 PRb-11 (identical to PRa139)
- PRa133 (text(4) IC64 PRb-05 (identical to PRa133)
- PRa136 (house) IC99 PRb-08 (identical to PRa136)
- PRa135 (shrub) IC106 PRb-07 (identical to PRa135)
- PRa134 (tree, grass) IC113 PRb-06 (identical to PRa134)
- PRa137 (tunnel,oil slip)IC120 PRb-09 (identical to PRa137)
-
+
+ ROM SET A <type 7461, 24 pin> ROM SET B <type MB7132E, 24 pin>
+ Board 96577X Board 97091X
+ ROM ID IC# ROM ID
+ PRa125 (Light data) IC59 PRb-01 (identical to PRa125)
+ PRa126 (Explosion) IC65 PRb-02 (identical to PRa126)
+ PRa131 (????) IC71 PRb-04 (identical to PRa131)
+ PRa127 (car(2)) IC77 PRb-13 (identical to PRa127)
+ PRa128 (car(2)rotated) IC84 PRb-03 (identical to PRa128)
+ PRa129 (car) IC91 -----
+ PRa130 (car(2) spinout) IC98 PRb-14 (contains PRa130 and half of PRa129)
+ PRa132 (car(2)(main)) IC111 PRb-15 (identical to PRa132)
+
+ PRm-39 IC105 PRm-39 <both type 6331-1, 16 pin>
+ PRm-38 IC115 PRm-38 <both type 6331-1, 16 pin>
+
+ Board 96578X Board 97092X
+ ROM ID IC# ROM ID
+ PRa140 (brdge-water) IC12 -----
+ PRa141 (brdge-pillar) IC17 PRb-16 (contains both PRa140 and PRa141)
+ PRa138 (firetruck) IC30 PRb-10 (identical to PRa138)
+ PRa139 (car+bridge symb)IC51 PRb-11 (identical to PRa139)
+ PRa133 (text(4) IC64 PRb-05 (identical to PRa133)
+ PRa136 (house) IC99 PRb-08 (identical to PRa136)
+ PRa135 (shrub) IC106 PRb-07 (identical to PRa135)
+ PRa134 (tree, grass) IC113 PRb-06 (identical to PRa134)
+ PRa137 (tunnel,oil slip)IC120 PRb-09 (identical to PRa137)
+
Oscillator Board 96598
- ROM ID IC#
- PRm-40 IC21 PRm-40 <both type 6331-1, 16 pin>
-
+ ROM ID IC#
+ PRm-40 IC21 PRm-40 <both type 6331-1, 16 pin>
+
--------------------------------------------------------
-
+
7641
-
+
512*8
+------+
A7 |1 24| Vcc
@@ -63,13 +63,13 @@
D1 |10 15| D5
D2 |11 14| D4
GND|12 13| D3
- +------+
+ +------+
-----------------------------------------------
-
+
6331-1 PROM
-
- 32*8
- +------+
+
+ 32*8
+ +------+
O1 |1 16| Vcc
O2 |2 15| CE/
O3 |3 14| A4
@@ -78,14 +78,14 @@
O6 |6 11| A1
O7 |7 10| A0
GND |8 9| O8
- +------+
-
+ +------+
+
-----------------------------------------------
-
+
7132:
-
- 1024*8
- +------+
+
+ 1024*8
+ +------+
A7 |1 24| Vcc
A6 |2 23| A8
A5 |3 22| A9
@@ -98,9 +98,9 @@
D1 |10 15| D5
D2 |11 14| D4
GND|12 13| D3
- +------+
-
-
+ +------+
+
+
***************************************************************************/
@@ -140,38 +140,38 @@ class monacogp_state : public driver_device
public:
monacogp_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(monacogp)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -201,9 +201,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
diff --git a/src/mame/drivers/mpoker.c b/src/mame/drivers/mpoker.c
index d938d800fa8..104c748f496 100644
--- a/src/mame/drivers/mpoker.c
+++ b/src/mame/drivers/mpoker.c
@@ -205,7 +205,7 @@ public:
UINT32 screen_update_mpoker(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/drivers/mpu4.c b/src/mame/drivers/mpu4.c
index 1bf6494abf0..364da84d81b 100644
--- a/src/mame/drivers/mpu4.c
+++ b/src/mame/drivers/mpu4.c
@@ -34,7 +34,7 @@ ROM_START( m4clr )
ROM_END
ROM_START( m4rltst )
- ROM_REGION( 0x10000, "maincpu", 0 )
+ ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "rtv.p1", 0x08000, 0x08000, CRC(7b78f3f2) SHA1(07ef8e6a08fd70ee48e4463672a1230ecc669532) )
ROM_END
@@ -2729,7 +2729,7 @@ GAME( 199?, m4goldnn , 0 , mod4oki , mpu4 , mpu4_state, m4
-GAME(198?, m4funh , 0 , mod4oki ,mpu4 , mpu4_state, m4default , 0, "<unknown>", "Fun House (unknown) (MPU4)", GAME_FLAGS ) // TUNE ALARM (was in the SC1 Fun House set)
+GAME(198?, m4funh , 0 , mod4oki ,mpu4 , mpu4_state, m4default , 0, "<unknown>", "Fun House (unknown) (MPU4)", GAME_FLAGS ) // TUNE ALARM (was in the SC1 Fun House set)
GAME(199?, m4sunseta ,m4sunset ,mod4oki ,mpu4 , mpu4_state,m4default ,ROT0, "Barcrest","Sunset Boulevard (Barcrest) (MPU4) (B25 1.2, set 1)",GAME_FLAGS )
diff --git a/src/mame/drivers/mpu4hw.c b/src/mame/drivers/mpu4hw.c
index 50b4d582437..5aa22e052e9 100644
--- a/src/mame/drivers/mpu4hw.c
+++ b/src/mame/drivers/mpu4hw.c
@@ -2094,7 +2094,7 @@ READ8_MEMBER(mpu4_state::characteriser_r)
LOG_CHR(("Characteriser read data %02X \n",m_current_chr_table[m_prot_col].response));
return m_current_chr_table[m_prot_col].response;
}
-
+
if (offset == 3)
{
LOG_CHR(("Characteriser read data off 3 %02X \n",m_current_chr_table[m_lamp_col+64].response));
@@ -2395,7 +2395,7 @@ static mpu4_chr_table blsbys_data[8] = {
// 6 0 7 0 8 0 7 0 0 8
//request 36 42 27 42 09 42 27 42 42 09
//verify 00 04 04 0C 0C 1C 14 2C 5C 2C
-
+
DRIVER_INIT_MEMBER(mpu4_state,m_oldtmr)
{
m_reel_mux=SIX_REEL_1TO8;
diff --git a/src/mame/drivers/mpu4misc.c b/src/mame/drivers/mpu4misc.c
index e421efd3ae7..0ee02bcddb7 100644
--- a/src/mame/drivers/mpu4misc.c
+++ b/src/mame/drivers/mpu4misc.c
@@ -373,11 +373,11 @@ GAME_CUSTOM( 199?, m4shkwav, 0, "swave_v210_1135_08dd_lv.bin",
GAME_CUSTOM( 199?, m4shkwav__a, m4shkwav, "swave_v210_11376_0bb3_nlv.bin", 0x0000, 0x040000, CRC(3fcaf973) SHA1(28258c8c60e6b542e1789cd8a4cfd530d1ed6084), "Qps","Shockwave (Qps) (MPU4) (set 2)" )
GAME_CUSTOM( 199?, m4shkwav__b, m4shkwav, "swsplv.bin", 0x0000, 0x040000, CRC(1e33e93f) SHA1(3e87f8ed35da776e1968c9574c140cc3984ea8de), "Qps","Shockwave (Qps) (MPU4) (set 3)" )
//This rom is possibly bad, data content isn't multiple of 0x800, padding with low bits rather than high
- ROM_START( m4shkwav__c )
- ROM_REGION( 0x080000, "maincpu", 0 )
- ROM_LOAD( "sho1_0lv.bin", 0x0000, 0x080000, BAD_DUMP CRC(a76d8544) SHA1(8277a2ce311840b8405a087d3dc0bbf97054ad87) )
- M4SHKWAV_EXTRA_ROMS
- ROM_END
+ ROM_START( m4shkwav__c )
+ ROM_REGION( 0x080000, "maincpu", 0 )
+ ROM_LOAD( "sho1_0lv.bin", 0x0000, 0x080000, BAD_DUMP CRC(a76d8544) SHA1(8277a2ce311840b8405a087d3dc0bbf97054ad87) )
+ M4SHKWAV_EXTRA_ROMS
+ ROM_END
GAME(199?, m4shkwav__c, m4shkwav ,mod4oki ,mpu4 , mpu4_state,m4default_big ,ROT0,"Qps","Shockwave (Qps) (MPU4) (set 4)",GAME_FLAGS )
GAME_CUSTOM( 199?, m4shkwav__d, m4shkwav, "swave_v300_1552_13ed_nlv.bin", 0x0000, 0x040000, CRC(b0e03f04) SHA1(fdd113af30fd9e87b171ecdf3be7e720366476b3), "Qps","Shockwave (Qps) (MPU4) (set 5)" )
GAME_CUSTOM( 199?, m4shkwav__e, m4shkwav, "swave_v300_1555_119d_lv.bin", 0x0000, 0x040000, CRC(45b786d4) SHA1(24fd4fdea684103334385ca329f384796b496e2c), "Qps","Shockwave (Qps) (MPU4) (set 6)" )
diff --git a/src/mame/drivers/mugsmash.c b/src/mame/drivers/mugsmash.c
index 32f814583cf..0a7f88aa056 100644
--- a/src/mame/drivers/mugsmash.c
+++ b/src/mame/drivers/mugsmash.c
@@ -408,7 +408,7 @@ static MACHINE_CONFIG_START( mugsmash, mugsmash_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
MCFG_SCREEN_UPDATE_DRIVER(mugsmash_state, screen_update_mugsmash)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", mugsmash)
MCFG_PALETTE_ADD("palette", 0x300)
diff --git a/src/mame/drivers/multfish.c b/src/mame/drivers/multfish.c
index a0a33429bb9..97b436e2e91 100644
--- a/src/mame/drivers/multfish.c
+++ b/src/mame/drivers/multfish.c
@@ -3,11 +3,11 @@
to make it clearer why all the sets with hacked bank
setup existed in the wild
- note:
- this file contains the originals only
- for bootlegs see multfish_boot.c
- for reference information about undumped sets see multfish_Ref.c - if adding a new set ALWAYS check that, anything not listed in there is
- almost certainly a bootleg.
+ note:
+ this file contains the originals only
+ for bootlegs see multfish_boot.c
+ for reference information about undumped sets see multfish_Ref.c - if adding a new set ALWAYS check that, anything not listed in there is
+ almost certainly a bootleg.
*/
@@ -1058,7 +1058,7 @@ MACHINE_CONFIG_START( igrosoft_gamble, igrosoft_gamble_state )
MCFG_SCREEN_VISIBLE_AREA(17*16, 1024-16*7-1, 1*16, 32*16-1*16-1)
MCFG_SCREEN_UPDATE_DRIVER(igrosoft_gamble_state, screen_update_igrosoft_gamble)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", igrosoft_gamble)
MCFG_PALETTE_ADD("palette", 0x1000)
@@ -2807,5 +2807,3 @@ GAME( 2008, fcockt2_7, fcockt2_parent, igrosoft_gamble, igrosoft_gamble, igro
GAME( 2010, crzmon2, 0, igrosoft_gamble, igrosoft_gamble, igrosoft_gamble_state,crzmon2, ROT0, "Igrosoft", "Crazy Monkey 2 (100310)", GAME_NOT_WORKING|GAME_SUPPORTS_SAVE ) /* World */ // xored and bitswapped palette and gfx roms
GAME( 2010, crzmon2_2, crzmon2_parent, igrosoft_gamble, igrosoft_gamble, igrosoft_gamble_state,crzmon2lot,ROT0, "Igrosoft", "Crazy Monkey 2 (100311 Lottery)", GAME_NOT_WORKING|GAME_SUPPORTS_SAVE ) /* Lottery */
GAME( 2010, crzmon2_3, crzmon2_parent, igrosoft_gamble, igrosoft_gamble, igrosoft_gamble_state,crzmon2ent,ROT0, "Igrosoft", "Crazy Monkey 2 (100315 Entertainment)", GAME_NOT_WORKING|GAME_SUPPORTS_SAVE ) /* Entertainment */
-
-
diff --git a/src/mame/drivers/multfish_boot.c b/src/mame/drivers/multfish_boot.c
index 05e9dba3725..c592dc14c80 100644
--- a/src/mame/drivers/multfish_boot.c
+++ b/src/mame/drivers/multfish_boot.c
@@ -11,7 +11,7 @@
Sets below are bootleg / hacked sets, descriptions of what has been modified are provided where known
-- use of these sets may present a risk to the operator, you should always ensure you're using original Igrosoft program roms on your PCB!
- --------------------------------
+ --------------------------------
The sets which differs from the originals by 5-6 bytes are bootlegs that simply change
the banking address. Usually to convert a Crazy Monkey PCB which use the address "F9".
diff --git a/src/mame/drivers/multfish_ref.c b/src/mame/drivers/multfish_ref.c
index 88cbfc862ce..34425859bf4 100644
--- a/src/mame/drivers/multfish_ref.c
+++ b/src/mame/drivers/multfish_ref.c
@@ -624,5 +624,3 @@ ROM_END
//GAME( 2008, fcockt2_2, fcockt2_parent, igrosoft_gamble, igrosoft_gamble, driver_device, 0, ROT0, "Igrosoft", "Fruit Cocktail 2 (080904 Russia)", GAME_SUPPORTS_SAVE ) /* Russia */
#endif
-
-
diff --git a/src/mame/drivers/murogmbl.c b/src/mame/drivers/murogmbl.c
index d065f49a421..8c1d3edaa52 100644
--- a/src/mame/drivers/murogmbl.c
+++ b/src/mame/drivers/murogmbl.c
@@ -114,7 +114,7 @@ UINT32 murogmbl_state::screen_update_murogmbl(screen_device &screen, bitmap_ind1
for (x = 0; x < 32; x++)
{
int tile = m_video[count];
- gfx->opaque(bitmap,cliprect, tile, 0, 0, 0, x * 8, y * 8);
+ gfx->opaque(bitmap,cliprect, tile, 0, 0, 0, x * 8, y * 8);
count++;
}
diff --git a/src/mame/drivers/mystwarr.c b/src/mame/drivers/mystwarr.c
index 5ab7ca2439d..71b3cf32dcb 100644
--- a/src/mame/drivers/mystwarr.c
+++ b/src/mame/drivers/mystwarr.c
@@ -987,10 +987,10 @@ static MACHINE_CONFIG_START( mystwarr, mystwarr_state )
MCFG_QUANTUM_TIME(attotime::from_hz(1920))
MCFG_EEPROM_SERIAL_ER5911_8BIT_ADD("eeprom")
-
+
MCFG_DEVICE_ADD("k053252", K053252, 6000000) // 6 MHz?
MCFG_K053252_OFFSETS(24, 16)
-
+
MCFG_MACHINE_START_OVERRIDE(mystwarr_state,mystwarr)
MCFG_MACHINE_RESET_OVERRIDE(mystwarr_state,mystwarr)
@@ -1009,7 +1009,7 @@ static MACHINE_CONFIG_START( mystwarr, mystwarr_state )
MCFG_PALETTE_ENABLE_SHADOWS()
MCFG_PALETTE_ENABLE_HILIGHTS()
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
MCFG_K056832_ADD_NOINTF("k056832"/*, mystwarr_k056832_intf*/)
MCFG_K056832_GFXDECODE("gfxdecode")
@@ -1040,7 +1040,7 @@ static MACHINE_CONFIG_DERIVED( viostorm, mystwarr )
MCFG_DEVICE_REPLACE("k053252", K053252, 16000000/2)
MCFG_K053252_OFFSETS(40, 16)
-
+
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(viostorm_map)
@@ -1070,7 +1070,7 @@ static MACHINE_CONFIG_DERIVED( metamrph, mystwarr )
MCFG_DEVICE_MODIFY("k053252")
MCFG_K053252_OFFSETS(24, 15)
-
+
MCFG_K053250_ADD("k053250_1", "palette", "screen", -7, 0)
/* video hardware */
@@ -1122,7 +1122,7 @@ static MACHINE_CONFIG_DERIVED( gaiapols, mystwarr )
MCFG_DEVICE_MODIFY("k053252")
MCFG_K053252_OFFSETS(40, 16)
-
+
MCFG_K054000_ADD("k054000")
MCFG_GFXDECODE_MODIFY("gfxdecode", gaiapols)
diff --git a/src/mame/drivers/namcos12.c b/src/mame/drivers/namcos12.c
index d92e190d248..0dfce0c8af6 100644
--- a/src/mame/drivers/namcos12.c
+++ b/src/mame/drivers/namcos12.c
@@ -1580,11 +1580,11 @@ static MACHINE_CONFIG_START( coh700, namcos12_state )
MCFG_LINE_DISPATCH_ADD("clk_dispatch", 2)
MCFG_LINE_DISPATCH_FWD_CB(0, 2, DEVWRITELINE(":rtc", rtc4543_device, clk_w)) MCFG_DEVCB_INVERT
MCFG_LINE_DISPATCH_FWD_CB(1, 2, DEVWRITELINE(":namco_settings", namco_settings_device, clk_w))
-
+
MCFG_DEVICE_MODIFY("sub:sci1")
MCFG_H8_SCI_TX_CALLBACK(DEVWRITELINE(":namco_settings", namco_settings_device, data_w))
MCFG_H8_SCI_CLK_CALLBACK(DEVWRITELINE(":clk_dispatch", devcb2_line_dispatch_device<2>, in_w))
-
+
MCFG_AT28C16_ADD("at28c16", NULL)
/* video hardware */
@@ -1964,7 +1964,7 @@ ROM_START( kartduel )
ROM_REGION32_LE( 0x00800000, "user2", 0 ) /* main data */
ROM_LOAD16_BYTE( "kdt1rom0l.ic12", 0x000000, 0x400000, BAD_DUMP CRC(8e2d5d9e) SHA1(6f703e27a19740af4094004b783b3cc2974c3de0) ) // These probably should be 64MBIT
- ROM_LOAD16_BYTE( "kdt1rom0u.ic11", 0x000001, 0x400000, BAD_DUMP CRC(49ec5dbd) SHA1(336db6d3e361938850a9234b6b64070dbdc36d45) ) //
+ ROM_LOAD16_BYTE( "kdt1rom0u.ic11", 0x000001, 0x400000, BAD_DUMP CRC(49ec5dbd) SHA1(336db6d3e361938850a9234b6b64070dbdc36d45) ) //
ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */
ROM_LOAD16_WORD_SWAP( "ktd1vera.11s", 0x000000, 0x080000, CRC(c2ff1971) SHA1(32ee2afe08e92049d8139c9324a0ea1a3b7ee5a1) )
diff --git a/src/mame/drivers/namcos22.c b/src/mame/drivers/namcos22.c
index 8c8b078b3a8..aef8b9a4936 100644
--- a/src/mame/drivers/namcos22.c
+++ b/src/mame/drivers/namcos22.c
@@ -1596,7 +1596,7 @@ READ16_MEMBER(namcos22_state::namcos22_keycus_r)
// reading random values in some games for example in timecris to determine
// where certain enemies will emerge.
// It works in combination with keycus_w, but not yet understood how.
-
+
// printf("Hit keycus offs %x mask %x PC=%x\n", offset, mem_mask, space.device().safe_pc());
// protection (not used for all games)
@@ -1608,11 +1608,11 @@ READ16_MEMBER(namcos22_state::namcos22_keycus_r)
case NAMCOS22_RIDGE_RACER2:
if (offset == 0) return 0x0172;
break;
-
+
case NAMCOS22_ACE_DRIVER:
if (offset == 3) return 0x0173;
break;
-
+
case NAMCOS22_CYBER_COMMANDO:
if (offset == 1) return 0x0185;
break;
@@ -1640,11 +1640,11 @@ READ16_MEMBER(namcos22_state::namcos22_keycus_r)
case NAMCOS22_TOKYO_WARS:
if (offset == 4) return 0x01a8;
break;
-
+
default:
break;
}
-
+
// pick a random number, but don't pick the same twice in a row
UINT16 old_rng = m_keycus_rng;
do
diff --git a/src/mame/drivers/naomi.c b/src/mame/drivers/naomi.c
index 90a7f1a0472..2512ba97099 100644
--- a/src/mame/drivers/naomi.c
+++ b/src/mame/drivers/naomi.c
@@ -2516,7 +2516,7 @@ static MACHINE_CONFIG_START( naomi_aw_base, naomi_state )
MCFG_AICA_MASTER
MCFG_AICA_IRQ_CB(WRITELINE(naomi_state, aica_irq))
MCFG_AICA_MAIN_IRQ_CB(WRITELINE(naomi_state, sh4_aica_irq))
-
+
MCFG_SOUND_ROUTE(0, "lspeaker", 2.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 2.0)
@@ -3638,7 +3638,7 @@ ROM_END
ROM_START( f355twin )
F355_BIOS
NAOMI_DEFAULT_EEPROM
-
+
ROM_REGION( 0xb000000, "rom_board", ROMREGION_ERASEFF)
ROM_LOAD( "epr-22848.ic22", 0x0000000, 0x400000, CRC(a29edec2) SHA1(21ab3b5805e5aac20f51d0c468bcef1a655194bb) )
ROM_LOAD( "mpr-22827.ic1", 0x0800000, 0x800000, CRC(eeb1b975) SHA1(929f453eaf5565ae3e660dbbb8f406ff8aa7897d) )
@@ -5463,7 +5463,7 @@ ROM_START( mushik2e )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "mushik2e-key.bin", 0, 4, CRC(b32a0633) SHA1(984c01e43cf359d8e8a0c6cb1a04c5dc3da47d39) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x02))
ROM_END
@@ -5478,7 +5478,7 @@ ROM_START( mushi2ea )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "mushik2e-key.bin", 0, 4, CRC(b32a0633) SHA1(984c01e43cf359d8e8a0c6cb1a04c5dc3da47d39) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x82))
ROM_END
@@ -5492,7 +5492,7 @@ ROM_START( zunou )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "zunou-key.bin", 0, 4, CRC(cbe35afb) SHA1(78877655800aae27661bf720e1c37d6c6f2e3d1c) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x02))
ROM_END
@@ -5508,7 +5508,7 @@ ROM_START( sl2007 )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "sl2007-key.bin", 0, 4, CRC(d5d1e807) SHA1(8a0cc371729c622bb05c5d26b3e39ec31d29ace1) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x04))
ROM_END
@@ -5524,7 +5524,7 @@ ROM_START( asndynmt )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "asndynmt-key.bin", 0, 4, CRC(bf5396a9) SHA1(0b27fdc800143fb977cb2f1e937078d7a7006939) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x04))
ROM_END
@@ -5540,7 +5540,7 @@ ROM_START( illvelo )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "illvelo-key.bin", 0, 4, CRC(e164952f) SHA1(6c0dfe567640e1e843a5d7bf858a24c101dfcf95) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x04))
ROM_END
@@ -5556,7 +5556,7 @@ ROM_START( mamonoro )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "mamonoro-key.bin", 0x000000, 0x000004, CRC(264ca27a) SHA1(3b81b9794d86697f8eac7ea6945d992564ad6199) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x04))
ROM_END
@@ -5574,7 +5574,7 @@ ROM_START( mbaa )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "mbaa-key.bin", 0x000000, 0x000004, CRC(f4ad909f) SHA1(27ba44592c2642b5862a24f68c755ad4115e6047) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x06))
ROM_END
@@ -5593,7 +5593,7 @@ ROM_START( mbaaa )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "mbaa-key.bin", 0x000000, 0x000004, CRC(f4ad909f) SHA1(27ba44592c2642b5862a24f68c755ad4115e6047) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x86))
ROM_END
@@ -5608,7 +5608,7 @@ ROM_START( radirgyn )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "radirgyn-key.bin", 0x000000, 0x000004, CRC(c158cf3b) SHA1(c128646d7fee79fc10bf7bbaa23121f347df77f4) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x04))
ROM_END
@@ -5623,7 +5623,7 @@ ROM_START( ausfache )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "ausfache-key.bin", 0, 4, CRC(93cdc793) SHA1(f0a0c321a3bdf8ca87cbd840a168a9057c08f16a) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x04))
ROM_END
@@ -5633,17 +5633,17 @@ ROM_START( manicpnc )
ROM_REGION( 0x14000000, "rom_board", ROMREGION_ERASEFF)
ROM_LOAD( "fpr-24408.ic8", 0x00000000, 0x4000000, CRC(cc6c722d) SHA1(5a3deb5c4e3e0c518f71fe76d8c1f9ffdf6c527d) )
- ROM_LOAD( "fpr-24372.ic9", 0x04000000, 0x4000000, CRC(869eb096) SHA1(60135ecc2b48c748ba98c26a3a266e7f5622971a) )
- ROM_LOAD( "fpr-24373.ic10", 0x08000000, 0x4000000, CRC(60a1cf35) SHA1(35d0f6cc7f8d3c0330e3ee0e23a24c7f94c1b607) )
- ROM_LOAD( "fpr-24374.ic11", 0x0c000000, 0x4000000, CRC(57023e31) SHA1(5191728a9c717150d694e6709fe84ec800b0eac9) )
- ROM_LOAD( "fpr-24375.ic12", 0x10000000, 0x4000000, CRC(959c5396) SHA1(d0f5b96c0e20a7d91fcf6961a5eb9f36f143a590) )
+ ROM_LOAD( "fpr-24372.ic9", 0x04000000, 0x4000000, CRC(869eb096) SHA1(60135ecc2b48c748ba98c26a3a266e7f5622971a) )
+ ROM_LOAD( "fpr-24373.ic10", 0x08000000, 0x4000000, CRC(60a1cf35) SHA1(35d0f6cc7f8d3c0330e3ee0e23a24c7f94c1b607) )
+ ROM_LOAD( "fpr-24374.ic11", 0x0c000000, 0x4000000, CRC(57023e31) SHA1(5191728a9c717150d694e6709fe84ec800b0eac9) )
+ ROM_LOAD( "fpr-24375.ic12", 0x10000000, 0x4000000, CRC(959c5396) SHA1(d0f5b96c0e20a7d91fcf6961a5eb9f36f143a590) )
ROM_REGION( 0x200000, "ioboard", 0) // touch screen I/O board, program disassembles as little-endian SH-4
ROM_LOAD( "fpr24351.ic14", 0x000000, 0x200000, CRC(4d1b7b89) SHA1(965b8c6b5a2e7b3f1b1e2eac19c86000c3b66754) )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "pokasuka-key.bin", 0, 4, CRC(f00bcd61) SHA1(b8315b851656c2e0b7853979988d1c44eab0886b) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x05))
ROM_END
@@ -5663,7 +5663,7 @@ ROM_START( pokasuka )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "pokasuka-key.bin", 0, 4, CRC(f00bcd61) SHA1(b8315b851656c2e0b7853979988d1c44eab0886b) )
-
+
ROM_REGION(0x4, "boardid", ROMREGION_ERASEVAL(0x05))
ROM_END
@@ -5761,7 +5761,7 @@ ROM_START( gunsur2 )
ROM_LOAD( "bhf1ma13.6n", 0xd000000, 0x1000000, CRC(055718ad) SHA1(355c4780231a4361aa6237dd34819b60d9df0fc7) )
ROM_LOAD( "bhf1ma14.6m", 0xe000000, 0x1000000, CRC(d06c9bd7) SHA1(54668a2fd31059976890da92709c18f308634887) )
ROM_LOAD( "bhf1ma15.6l", 0xf000000, 0x1000000, CRC(db3c396b) SHA1(da0e125d627ce890906ca100081ab0685e11c0ef) )
-
+
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "bhf1-key.bin", 0x0000000, 0x0000004, CRC(9899e931) SHA1(c0837262b9069b33d0e72b418e80b5f0da8b9251) )
ROM_END
@@ -6280,16 +6280,16 @@ ROM_START( starhrse )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0x4800000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD( "epr-23625.ic22", 0x000000, 0x0400000, CRC(7300bc6c) SHA1(f0bfff190c9f02895cc1f98eb695f327c948fca3) )
+ ROM_LOAD( "epr-23625.ic22", 0x000000, 0x0400000, CRC(7300bc6c) SHA1(f0bfff190c9f02895cc1f98eb695f327c948fca3) )
ROM_RELOAD( 0x400000, 0x400000)
- ROM_LOAD( "mpr-23231.ic1", 0x0800000, 0x1000000, CRC(e41ddc53) SHA1(f565d68d8ce4010a2181b0343fa49bfdc81ba4cf) )
- ROM_LOAD( "mpr-23232.ic2", 0x1800000, 0x1000000, CRC(30f963a0) SHA1(dc56203ceae20f7a7354e505dd7f27cbce5c70e0) )
- ROM_LOAD( "mpr-23233.ic3", 0x2800000, 0x1000000, CRC(d6451cab) SHA1(6508e27d0370b19df01150da7baf4875479c166a) )
- ROM_LOAD( "mpr-23234.ic4", 0x3800000, 0x1000000, CRC(44044c14) SHA1(4934cb8d5f9b4085ffb5ddc711343f488aae4c4d) )
+ ROM_LOAD( "mpr-23231.ic1", 0x0800000, 0x1000000, CRC(e41ddc53) SHA1(f565d68d8ce4010a2181b0343fa49bfdc81ba4cf) )
+ ROM_LOAD( "mpr-23232.ic2", 0x1800000, 0x1000000, CRC(30f963a0) SHA1(dc56203ceae20f7a7354e505dd7f27cbce5c70e0) )
+ ROM_LOAD( "mpr-23233.ic3", 0x2800000, 0x1000000, CRC(d6451cab) SHA1(6508e27d0370b19df01150da7baf4875479c166a) )
+ ROM_LOAD( "mpr-23234.ic4", 0x3800000, 0x1000000, CRC(44044c14) SHA1(4934cb8d5f9b4085ffb5ddc711343f488aae4c4d) )
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(951684e4) SHA1(0beaf5827064252293223b946c04b8698e7207bb) )
+ ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(951684e4) SHA1(0beaf5827064252293223b946c04b8698e7207bb) )
ROM_END
ROM_START( starhrct )
@@ -6297,30 +6297,30 @@ ROM_START( starhrct )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0x9800000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD( "epr-23626.ic22", 0x0000000, 0x200000, CRC(d5893a19) SHA1(861624ef3e5061b6ed9d6c4714e35fa508643b05) )
+ ROM_LOAD( "epr-23626.ic22", 0x0000000, 0x200000, CRC(d5893a19) SHA1(861624ef3e5061b6ed9d6c4714e35fa508643b05) )
ROM_RELOAD( 0x400000, 0x200000)
- ROM_LOAD( "ic1s.bin", 0x0800000, 0x800000, CRC(e45ab26f) SHA1(1e40ae9778a026b0f4c3c9681cf5d08397b72c48) )
- ROM_LOAD( "ic2s.bin", 0x1000000, 0x800000, CRC(4d0e4e64) SHA1(4fe1c35f4cf34391eb1e4486bde92bd6104f05f2) )
- ROM_LOAD( "ic3s.bin", 0x1800000, 0x800000, CRC(a18c7ce7) SHA1(1e4fb63c0d8f901b077590ccc0af4bba3135f56c) )
- ROM_LOAD( "ic4s.bin", 0x2000000, 0x800000, CRC(82001b50) SHA1(d06e70d2ae4cf0635872663c5b6f1dbbd12897e0) )
- ROM_LOAD( "ic5s.bin", 0x2800000, 0x800000, CRC(5e4af8b2) SHA1(98598a0f5932cf79f54ff79cfa03632550dee373) )
- ROM_LOAD( "ic6s.bin", 0x3000000, 0x800000, CRC(2950c543) SHA1(041548e79afcadc1b0e3524432ed52320f395f3e) )
- ROM_LOAD( "ic7s.bin", 0x3800000, 0x800000, CRC(a2bb8ebb) SHA1(c5329cedf5f746c0d684d8dea301a0786909ea1d) )
- ROM_LOAD( "ic8s.bin", 0x4000000, 0x800000, CRC(fde9b537) SHA1(b186da26bef43b483fd32c486bb018dc631bf485) )
- ROM_LOAD( "ic9s.bin", 0x4800000, 0x800000, CRC(4db3e79a) SHA1(de2480792e7dfc01195000607be90fd4b29fdcc0) )
- ROM_LOAD( "ic10s.bin", 0x5000000, 0x800000, CRC(37167167) SHA1(e379d20bcda84e6aaa0b930dce95d97812cd45d6) )
- ROM_LOAD( "ic11s.bin", 0x5800000, 0x800000, CRC(927f1edb) SHA1(64f2f2f4546cc6b45ee78aeae68ce829cb57a124) )
- ROM_LOAD( "ic12s.bin", 0x6000000, 0x800000, CRC(05de610d) SHA1(715124a3e7a23589c4ca9f0dccd55a21f7d48123) )
- ROM_LOAD( "ic13s.bin", 0x6800000, 0x800000, CRC(17ed44c3) SHA1(ec34276006c3be7bd6d23c11314b0369a082e1ef) )
- ROM_LOAD( "ic14s.bin", 0x7000000, 0x800000, CRC(66d7e2a1) SHA1(69178d4995ac3c2d73d953544101d23da1812f65) )
- ROM_LOAD( "ic15s.bin", 0x7800000, 0x800000, CRC(0c701416) SHA1(6c9e882e2a00768f5e0a28d38a5695c65594d8dd) )
- ROM_LOAD( "ic16s.bin", 0x8000000, 0x800000, CRC(5d8e6e8d) SHA1(03045f3a9257632c325eba9752855b42355dff6c) )
- ROM_LOAD( "ic17s.bin", 0x8800000, 0x800000, CRC(b4c40606) SHA1(4f187dfe44bd89c90b6fa4b90f16222bc0a74d22) )
+ ROM_LOAD( "ic1s.bin", 0x0800000, 0x800000, CRC(e45ab26f) SHA1(1e40ae9778a026b0f4c3c9681cf5d08397b72c48) )
+ ROM_LOAD( "ic2s.bin", 0x1000000, 0x800000, CRC(4d0e4e64) SHA1(4fe1c35f4cf34391eb1e4486bde92bd6104f05f2) )
+ ROM_LOAD( "ic3s.bin", 0x1800000, 0x800000, CRC(a18c7ce7) SHA1(1e4fb63c0d8f901b077590ccc0af4bba3135f56c) )
+ ROM_LOAD( "ic4s.bin", 0x2000000, 0x800000, CRC(82001b50) SHA1(d06e70d2ae4cf0635872663c5b6f1dbbd12897e0) )
+ ROM_LOAD( "ic5s.bin", 0x2800000, 0x800000, CRC(5e4af8b2) SHA1(98598a0f5932cf79f54ff79cfa03632550dee373) )
+ ROM_LOAD( "ic6s.bin", 0x3000000, 0x800000, CRC(2950c543) SHA1(041548e79afcadc1b0e3524432ed52320f395f3e) )
+ ROM_LOAD( "ic7s.bin", 0x3800000, 0x800000, CRC(a2bb8ebb) SHA1(c5329cedf5f746c0d684d8dea301a0786909ea1d) )
+ ROM_LOAD( "ic8s.bin", 0x4000000, 0x800000, CRC(fde9b537) SHA1(b186da26bef43b483fd32c486bb018dc631bf485) )
+ ROM_LOAD( "ic9s.bin", 0x4800000, 0x800000, CRC(4db3e79a) SHA1(de2480792e7dfc01195000607be90fd4b29fdcc0) )
+ ROM_LOAD( "ic10s.bin", 0x5000000, 0x800000, CRC(37167167) SHA1(e379d20bcda84e6aaa0b930dce95d97812cd45d6) )
+ ROM_LOAD( "ic11s.bin", 0x5800000, 0x800000, CRC(927f1edb) SHA1(64f2f2f4546cc6b45ee78aeae68ce829cb57a124) )
+ ROM_LOAD( "ic12s.bin", 0x6000000, 0x800000, CRC(05de610d) SHA1(715124a3e7a23589c4ca9f0dccd55a21f7d48123) )
+ ROM_LOAD( "ic13s.bin", 0x6800000, 0x800000, CRC(17ed44c3) SHA1(ec34276006c3be7bd6d23c11314b0369a082e1ef) )
+ ROM_LOAD( "ic14s.bin", 0x7000000, 0x800000, CRC(66d7e2a1) SHA1(69178d4995ac3c2d73d953544101d23da1812f65) )
+ ROM_LOAD( "ic15s.bin", 0x7800000, 0x800000, CRC(0c701416) SHA1(6c9e882e2a00768f5e0a28d38a5695c65594d8dd) )
+ ROM_LOAD( "ic16s.bin", 0x8000000, 0x800000, CRC(5d8e6e8d) SHA1(03045f3a9257632c325eba9752855b42355dff6c) )
+ ROM_LOAD( "ic17s.bin", 0x8800000, 0x800000, CRC(b4c40606) SHA1(4f187dfe44bd89c90b6fa4b90f16222bc0a74d22) )
// .18s chip is not present but is tested for an FF fill (pull-up resistors on the PCB's data bus presumably accomplish this)
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(1557297e) SHA1(41e8a7a8eaf5076b124d378afdf97e328d100e72) )
+ ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(1557297e) SHA1(41e8a7a8eaf5076b124d378afdf97e328d100e72) )
ROM_END
ROM_START( starhrcl )
@@ -6328,18 +6328,18 @@ ROM_START( starhrcl )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0x7000000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD( "epr-23627.ic22", 0x0000000, 0x0400000, CRC(7caccc5e) SHA1(86bff30b76b4b02467b37341582062de5c507a39) )
- ROM_LOAD( "mpr-23275.ic1", 0x0800000, 0x1000000, CRC(ffc62eab) SHA1(bb9dd3cc6540de1c194df99d5629583216f4c557) )
- ROM_LOAD( "mpr-23276.ic2", 0x1800000, 0x1000000, CRC(8b7ce666) SHA1(2848786659349598e019fbb05c92ed3ce6e2ec11) )
- ROM_LOAD( "mpr-23277.ic3", 0x2800000, 0x1000000, CRC(47a6f9c5) SHA1(9af5c3129a44fcffb87b1b021d8812e0b695967f) )
- ROM_LOAD( "mpr-23278.ic4", 0x3800000, 0x1000000, CRC(c12b189c) SHA1(7743500400a4e23a5e97a53ee16775c32d9abd5d) )
- ROM_LOAD( "mpr-23279.ic5", 0x4800000, 0x1000000, CRC(b8b39559) SHA1(082c9b6926557654c3f3bf00d741f32c560b50ce) )
- ROM_LOAD( "mpr-23280.ic6", 0x5800000, 0x1000000, CRC(b1c8daa2) SHA1(a05fb374156ea013e35502abccc92f5117c39daa) )
- ROM_LOAD( "mpr-23281.ic7", 0x6800000, 0x0800000, CRC(c0378369) SHA1(c728a181eddb01b9f8574669d4550baed559a5a4) )
+ ROM_LOAD( "epr-23627.ic22", 0x0000000, 0x0400000, CRC(7caccc5e) SHA1(86bff30b76b4b02467b37341582062de5c507a39) )
+ ROM_LOAD( "mpr-23275.ic1", 0x0800000, 0x1000000, CRC(ffc62eab) SHA1(bb9dd3cc6540de1c194df99d5629583216f4c557) )
+ ROM_LOAD( "mpr-23276.ic2", 0x1800000, 0x1000000, CRC(8b7ce666) SHA1(2848786659349598e019fbb05c92ed3ce6e2ec11) )
+ ROM_LOAD( "mpr-23277.ic3", 0x2800000, 0x1000000, CRC(47a6f9c5) SHA1(9af5c3129a44fcffb87b1b021d8812e0b695967f) )
+ ROM_LOAD( "mpr-23278.ic4", 0x3800000, 0x1000000, CRC(c12b189c) SHA1(7743500400a4e23a5e97a53ee16775c32d9abd5d) )
+ ROM_LOAD( "mpr-23279.ic5", 0x4800000, 0x1000000, CRC(b8b39559) SHA1(082c9b6926557654c3f3bf00d741f32c560b50ce) )
+ ROM_LOAD( "mpr-23280.ic6", 0x5800000, 0x1000000, CRC(b1c8daa2) SHA1(a05fb374156ea013e35502abccc92f5117c39daa) )
+ ROM_LOAD( "mpr-23281.ic7", 0x6800000, 0x0800000, CRC(c0378369) SHA1(c728a181eddb01b9f8574669d4550baed559a5a4) )
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(4929e940) SHA1(f8c4277ca0ae5e36b2eed033cc731b8fc4fccafc) )
+ ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(4929e940) SHA1(f8c4277ca0ae5e36b2eed033cc731b8fc4fccafc) )
ROM_END
ROM_START( starhrsp )
@@ -6364,28 +6364,28 @@ ROM_START( puyofevp )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0xc000000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD32_WORD( "ic17s.bin", 0x01000000, 0x800000, CRC(f51ce63b) SHA1(7642d5a78d103986ebe7bf9ecea7602490fcdfa2) )
- ROM_LOAD32_WORD( "ic18s.bin", 0x01000002, 0x800000, CRC(7109decc) SHA1(91481f427d4d28c3ff1805eb00b63deb9d691b27) )
- ROM_LOAD32_WORD( "ic19s.bin", 0x02000000, 0x800000, CRC(a58efa9c) SHA1(ff83c25ef4094c1033b906bd048569927b0828c2) )
- ROM_LOAD32_WORD( "ic20s.bin", 0x02000002, 0x800000, CRC(6dee24b2) SHA1(ef6eb8aa239af6b02169618dd2594fc9c62086dc) )
- ROM_LOAD32_WORD( "ic21s.bin", 0x03000000, 0x800000, CRC(9a0564c2) SHA1(71fa98fd4815a119ff2cbe07298fefc25a2cde79) )
- ROM_LOAD32_WORD( "ic22s.bin", 0x03000002, 0x800000, CRC(df692133) SHA1(9433010ca070003d59a18239cd2637e6f9bffeae) )
- ROM_LOAD32_WORD( "ic23s.bin", 0x04000000, 0x800000, CRC(61c98256) SHA1(a1e4e6fa7c2672d49ff6a0a5a239d9f405797248) )
- ROM_LOAD32_WORD( "ic24s.bin", 0x04000002, 0x800000, CRC(c7e8ec24) SHA1(7cf7fc4954caff3fe2bb14964889d79250e6e4db) )
- ROM_LOAD32_WORD( "ic25s.bin", 0x05000000, 0x800000, CRC(2cb47ef5) SHA1(3f6cea2ca7857bd441f9632cd295c5f57a3d59fc) )
- ROM_LOAD32_WORD( "ic26s.bin", 0x05000002, 0x800000, CRC(f5b477d5) SHA1(f79d65bee22800dce2964666278c285d15c059e7) )
- ROM_LOAD32_WORD( "ic27s.bin", 0x06000000, 0x800000, CRC(22c07470) SHA1(4e64b632a4dad2d6a565d90aa34a00739a2a4ad4) )
- ROM_LOAD32_WORD( "ic28s.bin", 0x06000002, 0x800000, CRC(018233e0) SHA1(168430d66c59db49d113b65ae6dac9ddb9919661) )
- ROM_LOAD32_WORD( "ic29s.bin", 0x07000000, 0x800000, CRC(96101b95) SHA1(b818f24b551eaf3a35d8eb23b7e7df2af5ceef5f) )
- ROM_LOAD32_WORD( "ic30s.bin", 0x07000002, 0x800000, CRC(16dff39b) SHA1(b3899ab22056015ed3fd4ee06f687d9dca540ece) )
- ROM_LOAD32_WORD( "ic31s.bin", 0x08000000, 0x800000, CRC(510c03dd) SHA1(1488a574590be8927bc8c403105b6fb72c829177) )
- ROM_LOAD32_WORD( "ic32s.bin", 0x08000002, 0x800000, CRC(b184e263) SHA1(5089b13c160708c4ddee36e4fb89110ab6281690) )
- ROM_LOAD32_WORD( "ic33s.bin", 0x09000000, 0x800000, CRC(be2a164b) SHA1(a1d93e84e7e35ec55e738dc27069295cd0610f27) )
- ROM_LOAD32_WORD( "ic34s.bin", 0x09000002, 0x800000, CRC(01e0a163) SHA1(7730ce21e9041c70d39700d4ea2ff3adf54a315e) )
- ROM_LOAD32_WORD( "ic35s.bin", 0x0a000000, 0x800000, CRC(ae0c1caa) SHA1(548c5e6cb0c99ba8f0a758bb66fb8d949b2da1a0) )
- ROM_LOAD32_WORD( "ic36s.bin", 0x0a000002, 0x800000, CRC(6de8d5c7) SHA1(896520ab7cf458fddeacdad7a535976445048d8f) )
- ROM_LOAD32_WORD( "ic37s.bin", 0x0b000000, 0x800000, CRC(fc89454c) SHA1(f0550e17930c71d81050f18eceb312fe82c084c2) )
- ROM_LOAD32_WORD( "ic38s.bin", 0x0b000002, 0x800000, CRC(86954476) SHA1(ba2b31032321abf5ddfe7cff7803ae4fa944812c) )
+ ROM_LOAD32_WORD( "ic17s.bin", 0x01000000, 0x800000, CRC(f51ce63b) SHA1(7642d5a78d103986ebe7bf9ecea7602490fcdfa2) )
+ ROM_LOAD32_WORD( "ic18s.bin", 0x01000002, 0x800000, CRC(7109decc) SHA1(91481f427d4d28c3ff1805eb00b63deb9d691b27) )
+ ROM_LOAD32_WORD( "ic19s.bin", 0x02000000, 0x800000, CRC(a58efa9c) SHA1(ff83c25ef4094c1033b906bd048569927b0828c2) )
+ ROM_LOAD32_WORD( "ic20s.bin", 0x02000002, 0x800000, CRC(6dee24b2) SHA1(ef6eb8aa239af6b02169618dd2594fc9c62086dc) )
+ ROM_LOAD32_WORD( "ic21s.bin", 0x03000000, 0x800000, CRC(9a0564c2) SHA1(71fa98fd4815a119ff2cbe07298fefc25a2cde79) )
+ ROM_LOAD32_WORD( "ic22s.bin", 0x03000002, 0x800000, CRC(df692133) SHA1(9433010ca070003d59a18239cd2637e6f9bffeae) )
+ ROM_LOAD32_WORD( "ic23s.bin", 0x04000000, 0x800000, CRC(61c98256) SHA1(a1e4e6fa7c2672d49ff6a0a5a239d9f405797248) )
+ ROM_LOAD32_WORD( "ic24s.bin", 0x04000002, 0x800000, CRC(c7e8ec24) SHA1(7cf7fc4954caff3fe2bb14964889d79250e6e4db) )
+ ROM_LOAD32_WORD( "ic25s.bin", 0x05000000, 0x800000, CRC(2cb47ef5) SHA1(3f6cea2ca7857bd441f9632cd295c5f57a3d59fc) )
+ ROM_LOAD32_WORD( "ic26s.bin", 0x05000002, 0x800000, CRC(f5b477d5) SHA1(f79d65bee22800dce2964666278c285d15c059e7) )
+ ROM_LOAD32_WORD( "ic27s.bin", 0x06000000, 0x800000, CRC(22c07470) SHA1(4e64b632a4dad2d6a565d90aa34a00739a2a4ad4) )
+ ROM_LOAD32_WORD( "ic28s.bin", 0x06000002, 0x800000, CRC(018233e0) SHA1(168430d66c59db49d113b65ae6dac9ddb9919661) )
+ ROM_LOAD32_WORD( "ic29s.bin", 0x07000000, 0x800000, CRC(96101b95) SHA1(b818f24b551eaf3a35d8eb23b7e7df2af5ceef5f) )
+ ROM_LOAD32_WORD( "ic30s.bin", 0x07000002, 0x800000, CRC(16dff39b) SHA1(b3899ab22056015ed3fd4ee06f687d9dca540ece) )
+ ROM_LOAD32_WORD( "ic31s.bin", 0x08000000, 0x800000, CRC(510c03dd) SHA1(1488a574590be8927bc8c403105b6fb72c829177) )
+ ROM_LOAD32_WORD( "ic32s.bin", 0x08000002, 0x800000, CRC(b184e263) SHA1(5089b13c160708c4ddee36e4fb89110ab6281690) )
+ ROM_LOAD32_WORD( "ic33s.bin", 0x09000000, 0x800000, CRC(be2a164b) SHA1(a1d93e84e7e35ec55e738dc27069295cd0610f27) )
+ ROM_LOAD32_WORD( "ic34s.bin", 0x09000002, 0x800000, CRC(01e0a163) SHA1(7730ce21e9041c70d39700d4ea2ff3adf54a315e) )
+ ROM_LOAD32_WORD( "ic35s.bin", 0x0a000000, 0x800000, CRC(ae0c1caa) SHA1(548c5e6cb0c99ba8f0a758bb66fb8d949b2da1a0) )
+ ROM_LOAD32_WORD( "ic36s.bin", 0x0a000002, 0x800000, CRC(6de8d5c7) SHA1(896520ab7cf458fddeacdad7a535976445048d8f) )
+ ROM_LOAD32_WORD( "ic37s.bin", 0x0b000000, 0x800000, CRC(fc89454c) SHA1(f0550e17930c71d81050f18eceb312fe82c084c2) )
+ ROM_LOAD32_WORD( "ic38s.bin", 0x0b000002, 0x800000, CRC(86954476) SHA1(ba2b31032321abf5ddfe7cff7803ae4fa944812c) )
ROM_COPY( "rom_board", 0x01000000, 0x400000, 0xc00000 )
@@ -6394,7 +6394,7 @@ ROM_START( puyofevp )
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(17150bc9) SHA1(c3af7d91e12141938d2b9e67eb9f5ff961cd09ff) )
+ ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(17150bc9) SHA1(c3af7d91e12141938d2b9e67eb9f5ff961cd09ff) )
ROM_END
/* GD-ROM titles - a PIC supplies a decryption key
@@ -7536,7 +7536,7 @@ ROM_START( ndcfboxa )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-0567-EXP)
//(sticker 253-5508-0567)
- ROM_LOAD("317-0567-exp.pic", 0x00, 0x4000, NO_DUMP )
+ ROM_LOAD("317-0567-exp.pic", 0x00, 0x4000, NO_DUMP )
ROM_END
@@ -7731,14 +7731,14 @@ ROM_START( hopper )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0xb000000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD( "epr-24083.ic11", 0x000000, 0x400000, CRC(2733e65a) SHA1(4a5d109d0531bebd8e8f585789adce98cac2ab93) )
+ ROM_LOAD( "epr-24083.ic11", 0x000000, 0x400000, CRC(2733e65a) SHA1(4a5d109d0531bebd8e8f585789adce98cac2ab93) )
ROM_REGION( 0x40000, "flash", ROMREGION_ERASEFF)
- ROM_LOAD( "315-6358a.ic2", 0x000000, 0x020008, CRC(ef442e67) SHA1(70ac91e2ca1ff2dfba48d566e4de68bd8b82f282) )
+ ROM_LOAD( "315-6358a.ic2", 0x000000, 0x020008, CRC(ef442e67) SHA1(70ac91e2ca1ff2dfba48d566e4de68bd8b82f282) )
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(ddedf494) SHA1(f1529615711a9871051cd09c2a9b95c90d356874) )
+ ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(ddedf494) SHA1(f1529615711a9871051cd09c2a9b95c90d356874) )
ROM_END
ROM_START( clubkrte )
@@ -7790,32 +7790,32 @@ ROM_START( clubkprz )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0x9000000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD( "epr-24065.ic11", 0x000000, 0x400000, CRC(7c331cb8) SHA1(f7e1cffbad576482a91bc1dc9129c689f0bebb25) )
- ROM_LOAD32_WORD( "opr-24066.17s", 0x1000000, 0x800000, CRC(b22cfa7b) SHA1(e0f795dc9d3a2dd1869f85f3eedd0f8d703a1be8) )
- ROM_LOAD32_WORD( "opr-24067.18", 0x1000002, 0x800000, CRC(0d2d1290) SHA1(a26fa82fc87d6ed60095b2e778b649fcbb8bb1ee) )
- ROM_LOAD32_WORD( "opr-24068.19s", 0x2000000, 0x800000, CRC(d320009b) SHA1(76677eacd18770d091fc19e31be3d84410ed3256) )
- ROM_LOAD32_WORD( "opr-24069.20", 0x2000002, 0x800000, CRC(56145c73) SHA1(a74a97a431a315f86a1b25d1fc9cc1fb93146776) )
- ROM_LOAD32_WORD( "opr-24070.21s", 0x3000000, 0x800000, CRC(10a0c315) SHA1(337902393e215d94954f123c6b016925486c3374) )
- ROM_LOAD32_WORD( "opr-24071.22", 0x3000002, 0x800000, CRC(040e1329) SHA1(cebf8bc48a745811bcc6bce0ad880eca392428f9) )
- ROM_LOAD32_WORD( "opr-24072.23s", 0x4000000, 0x800000, CRC(1e9834e4) SHA1(a226689190739a39016b78c881f92b9bbb8d830e) )
- ROM_LOAD32_WORD( "opr-24073.24", 0x4000002, 0x800000, CRC(51fb7d42) SHA1(fb0bffeb181b1f3efcfa22aabda1bea926d9048b) )
- ROM_LOAD32_WORD( "opr-24074.25s", 0x5000000, 0x800000, CRC(636625fe) SHA1(fffd766cf14e66d10071a342573535ac708f87b7) )
- ROM_LOAD32_WORD( "opr-24075.26", 0x5000002, 0x800000, CRC(9eee9689) SHA1(831ac7713cc4f47679609361f0e1c67bb028e795) )
- ROM_LOAD32_WORD( "opr-24076.27s", 0x6000000, 0x800000, CRC(a89a5555) SHA1(c2c0eeb50f1afe6c7c3d978a99c6eaac96062bf0) )
- ROM_LOAD32_WORD( "opr-24077.28", 0x6000002, 0x800000, CRC(1e11d0aa) SHA1(1cc4dd05e1fbd0fde669b40aa49098c14eafd035) )
- ROM_LOAD32_WORD( "opr-24078.29", 0x7000000, 0x800000, CRC(a83f5f88) SHA1(ef0787cf84847e74fa3bb38d7133d87607df84fb) )
- ROM_LOAD32_WORD( "opr-24079.30s", 0x7000002, 0x800000, CRC(57efa68f) SHA1(5dd863dfb035489de3bbb3c3f72ee5d87ec322be) )
- ROM_LOAD32_WORD( "opr-24080.31", 0x8000000, 0x800000, CRC(307c480e) SHA1(6e52f252f557988e52c42d495713a374507b5895) )
- ROM_LOAD32_WORD( "opr-24081.32s", 0x8000002, 0x800000, CRC(61085bdc) SHA1(48fe7f34bb5f50825b3c77d587e07f3adab1cf86) )
+ ROM_LOAD( "epr-24065.ic11", 0x000000, 0x400000, CRC(7c331cb8) SHA1(f7e1cffbad576482a91bc1dc9129c689f0bebb25) )
+ ROM_LOAD32_WORD( "opr-24066.17s", 0x1000000, 0x800000, CRC(b22cfa7b) SHA1(e0f795dc9d3a2dd1869f85f3eedd0f8d703a1be8) )
+ ROM_LOAD32_WORD( "opr-24067.18", 0x1000002, 0x800000, CRC(0d2d1290) SHA1(a26fa82fc87d6ed60095b2e778b649fcbb8bb1ee) )
+ ROM_LOAD32_WORD( "opr-24068.19s", 0x2000000, 0x800000, CRC(d320009b) SHA1(76677eacd18770d091fc19e31be3d84410ed3256) )
+ ROM_LOAD32_WORD( "opr-24069.20", 0x2000002, 0x800000, CRC(56145c73) SHA1(a74a97a431a315f86a1b25d1fc9cc1fb93146776) )
+ ROM_LOAD32_WORD( "opr-24070.21s", 0x3000000, 0x800000, CRC(10a0c315) SHA1(337902393e215d94954f123c6b016925486c3374) )
+ ROM_LOAD32_WORD( "opr-24071.22", 0x3000002, 0x800000, CRC(040e1329) SHA1(cebf8bc48a745811bcc6bce0ad880eca392428f9) )
+ ROM_LOAD32_WORD( "opr-24072.23s", 0x4000000, 0x800000, CRC(1e9834e4) SHA1(a226689190739a39016b78c881f92b9bbb8d830e) )
+ ROM_LOAD32_WORD( "opr-24073.24", 0x4000002, 0x800000, CRC(51fb7d42) SHA1(fb0bffeb181b1f3efcfa22aabda1bea926d9048b) )
+ ROM_LOAD32_WORD( "opr-24074.25s", 0x5000000, 0x800000, CRC(636625fe) SHA1(fffd766cf14e66d10071a342573535ac708f87b7) )
+ ROM_LOAD32_WORD( "opr-24075.26", 0x5000002, 0x800000, CRC(9eee9689) SHA1(831ac7713cc4f47679609361f0e1c67bb028e795) )
+ ROM_LOAD32_WORD( "opr-24076.27s", 0x6000000, 0x800000, CRC(a89a5555) SHA1(c2c0eeb50f1afe6c7c3d978a99c6eaac96062bf0) )
+ ROM_LOAD32_WORD( "opr-24077.28", 0x6000002, 0x800000, CRC(1e11d0aa) SHA1(1cc4dd05e1fbd0fde669b40aa49098c14eafd035) )
+ ROM_LOAD32_WORD( "opr-24078.29", 0x7000000, 0x800000, CRC(a83f5f88) SHA1(ef0787cf84847e74fa3bb38d7133d87607df84fb) )
+ ROM_LOAD32_WORD( "opr-24079.30s", 0x7000002, 0x800000, CRC(57efa68f) SHA1(5dd863dfb035489de3bbb3c3f72ee5d87ec322be) )
+ ROM_LOAD32_WORD( "opr-24080.31", 0x8000000, 0x800000, CRC(307c480e) SHA1(6e52f252f557988e52c42d495713a374507b5895) )
+ ROM_LOAD32_WORD( "opr-24081.32s", 0x8000002, 0x800000, CRC(61085bdc) SHA1(48fe7f34bb5f50825b3c77d587e07f3adab1cf86) )
ROM_COPY( "rom_board", 0x1000000, 0x400000, 0xc00000 )
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "at25010.ic3s", 0x000000, 0x000084, CRC(0142d8be) SHA1(5922b6c47b12b19e1fa7bbe9aae391905038a7ff) )
+ ROM_LOAD( "at25010.ic3s", 0x000000, 0x000084, CRC(0142d8be) SHA1(5922b6c47b12b19e1fa7bbe9aae391905038a7ff) )
- ROM_REGION( 4, "rom_key", 0 ) // 317-0368-COM
- ROM_LOAD( "clubkprz-key.bin", 0x000000, 0x000004, CRC(c9ed13c1) SHA1(2907985375cd5b04846e7214d200926be64d06fd) )
+ ROM_REGION( 4, "rom_key", 0 ) // 317-0368-COM
+ ROM_LOAD( "clubkprz-key.bin", 0x000000, 0x000004, CRC(c9ed13c1) SHA1(2907985375cd5b04846e7214d200926be64d06fd) )
ROM_END
ROM_START( clubkpzb )
@@ -7823,32 +7823,32 @@ ROM_START( clubkpzb )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0x9000000, "rom_board", ROMREGION_ERASEFF)
- ROM_LOAD( "epr-24149.ic11", 0x000000, 0x400000, CRC(175b57a5) SHA1(de8ddd140c39d62a10d90ec46060d84c3b226c6b) )
- ROM_LOAD32_WORD( "opr-24178.ic17s", 0x1000000, 0x800000, CRC(836764ca) SHA1(e91cf7abeb27013d33726029d060075fa6352610) )
- ROM_LOAD32_WORD( "opr-24179.ic18", 0x1000002, 0x800000, CRC(03a0eb5b) SHA1(3f377d5a13d54c40c521f0faf6d50dc4fc077bb7) )
- ROM_LOAD32_WORD( "opr-24180.ic19s", 0x2000000, 0x800000, CRC(6a6c41f4) SHA1(3b01476b0483ce5e2f7e208e618ad56769b5c064) )
- ROM_LOAD32_WORD( "opr-24181.ic20", 0x2000002, 0x800000, CRC(38fd96fd) SHA1(c26ffc01529b4533c5e1448a774fa6e5f7e08080) )
- ROM_LOAD32_WORD( "opr-24182.ic21s", 0x3000000, 0x800000, CRC(b1116d71) SHA1(c840ae3602055528e4282283e5bc99465c6b5d28) )
- ROM_LOAD32_WORD( "opr-24183.ic22", 0x3000002, 0x800000, CRC(c1aef164) SHA1(e9a830a3a4bac4f5b2b40615bc43036aa0dd0a56) )
- ROM_LOAD32_WORD( "opr-24184.ic23s", 0x4000000, 0x800000, CRC(4ce1b902) SHA1(41b2fb02e3b9a0bb6ea8c7d77a9fb92248d62bcc) )
- ROM_LOAD32_WORD( "opr-24185.ic24", 0x4000002, 0x800000, CRC(94a4e6ab) SHA1(8738fcc75becf2acd5bc2c1be75e9a5c35359973) )
- ROM_LOAD32_WORD( "opr-24186.ic25s", 0x5000000, 0x800000, CRC(6884d0e9) SHA1(74ef002a752fcd377c5e6e6c17334ca22e561c76) )
- ROM_LOAD32_WORD( "opr-24187.ic26", 0x5000002, 0x800000, CRC(87c79534) SHA1(ab6e5246c388d0839ea6a45c8d2db035b33cd1d2) )
- ROM_LOAD32_WORD( "opr-24188.ic27s", 0x6000000, 0x800000, CRC(cfe107a2) SHA1(2f98bc00aa2b2eea0a26452542098c389f5e836c) )
- ROM_LOAD32_WORD( "opr-24189.ic28", 0x6000002, 0x800000, CRC(302de147) SHA1(442204439c509a6aa7dd25156bf17fb3853ae632) )
- ROM_LOAD32_WORD( "opr-24190.ic29", 0x7000000, 0x800000, CRC(71551313) SHA1(4b43d754b9511ae2d73ec04d7baf0e466337a82f) )
- ROM_LOAD32_WORD( "opr-24191.ic30s", 0x7000002, 0x800000, CRC(200cbeaf) SHA1(ccca2b873177d148a391cfcc8b1632856bd0e3b4) )
- ROM_LOAD32_WORD( "opr-24192.ic31", 0x8000000, 0x800000, CRC(869ef0ce) SHA1(227189dedfa72c56d9eedf5faeed9a4fd0a8393f) )
- ROM_LOAD32_WORD( "opr-24193.ic32s", 0x8000002, 0x800000, CRC(fb39946d) SHA1(d9fa077869709c6fda640bd4be18cf3db7ebe1d1) )
+ ROM_LOAD( "epr-24149.ic11", 0x000000, 0x400000, CRC(175b57a5) SHA1(de8ddd140c39d62a10d90ec46060d84c3b226c6b) )
+ ROM_LOAD32_WORD( "opr-24178.ic17s", 0x1000000, 0x800000, CRC(836764ca) SHA1(e91cf7abeb27013d33726029d060075fa6352610) )
+ ROM_LOAD32_WORD( "opr-24179.ic18", 0x1000002, 0x800000, CRC(03a0eb5b) SHA1(3f377d5a13d54c40c521f0faf6d50dc4fc077bb7) )
+ ROM_LOAD32_WORD( "opr-24180.ic19s", 0x2000000, 0x800000, CRC(6a6c41f4) SHA1(3b01476b0483ce5e2f7e208e618ad56769b5c064) )
+ ROM_LOAD32_WORD( "opr-24181.ic20", 0x2000002, 0x800000, CRC(38fd96fd) SHA1(c26ffc01529b4533c5e1448a774fa6e5f7e08080) )
+ ROM_LOAD32_WORD( "opr-24182.ic21s", 0x3000000, 0x800000, CRC(b1116d71) SHA1(c840ae3602055528e4282283e5bc99465c6b5d28) )
+ ROM_LOAD32_WORD( "opr-24183.ic22", 0x3000002, 0x800000, CRC(c1aef164) SHA1(e9a830a3a4bac4f5b2b40615bc43036aa0dd0a56) )
+ ROM_LOAD32_WORD( "opr-24184.ic23s", 0x4000000, 0x800000, CRC(4ce1b902) SHA1(41b2fb02e3b9a0bb6ea8c7d77a9fb92248d62bcc) )
+ ROM_LOAD32_WORD( "opr-24185.ic24", 0x4000002, 0x800000, CRC(94a4e6ab) SHA1(8738fcc75becf2acd5bc2c1be75e9a5c35359973) )
+ ROM_LOAD32_WORD( "opr-24186.ic25s", 0x5000000, 0x800000, CRC(6884d0e9) SHA1(74ef002a752fcd377c5e6e6c17334ca22e561c76) )
+ ROM_LOAD32_WORD( "opr-24187.ic26", 0x5000002, 0x800000, CRC(87c79534) SHA1(ab6e5246c388d0839ea6a45c8d2db035b33cd1d2) )
+ ROM_LOAD32_WORD( "opr-24188.ic27s", 0x6000000, 0x800000, CRC(cfe107a2) SHA1(2f98bc00aa2b2eea0a26452542098c389f5e836c) )
+ ROM_LOAD32_WORD( "opr-24189.ic28", 0x6000002, 0x800000, CRC(302de147) SHA1(442204439c509a6aa7dd25156bf17fb3853ae632) )
+ ROM_LOAD32_WORD( "opr-24190.ic29", 0x7000000, 0x800000, CRC(71551313) SHA1(4b43d754b9511ae2d73ec04d7baf0e466337a82f) )
+ ROM_LOAD32_WORD( "opr-24191.ic30s", 0x7000002, 0x800000, CRC(200cbeaf) SHA1(ccca2b873177d148a391cfcc8b1632856bd0e3b4) )
+ ROM_LOAD32_WORD( "opr-24192.ic31", 0x8000000, 0x800000, CRC(869ef0ce) SHA1(227189dedfa72c56d9eedf5faeed9a4fd0a8393f) )
+ ROM_LOAD32_WORD( "opr-24193.ic32s", 0x8000002, 0x800000, CRC(fb39946d) SHA1(d9fa077869709c6fda640bd4be18cf3db7ebe1d1) )
ROM_COPY( "rom_board", 0x1000000, 0x400000, 0xc00000 )
ROM_REGION( 4, "rom_key", ROMREGION_ERASE00 )
- ROM_LOAD( "clubkprz-key.bin", 0x000000, 0x000004, CRC(c9ed13c1) SHA1(2907985375cd5b04846e7214d200926be64d06fd) )
+ ROM_LOAD( "clubkprz-key.bin", 0x000000, 0x000004, CRC(c9ed13c1) SHA1(2907985375cd5b04846e7214d200926be64d06fd) )
// this dump can't be used as main_eeprom, because that's exactly 0x80 bytes
ROM_REGION(0x84, "some_eeprom", 0)
- ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(afff6471) SHA1(c1e1d349ff25191eba09cd7d7186fbe2c6565b81) )
+ ROM_LOAD( "sflash.bin", 0x000000, 0x000084, CRC(afff6471) SHA1(c1e1d349ff25191eba09cd7d7186fbe2c6565b81) )
ROM_END
// needs verification is this dump really from 840-0139C cart, mask rom labels not known
@@ -8188,7 +8188,7 @@ ROM_START( inidv3cy )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-0406-COM)
- //(sticker 253-5508-0406)
+ //(sticker 253-5508-0406)
ROM_LOAD("317-0406-com.pic", 0x00, 0x4000, NO_DUMP )
ROM_END
@@ -8757,7 +8757,7 @@ GAME( 2003, puyofevp, naomi, naomim1, naomi, naomi_state, naomi, ROT0, "Sega", "
/* 0087 */ GAME( 2002, kingrt66, naomi2, naomi2, naomi, naomi_state, naomi2, ROT0, "Sega", "King of Route 66 (Rev A)", GAME_FLAGS )
/* 0095 */ GAME( 2002, soulsurf, naomi2, naomi2, naomi, naomi_state, naomi2, ROT0, "Sega", "Soul Surfer (Rev A)", GAME_FLAGS )
/* 0106 */ GAME( 2002, vf4evoct, naomi2, naomi2m1, naomi, naomi_state, vf4evoct, ROT0, "Sega", "Virtua Fighter 4 Evolution (Cartridge)", GAME_FLAGS )
-/* 0129 */ GAME( 2003, clubkprz, naomi2, naomi2m1, naomi, naomi_state, naomi2, ROT0, "Sega", "Club Kart Prize", GAME_FLAGS )
+/* 0129 */ GAME( 2003, clubkprz, naomi2, naomi2m1, naomi, naomi_state, naomi2, ROT0, "Sega", "Club Kart Prize", GAME_FLAGS )
/* Note: the game's full name is exactly "Club Kart Prize Ver. B". The "Ver. B" does not denote a new revision of Club Kart Prize; the different 840- number confirms this. */
/* 0137 */ GAME( 2004, clubkpzb, naomi2, naomi2m1, naomi, naomi_state, naomi2, ROT0, "Sega", "Club Kart Prize Ver. B", GAME_FLAGS )
// needs verification is this dump really from 840-0139C cart
diff --git a/src/mame/drivers/nbmj8891.c b/src/mame/drivers/nbmj8891.c
index 4b268ce634d..fac3fbf055b 100644
--- a/src/mame/drivers/nbmj8891.c
+++ b/src/mame/drivers/nbmj8891.c
@@ -13,8 +13,8 @@ Notes:
two don't run on the same hardware. mjcamera is in nbmj8688.c.
- In mjfocus(Medal Type), sometimes CPU's hands are forced out from the screen.
- This is correct behaviour.
-
+ This is correct behaviour.
+
TODO:
- Telmajan cannot set to JAMMA type. I don't know why.
diff --git a/src/mame/drivers/nbmj8900.c b/src/mame/drivers/nbmj8900.c
index 6d74d653b44..d59f28cbeb2 100644
--- a/src/mame/drivers/nbmj8900.c
+++ b/src/mame/drivers/nbmj8900.c
@@ -316,7 +316,7 @@ static MACHINE_CONFIG_START( ohpaipee, nbmj8900_state )
MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 8, 248-1)
MCFG_SCREEN_UPDATE_DRIVER(nbmj8900_state, screen_update_nbmj8900)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 256)
diff --git a/src/mame/drivers/neogeo.c b/src/mame/drivers/neogeo.c
index 94197ec380c..e6306d78714 100644
--- a/src/mame/drivers/neogeo.c
+++ b/src/mame/drivers/neogeo.c
@@ -210,7 +210,7 @@
. NEO-MVS PROGSS3
. NEO-MVS PROGTOP
. NEO-MVS PROGSF1 (1998.6.17)
- . NEO-MVS PROGSF1E (1998.6.18)
+ . NEO-MVS PROGSF1E (1998.6.18)
. NEO-MVS PROGEOP (1999.2.2)
. NEO-MVS PROGLBA (1999.4.12) - LBA-SUB (2000.2.24)
. NEO-MVS PROGBK1 (1994)
@@ -787,7 +787,7 @@ CUSTOM_INPUT_MEMBER(neogeo_state::get_memcard_status)
READ16_MEMBER(neogeo_state::memcard_r)
{
m_maincpu->eat_cycles(2); // insert waitstate
-
+
UINT16 ret;
if (memcard_present(machine()) != -1)
@@ -1810,7 +1810,7 @@ MACHINE_CONFIG_START( neogeo_base, neogeo_state )
MCFG_CPU_ADD("audiocpu", Z80, NEOGEO_AUDIO_CPU_CLOCK)
MCFG_CPU_PROGRAM_MAP(audio_map)
MCFG_CPU_IO_MAP(audio_io_map)
-
+
/* video hardware */
MCFG_DEFAULT_LAYOUT(layout_neogeo)
@@ -11558,4 +11558,3 @@ GAME( 2004, sbp, neogeo, neogeo, neogeo, neogeo_state, sbp, RO
/* N.C.I - LE CORTEX */
// Bang Bang Busters (c)2010 - MVS?/AES
// Treasure of the Caribbean (c)2011 - MVS?/AES
-
diff --git a/src/mame/drivers/neptunp2.c b/src/mame/drivers/neptunp2.c
index 2eb8f49c64b..7b5f987590b 100644
--- a/src/mame/drivers/neptunp2.c
+++ b/src/mame/drivers/neptunp2.c
@@ -104,7 +104,7 @@ static MACHINE_CONFIG_START( neptunp2, neptunp2_state )
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", neptunp2)
MCFG_PALETTE_ADD("palette", 512)
diff --git a/src/mame/drivers/nightgal.c b/src/mame/drivers/nightgal.c
index 710f1d90d1f..493984e8909 100644
--- a/src/mame/drivers/nightgal.c
+++ b/src/mame/drivers/nightgal.c
@@ -129,7 +129,7 @@ protected:
required_ioport m_io_dswb;
required_ioport m_io_dswc;
required_device<palette_device> m_palette;
-
+
UINT8 nightgal_gfx_nibble( int niboffset );
void plot_nightgal_gfx_pixel( UINT8 pix, int x, int y );
};
diff --git a/src/mame/drivers/ninjaw.c b/src/mame/drivers/ninjaw.c
index 405caf88d63..7e812a37c39 100644
--- a/src/mame/drivers/ninjaw.c
+++ b/src/mame/drivers/ninjaw.c
@@ -854,7 +854,7 @@ static MACHINE_CONFIG_START( ninjaw, ninjaw_state )
MCFG_TC0110PCR_PALETTE("palette2")
MCFG_TC0110PCR_ADD("tc0110pcr_3")
MCFG_TC0110PCR_PALETTE("palette3")
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
diff --git a/src/mame/drivers/nmg5.c b/src/mame/drivers/nmg5.c
index aba1550f8f6..b66b90c9eae 100644
--- a/src/mame/drivers/nmg5.c
+++ b/src/mame/drivers/nmg5.c
@@ -267,7 +267,7 @@ public:
required_device<cpu_device> m_soundcpu;
required_device<okim6295_device> m_oki;
required_device<gfxdecode_device> m_gfxdecode;
-
+
DECLARE_WRITE16_MEMBER(fg_videoram_w);
DECLARE_WRITE16_MEMBER(bg_videoram_w);
DECLARE_WRITE16_MEMBER(nmg5_soundlatch_w);
diff --git a/src/mame/drivers/nss.c b/src/mame/drivers/nss.c
index c846ab84772..6cb63b3d935 100644
--- a/src/mame/drivers/nss.c
+++ b/src/mame/drivers/nss.c
@@ -311,7 +311,7 @@ public:
required_device<rp5h01_device> m_rp5h01;
required_device<screen_device> m_screen;
optional_device<palette_device> m_palette;
-
+
UINT8 m_wram_wp_flag;
UINT8 *m_wram;
UINT8 m_nmi_enable;
diff --git a/src/mame/drivers/nwk-tr.c b/src/mame/drivers/nwk-tr.c
index c2b890726e8..dd086b3c4fd 100644
--- a/src/mame/drivers/nwk-tr.c
+++ b/src/mame/drivers/nwk-tr.c
@@ -775,7 +775,7 @@ static MACHINE_CONFIG_START( nwktr, nwktr_state )
MCFG_PALETTE_ADD("palette", 65536)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K001604_ADD("k001604", racingj_k001604_intf)
MCFG_K001604_GFXDECODE("gfxdecode")
MCFG_K001604_PALETTE("palette")
diff --git a/src/mame/drivers/nycaptor.c b/src/mame/drivers/nycaptor.c
index 6bb71d84a31..dff1bfb4d34 100644
--- a/src/mame/drivers/nycaptor.c
+++ b/src/mame/drivers/nycaptor.c
@@ -922,7 +922,7 @@ static MACHINE_CONFIG_START( cyclshtg, nycaptor_state )
// pin 1 SOLO 8' not mapped
// pin 2 SOLO 16' not mapped
// pin 22 Noise Output not mapped
-
+
MCFG_DAC_ADD("dac")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
@@ -981,7 +981,7 @@ static MACHINE_CONFIG_START( bronx, nycaptor_state )
// pin 1 SOLO 8' not mapped
// pin 2 SOLO 16' not mapped
// pin 22 Noise Output not mapped
-
+
MCFG_DAC_ADD("dac")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/nyny.c b/src/mame/drivers/nyny.c
index 2e05343eff7..27cc1e49d31 100644
--- a/src/mame/drivers/nyny.c
+++ b/src/mame/drivers/nyny.c
@@ -121,7 +121,7 @@ public:
required_device<mc6845_device> m_mc6845;
required_device<pia6821_device> m_pia1;
required_device<pia6821_device> m_pia2;
-
+
pen_t m_pens[NUM_PENS];
DECLARE_WRITE8_MEMBER(audio_1_command_w);
DECLARE_WRITE8_MEMBER(audio_1_answer_w);
diff --git a/src/mame/drivers/offtwall.c b/src/mame/drivers/offtwall.c
index ed1cedefd39..ee070837a74 100644
--- a/src/mame/drivers/offtwall.c
+++ b/src/mame/drivers/offtwall.c
@@ -376,7 +376,7 @@ static MACHINE_CONFIG_START( offtwall, offtwall_state )
MCFG_ATARI_VAD_MOB(offtwall_state::s_mob_config, "gfxdecode")
MCFG_SCREEN_ADD("screen", RASTER)
- MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
+ MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
/* note: these parameters are from published specs, not derived */
/* the board uses a VAD chip to generate video signals */
MCFG_SCREEN_RAW_PARAMS(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240)
@@ -422,17 +422,17 @@ ROM_START( offtwall )
ROM_REGION( 0x800, "eeprom:eeprom", 0 )
ROM_LOAD( "offtwall-eeprom.17l", 0x0000, 0x800, CRC(5eaf2d5b) SHA1(934a76a23960e6ed2cc33c359f9735caee762145) )
- ROM_REGION(0x022f, "jsa:plds", 0)
- ROM_LOAD("136085-1038.17c.bin", 0x0000, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
- ROM_LOAD("136085-1039.20c.bin", 0x0118, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
-
- ROM_REGION(0x2591, "main:plds", 0)
- ROM_LOAD("136090-1001.14l.bin", 0x0000, 0x201d, NO_DUMP ) /* GAL6001-35P is read protected */
- ROM_LOAD("136090-1002.11r.bin", 0x201e, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
- ROM_LOAD("136090-1003.15f.bin", 0x2135, 0x0117, CRC(5e723b46) SHA1(e686920d0af342e33f836fec15b6e8b5ef1b8be5)) /* GAL16V8A-25LP */
- ROM_LOAD("136090-1005.5n.bin", 0x224c, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
- ROM_LOAD("136090-1006.5f.bin", 0x2363, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
- ROM_LOAD("136090-1007.3f.bin", 0x247a, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
+ ROM_REGION(0x022f, "jsa:plds", 0)
+ ROM_LOAD("136085-1038.17c.bin", 0x0000, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
+ ROM_LOAD("136085-1039.20c.bin", 0x0118, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
+
+ ROM_REGION(0x2591, "main:plds", 0)
+ ROM_LOAD("136090-1001.14l.bin", 0x0000, 0x201d, NO_DUMP ) /* GAL6001-35P is read protected */
+ ROM_LOAD("136090-1002.11r.bin", 0x201e, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
+ ROM_LOAD("136090-1003.15f.bin", 0x2135, 0x0117, CRC(5e723b46) SHA1(e686920d0af342e33f836fec15b6e8b5ef1b8be5)) /* GAL16V8A-25LP */
+ ROM_LOAD("136090-1005.5n.bin", 0x224c, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
+ ROM_LOAD("136090-1006.5f.bin", 0x2363, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
+ ROM_LOAD("136090-1007.3f.bin", 0x247a, 0x0117, NO_DUMP ) /* GAL16V8A-25LP is read protected */
ROM_END
diff --git a/src/mame/drivers/ohmygod.c b/src/mame/drivers/ohmygod.c
index 0b993e22b94..832fc4fb897 100644
--- a/src/mame/drivers/ohmygod.c
+++ b/src/mame/drivers/ohmygod.c
@@ -332,7 +332,7 @@ static MACHINE_CONFIG_START( ohmygod, ohmygod_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", ohmygod)
-
+
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB)
diff --git a/src/mame/drivers/olibochu.c b/src/mame/drivers/olibochu.c
index 87e3956181d..f2f598f5541 100644
--- a/src/mame/drivers/olibochu.c
+++ b/src/mame/drivers/olibochu.c
@@ -200,7 +200,7 @@ void olibochu_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -226,7 +226,7 @@ void olibochu_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/drivers/onetwo.c b/src/mame/drivers/onetwo.c
index 8632dbe1a89..e33080bddcf 100644
--- a/src/mame/drivers/onetwo.c
+++ b/src/mame/drivers/onetwo.c
@@ -72,7 +72,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(onetwo_fgram_w);
DECLARE_WRITE8_MEMBER(onetwo_cpubank_w);
DECLARE_WRITE8_MEMBER(onetwo_coin_counters_w);
diff --git a/src/mame/drivers/othello.c b/src/mame/drivers/othello.c
index 7453dfba6b9..03f2bfdb99a 100644
--- a/src/mame/drivers/othello.c
+++ b/src/mame/drivers/othello.c
@@ -81,7 +81,7 @@ public:
mc6845_device *m_mc6845;
device_t *m_n7751;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(unk_87_r);
DECLARE_WRITE8_MEMBER(unk_8a_w);
DECLARE_WRITE8_MEMBER(unk_8c_w);
diff --git a/src/mame/drivers/overdriv.c b/src/mame/drivers/overdriv.c
index d3804d13ee4..3a3214ed7c0 100644
--- a/src/mame/drivers/overdriv.c
+++ b/src/mame/drivers/overdriv.c
@@ -350,7 +350,7 @@ static MACHINE_CONFIG_START( overdriv, overdriv_state )
MCFG_PALETTE_ENABLE_SHADOWS()
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K053246_ADD("k053246", overdriv_k053246_intf)
MCFG_K053246_GFXDECODE("gfxdecode")
MCFG_K053246_PALETTE("palette")
@@ -363,7 +363,7 @@ static MACHINE_CONFIG_START( overdriv, overdriv_state )
MCFG_K053251_ADD("k053251")
MCFG_K053250_ADD("k053250_1", "palette", "screen", 0, 0)
MCFG_K053250_ADD("k053250_2", "palette", "screen", 0, 0)
-
+
MCFG_DEVICE_ADD("k053252", K053252, 24000000/4)
MCFG_K053252_OFFSETS(13*8, 2*8)
diff --git a/src/mame/drivers/pacman.c b/src/mame/drivers/pacman.c
index 617c332f0bf..ef5a9ae90d0 100644
--- a/src/mame/drivers/pacman.c
+++ b/src/mame/drivers/pacman.c
@@ -4246,7 +4246,7 @@ ROM_START( mspacmancr ) /* Bootleg on Crush Roller Board - Midway Graphics and
ROM_LOAD( "5f", 0x1000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) ) // 6.5f
ROM_REGION( 0x0120, "proms", 0 )
- ROM_LOAD( "mb7051.7f", 0x0000, 0x0020, CRC(ff344446) SHA1(45eb37533da8912645a089b014f3b3384702114a) )
+ ROM_LOAD( "mb7051.7f", 0x0000, 0x0020, CRC(ff344446) SHA1(45eb37533da8912645a089b014f3b3384702114a) )
ROM_LOAD( "82s126.4a", 0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) ) // m82s129n.4a
ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */
@@ -4629,11 +4629,11 @@ ROM_START( crushbl3 )
ROM_LOAD( "cr4.5j", 0x1800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
// the set with the above 'crushbl3' program roms and these gfx roms just seems to be a bad dump (some bad maze tiles?)
-// ROM_REGION( 0x2000, "gfx1", 0 )
-// ROM_LOAD( "cr1.bin", 0x0000, 0x0800, CRC(cc31c649) SHA1(a0640d2abc21872b0e680e8e31e3bcb7e7a07953) )
-// ROM_LOAD( "cr3.bin", 0x0800, 0x0800, CRC(14c121d8) SHA1(05f900a2e2a67401ab357340c1fb36153f365f1b) )
-// ROM_LOAD( "cr2.bin", 0x1000, 0x0800, CRC(882dc667) SHA1(5ea01d9c692b3061a0e39e2227fbc6af4baaab11) ) /* copyright sign was removed */
-// ROM_LOAD( "cr4.bin", 0x1800, 0x0800, CRC(0d3877c4) SHA1(0a6f4098181480aa85225324129e37bba375252d) )
+// ROM_REGION( 0x2000, "gfx1", 0 )
+// ROM_LOAD( "cr1.bin", 0x0000, 0x0800, CRC(cc31c649) SHA1(a0640d2abc21872b0e680e8e31e3bcb7e7a07953) )
+// ROM_LOAD( "cr3.bin", 0x0800, 0x0800, CRC(14c121d8) SHA1(05f900a2e2a67401ab357340c1fb36153f365f1b) )
+// ROM_LOAD( "cr2.bin", 0x1000, 0x0800, CRC(882dc667) SHA1(5ea01d9c692b3061a0e39e2227fbc6af4baaab11) ) /* copyright sign was removed */
+// ROM_LOAD( "cr4.bin", 0x1800, 0x0800, CRC(0d3877c4) SHA1(0a6f4098181480aa85225324129e37bba375252d) )
ROM_REGION( 0x0120, "proms", 0 )
ROM_LOAD( "74s288.8a", 0x0000, 0x0020, CRC(ff344446) SHA1(45eb37533da8912645a089b014f3b3384702114a) )
diff --git a/src/mame/drivers/panicr.c b/src/mame/drivers/panicr.c
index 95482776d78..3d207b79883 100644
--- a/src/mame/drivers/panicr.c
+++ b/src/mame/drivers/panicr.c
@@ -618,7 +618,7 @@ static MACHINE_CONFIG_START( panicr, panicr_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, 0*8, 32*8-1)
- MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(panicr_state, screen_update_panicr)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/pcxt.c b/src/mame/drivers/pcxt.c
index 1c020eb36bb..bb6deee344e 100644
--- a/src/mame/drivers/pcxt.c
+++ b/src/mame/drivers/pcxt.c
@@ -137,7 +137,7 @@ class isa8_cga_filetto_device : public isa8_cga_device
public:
// construction/destruction
isa8_cga_filetto_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
virtual const rom_entry *device_rom_region() const;
};
@@ -149,7 +149,7 @@ const device_type ISA8_CGA_FILETTO = &device_creator<isa8_cga_filetto_device>;
isa8_cga_filetto_device::isa8_cga_filetto_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
isa8_cga_device( mconfig, ISA8_CGA_FILETTO, "ISA8_CGA_FILETTO", tag, owner, clock, "filetto_cga", __FILE__)
-{
+{
}
ROM_START( filetto_cga )
@@ -169,11 +169,11 @@ class isa8_cga_tetriskr_device : public isa8_cga_superimpose_device
public:
// construction/destruction
isa8_cga_tetriskr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
virtual void device_start();
virtual const rom_entry *device_rom_region() const;
-
+
DECLARE_READ8_MEMBER(bg_bank_r);
DECLARE_WRITE8_MEMBER(bg_bank_w);
private:
@@ -190,7 +190,7 @@ const device_type ISA8_CGA_TETRISKR = &device_creator<isa8_cga_tetriskr_device>;
isa8_cga_tetriskr_device::isa8_cga_tetriskr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
isa8_cga_superimpose_device( mconfig, ISA8_CGA_TETRISKR, "ISA8_CGA_TETRISKR", tag, owner, clock, "tetriskr_cga", __FILE__)
-{
+{
}
@@ -788,7 +788,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_START( tetriskr, pcxt_state )
MCFG_FRAGMENT_ADD( pcxt )
-
+
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_IO_MAP(tetriskr_io)
diff --git a/src/mame/drivers/pengadvb.c b/src/mame/drivers/pengadvb.c
index 68e6eca0cd0..2f8e28ea6a8 100644
--- a/src/mame/drivers/pengadvb.c
+++ b/src/mame/drivers/pengadvb.c
@@ -39,7 +39,7 @@ public:
{ }
required_device<cpu_device> m_maincpu;
-
+
address_map_bank_device *m_page[4];
memory_bank *m_bank[4];
UINT8 m_primary_slot_reg;
@@ -48,7 +48,7 @@ public:
DECLARE_READ8_MEMBER(mem_r);
DECLARE_WRITE8_MEMBER(mem_w);
DECLARE_WRITE8_MEMBER(megarom_bank_w);
-
+
DECLARE_WRITE8_MEMBER(pengadvb_psg_port_b_w);
DECLARE_READ8_MEMBER(pengadvb_ppi_port_a_r);
DECLARE_WRITE8_MEMBER(pengadvb_ppi_port_a_w);
@@ -91,7 +91,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( bank_mem, AS_PROGRAM, 8, pengadvb_state )
// slot 0, MSX BIOS
AM_RANGE(0x00000, 0x07fff) AM_ROM AM_REGION("maincpu", 0)
-
+
// slot 1, MegaROM
AM_RANGE(0x14000, 0x15fff) AM_ROMBANK("bank0")
AM_RANGE(0x16000, 0x17fff) AM_ROMBANK("bank1")
@@ -184,10 +184,10 @@ READ8_MEMBER(pengadvb_state::pengadvb_ppi_port_b_r)
{
case 0x0:
return ioport("IN1")->read();
-
+
default:
break;
- }
+ }
return 0xff;
}
@@ -327,7 +327,7 @@ DRIVER_INIT_MEMBER(pengadvb_state,pengadvb)
{
pengadvb_decrypt("maincpu");
pengadvb_decrypt("game");
-
+
// init banks
static const char * const pagenames[] = { "page0", "page1", "page2", "page3" };
static const char * const banknames[] = { "bank0", "bank1", "bank2", "bank3" };
diff --git a/src/mame/drivers/peplus.c b/src/mame/drivers/peplus.c
index 39ed9435d1d..4b3b7461960 100644
--- a/src/mame/drivers/peplus.c
+++ b/src/mame/drivers/peplus.c
@@ -204,7 +204,7 @@ public:
m_maincpu(*this, "maincpu"),
m_i2cmem(*this, "i2cmem"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
@@ -6846,7 +6846,7 @@ ROM_END
ROM_START( pexmp030 ) /* Superboard : 5-in-1 Wingboard (XMP00030) */
ROM_REGION( 0x10000, "maincpu", 0 )
- ROM_LOAD( "xmp00030.u67", 0x00000, 0x10000, CRC(da3fcb6f) SHA1(114e581e5ebb5c40c3f3da2784122d3281f269ee) ) /* 11/12/00 @ IGT L01-0197 */
+ ROM_LOAD( "xmp00030.u67", 0x00000, 0x10000, CRC(da3fcb6f) SHA1(114e581e5ebb5c40c3f3da2784122d3281f269ee) ) /* 11/12/00 @ IGT L01-0197 */
ROM_REGION( 0x10000, "user1", 0 )
ROM_LOAD( "x002066p.u66", 0x00000, 0x10000, CRC(01236011) SHA1(3edfee014705b3540386c5e42026ab93628b2597) ) /* Double Double Bonus Poker */
diff --git a/src/mame/drivers/pgm.c b/src/mame/drivers/pgm.c
index fa8cdda16f7..3ecd37903e3 100644
--- a/src/mame/drivers/pgm.c
+++ b/src/mame/drivers/pgm.c
@@ -4219,4 +4219,3 @@ GAME( 2004, kovlsqh, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_sta
GAME( 2004, kovlsqh2, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, kovlsqh2, ROT0, "bootleg", "Knights of Valour: Luan Shi Quan Huang 2 / Sangoku Senki: Luan Shi Quan Huang 2 (ver. 200CN)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
GAME( 2004, kovlsjb, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, kovlsqh2, ROT0, "bootleg", "Knights of Valour: Luan Shi Jie Ba / Sangoku Senki: Luan Shi Jie Ba (ver. 200CN, set 1)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
GAME( 2004, kovlsjba, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, kovlsqh2, ROT0, "bootleg", "Knights of Valour: Luan Shi Jie Ba / Sangoku Senki: Luan Shi Jie Ba (ver. 200CN, set 2)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
-
diff --git a/src/mame/drivers/pgm2.c b/src/mame/drivers/pgm2.c
index 64a8a860adc..4f224fe046e 100644
--- a/src/mame/drivers/pgm2.c
+++ b/src/mame/drivers/pgm2.c
@@ -1,55 +1,55 @@
/* PGM 2 hardware.
- Motherboard is bare bones stuff, and does not contain any ROMs.
- The IGS036 used by the games is an ARM based CPU, like IGS027A used on PGM1 it has internal ROM.
- Decryption should be correct in most cases, but the ARM mode code at the start of the external
- ROMs is a bit weird, with many BNV instructions rather than jumps. Maybe the ARM is customized,
- the code has been 'NOPPED' out this way (BNV is Branch Never) or it's a different type of ARM?
-
- - Some of the THUMB code looks like THUMB2 code
- eg
- f004 BL (HI) 00004000
- e51f B #fffffa3e
- 0434 LSL R4, R6, 16
- 0000 LSL R0, R0, 0
+ Motherboard is bare bones stuff, and does not contain any ROMs.
+ The IGS036 used by the games is an ARM based CPU, like IGS027A used on PGM1 it has internal ROM.
+ Decryption should be correct in most cases, but the ARM mode code at the start of the external
+ ROMs is a bit weird, with many BNV instructions rather than jumps. Maybe the ARM is customized,
+ the code has been 'NOPPED' out this way (BNV is Branch Never) or it's a different type of ARM?
- should be a 32-bit branch instruction with the 2nd dword used as data.
+ - Some of the THUMB code looks like THUMB2 code
+ eg
+ f004 BL (HI) 00004000
+ e51f B #fffffa3e
+ 0434 LSL R4, R6, 16
+ 0000 LSL R0, R0, 0
+ should be a 32-bit branch instruction with the 2nd dword used as data.
- We need to determine where VRAM etc. map in order to attempt tests on the PCBs.
+ We need to determine where VRAM etc. map in order to attempt tests on the PCBs.
- PGM2 Motherboard Components:
- IS61LV25616AL(SRAM)
- IGS037(GFX PROCESSOR)
- YMZ774-S(SOUND)
- R5F21256SN(extra MCU for protection and ICcard communication)
- - Appears to be refered to by the games as MPU
+ PGM2 Motherboard Components:
- Cartridges
- IGS036 (MAIN CPU) (differs per game, internal code)
- ROMs
- Custom program ROM module (KOV3 only)
- - on some games ROM socket contains Flash ROM + SRAM
+ IS61LV25616AL(SRAM)
+ IGS037(GFX PROCESSOR)
+ YMZ774-S(SOUND)
+ R5F21256SN(extra MCU for protection and ICcard communication)
+ - Appears to be refered to by the games as MPU
- QFP100 chip (Xlinx CPLD)
+ Cartridges
+ IGS036 (MAIN CPU) (differs per game, internal code)
+ ROMs
+ Custom program ROM module (KOV3 only)
+ - on some games ROM socket contains Flash ROM + SRAM
- Single PCB versions of some of the titles were also available
+ QFP100 chip (Xlinx CPLD)
- Only 5 Games were released for this platform, 3 of which are just updates / re-releases of older titles!
- The platform has since been superseded by PGM3 (HD system uses flash cards etc.)
+ Single PCB versions of some of the titles were also available
- Oriental Legend 2
- The King of Fighters '98 - Ultimate Match - Hero (NOT DUMPED)
- Knights of Valour 2 New Legend
- Dodonpachi Daioujou Tamashii
- Knights of Valour 3
+ Only 5 Games were released for this platform, 3 of which are just updates / re-releases of older titles!
+ The platform has since been superseded by PGM3 (HD system uses flash cards etc.)
- These were only released as single board PGM2 based hardware, seen for sale in Japan for around $250-$300
+ Oriental Legend 2
+ The King of Fighters '98 - Ultimate Match - Hero (NOT DUMPED)
+ Knights of Valour 2 New Legend
+ Dodonpachi Daioujou Tamashii
+ Knights of Valour 3
- Jigsaw World Arena
- Puzzle of Ocha / Ochainu No Pazuru
+ These were only released as single board PGM2 based hardware, seen for sale in Japan for around $250-$300
+
+ Jigsaw World Arena
+ Puzzle of Ocha / Ochainu No Pazuru
*/
@@ -511,4 +511,3 @@ GAME( 2011, kov3, 0, pgm2, pgm2, pgm2_state, kov3, ROT0,
// The King of Fighters '98 - Ultimate Match - Hero
// Jigsaw World Arena
//Puzzle of Ocha / Ochainu No Pazuru
-
diff --git a/src/mame/drivers/photon.c b/src/mame/drivers/photon.c
index 57cb3521e03..74ea34eac51 100644
--- a/src/mame/drivers/photon.c
+++ b/src/mame/drivers/photon.c
@@ -216,7 +216,7 @@ static MACHINE_CONFIG_START( photon, photon_state )
MCFG_SCREEN_VISIBLE_AREA(0, 256+32-1, 0, 192+32-1)
MCFG_SCREEN_UPDATE_DRIVER(photon_state, screen_update_photon)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 16)
MCFG_PALETTE_INIT_OWNER(pk8000_base_state, pk8000)
diff --git a/src/mame/drivers/pinkiri8.c b/src/mame/drivers/pinkiri8.c
index 4a1740d3120..398ff7e2f93 100644
--- a/src/mame/drivers/pinkiri8.c
+++ b/src/mame/drivers/pinkiri8.c
@@ -169,7 +169,7 @@ void pinkiri8_state::draw_background(bitmap_ind16 &bitmap, const rectangle &clip
attr = m_janshi_back_vram[count + 2] ^ 0xf0;
col = (attr >> 4) | 0x10;
- gfx->transpen(bitmap,cliprect, tile, col, 0, 0, x * 16, y * 8, 0);
+ gfx->transpen(bitmap,cliprect, tile, col, 0, 0, x * 16, y * 8, 0);
count += 4;
}
diff --git a/src/mame/drivers/pkscram.c b/src/mame/drivers/pkscram.c
index 38bb645d6b4..e8c278afe06 100644
--- a/src/mame/drivers/pkscram.c
+++ b/src/mame/drivers/pkscram.c
@@ -52,7 +52,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(irqhandler);
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
diff --git a/src/mame/drivers/pktgaldx.c b/src/mame/drivers/pktgaldx.c
index dd4a1ac35b4..e19cfdf3fe4 100644
--- a/src/mame/drivers/pktgaldx.c
+++ b/src/mame/drivers/pktgaldx.c
@@ -394,7 +394,7 @@ static MACHINE_CONFIG_START( pktgaldb, pktgaldx_state )
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(XBGR)
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", bootleg)
/* sound hardware */
diff --git a/src/mame/drivers/polepos.c b/src/mame/drivers/polepos.c
index 93a38e3e301..d2c130cc7d8 100644
--- a/src/mame/drivers/polepos.c
+++ b/src/mame/drivers/polepos.c
@@ -856,21 +856,21 @@ static MACHINE_CONFIG_START( polepos, polepos_state )
MCFG_NAMCO_51XX_INPUT_2_CB(IOPORT("DSWB"))
MCFG_NAMCO_51XX_INPUT_3_CB(IOPORT("DSWB_HI"))
MCFG_NAMCO_51XX_OUTPUT_0_CB(WRITE8(polepos_state,out_0))
- MCFG_NAMCO_51XX_OUTPUT_1_CB(WRITE8(polepos_state,out_1))
+ MCFG_NAMCO_51XX_OUTPUT_1_CB(WRITE8(polepos_state,out_1))
MCFG_NAMCO_52XX_ADD("52xx", MASTER_CLOCK/8/2) /* 1.536 MHz */
MCFG_NAMCO_52XX_DISCRETE("discrete")
MCFG_NAMCO_52XX_BASENODE(NODE_04)
MCFG_NAMCO_52XX_ROMREAD_CB(READ8(polepos_state,namco_52xx_rom_r))
MCFG_NAMCO_52XX_SI_CB(READ8(polepos_state,namco_52xx_si_r))
-
+
MCFG_NAMCO_53XX_ADD("53xx", MASTER_CLOCK/8/2) /* 1.536 MHz */
MCFG_NAMCO_53XX_K_CB(READ8(polepos_state,namco_53xx_k_r))
MCFG_NAMCO_53XX_INPUT_0_CB(READ8(polepos_state,steering_changed_r))
MCFG_NAMCO_53XX_INPUT_1_CB(READ8(polepos_state,steering_delta_r))
MCFG_NAMCO_53XX_INPUT_2_CB(IOPORT("DSWA"))
MCFG_NAMCO_53XX_INPUT_3_CB(IOPORT("DSWA_HI"))
-
+
MCFG_NAMCO_54XX_ADD("54xx", MASTER_CLOCK/8/2) /* 1.536 MHz */
MCFG_NAMCO_54XX_DISCRETE("discrete")
MCFG_NAMCO_54XX_BASENODE(NODE_01)
@@ -946,7 +946,7 @@ static MACHINE_CONFIG_START( topracern, polepos_state )
they probably simulate some of the logic */
MCFG_NAMCO_51XX_ADD("51xx", MASTER_CLOCK/8/2) /* 1.536 MHz */
MCFG_NAMCO_51XX_INPUT_1_CB(IOPORT("IN0H"))
-
+
MCFG_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/8/64)
MCFG_NAMCO_06XX_MAINCPU("maincpu")
MCFG_NAMCO_06XX_READ_0_CB(DEVREAD8("51xx", namco_51xx_device, read))
diff --git a/src/mame/drivers/pong.c b/src/mame/drivers/pong.c
index 3998b3c8cfe..6db5c38adf2 100644
--- a/src/mame/drivers/pong.c
+++ b/src/mame/drivers/pong.c
@@ -67,11 +67,11 @@ fixedfreq_interface fixedfreq_mode_pongd = {
};
fixedfreq_interface fixedfreq_mode_pong = {
- MASTER_CLOCK,
- H_TOTAL-67,H_TOTAL-40,H_TOTAL-8,H_TOTAL,
- V_TOTAL-22,V_TOTAL-19,V_TOTAL-12,V_TOTAL,
- 1, /* non-interlaced */
- 0.31
+ MASTER_CLOCK,
+ H_TOTAL-67,H_TOTAL-40,H_TOTAL-8,H_TOTAL,
+ V_TOTAL-22,V_TOTAL-19,V_TOTAL-12,V_TOTAL,
+ 1, /* non-interlaced */
+ 0.31
};
fixedfreq_interface fixedfreq_mode_pongX2 = {
@@ -102,10 +102,10 @@ enum input_changed_enum
static NETLIST_START(pong_schematics)
- SOLVER(Solver, 48000)
- PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
+ SOLVER(Solver, 48000)
+ PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
- ANALOG_INPUT(V5, 5)
+ ANALOG_INPUT(V5, 5)
TTL_INPUT(high, 1)
TTL_INPUT(low, 0)
@@ -128,540 +128,540 @@ static NETLIST_START(pong_schematics)
PARAM(xclk.FREQ, 7159000.0*2)
#endif
- /* 3V Logic - Just a resistor - the value is not given in schematics */
+ /* 3V Logic - Just a resistor - the value is not given in schematics */
+
+ RES(R3V, 50) // Works ...
+ NET_C(R3V.1, V5)
+ ALIAS(V3, R3V.2)
+
+ /* Coin, antenna and startup circuit */
+
+ ANALOG_INPUT(STOPG, 0)
+
+ ALIAS(SRSTQ, c9f.Q)
+ ALIAS(SRST, c9c.Q)
+
+ /* SRSTQ has a diode to +3V to protect against overvoltage - omitted */
+
+ TTL_INPUT(antenna, 0)
- RES(R3V, 50) // Works ...
- NET_C(R3V.1, V5)
- ALIAS(V3, R3V.2)
+ ALIAS(runQ, Q1.C)
- /* Coin, antenna and startup circuit */
+ TTL_7404_INVERT(e4d, STOPG)
- ANALOG_INPUT(STOPG, 0)
-
- ALIAS(SRSTQ, c9f.Q)
- ALIAS(SRST, c9c.Q)
+ TTL_7404_INVERT(c9f, c9c.Q)
+ TTL_7404_INVERT(c9c, c9f.Q)
- /* SRSTQ has a diode to +3V to protect against overvoltage - omitted */
+ SWITCH2(coinsw)
+ NET_C(c9c.Q, coinsw.1)
+ NET_C(c9f.Q, coinsw.2)
- TTL_INPUT(antenna, 0)
+ NET_C(coinsw.Q, GND)
- ALIAS(runQ, Q1.C)
+ /* Antenna circuit */
+ /* Has a diode to clamp negative voltages - omitted here */
- TTL_7404_INVERT(e4d, STOPG)
+ QBJT_SW(Q3, "BC237B")
+ NET_C(antenna, Q3.B)
+ NET_C(GND, Q3.E)
+ RES(RX5, 100)
+ CAP(CX1, CAP_U(0.1))
- TTL_7404_INVERT(c9f, c9c.Q)
- TTL_7404_INVERT(c9c, c9f.Q)
+ NET_C(RX5.1, CX1.1)
+ NET_C(RX5.1, Q3.C)
+ NET_C(RX5.2, GND)
+ NET_C(CX1.2, GND)
+ QBJT_SW(Q1, "BC237B")
+ NET_C(Q1.B, RX5.1)
+ NET_C(Q1.E, GND)
+
+ DIODE(D3, "1N914")
+ NET_C(D3.A, Q1.C)
+ NET_C(D3.K, SRSTQ)
+
+ DIODE(D2, "1N914")
+ RES(RX4, 220)
+ NET_C(D2.K, e4d.Q)
+ NET_C(D2.A, RX4.1)
+ NET_C(RX4.2, Q3.C)
- SWITCH2(coinsw)
- NET_C(c9c.Q, coinsw.1)
- NET_C(c9f.Q, coinsw.2)
+ RES(RX1, 100)
+ RES(RX2, 100)
+ RES(RX3, 330)
+ CAP(CX2, CAP_U(0.1))
- NET_C(coinsw.Q, GND)
+ NET_C(RX3.2, D3.A)
+ NET_C(RX3.1, RX1.2)
+ NET_C(RX1.1, V3)
- /* Antenna circuit */
- /* Has a diode to clamp negative voltages - omitted here */
+ NET_C(RX1.1, CX2.1)
+ NET_C(RX1.2, CX2.2)
- QBJT_SW(Q3, "BC237B")
- NET_C(antenna, Q3.B)
- NET_C(GND, Q3.E)
- RES(RX5, 100)
- CAP(CX1, CAP_U(0.1))
-
- NET_C(RX5.1, CX1.1)
- NET_C(RX5.1, Q3.C)
- NET_C(RX5.2, GND)
- NET_C(CX1.2, GND)
- QBJT_SW(Q1, "BC237B")
- NET_C(Q1.B, RX5.1)
- NET_C(Q1.E, GND)
-
- DIODE(D3, "1N914")
- NET_C(D3.A, Q1.C)
- NET_C(D3.K, SRSTQ)
-
- DIODE(D2, "1N914")
- RES(RX4, 220)
- NET_C(D2.K, e4d.Q)
- NET_C(D2.A, RX4.1)
- NET_C(RX4.2, Q3.C)
-
- RES(RX1, 100)
- RES(RX2, 100)
- RES(RX3, 330)
- CAP(CX2, CAP_U(0.1))
+ QBJT_SW(Q2, "BC556B")
+ NET_C(Q2.E, V3)
+ NET_C(Q2.B, RX1.2)
+ NET_C(Q2.C, RX2.2)
- NET_C(RX3.2, D3.A)
- NET_C(RX3.1, RX1.2)
- NET_C(RX1.1, V3)
-
- NET_C(RX1.1, CX2.1)
- NET_C(RX1.2, CX2.2)
-
- QBJT_SW(Q2, "BC556B")
- NET_C(Q2.E, V3)
- NET_C(Q2.B, RX1.2)
- NET_C(Q2.C, RX2.2)
-
- NET_C(RX2.1, D2.A)
-
- /* hit logic */
-
- TTL_7404_INVERT(hitQ, hit)
- TTL_7400_NAND(hit, hit1Q, hit2Q)
-
- TTL_7402_NOR(attractQ, StopG, runQ)
- TTL_7404_INVERT(attract, attractQ)
-
- TTL_7420_NAND(ic_h6a, hvidQ, hvidQ, hvidQ, hvidQ)
- ALIAS(hvid, ic_h6a.Q)
-
- TTL_7400_NAND(ic_e6c, hvid, hblank)
- ALIAS(MissQ, ic_e6c.Q)
-
- TTL_7404_INVERT(ic_d1e, MissQ)
- TTL_7400_NAND(ic_e1a, ic_d1e.Q, attractQ)
- ALIAS(Missed, ic_e1a.Q)
+ NET_C(RX2.1, D2.A)
- TTL_7400_NAND(rstspeed, SRSTQ, MissQ)
- TTL_7400_NAND(StopG, StopG1Q, StopG2Q)
- ALIAS(L, ic_h3b.Q)
- ALIAS(R, ic_h3b.QQ)
-
- TTL_7400_NAND(hit1Q, pad1, ic_g1b.Q)
- TTL_7400_NAND(hit2Q, pad2, ic_g1b.Q)
-
- TTL_7400_NAND(ic_g3c, 128H, ic_h3a.QQ)
- TTL_7427_NOR(ic_g2c, ic_g3c.Q, 256H, vpad1Q)
- ALIAS(pad1, ic_g2c.Q)
- TTL_7427_NOR(ic_g2a, ic_g3c.Q, 256HQ, vpad2Q)
- ALIAS(pad2, ic_g2a.Q)
-
- // ----------------------------------------------------------------------------------------
- // horizontal counter
- // ----------------------------------------------------------------------------------------
- TTL_7493(ic_f8, clk, ic_f8.QA, ic_e7b.QQ, ic_e7b.QQ) // f8, f9, f6b
- TTL_7493(ic_f9, ic_f8.QD, ic_f9.QA, ic_e7b.QQ, ic_e7b.QQ) // f8, f9, f6b
- TTL_74107(ic_f6b, ic_f9.QD, high, high, ic_e7b.Q)
- TTL_7430_NAND(ic_f7, ic_f8.QB, ic_f8.QC, ic_f9.QC, ic_f9.QD, ic_f6b.Q, high, high, high)
- TTL_7474(ic_e7b, clk, ic_f7, high, high)
-
- ALIAS(hreset, ic_e7b.QQ)
- ALIAS(hresetQ, ic_e7b.Q)
- ALIAS( 4H, ic_f8.QC)
- ALIAS( 8H, ic_f8.QD)
- ALIAS( 16H, ic_f9.QA)
- ALIAS( 32H, ic_f9.QB)
- ALIAS( 64H, ic_f9.QC)
- ALIAS(128H, ic_f9.QD)
- ALIAS(256H, ic_f6b.Q)
- ALIAS(256HQ, ic_f6b.QQ)
-
- // ----------------------------------------------------------------------------------------
- // vertical counter
- // ----------------------------------------------------------------------------------------
- TTL_7493(ic_e8, hreset, ic_e8.QA, ic_e7a.QQ, ic_e7a.QQ) // e8, e9, d9b
- TTL_7493(ic_e9, ic_e8.QD,ic_e9.QA, ic_e7a.QQ, ic_e7a.QQ) // e8, e9, d9b
- TTL_74107(ic_d9b, ic_e9.QD, high, high, ic_e7a.Q)
- TTL_7474(ic_e7a, hreset, e7a_data, high, high)
- TTL_7410_NAND(e7a_data, ic_e8.QA, ic_e8.QC, ic_d9b.Q)
-
- ALIAS(vreset, ic_e7a.QQ)
- ALIAS( 4V, ic_e8.QC)
- ALIAS( 8V, ic_e8.QD)
- ALIAS( 16V, ic_e9.QA)
- ALIAS( 32V, ic_e9.QB)
- ALIAS( 64V, ic_e9.QC)
- ALIAS(128V, ic_e9.QD)
- ALIAS(256V, ic_d9b.Q)
- ALIAS(256VQ, ic_d9b.QQ)
-
-
- // ----------------------------------------------------------------------------------------
- // hblank flip flop
- // ----------------------------------------------------------------------------------------
-
- TTL_7400_NAND(ic_g5b, 16H, 64H)
-
- // the time critical one
- TTL_7400_NAND(ic_h5c, ic_h5b.Q, hresetQ)
- TTL_7400_NAND(ic_h5b, ic_h5c.Q, ic_g5b.Q)
-
- ALIAS(hblank, ic_h5c.Q)
- ALIAS(hblankQ, ic_h5b.Q)
- TTL_7400_NAND(hsyncQ, hblank, 32H)
-
- // ----------------------------------------------------------------------------------------
- // vblank flip flop
- // ----------------------------------------------------------------------------------------
- TTL_7402_NOR(ic_f5c, ic_f5d.Q, vreset)
- TTL_7402_NOR(ic_f5d, ic_f5c.Q, 16V)
-
- ALIAS(vblank, ic_f5d.Q)
- ALIAS(vblankQ, ic_f5c.Q)
-
- TTL_7400_NAND(ic_h5a, 8V, 8V)
- TTL_7410_NAND(ic_g5a, vblank, 4V, ic_h5a.Q)
- ALIAS(vsyncQ, ic_g5a.Q)
-
- // ----------------------------------------------------------------------------------------
- // move logic
- // ----------------------------------------------------------------------------------------
-
- TTL_7400_NAND(ic_e1d, hit_sound, ic_e1c.Q)
- TTL_7400_NAND(ic_e1c, ic_f1.QC, ic_f1.QD)
- TTL_7493(ic_f1, ic_e1d.Q, ic_f1.QA, rstspeed, rstspeed)
-
- TTL_7402_NOR(ic_g1d, ic_f1.QC, ic_f1.QD)
- TTL_7400_NAND(ic_h1a, ic_g1d.Q, ic_g1d.Q)
- TTL_7400_NAND(ic_h1d, ic_e1c.Q, ic_h1a.Q)
-
- TTL_7400_NAND(ic_h1c, ic_h1d.Q, vreset)
- TTL_7400_NAND(ic_h1b, ic_h1a.Q, vreset)
- TTL_7402_NOR(ic_g1c, 256HQ, vreset)
-
- TTL_74107(ic_h2a, ic_g1c.Q, ic_h2b.Q, low, ic_h1b.Q)
- TTL_74107(ic_h2b, ic_g1c.Q, high, move, ic_h1c.Q)
-
- TTL_7400_NAND(ic_h4a, ic_h2b.Q, ic_h2a.Q)
- ALIAS(move, ic_h4a.Q)
-
- TTL_7400_NAND(ic_c1d, SC, attract)
- TTL_7404_INVERT(ic_d1a, ic_c1d.Q)
- TTL_7474(ic_h3b, ic_d1a.Q, ic_h3b.QQ, hit1Q, hit2Q)
-
- TTL_7400_NAND(ic_h4d, ic_h3b.Q, move)
- TTL_7400_NAND(ic_h4b, ic_h3b.QQ, move)
- TTL_7400_NAND(ic_h4c, ic_h4d.Q, ic_h4b.Q)
- ALIAS(Aa, ic_h4c.Q)
- ALIAS(Ba, ic_h4b.Q)
-
- // ----------------------------------------------------------------------------------------
- // hvid circuit
- // ----------------------------------------------------------------------------------------
-
- TTL_7400_NAND(hball_resetQ, Serve, attractQ)
-
- TTL_9316(ic_g7, clk, high, hblankQ, hball_resetQ, ic_g5c.Q, Aa, Ba, low, high)
- TTL_9316(ic_h7, clk, ic_g7.RC, high, hball_resetQ, ic_g5c.Q, low, low, low, high)
- TTL_74107(ic_g6b, ic_h7.RC, high, high, hball_resetQ)
- TTL_7410_NAND(ic_g5c, ic_g6b.Q, ic_h7.RC, ic_g7.RC)
- TTL_7420_NAND(ic_h6b, ic_g6b.Q, ic_h7.RC, ic_g7.QC, ic_g7.QD)
- ALIAS(hvidQ, ic_h6b.Q)
-
- // ----------------------------------------------------------------------------------------
- // vvid circuit
- // ----------------------------------------------------------------------------------------
-
- TTL_9316(ic_b3, hsyncQ, high, vblankQ, high, ic_b2b.Q, a6, b6, c6, d6)
- TTL_9316(ic_a3, hsyncQ, ic_b3.RC, high, high, ic_b2b.Q, low, low, low, low)
- TTL_7400_NAND(ic_b2b, ic_a3.RC, ic_b3.RC)
- TTL_7410_NAND(ic_e2b, ic_a3.RC, ic_b3.QC, ic_b3.QD)
- ALIAS(vvidQ, ic_e2b.Q)
- TTL_7404_INVERT(vvid, vvidQ) // D2D
- ALIAS(vpos256, ic_a3.RC)
- ALIAS(vpos32, ic_a3.QB)
- ALIAS(vpos16, ic_a3.QA)
-
- // ----------------------------------------------------------------------------------------
- // vball ctrl circuit
- // ----------------------------------------------------------------------------------------
-
- TTL_7450_ANDORINVERT(ic_a6a, b1, 256HQ, b2, 256H)
- TTL_7450_ANDORINVERT(ic_a6b, c1, 256HQ, c2, 256H)
- TTL_7450_ANDORINVERT(ic_b6b, d1, 256HQ, d2, 256H)
-
- TTL_7474(ic_a5b, hit, ic_a6a, attractQ, high)
- TTL_7474(ic_a5a, hit, ic_a6b, attractQ, high)
- TTL_7474(ic_b5a, hit, ic_b6b, attractQ, high)
- TTL_74107(ic_h2x, vblank, vvid, vvid, hitQ) // two marked at position h2a ==> this h2x
-
- TTL_7486_XOR(ic_a4c, ic_a5b.Q, ic_h2x.Q)
- TTL_7486_XOR(ic_a4b, ic_a5a.Q, ic_h2x.Q)
-
- TTL_7450_ANDORINVERT(ic_b6a, ic_b5a.Q, ic_h2x.Q, ic_b5a.QQ, ic_h2x.QQ)
-
- TTL_7404_INVERT(ic_c4a, ic_b6a)
-
- TTL_7483(ic_b4, ic_a4c, ic_a4b, ic_b6a, low, ic_c4a, high, high, low, low)
- ALIAS(a6, ic_b4.S1)
- ALIAS(b6, ic_b4.S2)
- ALIAS(c6, ic_b4.S3)
- ALIAS(d6, ic_b4.S4)
-
- // ----------------------------------------------------------------------------------------
- // serve monoflop
- // ----------------------------------------------------------------------------------------
-
- TTL_7404_INVERT(f4_trig, rstspeed)
-
- RES(ic_f4_serve_R, RES_K(330))
- CAP(ic_f4_serve_C, CAP_U(4.7))
- NE555(ic_f4_serve)
-
- NET_C(ic_f4_serve.VCC, V5)
- NET_C(ic_f4_serve.GND, GND)
- NET_C(ic_f4_serve.RESET, V5)
- NET_C(ic_f4_serve_R.1, V5)
- NET_C(ic_f4_serve_R.2, ic_f4_serve.THRESH)
- NET_C(ic_f4_serve_R.2, ic_f4_serve.DISCH)
- NET_C(f4_trig, ic_f4_serve.TRIG)
- NET_C(ic_f4_serve_R.2, ic_f4_serve_C.1)
- NET_C(GND, ic_f4_serve_C.2)
-
- TTL_7427_NOR(ic_e5a, ic_f4_serve.OUT, StopG, runQ)
- TTL_7474(ic_b5b_serve, pad1, ic_e5a, ic_e5a, high)
-
- ALIAS(Serve, ic_b5b_serve.QQ)
- ALIAS(ServeQ, ic_b5b_serve.Q)
-
- // ----------------------------------------------------------------------------------------
- // score logic
- // ----------------------------------------------------------------------------------------
-
- TTL_7474(ic_h3a, 4H, 128H, high, attractQ)
-
- // ----------------------------------------------------------------------------------------
- // sound logic
- // ----------------------------------------------------------------------------------------
- TTL_7474(ic_c2a, vpos256, high, hitQ, high)
- TTL_74107(ic_f3_topbot, vblank, vvid, vvidQ, ServeQ)
-
- // ----------------------------------------------------------------------------------------
- // monoflop with NE555 determines duration of score sound
- // ----------------------------------------------------------------------------------------
-
- RES(ic_g4_R, RES_K(220))
- CAP(ic_g4_C, CAP_U(1))
- NE555(ic_g4_sc)
- ALIAS(SC, ic_g4_sc.OUT)
-
- NET_C(ic_g4_sc.VCC, V5)
- NET_C(ic_g4_sc.GND, GND)
- NET_C(ic_g4_sc.RESET, V5)
- NET_C(ic_g4_R.1, V5)
- NET_C(ic_g4_R.2, ic_g4_sc.THRESH)
- NET_C(ic_g4_R.2, ic_g4_sc.DISCH)
- NET_C(MissQ, ic_g4_sc.TRIG)
- NET_C(ic_g4_R.2, ic_g4_C.1)
- NET_C(GND, ic_g4_C.2)
-
- ALIAS(hit_sound_en, ic_c2a.QQ)
- TTL_7400_NAND(hit_sound, hit_sound_en, vpos16)
- TTL_7400_NAND(score_sound, SC, vpos32)
- TTL_7400_NAND(topbothitsound, ic_f3_topbot.Q, vpos32)
-
- TTL_7410_NAND(ic_c4b, topbothitsound, hit_sound, score_sound)
- TTL_7400_NAND(ic_c1b, ic_c4b.Q, attractQ)
- ALIAS(sound, ic_c1b.Q)
-
-
- // ----------------------------------------------------------------------------------------
- // paddle1 logic 1
- // ----------------------------------------------------------------------------------------
-
- POT(ic_b9_POT, RES_K(1)) // This is a guess!!
- PARAM(ic_b9_POT.DIALLOG, 1) // Log Dial ...
- RES(ic_b9_RPRE, 470)
-
- NET_C(ic_b9_POT.1, V5)
- NET_C(ic_b9_POT.3, GND)
- NET_C(ic_b9_POT.2, ic_b9_RPRE.1)
- NET_C(ic_b9_RPRE.2, ic_b9.CONT)
-
- RES(ic_b9_R, RES_K(81)) // Adjustment pot
- CAP(ic_b9_C, CAP_U(.1))
- DIODE(ic_b9_D, "1N914")
- NE555(ic_b9)
-
- NET_C(ic_b9.VCC, V5)
- NET_C(ic_b9.GND, GND)
- NET_C(ic_b9.RESET, V5)
- NET_C(ic_b9_R.1, V5)
- NET_C(ic_b9_R.2, ic_b9.THRESH)
- NET_C(ic_b9_R.2, ic_b9_D.A)
- NET_C(ic_b9_D.K, ic_b9.DISCH)
- NET_C(256VQ, ic_b9.TRIG)
- NET_C(ic_b9_R.2, ic_b9_C.1)
- NET_C(GND, ic_b9_C.2)
-
- TTL_7404_INVERT(ic_c9b, ic_b9.OUT)
- TTL_7400_NAND(ic_b7b, ic_a7b.Q, hsyncQ)
- TTL_7493(ic_b8, ic_b7b.Q, ic_b8.QA, ic_b9.OUT, ic_b9.OUT)
- TTL_7400_NAND(ic_b7a, ic_c9b.Q, ic_a7b.Q)
- TTL_7420_NAND(ic_a7b, ic_b8.QA, ic_b8.QB, ic_b8.QC, ic_b8.QD)
- ALIAS(vpad1Q, ic_b7a.Q)
-
- ALIAS(b1, ic_b8.QB)
- ALIAS(c1, ic_b8.QC)
- ALIAS(d1, ic_b8.QD)
-
- // ----------------------------------------------------------------------------------------
- // paddle1 logic 2
- // ----------------------------------------------------------------------------------------
-
- POT(ic_a9_POT, RES_K(1)) // This is a guess!!
- PARAM(ic_a9_POT.DIALLOG, 1) // Log Dial ...
- RES(ic_a9_RPRE, 470)
-
- NET_C(ic_a9_POT.1, V5)
- NET_C(ic_a9_POT.3, GND)
- NET_C(ic_a9_POT.2, ic_a9_RPRE.1)
- NET_C(ic_a9_RPRE.2, ic_a9.CONT)
-
- RES(ic_a9_R, RES_K(81)) // Adjustment pot
- CAP(ic_a9_C, CAP_U(.1))
- DIODE(ic_a9_D, "1N914")
- NE555(ic_a9)
-
- NET_C(ic_a9.VCC, V5)
- NET_C(ic_a9.GND, GND)
- NET_C(ic_a9.RESET, V5)
- NET_C(ic_a9_R.1, V5)
- NET_C(ic_a9_R.2, ic_a9.THRESH)
- NET_C(ic_a9_R.2, ic_a9_D.A)
- NET_C(ic_a9_D.K, ic_a9.DISCH)
- NET_C(256VQ, ic_a9.TRIG)
- NET_C(ic_a9_R.2, ic_a9_C.1)
- NET_C(GND, ic_a9_C.2)
-
- TTL_7404_INVERT(ic_c9a, ic_a9.OUT)
- TTL_7400_NAND(ic_b7c, ic_a7a.Q, hsyncQ)
- TTL_7493(ic_a8, ic_b7c.Q, ic_a8.QA, ic_a9.OUT, ic_a9.OUT)
- TTL_7400_NAND(ic_b7d, ic_c9a.Q, ic_a7a.Q)
- TTL_7420_NAND(ic_a7a, ic_a8.QA, ic_a8.QB, ic_a8.QC, ic_a8.QD)
- ALIAS(vpad2Q, ic_b7d.Q)
-
- ALIAS(b2, ic_a8.QB)
- ALIAS(c2, ic_a8.QC)
- ALIAS(d2, ic_a8.QD)
-
- // ----------------------------------------------------------------------------------------
- // C5-EN Logic
- // ----------------------------------------------------------------------------------------
-
- TTL_7404_INVERT(ic_e3a, 128H)
- TTL_7427_NOR( ic_e3b, 256H, 64H, ic_e3a.Q)
- TTL_7410_NAND(ic_e2c, 256H, 64H, ic_e3a.Q)
- TTL_7404_INVERT(ic_e3c, ic_e2c.Q)
- TTL_7402_NOR(ic_d2c, ic_e3c.Q, ic_e3b.Q)
- TTL_7404_INVERT(ic_g1a, 32V)
- TTL_7425_NOR(ic_f2a, ic_g1a.Q, 64V, 128V, ic_d2c.Q)
- ALIAS(c5_en, ic_f2a.Q)
-
- // ----------------------------------------------------------------------------------------
- // Score logic ...
- // ----------------------------------------------------------------------------------------
-
- TTL_7402_NOR(ic_f5b, L, Missed)
- TTL_7490(ic_c7, ic_f5b, ic_c7.QA, SRST, SRST, low, low)
- TTL_74107(ic_c8a, ic_c7.QD, high, high, SRSTQ)
- SWITCH2(sw1a)
- PARAM(sw1a.POS, 0)
-
- NET_C(sw1a.1, high)
- //NET_C(sw1a.1, V5)
- NET_C(sw1a.2, ic_c7.QC)
-
- TTL_7410_NAND(ic_d8a, ic_c7.QA, sw1a.Q, ic_c8a.Q) // would be nand2 for 11 instead of 15 points, need a switch dev!
-
- ALIAS(StopG1Q, ic_d8a.Q)
- ALIAS(score1_1, ic_c7.QA)
- ALIAS(score1_2, ic_c7.QB)
- ALIAS(score1_4, ic_c7.QC)
- ALIAS(score1_8, ic_c7.QD)
- ALIAS(score1_10, ic_c8a.Q)
- ALIAS(score1_10Q, ic_c8a.QQ)
-
- TTL_7402_NOR(ic_f5a, R, Missed)
- TTL_7490(ic_d7, ic_f5a, ic_d7.QA, SRST, SRST, low, low)
- TTL_74107(ic_c8b, ic_d7.QD, high, high, SRSTQ)
- SWITCH2(sw1b)
- PARAM(sw1b.POS, 0)
-
- NET_C(sw1b.1, high)
- //NET_C(sw1b.1, V5)
- NET_C(sw1b.2, ic_d7.QC)
-
-
- TTL_7410_NAND(ic_d8b, ic_d7.QA, sw1b.Q, ic_c8b.Q) // would be nand2 for 11 instead of 15 points, need a switch dev!
-
- ALIAS(StopG2Q, ic_d8b.Q)
- ALIAS(score2_1, ic_d7.QA)
- ALIAS(score2_2, ic_d7.QB)
- ALIAS(score2_4, ic_d7.QC)
- ALIAS(score2_8, ic_d7.QD)
- ALIAS(score2_10, ic_c8b.Q)
- ALIAS(score2_10Q, ic_c8b.QQ)
-
- // ----------------------------------------------------------------------------------------
- // Score display
- // ----------------------------------------------------------------------------------------
-
- TTL_74153(ic_d6a, score1_10Q, score1_4, score2_10Q, score2_4, 32H, 64H, low)
- TTL_74153(ic_d6b, score1_10Q, score1_8, score2_10Q, score2_8, 32H, 64H, low)
-
- TTL_74153(ic_c6a, high, score1_1, high, score2_1, 32H, 64H, low)
- TTL_74153(ic_c6b, score1_10Q, score1_2, score2_10Q, score2_2, 32H, 64H, low)
-
- TTL_7448(ic_c5, ic_c6a.AY, ic_c6b.AY, ic_d6a.AY, ic_d6b.AY, high, c5_en, high)
-
- TTL_7404_INVERT(ic_e4b, 16H)
- TTL_7427_NOR(ic_e5c, ic_e4b.Q, 8H, 4H)
- ALIAS(scoreFE, ic_e5c.Q)
-
- TTL_7400_NAND(ic_c3d, 8H, 4H)
- //TTL_7400_NAND(ic_c3d, 4H, 8H)
- TTL_7402_NOR(ic_d2b, ic_e4b.Q, ic_c3d.Q)
- ALIAS(scoreBC, ic_d2b.Q)
-
- TTL_7427_NOR(ic_e5b, ic_e4b.Q, 8V, 4V)
- ALIAS(scoreA, ic_e5b.Q)
-
- TTL_7410_NAND(ic_e2a, 16H, 8V, 4V)
- TTL_7404_INVERT(ic_e4a, ic_e2a.Q)
- ALIAS(scoreGD, ic_e4a.Q)
-
- TTL_7404_INVERT(ic_e4c, 16V)
-
- TTL_7410_NAND(ic_d4a, ic_e4c.Q, ic_c5.f, scoreFE)
- TTL_7410_NAND(ic_d5c, 16V, ic_c5.e, scoreFE)
- TTL_7410_NAND(ic_c4c, ic_e4c.Q, ic_c5.b, scoreBC)
- TTL_7410_NAND(ic_d5a, 16V, ic_c5.c, scoreBC)
- TTL_7410_NAND(ic_d4c, ic_e4c.Q, ic_c5.a, scoreA)
- TTL_7410_NAND(ic_d4b, ic_e4c.Q, ic_c5.g, scoreGD)
- TTL_7410_NAND(ic_d5b, 16V, ic_c5.d, scoreGD)
-
- TTL_7430_NAND(ic_d3, ic_d4a, ic_d5c, ic_c4c, ic_d5a, ic_d4c, ic_d4b, ic_d5b, high)
- ALIAS(score, ic_d3.Q) //FIXME
-
- // net
- TTL_74107(ic_f3b, clk, 256H, 256HQ, high)
- TTL_7400_NAND(ic_g3b, ic_f3b.QQ, 256H)
- TTL_7427_NOR(ic_g2b, ic_g3b.Q, vblank, 4V)
- ALIAS(net, ic_g2b.Q)
-
- // ----------------------------------------------------------------------------------------
- // video
- // ----------------------------------------------------------------------------------------
-
- TTL_7402_NOR(ic_g1b, hvidQ, vvidQ)
- TTL_7425_NOR(ic_f2b, ic_g1b.Q, pad1, pad2, net)
- TTL_7404_INVERT(ic_e4e, ic_f2b.Q)
- ALIAS(video, ic_e4e.Q)
-
- TTL_7486_XOR(ic_a4d, hsyncQ, vsyncQ)
- TTL_7404_INVERT(ic_e4f, ic_a4d.Q)
-
- RES(RV1, RES_K(1))
- RES(RV2, RES_K(1.2))
- RES(RV3, RES_K(22))
- NET_C(video, RV1.1)
- NET_C(score, RV2.1)
- NET_C(ic_e4f.Q, RV3.1)
- NET_C(RV1.2, RV2.2)
- NET_C(RV2.2, RV3.2)
+ /* hit logic */
- ALIAS(videomix, RV3.2)
+ TTL_7404_INVERT(hitQ, hit)
+ TTL_7400_NAND(hit, hit1Q, hit2Q)
+
+ TTL_7402_NOR(attractQ, StopG, runQ)
+ TTL_7404_INVERT(attract, attractQ)
+
+ TTL_7420_NAND(ic_h6a, hvidQ, hvidQ, hvidQ, hvidQ)
+ ALIAS(hvid, ic_h6a.Q)
+
+ TTL_7400_NAND(ic_e6c, hvid, hblank)
+ ALIAS(MissQ, ic_e6c.Q)
+
+ TTL_7404_INVERT(ic_d1e, MissQ)
+ TTL_7400_NAND(ic_e1a, ic_d1e.Q, attractQ)
+ ALIAS(Missed, ic_e1a.Q)
+
+ TTL_7400_NAND(rstspeed, SRSTQ, MissQ)
+ TTL_7400_NAND(StopG, StopG1Q, StopG2Q)
+ ALIAS(L, ic_h3b.Q)
+ ALIAS(R, ic_h3b.QQ)
+
+ TTL_7400_NAND(hit1Q, pad1, ic_g1b.Q)
+ TTL_7400_NAND(hit2Q, pad2, ic_g1b.Q)
+
+ TTL_7400_NAND(ic_g3c, 128H, ic_h3a.QQ)
+ TTL_7427_NOR(ic_g2c, ic_g3c.Q, 256H, vpad1Q)
+ ALIAS(pad1, ic_g2c.Q)
+ TTL_7427_NOR(ic_g2a, ic_g3c.Q, 256HQ, vpad2Q)
+ ALIAS(pad2, ic_g2a.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // horizontal counter
+ // ----------------------------------------------------------------------------------------
+ TTL_7493(ic_f8, clk, ic_f8.QA, ic_e7b.QQ, ic_e7b.QQ) // f8, f9, f6b
+ TTL_7493(ic_f9, ic_f8.QD, ic_f9.QA, ic_e7b.QQ, ic_e7b.QQ) // f8, f9, f6b
+ TTL_74107(ic_f6b, ic_f9.QD, high, high, ic_e7b.Q)
+ TTL_7430_NAND(ic_f7, ic_f8.QB, ic_f8.QC, ic_f9.QC, ic_f9.QD, ic_f6b.Q, high, high, high)
+ TTL_7474(ic_e7b, clk, ic_f7, high, high)
+
+ ALIAS(hreset, ic_e7b.QQ)
+ ALIAS(hresetQ, ic_e7b.Q)
+ ALIAS( 4H, ic_f8.QC)
+ ALIAS( 8H, ic_f8.QD)
+ ALIAS( 16H, ic_f9.QA)
+ ALIAS( 32H, ic_f9.QB)
+ ALIAS( 64H, ic_f9.QC)
+ ALIAS(128H, ic_f9.QD)
+ ALIAS(256H, ic_f6b.Q)
+ ALIAS(256HQ, ic_f6b.QQ)
+
+ // ----------------------------------------------------------------------------------------
+ // vertical counter
+ // ----------------------------------------------------------------------------------------
+ TTL_7493(ic_e8, hreset, ic_e8.QA, ic_e7a.QQ, ic_e7a.QQ) // e8, e9, d9b
+ TTL_7493(ic_e9, ic_e8.QD,ic_e9.QA, ic_e7a.QQ, ic_e7a.QQ) // e8, e9, d9b
+ TTL_74107(ic_d9b, ic_e9.QD, high, high, ic_e7a.Q)
+ TTL_7474(ic_e7a, hreset, e7a_data, high, high)
+ TTL_7410_NAND(e7a_data, ic_e8.QA, ic_e8.QC, ic_d9b.Q)
+
+ ALIAS(vreset, ic_e7a.QQ)
+ ALIAS( 4V, ic_e8.QC)
+ ALIAS( 8V, ic_e8.QD)
+ ALIAS( 16V, ic_e9.QA)
+ ALIAS( 32V, ic_e9.QB)
+ ALIAS( 64V, ic_e9.QC)
+ ALIAS(128V, ic_e9.QD)
+ ALIAS(256V, ic_d9b.Q)
+ ALIAS(256VQ, ic_d9b.QQ)
+
+
+ // ----------------------------------------------------------------------------------------
+ // hblank flip flop
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7400_NAND(ic_g5b, 16H, 64H)
+
+ // the time critical one
+ TTL_7400_NAND(ic_h5c, ic_h5b.Q, hresetQ)
+ TTL_7400_NAND(ic_h5b, ic_h5c.Q, ic_g5b.Q)
+
+ ALIAS(hblank, ic_h5c.Q)
+ ALIAS(hblankQ, ic_h5b.Q)
+ TTL_7400_NAND(hsyncQ, hblank, 32H)
+
+ // ----------------------------------------------------------------------------------------
+ // vblank flip flop
+ // ----------------------------------------------------------------------------------------
+ TTL_7402_NOR(ic_f5c, ic_f5d.Q, vreset)
+ TTL_7402_NOR(ic_f5d, ic_f5c.Q, 16V)
+
+ ALIAS(vblank, ic_f5d.Q)
+ ALIAS(vblankQ, ic_f5c.Q)
+
+ TTL_7400_NAND(ic_h5a, 8V, 8V)
+ TTL_7410_NAND(ic_g5a, vblank, 4V, ic_h5a.Q)
+ ALIAS(vsyncQ, ic_g5a.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // move logic
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7400_NAND(ic_e1d, hit_sound, ic_e1c.Q)
+ TTL_7400_NAND(ic_e1c, ic_f1.QC, ic_f1.QD)
+ TTL_7493(ic_f1, ic_e1d.Q, ic_f1.QA, rstspeed, rstspeed)
+
+ TTL_7402_NOR(ic_g1d, ic_f1.QC, ic_f1.QD)
+ TTL_7400_NAND(ic_h1a, ic_g1d.Q, ic_g1d.Q)
+ TTL_7400_NAND(ic_h1d, ic_e1c.Q, ic_h1a.Q)
+
+ TTL_7400_NAND(ic_h1c, ic_h1d.Q, vreset)
+ TTL_7400_NAND(ic_h1b, ic_h1a.Q, vreset)
+ TTL_7402_NOR(ic_g1c, 256HQ, vreset)
+
+ TTL_74107(ic_h2a, ic_g1c.Q, ic_h2b.Q, low, ic_h1b.Q)
+ TTL_74107(ic_h2b, ic_g1c.Q, high, move, ic_h1c.Q)
+
+ TTL_7400_NAND(ic_h4a, ic_h2b.Q, ic_h2a.Q)
+ ALIAS(move, ic_h4a.Q)
+
+ TTL_7400_NAND(ic_c1d, SC, attract)
+ TTL_7404_INVERT(ic_d1a, ic_c1d.Q)
+ TTL_7474(ic_h3b, ic_d1a.Q, ic_h3b.QQ, hit1Q, hit2Q)
+
+ TTL_7400_NAND(ic_h4d, ic_h3b.Q, move)
+ TTL_7400_NAND(ic_h4b, ic_h3b.QQ, move)
+ TTL_7400_NAND(ic_h4c, ic_h4d.Q, ic_h4b.Q)
+ ALIAS(Aa, ic_h4c.Q)
+ ALIAS(Ba, ic_h4b.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // hvid circuit
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7400_NAND(hball_resetQ, Serve, attractQ)
+
+ TTL_9316(ic_g7, clk, high, hblankQ, hball_resetQ, ic_g5c.Q, Aa, Ba, low, high)
+ TTL_9316(ic_h7, clk, ic_g7.RC, high, hball_resetQ, ic_g5c.Q, low, low, low, high)
+ TTL_74107(ic_g6b, ic_h7.RC, high, high, hball_resetQ)
+ TTL_7410_NAND(ic_g5c, ic_g6b.Q, ic_h7.RC, ic_g7.RC)
+ TTL_7420_NAND(ic_h6b, ic_g6b.Q, ic_h7.RC, ic_g7.QC, ic_g7.QD)
+ ALIAS(hvidQ, ic_h6b.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // vvid circuit
+ // ----------------------------------------------------------------------------------------
+
+ TTL_9316(ic_b3, hsyncQ, high, vblankQ, high, ic_b2b.Q, a6, b6, c6, d6)
+ TTL_9316(ic_a3, hsyncQ, ic_b3.RC, high, high, ic_b2b.Q, low, low, low, low)
+ TTL_7400_NAND(ic_b2b, ic_a3.RC, ic_b3.RC)
+ TTL_7410_NAND(ic_e2b, ic_a3.RC, ic_b3.QC, ic_b3.QD)
+ ALIAS(vvidQ, ic_e2b.Q)
+ TTL_7404_INVERT(vvid, vvidQ) // D2D
+ ALIAS(vpos256, ic_a3.RC)
+ ALIAS(vpos32, ic_a3.QB)
+ ALIAS(vpos16, ic_a3.QA)
+
+ // ----------------------------------------------------------------------------------------
+ // vball ctrl circuit
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7450_ANDORINVERT(ic_a6a, b1, 256HQ, b2, 256H)
+ TTL_7450_ANDORINVERT(ic_a6b, c1, 256HQ, c2, 256H)
+ TTL_7450_ANDORINVERT(ic_b6b, d1, 256HQ, d2, 256H)
+
+ TTL_7474(ic_a5b, hit, ic_a6a, attractQ, high)
+ TTL_7474(ic_a5a, hit, ic_a6b, attractQ, high)
+ TTL_7474(ic_b5a, hit, ic_b6b, attractQ, high)
+ TTL_74107(ic_h2x, vblank, vvid, vvid, hitQ) // two marked at position h2a ==> this h2x
+
+ TTL_7486_XOR(ic_a4c, ic_a5b.Q, ic_h2x.Q)
+ TTL_7486_XOR(ic_a4b, ic_a5a.Q, ic_h2x.Q)
+
+ TTL_7450_ANDORINVERT(ic_b6a, ic_b5a.Q, ic_h2x.Q, ic_b5a.QQ, ic_h2x.QQ)
+
+ TTL_7404_INVERT(ic_c4a, ic_b6a)
+
+ TTL_7483(ic_b4, ic_a4c, ic_a4b, ic_b6a, low, ic_c4a, high, high, low, low)
+ ALIAS(a6, ic_b4.S1)
+ ALIAS(b6, ic_b4.S2)
+ ALIAS(c6, ic_b4.S3)
+ ALIAS(d6, ic_b4.S4)
+
+ // ----------------------------------------------------------------------------------------
+ // serve monoflop
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7404_INVERT(f4_trig, rstspeed)
+
+ RES(ic_f4_serve_R, RES_K(330))
+ CAP(ic_f4_serve_C, CAP_U(4.7))
+ NE555(ic_f4_serve)
+
+ NET_C(ic_f4_serve.VCC, V5)
+ NET_C(ic_f4_serve.GND, GND)
+ NET_C(ic_f4_serve.RESET, V5)
+ NET_C(ic_f4_serve_R.1, V5)
+ NET_C(ic_f4_serve_R.2, ic_f4_serve.THRESH)
+ NET_C(ic_f4_serve_R.2, ic_f4_serve.DISCH)
+ NET_C(f4_trig, ic_f4_serve.TRIG)
+ NET_C(ic_f4_serve_R.2, ic_f4_serve_C.1)
+ NET_C(GND, ic_f4_serve_C.2)
+
+ TTL_7427_NOR(ic_e5a, ic_f4_serve.OUT, StopG, runQ)
+ TTL_7474(ic_b5b_serve, pad1, ic_e5a, ic_e5a, high)
+
+ ALIAS(Serve, ic_b5b_serve.QQ)
+ ALIAS(ServeQ, ic_b5b_serve.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // score logic
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7474(ic_h3a, 4H, 128H, high, attractQ)
+
+ // ----------------------------------------------------------------------------------------
+ // sound logic
+ // ----------------------------------------------------------------------------------------
+ TTL_7474(ic_c2a, vpos256, high, hitQ, high)
+ TTL_74107(ic_f3_topbot, vblank, vvid, vvidQ, ServeQ)
+
+ // ----------------------------------------------------------------------------------------
+ // monoflop with NE555 determines duration of score sound
+ // ----------------------------------------------------------------------------------------
+
+ RES(ic_g4_R, RES_K(220))
+ CAP(ic_g4_C, CAP_U(1))
+ NE555(ic_g4_sc)
+ ALIAS(SC, ic_g4_sc.OUT)
+
+ NET_C(ic_g4_sc.VCC, V5)
+ NET_C(ic_g4_sc.GND, GND)
+ NET_C(ic_g4_sc.RESET, V5)
+ NET_C(ic_g4_R.1, V5)
+ NET_C(ic_g4_R.2, ic_g4_sc.THRESH)
+ NET_C(ic_g4_R.2, ic_g4_sc.DISCH)
+ NET_C(MissQ, ic_g4_sc.TRIG)
+ NET_C(ic_g4_R.2, ic_g4_C.1)
+ NET_C(GND, ic_g4_C.2)
+
+ ALIAS(hit_sound_en, ic_c2a.QQ)
+ TTL_7400_NAND(hit_sound, hit_sound_en, vpos16)
+ TTL_7400_NAND(score_sound, SC, vpos32)
+ TTL_7400_NAND(topbothitsound, ic_f3_topbot.Q, vpos32)
+
+ TTL_7410_NAND(ic_c4b, topbothitsound, hit_sound, score_sound)
+ TTL_7400_NAND(ic_c1b, ic_c4b.Q, attractQ)
+ ALIAS(sound, ic_c1b.Q)
+
+
+ // ----------------------------------------------------------------------------------------
+ // paddle1 logic 1
+ // ----------------------------------------------------------------------------------------
+
+ POT(ic_b9_POT, RES_K(1)) // This is a guess!!
+ PARAM(ic_b9_POT.DIALLOG, 1) // Log Dial ...
+ RES(ic_b9_RPRE, 470)
+
+ NET_C(ic_b9_POT.1, V5)
+ NET_C(ic_b9_POT.3, GND)
+ NET_C(ic_b9_POT.2, ic_b9_RPRE.1)
+ NET_C(ic_b9_RPRE.2, ic_b9.CONT)
+
+ RES(ic_b9_R, RES_K(81)) // Adjustment pot
+ CAP(ic_b9_C, CAP_U(.1))
+ DIODE(ic_b9_D, "1N914")
+ NE555(ic_b9)
+
+ NET_C(ic_b9.VCC, V5)
+ NET_C(ic_b9.GND, GND)
+ NET_C(ic_b9.RESET, V5)
+ NET_C(ic_b9_R.1, V5)
+ NET_C(ic_b9_R.2, ic_b9.THRESH)
+ NET_C(ic_b9_R.2, ic_b9_D.A)
+ NET_C(ic_b9_D.K, ic_b9.DISCH)
+ NET_C(256VQ, ic_b9.TRIG)
+ NET_C(ic_b9_R.2, ic_b9_C.1)
+ NET_C(GND, ic_b9_C.2)
+
+ TTL_7404_INVERT(ic_c9b, ic_b9.OUT)
+ TTL_7400_NAND(ic_b7b, ic_a7b.Q, hsyncQ)
+ TTL_7493(ic_b8, ic_b7b.Q, ic_b8.QA, ic_b9.OUT, ic_b9.OUT)
+ TTL_7400_NAND(ic_b7a, ic_c9b.Q, ic_a7b.Q)
+ TTL_7420_NAND(ic_a7b, ic_b8.QA, ic_b8.QB, ic_b8.QC, ic_b8.QD)
+ ALIAS(vpad1Q, ic_b7a.Q)
+
+ ALIAS(b1, ic_b8.QB)
+ ALIAS(c1, ic_b8.QC)
+ ALIAS(d1, ic_b8.QD)
+
+ // ----------------------------------------------------------------------------------------
+ // paddle1 logic 2
+ // ----------------------------------------------------------------------------------------
+
+ POT(ic_a9_POT, RES_K(1)) // This is a guess!!
+ PARAM(ic_a9_POT.DIALLOG, 1) // Log Dial ...
+ RES(ic_a9_RPRE, 470)
+
+ NET_C(ic_a9_POT.1, V5)
+ NET_C(ic_a9_POT.3, GND)
+ NET_C(ic_a9_POT.2, ic_a9_RPRE.1)
+ NET_C(ic_a9_RPRE.2, ic_a9.CONT)
+
+ RES(ic_a9_R, RES_K(81)) // Adjustment pot
+ CAP(ic_a9_C, CAP_U(.1))
+ DIODE(ic_a9_D, "1N914")
+ NE555(ic_a9)
+
+ NET_C(ic_a9.VCC, V5)
+ NET_C(ic_a9.GND, GND)
+ NET_C(ic_a9.RESET, V5)
+ NET_C(ic_a9_R.1, V5)
+ NET_C(ic_a9_R.2, ic_a9.THRESH)
+ NET_C(ic_a9_R.2, ic_a9_D.A)
+ NET_C(ic_a9_D.K, ic_a9.DISCH)
+ NET_C(256VQ, ic_a9.TRIG)
+ NET_C(ic_a9_R.2, ic_a9_C.1)
+ NET_C(GND, ic_a9_C.2)
+
+ TTL_7404_INVERT(ic_c9a, ic_a9.OUT)
+ TTL_7400_NAND(ic_b7c, ic_a7a.Q, hsyncQ)
+ TTL_7493(ic_a8, ic_b7c.Q, ic_a8.QA, ic_a9.OUT, ic_a9.OUT)
+ TTL_7400_NAND(ic_b7d, ic_c9a.Q, ic_a7a.Q)
+ TTL_7420_NAND(ic_a7a, ic_a8.QA, ic_a8.QB, ic_a8.QC, ic_a8.QD)
+ ALIAS(vpad2Q, ic_b7d.Q)
+
+ ALIAS(b2, ic_a8.QB)
+ ALIAS(c2, ic_a8.QC)
+ ALIAS(d2, ic_a8.QD)
+
+ // ----------------------------------------------------------------------------------------
+ // C5-EN Logic
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7404_INVERT(ic_e3a, 128H)
+ TTL_7427_NOR( ic_e3b, 256H, 64H, ic_e3a.Q)
+ TTL_7410_NAND(ic_e2c, 256H, 64H, ic_e3a.Q)
+ TTL_7404_INVERT(ic_e3c, ic_e2c.Q)
+ TTL_7402_NOR(ic_d2c, ic_e3c.Q, ic_e3b.Q)
+ TTL_7404_INVERT(ic_g1a, 32V)
+ TTL_7425_NOR(ic_f2a, ic_g1a.Q, 64V, 128V, ic_d2c.Q)
+ ALIAS(c5_en, ic_f2a.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // Score logic ...
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7402_NOR(ic_f5b, L, Missed)
+ TTL_7490(ic_c7, ic_f5b, ic_c7.QA, SRST, SRST, low, low)
+ TTL_74107(ic_c8a, ic_c7.QD, high, high, SRSTQ)
+ SWITCH2(sw1a)
+ PARAM(sw1a.POS, 0)
+
+ NET_C(sw1a.1, high)
+ //NET_C(sw1a.1, V5)
+ NET_C(sw1a.2, ic_c7.QC)
+
+ TTL_7410_NAND(ic_d8a, ic_c7.QA, sw1a.Q, ic_c8a.Q) // would be nand2 for 11 instead of 15 points, need a switch dev!
+
+ ALIAS(StopG1Q, ic_d8a.Q)
+ ALIAS(score1_1, ic_c7.QA)
+ ALIAS(score1_2, ic_c7.QB)
+ ALIAS(score1_4, ic_c7.QC)
+ ALIAS(score1_8, ic_c7.QD)
+ ALIAS(score1_10, ic_c8a.Q)
+ ALIAS(score1_10Q, ic_c8a.QQ)
+
+ TTL_7402_NOR(ic_f5a, R, Missed)
+ TTL_7490(ic_d7, ic_f5a, ic_d7.QA, SRST, SRST, low, low)
+ TTL_74107(ic_c8b, ic_d7.QD, high, high, SRSTQ)
+ SWITCH2(sw1b)
+ PARAM(sw1b.POS, 0)
+
+ NET_C(sw1b.1, high)
+ //NET_C(sw1b.1, V5)
+ NET_C(sw1b.2, ic_d7.QC)
+
+
+ TTL_7410_NAND(ic_d8b, ic_d7.QA, sw1b.Q, ic_c8b.Q) // would be nand2 for 11 instead of 15 points, need a switch dev!
+
+ ALIAS(StopG2Q, ic_d8b.Q)
+ ALIAS(score2_1, ic_d7.QA)
+ ALIAS(score2_2, ic_d7.QB)
+ ALIAS(score2_4, ic_d7.QC)
+ ALIAS(score2_8, ic_d7.QD)
+ ALIAS(score2_10, ic_c8b.Q)
+ ALIAS(score2_10Q, ic_c8b.QQ)
+
+ // ----------------------------------------------------------------------------------------
+ // Score display
+ // ----------------------------------------------------------------------------------------
+
+ TTL_74153(ic_d6a, score1_10Q, score1_4, score2_10Q, score2_4, 32H, 64H, low)
+ TTL_74153(ic_d6b, score1_10Q, score1_8, score2_10Q, score2_8, 32H, 64H, low)
+
+ TTL_74153(ic_c6a, high, score1_1, high, score2_1, 32H, 64H, low)
+ TTL_74153(ic_c6b, score1_10Q, score1_2, score2_10Q, score2_2, 32H, 64H, low)
+
+ TTL_7448(ic_c5, ic_c6a.AY, ic_c6b.AY, ic_d6a.AY, ic_d6b.AY, high, c5_en, high)
+
+ TTL_7404_INVERT(ic_e4b, 16H)
+ TTL_7427_NOR(ic_e5c, ic_e4b.Q, 8H, 4H)
+ ALIAS(scoreFE, ic_e5c.Q)
+
+ TTL_7400_NAND(ic_c3d, 8H, 4H)
+ //TTL_7400_NAND(ic_c3d, 4H, 8H)
+ TTL_7402_NOR(ic_d2b, ic_e4b.Q, ic_c3d.Q)
+ ALIAS(scoreBC, ic_d2b.Q)
+
+ TTL_7427_NOR(ic_e5b, ic_e4b.Q, 8V, 4V)
+ ALIAS(scoreA, ic_e5b.Q)
+
+ TTL_7410_NAND(ic_e2a, 16H, 8V, 4V)
+ TTL_7404_INVERT(ic_e4a, ic_e2a.Q)
+ ALIAS(scoreGD, ic_e4a.Q)
+
+ TTL_7404_INVERT(ic_e4c, 16V)
+
+ TTL_7410_NAND(ic_d4a, ic_e4c.Q, ic_c5.f, scoreFE)
+ TTL_7410_NAND(ic_d5c, 16V, ic_c5.e, scoreFE)
+ TTL_7410_NAND(ic_c4c, ic_e4c.Q, ic_c5.b, scoreBC)
+ TTL_7410_NAND(ic_d5a, 16V, ic_c5.c, scoreBC)
+ TTL_7410_NAND(ic_d4c, ic_e4c.Q, ic_c5.a, scoreA)
+ TTL_7410_NAND(ic_d4b, ic_e4c.Q, ic_c5.g, scoreGD)
+ TTL_7410_NAND(ic_d5b, 16V, ic_c5.d, scoreGD)
+
+ TTL_7430_NAND(ic_d3, ic_d4a, ic_d5c, ic_c4c, ic_d5a, ic_d4c, ic_d4b, ic_d5b, high)
+ ALIAS(score, ic_d3.Q) //FIXME
+
+ // net
+ TTL_74107(ic_f3b, clk, 256H, 256HQ, high)
+ TTL_7400_NAND(ic_g3b, ic_f3b.QQ, 256H)
+ TTL_7427_NOR(ic_g2b, ic_g3b.Q, vblank, 4V)
+ ALIAS(net, ic_g2b.Q)
+
+ // ----------------------------------------------------------------------------------------
+ // video
+ // ----------------------------------------------------------------------------------------
+
+ TTL_7402_NOR(ic_g1b, hvidQ, vvidQ)
+ TTL_7425_NOR(ic_f2b, ic_g1b.Q, pad1, pad2, net)
+ TTL_7404_INVERT(ic_e4e, ic_f2b.Q)
+ ALIAS(video, ic_e4e.Q)
+
+ TTL_7486_XOR(ic_a4d, hsyncQ, vsyncQ)
+ TTL_7404_INVERT(ic_e4f, ic_a4d.Q)
+
+ RES(RV1, RES_K(1))
+ RES(RV2, RES_K(1.2))
+ RES(RV3, RES_K(22))
+ NET_C(video, RV1.1)
+ NET_C(score, RV2.1)
+ NET_C(ic_e4f.Q, RV3.1)
+ NET_C(RV1.2, RV2.2)
+ NET_C(RV2.2, RV3.2)
+
+ ALIAS(videomix, RV3.2)
NETLIST_END()
@@ -725,7 +725,7 @@ static NETLIST_START(pong_fast)
INCLUDE(pong_schematics)
//NETDEV_ANALOG_CALLBACK(sound_cb, sound, pong_state, sound_cb, "")
- //NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+ //NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -733,10 +733,10 @@ NETLIST_END()
static NETLIST_START(pongd)
- INCLUDE(pongdoubles)
+ INCLUDE(pongdoubles)
- //NETDEV_ANALOG_CALLBACK(sound_cb, AUDIO, pong_state, sound_cb, "")
- //NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+ //NETDEV_ANALOG_CALLBACK(sound_cb, AUDIO, pong_state, sound_cb, "")
+ //NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
#endif
@@ -744,37 +744,37 @@ NETLIST_END()
#ifdef TEST_SOUND
static NETLIST_START(test)
- /*
- * Astable multivibrator using two 7400 gates (or inverters)
- *
- */
+ /*
+ * Astable multivibrator using two 7400 gates (or inverters)
+ *
+ */
- /* Standard stuff */
+ /* Standard stuff */
- SOLVER(Solver)
- PARAM(Solver.FREQ, 48000)
+ SOLVER(Solver)
+ PARAM(Solver.FREQ, 48000)
- //NETDEV_SOUND_IN(SND_IN)
- //PARAM(SND_IN.CHAN0, "tin.IN")
+ //NETDEV_SOUND_IN(SND_IN)
+ //PARAM(SND_IN.CHAN0, "tin.IN")
- ANALOG_INPUT(tin, 0)
+ ANALOG_INPUT(tin, 0)
- // astable NAND Multivibrator
- RES(R1, 1000)
- CAP(C1, 1e-6)
- TTL_7400_NAND(n1,R1.1,R1.1)
- TTL_7400_NAND(n2,R1.2,R1.2)
- NET_C(n1.Q, R1.2)
- NET_C(n2.Q, C1.1)
- NET_C(C1.2, R1.1)
- LOG(log1, n2.Q)
+ // astable NAND Multivibrator
+ RES(R1, 1000)
+ CAP(C1, 1e-6)
+ TTL_7400_NAND(n1,R1.1,R1.1)
+ TTL_7400_NAND(n2,R1.2,R1.2)
+ NET_C(n1.Q, R1.2)
+ NET_C(n2.Q, C1.1)
+ NET_C(C1.2, R1.1)
+ LOG(log1, n2.Q)
#if 0
- NETDEV_SOUND_OUT(CH0, 0)
- NET_C(CH0.IN, n2.Q)
+ NETDEV_SOUND_OUT(CH0, 0)
+ NET_C(CH0.IN, n2.Q)
- NETDEV_SOUND_OUT(CH1, 1)
- NET_C(CH1.IN, tin.Q)
+ NETDEV_SOUND_OUT(CH1, 1)
+ NET_C(CH1.IN, tin.Q)
#endif
NETLIST_END()
@@ -809,10 +809,10 @@ INPUT_CHANGED_MEMBER(pong_state::input_changed)
static INPUT_PORTS_START( pong )
PORT_START( "PADDLE0" ) /* fake input port for player 1 paddle */
- PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot0")
+ PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot0")
PORT_START( "PADDLE1" ) /* fake input port for player 2 paddle */
- PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) PORT_PLAYER(2) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot1")
+ PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) PORT_PLAYER(2) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot1")
PORT_START("IN0") /* fake as well */
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) NETLIST_LOGIC_PORT_CHANGED("maincpu", "coinsw")
@@ -821,7 +821,7 @@ static INPUT_PORTS_START( pong )
PORT_DIPSETTING( 0x00, "11" )
PORT_DIPSETTING( 0x06, "15" )
- PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Antenna") NETLIST_LOGIC_PORT_CHANGED("maincpu", "antenna")
+ PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Antenna") NETLIST_LOGIC_PORT_CHANGED("maincpu", "antenna")
PORT_START("VR1")
PORT_ADJUSTER( 50, "VR1 - 50k, Paddle 1 adjustment" ) NETLIST_ANALOG_PORT_CHANGED("maincpu", "vr0")
@@ -833,28 +833,28 @@ INPUT_PORTS_END
#if PONGD
static INPUT_PORTS_START( pongd )
#if 0
- PORT_START( "PADDLE0" ) /* fake input port for player 1 paddle */
- PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot0")
+ PORT_START( "PADDLE0" ) /* fake input port for player 1 paddle */
+ PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot0")
- PORT_START( "PADDLE1" ) /* fake input port for player 2 paddle */
- PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) PORT_PLAYER(2) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot1")
+ PORT_START( "PADDLE1" ) /* fake input port for player 2 paddle */
+ PORT_BIT( 0xff, 0x00, IPT_PADDLE ) PORT_SENSITIVITY(2) PORT_KEYDELTA(100) PORT_CENTERDELTA(0) PORT_PLAYER(2) NETLIST_ANALOG_PORT_CHANGED("maincpu", "pot1")
#endif
- PORT_START("IN0") /* fake as well */
- PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) NETLIST_LOGIC_PORT_CHANGED("maincpu", "coinsw")
- PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 ) NETLIST_LOGIC_PORT_CHANGED("maincpu", "startsw")
+ PORT_START("IN0") /* fake as well */
+ PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) NETLIST_LOGIC_PORT_CHANGED("maincpu", "coinsw")
+ PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 ) NETLIST_LOGIC_PORT_CHANGED("maincpu", "startsw")
#if 0
- PORT_DIPNAME( 0x06, 0x00, "Game Won" ) PORT_DIPLOCATION("SW1A:1,SW1B:1") PORT_CHANGED_MEMBER(DEVICE_SELF, pong_state, input_changed, IC_SWITCH)
- PORT_DIPSETTING( 0x00, "11" )
- PORT_DIPSETTING( 0x06, "15" )
+ PORT_DIPNAME( 0x06, 0x00, "Game Won" ) PORT_DIPLOCATION("SW1A:1,SW1B:1") PORT_CHANGED_MEMBER(DEVICE_SELF, pong_state, input_changed, IC_SWITCH)
+ PORT_DIPSETTING( 0x00, "11" )
+ PORT_DIPSETTING( 0x06, "15" )
- PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Antenna") NETLIST_LOGIC_PORT_CHANGED("maincpu", "antenna")
+ PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Antenna") NETLIST_LOGIC_PORT_CHANGED("maincpu", "antenna")
- PORT_START("VR1")
- PORT_ADJUSTER( 50, "VR1 - 50k, Paddle 1 adjustment" ) NETLIST_ANALOG_PORT_CHANGED("maincpu", "vr0")
- PORT_START("VR2")
- PORT_ADJUSTER( 50, "VR2 - 50k, Paddle 2 adjustment" ) NETLIST_ANALOG_PORT_CHANGED("maincpu", "vr1")
+ PORT_START("VR1")
+ PORT_ADJUSTER( 50, "VR1 - 50k, Paddle 1 adjustment" ) NETLIST_ANALOG_PORT_CHANGED("maincpu", "vr0")
+ PORT_START("VR2")
+ PORT_ADJUSTER( 50, "VR2 - 50k, Paddle 2 adjustment" ) NETLIST_ANALOG_PORT_CHANGED("maincpu", "vr1")
#endif
INPUT_PORTS_END
@@ -863,22 +863,22 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( pong, pong_state )
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
- MCFG_NETLIST_SETUP(pong)
-
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr0", "ic_b9_R.R")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr1", "ic_a9_R.R")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot0", "ic_b9_POT.DIAL")
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot1", "ic_a9_POT.DIAL")
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1a", "sw1a.POS", 0, 0x01)
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1b", "sw1b.POS", 0, 0x01)
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "coinsw", "coinsw.POS", 0, 0x01)
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "antenna", "antenna.IN", 0, 0x01)
-
- MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "snd0", "sound", pong_state, sound_cb, "")
- MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "vid0", "videomix", fixedfreq_device, update_vid, "fixfreq")
+ MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
+ MCFG_NETLIST_SETUP(pong)
+
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr0", "ic_b9_R.R")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr1", "ic_a9_R.R")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot0", "ic_b9_POT.DIAL")
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot1", "ic_a9_POT.DIAL")
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1a", "sw1a.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1b", "sw1b.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "coinsw", "coinsw.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "antenna", "antenna.IN", 0, 0x01)
+
+ MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "snd0", "sound", pong_state, sound_cb, "")
+ MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "vid0", "videomix", fixedfreq_device, update_vid, "fixfreq")
/* video hardware */
@@ -890,24 +890,24 @@ static MACHINE_CONFIG_START( pong, pong_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("dac", DAC, 48000)
#ifdef TEST_SOUND
- MCFG_SOUND_ROUTE_EX(0, "snd_test", 1.0, 0)
+ MCFG_SOUND_ROUTE_EX(0, "snd_test", 1.0, 0)
#else
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
#endif
#ifdef TEST_SOUND
- MCFG_SOUND_ADD("snd_test", NETLIST_SOUND, 48000)
- MCFG_NETLIST_SETUP(test)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("snd_test", NETLIST_SOUND, 48000)
+ MCFG_NETLIST_SETUP(test)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MCFG_NETLIST_STREAM_INPUT("snd_test", 0, "tin.IN")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(0.001, 0.0)
+ MCFG_NETLIST_STREAM_INPUT("snd_test", 0, "tin.IN")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(0.001, 0.0)
- //MCFG_NETLIST_STREAM_OUTPUT("snd_test", 0, "tin.Q", 100)
- MCFG_NETLIST_STREAM_OUTPUT("snd_test", 0, "n2.Q")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(1000.0, 0.0)
- MCFG_NETLIST_STREAM_OUTPUT("snd_test", 1, "tin.Q")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(1000.0, 0.0)
+ //MCFG_NETLIST_STREAM_OUTPUT("snd_test", 0, "tin.Q", 100)
+ MCFG_NETLIST_STREAM_OUTPUT("snd_test", 0, "n2.Q")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(1000.0, 0.0)
+ MCFG_NETLIST_STREAM_OUTPUT("snd_test", 1, "tin.Q")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(1000.0, 0.0)
#endif
@@ -916,7 +916,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( pongf, pong )
/* basic machine hardware */
- MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_MODIFY("maincpu")
MCFG_NETLIST_SETUP(pong_fast)
MACHINE_CONFIG_END
@@ -924,39 +924,39 @@ MACHINE_CONFIG_END
#if PONGD
static MACHINE_CONFIG_START( pongd, pong_state )
- /* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
- MCFG_NETLIST_SETUP(pongd)
+ /* basic machine hardware */
+ MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK)
+ MCFG_NETLIST_SETUP(pongd)
#if 0
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr0", "ic_b9_R.R")
- MCFG_NETLIST_ANALOG_INPUT_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr1", "ic_a9_R.R")
- MCFG_NETLIST_ANALOG_INPUT_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot0", "ic_b9_POT.DIAL")
- MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot1", "ic_a9_POT.DIAL")
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr0", "ic_b9_R.R")
+ MCFG_NETLIST_ANALOG_INPUT_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "vr1", "ic_a9_R.R")
+ MCFG_NETLIST_ANALOG_INPUT_MULT_OFFSET(1.0 / 100.0 * RES_K(50), RES_K(56) )
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot0", "ic_b9_POT.DIAL")
+ MCFG_NETLIST_ANALOG_INPUT("maincpu", "pot1", "ic_a9_POT.DIAL")
#endif
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1a", "DIPSW1.POS", 0, 0x01)
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1b", "DIPSW2.POS", 0, 0x01)
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "coinsw", "COIN_SW.POS", 0, 0x01)
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "startsw", "START_SW.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1a", "DIPSW1.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "sw1b", "DIPSW2.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "coinsw", "COIN_SW.POS", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "startsw", "START_SW.POS", 0, 0x01)
#if 0
- MCFG_NETLIST_LOGIC_INPUT("maincpu", "antenna", "antenna.IN", 0, 0x01)
+ MCFG_NETLIST_LOGIC_INPUT("maincpu", "antenna", "antenna.IN", 0, 0x01)
#endif
- MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "snd0", "AUDIO", pong_state, sound_cb, "")
- MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "vid0", "videomix", fixedfreq_device, update_vid, "fixfreq")
+ MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "snd0", "AUDIO", pong_state, sound_cb, "")
+ MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "vid0", "videomix", fixedfreq_device, update_vid, "fixfreq")
- /* video hardware */
+ /* video hardware */
- //MCFG_FIXFREQ_ADD("fixfreq", "screen", fixedfreq_mode_ntsc720)
- //MCFG_FIXFREQ_ADD("fixfreq", "screen", fixedfreq_mode_pongX2)
- MCFG_FIXFREQ_ADD("fixfreq", "screen", fixedfreq_mode_pongd)
+ //MCFG_FIXFREQ_ADD("fixfreq", "screen", fixedfreq_mode_ntsc720)
+ //MCFG_FIXFREQ_ADD("fixfreq", "screen", fixedfreq_mode_pongX2)
+ MCFG_FIXFREQ_ADD("fixfreq", "screen", fixedfreq_mode_pongd)
- /* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("dac", DAC, 48000)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ /* sound hardware */
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("dac", DAC, 48000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -970,7 +970,7 @@ MACHINE_CONFIG_END
ROM_START( pong ) /* dummy to satisfy game entry*/
ROM_REGION( 0x10000, "maincpu", 0 ) /* enough for netlist */
- ROM_LOAD( "pong.netlist", 0x000000, 0x00457f, CRC(72d5e4fe) SHA1(7bb15828223c34915c5e2869dd7917532a4bb7b4) )
+ ROM_LOAD( "pong.netlist", 0x000000, 0x00457f, CRC(72d5e4fe) SHA1(7bb15828223c34915c5e2869dd7917532a4bb7b4) )
ROM_END
ROM_START( pongf ) /* dummy to satisfy game entry*/
@@ -979,7 +979,7 @@ ROM_END
#if PONGD
ROM_START( pongd ) /* dummy to satisfy game entry*/
- ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_END
#endif
diff --git a/src/mame/drivers/popeye.c b/src/mame/drivers/popeye.c
index ebde326db1c..05b9f455295 100644
--- a/src/mame/drivers/popeye.c
+++ b/src/mame/drivers/popeye.c
@@ -29,80 +29,80 @@ Notes:
*/
static NETLIST_START(nl_popeye_imp_changer)
- RES(R62, 510000)
- RES(R63, 100)
- RES(R64, 510000)
- RES(R65, 2100)
- RES(R66, 330)
- RES(R67, 51)
-
- QBJT_EB(Q8, "2SC1815")
- QBJT_EB(Q9, "2SA1015")
-
- NET_C(V5, R62.1, Q8.C, R66.1)
- NET_C(R62.2, R64.1, R63.1, C7.2)
- NET_C(R63.2, Q8.B)
- NET_C(Q8.E, R65.1, Q9.B)
- NET_C(R66.2, Q9.E, R67.1)
-
- NET_C(GND, Q9.C, R65.2, R64.2)
+ RES(R62, 510000)
+ RES(R63, 100)
+ RES(R64, 510000)
+ RES(R65, 2100)
+ RES(R66, 330)
+ RES(R67, 51)
+
+ QBJT_EB(Q8, "2SC1815")
+ QBJT_EB(Q9, "2SA1015")
+
+ NET_C(V5, R62.1, Q8.C, R66.1)
+ NET_C(R62.2, R64.1, R63.1, C7.2)
+ NET_C(R63.2, Q8.B)
+ NET_C(Q8.E, R65.1, Q9.B)
+ NET_C(R66.2, Q9.E, R67.1)
+
+ NET_C(GND, Q9.C, R65.2, R64.2)
NETLIST_END()
static NETLIST_START(nl_popeye)
- /* Standard stuff */
+ /* Standard stuff */
- SOLVER(Solver, 48000)
- PARAM(Solver.ACCURACY, 1e-5)
- ANALOG_INPUT(V5, 5)
+ SOLVER(Solver, 48000)
+ PARAM(Solver.ACCURACY, 1e-5)
+ ANALOG_INPUT(V5, 5)
- /* AY 8910 internal resistors */
+ /* AY 8910 internal resistors */
- RES(R_AY1_1, 1000);
- RES(R_AY1_2, 1000);
- RES(R_AY1_3, 1000);
+ RES(R_AY1_1, 1000);
+ RES(R_AY1_2, 1000);
+ RES(R_AY1_3, 1000);
- RES(R52, 2000)
- RES(R55, 2000)
- RES(R58, 2000)
- RES(R53, 2000)
- RES(R56, 2000)
- RES(R59, 2000)
- RES(R51, 20000)
- RES(R57, 30000)
- RES(R60, 30000)
+ RES(R52, 2000)
+ RES(R55, 2000)
+ RES(R58, 2000)
+ RES(R53, 2000)
+ RES(R56, 2000)
+ RES(R59, 2000)
+ RES(R51, 20000)
+ RES(R57, 30000)
+ RES(R60, 30000)
- RES(R61, 120000)
+ RES(R61, 120000)
- RES(ROUT, 5000)
+ RES(ROUT, 5000)
- CAP(C4, 0.047e-6)
- CAP(C5, 330e-12)
- CAP(C6, 330e-12)
- CAP(C7, 3.3e-6)
- CAP(C40, 680e-12)
+ CAP(C4, 0.047e-6)
+ CAP(C5, 330e-12)
+ CAP(C6, 330e-12)
+ CAP(C7, 3.3e-6)
+ CAP(C40, 680e-12)
- NET_C(V5, R_AY1_1.1, R_AY1_2.1, R_AY1_3.1)
+ NET_C(V5, R_AY1_1.1, R_AY1_2.1, R_AY1_3.1)
- NET_C(R_AY1_1.2, R52.1, R53.1)
- NET_C(R_AY1_2.2, R55.1, R56.1)
- NET_C(R_AY1_3.2, R58.1, R59.1)
+ NET_C(R_AY1_1.2, R52.1, R53.1)
+ NET_C(R_AY1_2.2, R55.1, R56.1)
+ NET_C(R_AY1_3.2, R58.1, R59.1)
- NET_C(R53.2, R51.1, C4.1)
- NET_C(R56.2, R57.1, C5.1)
- NET_C(R59.2, R60.1, C6.1)
+ NET_C(R53.2, R51.1, C4.1)
+ NET_C(R56.2, R57.1, C5.1)
+ NET_C(R59.2, R60.1, C6.1)
- NET_C(R51.2, R57.2, R60.2, R61.1, C40.1, C7.1)
+ NET_C(R51.2, R57.2, R60.2, R61.1, C40.1, C7.1)
- NET_C(GND, R52.2, R55.2, R58.2, C4.2, C5.2, C6.2, R61.2, C40.2)
+ NET_C(GND, R52.2, R55.2, R58.2, C4.2, C5.2, C6.2, R61.2, C40.2)
- INCLUDE(nl_popeye_imp_changer)
+ INCLUDE(nl_popeye_imp_changer)
- /* output resistor (actually located in TV */
+ /* output resistor (actually located in TV */
- NET_C(R67.2, ROUT.1)
+ NET_C(R67.2, ROUT.1)
- NET_C(GND, ROUT.2)
+ NET_C(GND, ROUT.2)
NETLIST_END()
@@ -112,7 +112,7 @@ INTERRUPT_GEN_MEMBER(popeye_state::popeye_interrupt)
{
m_field ^= 1;
/* NMIs are enabled by the I register?? How can that be? */
- if (device.state().state_int(Z80_I) & 1) /* skyskipr: 0/1, popeye: 2/3 but also 0/1 */
+ if (device.state().state_int(Z80_I) & 1) /* skyskipr: 0/1, popeye: 2/3 but also 0/1 */
device.execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
@@ -458,12 +458,12 @@ static const ay8910_interface ay8910_config =
/* Does Sky Skipper have the same filtering? */
static const ay8910_interface ay8910_nl_config =
{
- AY8910_RESISTOR_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_INPUT_PORT("DSW0"),
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_DRIVER_MEMBER(popeye_state,popeye_portB_w)
+ AY8910_RESISTOR_OUTPUT,
+ AY8910_DEFAULT_LOADS,
+ DEVCB_INPUT_PORT("DSW0"),
+ DEVCB_NULL,
+ DEVCB_NULL,
+ DEVCB_DRIVER_MEMBER(popeye_state,popeye_portB_w)
};
static MACHINE_CONFIG_START( skyskipr, popeye_state )
@@ -501,23 +501,23 @@ static MACHINE_CONFIG_DERIVED( popeye, skyskipr )
MCFG_SOUND_MODIFY("aysnd")
MCFG_SOUND_ROUTES_RESET()
- MCFG_SOUND_CONFIG(ay8910_nl_config)
- MCFG_SOUND_ROUTE_EX(0, "snd_nl", 1.0, 0)
- MCFG_SOUND_ROUTE_EX(1, "snd_nl", 1.0, 1)
- MCFG_SOUND_ROUTE_EX(2, "snd_nl", 1.0, 2)
+ MCFG_SOUND_CONFIG(ay8910_nl_config)
+ MCFG_SOUND_ROUTE_EX(0, "snd_nl", 1.0, 0)
+ MCFG_SOUND_ROUTE_EX(1, "snd_nl", 1.0, 1)
+ MCFG_SOUND_ROUTE_EX(2, "snd_nl", 1.0, 2)
- /* NETLIST configuration using internal AY8910 resistor values */
+ /* NETLIST configuration using internal AY8910 resistor values */
- MCFG_SOUND_ADD("snd_nl", NETLIST_SOUND, 48000)
- MCFG_NETLIST_SETUP(nl_popeye)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_ADD("snd_nl", NETLIST_SOUND, 48000)
+ MCFG_NETLIST_SETUP(nl_popeye)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 0, "R_AY1_1.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 1, "R_AY1_2.R")
- MCFG_NETLIST_STREAM_INPUT("snd_nl", 2, "R_AY1_3.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 0, "R_AY1_1.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 1, "R_AY1_2.R")
+ MCFG_NETLIST_STREAM_INPUT("snd_nl", 2, "R_AY1_3.R")
- MCFG_NETLIST_STREAM_OUTPUT("snd_nl", 0, "ROUT.1")
- MCFG_NETLIST_ANALOG_MULT_OFFSET(30000.0, -65000.0)
+ MCFG_NETLIST_STREAM_OUTPUT("snd_nl", 0, "ROUT.1")
+ MCFG_NETLIST_ANALOG_MULT_OFFSET(30000.0, -65000.0)
MCFG_VIDEO_START_OVERRIDE(popeye_state,popeye)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/popobear.c b/src/mame/drivers/popobear.c
index 21d6745f238..380351115ee 100644
--- a/src/mame/drivers/popobear.c
+++ b/src/mame/drivers/popobear.c
@@ -110,7 +110,7 @@ public:
required_shared_ptr<UINT16> m_vregs;
optional_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
UINT16* m_vram;
UINT16* m_vram_rearranged;
@@ -661,7 +661,7 @@ static MACHINE_CONFIG_START( popobear, popobear_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_SOUND_ADD("ymsnd", YM2413, XTAL_42MHz/16) // XTAL CORRECT, DIVISOR GUESSED
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
diff --git a/src/mame/drivers/puckpkmn.c b/src/mame/drivers/puckpkmn.c
index 75731c0c8d8..04286b0bee2 100644
--- a/src/mame/drivers/puckpkmn.c
+++ b/src/mame/drivers/puckpkmn.c
@@ -221,7 +221,7 @@ static ADDRESS_MAP_START( puckpkmn_map, AS_PROGRAM, 16, md_boot_state )
AM_RANGE(0x700022, 0x700023) AM_DEVREADWRITE8("oki", okim6295_device, read, write, 0x00ff)
AM_RANGE(0xa04000, 0xa04003) AM_READWRITE8(megadriv_68k_YM2612_read, megadriv_68k_YM2612_write, 0xffff)
AM_RANGE(0xc00000, 0xc0001f) AM_DEVREADWRITE("gen_vdp", sega315_5313_device, vdp_r, vdp_w)
-
+
AM_RANGE(0xe00000, 0xe0ffff) AM_RAM AM_MIRROR(0x1f0000)
/* Unknown reads/writes: */
@@ -453,7 +453,7 @@ ROM_START( puckpkmna ) /* Puckman Pockimon (c)2000 IBS Co. Ltd */
ROM_END
-ROM_START( puckpkmnb )
+ROM_START( puckpkmnb )
ROM_REGION( 0x400000, "maincpu", 0 )
ROM_LOAD16_BYTE( "200061.u5", 0x000000, 0x080000, CRC(502a5093) SHA1(6dc1c79d52ebb653cb2e4388f74fd975ec323566) )
ROM_LOAD16_BYTE( "200060.u4", 0x000001, 0x080000, CRC(5f160c18) SHA1(5a5ce1b9a81afe836e435e9d6f16cf57b63cbd31) )
diff --git a/src/mame/drivers/pzletime.c b/src/mame/drivers/pzletime.c
index dce063bdcef..118defd3dbe 100644
--- a/src/mame/drivers/pzletime.c
+++ b/src/mame/drivers/pzletime.c
@@ -342,12 +342,12 @@ static MACHINE_CONFIG_START( pzletime, pzletime_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 48*8-1, 0*8, 28*8-1)
MCFG_SCREEN_UPDATE_DRIVER(pzletime_state, screen_update_pzletime)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", pzletime)
MCFG_PALETTE_ADD("palette", 0x300 + 32768)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
MCFG_PALETTE_INIT_OWNER(pzletime_state, pzletime)
-
+
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
diff --git a/src/mame/drivers/qdrmfgp.c b/src/mame/drivers/qdrmfgp.c
index 40f53959ff0..602afcfcae1 100644
--- a/src/mame/drivers/qdrmfgp.c
+++ b/src/mame/drivers/qdrmfgp.c
@@ -625,7 +625,7 @@ static MACHINE_CONFIG_START( qdrmfgp, qdrmfgp_state )
MCFG_K056832_ADD("k056832", qdrmfgp_k056832_intf)
MCFG_K056832_GFXDECODE("gfxdecode")
MCFG_K056832_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("k053252", K053252, XTAL_32MHz/4)
MCFG_K053252_OFFSETS(40, 16)
@@ -669,7 +669,7 @@ static MACHINE_CONFIG_START( qdrmfgp2, qdrmfgp_state )
MCFG_K056832_ADD("k056832", qdrmfgp2_k056832_intf)
MCFG_K056832_GFXDECODE("gfxdecode")
MCFG_K056832_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("k053252", K053252, XTAL_32MHz/4)
MCFG_K053252_OFFSETS(40, 16)
diff --git a/src/mame/drivers/quantum.c b/src/mame/drivers/quantum.c
index e0fd32cc834..1c58a98793b 100644
--- a/src/mame/drivers/quantum.c
+++ b/src/mame/drivers/quantum.c
@@ -308,7 +308,7 @@ static MACHINE_CONFIG_START( quantum, quantum_state )
MCFG_SCREEN_VISIBLE_AREA(0, 900, 0, 600)
MCFG_SCREEN_UPDATE_DEVICE("vector", vector_device, screen_update)
- MCFG_DEVICE_ADD("avg", AVG_QUANTUM, 0)
+ MCFG_DEVICE_ADD("avg", AVG_QUANTUM, 0)
MCFG_AVGDVG_VECTOR("vector")
/* sound hardware */
diff --git a/src/mame/drivers/r2dx_v33.c b/src/mame/drivers/r2dx_v33.c
index 8bdecde4b01..d2b901db128 100644
--- a/src/mame/drivers/r2dx_v33.c
+++ b/src/mame/drivers/r2dx_v33.c
@@ -743,7 +743,7 @@ static MACHINE_CONFIG_START( nzerotea, r2dx_v33_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0, 32*8-1)
MCFG_SCREEN_UPDATE_DRIVER(r2dx_v33_state, screen_update_rdx_v33)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", rdx_v33)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
diff --git a/src/mame/drivers/raiden2.c b/src/mame/drivers/raiden2.c
index c26e1ecfab1..89a84604c6e 100644
--- a/src/mame/drivers/raiden2.c
+++ b/src/mame/drivers/raiden2.c
@@ -797,7 +797,7 @@ void raiden2_state::draw_sprites(running_machine &machine, bitmap_ind16 &bitmap,
#define ZEROTEAM_MASK_Y (0x1ff)
-
+
gfx->transpen(
bitmap,
cliprect,
@@ -806,7 +806,7 @@ void raiden2_state::draw_sprites(running_machine &machine, bitmap_ind16 &bitmap,
yflip,xflip,
(sx+xstep*xtiles)&ZEROTEAM_MASK_X,(sy+ystep*ytiles)&ZEROTEAM_MASK_Y,15);
-
+
gfx->transpen(
bitmap,
cliprect,
@@ -815,7 +815,7 @@ void raiden2_state::draw_sprites(running_machine &machine, bitmap_ind16 &bitmap,
yflip,xflip,
((sx+xstep*xtiles)&ZEROTEAM_MASK_X)-0x200,(sy+ystep*ytiles)&ZEROTEAM_MASK_Y,15);
-
+
gfx->transpen(
bitmap,
cliprect,
@@ -824,7 +824,7 @@ void raiden2_state::draw_sprites(running_machine &machine, bitmap_ind16 &bitmap,
yflip,xflip,
(sx+xstep*xtiles)&ZEROTEAM_MASK_X,((sy+ystep*ytiles)&ZEROTEAM_MASK_Y)-0x200,15);
-
+
gfx->transpen(
bitmap,
cliprect,
@@ -1858,7 +1858,7 @@ static GFXDECODE_START( raiden2 )
GFXDECODE_ENTRY( "gfx3", 0x00000, raiden2_spritelayout, 0x000, 128 )
GFXDECODE_END
-
+
/* MACHINE DRIVERS */
static MACHINE_CONFIG_START( raiden2, raiden2_state )
@@ -1881,7 +1881,7 @@ static MACHINE_CONFIG_START( raiden2, raiden2_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", raiden2)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
@@ -1939,7 +1939,7 @@ static MACHINE_CONFIG_START( zeroteam, raiden2_state )
MCFG_SCREEN_RAW_PARAMS(XTAL_32MHz/4,546,0,40*8,264,0,32*8) /* hand-tuned to match ~55.47 */
MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", raiden2)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
diff --git a/src/mame/drivers/ramtek.c b/src/mame/drivers/ramtek.c
index fd9e8ed117a..3961aad3c78 100644
--- a/src/mame/drivers/ramtek.c
+++ b/src/mame/drivers/ramtek.c
@@ -1,7 +1,7 @@
/***************************************************************************
-
+
Ramtek Discrete Games List
-
+
Game Name DATA Board #
--------------------------------------------
(Deluxe) Baseball (1974) YES
@@ -14,7 +14,7 @@
Trivia (1976) YES
Volly/Volley (1973) YES
Wipe Out (1974) YES
-
+
***************************************************************************/
@@ -54,38 +54,38 @@ class ramtek_state : public driver_device
public:
ramtek_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(ramtek)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
-// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
-// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+// NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+// NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -115,9 +115,9 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
@@ -138,20 +138,20 @@ ROM_START( bballrmt )
ROM_END
-// The board number for Clean Sweep is 501082, and the letter to the right would be the revision letter (A, B, C, D).
-// Ramtek had revisions A, B, C, D, noted with a sticker that shows the letter for each specific revision.
+// The board number for Clean Sweep is 501082, and the letter to the right would be the revision letter (A, B, C, D).
+// Ramtek had revisions A, B, C, D, noted with a sticker that shows the letter for each specific revision.
// Revisions A,B,C have been dumped and rom content is the same (only diff is the location of some chips on the rev B pcb)
ROM_START( cleanswp )
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_REGION( 0x0020, "roms", ROMREGION_ERASE00 )
- ROM_LOAD( "501075.c6", 0x0000, 0x0020, CRC(be02b5f5) SHA1(f1c616a73c6c2915ea3d0252543b0806704ab2e9) ) // shape of paddle
- ROM_LOAD( "501076.d7", 0x0000, 0x0020, CRC(be40b153) SHA1(07fb64ea8caee601e3e3bd6c69beea619dd0489d) ) // ball control memory
- ROM_LOAD( "501074.k3", 0x0000, 0x0020, CRC(515a34ba) SHA1(471ca9d99851591ff11a87d18b88871edd7fd268) ) // number character generation
+ ROM_LOAD( "501075.c6", 0x0000, 0x0020, CRC(be02b5f5) SHA1(f1c616a73c6c2915ea3d0252543b0806704ab2e9) ) // shape of paddle
+ ROM_LOAD( "501076.d7", 0x0000, 0x0020, CRC(be40b153) SHA1(07fb64ea8caee601e3e3bd6c69beea619dd0489d) ) // ball control memory
+ ROM_LOAD( "501074.k3", 0x0000, 0x0020, CRC(515a34ba) SHA1(471ca9d99851591ff11a87d18b88871edd7fd268) ) // number character generation
ROM_END
-ROM_START( ramtek3 ) // maybe Hockey?
+ROM_START( ramtek3 ) // maybe Hockey?
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_REGION( 0x0020, "roms", ROMREGION_ERASE00 )
diff --git a/src/mame/drivers/rcorsair.c b/src/mame/drivers/rcorsair.c
index 3cfb6221e4c..a0255601eef 100644
--- a/src/mame/drivers/rcorsair.c
+++ b/src/mame/drivers/rcorsair.c
@@ -139,7 +139,7 @@ static MACHINE_CONFIG_START( rcorsair, rcorsair_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
- MCFG_SCREEN_UPDATE_DRIVER(rcorsair_state, screen_update)
+ MCFG_SCREEN_UPDATE_DRIVER(rcorsair_state, screen_update)
MCFG_SCREEN_SIZE(256, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 0, 256-1)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/realbrk.c b/src/mame/drivers/realbrk.c
index fc27d29e61e..32344dea511 100644
--- a/src/mame/drivers/realbrk.c
+++ b/src/mame/drivers/realbrk.c
@@ -788,7 +788,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( pkgnsh, realbrk )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(pkgnsh_mem)
-
+
MCFG_DEVICE_MODIFY("tmp68301")
MCFG_TMP68301_OUT_PARALLEL_CB(NULL)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/rltennis.c b/src/mame/drivers/rltennis.c
index ba67d2b9556..dc267e2bfe2 100644
--- a/src/mame/drivers/rltennis.c
+++ b/src/mame/drivers/rltennis.c
@@ -185,7 +185,7 @@ static MACHINE_CONFIG_START( rltennis, rltennis_state )
MCFG_SCREEN_VISIBLE_AREA(0,319, 0, 239)
MCFG_SCREEN_UPDATE_DRIVER(rltennis_state, screen_update_rltennis)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 256)
MCFG_NVRAM_ADD_0FILL("nvram")
diff --git a/src/mame/drivers/rockrage.c b/src/mame/drivers/rockrage.c
index 65da640ac6f..0738838b5a9 100644
--- a/src/mame/drivers/rockrage.c
+++ b/src/mame/drivers/rockrage.c
@@ -261,10 +261,10 @@ static MACHINE_CONFIG_START( rockrage, rockrage_state )
MCFG_K007342_GFXNUM(0)
MCFG_K007342_CALLBACK_OWNER(rockrage_state, rockrage_tile_callback)
MCFG_K007342_GFXDECODE("gfxdecode")
-
+
MCFG_K007420_ADD("k007420")
MCFG_K007420_BANK_LIMIT(0x3ff)
- MCFG_K007420_CALLBACK_OWNER(rockrage_state, rockrage_sprite_callback)
+ MCFG_K007420_CALLBACK_OWNER(rockrage_state, rockrage_sprite_callback)
MCFG_K007420_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", rockrage)
diff --git a/src/mame/drivers/rohga.c b/src/mame/drivers/rohga.c
index 1d791c4c2da..4584ddf7376 100644
--- a/src/mame/drivers/rohga.c
+++ b/src/mame/drivers/rohga.c
@@ -840,7 +840,7 @@ static MACHINE_CONFIG_START( rohga, rohga_state )
MCFG_DECO16IC_ADD("tilegen1", rohga_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", rohga_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -889,7 +889,7 @@ static MACHINE_CONFIG_START( wizdfire, rohga_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529))
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 1*8, 31*8-1)
- MCFG_SCREEN_UPDATE_DRIVER(rohga_state, screen_update_wizdfire)
+ MCFG_SCREEN_UPDATE_DRIVER(rohga_state, screen_update_wizdfire)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", wizdfire)
MCFG_PALETTE_ADD("palette", 2048)
@@ -900,7 +900,7 @@ static MACHINE_CONFIG_START( wizdfire, rohga_state )
MCFG_DECO16IC_ADD("tilegen1", rohga_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", rohga_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -968,7 +968,7 @@ static MACHINE_CONFIG_START( nitrobal, rohga_state )
MCFG_DECO16IC_ADD("tilegen1", nitrobal_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", nitrobal_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
@@ -1040,7 +1040,7 @@ static MACHINE_CONFIG_START( schmeisr, rohga_state )
MCFG_DECO16IC_ADD("tilegen1", rohga_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DECO16IC_ADD("tilegen2", rohga_deco16ic_tilegen2_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
diff --git a/src/mame/drivers/rollerg.c b/src/mame/drivers/rollerg.c
index 84fca266141..ab60ca9b45e 100644
--- a/src/mame/drivers/rollerg.c
+++ b/src/mame/drivers/rollerg.c
@@ -282,15 +282,15 @@ static MACHINE_CONFIG_START( rollerg, rollerg_state )
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K053244_ADD("k053244", rollerg_k05324x_intf)
MCFG_K053244_GFXDECODE("gfxdecode")
MCFG_K053244_PALETTE("palette")
-
+
MCFG_K051316_ADD("k051316", rollerg_k051316_intf)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("k053252", K053252, 3000000*2)
MCFG_K053252_INT1_ACK_CB(WRITELINE(rollerg_state,rollerg_irq_ack_w))
MCFG_K053252_OFFSETS(14*8, 2*8)
diff --git a/src/mame/drivers/rungun.c b/src/mame/drivers/rungun.c
index ba0242f56d0..bfb6944a30f 100644
--- a/src/mame/drivers/rungun.c
+++ b/src/mame/drivers/rungun.c
@@ -402,7 +402,7 @@ static MACHINE_CONFIG_START( rng, rungun_state )
MCFG_K055673_ADD("k055673", rng_k055673_intf)
MCFG_K055673_GFXDECODE("gfxdecode")
MCFG_K055673_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("k053252", K053252, 16000000/2)
MCFG_K053252_OFFSETS(9*8, 24)
diff --git a/src/mame/drivers/s7.c b/src/mame/drivers/s7.c
index d5a445f2886..cd1a4e5bf4c 100644
--- a/src/mame/drivers/s7.c
+++ b/src/mame/drivers/s7.c
@@ -442,7 +442,7 @@ static MACHINE_CONFIG_START( s7, s7_state )
MCFG_SPEAKER_STANDARD_MONO("speech")
MCFG_SOUND_ADD("hc55516", HC55516, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speech", 0.50)
-
+
MCFG_DEVICE_ADD("pias", PIA6821, 0)
MCFG_PIA_READPB_HANDLER(READ8(s7_state, dac_r))
MCFG_PIA_WRITEPA_HANDLER(WRITE8(s7_state, dac_w))
diff --git a/src/mame/drivers/safarir.c b/src/mame/drivers/safarir.c
index c77dc70f8aa..c45ed35c092 100644
--- a/src/mame/drivers/safarir.c
+++ b/src/mame/drivers/safarir.c
@@ -410,7 +410,7 @@ static MACHINE_CONFIG_START( safarir, safarir_state )
/* video hardware */
MCFG_PALETTE_ADD("palette", 2*8)
MCFG_PALETTE_INIT_OWNER(safarir_state, safarir)
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", safarir)
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/drivers/scobra.c b/src/mame/drivers/scobra.c
index eac2a94fae8..76e373e19df 100644
--- a/src/mame/drivers/scobra.c
+++ b/src/mame/drivers/scobra.c
@@ -1273,10 +1273,10 @@ ROM_START( hustlerb4 )
ROM_REGION( 0x0020, "proms", 0 )
ROM_LOAD( "mni6331.e6", 0x0000, 0x0020, CRC(aa1f7f5e) SHA1(311dd17aa11490a1173c76223e4ccccf8ea29850) )
-
+
ROM_REGION( 0x0800, "unk", 0 )
ROM_LOAD( "top.c5", 0x0000, 0x0800, CRC(88226086) SHA1(fe2da172313063e5b056fc8c8d8b2a5c64db5179) )
-ROM_END
+ROM_END
ROM_START( mimonkey )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "mm1.2e", 0x0000, 0x1000, CRC(9019f1b1) SHA1(0c45f64e39b9a182f6162ab520ced6ef0686466c) )
diff --git a/src/mame/drivers/scramble.c b/src/mame/drivers/scramble.c
index 7c2204b4002..0431594f818 100644
--- a/src/mame/drivers/scramble.c
+++ b/src/mame/drivers/scramble.c
@@ -2142,7 +2142,7 @@ ROM_END
ROM_START( hunchbks2 )
ROM_REGION( 0x8000, "maincpu", 0 )
- ROM_LOAD( "hb01.bin", 0x0000, 0x0800, CRC(fec3466a) SHA1(d8ec3b432f7037e99bf1ac1ba7911a34eff6869d) )
+ ROM_LOAD( "hb01.bin", 0x0000, 0x0800, CRC(fec3466a) SHA1(d8ec3b432f7037e99bf1ac1ba7911a34eff6869d) )
ROM_LOAD( "2e_hb02.bin", 0x0800, 0x0800, CRC(07de4229) SHA1(9f333509ae3d6c579f6d96caa172a0abe9eefb30) )
ROM_LOAD( "2f_hb03.bin", 0x2000, 0x0800, CRC(b75a0dfc) SHA1(c60c833f28c6de027d46f5a2a54ad5646ec58453) )
ROM_LOAD( "hb04.bin", 0x2800, 0x0800, CRC(731e349b) SHA1(cfa1ac322cdfe1d4d112b0a4dd85d3552a6e33d0) )
diff --git a/src/mame/drivers/seabattl.c b/src/mame/drivers/seabattl.c
index c24e8b2e9bc..502d3058baf 100644
--- a/src/mame/drivers/seabattl.c
+++ b/src/mame/drivers/seabattl.c
@@ -99,7 +99,7 @@ public:
UINT8 m_collision;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/drivers/segac2.c b/src/mame/drivers/segac2.c
index 90b88393ffa..96387805b44 100644
--- a/src/mame/drivers/segac2.c
+++ b/src/mame/drivers/segac2.c
@@ -97,31 +97,31 @@ public:
m_upd7759(*this, "upd"),
m_screen(*this, "screen"),
m_palette(*this, "palette") { }
-
+
// for Print Club only
int m_cam_data;
-
+
int m_segac2_enable_display;
-
+
required_shared_ptr<UINT16> m_paletteram;
-
+
/* internal states */
UINT8 m_misc_io_data[0x10]; /* holds values written to the I/O chip */
-
+
/* protection-related tracking */
int (*m_prot_func)(int in); /* emulation of protection chip */
UINT8 m_prot_write_buf; /* remembers what was written */
UINT8 m_prot_read_buf; /* remembers what was returned */
-
+
/* palette-related variables */
UINT8 m_segac2_alt_palette_mode;
UINT8 m_palbank;
UINT8 m_bg_palbase;
UINT8 m_sp_palbase;
-
+
/* sound-related variables */
UINT8 m_sound_banks; /* number of sound banks */
-
+
DECLARE_DRIVER_INIT(c2boot);
DECLARE_DRIVER_INIT(bloxeedc);
DECLARE_DRIVER_INIT(columns);
@@ -151,16 +151,16 @@ public:
DECLARE_VIDEO_START(segac2_new);
DECLARE_MACHINE_START(segac2);
DECLARE_MACHINE_RESET(segac2);
-
+
UINT32 screen_update_segac2_new(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
int m_segac2_bg_pal_lookup[4];
int m_segac2_sp_pal_lookup[4];
void recompute_palette_tables();
-
+
DECLARE_WRITE_LINE_MEMBER(vdp_sndirqline_callback_c2);
DECLARE_WRITE_LINE_MEMBER(vdp_lv6irqline_callback_c2);
DECLARE_WRITE_LINE_MEMBER(vdp_lv4irqline_callback_c2);
-
+
DECLARE_WRITE16_MEMBER( segac2_upd7759_w );
DECLARE_READ16_MEMBER( palette_r );
DECLARE_WRITE16_MEMBER( palette_w );
@@ -177,7 +177,7 @@ public:
optional_device<upd7759_device> m_upd7759;
optional_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
};
@@ -195,7 +195,7 @@ MACHINE_START_MEMBER(segac2_state,segac2)
save_item(NAME(m_misc_io_data));
save_item(NAME(m_prot_write_buf));
save_item(NAME(m_prot_read_buf));
-
+
m_vdp->stop_timers();
}
diff --git a/src/mame/drivers/segaorun.c b/src/mame/drivers/segaorun.c
index 67b7989070a..accf82c6fc9 100644
--- a/src/mame/drivers/segaorun.c
+++ b/src/mame/drivers/segaorun.c
@@ -404,7 +404,7 @@ READ8_MEMBER( segaorun_state::bankmotor_limit_r )
const int center = 0x80;
const int right_limit = 0xe0;
const int tolerance = 2;
-
+
if (pos <= left_limit + tolerance)
ret ^= 0x20;
else if (pos >= center - tolerance && pos <= center + tolerance)
@@ -428,9 +428,9 @@ WRITE8_MEMBER( segaorun_state::bankmotor_control_w )
if (data == 0)
return;
-
+
m_bankmotor_delta = 8 - data;
-
+
// convert to speed and direction for output
if (data < 8)
{
@@ -662,7 +662,7 @@ void segaorun_state::device_timer(emu_timer &timer, device_timer_id id, int para
next_scanline = 65;
m_subcpu->set_input_line(4, CLEAR_LINE);
break;
-
+
default:
break;
}
@@ -688,7 +688,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(segaorun_state::bankmotor_update)
const int speed = 100;
const int left_limit = 0x2000;
const int right_limit = 0xe000;
-
+
m_bankmotor_pos += speed * m_bankmotor_delta;
if (m_bankmotor_pos <= left_limit)
m_bankmotor_pos = left_limit;
@@ -729,7 +729,7 @@ READ16_MEMBER( segaorun_state::outrun_custom_io_r )
case 0x60/2:
return watchdog_reset_r(space, 0);
-
+
default:
break;
}
@@ -781,7 +781,7 @@ WRITE16_MEMBER( segaorun_state::outrun_custom_io_w )
case 0x70/2:
m_sprites->draw_write(space, offset, data, mem_mask);
return;
-
+
default:
break;
}
@@ -814,7 +814,7 @@ READ16_MEMBER( segaorun_state::shangon_custom_io_r )
static const char *const ports[] = { "ADC0", "ADC1", "ADC2", "ADC3" };
return ioport(ports[m_adc_select])->read_safe(0x0010);
}
-
+
default:
break;
}
@@ -866,7 +866,7 @@ WRITE16_MEMBER( segaorun_state::shangon_custom_io_w )
case 0x3020/2:
// ADC trigger
return;
-
+
default:
break;
}
@@ -1210,7 +1210,7 @@ static MACHINE_CONFIG_START( outrun_base, segaorun_state )
MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK_25MHz/4, 400, 0, 320, 262, 0, 224)
MCFG_SCREEN_UPDATE_DRIVER(segaorun_state, screen_update_outrun)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_SEGAIC16VID_ADD("segaic16vid")
MCFG_SEGAIC16VID_GFXDECODE("gfxdecode")
MCFG_SEGAIC16_ROAD_ADD("segaic16road")
diff --git a/src/mame/drivers/segas16a.c b/src/mame/drivers/segas16a.c
index 74be0e32acc..5c7201faf3e 100644
--- a/src/mame/drivers/segas16a.c
+++ b/src/mame/drivers/segas16a.c
@@ -1979,11 +1979,11 @@ MACHINE_CONFIG_END
/*
static MACHINE_CONFIG_DERIVED( system16a_i8751_no7751, system16a_i8751 )
- MCFG_DEVICE_REMOVE("n7751")
- MCFG_DEVICE_REMOVE("dac")
+ MCFG_DEVICE_REMOVE("n7751")
+ MCFG_DEVICE_REMOVE("dac")
- MCFG_SOUND_REPLACE("ymsnd", YM2151, 4000000)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ MCFG_SOUND_REPLACE("ymsnd", YM2151, 4000000)
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
*/
@@ -2514,7 +2514,7 @@ ROM_START( fantzonep )
ROM_LOAD16_BYTE( "epr-7384.24", 0x020001, 0x8000, CRC(fd909341) SHA1(2f1e01eb7d7b330c9c0dd98e5f8ed4973f0e93fb) )
ROM_REGION( 0x18000, "gfx1", 0 ) // tiles
- ROM_LOAD( "epr-7388.95", 0x00000, 0x08000, CRC(8eb02f6b) SHA1(80511b944b57541669010bd5a0ca52bc98eabd62) )
+ ROM_LOAD( "epr-7388.95", 0x00000, 0x08000, CRC(8eb02f6b) SHA1(80511b944b57541669010bd5a0ca52bc98eabd62) )
ROM_LOAD( "epr-7389.94", 0x08000, 0x08000, CRC(2f4f71b8) SHA1(ceb39e95cd43904b8e4f89c7227491e139fb3ca6) )
ROM_LOAD( "epr-7390.93", 0x10000, 0x08000, CRC(d90609c6) SHA1(4232f6ecb21f242c0c8d81e06b88bc742668609f) )
@@ -2540,7 +2540,7 @@ ROM_START( fantzonepr )
ROM_LOAD16_BYTE( "epr-7387.41", 0x020000, 0x8000, CRC(0acd335d) SHA1(f39566a2069eefa7682c57c6521ea7a328738d06) ) // missing - assumed to be the same because the rom below is
ROM_LOAD16_BYTE( "ic24-prg20-2f57.bin", 0x020001, 0x8000, CRC(fd909341) SHA1(2f1e01eb7d7b330c9c0dd98e5f8ed4973f0e93fb) ) // MATCH
- ROM_REGION( 0x18000, "gfx1", 0 ) // tiles
+ ROM_REGION( 0x18000, "gfx1", 0 ) // tiles
ROM_LOAD( "ic95-1413.bin", 0x00000, 0x08000, CRC(158af770) SHA1(a02c500920770a987c9d8c78e0313cb3434c1873) ) // 96.661377%
ROM_LOAD( "ic94-3e96.bin", 0x08000, 0x08000, CRC(2fea4fe7) SHA1(891dbf163378e9ef55b97b4cb8ac02dab05f206c) ) // 96.710205%
ROM_LOAD( "ic93-de1b.bin", 0x10000, 0x08000, BAD_DUMP CRC(335fe57a) SHA1(93cfcfd1d06daa03b1b000460c4e0ff54aa9f317) ) // 72.341919%
diff --git a/src/mame/drivers/segas18.c b/src/mame/drivers/segas18.c
index b061aa32a3e..e4f5333c8cf 100644
--- a/src/mame/drivers/segas18.c
+++ b/src/mame/drivers/segas18.c
@@ -145,7 +145,7 @@ void segas18_state::init_generic(segas18_rom_board rom_board)
m_vdp->set_vdp_pal(FALSE);
m_vdp->set_framerate(60);
m_vdp->set_total_scanlines(262);
- m_vdp->stop_timers(); // 315-5124 timers
+ m_vdp->stop_timers(); // 315-5124 timers
// save state
save_item(NAME(m_mcu_data));
diff --git a/src/mame/drivers/segaybd.c b/src/mame/drivers/segaybd.c
index bb763b53e19..d27b4a37c07 100644
--- a/src/mame/drivers/segaybd.c
+++ b/src/mame/drivers/segaybd.c
@@ -1189,7 +1189,7 @@ static MACHINE_CONFIG_START( yboard, segaybd_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_SEGA_SYS16B_SPRITES_ADD("bsprites")
MCFG_SEGA_YBOARD_SPRITES_ADD("ysprites")
MCFG_SEGAIC16VID_ADD("segaic16vid")
diff --git a/src/mame/drivers/seicross.c b/src/mame/drivers/seicross.c
index e675a6eeccb..4295aeefe37 100644
--- a/src/mame/drivers/seicross.c
+++ b/src/mame/drivers/seicross.c
@@ -52,10 +52,10 @@ This info came from http://www.ne.jp/asahi/cc-sakura/akkun/old/fryski.html
void seicross_state::nvram_init(nvram_device &nvram, void *data, size_t size)
{
- static const UINT8 init[32] = {
+ static const UINT8 init[32] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1,
0, 1, 0, 1, 0, 1, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, };
-
+
memset(data, 0x00, size);
memcpy(data, init, sizeof(init));
}
diff --git a/src/mame/drivers/seta.c b/src/mame/drivers/seta.c
index 7083a7f8f0c..651b8841ddd 100644
--- a/src/mame/drivers/seta.c
+++ b/src/mame/drivers/seta.c
@@ -2208,7 +2208,7 @@ static ADDRESS_MAP_START( blockcarb_map, AS_PROGRAM, 16, seta_state )
AM_RANGE(0x500000, 0x500001) AM_READ_PORT("P1") // P1
AM_RANGE(0x500002, 0x500003) AM_READ_PORT("P2") // P2
AM_RANGE(0x500004, 0x500005) AM_READ_PORT("COINS") // Coins
-// AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, word_r, word_w) // Sound - not on this bootleg
+// AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, word_r, word_w) // Sound - not on this bootleg
AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette
AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE("spritegen", seta001_device, spritecode_r16, spritecode_w16) // Sprites Code + X + Attr
/**/AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000
@@ -8036,8 +8036,8 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( blockcarb_sound_portmap, AS_IO, 8, seta_state )
ADDRESS_MAP_UNMAP_HIGH
ADDRESS_MAP_GLOBAL_MASK(0xff)
-// AM_RANGE(0x00, 0x01) AM_MIRROR(0x3e) AM_DEVREADWRITE("ymsnd", ym2151_device, read, write)
-// AM_RANGE(0xc0, 0xc0) AM_MIRROR(0x3f) AM_READ(wiggie_soundlatch_r)
+// AM_RANGE(0x00, 0x01) AM_MIRROR(0x3e) AM_DEVREADWRITE("ymsnd", ym2151_device, read, write)
+// AM_RANGE(0xc0, 0xc0) AM_MIRROR(0x3f) AM_READ(wiggie_soundlatch_r)
ADDRESS_MAP_END
static MACHINE_CONFIG_DERIVED( blockcarb, blockcar )
@@ -10101,10 +10101,10 @@ ROM_START( blockcarb )
ROM_LOAD16_BYTE( "tl5.bin", 0x080001, 0x040000, CRC(9369e8dc) SHA1(645ae72a8b49ec43c26cdee5b6cb8cca5f46e542) )
ROM_REGION( 0x100000, "oki", 0 ) /* 6295 samples */
- ROM_LOAD( "tl7.bin", 0x000000, 0x040000, CRC(41e899dc) SHA1(36c8161dcb68cdc312c7d1177dbcfb9b62b18f05) ) // == so2_09.12b mercs Mercs (World 900302)
+ ROM_LOAD( "tl7.bin", 0x000000, 0x040000, CRC(41e899dc) SHA1(36c8161dcb68cdc312c7d1177dbcfb9b62b18f05) ) // == so2_09.12b mercs Mercs (World 900302)
ROM_REGION( 0x10000, "audiocpu", 0 )
- ROM_LOAD( "tl8.bin", 0x000000, 0x010000, CRC(d09d7c7a) SHA1(8e8532be08818c855d9c3ce45716eb07cfab5767) ) //cpu prg
+ ROM_LOAD( "tl8.bin", 0x000000, 0x010000, CRC(d09d7c7a) SHA1(8e8532be08818c855d9c3ce45716eb07cfab5767) ) //cpu prg
ROM_END
diff --git a/src/mame/drivers/seta2.c b/src/mame/drivers/seta2.c
index 14bf1a4b9f0..7b685c15624 100644
--- a/src/mame/drivers/seta2.c
+++ b/src/mame/drivers/seta2.c
@@ -518,7 +518,7 @@ ADDRESS_MAP_END
devcb = &funcube_touchscreen_device::set_tx_cb(*device, DEVCB2_##_devcb);
class funcube_touchscreen_device : public device_t,
- public device_serial_interface
+ public device_serial_interface
{
public:
funcube_touchscreen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
@@ -539,7 +539,7 @@ private:
required_ioport m_x;
required_ioport m_y;
required_ioport m_btn;
-
+
UINT8 m_button_state;
int m_serial_pos;
UINT8 m_serial[4];
diff --git a/src/mame/drivers/sf.c b/src/mame/drivers/sf.c
index de6226e5541..f7a0b6b3411 100644
--- a/src/mame/drivers/sf.c
+++ b/src/mame/drivers/sf.c
@@ -835,7 +835,7 @@ static MACHINE_CONFIG_START( sf, sf_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", sf)
-
+
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(xxxxRRRRGGGGBBBB)
diff --git a/src/mame/drivers/sidearms.c b/src/mame/drivers/sidearms.c
index 80925d5e779..a527178265c 100644
--- a/src/mame/drivers/sidearms.c
+++ b/src/mame/drivers/sidearms.c
@@ -719,7 +719,7 @@ static MACHINE_CONFIG_START( whizz, sidearms_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", turtship)
-
+
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(xxxxBBBBRRRRGGGG)
diff --git a/src/mame/drivers/sigmab98.c b/src/mame/drivers/sigmab98.c
index 27f4391dfbe..5dc99048ff9 100644
--- a/src/mame/drivers/sigmab98.c
+++ b/src/mame/drivers/sigmab98.c
@@ -116,7 +116,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
dynamic_array<UINT8> m_paletteram;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
UINT8 m_reg;
UINT8 m_rombank;
@@ -2150,7 +2150,7 @@ DRIVER_INIT_MEMBER(sigmab98_state,itazuram)
// RAM banks
m_paletteram.resize_and_clear(0x3000);
- m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
+ m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
membank("palbank")->set_base(m_paletteram);
m_rambank = 0x64;
diff --git a/src/mame/drivers/simpl156.c b/src/mame/drivers/simpl156.c
index 25531ab5a0a..b9f6a4d6acd 100644
--- a/src/mame/drivers/simpl156.c
+++ b/src/mame/drivers/simpl156.c
@@ -441,7 +441,7 @@ static MACHINE_CONFIG_START( chainrec, simpl156_state )
MCFG_DECO16IC_ADD("tilegen1", simpl156_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
decospr_device::set_pri_callback(*device, simpl156_pri_callback);
diff --git a/src/mame/drivers/skylncr.c b/src/mame/drivers/skylncr.c
index 28f8faac7ce..0cd3f6b290d 100644
--- a/src/mame/drivers/skylncr.c
+++ b/src/mame/drivers/skylncr.c
@@ -29,7 +29,7 @@
****************************************************************************************************
Settings:
-
+
Pressing F2, you can enter the DIP switches settings.
Here the translated items:
@@ -47,13 +47,13 @@
| |
'---------------------------------------'
- 'Special Bonus' and 'Super Star' appearance, are per 1000.
+ 'Special Bonus' and 'Super Star' appearance, are per 1000.
You also can find the MAME DIP switches menu already translated.
The <unknown> items still need translation.
Press START (key 1) to exit the mode.
-
+
Bookkeeping:
Pressing BOOKKEEPING (key 0), you enter the Record Mode.
@@ -199,8 +199,8 @@ TILE_GET_INFO_MEMBER(skylncr_state::get_reel_1_tile_info)
{
UINT8 bank = 1;
UINT16 code = m_reeltiles_1_ram[ tile_index ] + (m_reeltileshigh_1_ram[ tile_index ] << 8);
-// if (code > 0x200)
-// bank = 2;
+// if (code > 0x200)
+// bank = 2;
SET_TILE_INFO_MEMBER(bank, code, 0, TILE_FLIPYX( 0 ));
}
@@ -516,7 +516,7 @@ static const gfx_layout layout8x8x8 =
8*8*4
};
-static const gfx_layout layout8x8x8_alt = /* for sstar97 */
+static const gfx_layout layout8x8x8_alt = /* for sstar97 */
{
8,8,
RGN_FRAC(1,2),
@@ -572,7 +572,7 @@ static const gfx_layout layout8x32x8_rot =
8*32*8/2
};
-static const gfx_layout layout8x32x8_alt = /* for sstar97 */
+static const gfx_layout layout8x32x8_alt = /* for sstar97 */
{
8,32,
RGN_FRAC(1,2),
@@ -1146,15 +1146,15 @@ ROM_END
ROM_START( sstar97 )
ROM_REGION( 0x80000, "maincpu", 0 )
ROM_LOAD( "27256.u15", 0x0000, 0x8000, CRC(a5da4f92) SHA1(82ac70bd379649f130db017aa226d0247db0f3cd) )
- ROM_LOAD( "unknown.u48", 0x8000, 0x8000, BAD_DUMP CRC(9f4c02e3) SHA1(05975184130ea7dd3bb5d32eff77b585bd53e6b5) ) // palette borrowed from other game
+ ROM_LOAD( "unknown.u48", 0x8000, 0x8000, BAD_DUMP CRC(9f4c02e3) SHA1(05975184130ea7dd3bb5d32eff77b585bd53e6b5) ) // palette borrowed from other game
- ROM_REGION( 0x40000, "gfx1", 0 ) // All ROMs are 28-pins mask ROMs dumped as 27512. Should be dumped as Fujitsu MB831000 or TC531000 (mask ROM).
+ ROM_REGION( 0x40000, "gfx1", 0 ) // All ROMs are 28-pins mask ROMs dumped as 27512. Should be dumped as Fujitsu MB831000 or TC531000 (mask ROM).
ROM_LOAD16_BYTE( "bor_dun_4.u23", 0x00000, 0x10000, BAD_DUMP CRC(82c9db19) SHA1(3611fb59bb7c962c7fabe7a29fa72b632fa69bed) )
ROM_LOAD16_BYTE( "bor_dun_2.u25", 0x00001, 0x10000, BAD_DUMP CRC(42ee9b7a) SHA1(b39f677f58072ea7dcd7f49208be1a7b70bdc5e5) )
ROM_LOAD16_BYTE( "bor_dun_3.u24", 0x20000, 0x10000, BAD_DUMP CRC(6d70879b) SHA1(83cbe67cda95e5f3d95065015f6b1b2044b88989) )
ROM_LOAD16_BYTE( "bor_dun_1.u26", 0x20001, 0x10000, BAD_DUMP CRC(1b8b84ac) SHA1(b914bad0b1fb58cf581d1227e8127c6afb906fb7) )
- ROM_REGION( 0x40000, "gfx2", 0 ) // All ROMs are 28-pins mask ROMs dumped as 27512. Should be dumped as Fujitsu MB831000 or TC531000 (mask ROM).
+ ROM_REGION( 0x40000, "gfx2", 0 ) // All ROMs are 28-pins mask ROMs dumped as 27512. Should be dumped as Fujitsu MB831000 or TC531000 (mask ROM).
ROM_LOAD16_BYTE( "bor_dun_8.u19", 0x00000, 0x10000, BAD_DUMP CRC(daf651a7) SHA1(d4e472aa90aa2b52c997b2f2272007b139e3cbc2) )
ROM_LOAD16_BYTE( "bor_dun_6.u21", 0x00001, 0x10000, BAD_DUMP CRC(1d88bc70) SHA1(49246d96a4ce2b8e9b10e928d7dd13973feac883) )
ROM_LOAD16_BYTE( "bor_dun_7.u20", 0x20000, 0x10000, BAD_DUMP CRC(7e28ba2f) SHA1(ac8d4e95efce87456f569a71650bd7afcb59095e) )
diff --git a/src/mame/drivers/slapfght.c b/src/mame/drivers/slapfght.c
index 5d0a3844bb4..7f10406a51c 100644
--- a/src/mame/drivers/slapfght.c
+++ b/src/mame/drivers/slapfght.c
@@ -9,7 +9,7 @@
Guardian / Get Star
Performan
Tiger Heli
-
+
TODO:
- proper MCU emulation (mame/machine/slapfght.c)
- alcon cocktail/flipscreen, it doesn't write to the flipscreen reg
@@ -358,7 +358,7 @@ INTERRUPT_GEN_MEMBER(slapfght_state::vblank_irq)
WRITE8_MEMBER(slapfght_state::irq_enable_w)
{
m_main_irq_enabled = offset ? true : false;
-
+
if (!m_main_irq_enabled)
m_maincpu->set_input_line(0, CLEAR_LINE);
}
@@ -366,7 +366,7 @@ WRITE8_MEMBER(slapfght_state::irq_enable_w)
WRITE8_MEMBER(slapfght_state::sound_reset_w)
{
m_audiocpu->set_input_line(INPUT_LINE_RESET, offset ? CLEAR_LINE : ASSERT_LINE);
-
+
if (offset == 0)
m_sound_nmi_enabled = false;
}
@@ -482,7 +482,7 @@ ADDRESS_MAP_END
/***************************************************************************
MCU Memory Maps
-
+
NOTE: handlers and simulation are in the src/mame/machine folder
***************************************************************************/
@@ -834,7 +834,7 @@ MACHINE_RESET_MEMBER(slapfght_state,getstar)
{
// don't boot the mcu since we don't have a dump yet
m_mcu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
-
+
machine_reset();
}
@@ -844,7 +844,7 @@ void slapfght_state::init_banks()
{
UINT8 *ROM = memregion("maincpu")->base();
membank("bank1")->configure_entries(0, 2, &ROM[0x10000], 0x4000);
-
+
membank("bank1")->set_entry(0);
}
@@ -1087,7 +1087,7 @@ static MACHINE_CONFIG_DERIVED( tigerhb1, tigerh )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(tigerhb1_map)
MCFG_CPU_IO_MAP(tigerhb_io_map)
-
+
MCFG_DEVICE_REMOVE("mcu")
MACHINE_CONFIG_END
@@ -1167,7 +1167,7 @@ static MACHINE_CONFIG_DERIVED( getstar, slapfigh )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(getstar_map)
MCFG_CPU_IO_MAP(getstar_io_map)
-
+
MCFG_MACHINE_RESET_OVERRIDE(slapfght_state, getstar)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/slapshot.c b/src/mame/drivers/slapshot.c
index 57555aa747b..27adafe239c 100644
--- a/src/mame/drivers/slapshot.c
+++ b/src/mame/drivers/slapshot.c
@@ -533,7 +533,7 @@ static MACHINE_CONFIG_START( slapshot, slapshot_state )
MCFG_TC0640FIO_READ_2_CB(IOPORT("BUTTONS"))
MCFG_TC0640FIO_READ_3_CB(IOPORT("SYSTEM"))
MCFG_TC0640FIO_READ_7_CB(IOPORT("JOY"))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/smsmcorp.c b/src/mame/drivers/smsmcorp.c
index 746d041d590..2539a6d7d62 100644
--- a/src/mame/drivers/smsmcorp.c
+++ b/src/mame/drivers/smsmcorp.c
@@ -249,7 +249,7 @@ public:
DECLARE_MACHINE_START(sureshot);
UINT32 screen_update_sms(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
diff --git a/src/mame/drivers/spy.c b/src/mame/drivers/spy.c
index 413acf34ea7..4c0f77954e4 100644
--- a/src/mame/drivers/spy.c
+++ b/src/mame/drivers/spy.c
@@ -488,7 +488,7 @@ void spy_state::machine_start()
m_paletteram.resize(0x800);
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
memset(m_pmcram, 0, sizeof(m_pmcram));
save_item(NAME(m_paletteram));
diff --git a/src/mame/drivers/statriv2.c b/src/mame/drivers/statriv2.c
index dc06aa2cdfc..ad69d664d60 100644
--- a/src/mame/drivers/statriv2.c
+++ b/src/mame/drivers/statriv2.c
@@ -88,7 +88,7 @@ public:
m_videoram(*this, "videoram"),
m_question_offset(*this, "question_offset"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/stuntair.c b/src/mame/drivers/stuntair.c
index 7146805981e..eecf8d3157a 100644
--- a/src/mame/drivers/stuntair.c
+++ b/src/mame/drivers/stuntair.c
@@ -93,7 +93,7 @@ public:
m_bgattrram(*this, "bgattrram"),
m_sprram(*this, "sprram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/subs.c b/src/mame/drivers/subs.c
index 3b73caa8bee..d6492568703 100644
--- a/src/mame/drivers/subs.c
+++ b/src/mame/drivers/subs.c
@@ -187,7 +187,7 @@ static MACHINE_CONFIG_START( subs, subs_state )
MCFG_PALETTE_ADD("palette", 4)
MCFG_PALETTE_INIT_OWNER(subs_state, subs)
-
+
MCFG_DEFAULT_LAYOUT(layout_dualhsxs)
MCFG_SCREEN_ADD("lscreen", RASTER)
diff --git a/src/mame/drivers/subsino.c b/src/mame/drivers/subsino.c
index 8cb6b78ad57..e574c6bc091 100644
--- a/src/mame/drivers/subsino.c
+++ b/src/mame/drivers/subsino.c
@@ -3853,7 +3853,7 @@ DRIVER_INIT_MEMBER(subsino_state,tesorone)
DRIVER_INIT_MEMBER(subsino_state,tesorone230)
{
#if 1
- UINT8 *rom = memregion( "maincpu" )->base(); //check this patch!!!!
+ UINT8 *rom = memregion( "maincpu" )->base(); //check this patch!!!!
rom[0x10a8] = 0x18; //patch protection check ("ERROR 08073"):
rom[0x10a9] = 0x11;
rom[0x8ba] = 0x18; //patch "winning protection" check
diff --git a/src/mame/drivers/subsino2.c b/src/mame/drivers/subsino2.c
index 4eadd715cf8..870e6db256d 100644
--- a/src/mame/drivers/subsino2.c
+++ b/src/mame/drivers/subsino2.c
@@ -591,9 +591,9 @@ VIDEO_START_MEMBER(subsino2_state,subsino2)
layer_t *l = &m_layers[i];
l->tmap = &machine().tilemap().create(m_gfxdecode, i ?
- tilemap_get_info_delegate(FUNC(subsino2_state::ss9601_get_tile_info_1),this) :
- tilemap_get_info_delegate(FUNC(subsino2_state::ss9601_get_tile_info_0),this),
- TILEMAP_SCAN_ROWS, 8,8, 0x80,0x40);
+ tilemap_get_info_delegate(FUNC(subsino2_state::ss9601_get_tile_info_1),this) :
+ tilemap_get_info_delegate(FUNC(subsino2_state::ss9601_get_tile_info_0),this),
+ TILEMAP_SCAN_ROWS, 8,8, 0x80,0x40);
l->tmap->set_transparent_pen(0);
diff --git a/src/mame/drivers/supbtime.c b/src/mame/drivers/supbtime.c
index 2dd1ae10781..4408c968a7f 100644
--- a/src/mame/drivers/supbtime.c
+++ b/src/mame/drivers/supbtime.c
@@ -348,7 +348,7 @@ static MACHINE_CONFIG_START( supbtime, supbtime_state )
MCFG_DECO16IC_ADD("tilegen1", supbtime_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
@@ -395,7 +395,7 @@ static MACHINE_CONFIG_START( chinatwn, supbtime_state )
MCFG_DECO16IC_ADD("tilegen1", supbtime_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
diff --git a/src/mame/drivers/supercrd.c b/src/mame/drivers/supercrd.c
index 7d69af3a645..364af1f6e12 100644
--- a/src/mame/drivers/supercrd.c
+++ b/src/mame/drivers/supercrd.c
@@ -411,7 +411,7 @@ GFXDECODE_END
//static MC6845_INTERFACE( mc6845_intf )
//{
// false,
-// 0,0,0,0, /* visarea adjustment */
+// 0,0,0,0, /* visarea adjustment */
// 4, /* number of pixels per video memory address */
// NULL, /* before pixel update callback */
// NULL, /* row update callback */
diff --git a/src/mame/drivers/superwng.c b/src/mame/drivers/superwng.c
index c5f5fd0b808..89f898aab79 100644
--- a/src/mame/drivers/superwng.c
+++ b/src/mame/drivers/superwng.c
@@ -39,7 +39,7 @@ public:
m_colorram_bg(*this, "colorrabg"),
m_colorram_fg(*this, "colorrafg"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/system16.c b/src/mame/drivers/system16.c
index 0483431a8e4..9dbb141f8e2 100644
--- a/src/mame/drivers/system16.c
+++ b/src/mame/drivers/system16.c
@@ -2025,7 +2025,7 @@ static MACHINE_CONFIG_DERIVED( system16_7759, system16 )
/* sound hardware */
MCFG_SOUND_ADD("7759", UPD7759, UPD7759_STANDARD_CLOCK)
- MCFG_UPD7759_DRQ_CALLBACK(WRITELINE(segas1x_bootleg_state,sound_cause_nmi))
+ MCFG_UPD7759_DRQ_CALLBACK(WRITELINE(segas1x_bootleg_state,sound_cause_nmi))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.48)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.48)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/taito_b.c b/src/mame/drivers/taito_b.c
index 8b5da779ba2..c5d9383d829 100644
--- a/src/mame/drivers/taito_b.c
+++ b/src/mame/drivers/taito_b.c
@@ -1983,7 +1983,7 @@ static MACHINE_CONFIG_START( rastsag2, taitob_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", taito_b)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
-
+
MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_color_order0)
MCFG_TC0180VCU_ADD("tc0180vcu", color0_tc0180vcu_intf)
@@ -2059,7 +2059,7 @@ static MACHINE_CONFIG_DERIVED( tetrist, rastsag2 ) /* Nastar conversion kit with
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(tetrist_map)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBRGBx)
MACHINE_CONFIG_END
@@ -2354,7 +2354,7 @@ static MACHINE_CONFIG_START( pbobble, taitob_state )
MCFG_TC0640FIO_READ_2_CB(IOPORT("START"))
MCFG_TC0640FIO_READ_3_CB(IOPORT("P1_P2_A"))
MCFG_TC0640FIO_READ_7_CB(IOPORT("P1_P2_B"))
-
+
MCFG_DEVICE_ADD("mb87078", MB87078, 0)
MCFG_MB87078_GAIN_CHANGED_CB(WRITE8(taitob_state, mb87078_gain_changed))
@@ -2798,7 +2798,7 @@ static MACHINE_CONFIG_START( sbm, taitob_state )
MCFG_TC0510NIO_READ_2_CB(IOPORT("JOY"))
MCFG_TC0510NIO_READ_3_CB(IOPORT("START"))
MCFG_TC0510NIO_READ_7_CB(IOPORT("PHOTOSENSOR"))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -2854,7 +2854,7 @@ static MACHINE_CONFIG_START( realpunc, taitob_state )
MCFG_TC0510NIO_READ_2_CB(IOPORT("IN0"))
MCFG_TC0510NIO_READ_3_CB(IOPORT("IN1"))
MCFG_TC0510NIO_READ_7_CB(IOPORT("IN2"))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/taito_f2.c b/src/mame/drivers/taito_f2.c
index 11a2b3d80fd..b4511ba0493 100644
--- a/src/mame/drivers/taito_f2.c
+++ b/src/mame/drivers/taito_f2.c
@@ -3260,7 +3260,7 @@ static MACHINE_CONFIG_DERIVED( gunfront, taito_f2_tc0510nio )
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
-
+
/* video hardware */
MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_gunfront)
MCFG_SCREEN_MODIFY("screen")
@@ -3388,7 +3388,7 @@ static MACHINE_CONFIG_DERIVED( yuyugogo, taito_f2_tc0510nio )
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
-
+
/* video hardware */
MCFG_GFXDECODE_MODIFY("gfxdecode", yuyugogo)
MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_yuyugogo)
@@ -3585,7 +3585,7 @@ static MACHINE_CONFIG_DERIVED( dinorex, taito_f2_tc0510nio )
MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_dinorex)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
@@ -3607,7 +3607,7 @@ static MACHINE_CONFIG_DERIVED( qjinsei, taito_f2_tc0510nio )
MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_quiz)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
@@ -3629,7 +3629,7 @@ static MACHINE_CONFIG_DERIVED( qcrayon, taito_f2_tc0510nio )
MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_quiz)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
@@ -3651,7 +3651,7 @@ static MACHINE_CONFIG_DERIVED( qcrayon2, taito_f2_tc0510nio )
MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_quiz)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri)
-
+
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx)
diff --git a/src/mame/drivers/taitoair.c b/src/mame/drivers/taitoair.c
index bd9faff8910..c306a5662ff 100644
--- a/src/mame/drivers/taitoair.c
+++ b/src/mame/drivers/taitoair.c
@@ -716,7 +716,7 @@ static MACHINE_CONFIG_START( airsys, taitoair_state )
MCFG_SCREEN_VISIBLE_AREA(0*16, 32*16-1, 3*16, 28*16-1)
MCFG_SCREEN_UPDATE_DRIVER(taitoair_state, screen_update_taitoair)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", airsys)
MCFG_PALETTE_ADD_INIT_BLACK("palette", 512*16+512*16)
diff --git a/src/mame/drivers/taitogn.c b/src/mame/drivers/taitogn.c
index 94e38f66260..0855e099d85 100644
--- a/src/mame/drivers/taitogn.c
+++ b/src/mame/drivers/taitogn.c
@@ -81,7 +81,7 @@ Notes:
CAT702 - Protection chip labelled 'TT10' (DIP20)
* - Unpopulated position for additional KM416V1204BT-L5 RAMs
NEC_78081G503 - NEC uPD78081 MCU, 5MHz
-
+
Video syncs are 59.8260Hz and 15.4333kHz
@@ -420,7 +420,7 @@ WRITE8_MEMBER(taitogn_state::control_w)
{
// 20 = watchdog
m_mb3773->write_line_ck((data & 0x20) >> 5);
-
+
// 10 = sound hw reset, but make sure it's only booted on games that use it
if (m_has_zoom)
{
@@ -429,7 +429,7 @@ WRITE8_MEMBER(taitogn_state::control_w)
if (~data & m_control & 0x10)
{
logerror("control_w Zoom reset\n");
-
+
m_zoom->reset();
// assume that this also readys the sound flash chips
@@ -489,7 +489,7 @@ READ16_MEMBER(taitogn_state::hack1_r)
m_v = m_v ^ 8;
// Probably something to do with MCU
return m_v;
-
+
default:
break;
}
@@ -550,7 +550,7 @@ READ8_MEMBER(taitogn_state::gnet_mahjong_panel_r)
case 0x08: return ioport("KEY1")->read();
case 0x40: return ioport("KEY2")->read();
case 0x80: return ioport("KEY3")->read();
-
+
default:
break;
}
@@ -587,7 +587,7 @@ void taitogn_state::machine_reset()
{
// halt sound CPU since it has no valid program at start
m_mn10200->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
-
+
m_control = 0x10;
}
@@ -661,7 +661,7 @@ static MACHINE_CONFIG_START( coh3002t, taitogn_state )
MCFG_DEVICE_ADD("maincpu:sio0:znsec1", ZNSEC, 0)
MCFG_DEVICE_ADD("maincpu:sio0:zndip", ZNDIP, 0)
MCFG_ZNDIP_DATA_HANDLER(IOPORT(":DSW"))
-
+
MCFG_AT28C16_ADD( "at28c16", 0 )
MCFG_DEVICE_ADD("rf5c296", RF5C296, 0)
MCFG_RF5C296_SLOT(":pccard")
diff --git a/src/mame/drivers/taitojc.c b/src/mame/drivers/taitojc.c
index 23e26ed55d7..2126b9cc413 100644
--- a/src/mame/drivers/taitojc.c
+++ b/src/mame/drivers/taitojc.c
@@ -1269,9 +1269,9 @@ static MACHINE_CONFIG_START( taitojc, taitojc_state )
MCFG_TC0640FIO_READ_2_CB(IOPORT("START"))
MCFG_TC0640FIO_READ_3_CB(IOPORT("UNUSED"))
MCFG_TC0640FIO_READ_7_CB(IOPORT("BUTTONS"))
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
diff --git a/src/mame/drivers/taitottl.c b/src/mame/drivers/taitottl.c
index d63415673b8..ac0968bce07 100644
--- a/src/mame/drivers/taitottl.c
+++ b/src/mame/drivers/taitottl.c
@@ -1,11 +1,11 @@
/***************************************************************************
-
+
Taito Discrete Hardware Games
-
-
+
+
Game Name(s) Part #'s Data PROM/ROM Chip Numbers
------------------------------------------+-----------+---------+---------------------------------------
- Acrobat (1978) UNKNOWN
+ Acrobat (1978) UNKNOWN
Astro Race (1973) UNKNOWN
Avenger (1976) - Vertical EG-1020 UNKNOWN
Attack (1976) UNKNOWN
@@ -37,7 +37,7 @@
Wall Block (1978) UNKNOWN
Western Gun (1975) UNKNOWN
Zun Zun Block (1979) YES 3 - (2 x 512bytes, 1 x 32bytes)
-
+
***************************************************************************/
@@ -77,38 +77,38 @@ class taitottl_state : public driver_device
public:
taitottl_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_video(*this, "fixfreq")
+ m_maincpu(*this, "maincpu"),
+ m_video(*this, "fixfreq")
{
}
-
+
// devices
required_device<netlist_mame_device_t> m_maincpu;
required_device<fixedfreq_device> m_video;
-
+
protected:
-
+
// driver_device overrides
virtual void machine_start();
virtual void machine_reset();
-
+
virtual void video_start();
-
+
private:
-
+
};
static NETLIST_START(taitottl)
SOLVER(Solver, 48000)
-// PARAM(Solver.FREQ, 48000)
+// PARAM(Solver.FREQ, 48000)
PARAM(Solver.ACCURACY, 1e-4) // works and is sufficient
// schematics
//...
- // NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
- // NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
+ // NETDEV_ANALOG_CALLBACK(sound_cb, sound, exidyttl_state, sound_cb, "")
+ // NETDEV_ANALOG_CALLBACK(video_cb, videomix, fixedfreq_device, update_vid, "fixfreq")
NETLIST_END()
@@ -138,27 +138,27 @@ MACHINE_CONFIG_END
/***************************************************************************
-
+
Game driver(s)
-
+
***************************************************************************/
/*
-
- label loc. Part #
+
+ label loc. Part #
==========================================================
- CR11 N5 74s287 yes, it says CRxx not GNxx
- GN10 H5 5623
- GN09 N6 soldered in
- GN08 J7 IM5200CJG
- GN07 L9 soldered in
- GN06 H6 7621
- GN05 G9 74s287
- GN04 F9 7643
- GN03 D9 7621
- GN02 C9 74s287
- GN01 B9 7643
-
+ CR11 N5 74s287 yes, it says CRxx not GNxx
+ GN10 H5 5623
+ GN09 N6 soldered in
+ GN08 J7 IM5200CJG
+ GN07 L9 soldered in
+ GN06 H6 7621
+ GN05 G9 74s287
+ GN04 F9 7643
+ GN03 D9 7621
+ GN02 C9 74s287
+ GN01 B9 7643
+
*/
ROM_START( gunman )
@@ -180,7 +180,7 @@ ROM_START( ttblock )
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_REGION( 0x0800, "roms", ROMREGION_ERASE00 )
- ROM_LOAD( "tl01.4a", 0x0000, 0x0800, CRC(65b730f7) SHA1(f82931c9a128021c97d1d41b5eac05df55dd5994) ) // MMI 6353
+ ROM_LOAD( "tl01.4a", 0x0000, 0x0800, CRC(65b730f7) SHA1(f82931c9a128021c97d1d41b5eac05df55dd5994) ) // MMI 6353
ROM_END
diff --git a/src/mame/drivers/taotaido.c b/src/mame/drivers/taotaido.c
index 44f1fae8ec3..33258cdfcf6 100644
--- a/src/mame/drivers/taotaido.c
+++ b/src/mame/drivers/taotaido.c
@@ -356,7 +356,7 @@ static MACHINE_CONFIG_START( taotaido, taotaido_state )
MCFG_VSYSTEM_SPR_SET_GFXREGION(0)
MCFG_VSYSTEM_SPR_GFXDECODE("gfxdecode")
MCFG_VSYSTEM_SPR_PALETTE("palette")
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
diff --git a/src/mame/drivers/tceptor.c b/src/mame/drivers/tceptor.c
index 57e9c01d4bb..8cdf6d1e1b2 100644
--- a/src/mame/drivers/tceptor.c
+++ b/src/mame/drivers/tceptor.c
@@ -383,7 +383,7 @@ static MACHINE_CONFIG_START( tceptor, tceptor_state )
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_INDIRECT_ENTRIES(1024)
MCFG_PALETTE_INIT_OWNER(tceptor_state, tceptor)
-
+
MCFG_DEFAULT_LAYOUT(layout_horizont)
MCFG_NAMCO_C45_ROAD_ADD("c45_road")
diff --git a/src/mame/drivers/tecmo16.c b/src/mame/drivers/tecmo16.c
index a8878db6ef2..e8f0b4a3882 100644
--- a/src/mame/drivers/tecmo16.c
+++ b/src/mame/drivers/tecmo16.c
@@ -382,7 +382,7 @@ static MACHINE_CONFIG_START( fstarfrc, tecmo16_state )
MCFG_SCREEN_UPDATE_DRIVER(tecmo16_state, screen_update_tecmo16)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", tecmo16)
- MCFG_PALETTE_ADD_INIT_BLACK("palette", 4096)
+ MCFG_PALETTE_ADD_INIT_BLACK("palette", 4096)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
diff --git a/src/mame/drivers/thunderx.c b/src/mame/drivers/thunderx.c
index 0ae5c88e281..2bfd7723a1d 100644
--- a/src/mame/drivers/thunderx.c
+++ b/src/mame/drivers/thunderx.c
@@ -597,7 +597,7 @@ MACHINE_START_MEMBER(thunderx_state,scontra)
{
m_paletteram.resize(0x800);
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
save_item(NAME(m_paletteram));
save_item(NAME(m_priority));
save_item(NAME(m_1f98_data));
diff --git a/src/mame/drivers/toaplan1.c b/src/mame/drivers/toaplan1.c
index 6099b31c63f..1f36aa6d151 100644
--- a/src/mame/drivers/toaplan1.c
+++ b/src/mame/drivers/toaplan1.c
@@ -2035,7 +2035,7 @@ static MACHINE_CONFIG_START( outzone, toaplan1_state )
MCFG_SCREEN_UPDATE_DRIVER(toaplan1_state, screen_update_toaplan1)
MCFG_SCREEN_VBLANK_DRIVER(toaplan1_state, screen_eof_toaplan1)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", toaplan1)
MCFG_PALETTE_ADD("palette", (64*16)+(64*16))
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
diff --git a/src/mame/drivers/toaplan2.c b/src/mame/drivers/toaplan2.c
index 3b062685307..70d132e2138 100644
--- a/src/mame/drivers/toaplan2.c
+++ b/src/mame/drivers/toaplan2.c
@@ -3275,7 +3275,7 @@ static MACHINE_CONFIG_START( dogyuun, toaplan2_state )
MCFG_DEVICE_ADD_VDP0
MCFG_GP9001_VDP_GFXDECODE("gfxdecode")
MCFG_GP9001_VDP_PALETTE("palette")
-
+
MCFG_DEVICE_ADD_VDP1
MCFG_GP9001_VDP_GFXDECODE("gfxdecode")
MCFG_GP9001_VDP_PALETTE("palette")
@@ -3713,7 +3713,7 @@ static MACHINE_CONFIG_START( batsugun, toaplan2_state )
MCFG_DEVICE_ADD_VDP0
MCFG_GP9001_VDP_GFXDECODE("gfxdecode")
MCFG_GP9001_VDP_PALETTE("palette")
-
+
MCFG_DEVICE_ADD_VDP1
MCFG_GP9001_VDP_GFXDECODE("gfxdecode")
MCFG_GP9001_VDP_PALETTE("palette")
@@ -4598,7 +4598,7 @@ ROM_START( batsugun )
ROM_REGION( 0x1000, "plds", 0 ) /* Logic for mixing output of both GP9001 GFX controllers */
ROM_LOAD( "tp030_u19_gal16v8b-15.bin", 0x0000, 0x117, CRC(f71669e8) SHA1(ec1fbe04605fee864af4b01f001af227938c9f21) )
-// ROM_LOAD( "tp030_u19_gal16v8b-15.jed", 0x0000, 0x991, CRC(31be54a2) SHA1(06278942a9a2ea858c0352b2ef5a65bf329b7b82) )
+// ROM_LOAD( "tp030_u19_gal16v8b-15.jed", 0x0000, 0x991, CRC(31be54a2) SHA1(06278942a9a2ea858c0352b2ef5a65bf329b7b82) )
ROM_END
diff --git a/src/mame/drivers/tourtabl.c b/src/mame/drivers/tourtabl.c
index a335e4c1927..976b29cea6c 100644
--- a/src/mame/drivers/tourtabl.c
+++ b/src/mame/drivers/tourtabl.c
@@ -178,7 +178,7 @@ static MACHINE_CONFIG_START( tourtabl, tourtabl_state )
MCFG_DEVICE_ADD("tia_video", TIA_NTSC_VIDEO, 0)
MCFG_TIA_READ_INPUT_PORT_CB(READ16(tourtabl_state, tourtabl_read_input_port))
MCFG_TIA_DATABUS_CONTENTS_CB(READ8(tourtabl_state, tourtabl_get_databus_contents))
-
+
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS( MASTER_CLOCK, 228, 34, 34 + 160, 262, 46, 46 + 200 )
MCFG_SCREEN_UPDATE_DEVICE("tia_video", tia_video_device, screen_update)
diff --git a/src/mame/drivers/toypop.c b/src/mame/drivers/toypop.c
index e100b8e919b..899bc6a8531 100644
--- a/src/mame/drivers/toypop.c
+++ b/src/mame/drivers/toypop.c
@@ -532,19 +532,19 @@ static MACHINE_CONFIG_START( liblrabl, toypop_state )
MCFG_NAMCO58XX_IN_1_CB(IOPORT("P1_RIGHT"))
MCFG_NAMCO58XX_IN_2_CB(IOPORT("P2_RIGHT"))
MCFG_NAMCO58XX_IN_3_CB(IOPORT("BUTTONS"))
-
+
MCFG_DEVICE_ADD("56xx_1", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_0_CB(READ8(toypop_state, dipA_h))
MCFG_NAMCO56XX_IN_1_CB(READ8(toypop_state, dipB_l))
MCFG_NAMCO56XX_IN_2_CB(READ8(toypop_state, dipB_h))
MCFG_NAMCO56XX_IN_3_CB(READ8(toypop_state, dipA_l))
MCFG_NAMCO56XX_OUT_0_CB(WRITE8(toypop_state, flip))
-
+
MCFG_DEVICE_ADD("56xx_2", NAMCO56XX, 0)
MCFG_NAMCO56XX_IN_1_CB(IOPORT("P1_LEFT"))
MCFG_NAMCO56XX_IN_2_CB(IOPORT("P2_LEFT"))
MCFG_NAMCO56XX_IN_3_CB(IOPORT("SERVICE"))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60.606060)
diff --git a/src/mame/drivers/triforce.c b/src/mame/drivers/triforce.c
index c3dd21d8c01..c3350e07d08 100644
--- a/src/mame/drivers/triforce.c
+++ b/src/mame/drivers/triforce.c
@@ -194,7 +194,7 @@ Notes:
DSW - 2-position DIP Switch, present only on Sega GDROM version PCB
PIC16C621 - DIP18 socket and 4MHz OSC on a 90-degrees-mounted small PCB for
Microchip PIC16C621A protection key chip
-
+
ROM Board (attached to CN3 of Media Board, ONLY for use with Namco ROM cart version of the Media Board)
---------
diff --git a/src/mame/drivers/truco.c b/src/mame/drivers/truco.c
index bf4d3dc6834..774387e2930 100644
--- a/src/mame/drivers/truco.c
+++ b/src/mame/drivers/truco.c
@@ -83,7 +83,7 @@
- U15: 20-pin IC YES PLD PALCE16V8H-25 EE CMOS Zero-Power 20-Pin Universal Programmable Array Logic.
- U16: 20-pin IC YES PLD PALCE16V8H-25 EE CMOS Zero-Power 20-Pin Universal Programmable Array Logic.
- U17: 14-pin IC YES TTL HD74LS00P Quadruple 2-Input NAND Gates.
- - U18: 14-pin IC YES TTL KS74HCTLS86N Quad 2−Input Exclusive OR Gate.
+ - U18: 14-pin IC YES TTL KS74HCTLS86N Quad 2???Input Exclusive OR Gate.
- U19: 16-pin IC YES WATCHDOG MAXIM MAX691 Microprocessor Supervisory Circuits.
- U20: 16-pin IC YES DARLINGTON ULN2003 7 NPN Darlington transistor pairs with high voltage and current capability.
diff --git a/src/mame/drivers/tugboat.c b/src/mame/drivers/tugboat.c
index a5117149892..f574845d41e 100644
--- a/src/mame/drivers/tugboat.c
+++ b/src/mame/drivers/tugboat.c
@@ -49,7 +49,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_hd46505_0_reg[18];
UINT8 m_hd46505_1_reg[18];
int m_reg0;
diff --git a/src/mame/drivers/tumbleb.c b/src/mame/drivers/tumbleb.c
index d88ae113ec3..7c9a8ebaf30 100644
--- a/src/mame/drivers/tumbleb.c
+++ b/src/mame/drivers/tumbleb.c
@@ -2067,7 +2067,7 @@ static MACHINE_CONFIG_START( tumblepb, tumbleb_state )
MCFG_GFXDECODE_ADD("gfxdecode", "palette", tumbleb)
MCFG_PALETTE_ADD("palette", 1024)
- MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
+ MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
MCFG_VIDEO_START_OVERRIDE(tumbleb_state,tumblepb)
diff --git a/src/mame/drivers/tumblep.c b/src/mame/drivers/tumblep.c
index 97f24da2f51..bd4d5686424 100644
--- a/src/mame/drivers/tumblep.c
+++ b/src/mame/drivers/tumblep.c
@@ -312,7 +312,7 @@ static MACHINE_CONFIG_START( tumblep, tumblep_state )
MCFG_DECO16IC_ADD("tilegen1", tumblep_deco16ic_tilegen1_intf)
MCFG_DECO16IC_GFXDECODE("gfxdecode")
MCFG_DECO16IC_PALETTE("palette")
-
+
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
decospr_device::set_gfx_region(*device, 2);
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
diff --git a/src/mame/drivers/turrett.c b/src/mame/drivers/turrett.c
index 98263ad9edb..0ae1fa8c115 100644
--- a/src/mame/drivers/turrett.c
+++ b/src/mame/drivers/turrett.c
@@ -366,7 +366,7 @@ static MACHINE_CONFIG_START( turrett, turrett_state )
MCFG_SCREEN_RAW_PARAMS(4000000, 512, 0, 336, 259, 0, 244)
MCFG_SCREEN_UPDATE_DRIVER(turrett_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD_RRRRRGGGGGBBBBB("palette")
/* sound hardware */
diff --git a/src/mame/drivers/uapce.c b/src/mame/drivers/uapce.c
index a28f726fae2..cccf9e97505 100644
--- a/src/mame/drivers/uapce.c
+++ b/src/mame/drivers/uapce.c
@@ -321,7 +321,7 @@ static MACHINE_CONFIG_START( uapce, uapce_state )
MCFG_CPU_PROGRAM_MAP(z80_map)
MCFG_QUANTUM_TIME(attotime::from_hz(60))
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(PCE_MAIN_CLOCK, HUC6260_WPF, 64, 64 + 1024 + 64, HUC6260_LPF, 18, 18 + 242)
diff --git a/src/mame/drivers/ultraman.c b/src/mame/drivers/ultraman.c
index 330b641277b..4c01a1d40b6 100644
--- a/src/mame/drivers/ultraman.c
+++ b/src/mame/drivers/ultraman.c
@@ -230,19 +230,19 @@ static MACHINE_CONFIG_START( ultraman, ultraman_state )
MCFG_PALETTE_ENABLE_SHADOWS()
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K051960_ADD("k051960", ultraman_k051960_intf)
MCFG_K051960_GFXDECODE("gfxdecode")
MCFG_K051960_PALETTE("palette")
-
+
MCFG_K051316_ADD("k051316_1", ultraman_k051316_intf_0)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
-
+
MCFG_K051316_ADD("k051316_2", ultraman_k051316_intf_1)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
-
+
MCFG_K051316_ADD("k051316_3", ultraman_k051316_intf_2)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
diff --git a/src/mame/drivers/vamphalf.c b/src/mame/drivers/vamphalf.c
index 5faadf700a9..98ea2a32450 100644
--- a/src/mame/drivers/vamphalf.c
+++ b/src/mame/drivers/vamphalf.c
@@ -90,7 +90,7 @@ public:
optional_shared_ptr<UINT16> m_wram;
optional_shared_ptr<UINT32> m_tiles32;
optional_shared_ptr<UINT32> m_wram32;
-
+
required_device<cpu_device> m_maincpu;
optional_device<qs1000_device> m_qs1000;
optional_device<okim6295_device> m_oki;
@@ -98,7 +98,7 @@ public:
required_device<eeprom_serial_93cxx_device> m_eeprom;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
int m_flip_bit;
int m_flipscreen;
int m_palshift;
diff --git a/src/mame/drivers/vaportra.c b/src/mame/drivers/vaportra.c
index 2206d98c685..6d1eecddb16 100644
--- a/src/mame/drivers/vaportra.c
+++ b/src/mame/drivers/vaportra.c
@@ -256,7 +256,7 @@ static MACHINE_CONFIG_START( vaportra, vaportra_state )
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
MCFG_SCREEN_UPDATE_DRIVER(vaportra_state, screen_update_vaportra)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", vaportra)
MCFG_PALETTE_ADD("palette", 1280)
diff --git a/src/mame/drivers/vball.c b/src/mame/drivers/vball.c
index 92537a230f1..f70bf9902b8 100644
--- a/src/mame/drivers/vball.c
+++ b/src/mame/drivers/vball.c
@@ -409,7 +409,7 @@ static MACHINE_CONFIG_START( vball, vball_state )
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 0, 256, 272, 8, 248) /* based on ddragon driver */
MCFG_SCREEN_UPDATE_DRIVER(vball_state, screen_update_vb)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", vb)
MCFG_PALETTE_ADD("palette", 256)
diff --git a/src/mame/drivers/vega.c b/src/mame/drivers/vega.c
index 32eb06d18ad..9ea44aeb954 100644
--- a/src/mame/drivers/vega.c
+++ b/src/mame/drivers/vega.c
@@ -582,7 +582,7 @@ UINT32 vega_state::screen_update_vega(screen_device &screen, bitmap_ind16 &bitma
// if(color==0) color=0xf;
- m_gfxdecode->gfx(0)->transpen(bitmap,cliprect, character, color, 0, 0, x*7, y*10,0);
+ m_gfxdecode->gfx(0)->transpen(bitmap,cliprect, character, color, 0, 0, x*7, y*10,0);
++idx;
}
@@ -603,7 +603,7 @@ UINT32 vega_state::screen_update_vega(screen_device &screen, bitmap_ind16 &bitma
{
//for(int x=0;x<4;++x)
{
- m_gfxdecode->gfx(2)->transpen(bitmap,cliprect, num, 0, 1, flip?1:0, x*4+x0, (flip?(3-y):y)*8+y0, 0);
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect, num, 0, 1, flip?1:0, x*4+x0, (flip?(3-y):y)*8+y0, 0);
++num;
}
}
@@ -643,7 +643,7 @@ UINT32 vega_state::screen_update_vega(screen_device &screen, bitmap_ind16 &bitma
for(int y=0;y<4;++y)
{
- m_gfxdecode->gfx(3)->transpen(bitmap,cliprect, strip_num, 0, !xor_line, 0, x*4+x0, y*8+y0, 0);
+ m_gfxdecode->gfx(3)->transpen(bitmap,cliprect, strip_num, 0, !xor_line, 0, x*4+x0, y*8+y0, 0);
++strip_num;
}
}
diff --git a/src/mame/drivers/vendetta.c b/src/mame/drivers/vendetta.c
index 2ef76f88184..33cb75b04d7 100644
--- a/src/mame/drivers/vendetta.c
+++ b/src/mame/drivers/vendetta.c
@@ -443,7 +443,7 @@ void vendetta_state::machine_start()
m_paletteram.resize(0x1000);
m_palette->basemem().set(m_paletteram, ENDIANNESS_BIG, 2);
-
+
save_item(NAME(m_paletteram));
save_item(NAME(m_irq_enabled));
save_item(NAME(m_sprite_colorbase));
diff --git a/src/mame/drivers/vlc.c b/src/mame/drivers/vlc.c
index 709520f10f3..5d678ca0d09 100644
--- a/src/mame/drivers/vlc.c
+++ b/src/mame/drivers/vlc.c
@@ -327,7 +327,7 @@ PALETTE_INIT_MEMBER(nevada_state, nevada)
void nevada_state::nvram_init(nvram_device &nvram, void *data, size_t size)
{
memset(data, 0x00, size);
- if (memregion("defaults")->base())
+ if (memregion("defaults")->base())
memcpy(data, memregion("defaults")->base(), memregion("defaults")->bytes());
}
@@ -649,7 +649,7 @@ static MACHINE_CONFIG_START( nevada, nevada_state )
MCFG_MC68681_INPORT_CALLBACK(IOPORT("DSW3"))
MCFG_MICROTOUCH_SERIAL_ADD( "microtouch", 9600, DEVWRITELINE("duart40_68681", mc68681_device, rx_a_w) )
-
+
/* devices */
MCFG_DEVICE_ADD("rtc", MSM6242, XTAL_32_768kHz)
MCFG_MSM6242_OUT_INT_HANDLER(WRITELINE(nevada_state, nevada_rtc_irq))
diff --git a/src/mame/drivers/volfied.c b/src/mame/drivers/volfied.c
index 788410e7aa5..61795621478 100644
--- a/src/mame/drivers/volfied.c
+++ b/src/mame/drivers/volfied.c
@@ -274,7 +274,7 @@ static MACHINE_CONFIG_START( volfied, volfied_state )
MCFG_PC090OJ_ADD("pc090oj", volfied_pc090oj_intf)
MCFG_PC090OJ_GFXDECODE("gfxdecode")
MCFG_PC090OJ_PALETTE("palette")
-
+
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
diff --git a/src/mame/drivers/vp101.c b/src/mame/drivers/vp101.c
index 1258fc2cf17..d9e7f2e133c 100644
--- a/src/mame/drivers/vp101.c
+++ b/src/mame/drivers/vp101.c
@@ -93,7 +93,7 @@ static MACHINE_CONFIG_START( vp101, vp10x_state )
MCFG_SCREEN_SIZE(320, 240)
MCFG_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 32768)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/wardner.c b/src/mame/drivers/wardner.c
index e5a0eff9446..2efed984aa5 100644
--- a/src/mame/drivers/wardner.c
+++ b/src/mame/drivers/wardner.c
@@ -164,8 +164,8 @@ WRITE8_MEMBER(wardner_state::wardner_bank_w)
static ADDRESS_MAP_START( main_program_map, AS_PROGRAM, 8, wardner_state )
AM_RANGE(0x0000, 0x6fff) AM_ROM
AM_RANGE(0x7000, 0x7fff) AM_RAM
- AM_RANGE(0x8000, 0x8fff) AM_WRITE(wardner_sprite_w) // AM_SHARE("spriteram8")
- AM_RANGE(0xa000, 0xafff) AM_DEVWRITE("palette", palette_device, write) // AM_SHARE("palette")
+ AM_RANGE(0x8000, 0x8fff) AM_WRITE(wardner_sprite_w) // AM_SHARE("spriteram8")
+ AM_RANGE(0xa000, 0xafff) AM_DEVWRITE("palette", palette_device, write) // AM_SHARE("palette")
AM_RANGE(0xc000, 0xc7ff) AM_WRITEONLY AM_SHARE("sharedram")
AM_RANGE(0x8000, 0xffff) AM_DEVREAD("membank", address_map_bank_device, read8)
ADDRESS_MAP_END
diff --git a/src/mame/drivers/warpwarp.c b/src/mame/drivers/warpwarp.c
index 16471c13cca..1a8442de49d 100644
--- a/src/mame/drivers/warpwarp.c
+++ b/src/mame/drivers/warpwarp.c
@@ -772,7 +772,7 @@ static MACHINE_CONFIG_START( bombbee, warpwarp_state )
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", color)
-
+
MCFG_PALETTE_ADD("palette", 2*256+1)
MCFG_PALETTE_INIT_OWNER(warpwarp_state,warpwarp)
MCFG_VIDEO_START_OVERRIDE(warpwarp_state,warpwarp)
diff --git a/src/mame/drivers/wecleman.c b/src/mame/drivers/wecleman.c
index e46debb5a30..1f0b8e0abab 100644
--- a/src/mame/drivers/wecleman.c
+++ b/src/mame/drivers/wecleman.c
@@ -1157,7 +1157,7 @@ static MACHINE_CONFIG_START( hotchase, wecleman_state )
MCFG_K051316_ADD("k051316_1", hotchase_k051316_intf_0)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
-
+
MCFG_K051316_ADD("k051316_2", hotchase_k051316_intf_1)
MCFG_K051316_GFXDECODE("gfxdecode")
MCFG_K051316_PALETTE("palette")
diff --git a/src/mame/drivers/welltris.c b/src/mame/drivers/welltris.c
index d7b87cf988b..0a2f85af086 100644
--- a/src/mame/drivers/welltris.c
+++ b/src/mame/drivers/welltris.c
@@ -742,7 +742,7 @@ static MACHINE_CONFIG_DERIVED( quiz18k, welltris )
MCFG_SCREEN_VISIBLE_AREA(15, 335-1, 0, 224-1)
MCFG_DEVICE_MODIFY("vsystem_spr_old")
- MCFG_VSYSTEM_SPR2_SET_OFFSETS(6, 1)
+ MCFG_VSYSTEM_SPR2_SET_OFFSETS(6, 1)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/witch.c b/src/mame/drivers/witch.c
index 46e73096f4b..a1c98e52b53 100644
--- a/src/mame/drivers/witch.c
+++ b/src/mame/drivers/witch.c
@@ -221,7 +221,7 @@ TODO :
#define MAIN_CLOCK XTAL_12MHz
#define CPU_CLOCK MAIN_CLOCK / 4
#define YM2203_CLOCK MAIN_CLOCK / 4
-#define ES8712_CLOCK 8000 // 8Khz, it's the only clock for sure (pin13) it come from pin14 of M5205.
+#define ES8712_CLOCK 8000 // 8Khz, it's the only clock for sure (pin13) it come from pin14 of M5205.
#include "emu.h"
@@ -249,18 +249,18 @@ public:
tilemap_t *m_gfx0a_tilemap;
tilemap_t *m_gfx0b_tilemap;
tilemap_t *m_gfx1_tilemap;
-
+
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_subcpu;
required_device<gfxdecode_device> m_gfxdecode;
-
+
required_shared_ptr<UINT8> m_gfx0_vram;
required_shared_ptr<UINT8> m_gfx0_cram;
required_shared_ptr<UINT8> m_gfx1_vram;
required_shared_ptr<UINT8> m_gfx1_cram;
required_shared_ptr<UINT8> m_sprite_ram;
required_device<palette_device> m_palette;
-
+
int m_scrollx;
int m_scrolly;
UINT8 m_reg_a002;
@@ -305,7 +305,7 @@ TILE_GET_INFO_MEMBER(witch_state::get_gfx0b_tile_info)
}
SET_TILE_INFO_MEMBER(1,
- code, //tiles beyond 0x7ff only for sprites?
+ code, //tiles beyond 0x7ff only for sprites?
color & 0x0f,
0);
}
@@ -833,7 +833,7 @@ static MACHINE_CONFIG_START( witch, witch_state )
MCFG_CPU_ADD("sub", Z80, CPU_CLOCK) /* 3 MHz */
MCFG_CPU_PROGRAM_MAP(map_sub)
MCFG_CPU_VBLANK_INT_DRIVER("screen", witch_state, irq0_line_assert)
-
+
MCFG_QUANTUM_TIME(attotime::from_hz(6000))
MCFG_NVRAM_ADD_0FILL("nvram")
@@ -854,14 +854,14 @@ static MACHINE_CONFIG_START( witch, witch_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_ES8712_ADD("essnd", ES8712_CLOCK) /* 8Khz, it's the only clock for sure (pin13) it comes from pin14 of M5205 */
+ MCFG_ES8712_ADD("essnd", ES8712_CLOCK) /* 8Khz, it's the only clock for sure (pin13) it comes from pin14 of M5205 */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MCFG_SOUND_ADD("ym1", YM2203, YM2203_CLOCK) /* 3 MHz */
+ MCFG_SOUND_ADD("ym1", YM2203, YM2203_CLOCK) /* 3 MHz */
MCFG_YM2203_AY8910_INTF(&ay8910_config_1)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
- MCFG_SOUND_ADD("ym2", YM2203, YM2203_CLOCK) /* 3 MHz */
+ MCFG_SOUND_ADD("ym2", YM2203, YM2203_CLOCK) /* 3 MHz */
MCFG_YM2203_AY8910_INTF(&ay8910_config_2)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
diff --git a/src/mame/drivers/wiz.c b/src/mame/drivers/wiz.c
index c950fcefc1c..d5a8ecc1e8c 100644
--- a/src/mame/drivers/wiz.c
+++ b/src/mame/drivers/wiz.c
@@ -335,7 +335,7 @@ static ADDRESS_MAP_START( wiz_main_map, AS_PROGRAM, 8, wiz_state )
ADDRESS_MAP_END
static ADDRESS_MAP_START( stinger_main_map, AS_PROGRAM, 8, wiz_state )
-// AM_RANGE(0xf008, 0xf00f) AM_WRITENOP // ?
+// AM_RANGE(0xf008, 0xf00f) AM_WRITENOP // ?
AM_RANGE(0xf800, 0xf800) AM_READ(watchdog_reset_r)
AM_RANGE(0xf808, 0xf808) AM_WRITE(stinger_explosion_w)
AM_RANGE(0xf80a, 0xf80a) AM_WRITE(stinger_shot_w)
@@ -751,7 +751,7 @@ void wiz_state::machine_start()
save_item(NAME(m_sound_nmi_mask));
save_item(NAME(m_dsc0));
save_item(NAME(m_dsc1));
-
+
save_item(NAME(m_sprite_bank));
save_item(NAME(m_charbank));
save_item(NAME(m_palbank));
diff --git a/src/mame/drivers/wolfpack.c b/src/mame/drivers/wolfpack.c
index e4b2efea3d5..94d29122285 100644
--- a/src/mame/drivers/wolfpack.c
+++ b/src/mame/drivers/wolfpack.c
@@ -313,7 +313,7 @@ static MACHINE_CONFIG_START( wolfpack, wolfpack_state )
MCFG_SCREEN_UPDATE_DRIVER(wolfpack_state, screen_update_wolfpack)
MCFG_SCREEN_VBLANK_DRIVER(wolfpack_state, screen_eof_wolfpack)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "palette", wolfpack)
MCFG_PALETTE_ADD("palette", 12)
MCFG_PALETTE_INDIRECT_ENTRIES(8)
diff --git a/src/mame/drivers/xmen.c b/src/mame/drivers/xmen.c
index 58ab89a3a29..b8e224a1537 100644
--- a/src/mame/drivers/xmen.c
+++ b/src/mame/drivers/xmen.c
@@ -359,7 +359,7 @@ static MACHINE_CONFIG_START( xmen, xmen_state )
MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 ) /* correct, same issue of TMNT2 */
MCFG_SCREEN_UPDATE_DRIVER(xmen_state, screen_update_xmen)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_ENABLE_SHADOWS()
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
@@ -436,7 +436,7 @@ static MACHINE_CONFIG_START( xmen6p, xmen_state )
MCFG_K052109_ADD("k052109", xmen_k052109_intf)
MCFG_K052109_GFXDECODE("gfxdecode")
MCFG_K052109_PALETTE("palette")
- MCFG_K053246_ADD("k053246", xmen6p_k053246_intf)
+ MCFG_K053246_ADD("k053246", xmen6p_k053246_intf)
MCFG_K053246_SET_SCREEN("screen")
MCFG_K053246_GFXDECODE("gfxdecode")
MCFG_K053246_PALETTE("palette")
diff --git a/src/mame/drivers/xybots.c b/src/mame/drivers/xybots.c
index 5663a4c0e1b..9bfc3adee36 100644
--- a/src/mame/drivers/xybots.c
+++ b/src/mame/drivers/xybots.c
@@ -190,7 +190,7 @@ static MACHINE_CONFIG_START( xybots, xybots_state )
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", xybots)
-
+
MCFG_PALETTE_ADD("palette", 1024)
MCFG_PALETTE_FORMAT(IIIIRRRRGGGGBBBB)
diff --git a/src/mame/drivers/xyonix.c b/src/mame/drivers/xyonix.c
index 35d4f6c709b..e6ee7229bac 100644
--- a/src/mame/drivers/xyonix.c
+++ b/src/mame/drivers/xyonix.c
@@ -238,7 +238,7 @@ static MACHINE_CONFIG_START( xyonix, xyonix_state )
MCFG_SOUND_ADD("sn1", SN76496, 16000000/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
-
+
MCFG_SOUND_ADD("sn2", SN76496, 16000000/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/zaxxon.c b/src/mame/drivers/zaxxon.c
index 70226e09646..82b152111fb 100644
--- a/src/mame/drivers/zaxxon.c
+++ b/src/mame/drivers/zaxxon.c
@@ -1011,7 +1011,7 @@ static MACHINE_CONFIG_DERIVED( congo, root )
MCFG_PALETTE_MODIFY("palette")
MCFG_PALETTE_ENTRIES(512)
MCFG_PALETTE_INIT_OWNER(zaxxon_state, zaxxon)
-
+
MCFG_VIDEO_START_OVERRIDE(zaxxon_state,congo)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_UPDATE_DRIVER(zaxxon_state, screen_update_congo)
diff --git a/src/mame/drivers/zr107.c b/src/mame/drivers/zr107.c
index 31d34782437..cd28d56a127 100644
--- a/src/mame/drivers/zr107.c
+++ b/src/mame/drivers/zr107.c
@@ -776,7 +776,7 @@ static MACHINE_CONFIG_START( zr107, zr107_state )
MCFG_VIDEO_START_OVERRIDE(zr107_state,zr107)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K056832_ADD("k056832", zr107_k056832_intf)
MCFG_K056832_GFXDECODE("gfxdecode")
MCFG_K056832_PALETTE("palette")
@@ -840,7 +840,7 @@ static MACHINE_CONFIG_START( jetwave, zr107_state )
MCFG_VIDEO_START_OVERRIDE(zr107_state,jetwave)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", empty)
-
+
MCFG_K001604_ADD("k001604", jetwave_k001604_intf)
MCFG_K001604_GFXDECODE("gfxdecode")
MCFG_K001604_PALETTE("palette")
@@ -1107,4 +1107,3 @@ GAME( 1996, windheata,windheat, zr107, windheat, zr107_state, zr107, ROT0, "
GAME( 1996, jetwave, 0, jetwave, jetwave, zr107_state, jetwave, ROT0, "Konami", "Jet Wave (EAB, Euro v1.04)", GAME_IMPERFECT_GRAPHICS )
GAME( 1996, waveshrk, jetwave, jetwave, jetwave, zr107_state, jetwave, ROT0, "Konami", "Wave Shark (UAB, USA v1.04)", GAME_IMPERFECT_GRAPHICS )
GAME( 1996, jetwavej, jetwave, jetwave, jetwave, zr107_state, jetwave, ROT0, "Konami", "Jet Wave (JAB, Japan v1.04)", GAME_IMPERFECT_GRAPHICS )
-
diff --git a/src/mame/etc/template_driver.c b/src/mame/etc/template_driver.c
index a48f269797f..40e949366fd 100644
--- a/src/mame/etc/template_driver.c
+++ b/src/mame/etc/template_driver.c
@@ -146,11 +146,11 @@ static MACHINE_CONFIG_START( xxx, xxx_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
+// MCFG_SCREEN_REFRESH_RATE(60)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
MCFG_SCREEN_UPDATE_DRIVER(xxx_state, screen_update)
-// MCFG_SCREEN_SIZE(32*8, 32*8)
-// MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
+// MCFG_SCREEN_SIZE(32*8, 32*8)
+// MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
MCFG_SCREEN_RAW_PARAMS(MAIN_CLOCK/2, 442, 0, 320, 264, 0, 240) /* generic video timing, change accordingly */
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/includes/1943.h b/src/mame/includes/1943.h
index b4dcaa36123..30a922032bb 100644
--- a/src/mame/includes/1943.h
+++ b/src/mame/includes/1943.h
@@ -30,7 +30,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* video-related */
tilemap_t *m_fg_tilemap;
tilemap_t *m_bg_tilemap;
diff --git a/src/mame/includes/airbustr.h b/src/mame/includes/airbustr.h
index 738252a876d..bdb9d9729cc 100644
--- a/src/mame/includes/airbustr.h
+++ b/src/mame/includes/airbustr.h
@@ -54,7 +54,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(devram_r);
DECLARE_WRITE8_MEMBER(master_nmi_trigger_w);
DECLARE_WRITE8_MEMBER(master_bankswitch_w);
diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h
index 825257bae13..3943f5379c3 100644
--- a/src/mame/includes/amiga.h
+++ b/src/mame/includes/amiga.h
@@ -432,7 +432,7 @@ public:
required_device<screen_device> m_screen;
optional_device<palette_device> m_palette;
-
+
address_space* m_maincpu_program_space;
const amiga_machine_interface *m_intf;
@@ -499,7 +499,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(amiga_cia_1_irq);
DECLARE_READ8_MEMBER( amiga_cia_0_portA_r );
DECLARE_WRITE8_MEMBER( amiga_cia_0_portA_w );
-
+
DECLARE_READ16_MEMBER( amiga_clock_r );
DECLARE_WRITE16_MEMBER( amiga_clock_w );
diff --git a/src/mame/includes/atari.h b/src/mame/includes/atari.h
index b8f0b372f83..88cd2797e9d 100644
--- a/src/mame/includes/atari.h
+++ b/src/mame/includes/atari.h
@@ -21,7 +21,7 @@ class atari_common_state : public driver_device
public:
atari_common_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- tv_artifacts(0) { }
+ tv_artifacts(0) { }
void a600xl_mmu(UINT8 new_mmu);
diff --git a/src/mame/includes/atarisy1.h b/src/mame/includes/atarisy1.h
index 7471eb91fce..8263dd3cc05 100644
--- a/src/mame/includes/atarisy1.h
+++ b/src/mame/includes/atarisy1.h
@@ -48,7 +48,7 @@ public:
int m_next_timer_scanline;
required_device<timer_device> m_scanline_timer;
required_device<timer_device> m_int3off_timer;
-
+
/* speech */
required_device<tms5220_device> m_tms;
diff --git a/src/mame/includes/aztarac.h b/src/mame/includes/aztarac.h
index 2ae80c39f74..0636d55bed1 100644
--- a/src/mame/includes/aztarac.h
+++ b/src/mame/includes/aztarac.h
@@ -23,7 +23,7 @@ public:
required_device<vector_device> m_vector;
required_shared_ptr<UINT16> m_nvram;
required_shared_ptr<UINT16> m_vectorram;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
int m_sound_status;
int m_xcenter;
diff --git a/src/mame/includes/balsente.h b/src/mame/includes/balsente.h
index ed30d2f9984..2bc4de8a0a9 100644
--- a/src/mame/includes/balsente.h
+++ b/src/mame/includes/balsente.h
@@ -219,7 +219,7 @@ public:
required_device<cpu_device> m_audiocpu;
optional_device<cpu_device> m_68k;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/battlane.h b/src/mame/includes/battlane.h
index 9ad94c4edd8..5fb7c0d7161 100644
--- a/src/mame/includes/battlane.h
+++ b/src/mame/includes/battlane.h
@@ -31,7 +31,7 @@ public:
required_device<cpu_device> m_subcpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(battlane_cpu_command_w);
DECLARE_WRITE8_MEMBER(battlane_palette_w);
DECLARE_WRITE8_MEMBER(battlane_scrollx_w);
diff --git a/src/mame/includes/battlera.h b/src/mame/includes/battlera.h
index 1a9b12e6bab..225e5368cef 100644
--- a/src/mame/includes/battlera.h
+++ b/src/mame/includes/battlera.h
@@ -54,5 +54,5 @@ public:
required_device<msm5205_device> m_msm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/bfm_sc45.h b/src/mame/includes/bfm_sc45.h
index efc6debfd86..cce6a0be8a3 100644
--- a/src/mame/includes/bfm_sc45.h
+++ b/src/mame/includes/bfm_sc45.h
@@ -102,7 +102,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(bfmdm01_busy);
-
+
DECLARE_READ16_MEMBER(sc4_mem_r);
DECLARE_WRITE16_MEMBER(sc4_mem_w);
@@ -112,12 +112,12 @@ public:
DECLARE_WRITE_LINE_MEMBER(bfm_sc4_duart_txa);
DECLARE_READ8_MEMBER(bfm_sc4_duart_input_r);
DECLARE_WRITE8_MEMBER(bfm_sc4_duart_output_w);
-
+
DECLARE_WRITE_LINE_MEMBER(m68307_duart_irq_handler);
DECLARE_WRITE_LINE_MEMBER(m68307_duart_txa);
DECLARE_READ8_MEMBER(m68307_duart_input_r);
DECLARE_WRITE8_MEMBER(m68307_duart_output_w);
-
+
DECLARE_DRIVER_INIT(sc4);
DECLARE_DRIVER_INIT(sc4mbus);
DECLARE_DRIVER_INIT(sc4cvani);
diff --git a/src/mame/includes/bigevglf.h b/src/mame/includes/bigevglf.h
index 7536552ef5c..a3c09debd42 100644
--- a/src/mame/includes/bigevglf.h
+++ b/src/mame/includes/bigevglf.h
@@ -106,5 +106,5 @@ public:
required_device<msm5232_device> m_msm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/bladestl.h b/src/mame/includes/bladestl.h
index 33e05dc6053..284ed3201c5 100644
--- a/src/mame/includes/bladestl.h
+++ b/src/mame/includes/bladestl.h
@@ -55,4 +55,3 @@ public:
K007342_CALLBACK_MEMBER(bladestl_tile_callback);
K007420_CALLBACK_MEMBER(bladestl_sprite_callback);
};
-
diff --git a/src/mame/includes/btime.h b/src/mame/includes/btime.h
index 8b274682877..7886a6b39b2 100644
--- a/src/mame/includes/btime.h
+++ b/src/mame/includes/btime.h
@@ -63,7 +63,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(audio_nmi_enable_w);
DECLARE_WRITE8_MEMBER(lnc_w);
DECLARE_WRITE8_MEMBER(mmonkey_w);
diff --git a/src/mame/includes/bublbobl.h b/src/mame/includes/bublbobl.h
index 24161903c79..e12def8338b 100644
--- a/src/mame/includes/bublbobl.h
+++ b/src/mame/includes/bublbobl.h
@@ -70,7 +70,7 @@ public:
required_device<cpu_device> m_slave;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(bublbobl_bankswitch_w);
DECLARE_WRITE8_MEMBER(tokio_bankswitch_w);
DECLARE_WRITE8_MEMBER(tokio_videoctrl_w);
diff --git a/src/mame/includes/bwing.h b/src/mame/includes/bwing.h
index 72a083fce71..5fd1e777e11 100644
--- a/src/mame/includes/bwing.h
+++ b/src/mame/includes/bwing.h
@@ -58,7 +58,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(bwp12_sharedram1_w);
DECLARE_WRITE8_MEMBER(bwp3_u8F_w);
DECLARE_WRITE8_MEMBER(bwp3_nmimask_w);
diff --git a/src/mame/includes/calomega.h b/src/mame/includes/calomega.h
index d6e56e5ec47..ffa5dbd5d7f 100644
--- a/src/mame/includes/calomega.h
+++ b/src/mame/includes/calomega.h
@@ -12,7 +12,7 @@ public:
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
diff --git a/src/mame/includes/carpolo.h b/src/mame/includes/carpolo.h
index a88746c61c6..d60e6f8d69f 100644
--- a/src/mame/includes/carpolo.h
+++ b/src/mame/includes/carpolo.h
@@ -65,7 +65,7 @@ public:
required_device<ttl7474_device> m_ttl7474_1a_2;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
bitmap_ind16 *m_sprite_sprite_collision_bitmap1;
bitmap_ind16 *m_sprite_sprite_collision_bitmap2;
bitmap_ind16 *m_sprite_goal_collision_bitmap1;
diff --git a/src/mame/includes/cave.h b/src/mame/includes/cave.h
index 8f8d5a893b1..9136fcf4853 100644
--- a/src/mame/includes/cave.h
+++ b/src/mame/includes/cave.h
@@ -240,7 +240,7 @@ public:
optional_device<eeprom_serial_93cxx_device> m_eeprom;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
void update_irq_state();
void unpack_sprites(const char *region);
void ddonpach_unpack_sprites(const char *region);
diff --git a/src/mame/includes/ccastles.h b/src/mame/includes/ccastles.h
index 49baba810b9..d02afea2db1 100644
--- a/src/mame/includes/ccastles.h
+++ b/src/mame/includes/ccastles.h
@@ -32,7 +32,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
/* video-related */
const UINT8 *m_syncprom;
const UINT8 *m_wpprom;
diff --git a/src/mame/includes/cchasm.h b/src/mame/includes/cchasm.h
index 4ff7a980ff2..69537a5dc3c 100644
--- a/src/mame/includes/cchasm.h
+++ b/src/mame/includes/cchasm.h
@@ -35,7 +35,7 @@ public:
required_device<dac_device> m_dac2;
required_device<vector_device> m_vector;
required_device<screen_device> m_screen;
-
+
int m_sound_flags;
int m_coin_flag;
int m_channel_active[2];
diff --git a/src/mame/includes/centiped.h b/src/mame/includes/centiped.h
index 77a5f0ebe18..89cd6c47a94 100644
--- a/src/mame/includes/centiped.h
+++ b/src/mame/includes/centiped.h
@@ -94,5 +94,5 @@ public:
optional_device<eeprom_serial_93cxx_device> m_eeprom;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/cidelsa.h b/src/mame/includes/cidelsa.h
index 60b38a68645..c08214cd911 100644
--- a/src/mame/includes/cidelsa.h
+++ b/src/mame/includes/cidelsa.h
@@ -65,7 +65,7 @@ public:
DECLARE_WRITE_LINE_MEMBER( q_w );
DECLARE_WRITE_LINE_MEMBER( prd_w );
DECLARE_READ_LINE_MEMBER( cdp1869_pcb_r );
-
+
CDP1869_CHAR_RAM_READ_MEMBER(cidelsa_charram_r);
CDP1869_CHAR_RAM_WRITE_MEMBER(cidelsa_charram_w);
CDP1869_PCB_READ_MEMBER(cidelsa_pcb_r);
@@ -104,7 +104,7 @@ public:
DECLARE_WRITE8_MEMBER( psg_w );
DECLARE_WRITE8_MEMBER( out1_w );
DECLARE_WRITE8_MEMBER( psg_pb_w );
-
+
CDP1869_CHAR_RAM_READ_MEMBER(draco_charram_r);
CDP1869_CHAR_RAM_WRITE_MEMBER(draco_charram_w);
CDP1869_PCB_READ_MEMBER(draco_pcb_r);
diff --git a/src/mame/includes/citycon.h b/src/mame/includes/citycon.h
index 69a5addd8ea..6f57cc41f80 100644
--- a/src/mame/includes/citycon.h
+++ b/src/mame/includes/citycon.h
@@ -33,7 +33,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(citycon_in_r);
DECLARE_READ8_MEMBER(citycon_irq_ack_r);
DECLARE_WRITE8_MEMBER(citycon_videoram_w);
diff --git a/src/mame/includes/cninja.h b/src/mame/includes/cninja.h
index fd007e1ab0d..789d361fbeb 100644
--- a/src/mame/includes/cninja.h
+++ b/src/mame/includes/cninja.h
@@ -65,7 +65,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
/* misc */
int m_scanline;
int m_irq_mask;
diff --git a/src/mame/includes/combatsc.h b/src/mame/includes/combatsc.h
index d05cde2c691..896495af03a 100644
--- a/src/mame/includes/combatsc.h
+++ b/src/mame/includes/combatsc.h
@@ -58,7 +58,7 @@ public:
optional_device<msm5205_device> m_msm5205;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(combatsc_vreg_w);
DECLARE_WRITE8_MEMBER(combatscb_sh_irqtrigger_w);
DECLARE_READ8_MEMBER(combatscb_io_r);
diff --git a/src/mame/includes/contra.h b/src/mame/includes/contra.h
index 2349622948e..2a6b06a15eb 100644
--- a/src/mame/includes/contra.h
+++ b/src/mame/includes/contra.h
@@ -76,5 +76,5 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/cop01.h b/src/mame/includes/cop01.h
index c7e6db1eeac..c78467b45f4 100644
--- a/src/mame/includes/cop01.h
+++ b/src/mame/includes/cop01.h
@@ -36,7 +36,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(cop01_sound_command_w);
DECLARE_READ8_MEMBER(cop01_sound_command_r);
DECLARE_WRITE8_MEMBER(cop01_irq_ack_w);
diff --git a/src/mame/includes/copsnrob.h b/src/mame/includes/copsnrob.h
index c8492c544d3..ee6a0c78366 100644
--- a/src/mame/includes/copsnrob.h
+++ b/src/mame/includes/copsnrob.h
@@ -44,7 +44,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
/*----------- defined in audio/copsnrob.c -----------*/
diff --git a/src/mame/includes/cps1.h b/src/mame/includes/cps1.h
index 5fcec05d7d4..ced32c25b4a 100644
--- a/src/mame/includes/cps1.h
+++ b/src/mame/includes/cps1.h
@@ -129,7 +129,7 @@ public:
UINT16 * m_cps2_buffered_obj;
// game-specific
UINT16 * m_gigaman2_dummyqsound_ram;
- UINT16 sf2ceblp_prot;
+ UINT16 sf2ceblp_prot;
/* video-related */
tilemap_t *m_bg_tilemap[3];
@@ -202,7 +202,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER(cps1_hack_dsw_r);
DECLARE_READ16_MEMBER(cps1_in1_r);
DECLARE_READ16_MEMBER(cps1_in2_r);
diff --git a/src/mame/includes/crbaloon.h b/src/mame/includes/crbaloon.h
index 15fcfc15f89..fa2a26505a3 100644
--- a/src/mame/includes/crbaloon.h
+++ b/src/mame/includes/crbaloon.h
@@ -32,7 +32,7 @@ public:
required_device<sn76477_device> m_sn;
required_device<discrete_device> m_discrete;
required_device<gfxdecode_device> m_gfxdecode;
-
+
UINT16 m_collision_address;
UINT8 m_collision_address_clear;
tilemap_t *m_bg_tilemap;
diff --git a/src/mame/includes/crimfght.h b/src/mame/includes/crimfght.h
index acb73f1857a..7a1317a0b02 100644
--- a/src/mame/includes/crimfght.h
+++ b/src/mame/includes/crimfght.h
@@ -34,7 +34,7 @@ public:
required_device<k052109_device> m_k052109;
required_device<k051960_device> m_k051960;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(crimfght_coin_w);
DECLARE_WRITE8_MEMBER(crimfght_sh_irqtrigger_w);
DECLARE_READ8_MEMBER(k052109_051960_r);
diff --git a/src/mame/includes/crshrace.h b/src/mame/includes/crshrace.h
index 61f591f0bc2..e2b28af9b2e 100644
--- a/src/mame/includes/crshrace.h
+++ b/src/mame/includes/crshrace.h
@@ -23,9 +23,9 @@ public:
/* memory pointers */
required_shared_ptr<UINT16> m_videoram1;
required_shared_ptr<UINT16> m_videoram2;
-
+
required_memory_bank m_z80bank;
-
+
required_device<z80_device> m_audiocpu;
required_device<k053936_device> m_k053936;
required_device<buffered_spriteram16_device> m_spriteram;
diff --git a/src/mame/includes/cvs.h b/src/mame/includes/cvs.h
index 1c03ee3fbb2..87de8a6f830 100644
--- a/src/mame/includes/cvs.h
+++ b/src/mame/includes/cvs.h
@@ -37,7 +37,7 @@ public:
m_s2636_2(*this, "s2636_2"),
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
@@ -81,7 +81,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
/* memory */
UINT8 m_color_ram[0x400];
UINT8 m_palette_ram[0x10];
diff --git a/src/mame/includes/darius.h b/src/mame/includes/darius.h
index 203f015fb43..fb62a64828c 100644
--- a/src/mame/includes/darius.h
+++ b/src/mame/includes/darius.h
@@ -93,7 +93,7 @@ public:
required_device<filter_volume_device> m_msm5205_r;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(cpua_ctrl_w);
DECLARE_WRITE16_MEMBER(darius_watchdog_w);
DECLARE_READ16_MEMBER(darius_ioc_r);
diff --git a/src/mame/includes/dbz.h b/src/mame/includes/dbz.h
index 0466372a94e..224afca1f8c 100644
--- a/src/mame/includes/dbz.h
+++ b/src/mame/includes/dbz.h
@@ -53,7 +53,7 @@ public:
required_device<k053936_device> m_k053936_1;
required_device<k053936_device> m_k053936_2;
required_device<gfxdecode_device> m_gfxdecode;
-
+
DECLARE_READ16_MEMBER(dbzcontrol_r);
DECLARE_WRITE16_MEMBER(dbzcontrol_w);
DECLARE_WRITE16_MEMBER(dbz_sound_command_w);
diff --git a/src/mame/includes/dcheese.h b/src/mame/includes/dcheese.h
index e507c109beb..f390c37473b 100644
--- a/src/mame/includes/dcheese.h
+++ b/src/mame/includes/dcheese.h
@@ -40,7 +40,7 @@ public:
/* devices */
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
device_t *m_bsmt;
DECLARE_WRITE16_MEMBER(eeprom_control_w);
DECLARE_WRITE16_MEMBER(sound_command_w);
diff --git a/src/mame/includes/deadang.h b/src/mame/includes/deadang.h
index eb4f7035a91..6aca0dbdcad 100644
--- a/src/mame/includes/deadang.h
+++ b/src/mame/includes/deadang.h
@@ -30,7 +30,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
tilemap_t *m_pf3_layer;
tilemap_t *m_pf2_layer;
tilemap_t *m_pf1_layer;
diff --git a/src/mame/includes/dec8.h b/src/mame/includes/dec8.h
index 21342e70295..f5d8b2b6119 100644
--- a/src/mame/includes/dec8.h
+++ b/src/mame/includes/dec8.h
@@ -44,7 +44,7 @@ public:
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
optional_shared_ptr<UINT8> m_bg_data;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h
index cd32a4cd99e..32053d52164 100644
--- a/src/mame/includes/deco32.h
+++ b/src/mame/includes/deco32.h
@@ -91,11 +91,11 @@ public:
required_device<deco16ic_device> m_deco_tilegen1;
required_device<deco16ic_device> m_deco_tilegen2;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_irq_source;
DECLARE_WRITE_LINE_MEMBER(sound_irq_nslasher);
DECLARE_READ32_MEMBER(deco32_irq_controller_r);
diff --git a/src/mame/includes/djboy.h b/src/mame/includes/djboy.h
index ef9398c5873..fed2344efae 100644
--- a/src/mame/includes/djboy.h
+++ b/src/mame/includes/djboy.h
@@ -56,7 +56,7 @@ public:
required_device<kaneko_pandora_device> m_pandora;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(beast_data_w);
DECLARE_READ8_MEMBER(beast_data_r);
DECLARE_READ8_MEMBER(beast_status_r);
diff --git a/src/mame/includes/dkong.h b/src/mame/includes/dkong.h
index fa1baebe8da..7c4bb059889 100644
--- a/src/mame/includes/dkong.h
+++ b/src/mame/includes/dkong.h
@@ -189,7 +189,7 @@ public:
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
optional_device<z80dma_device> m_z80dma;
-
+
/* radarscp_scanline */
int m_counter;
diff --git a/src/mame/includes/docastle.h b/src/mame/includes/docastle.h
index 16d7c057185..bd37ccd18c9 100644
--- a/src/mame/includes/docastle.h
+++ b/src/mame/includes/docastle.h
@@ -21,7 +21,7 @@ public:
m_colorram(*this, "colorram"),
m_spriteram(*this, "spriteram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
/* devices */
@@ -35,10 +35,10 @@ public:
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_spriteram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* video-related */
tilemap_t *m_do_tilemap;
diff --git a/src/mame/includes/equites.h b/src/mame/includes/equites.h
index 593bbc59716..56360f4ae5c 100644
--- a/src/mame/includes/equites.h
+++ b/src/mame/includes/equites.h
@@ -74,7 +74,7 @@ public:
required_device<msm5232_device> m_msm;
required_device<dac_device> m_dac_1;
required_device<dac_device> m_dac_2;
-
+
DECLARE_WRITE8_MEMBER(equites_c0f8_w);
DECLARE_WRITE8_MEMBER(equites_cymbal_ctrl_w);
DECLARE_WRITE8_MEMBER(equites_dac_latch_w);
diff --git a/src/mame/includes/espial.h b/src/mame/includes/espial.h
index 2810376c62a..18f62ed4df1 100644
--- a/src/mame/includes/espial.h
+++ b/src/mame/includes/espial.h
@@ -43,7 +43,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(espial_master_interrupt_mask_w);
DECLARE_WRITE8_MEMBER(espial_master_soundlatch_w);
DECLARE_WRITE8_MEMBER(espial_sound_nmi_mask_w);
diff --git a/src/mame/includes/esripsys.h b/src/mame/includes/esripsys.h
index b9ec16288c4..20aeda655c6 100644
--- a/src/mame/includes/esripsys.h
+++ b/src/mame/includes/esripsys.h
@@ -123,7 +123,7 @@ public:
TIMER_CALLBACK_MEMBER(hblank_start_callback);
TIMER_CALLBACK_MEMBER(hblank_end_callback);
required_device<dac_device> m_dac;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
ESRIP_DRAW(esripsys_draw);
};
diff --git a/src/mame/includes/exerion.h b/src/mame/includes/exerion.h
index 322aa1515b1..e67dc2b88c7 100644
--- a/src/mame/includes/exerion.h
+++ b/src/mame/includes/exerion.h
@@ -55,8 +55,8 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
-
+ required_device<palette_device> m_palette;
+
DECLARE_READ8_MEMBER(exerion_protection_r);
DECLARE_WRITE8_MEMBER(exerion_videoreg_w);
DECLARE_WRITE8_MEMBER(exerion_video_latch_w);
diff --git a/src/mame/includes/exidy.h b/src/mame/includes/exidy.h
index f7a77d05134..7b5c0d1bd7c 100644
--- a/src/mame/includes/exidy.h
+++ b/src/mame/includes/exidy.h
@@ -66,7 +66,7 @@ public:
optional_device<samples_device> m_samples;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
UINT8 m_last_dial;
UINT8 m_collision_mask;
diff --git a/src/mame/includes/exidy440.h b/src/mame/includes/exidy440.h
index 8e97b849475..32dcaaa8952 100644
--- a/src/mame/includes/exidy440.h
+++ b/src/mame/includes/exidy440.h
@@ -32,7 +32,7 @@ public:
required_device<exidy440_sound_device> m_custom;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_bank;
const UINT8 *m_showdown_bank_data[2];
INT8 m_showdown_bank_select;
diff --git a/src/mame/includes/exprraid.h b/src/mame/includes/exprraid.h
index c01cbde48ba..c9d46dfcea6 100644
--- a/src/mame/includes/exprraid.h
+++ b/src/mame/includes/exprraid.h
@@ -28,7 +28,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/f1gp.h b/src/mame/includes/f1gp.h
index f48637ac832..f2333962ecc 100644
--- a/src/mame/includes/f1gp.h
+++ b/src/mame/includes/f1gp.h
@@ -42,7 +42,7 @@ public:
optional_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_fgregs;
optional_shared_ptr<UINT16> m_rozregs;
-
+
optional_memory_bank m_z80bank;
/* devices referenced above */
@@ -74,7 +74,7 @@ public:
optional_device<cpu_device> m_audiocpu;
optional_device<k053936_device> m_k053936;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(f1gp_sh_bankswitch_w);
DECLARE_WRITE16_MEMBER(sound_command_w);
DECLARE_READ16_MEMBER(command_pending_r);
diff --git a/src/mame/includes/fastfred.h b/src/mame/includes/fastfred.h
index ae3db6923e3..096e9e4da15 100644
--- a/src/mame/includes/fastfred.h
+++ b/src/mame/includes/fastfred.h
@@ -31,7 +31,7 @@ public:
optional_shared_ptr<UINT8> m_imago_fg_videoram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
UINT16 m_charbank;
UINT8 m_colorbank;
tilemap_t *m_bg_tilemap;
diff --git a/src/mame/includes/fcombat.h b/src/mame/includes/fcombat.h
index fb54f5e61ed..761a27c1ac3 100644
--- a/src/mame/includes/fcombat.h
+++ b/src/mame/includes/fcombat.h
@@ -54,7 +54,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(fcombat_protection_r);
DECLARE_READ8_MEMBER(fcombat_port01_r);
DECLARE_WRITE8_MEMBER(e900_w);
diff --git a/src/mame/includes/fgoal.h b/src/mame/includes/fgoal.h
index 84a31b8dfdc..46e31437fcf 100644
--- a/src/mame/includes/fgoal.h
+++ b/src/mame/includes/fgoal.h
@@ -40,7 +40,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(fgoal_analog_r);
DECLARE_READ8_MEMBER(fgoal_nmi_reset_r);
DECLARE_READ8_MEMBER(fgoal_irq_reset_r);
diff --git a/src/mame/includes/firetrap.h b/src/mame/includes/firetrap.h
index bd33c2b47d3..0afb6c5eb0c 100644
--- a/src/mame/includes/firetrap.h
+++ b/src/mame/includes/firetrap.h
@@ -51,7 +51,7 @@ public:
required_device<msm5205_device> m_msm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(firetrap_nmi_disable_w);
DECLARE_WRITE8_MEMBER(firetrap_bankselect_w);
DECLARE_READ8_MEMBER(firetrap_8751_bootleg_r);
diff --git a/src/mame/includes/firetrk.h b/src/mame/includes/firetrk.h
index c5388771e90..8ffe02f2352 100644
--- a/src/mame/includes/firetrk.h
+++ b/src/mame/includes/firetrk.h
@@ -64,7 +64,7 @@ public:
optional_shared_ptr<UINT8> m_drone_rot;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
UINT8 m_in_service_mode;
UINT32 m_dial[2];
diff --git a/src/mame/includes/fuukifg2.h b/src/mame/includes/fuukifg2.h
index 0d4c1bc591f..210bbb95313 100644
--- a/src/mame/includes/fuukifg2.h
+++ b/src/mame/includes/fuukifg2.h
@@ -40,7 +40,7 @@ public:
/* devices */
required_device<cpu_device> m_maincpu;
- required_device<cpu_device> m_audiocpu;
+ required_device<cpu_device> m_audiocpu;
DECLARE_WRITE16_MEMBER(fuuki16_vregs_w);
DECLARE_WRITE16_MEMBER(fuuki16_sound_command_w);
DECLARE_WRITE8_MEMBER(fuuki16_sound_rombank_w);
diff --git a/src/mame/includes/fuukifg3.h b/src/mame/includes/fuukifg3.h
index b48fca20187..5a7631c94bf 100644
--- a/src/mame/includes/fuukifg3.h
+++ b/src/mame/includes/fuukifg3.h
@@ -55,8 +55,8 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
-
+
+
DECLARE_READ32_MEMBER(snd_020_r);
DECLARE_WRITE32_MEMBER(snd_020_w);
DECLARE_WRITE32_MEMBER(fuuki32_vregs_w);
diff --git a/src/mame/includes/gaelco3d.h b/src/mame/includes/gaelco3d.h
index b775b953509..3692e02a043 100644
--- a/src/mame/includes/gaelco3d.h
+++ b/src/mame/includes/gaelco3d.h
@@ -79,7 +79,7 @@ public:
required_device<cpu_device> m_tms;
required_device<gaelco_serial_device> m_serial;
required_device<screen_device> m_screen;
-
+
UINT16 m_sound_data;
UINT8 m_sound_status;
offs_t m_tms_offset_xor;
diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h
index 30f1fa44d4e..f54ea8cc587 100644
--- a/src/mame/includes/galaga.h
+++ b/src/mame/includes/galaga.h
@@ -32,7 +32,7 @@ public:
required_device<namco_device> m_namco_sound;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
emu_timer *m_cpu3_interrupt_timer;
UINT8 m_custom_mod;
diff --git a/src/mame/includes/galpanic.h b/src/mame/includes/galpanic.h
index e5584d0e79a..4c2c823b3df 100644
--- a/src/mame/includes/galpanic.h
+++ b/src/mame/includes/galpanic.h
@@ -20,7 +20,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(galpanic_6295_bankswitch_w);
DECLARE_WRITE16_MEMBER(galpanica_6295_bankswitch_w);
DECLARE_WRITE16_MEMBER(galpanica_misc_w);
diff --git a/src/mame/includes/gaplus.h b/src/mame/includes/gaplus.h
index 56f5d9349a6..4f596232447 100644
--- a/src/mame/includes/gaplus.h
+++ b/src/mame/includes/gaplus.h
@@ -49,7 +49,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
namco58xx_device *m_namco58xx;
namco56xx_device *m_namco56xx;
diff --git a/src/mame/includes/gcpinbal.h b/src/mame/includes/gcpinbal.h
index c45c7b5f074..86904b1dfec 100644
--- a/src/mame/includes/gcpinbal.h
+++ b/src/mame/includes/gcpinbal.h
@@ -32,7 +32,7 @@ public:
required_shared_ptr<UINT16> m_tilemapram;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_ioc_ram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
// UINT16 * m_paletteram; // currently this uses generic palette handling
diff --git a/src/mame/includes/gladiatr.h b/src/mame/includes/gladiatr.h
index af3a16902c5..7ab8c54dc84 100644
--- a/src/mame/includes/gladiatr.h
+++ b/src/mame/includes/gladiatr.h
@@ -39,7 +39,7 @@ public:
int m_fg_tile_bank;
int m_bg_tile_bank;
-
+
DECLARE_READ8_MEMBER( gladiator_dsw1_r );
DECLARE_READ8_MEMBER( gladiator_dsw2_r );
DECLARE_READ8_MEMBER( gladiator_controls_r );
@@ -70,7 +70,7 @@ public:
DECLARE_WRITE8_MEMBER(glad_adpcm_w);
DECLARE_READ8_MEMBER(f1_r);
DECLARE_DRIVER_INIT(gladiatr);
- DECLARE_DRIVER_INIT(ppking);
+ DECLARE_DRIVER_INIT(ppking);
TILE_GET_INFO_MEMBER(bg_get_tile_info);
TILE_GET_INFO_MEMBER(fg_get_tile_info);
DECLARE_MACHINE_RESET(ppking);
diff --git a/src/mame/includes/gottlieb.h b/src/mame/includes/gottlieb.h
index 15a71eabe62..70f91b34bf2 100644
--- a/src/mame/includes/gottlieb.h
+++ b/src/mame/includes/gottlieb.h
@@ -233,11 +233,11 @@ public:
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_charram;
required_shared_ptr<UINT8> m_spriteram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_knocker_prev;
UINT8 m_joystick_select;
UINT8 m_track[2];
diff --git a/src/mame/includes/gradius3.h b/src/mame/includes/gradius3.h
index e1cf213e73e..5967dffdc07 100644
--- a/src/mame/includes/gradius3.h
+++ b/src/mame/includes/gradius3.h
@@ -43,7 +43,7 @@ public:
required_device<k052109_device> m_k052109;
required_device<k051960_device> m_k051960;
required_device<gfxdecode_device> m_gfxdecode;
-
+
DECLARE_READ16_MEMBER(k052109_halfword_r);
DECLARE_WRITE16_MEMBER(k052109_halfword_w);
DECLARE_READ16_MEMBER(k051937_halfword_r);
diff --git a/src/mame/includes/grchamp.h b/src/mame/includes/grchamp.h
index 69481226c20..bebe1a2ca96 100644
--- a/src/mame/includes/grchamp.h
+++ b/src/mame/includes/grchamp.h
@@ -89,7 +89,7 @@ public:
required_device<discrete_device> m_discrete;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
/* Discrete Sound Input Nodes */
diff --git a/src/mame/includes/gridlee.h b/src/mame/includes/gridlee.h
index 440c8670997..8c10dc9ea23 100644
--- a/src/mame/includes/gridlee.h
+++ b/src/mame/includes/gridlee.h
@@ -38,7 +38,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_last_analog_input[2];
UINT8 m_last_analog_output[2];
UINT8 *m_poly17;
diff --git a/src/mame/includes/gsword.h b/src/mame/includes/gsword.h
index 788528a7afd..95689d4d1ab 100644
--- a/src/mame/includes/gsword.h
+++ b/src/mame/includes/gsword.h
@@ -48,7 +48,7 @@ public:
DECLARE_READ8_MEMBER( gsword_8741_3_r );
DECLARE_WRITE8_MEMBER(gsword_adpcm_data_w);
DECLARE_DRIVER_INIT(gsword);
- DECLARE_DRIVER_INIT(gsword2);
+ DECLARE_DRIVER_INIT(gsword2);
TILE_GET_INFO_MEMBER(get_bg_tile_info);
virtual void video_start();
DECLARE_MACHINE_RESET(gsword);
diff --git a/src/mame/includes/gyruss.h b/src/mame/includes/gyruss.h
index d615430aa7b..66c9130d652 100644
--- a/src/mame/includes/gyruss.h
+++ b/src/mame/includes/gyruss.h
@@ -38,7 +38,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
tilemap_t *m_tilemap;
UINT8 m_master_nmi_mask;
UINT8 m_slave_irq_mask;
diff --git a/src/mame/includes/harddriv.h b/src/mame/includes/harddriv.h
index c1d6feb20cd..fb522339be0 100644
--- a/src/mame/includes/harddriv.h
+++ b/src/mame/includes/harddriv.h
@@ -379,7 +379,7 @@ public:
DECLARE_WRITE16_MEMBER( hdds3_sdsp_control_w );
DECLARE_READ16_MEMBER( hdds3_xdsp_control_r );
DECLARE_WRITE16_MEMBER( hdds3_xdsp_control_w );
-
+
void hdds3sdsp_reset_timer();
void hdds3xdsp_reset_timer();
diff --git a/src/mame/includes/homedata.h b/src/mame/includes/homedata.h
index 9035b2b637b..99056ebde40 100644
--- a/src/mame/includes/homedata.h
+++ b/src/mame/includes/homedata.h
@@ -14,7 +14,7 @@ public:
m_dac(*this, "dac"),
m_ymsnd(*this, "ymsnd"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
diff --git a/src/mame/includes/homerun.h b/src/mame/includes/homerun.h
index a81dbee9a80..b6d1d181da8 100644
--- a/src/mame/includes/homerun.h
+++ b/src/mame/includes/homerun.h
@@ -32,7 +32,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_control;
UINT8 m_sample;
diff --git a/src/mame/includes/hyprduel.h b/src/mame/includes/hyprduel.h
index 24062ce78bd..b856eb8321a 100644
--- a/src/mame/includes/hyprduel.h
+++ b/src/mame/includes/hyprduel.h
@@ -69,7 +69,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER(hyprduel_irq_cause_r);
DECLARE_WRITE16_MEMBER(hyprduel_irq_cause_w);
DECLARE_WRITE16_MEMBER(hyprduel_subcpu_control_w);
diff --git a/src/mame/includes/ikki.h b/src/mame/includes/ikki.h
index 93e80be4e5f..92af680ce90 100644
--- a/src/mame/includes/ikki.h
+++ b/src/mame/includes/ikki.h
@@ -24,7 +24,7 @@ public:
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_scroll;
required_shared_ptr<UINT8> m_spriteram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h
index 892cf3c5030..97f73883d5f 100644
--- a/src/mame/includes/irobot.h
+++ b/src/mame/includes/irobot.h
@@ -98,5 +98,5 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/ironhors.h b/src/mame/includes/ironhors.h
index 94fc23d298d..bdeb619bf1d 100644
--- a/src/mame/includes/ironhors.h
+++ b/src/mame/includes/ironhors.h
@@ -39,7 +39,7 @@ public:
required_device<cpu_device> m_soundcpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(ironhors_sh_irqtrigger_w);
DECLARE_WRITE8_MEMBER(ironhors_videoram_w);
DECLARE_WRITE8_MEMBER(ironhors_colorram_w);
diff --git a/src/mame/includes/itech32.h b/src/mame/includes/itech32.h
index 42a8c5bb8ad..c166af08123 100644
--- a/src/mame/includes/itech32.h
+++ b/src/mame/includes/itech32.h
@@ -196,5 +196,5 @@ public:
optional_device<cpu_device> m_dsp1;
optional_device<cpu_device> m_dsp2;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/jackal.h b/src/mame/includes/jackal.h
index 38365876a1f..fb1a833f60f 100644
--- a/src/mame/includes/jackal.h
+++ b/src/mame/includes/jackal.h
@@ -34,7 +34,7 @@ public:
required_device<cpu_device> m_slavecpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(jackalr_rotary_r);
DECLARE_WRITE8_MEMBER(jackal_flipscreen_w);
DECLARE_READ8_MEMBER(jackal_zram_r);
diff --git a/src/mame/includes/kaneko16.h b/src/mame/includes/kaneko16.h
index 25d1672d184..12997e5ac32 100644
--- a/src/mame/includes/kaneko16.h
+++ b/src/mame/includes/kaneko16.h
@@ -32,7 +32,7 @@ public:
m_view2_1(*this, "view2_1"),
m_kaneko_spr(*this, "kan_spr"),
m_pandora(*this, "pandora"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{ }
required_device<cpu_device> m_maincpu;
@@ -74,7 +74,7 @@ public:
DECLARE_VIDEO_START(kaneko16);
DECLARE_MACHINE_RESET(mgcrystl);
UINT32 screen_update_kaneko16(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
-
+
template<class _BitmapClass>
UINT32 screen_update_common(screen_device &screen, _BitmapClass &bitmap, const rectangle &cliprect);
@@ -82,7 +82,7 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(kaneko16_interrupt);
TIMER_DEVICE_CALLBACK_MEMBER(shogwarr_interrupt);
-
+
template<class _BitmapClass>
void kaneko16_fill_bitmap(palette_device* palette, _BitmapClass &bitmap, const rectangle &cliprect);
@@ -123,7 +123,7 @@ public:
: kaneko16_state(mconfig, type, tag),
m_bg15_reg(*this, "bg15_reg"),
m_bg15_select(*this, "bg15_select"),
- m_bgpalette(*this, "bgpalette")
+ m_bgpalette(*this, "bgpalette")
{
}
diff --git a/src/mame/includes/karnov.h b/src/mame/includes/karnov.h
index bbbd046f58f..9e3a44b3e89 100644
--- a/src/mame/includes/karnov.h
+++ b/src/mame/includes/karnov.h
@@ -27,7 +27,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<buffered_spriteram16_device> m_spriteram;
required_device<deco_karnovsprites_device> m_spritegen;
-
+
/* memory pointers */
required_shared_ptr<UINT16> m_ram;
required_shared_ptr<UINT16> m_videoram;
@@ -35,7 +35,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* video-related */
bitmap_ind16 *m_bitmap_f;
tilemap_t *m_fix_tilemap;
@@ -51,7 +51,7 @@ public:
int m_microcontroller_id;
int m_coin_mask;
int m_latch;
-
+
DECLARE_WRITE16_MEMBER(karnov_control_w);
DECLARE_READ16_MEMBER(karnov_control_r);
DECLARE_WRITE16_MEMBER(karnov_videoram_w);
diff --git a/src/mame/includes/konamigx.h b/src/mame/includes/konamigx.h
index edb5613b6d6..eaed3bb8f31 100644
--- a/src/mame/includes/konamigx.h
+++ b/src/mame/includes/konamigx.h
@@ -54,7 +54,7 @@ public:
optional_device<k054539_device> m_k054539_2;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
DECLARE_WRITE32_MEMBER(esc_w);
DECLARE_WRITE32_MEMBER(eeprom_w);
diff --git a/src/mame/includes/labyrunr.h b/src/mame/includes/labyrunr.h
index b9f8781a9cc..32eeb08a147 100644
--- a/src/mame/includes/labyrunr.h
+++ b/src/mame/includes/labyrunr.h
@@ -33,7 +33,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram1;
required_shared_ptr<UINT8> m_videoram2;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/ladybug.h b/src/mame/includes/ladybug.h
index 8e9334877ae..fea7726ba51 100644
--- a/src/mame/includes/ladybug.h
+++ b/src/mame/includes/ladybug.h
@@ -49,7 +49,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(sraider_sound_low_r);
DECLARE_READ8_MEMBER(sraider_sound_high_r);
DECLARE_WRITE8_MEMBER(sraider_sound_low_w);
diff --git a/src/mame/includes/laserbat.h b/src/mame/includes/laserbat.h
index bf5c1f113e3..37679f619bb 100644
--- a/src/mame/includes/laserbat.h
+++ b/src/mame/includes/laserbat.h
@@ -23,7 +23,7 @@ public:
m_s2636_3(*this, "s2636_3"),
m_sn(*this, "snsnd"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
diff --git a/src/mame/includes/lasso.h b/src/mame/includes/lasso.h
index 871d62b7bba..8e02f434a50 100644
--- a/src/mame/includes/lasso.h
+++ b/src/mame/includes/lasso.h
@@ -49,7 +49,7 @@ public:
optional_device<sn76489_device> m_sn_2;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(sound_command_w);
DECLARE_READ8_MEMBER(sound_status_r);
DECLARE_WRITE8_MEMBER(sound_select_w);
diff --git a/src/mame/includes/lastduel.h b/src/mame/includes/lastduel.h
index 4655421a0f2..66bf04f10b1 100644
--- a/src/mame/includes/lastduel.h
+++ b/src/mame/includes/lastduel.h
@@ -30,10 +30,10 @@ public:
required_shared_ptr<UINT16> m_scroll1;
required_shared_ptr<UINT16> m_scroll2;
required_shared_ptr<UINT16> m_paletteram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* video-related */
tilemap_t *m_bg_tilemap;
tilemap_t *m_fg_tilemap;
diff --git a/src/mame/includes/lazercmd.h b/src/mame/includes/lazercmd.h
index a01107007f5..af99739dbad 100644
--- a/src/mame/includes/lazercmd.h
+++ b/src/mame/includes/lazercmd.h
@@ -37,7 +37,7 @@ public:
required_device<dac_device> m_dac;
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/liberate.h b/src/mame/includes/liberate.h
index cfb66011060..1b8e0170b9a 100644
--- a/src/mame/includes/liberate.h
+++ b/src/mame/includes/liberate.h
@@ -36,7 +36,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
DECLARE_READ8_MEMBER(deco16_bank_r);
DECLARE_READ8_MEMBER(deco16_io_r);
diff --git a/src/mame/includes/lkage.h b/src/mame/includes/lkage.h
index c3503f8d0ad..869c9626cf6 100644
--- a/src/mame/includes/lkage.h
+++ b/src/mame/includes/lkage.h
@@ -59,7 +59,7 @@ public:
optional_device<cpu_device> m_mcu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(lkage_sound_command_w);
DECLARE_WRITE8_MEMBER(lkage_sh_nmi_disable_w);
DECLARE_WRITE8_MEMBER(lkage_sh_nmi_enable_w);
diff --git a/src/mame/includes/lockon.h b/src/mame/includes/lockon.h
index 25be0a76614..2b0bd2d020d 100644
--- a/src/mame/includes/lockon.h
+++ b/src/mame/includes/lockon.h
@@ -92,7 +92,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER(lockon_crtc_r);
DECLARE_WRITE16_MEMBER(lockon_crtc_w);
DECLARE_WRITE16_MEMBER(lockon_char_w);
diff --git a/src/mame/includes/lsasquad.h b/src/mame/includes/lsasquad.h
index 38994db6380..718488cfa47 100644
--- a/src/mame/includes/lsasquad.h
+++ b/src/mame/includes/lsasquad.h
@@ -43,7 +43,7 @@ public:
optional_device<cpu_device> m_mcu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(lsasquad_bankswitch_w);
DECLARE_WRITE8_MEMBER(lsasquad_sh_nmi_disable_w);
DECLARE_WRITE8_MEMBER(lsasquad_sh_nmi_enable_w);
diff --git a/src/mame/includes/m10.h b/src/mame/includes/m10.h
index ccd163cf770..42dfc6b7824 100644
--- a/src/mame/includes/m10.h
+++ b/src/mame/includes/m10.h
@@ -46,7 +46,7 @@ public:
m_chargen(*this, "chargen"),
m_maincpu(*this, "maincpu"),
m_ic8j1(*this, "ic8j1"),
- m_ic8j2(*this, "ic8j2"),
+ m_ic8j2(*this, "ic8j2"),
m_samples(*this, "samples"),
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
@@ -81,7 +81,7 @@ public:
optional_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(m10_ctrl_w);
DECLARE_WRITE8_MEMBER(m11_ctrl_w);
DECLARE_WRITE8_MEMBER(m15_ctrl_w);
diff --git a/src/mame/includes/m107.h b/src/mame/includes/m107.h
index fef19619426..5ede569f099 100644
--- a/src/mame/includes/m107.h
+++ b/src/mame/includes/m107.h
@@ -32,7 +32,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_irq_vectorbase;
int m_sound_status;
UINT8 m_spritesystem;
diff --git a/src/mame/includes/m52.h b/src/mame/includes/m52.h
index c406ee2187b..1d60a14d7f5 100644
--- a/src/mame/includes/m52.h
+++ b/src/mame/includes/m52.h
@@ -43,5 +43,5 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/m72.h b/src/mame/includes/m72.h
index 1ebf48ba5ac..434e7100540 100644
--- a/src/mame/includes/m72.h
+++ b/src/mame/includes/m72.h
@@ -40,7 +40,7 @@ public:
optional_device<m72_audio_device> m_audio;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
UINT16 *m_protection_ram;
emu_timer *m_scanline_timer;
diff --git a/src/mame/includes/m92.h b/src/mame/includes/m92.h
index ebe38bd575e..cc5fad9bbbe 100644
--- a/src/mame/includes/m92.h
+++ b/src/mame/includes/m92.h
@@ -45,7 +45,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT16 m_sound_status;
UINT8 m_irq_vectorbase;
UINT32 m_raster_irq_position;
diff --git a/src/mame/includes/macrossp.h b/src/mame/includes/macrossp.h
index 1a7b6879279..68b107ca9b4 100644
--- a/src/mame/includes/macrossp.h
+++ b/src/mame/includes/macrossp.h
@@ -71,7 +71,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE32_MEMBER(paletteram32_macrossp_w);
DECLARE_READ32_MEMBER(macrossp_soundstatus_r);
DECLARE_WRITE32_MEMBER(macrossp_soundcmd_w);
diff --git a/src/mame/includes/matmania.h b/src/mame/includes/matmania.h
index e9e2849e8de..b454076132b 100644
--- a/src/mame/includes/matmania.h
+++ b/src/mame/includes/matmania.h
@@ -60,7 +60,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(matmania_sh_command_w);
DECLARE_WRITE8_MEMBER(maniach_sh_command_w);
DECLARE_WRITE8_MEMBER(matmania_paletteram_w);
diff --git a/src/mame/includes/mcatadv.h b/src/mame/includes/mcatadv.h
index 59b6f28465f..86b59994dfd 100644
--- a/src/mame/includes/mcatadv.h
+++ b/src/mame/includes/mcatadv.h
@@ -37,7 +37,7 @@ public:
required_device<cpu_device> m_soundcpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(mcat_soundlatch_w);
DECLARE_WRITE16_MEMBER(mcat_coin_w);
DECLARE_READ16_MEMBER(mcat_wd_r);
diff --git a/src/mame/includes/mcr68.h b/src/mame/includes/mcr68.h
index fa356593f79..4bf7e625a58 100644
--- a/src/mame/includes/mcr68.h
+++ b/src/mame/includes/mcr68.h
@@ -127,5 +127,5 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/meadows.h b/src/mame/includes/meadows.h
index ddae514e59d..cdef1ae0863 100644
--- a/src/mame/includes/meadows.h
+++ b/src/mame/includes/meadows.h
@@ -66,7 +66,7 @@ public:
optional_device<samples_device> m_samples;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/metlclsh.h b/src/mame/includes/metlclsh.h
index 97eb26ca5c8..242aea28823 100644
--- a/src/mame/includes/metlclsh.h
+++ b/src/mame/includes/metlclsh.h
@@ -38,7 +38,7 @@ public:
required_device<cpu_device> m_subcpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(metlclsh_cause_irq);
DECLARE_WRITE8_MEMBER(metlclsh_ack_nmi);
DECLARE_WRITE8_MEMBER(metlclsh_cause_nmi2);
diff --git a/src/mame/includes/micro3d.h b/src/mame/includes/micro3d.h
index 24318daa57b..f8948e1adbe 100644
--- a/src/mame/includes/micro3d.h
+++ b/src/mame/includes/micro3d.h
@@ -136,7 +136,7 @@ public:
DECLARE_READ8_MEMBER(duart_input_r);
DECLARE_WRITE8_MEMBER(duart_output_w);
DECLARE_WRITE_LINE_MEMBER(duart_txb);
-
+
required_device<cpu_device> m_maincpu;
required_device<i8051_device> m_audiocpu;
required_device<upd7759_device> m_upd7759;
diff --git a/src/mame/includes/model3.h b/src/mame/includes/model3.h
index 977937e13e0..7235d07e90a 100644
--- a/src/mame/includes/model3.h
+++ b/src/mame/includes/model3.h
@@ -36,7 +36,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<scsp_device> m_scsp1;
required_device<eeprom_serial_93cxx_device> m_eeprom;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
required_shared_ptr<UINT64> m_work_ram;
required_shared_ptr<UINT64> m_paletteram64;
diff --git a/src/mame/includes/mouser.h b/src/mame/includes/mouser.h
index 73e7773b3fd..e820e8a9c86 100644
--- a/src/mame/includes/mouser.h
+++ b/src/mame/includes/mouser.h
@@ -20,7 +20,7 @@ public:
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
- required_shared_ptr<UINT8> m_spriteram;
+ required_shared_ptr<UINT8> m_spriteram;
/* misc */
UINT8 m_sound_byte;
@@ -31,7 +31,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(mouser_nmi_enable_w);
DECLARE_WRITE8_MEMBER(mouser_sound_interrupt_w);
DECLARE_READ8_MEMBER(mouser_sound_byte_r);
diff --git a/src/mame/includes/mrflea.h b/src/mame/includes/mrflea.h
index 6b04eeac27a..da0100b3e9c 100644
--- a/src/mame/includes/mrflea.h
+++ b/src/mame/includes/mrflea.h
@@ -37,7 +37,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(mrflea_main_w);
DECLARE_WRITE8_MEMBER(mrflea_io_w);
DECLARE_READ8_MEMBER(mrflea_main_r);
diff --git a/src/mame/includes/ms32.h b/src/mame/includes/ms32.h
index d2c903402ee..00f6256d3da 100644
--- a/src/mame/includes/ms32.h
+++ b/src/mame/includes/ms32.h
@@ -113,5 +113,5 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
optional_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/mugsmash.h b/src/mame/includes/mugsmash.h
index 65670cc0794..c3102167f71 100644
--- a/src/mame/includes/mugsmash.h
+++ b/src/mame/includes/mugsmash.h
@@ -27,7 +27,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(mugsmash_reg2_w);
DECLARE_READ16_MEMBER(mugsmash_input_ports_r);
DECLARE_WRITE16_MEMBER(mugsmash_videoram1_w);
diff --git a/src/mame/includes/multfish.h b/src/mame/includes/multfish.h
index cccb5b0fc00..ddb422f503d 100644
--- a/src/mame/includes/multfish.h
+++ b/src/mame/includes/multfish.h
@@ -113,7 +113,3 @@ public:
MACHINE_CONFIG_EXTERN( igrosoft_gamble );
MACHINE_CONFIG_EXTERN( rollfr );
INPUT_PORTS_EXTERN( igrosoft_gamble );
-
-
-
-
diff --git a/src/mame/includes/munchmo.h b/src/mame/includes/munchmo.h
index 446ffda735e..b6f4732c98f 100644
--- a/src/mame/includes/munchmo.h
+++ b/src/mame/includes/munchmo.h
@@ -41,7 +41,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(mnchmobl_nmi_enable_w);
DECLARE_WRITE8_MEMBER(mnchmobl_soundlatch_w);
DECLARE_WRITE8_MEMBER(sound_nmi_ack_w);
diff --git a/src/mame/includes/n8080.h b/src/mame/includes/n8080.h
index a043aa63090..838741c8bfe 100644
--- a/src/mame/includes/n8080.h
+++ b/src/mame/includes/n8080.h
@@ -54,7 +54,7 @@ public:
optional_device<sn76477_device> m_sn;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(n8080_shift_bits_w);
DECLARE_WRITE8_MEMBER(n8080_shift_data_w);
DECLARE_READ8_MEMBER(n8080_shift_r);
diff --git a/src/mame/includes/namcona1.h b/src/mame/includes/namcona1.h
index dc30b62d323..f20c5069d5f 100644
--- a/src/mame/includes/namcona1.h
+++ b/src/mame/includes/namcona1.h
@@ -78,7 +78,7 @@ public:
UINT8 m_mask_data[8];
UINT8 m_conv_data[9];
-
+
DECLARE_READ16_MEMBER(custom_key_r);
DECLARE_WRITE16_MEMBER(custom_key_w);
DECLARE_READ16_MEMBER(namcona1_vreg_r);
@@ -111,8 +111,8 @@ public:
DECLARE_WRITE16_MEMBER(namcona1_paletteram_w);
DECLARE_READ16_MEMBER(namcona1_gfxram_r);
DECLARE_WRITE16_MEMBER(namcona1_gfxram_w);
- void pdraw_tile( screen_device &screen, bitmap_ind16 &dest_bmp, const rectangle &clip, UINT32 code, int color,
- int sx, int sy, int flipx, int flipy, int priority, int bShadow, int bOpaque, int gfx_region );
+ void pdraw_tile( screen_device &screen, bitmap_ind16 &dest_bmp, const rectangle &clip, UINT32 code, int color,
+ int sx, int sy, int flipx, int flipy, int priority, int bShadow, int bOpaque, int gfx_region );
void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void draw_background(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int which, int primask );
DECLARE_READ16_MEMBER(snd_r);
diff --git a/src/mame/includes/namcos1.h b/src/mame/includes/namcos1.h
index 6898efdc0a3..1b1373509cc 100644
--- a/src/mame/includes/namcos1.h
+++ b/src/mame/includes/namcos1.h
@@ -34,7 +34,7 @@ public:
required_device<dac_device> m_dac;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
int m_dac0_value;
int m_dac1_value;
int m_dac0_gain;
diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h
index e7ef3ee5f10..b1ffcf65879 100644
--- a/src/mame/includes/namcos2.h
+++ b/src/mame/includes/namcos2.h
@@ -227,7 +227,7 @@ public:
optional_device<cpu_device> m_mcu;
required_device<gfxdecode_device> m_gfxdecode;
optional_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
class namcos2_state : public namcos2_shared_state
diff --git a/src/mame/includes/naughtyb.h b/src/mame/includes/naughtyb.h
index 8c37babd5db..3c60b16239c 100644
--- a/src/mame/includes/naughtyb.h
+++ b/src/mame/includes/naughtyb.h
@@ -25,7 +25,7 @@ public:
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT8 m_popflame_prot_seed;
int m_r_index;
int m_prot_count;
diff --git a/src/mame/includes/nemesis.h b/src/mame/includes/nemesis.h
index d6c6098387c..c9714c17553 100644
--- a/src/mame/includes/nemesis.h
+++ b/src/mame/includes/nemesis.h
@@ -80,7 +80,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(gx400_irq1_enable_word_w);
DECLARE_WRITE16_MEMBER(gx400_irq2_enable_word_w);
DECLARE_WRITE16_MEMBER(gx400_irq4_enable_word_w);
diff --git a/src/mame/includes/ninjaw.h b/src/mame/includes/ninjaw.h
index 984a1797f3f..5942e1d7d83 100644
--- a/src/mame/includes/ninjaw.h
+++ b/src/mame/includes/ninjaw.h
@@ -61,7 +61,7 @@ public:
required_device<filter_volume_device> m_2610_2r;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(cpua_ctrl_w);
DECLARE_WRITE8_MEMBER(sound_bankswitch_w);
DECLARE_WRITE16_MEMBER(ninjaw_sound_w);
diff --git a/src/mame/includes/nitedrvr.h b/src/mame/includes/nitedrvr.h
index f7a0489581c..1e09dafaba1 100644
--- a/src/mame/includes/nitedrvr.h
+++ b/src/mame/includes/nitedrvr.h
@@ -50,7 +50,7 @@ public:
required_device<discrete_device> m_discrete;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(nitedrvr_steering_reset_r);
DECLARE_WRITE8_MEMBER(nitedrvr_steering_reset_w);
DECLARE_READ8_MEMBER(nitedrvr_in0_r);
diff --git a/src/mame/includes/nycaptor.h b/src/mame/includes/nycaptor.h
index 10edca6b253..5b2342a74b6 100644
--- a/src/mame/includes/nycaptor.h
+++ b/src/mame/includes/nycaptor.h
@@ -63,7 +63,7 @@ public:
required_device<msm5232_device> m_msm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(sub_cpu_halt_w);
DECLARE_READ8_MEMBER(from_snd_r);
DECLARE_WRITE8_MEMBER(to_main_w);
diff --git a/src/mame/includes/ojankohs.h b/src/mame/includes/ojankohs.h
index 8ea66c65e75..46501cc4ce3 100644
--- a/src/mame/includes/ojankohs.h
+++ b/src/mame/includes/ojankohs.h
@@ -46,7 +46,7 @@ public:
optional_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(ojankohs_rombank_w);
DECLARE_WRITE8_MEMBER(ojankoy_rombank_w);
DECLARE_WRITE8_MEMBER(ojankohs_msm5205_w);
diff --git a/src/mame/includes/orbit.h b/src/mame/includes/orbit.h
index 29524a483e7..39b3314a4fd 100644
--- a/src/mame/includes/orbit.h
+++ b/src/mame/includes/orbit.h
@@ -46,7 +46,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(orbit_misc_w);
DECLARE_WRITE8_MEMBER(orbit_playfield_w);
TILE_GET_INFO_MEMBER(get_tile_info);
diff --git a/src/mame/includes/othunder.h b/src/mame/includes/othunder.h
index 1bdb06aaea9..879afb5fb53 100644
--- a/src/mame/includes/othunder.h
+++ b/src/mame/includes/othunder.h
@@ -78,7 +78,7 @@ public:
required_device<filter_volume_device> m_2610_2r;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(irq_ack_w);
DECLARE_WRITE16_MEMBER(othunder_tc0220ioc_w);
DECLARE_READ16_MEMBER(othunder_tc0220ioc_r);
diff --git a/src/mame/includes/pandoras.h b/src/mame/includes/pandoras.h
index 64fe6d09d86..f8f20cbc50a 100644
--- a/src/mame/includes/pandoras.h
+++ b/src/mame/includes/pandoras.h
@@ -41,7 +41,7 @@ public:
required_device<cpu_device> m_mcu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(pandoras_int_control_w);
DECLARE_WRITE8_MEMBER(pandoras_cpua_irqtrigger_w);
DECLARE_WRITE8_MEMBER(pandoras_cpub_irqtrigger_w);
diff --git a/src/mame/includes/paradise.h b/src/mame/includes/paradise.h
index d0da0d1a501..6c7e1fb95e3 100644
--- a/src/mame/includes/paradise.h
+++ b/src/mame/includes/paradise.h
@@ -67,5 +67,5 @@ public:
optional_device<okim6295_device> m_oki2;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/pcktgal.h b/src/mame/includes/pcktgal.h
index d5930e21634..2dd3a65328d 100644
--- a/src/mame/includes/pcktgal.h
+++ b/src/mame/includes/pcktgal.h
@@ -21,7 +21,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(pcktgal_bank_w);
DECLARE_WRITE8_MEMBER(pcktgal_sound_bank_w);
DECLARE_WRITE8_MEMBER(pcktgal_sound_w);
diff --git a/src/mame/includes/pktgaldx.h b/src/mame/includes/pktgaldx.h
index f6d50aaa36a..5a46a3f7844 100644
--- a/src/mame/includes/pktgaldx.h
+++ b/src/mame/includes/pktgaldx.h
@@ -47,7 +47,7 @@ public:
optional_device<decocomn_device> m_decocomn;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER(pckgaldx_unknown_r);
DECLARE_READ16_MEMBER(pckgaldx_protection_r);
DECLARE_WRITE16_MEMBER(pktgaldx_oki_bank_w);
diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h
index 455b6f5672d..881ed86a20e 100644
--- a/src/mame/includes/playch10.h
+++ b/src/mame/includes/playch10.h
@@ -34,7 +34,7 @@ public:
required_shared_ptr<UINT8> m_timedata;
required_shared_ptr<UINT8> m_work_ram;
required_device<gfxdecode_device> m_gfxdecode;
-
+
int m_up_8w;
int m_pc10_nmi_enable;
int m_pc10_dog_di;
diff --git a/src/mame/includes/pooyan.h b/src/mame/includes/pooyan.h
index fb606a2c06c..4ff2c53914d 100644
--- a/src/mame/includes/pooyan.h
+++ b/src/mame/includes/pooyan.h
@@ -28,7 +28,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(irq_enable_w);
DECLARE_WRITE8_MEMBER(pooyan_videoram_w);
DECLARE_WRITE8_MEMBER(pooyan_colorram_w);
diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h
index c2f39bbfc28..39a075505a4 100644
--- a/src/mame/includes/popeye.h
+++ b/src/mame/includes/popeye.h
@@ -27,7 +27,7 @@ public:
UINT8 m_bitmap_type;
tilemap_t *m_fg_tilemap;
UINT8 m_lastflip;
- int m_field;
+ int m_field;
DECLARE_READ8_MEMBER(protection_r);
DECLARE_WRITE8_MEMBER(protection_w);
diff --git a/src/mame/includes/portrait.h b/src/mame/includes/portrait.h
index 952e03b892d..a348552c30a 100644
--- a/src/mame/includes/portrait.h
+++ b/src/mame/includes/portrait.h
@@ -32,7 +32,7 @@ public:
UINT32 screen_update_portrait(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
inline void get_tile_info( tile_data &tileinfo, int tile_index, const UINT8 *source );
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
- required_device<cpu_device> m_maincpu;
+ required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/powerins.h b/src/mame/includes/powerins.h
index 960b906f4ee..1e2c377dd01 100644
--- a/src/mame/includes/powerins.h
+++ b/src/mame/includes/powerins.h
@@ -28,7 +28,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
UINT16 *m_vctrl_1;
tilemap_t *m_tilemap_0;
tilemap_t *m_tilemap_1;
diff --git a/src/mame/includes/psikyo4.h b/src/mame/includes/psikyo4.h
index 97263fc3958..a147760b2bb 100644
--- a/src/mame/includes/psikyo4.h
+++ b/src/mame/includes/psikyo4.h
@@ -24,7 +24,7 @@ public:
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "lpalette"),
m_palette2(*this, "rpalette"),
- m_screen(*this, "screen")
+ m_screen(*this, "screen")
{ }
/* memory pointers */
diff --git a/src/mame/includes/pushman.h b/src/mame/includes/pushman.h
index 2dcec88f23e..1c000ed5925 100644
--- a/src/mame/includes/pushman.h
+++ b/src/mame/includes/pushman.h
@@ -37,7 +37,7 @@ public:
optional_device<cpu_device> m_mcu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(pushman_flipscreen_w);
DECLARE_WRITE16_MEMBER(pushman_control_w);
DECLARE_READ16_MEMBER(pushman_68705_r);
diff --git a/src/mame/includes/rainbow.h b/src/mame/includes/rainbow.h
index 12f5add080f..c130d45848f 100644
--- a/src/mame/includes/rainbow.h
+++ b/src/mame/includes/rainbow.h
@@ -43,7 +43,7 @@ public:
optional_device<pc090oj_device> m_pc090oj;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(jumping_sound_w);
DECLARE_READ8_MEMBER(jumping_latch_r);
DECLARE_WRITE16_MEMBER(rbisland_cchip_ctrl_w);
diff --git a/src/mame/includes/rockrage.h b/src/mame/includes/rockrage.h
index 35a52946d8e..25d84b156de 100644
--- a/src/mame/includes/rockrage.h
+++ b/src/mame/includes/rockrage.h
@@ -37,7 +37,7 @@ public:
required_device<vlm5030_device> m_vlm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(rockrage_bankswitch_w);
DECLARE_WRITE8_MEMBER(rockrage_sh_irqtrigger_w);
DECLARE_WRITE8_MEMBER(rockrage_vreg_w);
@@ -53,4 +53,3 @@ public:
K007420_CALLBACK_MEMBER(rockrage_sprite_callback);
};
-
diff --git a/src/mame/includes/rohga.h b/src/mame/includes/rohga.h
index 330d4cf25bb..ca6ce674245 100644
--- a/src/mame/includes/rohga.h
+++ b/src/mame/includes/rohga.h
@@ -58,7 +58,7 @@ public:
optional_device<decospr_device> m_sprgen1;
optional_device<decospr_device> m_sprgen2;
-
+
required_device<palette_device> m_palette;
DECLARE_READ16_MEMBER(rohga_irq_ack_r);
diff --git a/src/mame/includes/rungun.h b/src/mame/includes/rungun.h
index a19faa9c0da..725b6b0e925 100644
--- a/src/mame/includes/rungun.h
+++ b/src/mame/includes/rungun.h
@@ -38,7 +38,7 @@ public:
/* memory pointers */
required_shared_ptr<UINT16> m_sysreg;
required_shared_ptr<UINT16> m_936_videoram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
// UINT16 * m_paletteram; // currently this uses generic palette handling
diff --git a/src/mame/includes/sbasketb.h b/src/mame/includes/sbasketb.h
index 5b991e63be5..4a671bed6c2 100644
--- a/src/mame/includes/sbasketb.h
+++ b/src/mame/includes/sbasketb.h
@@ -35,7 +35,7 @@ public:
required_device<vlm5030_device> m_vlm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* video-related */
tilemap_t *m_bg_tilemap;
diff --git a/src/mame/includes/scramble.h b/src/mame/includes/scramble.h
index be1e341f4a5..86182b45350 100644
--- a/src/mame/includes/scramble.h
+++ b/src/mame/includes/scramble.h
@@ -49,7 +49,7 @@ public:
DECLARE_WRITE8_MEMBER(mars_ppi8255_0_w);
DECLARE_WRITE8_MEMBER(mars_ppi8255_1_w);
DECLARE_WRITE8_MEMBER(ad2083_tms5110_ctrl_w);
-
+
DECLARE_WRITE8_MEMBER(harem_portA_w);
DECLARE_WRITE8_MEMBER(harem_portB_w);
diff --git a/src/mame/includes/segas16b.h b/src/mame/includes/segas16b.h
index 54ae6dcb0fc..7455734f712 100644
--- a/src/mame/includes/segas16b.h
+++ b/src/mame/includes/segas16b.h
@@ -200,7 +200,7 @@ protected:
UINT8 m_hwc_input_value;
UINT8 m_mj_input_num;
UINT8 m_mj_last_val;
-
+
required_device<gfxdecode_device> m_gfxdecode;
};
diff --git a/src/mame/includes/segas18.h b/src/mame/includes/segas18.h
index 91cd6aa3645..d7b1bcffcc0 100644
--- a/src/mame/includes/segas18.h
+++ b/src/mame/includes/segas18.h
@@ -151,6 +151,6 @@ protected:
UINT8 m_wwally_last_y[3];
UINT8 m_lghost_value;
UINT8 m_lghost_select;
-
+
required_device<gfxdecode_device> m_gfxdecode;
};
diff --git a/src/mame/includes/seicross.h b/src/mame/includes/seicross.h
index 093b3c9e4d5..a2b48bac690 100644
--- a/src/mame/includes/seicross.h
+++ b/src/mame/includes/seicross.h
@@ -21,7 +21,7 @@ public:
required_shared_ptr<UINT8> m_row_scroll;
required_shared_ptr<UINT8> m_spriteram2;
required_shared_ptr<UINT8> m_colorram;
-
+
UINT8 m_portb;
tilemap_t *m_bg_tilemap;
void nvram_init(nvram_device &nvram, void *data, size_t size);
diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h
index 23a0c55d97e..8dd5eec589d 100644
--- a/src/mame/includes/seta.h
+++ b/src/mame/includes/seta.h
@@ -68,7 +68,7 @@ public:
optional_shared_ptr<UINT16> m_kiwame_nvram;
optional_shared_ptr<UINT16> m_inttoote_key_select;
optional_shared_ptr<UINT16> m_inttoote_700000;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/skyfox.h b/src/mame/includes/skyfox.h
index 9989b8ff8da..f7ca2636252 100644
--- a/src/mame/includes/skyfox.h
+++ b/src/mame/includes/skyfox.h
@@ -30,8 +30,8 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
-
+ required_device<palette_device> m_palette;
+
DECLARE_READ8_MEMBER(skyfox_vregs_r);
DECLARE_WRITE8_MEMBER(skyfox_vregs_w);
DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
diff --git a/src/mame/includes/slapfght.h b/src/mame/includes/slapfght.h
index 817c06b3c76..701ad6f94de 100644
--- a/src/mame/includes/slapfght.h
+++ b/src/mame/includes/slapfght.h
@@ -25,7 +25,7 @@ public:
m_fixvideoram(*this, "fixvideoram"),
m_fixcolorram(*this, "fixcolorram")
{ }
-
+
// devices, memory pointers
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
@@ -137,7 +137,7 @@ public:
DECLARE_DRIVER_INIT(getstarb1);
DECLARE_DRIVER_INIT(slapfigh);
DECLARE_DRIVER_INIT(getstarb2);
-
+
TILE_GET_INFO_MEMBER(get_pf_tile_info);
TILE_GET_INFO_MEMBER(get_pf1_tile_info);
TILE_GET_INFO_MEMBER(get_fix_tile_info);
diff --git a/src/mame/includes/slapshot.h b/src/mame/includes/slapshot.h
index d7815ce30c8..d6cdadbb190 100644
--- a/src/mame/includes/slapshot.h
+++ b/src/mame/includes/slapshot.h
@@ -73,7 +73,7 @@ public:
required_device<tc0640fio_device> m_tc0640fio;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER(color_ram_word_r);
DECLARE_WRITE16_MEMBER(color_ram_word_w);
DECLARE_READ16_MEMBER(slapshot_service_input_r);
diff --git a/src/mame/includes/snes.h b/src/mame/includes/snes.h
index 83879075c6a..1e2371d3467 100644
--- a/src/mame/includes/snes.h
+++ b/src/mame/includes/snes.h
@@ -452,7 +452,7 @@ public:
UINT16 ver_offset;
UINT8 extbg;
} m_mode7;
-
+
struct OAM
{
UINT16 tile;
@@ -577,7 +577,7 @@ public:
UINT16 *m_oam_ram; /* Object Attribute Memory */
UINT16 *m_cgram; /* Palette RAM */
UINT8 *m_vram; /* Video RAM (TODO: Should be 16-bit, but it's easier this way) */
-
+
snes_state *m_state;
};
diff --git a/src/mame/includes/snowbros.h b/src/mame/includes/snowbros.h
index 22f5ce99d0a..732dea4cd09 100644
--- a/src/mame/includes/snowbros.h
+++ b/src/mame/includes/snowbros.h
@@ -25,7 +25,7 @@ public:
optional_shared_ptr<UINT16> m_bootleg_spriteram16;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
int m_sb3_music_is_playing;
int m_sb3_music;
UINT8 m_semicom_prot_offset;
diff --git a/src/mame/includes/spacefb.h b/src/mame/includes/spacefb.h
index e86270d483e..c476484cd74 100644
--- a/src/mame/includes/spacefb.h
+++ b/src/mame/includes/spacefb.h
@@ -67,7 +67,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
required_device<samples_device> m_samples;
- required_device<screen_device> m_screen;
+ required_device<screen_device> m_screen;
};
/*----------- defined in audio/spacefb.c -----------*/
diff --git a/src/mame/includes/sprcros2.h b/src/mame/includes/sprcros2.h
index a860c22df7e..c8fe4f05264 100644
--- a/src/mame/includes/sprcros2.h
+++ b/src/mame/includes/sprcros2.h
@@ -8,7 +8,7 @@ public:
m_spriteram(*this, "spriteram"),
m_master(*this,"master"),
m_slave(*this,"slave"),
- m_gfxdecode(*this, "gfxdecode"),
+ m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette") { }
UINT8 m_s_port3;
@@ -23,7 +23,7 @@ public:
required_device<cpu_device> m_slave;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(sprcros2_m_port7_w);
DECLARE_WRITE8_MEMBER(sprcros2_s_port3_w);
DECLARE_WRITE8_MEMBER(sprcros2_fgvideoram_w);
diff --git a/src/mame/includes/ssv.h b/src/mame/includes/ssv.h
index c0457ce11ef..1128bfac293 100644
--- a/src/mame/includes/ssv.h
+++ b/src/mame/includes/ssv.h
@@ -182,5 +182,5 @@ protected:
optional_ioport m_io_tracky;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/stadhero.h b/src/mame/includes/stadhero.h
index 5cafdcc98fc..15e212a5596 100644
--- a/src/mame/includes/stadhero.h
+++ b/src/mame/includes/stadhero.h
@@ -21,7 +21,7 @@ public:
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_pf1_data;
required_device<gfxdecode_device> m_gfxdecode;
-
+
tilemap_t *m_pf1_tilemap;
int m_flipscreen;
DECLARE_READ16_MEMBER(stadhero_control_r);
diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h
index 64b169e34a7..ce7769abb6c 100644
--- a/src/mame/includes/stv.h
+++ b/src/mame/includes/stv.h
@@ -24,7 +24,7 @@ public:
m_scudsp(*this, "scudsp"),
m_eeprom(*this, "eeprom"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette")
{
}
@@ -644,7 +644,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(scudsp_end_w);
DECLARE_READ16_MEMBER(scudsp_dma_r);
DECLARE_WRITE16_MEMBER(scudsp_dma_w);
-
+
// FROM smpc.c
TIMER_CALLBACK_MEMBER( stv_bankswitch_state );
void stv_select_game(int gameno);
@@ -671,7 +671,7 @@ public:
void smpc_comreg_exec(address_space &space, UINT8 data, UINT8 is_stv);
DECLARE_READ8_MEMBER( stv_SMPC_r );
DECLARE_WRITE8_MEMBER( stv_SMPC_w );
-
+
};
class stv_state : public saturn_state
diff --git a/src/mame/includes/system16.h b/src/mame/includes/system16.h
index 4afdb614516..06ac5a50746 100644
--- a/src/mame/includes/system16.h
+++ b/src/mame/includes/system16.h
@@ -119,7 +119,7 @@ public:
optional_device<msm5205_device> m_msm;
optional_device<upd7759_device> m_upd7759;
required_device<gfxdecode_device> m_gfxdecode;
-
+
DECLARE_WRITE16_MEMBER(sound_command_nmi_w);
DECLARE_WRITE16_MEMBER(sound_command_w);
DECLARE_WRITE16_MEMBER(sys16_coinctrl_w);
diff --git a/src/mame/includes/tail2nos.h b/src/mame/includes/tail2nos.h
index 7c49b55b654..e8938caf05a 100644
--- a/src/mame/includes/tail2nos.h
+++ b/src/mame/includes/tail2nos.h
@@ -37,7 +37,7 @@ public:
required_device<k051316_device> m_k051316;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(sound_command_w);
DECLARE_WRITE16_MEMBER(tail2nos_bgvideoram_w);
DECLARE_READ16_MEMBER(tail2nos_zoomdata_r);
diff --git a/src/mame/includes/taito_f2.h b/src/mame/includes/taito_f2.h
index 102967dbcf0..bea3ff9000b 100644
--- a/src/mame/includes/taito_f2.h
+++ b/src/mame/includes/taito_f2.h
@@ -111,7 +111,7 @@ public:
optional_device<tc0510nio_device> m_tc0510nio;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(growl_coin_word_w);
DECLARE_WRITE16_MEMBER(taitof2_4p_coin_word_w);
DECLARE_WRITE16_MEMBER(ninjak_coin_word_w);
diff --git a/src/mame/includes/taito_h.h b/src/mame/includes/taito_h.h
index 0c8afb397cc..574b1e52102 100644
--- a/src/mame/includes/taito_h.h
+++ b/src/mame/includes/taito_h.h
@@ -34,7 +34,7 @@ public:
required_device<tc0220ioc_device> m_tc0220ioc;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(syvalion_input_bypass_r);
DECLARE_WRITE8_MEMBER(sound_bankswitch_w);
virtual void machine_start();
diff --git a/src/mame/includes/taito_o.h b/src/mame/includes/taito_o.h
index 4e3a517fa33..0b14bf7fef3 100644
--- a/src/mame/includes/taito_o.h
+++ b/src/mame/includes/taito_o.h
@@ -24,7 +24,7 @@ public:
required_device<tc0080vco_device> m_tc0080vco;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(io_w);
DECLARE_READ16_MEMBER(io_r);
virtual void machine_start();
diff --git a/src/mame/includes/taitojc.h b/src/mame/includes/taitojc.h
index e3bab2e7fda..a44024dde6c 100644
--- a/src/mame/includes/taitojc.h
+++ b/src/mame/includes/taitojc.h
@@ -70,7 +70,7 @@ public:
required_shared_ptr<UINT32> m_main_ram;
required_shared_ptr<UINT16> m_dsp_shared_ram;
required_shared_ptr<UINT32> m_palette_ram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
diff --git a/src/mame/includes/taitosj.h b/src/mame/includes/taitosj.h
index 3f3771649b1..22a98f6c3bb 100644
--- a/src/mame/includes/taitosj.h
+++ b/src/mame/includes/taitosj.h
@@ -129,5 +129,5 @@ public:
required_device<dac_device> m_dac;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/tceptor.h b/src/mame/includes/tceptor.h
index 644045865f8..edb5eb5b83a 100644
--- a/src/mame/includes/tceptor.h
+++ b/src/mame/includes/tceptor.h
@@ -68,7 +68,7 @@ public:
required_device<screen_device> m_2dscreen;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
TILE_GET_INFO_MEMBER(get_tx_tile_info);
TILE_GET_INFO_MEMBER(get_bg1_tile_info);
TILE_GET_INFO_MEMBER(get_bg2_tile_info);
diff --git a/src/mame/includes/thedeep.h b/src/mame/includes/thedeep.h
index aeab102935d..1f77092a4ba 100644
--- a/src/mame/includes/thedeep.h
+++ b/src/mame/includes/thedeep.h
@@ -34,7 +34,7 @@ public:
required_device<cpu_device> m_mcu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(thedeep_nmi_w);
DECLARE_WRITE8_MEMBER(thedeep_sound_w);
DECLARE_WRITE8_MEMBER(thedeep_protection_w);
diff --git a/src/mame/includes/thunderx.h b/src/mame/includes/thunderx.h
index c16ba5774a6..b59ca7ee59c 100644
--- a/src/mame/includes/thunderx.h
+++ b/src/mame/includes/thunderx.h
@@ -49,7 +49,7 @@ public:
required_device<k052109_device> m_k052109;
required_device<k051960_device> m_k051960;
required_device<palette_device> m_palette;
-
+
DECLARE_READ8_MEMBER(scontra_bankedram_r);
DECLARE_WRITE8_MEMBER(scontra_bankedram_w);
DECLARE_READ8_MEMBER(thunderx_bankedram_r);
diff --git a/src/mame/includes/timeplt.h b/src/mame/includes/timeplt.h
index bd703acb045..a72913e8d2b 100644
--- a/src/mame/includes/timeplt.h
+++ b/src/mame/includes/timeplt.h
@@ -34,7 +34,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
/* video-related */
tilemap_t *m_bg_tilemap;
diff --git a/src/mame/includes/toki.h b/src/mame/includes/toki.h
index 742b9c71082..6e90f35224b 100644
--- a/src/mame/includes/toki.h
+++ b/src/mame/includes/toki.h
@@ -32,7 +32,7 @@ public:
optional_device<msm5205_device> m_msm;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
int m_msm5205next;
int m_toggle;
diff --git a/src/mame/includes/topspeed.h b/src/mame/includes/topspeed.h
index 2f1d27de590..d523e0b8d23 100644
--- a/src/mame/includes/topspeed.h
+++ b/src/mame/includes/topspeed.h
@@ -52,7 +52,7 @@ public:
required_device<filter_volume_device> m_filter3;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
// Misc
UINT16 m_cpua_ctrl;
INT32 m_ioc220_port;
diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h
index 2a304800364..75de691b9a3 100644
--- a/src/mame/includes/tp84.h
+++ b/src/mame/includes/tp84.h
@@ -31,7 +31,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
tilemap_t *m_bg_tilemap;
tilemap_t *m_fg_tilemap;
diff --git a/src/mame/includes/tubep.h b/src/mame/includes/tubep.h
index 672b7a78220..87ef347a334 100644
--- a/src/mame/includes/tubep.h
+++ b/src/mame/includes/tubep.h
@@ -106,7 +106,7 @@ public:
required_device<cpu_device> m_mcu;
optional_device<msm5205_device> m_msm;
required_device<screen_device> m_screen;
-
+
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
diff --git a/src/mame/includes/tumbleb.h b/src/mame/includes/tumbleb.h
index ad607e8b1ce..e0b4f73c54c 100644
--- a/src/mame/includes/tumbleb.h
+++ b/src/mame/includes/tumbleb.h
@@ -49,7 +49,7 @@ public:
required_device<okim6295_device> m_oki;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
UINT8 m_semicom_prot_offset;
UINT16 m_protbase;
DECLARE_WRITE16_MEMBER(tumblepb_oki_w);
diff --git a/src/mame/includes/tunhunt.h b/src/mame/includes/tunhunt.h
index a86e637aab3..279e8710a8a 100644
--- a/src/mame/includes/tunhunt.h
+++ b/src/mame/includes/tunhunt.h
@@ -37,5 +37,5 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
diff --git a/src/mame/includes/turbo.h b/src/mame/includes/turbo.h
index 07728d66057..f28dbd2862e 100644
--- a/src/mame/includes/turbo.h
+++ b/src/mame/includes/turbo.h
@@ -48,7 +48,7 @@ public:
required_shared_ptr<UINT8> m_sprite_position;
required_device<samples_device> m_samples;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
diff --git a/src/mame/includes/twin16.h b/src/mame/includes/twin16.h
index 6aa39553b81..0de5c71a971 100644
--- a/src/mame/includes/twin16.h
+++ b/src/mame/includes/twin16.h
@@ -77,7 +77,7 @@ public:
required_device<upd7759_device> m_upd7759;
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
class cuebrickj_state : public twin16_state
diff --git a/src/mame/includes/undrfire.h b/src/mame/includes/undrfire.h
index 5f2d6cb567f..2763e235b39 100644
--- a/src/mame/includes/undrfire.h
+++ b/src/mame/includes/undrfire.h
@@ -49,7 +49,7 @@ public:
required_shared_ptr<UINT32> m_spriteram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE32_MEMBER(color_ram_w);
DECLARE_READ32_MEMBER(undrfire_input_r);
DECLARE_WRITE32_MEMBER(undrfire_input_w);
diff --git a/src/mame/includes/vaportra.h b/src/mame/includes/vaportra.h
index 84e34425b8d..763e4376713 100644
--- a/src/mame/includes/vaportra.h
+++ b/src/mame/includes/vaportra.h
@@ -38,7 +38,7 @@ public:
required_device<deco_mxc06_device> m_spritegen;
required_device<buffered_spriteram16_device> m_spriteram;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE16_MEMBER(vaportra_sound_w);
DECLARE_READ16_MEMBER(vaportra_control_r);
DECLARE_READ8_MEMBER(vaportra_soundlatch_r);
diff --git a/src/mame/includes/volfied.h b/src/mame/includes/volfied.h
index 952ec228abf..830e2ac1ff2 100644
--- a/src/mame/includes/volfied.h
+++ b/src/mame/includes/volfied.h
@@ -41,7 +41,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<pc090oj_device> m_pc090oj;
required_device<screen_device> m_screen;
-
+
DECLARE_WRITE16_MEMBER(volfied_cchip_ctrl_w);
DECLARE_WRITE16_MEMBER(volfied_cchip_bank_w);
DECLARE_WRITE16_MEMBER(volfied_cchip_ram_w);
diff --git a/src/mame/includes/warriorb.h b/src/mame/includes/warriorb.h
index 7b6e3647563..fd81c7c2f30 100644
--- a/src/mame/includes/warriorb.h
+++ b/src/mame/includes/warriorb.h
@@ -56,7 +56,7 @@ public:
required_device<filter_volume_device> m_2610_2r;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_WRITE8_MEMBER(sound_bankswitch_w);
DECLARE_WRITE16_MEMBER(warriorb_sound_w);
DECLARE_READ16_MEMBER(warriorb_sound_r);
diff --git a/src/mame/includes/wecleman.h b/src/mame/includes/wecleman.h
index c47b1a504a8..3e399252d33 100644
--- a/src/mame/includes/wecleman.h
+++ b/src/mame/includes/wecleman.h
@@ -24,7 +24,7 @@ public:
m_k007232_3(*this, "k007232_3"),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
- m_screen(*this, "screen") { }
+ m_screen(*this, "screen") { }
optional_shared_ptr<UINT16> m_videostatus;
optional_shared_ptr<UINT16> m_protection_ram;
diff --git a/src/mame/includes/wgp.h b/src/mame/includes/wgp.h
index 257ae9f5ce5..56fdfc747f4 100644
--- a/src/mame/includes/wgp.h
+++ b/src/mame/includes/wgp.h
@@ -68,7 +68,7 @@ public:
required_device<tc0220ioc_device> m_tc0220ioc;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER(sharedram_r);
DECLARE_WRITE16_MEMBER(sharedram_w);
DECLARE_WRITE16_MEMBER(cpua_ctrl_w);
diff --git a/src/mame/includes/wiz.h b/src/mame/includes/wiz.h
index d4ab5ddd197..06798fe74cb 100644
--- a/src/mame/includes/wiz.h
+++ b/src/mame/includes/wiz.h
@@ -49,7 +49,7 @@ public:
UINT8 m_main_nmi_mask;
UINT8 m_sound_nmi_mask;
UINT8 m_sprite_bank;
-
+
int m_dsc0;
int m_dsc1;
diff --git a/src/mame/includes/zac2650.h b/src/mame/includes/zac2650.h
index ed7ae4c152c..69e0291feea 100644
--- a/src/mame/includes/zac2650.h
+++ b/src/mame/includes/zac2650.h
@@ -21,7 +21,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
-
+
bitmap_ind16 m_bitmap;
bitmap_ind16 m_spritebitmap;
int m_CollisionBackground;
diff --git a/src/mame/includes/zodiack.h b/src/mame/includes/zodiack.h
index 393e41b17f6..bf989760a1d 100644
--- a/src/mame/includes/zodiack.h
+++ b/src/mame/includes/zodiack.h
@@ -42,7 +42,7 @@ public:
required_shared_ptr<UINT8> m_attributeram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_bulletsram;
-
+
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
diff --git a/src/mame/layout/cherryb3.lay b/src/mame/layout/cherryb3.lay
index a484edcada0..e6822b47a8e 100644
--- a/src/mame/layout/cherryb3.lay
+++ b/src/mame/layout/cherryb3.lay
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!--
- Cherry Bonus III control panel
- Written by Roberto Fresca.
+ Cherry Bonus III control panel
+ Written by Roberto Fresca.
-->
<!-- define button-lamps -->
diff --git a/src/mame/layout/dblcrown.lay b/src/mame/layout/dblcrown.lay
index 3c715509bfa..f13472c5b68 100644
--- a/src/mame/layout/dblcrown.lay
+++ b/src/mame/layout/dblcrown.lay
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!--
- Double Crown control panel
- Written by Roberto Fresca.
+ Double Crown control panel
+ Written by Roberto Fresca.
-->
<!-- define button-lamps -->
diff --git a/src/mame/layout/gamball.lay b/src/mame/layout/gamball.lay
index 58160a541c8..b029771f237 100644
--- a/src/mame/layout/gamball.lay
+++ b/src/mame/layout/gamball.lay
@@ -10,7 +10,7 @@
<bounds x="0" y="0" width="1" height="1" />
<color red="0" green="0" blue="0" />
</rect>
- </element>
+ </element>
<element name="reellamp">
<rect state ="0">
<bounds x="0" y="0" width="7" height="3" />
@@ -309,7 +309,7 @@
<backdrop name="sreel1" element="SteppersReel1" state="0">
<bounds x="85" y="463" width="49" height="87.9999"/>
</backdrop>
-
+
<backdrop name="blk" element="bezelblock" state="0">
<bounds x="85" y="463" width="49" height="29.3333"/>
</backdrop>
diff --git a/src/mame/layout/goldstar.lay b/src/mame/layout/goldstar.lay
index ad35d8a9ee6..cf2ede71722 100644
--- a/src/mame/layout/goldstar.lay
+++ b/src/mame/layout/goldstar.lay
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!--
- Golden Star control panel.
- Written by Roberto Fresca.
+ Golden Star control panel.
+ Written by Roberto Fresca.
-->
<!-- define button-lamps -->
diff --git a/src/mame/machine/asteroid.c b/src/mame/machine/asteroid.c
index 09c5946fed1..3476410521c 100644
--- a/src/mame/machine/asteroid.c
+++ b/src/mame/machine/asteroid.c
@@ -140,4 +140,4 @@ void asteroid_state::machine_reset()
MACHINE_RESET_MEMBER(asteroid_state, llander)
{
m_dvg->reset_w(m_maincpu->space(AS_PROGRAM), 0, 0);
-} \ No newline at end of file
+}
diff --git a/src/mame/machine/atari.c b/src/mame/machine/atari.c
index 76bcf8e425c..3f7053cc933 100644
--- a/src/mame/machine/atari.c
+++ b/src/mame/machine/atari.c
@@ -278,4 +278,3 @@ void atari_common_state::atari_machine_start()
machine().save().save_pointer(NAME((UINT8 *) &antic.r), sizeof(antic.r));
machine().save().save_pointer(NAME((UINT8 *) &antic.w), sizeof(antic.w));
}
-
diff --git a/src/mame/machine/atarigen.h b/src/mame/machine/atarigen.h
index 0b23c42f79b..fbffdad9e10 100644
--- a/src/mame/machine/atarigen.h
+++ b/src/mame/machine/atarigen.h
@@ -79,7 +79,7 @@
{ astring fulltag(device->tag(), ":mob"); device_t *device; \
MCFG_ATARI_MOTION_OBJECTS_ADD(fulltag, "^^screen", _config) \
MCFG_ATARI_MOTION_OBJECTS_GFXDECODE("^" _gfxtag) }
-
+
#define MCFG_ATARI_EEPROM_2804_ADD(_tag) \
diff --git a/src/mame/machine/cdi070.h b/src/mame/machine/cdi070.h
index 4290c926875..c5f0f56c8a7 100644
--- a/src/mame/machine/cdi070.h
+++ b/src/mame/machine/cdi070.h
@@ -154,7 +154,7 @@ public:
DECLARE_READ16_MEMBER(periphs_r);
DECLARE_WRITE16_MEMBER(periphs_w);
-
+
DECLARE_READ16_MEMBER(uart_loopback_enable);
TIMER_CALLBACK_MEMBER( timer0_callback );
diff --git a/src/mame/machine/gaelco3d.h b/src/mame/machine/gaelco3d.h
index 477de2ef854..14269cf6942 100644
--- a/src/mame/machine/gaelco3d.h
+++ b/src/mame/machine/gaelco3d.h
@@ -64,7 +64,7 @@ class gaelco_serial_device : public device_t
public:
gaelco_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~gaelco_serial_device() {}
-
+
template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<gaelco_serial_device &>(device).m_irq_handler.set_callback(object); }
DECLARE_READ8_MEMBER( status_r);
diff --git a/src/mame/machine/igs036crypt.c b/src/mame/machine/igs036crypt.c
index 2c10945dc1d..7cf5140ad65 100644
--- a/src/mame/machine/igs036crypt.c
+++ b/src/mame/machine/igs036crypt.c
@@ -8,16 +8,16 @@ previous IGS encryption schemes. Basically, it consists on a rotation-based
non-trivial obfuscation layered upon a simple address-based XOR encryption
(similar to the ones found in previous IGS circuits).
-The scheme works on 16-bits words and is probably designed to depend on 24 bits of
-(word-) address; in what follows, we will refer to the 8 lowest ones simply as the
+The scheme works on 16-bits words and is probably designed to depend on 24 bits of
+(word-) address; in what follows, we will refer to the 8 lowest ones simply as the
lowest bits of the address, and the other 16 as the highest bits the address.
The address-based XOR is thought to be comprised of 16 one-bit XOR controlled
by a certain combination of one or two of the highest address bits (but only
-15 of them are observed, probably due to the fact that no game uses more than
+15 of them are observed, probably due to the fact that no game uses more than
2^22 of the 2^24 address space). Every one of the one-bit XORs affects a different bit
-of the word. The game key acts by masking on/off those XORs for every combination
-of the lowest address bits. Thus, a complete key can be described by 256 16-bits values.
+of the word. The game key acts by masking on/off those XORs for every combination
+of the lowest address bits. Thus, a complete key can be described by 256 16-bits values.
This use of the key is pretty similar to the one found in previous instantiations of
IGS circuits.
@@ -48,7 +48,7 @@ On a different note, the unused tail of the ROMs are pattern-filled and, more in
that region appears to be hiding 20-bytes values (SHA-1 hashes?) located at
positions which vary per set. See the table below.
-driver 20-bytes value position in the ROM
+driver 20-bytes value position in the ROM
--------- ----------------------------------
orleg2o $763984-$763997
orleg2 $76C77C-$76C78F
@@ -77,7 +77,7 @@ UINT16 igs036_decryptor::decrypt(UINT16 cipherword, int word_address)const
{
// key-independent manipulation
int aux = deobfuscate(cipherword, word_address);
-
+
// key-dependent manipulation
for (int i=0; i<16; ++i)
{
@@ -87,7 +87,7 @@ UINT16 igs036_decryptor::decrypt(UINT16 cipherword, int word_address)const
aux ^= (1<<i);
}
}
-
+
return aux^0x1a3a;
}
@@ -107,17 +107,17 @@ int igs036_decryptor::rotation(int address)const
const int group14[] = {14, 9, 3, 2}; // 14 is a guess
const int group13[] = {13,10, 6, 1};
const int group12[] = {12, 8, 4, 0};
-
+
// rotation depending on all the address bits
int enabled0 = rot_enabled(address, group15);
int rot = enabled0 * rot_group(address, group15) * 9;
-
+
int enabled1 = enabled0 ^ rot_enabled(address, group14);
rot += enabled1 * rot_group(address, group14) * 1;
-
+
int enabled2 = enabled0 ^ rot_enabled(address, group13);
rot += enabled2 * rot_group(address, group13) * 2;
-
+
int enabled3 = enabled0 ^ rot_enabled(address, group12);
rot += enabled3 * rot_group(address, group12) * 4;
@@ -143,7 +143,7 @@ int igs036_decryptor::rot_enabled(int address, const int* group)const
break;
}
}
-
+
return enabled;
}
@@ -157,7 +157,7 @@ UINT16 igs036_decryptor::rol(UINT16 num, int shift)const
{
UINT16 r = num<<shift;
UINT16 l = num>>(16-shift);
-
+
return r|l;
}
@@ -175,10 +175,10 @@ const UINT16 igs036_decryptor::triggers[16][2] = {
// of function on the 8 lowest word-address bits. Some comments:
// * Bits #5 & #6 are unused so, in fact, they only depend on 6 address bits
// * The functions are clearly low-complexity boolean functions on those 6 bits
-// rather than, say, random lookup tables
-// * There are quite a number of functionally equivalent ways to implement
-// those boolean functions, so the given implementation (by multiplexing
-// over some simple functions) shouldn't be taken too seriously: while it's
+// rather than, say, random lookup tables
+// * There are quite a number of functionally equivalent ways to implement
+// those boolean functions, so the given implementation (by multiplexing
+// over some simple functions) shouldn't be taken too seriously: while it's
// functionally correct, it doesn't neccesarily represent the way the hardware
// is calculating them.
@@ -233,38 +233,38 @@ int (*igs036_decryptor::rot_direction[4][8])(int) = {
// if any. The only exception is DDPDOJ (see below).
const UINT16 orleg2_key[0x100] = {
- 0x8100, 0x9202, 0x3000, 0x1200, 0x0100, 0x0800, 0x2100, 0xab05,
- 0x130a, 0xba0a, 0x0308, 0x9200, 0x8306, 0xab0f, 0x200c, 0x0301,
- 0x9010, 0x1b13, 0x1310, 0x1b11, 0x8104, 0x0212, 0x8204, 0x8214,
- 0x8302, 0x1111, 0x8300, 0x1b19, 0x0110, 0x8202, 0x0310, 0x0301,
- 0x8322, 0xb202, 0xb200, 0x9121, 0x8222, 0x0a26, 0x2000, 0x0321,
- 0xb000, 0x0020, 0x9328, 0x3909, 0x230a, 0x8929, 0x8224, 0x2204,
- 0x0322, 0x9b33, 0x0300, 0x9311, 0x8120, 0x8810, 0x0330, 0x0004,
- 0x832a, 0x8a0a, 0x0100, 0x1131, 0x0138, 0x093d, 0x8128, 0x081c,
- 0xe342, 0x8101, 0xf140, 0x0000, 0x6144, 0x2004, 0x8204, 0x4044,
- 0xa302, 0xdb4b, 0x1000, 0xa200, 0xc044, 0xe044, 0x010c, 0x0204,
- 0x1212, 0xdb53, 0xd050, 0xcb41, 0x4150, 0xc347, 0x4340, 0x0101,
- 0x5252, 0xd959, 0x1310, 0xc040, 0xc252, 0xc959, 0x4340, 0x8919,
- 0x2202, 0x3800, 0xe340, 0x2101, 0x0326, 0x2307, 0x4360, 0x8321,
- 0x3000, 0xbb0b, 0x5068, 0xf848, 0x436a, 0xab0b, 0xa10c, 0xe240,
- 0xc140, 0xc363, 0x8300, 0x4961, 0x0004, 0xc860, 0x0324, 0x0000,
- 0xd070, 0x8101, 0xd070, 0x1331, 0x0104, 0x4a6e, 0x4348, 0x4a78,
- 0xa282, 0xb282, 0x0200, 0x2200, 0x8180, 0x8080, 0x8080, 0x0800,
- 0x1302, 0x9989, 0x2008, 0x2000, 0xa386, 0x0b0f, 0x828c, 0xa280,
- 0x9392, 0x9292, 0x1010, 0x8080, 0x0206, 0x8383, 0x8294, 0x0911,
- 0x8382, 0x0a0a, 0x9190, 0x1010, 0x0008, 0x0b0b, 0x8098, 0x8b9d,
- 0x1120, 0x0820, 0x2200, 0xa080, 0x81a4, 0xa286, 0xa380, 0xaa80,
- 0x0120, 0x1020, 0xb088, 0x1020, 0x2000, 0x0b2b, 0x2100, 0x2a0c,
- 0x9292, 0x98b0, 0x1330, 0x8880, 0x8396, 0x0b17, 0x8080, 0x0325,
- 0x0000, 0x99b9, 0x92b0, 0x82a0, 0x8184, 0x0020, 0x0330, 0x0818,
- 0xe1c0, 0xa981, 0xd1c0, 0xd0c0, 0x6140, 0x4242, 0xc2c4, 0x6345,
- 0xb088, 0x7141, 0x4040, 0xa181, 0x220e, 0xe0c4, 0x4144, 0x6a4c,
- 0xd0d0, 0x9a92, 0x1310, 0xd9d1, 0x8392, 0xc0c4, 0x8284, 0x8890,
- 0xc0c0, 0x8282, 0x8280, 0x9090, 0x4342, 0x0a0a, 0x4240, 0xc1d5,
- 0xb080, 0xb282, 0xc1e0, 0x90a0, 0xa084, 0x4b63, 0x81a0, 0xeac0,
- 0x7242, 0x5363, 0x7348, 0x0321, 0x022a, 0x6949, 0x4360, 0x8aa8,
- 0x8282, 0x0303, 0x8180, 0x1331, 0x83a2, 0x4b53, 0x4364, 0x83b1,
- 0x121a, 0x80a0, 0x1238, 0x0000, 0x82ba, 0x0030, 0xc0c0, 0x4264,
+ 0x8100, 0x9202, 0x3000, 0x1200, 0x0100, 0x0800, 0x2100, 0xab05,
+ 0x130a, 0xba0a, 0x0308, 0x9200, 0x8306, 0xab0f, 0x200c, 0x0301,
+ 0x9010, 0x1b13, 0x1310, 0x1b11, 0x8104, 0x0212, 0x8204, 0x8214,
+ 0x8302, 0x1111, 0x8300, 0x1b19, 0x0110, 0x8202, 0x0310, 0x0301,
+ 0x8322, 0xb202, 0xb200, 0x9121, 0x8222, 0x0a26, 0x2000, 0x0321,
+ 0xb000, 0x0020, 0x9328, 0x3909, 0x230a, 0x8929, 0x8224, 0x2204,
+ 0x0322, 0x9b33, 0x0300, 0x9311, 0x8120, 0x8810, 0x0330, 0x0004,
+ 0x832a, 0x8a0a, 0x0100, 0x1131, 0x0138, 0x093d, 0x8128, 0x081c,
+ 0xe342, 0x8101, 0xf140, 0x0000, 0x6144, 0x2004, 0x8204, 0x4044,
+ 0xa302, 0xdb4b, 0x1000, 0xa200, 0xc044, 0xe044, 0x010c, 0x0204,
+ 0x1212, 0xdb53, 0xd050, 0xcb41, 0x4150, 0xc347, 0x4340, 0x0101,
+ 0x5252, 0xd959, 0x1310, 0xc040, 0xc252, 0xc959, 0x4340, 0x8919,
+ 0x2202, 0x3800, 0xe340, 0x2101, 0x0326, 0x2307, 0x4360, 0x8321,
+ 0x3000, 0xbb0b, 0x5068, 0xf848, 0x436a, 0xab0b, 0xa10c, 0xe240,
+ 0xc140, 0xc363, 0x8300, 0x4961, 0x0004, 0xc860, 0x0324, 0x0000,
+ 0xd070, 0x8101, 0xd070, 0x1331, 0x0104, 0x4a6e, 0x4348, 0x4a78,
+ 0xa282, 0xb282, 0x0200, 0x2200, 0x8180, 0x8080, 0x8080, 0x0800,
+ 0x1302, 0x9989, 0x2008, 0x2000, 0xa386, 0x0b0f, 0x828c, 0xa280,
+ 0x9392, 0x9292, 0x1010, 0x8080, 0x0206, 0x8383, 0x8294, 0x0911,
+ 0x8382, 0x0a0a, 0x9190, 0x1010, 0x0008, 0x0b0b, 0x8098, 0x8b9d,
+ 0x1120, 0x0820, 0x2200, 0xa080, 0x81a4, 0xa286, 0xa380, 0xaa80,
+ 0x0120, 0x1020, 0xb088, 0x1020, 0x2000, 0x0b2b, 0x2100, 0x2a0c,
+ 0x9292, 0x98b0, 0x1330, 0x8880, 0x8396, 0x0b17, 0x8080, 0x0325,
+ 0x0000, 0x99b9, 0x92b0, 0x82a0, 0x8184, 0x0020, 0x0330, 0x0818,
+ 0xe1c0, 0xa981, 0xd1c0, 0xd0c0, 0x6140, 0x4242, 0xc2c4, 0x6345,
+ 0xb088, 0x7141, 0x4040, 0xa181, 0x220e, 0xe0c4, 0x4144, 0x6a4c,
+ 0xd0d0, 0x9a92, 0x1310, 0xd9d1, 0x8392, 0xc0c4, 0x8284, 0x8890,
+ 0xc0c0, 0x8282, 0x8280, 0x9090, 0x4342, 0x0a0a, 0x4240, 0xc1d5,
+ 0xb080, 0xb282, 0xc1e0, 0x90a0, 0xa084, 0x4b63, 0x81a0, 0xeac0,
+ 0x7242, 0x5363, 0x7348, 0x0321, 0x022a, 0x6949, 0x4360, 0x8aa8,
+ 0x8282, 0x0303, 0x8180, 0x1331, 0x83a2, 0x4b53, 0x4364, 0x83b1,
+ 0x121a, 0x80a0, 0x1238, 0x0000, 0x82ba, 0x0030, 0xc0c0, 0x4264,
};
const UINT16 m312cn_key[0x100] = {
diff --git a/src/mame/machine/igs036crypt.h b/src/mame/machine/igs036crypt.h
index 47f89cc8831..5461530c61e 100644
--- a/src/mame/machine/igs036crypt.h
+++ b/src/mame/machine/igs036crypt.h
@@ -10,10 +10,10 @@ public:
void decrypter_rom(memory_region* region);
UINT16 decrypt(UINT16 cipherword, int word_address)const;
UINT16 deobfuscate(UINT16 cipherword, int word_address)const;
-
+
private:
const UINT16* key;
-
+
static int (*rot_enabling[16][4])(int);
static int (*rot_direction[4][8])(int);
static const UINT16 triggers[16][2];
diff --git a/src/mame/machine/inder_sb.c b/src/mame/machine/inder_sb.c
index 2309b1d95dd..718833e0725 100644
--- a/src/mame/machine/inder_sb.c
+++ b/src/mame/machine/inder_sb.c
@@ -24,26 +24,26 @@ inder_sb_device::inder_sb_device(const machine_config &mconfig, const char *tag,
// hacks for test purposes, these are installed over the program rom so we know when irqs are actually taken
-READ8_MEMBER(inder_sb_device::megaphx_02cc_hack_r) { /*logerror("%04x audicpu IRQ hack 0x02cc\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[0] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x02cc]; };
-READ8_MEMBER(inder_sb_device::megaphx_02e6_hack_r) { /*logerror("%04x audicpu IRQ hack 0x02e6\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[1] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x02e6]; };
-READ8_MEMBER(inder_sb_device::megaphx_0309_hack_r) { /*logerror("%04x audicpu IRQ hack 0x0309\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[2] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x0309]; };
-READ8_MEMBER(inder_sb_device::megaphx_0323_hack_r) { /*logerror("%04x audicpu IRQ hack 0x0323\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[3] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x0323]; };
+READ8_MEMBER(inder_sb_device::megaphx_02cc_hack_r) { /*logerror("%04x audicpu IRQ hack 0x02cc\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[0] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x02cc]; };
+READ8_MEMBER(inder_sb_device::megaphx_02e6_hack_r) { /*logerror("%04x audicpu IRQ hack 0x02e6\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[1] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x02e6]; };
+READ8_MEMBER(inder_sb_device::megaphx_0309_hack_r) { /*logerror("%04x audicpu IRQ hack 0x0309\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[2] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x0309]; };
+READ8_MEMBER(inder_sb_device::megaphx_0323_hack_r) { /*logerror("%04x audicpu IRQ hack 0x0323\n", machine().device("audiocpu")->safe_pc());*/ int bank = m_soundbank[3] & 7; membank("snddata")->set_entry(bank); return memregion("audiocpu")->base()[0x0323]; };
READ16_MEMBER(inder_sb_device::megaphx_0x050002_r)
{
space.machine().scheduler().synchronize();
-// int pc = machine().device("maincpu")->safe_pc();
+// int pc = machine().device("maincpu")->safe_pc();
int ret = m_soundback;
m_soundback = 0;
//logerror("(%06x) megaphx_0x050002_r (from z80?) %04x\n", pc, mem_mask);
- return ret;
+ return ret;
}
WRITE16_MEMBER(inder_sb_device::megaphx_0x050000_w)
{
-// int pc = machine().device("maincpu")->safe_pc();
+// int pc = machine().device("maincpu")->safe_pc();
space.machine().scheduler().synchronize();
//logerror("(%06x) megaphx_0x050000_w (to z80?) %04x %04x\n", pc, data, mem_mask);
@@ -69,8 +69,8 @@ void inder_sb_device::update_sound_irqs(void)
WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch0)
{
-// int bank = m_soundbank[0] & 7; membank("snddata")->set_entry(bank);
-// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
+// int bank = m_soundbank[0] & 7; membank("snddata")->set_entry(bank);
+// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
if (state) m_soundirq |= 0x1;
else m_soundirq &= ~0x1;
@@ -80,8 +80,8 @@ WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch0)
WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch1)
{
-// int bank = m_soundbank[1] & 7; membank("snddata")->set_entry(bank);
-// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
+// int bank = m_soundbank[1] & 7; membank("snddata")->set_entry(bank);
+// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
if (state) m_soundirq |= 0x2;
else m_soundirq &= ~0x2;
@@ -91,8 +91,8 @@ WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch1)
WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch2)
{
-// int bank = m_soundbank[2] & 7; membank("snddata")->set_entry(bank);
-// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
+// int bank = m_soundbank[2] & 7; membank("snddata")->set_entry(bank);
+// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
if (state) m_soundirq |= 0x4;
else m_soundirq &= ~0x4;
@@ -104,15 +104,15 @@ WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch2)
WRITE_LINE_MEMBER(inder_sb_device::z80ctc_ch3)
{
-// int bank = m_soundbank[3] & 7; membank("snddata")->set_entry(bank);
-// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
+// int bank = m_soundbank[3] & 7; membank("snddata")->set_entry(bank);
+// m_audiocpu->set_input_line(INPUT_LINE_IRQ0, state ? ASSERT_LINE : CLEAR_LINE);
if (state) m_soundirq |= 0x8;
else m_soundirq &= ~0x8;
update_sound_irqs();
}
-
+
static Z80CTC_INTERFACE( z80ctc_intf ) // runs in IM2 , vector set to 0x20 , values there are 0xCC, 0x02, 0xE6, 0x02, 0x09, 0x03, 0x23, 0x03 (so 02cc, 02e6, 0309, 0323, all of which are valid irq handlers)
@@ -152,7 +152,7 @@ READ8_MEMBER(inder_sb_device::megaphx_sound_sent_r)
WRITE8_MEMBER(inder_sb_device::megaphx_sound_to_68k_w)
{
-// int pc = machine().device("audiocpu")->safe_pc();
+// int pc = machine().device("audiocpu")->safe_pc();
space.machine().scheduler().synchronize();
//logerror("(%04x) megaphx_sound_to_68k_w (to 68k?) %02x\n", pc, data);
@@ -161,49 +161,49 @@ WRITE8_MEMBER(inder_sb_device::megaphx_sound_to_68k_w)
WRITE8_MEMBER(inder_sb_device::dac0_value_write)
{
-// printf("dac0_data_write %02x\n", data);
+// printf("dac0_data_write %02x\n", data);
m_dac0->write_unsigned8(data);
}
WRITE8_MEMBER(inder_sb_device::dac0_gain_write)
{
-// printf("dac0_gain_write %02x\n", data);
+// printf("dac0_gain_write %02x\n", data);
dac_gain[0] = data;
}
WRITE8_MEMBER(inder_sb_device::dac1_value_write)
{
-// printf("dac1_data_write %02x\n", data);
+// printf("dac1_data_write %02x\n", data);
m_dac1->write_unsigned8(data);
}
WRITE8_MEMBER(inder_sb_device::dac1_gain_write)
{
-// printf("dac1_gain_write %02x\n", data);
+// printf("dac1_gain_write %02x\n", data);
dac_gain[1] = data;
}
WRITE8_MEMBER(inder_sb_device::dac2_value_write)
{
-// printf("dac2_data_write %02x\n", data);
+// printf("dac2_data_write %02x\n", data);
m_dac2->write_unsigned8(data);
}
WRITE8_MEMBER(inder_sb_device::dac2_gain_write)
{
-// printf("dac2_gain_write %02x\n", data);
+// printf("dac2_gain_write %02x\n", data);
dac_gain[2] = data;
}
WRITE8_MEMBER(inder_sb_device::dac3_value_write)
{
-// printf("dac3_data_write %02x\n", data);
+// printf("dac3_data_write %02x\n", data);
m_dac3->write_unsigned8(data);
}
WRITE8_MEMBER(inder_sb_device::dac3_gain_write)
{
-// printf("dac3_gain_write %02x\n", data);
+// printf("dac3_gain_write %02x\n", data);
dac_gain[3] = data;
}
@@ -211,26 +211,26 @@ WRITE8_MEMBER(inder_sb_device::dac0_rombank_write)
{
m_soundbank[0] = data;
-// printf("dac0_rombank_write %02x", data);
+// printf("dac0_rombank_write %02x", data);
}
WRITE8_MEMBER(inder_sb_device::dac1_rombank_write)
{
m_soundbank[1] = data;
-// printf("dac1_rombank_write %02x", data);
+// printf("dac1_rombank_write %02x", data);
}
WRITE8_MEMBER(inder_sb_device::dac2_rombank_write)
{
m_soundbank[2] = data;
-// printf("dac2_rombank_write %02x", data);
+// printf("dac2_rombank_write %02x", data);
}
WRITE8_MEMBER(inder_sb_device::dac3_rombank_write)
{
m_soundbank[3] = data;
-// printf("dac3_rombank_write %02x", data);
+// printf("dac3_rombank_write %02x", data);
}
@@ -253,10 +253,10 @@ static ADDRESS_MAP_START( sound_io, AS_IO, 8, inder_sb_device )
AM_RANGE(0x13, 0x13) AM_WRITE(dac3_rombank_write)
-
+
AM_RANGE(0x20, 0x23) AM_DEVREADWRITE("ctc", z80ctc_device, read, write)
-
+
AM_RANGE(0x30, 0x30) AM_READWRITE(megaphx_sound_cmd_r, megaphx_sound_to_68k_w)
AM_RANGE(0x31, 0x31) AM_READ(megaphx_sound_sent_r)
ADDRESS_MAP_END
@@ -271,7 +271,7 @@ static MACHINE_CONFIG_FRAGMENT( inder_sb )
MCFG_Z80CTC_ADD( "ctc", 4000000, z80ctc_intf ) // unk freq
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_DAC_ADD("dac0")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DAC_ADD("dac1")
diff --git a/src/mame/machine/inder_sb.h b/src/mame/machine/inder_sb.h
index 331ad9a4968..2dc684a7b19 100644
--- a/src/mame/machine/inder_sb.h
+++ b/src/mame/machine/inder_sb.h
@@ -89,4 +89,4 @@ private:
};
-#endif \ No newline at end of file
+#endif
diff --git a/src/mame/machine/inder_vid.c b/src/mame/machine/inder_vid.c
index 15c3ba3f614..ad672badddc 100644
--- a/src/mame/machine/inder_vid.c
+++ b/src/mame/machine/inder_vid.c
@@ -13,7 +13,7 @@ extern const device_type INDER_VIDEO = &device_creator<inder_vid_device>;
inder_vid_device::inder_vid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, INDER_VIDEO, "Inder / Dinamic TMS Video", tag, owner, clock, "indervd", __FILE__),
-/* device_video_interface(mconfig, *this, false), */
+/* device_video_interface(mconfig, *this, false), */
m_vram(*this, "vram"),
m_palette(*this, "palette"),
m_tms(*this, "tms")
@@ -71,7 +71,7 @@ static void megaphx_to_shiftreg(address_space &space, UINT32 address, UINT16 *sh
static void megaphx_from_shiftreg(address_space &space, UINT32 address, UINT16 *shiftreg)
{
-// printf("write from shift regs address %08x (%08x)\n", address, TOWORD(address) * 2);
+// printf("write from shift regs address %08x (%08x)\n", address, TOWORD(address) * 2);
inder_vid_device *state = (inder_vid_device*)space.machine().device("inder_vid");
@@ -125,7 +125,7 @@ static MACHINE_CONFIG_FRAGMENT( inder_vid )
MCFG_PALETTE_ADD("palette", 256)
-
+
MCFG_RAMDAC_ADD("ramdac", ramdac_intf, ramdac_map, "palette")
@@ -138,7 +138,6 @@ machine_config_constructor inder_vid_device::device_mconfig_additions() const
void inder_vid_device::device_start()
{
-
}
void inder_vid_device::device_reset()
diff --git a/src/mame/machine/inder_vid.h b/src/mame/machine/inder_vid.h
index c903a7d8619..30033531a8a 100644
--- a/src/mame/machine/inder_vid.h
+++ b/src/mame/machine/inder_vid.h
@@ -20,7 +20,7 @@ extern const device_type INDER_VIDEO;
class inder_vid_device : public device_t
-/* public device_video_interface */
+/* public device_video_interface */
{
public:
// construction/destruction
@@ -29,7 +29,7 @@ public:
required_shared_ptr<UINT16> m_vram;
required_device<palette_device> m_palette;
required_device<tms34010_device> m_tms;
-
+
int m_shiftfull; // this might be a driver specific hack for a TMS bug.
protected:
@@ -44,4 +44,4 @@ private:
};
-#endif \ No newline at end of file
+#endif
diff --git a/src/mame/machine/megadriv.c b/src/mame/machine/megadriv.c
index 12a317e82ec..ce9af87f50b 100644
--- a/src/mame/machine/megadriv.c
+++ b/src/mame/machine/megadriv.c
@@ -1048,8 +1048,8 @@ DRIVER_INIT_MEMBER(md_base_state,megadriv_c2)
m_vdp->set_vdp_pal(FALSE);
m_vdp->set_framerate(60);
m_vdp->set_total_scanlines(262);
-
- m_version_hi_nibble = 0x20; // JPN NTSC no-SCD
+
+ m_version_hi_nibble = 0x20; // JPN NTSC no-SCD
}
@@ -1064,7 +1064,7 @@ DRIVER_INIT_MEMBER(md_base_state, megadriv)
m_vdp->set_framerate(60);
m_vdp->set_total_scanlines(262);
- m_version_hi_nibble = 0xa0; // Export NTSC no-SCD
+ m_version_hi_nibble = 0xa0; // Export NTSC no-SCD
}
DRIVER_INIT_MEMBER(md_base_state, megadrij)
@@ -1076,8 +1076,8 @@ DRIVER_INIT_MEMBER(md_base_state, megadrij)
m_vdp->set_vdp_pal(FALSE);
m_vdp->set_framerate(60);
m_vdp->set_total_scanlines(262);
-
- m_version_hi_nibble = 0x20; // JPN NTSC no-SCD
+
+ m_version_hi_nibble = 0x20; // JPN NTSC no-SCD
}
DRIVER_INIT_MEMBER(md_base_state, megadrie)
@@ -1090,7 +1090,7 @@ DRIVER_INIT_MEMBER(md_base_state, megadrie)
m_vdp->set_framerate(50);
m_vdp->set_total_scanlines(313);
- m_version_hi_nibble = 0xe0; // Export PAL no-SCD
+ m_version_hi_nibble = 0xe0; // Export PAL no-SCD
}
void md_base_state::screen_eof_megadriv(screen_device &screen, bool state)
diff --git a/src/mame/machine/namco06.c b/src/mame/machine/namco06.c
index fa09d7cb188..f8b6703f530 100644
--- a/src/mame/machine/namco06.c
+++ b/src/mame/machine/namco06.c
@@ -101,7 +101,7 @@ TIMER_CALLBACK_MEMBER( namco_06xx_device::nmi_generate )
READ8_MEMBER( namco_06xx_device::data_r )
-{
+{
UINT8 result = 0xff;
LOG(("%s: 06XX '%s' read offset %d\n",machine().describe_context(),tag(),offset));
@@ -122,7 +122,7 @@ READ8_MEMBER( namco_06xx_device::data_r )
WRITE8_MEMBER( namco_06xx_device::data_w )
-{
+{
LOG(("%s: 06XX '%s' write offset %d = %02x\n",machine().describe_context(),tag(),offset,data));
if (m_control & 0x10)
@@ -138,13 +138,13 @@ WRITE8_MEMBER( namco_06xx_device::data_w )
READ8_MEMBER( namco_06xx_device::ctrl_r )
-{
+{
LOG(("%s: 06XX '%s' ctrl_r\n",machine().describe_context(),tag()));
return m_control;
}
WRITE8_MEMBER( namco_06xx_device::ctrl_w )
-{
+{
LOG(("%s: 06XX '%s' control %02x\n",space.machine().describe_context(),tag(),data));
m_control = data;
@@ -183,11 +183,11 @@ namco_06xx_device::namco_06xx_device(const machine_config &mconfig, const char *
m_read_0(*this),
m_read_1(*this),
m_read_2(*this),
- m_read_3(*this),
+ m_read_3(*this),
m_readreq_0(*this),
m_readreq_1(*this),
m_readreq_2(*this),
- m_readreq_3(*this),
+ m_readreq_3(*this),
m_write_0(*this),
m_write_1(*this),
m_write_2(*this),
@@ -212,7 +212,7 @@ void namco_06xx_device::device_start()
m_write_0.resolve();
m_write_1.resolve();
m_write_2.resolve();
- m_write_3.resolve();
+ m_write_3.resolve();
/* allocate a timer */
m_nmi_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(namco_06xx_device::nmi_generate),this));
diff --git a/src/mame/machine/namco06.h b/src/mame/machine/namco06.h
index 94be8bfac2c..4a539566483 100644
--- a/src/mame/machine/namco06.h
+++ b/src/mame/machine/namco06.h
@@ -16,7 +16,7 @@ struct namco_06xx_config
#define MCFG_NAMCO_06XX_ADD(_tag, _clock) \
MCFG_DEVICE_ADD(_tag, NAMCO_06XX, _clock)
-
+
#define MCFG_NAMCO_06XX_MAINCPU(_tag) \
namco_06xx_device::set_maincpu(*device, "^" _tag);
@@ -44,20 +44,20 @@ struct namco_06xx_config
#define MCFG_NAMCO_06XX_READ_REQUEST_3_CB(_devcb) \
devcb = &namco_06xx_device::set_read_request_3_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_NAMCO_06XX_WRITE_0_CB(_devcb) \
devcb = &namco_06xx_device::set_write_0_callback(*device, DEVCB2_##_devcb);
#define MCFG_NAMCO_06XX_WRITE_1_CB(_devcb) \
devcb = &namco_06xx_device::set_write_1_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_NAMCO_06XX_WRITE_2_CB(_devcb) \
devcb = &namco_06xx_device::set_write_2_callback(*device, DEVCB2_##_devcb);
#define MCFG_NAMCO_06XX_WRITE_3_CB(_devcb) \
devcb = &namco_06xx_device::set_write_3_callback(*device, DEVCB2_##_devcb);
-
+
/* device get info callback */
class namco_06xx_device : public device_t
@@ -66,17 +66,17 @@ public:
namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
static void set_maincpu(device_t &device, const char *tag) { downcast<namco_06xx_device &>(device).m_nmicpu.set_tag(tag); }
-
+
template<class _Object> static devcb2_base &set_read_0_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_read_0.set_callback(object); }
template<class _Object> static devcb2_base &set_read_1_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_read_1.set_callback(object); }
template<class _Object> static devcb2_base &set_read_2_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_read_2.set_callback(object); }
template<class _Object> static devcb2_base &set_read_3_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_read_3.set_callback(object); }
-
+
template<class _Object> static devcb2_base &set_read_request_0_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_readreq_0.set_callback(object); }
template<class _Object> static devcb2_base &set_read_request_1_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_readreq_1.set_callback(object); }
template<class _Object> static devcb2_base &set_read_request_2_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_readreq_2.set_callback(object); }
template<class _Object> static devcb2_base &set_read_request_3_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_readreq_3.set_callback(object); }
-
+
template<class _Object> static devcb2_base &set_write_0_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_write_0.set_callback(object); }
template<class _Object> static devcb2_base &set_write_1_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_write_1.set_callback(object); }
@@ -95,8 +95,8 @@ protected:
private:
TIMER_CALLBACK_MEMBER( nmi_generate );
-
- // internal state
+
+ // internal state
UINT8 m_control;
emu_timer *m_nmi_timer;
@@ -106,16 +106,16 @@ private:
devcb2_read8 m_read_1;
devcb2_read8 m_read_2;
devcb2_read8 m_read_3;
-
+
devcb2_write_line m_readreq_0;
devcb2_write_line m_readreq_1;
devcb2_write_line m_readreq_2;
devcb2_write_line m_readreq_3;
-
+
devcb2_write8 m_write_0;
devcb2_write8 m_write_1;
devcb2_write8 m_write_2;
- devcb2_write8 m_write_3;
+ devcb2_write8 m_write_3;
};
extern const device_type NAMCO_06XX;
diff --git a/src/mame/machine/namco50.c b/src/mame/machine/namco50.c
index ce1de7be109..8967806295a 100644
--- a/src/mame/machine/namco50.c
+++ b/src/mame/machine/namco50.c
@@ -176,7 +176,7 @@ TIMER_CALLBACK_MEMBER( namco_50xx_device::irq_clear )
}
void namco_50xx_device::irq_set()
-{
+{
m_cpu->set_input_line(0, ASSERT_LINE);
// The execution time of one instruction is ~4us, so we must make sure to
diff --git a/src/mame/machine/namco50.h b/src/mame/machine/namco50.h
index 3d981bdd3e3..8ff9ff82492 100644
--- a/src/mame/machine/namco50.h
+++ b/src/mame/machine/namco50.h
@@ -14,11 +14,11 @@ class namco_50xx_device : public device_t
{
public:
namco_50xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
WRITE8_MEMBER( write );
WRITE_LINE_MEMBER(read_request);
READ8_MEMBER( read );
-
+
READ8_MEMBER( K_r );
READ8_MEMBER( R0_r );
READ8_MEMBER( R2_r );
@@ -29,11 +29,11 @@ protected:
virtual void device_start();
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
-
+
TIMER_CALLBACK_MEMBER( latch_callback );
TIMER_CALLBACK_MEMBER( readrequest_callback );
TIMER_CALLBACK_MEMBER( irq_clear );
- void irq_set();
+ void irq_set();
private:
// internal state
required_device<mb88_cpu_device> m_cpu;
diff --git a/src/mame/machine/namco51.h b/src/mame/machine/namco51.h
index 1e5533df222..14fcef33a2c 100644
--- a/src/mame/machine/namco51.h
+++ b/src/mame/machine/namco51.h
@@ -7,7 +7,7 @@
#define MCFG_NAMCO_51XX_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, NAMCO_51XX, _clock)
+ MCFG_DEVICE_ADD(_tag, NAMCO_51XX, _clock)
#define MCFG_NAMCO_51XX_INPUT_0_CB(_devcb) \
devcb = &namco_51xx_device::set_input_0_callback(*device, DEVCB2_##_devcb);
@@ -36,13 +36,13 @@ public:
template<class _Object> static devcb2_base &set_input_1_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_in_1.set_callback(object); }
template<class _Object> static devcb2_base &set_input_2_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_in_2.set_callback(object); }
template<class _Object> static devcb2_base &set_input_3_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_in_3.set_callback(object); }
-
+
template<class _Object> static devcb2_base &set_output_0_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_out_0.set_callback(object); }
template<class _Object> static devcb2_base &set_output_1_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_out_1.set_callback(object); }
-
+
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ8_MEMBER( read );
-
+
protected:
// device-level overrides
virtual void device_start();
diff --git a/src/mame/machine/namco53.c b/src/mame/machine/namco53.c
index fbfa9083f29..e5e809ec465 100644
--- a/src/mame/machine/namco53.c
+++ b/src/mame/machine/namco53.c
@@ -69,13 +69,13 @@ READ8_MEMBER( namco_53xx_device::K_r )
READ8_MEMBER( namco_53xx_device::Rx_r )
{
switch(offset) {
- case 0 : return m_in_0(0);
- case 1 : return m_in_1(0);
- case 2 : return m_in_2(0);
- case 3 : return m_in_3(0);
+ case 0 : return m_in_0(0);
+ case 1 : return m_in_1(0);
+ case 2 : return m_in_2(0);
+ case 3 : return m_in_3(0);
default : return 0xff;
}
-
+
}
WRITE8_MEMBER( namco_53xx_device::O_w )
diff --git a/src/mame/machine/namco53.h b/src/mame/machine/namco53.h
index 3c6eb0807c4..03a1324ef9a 100644
--- a/src/mame/machine/namco53.h
+++ b/src/mame/machine/namco53.h
@@ -26,7 +26,7 @@
#define MCFG_NAMCO_53XX_P_CB(_devcb) \
devcb = &namco_53xx_device::set_p_port_callback(*device, DEVCB2_##_devcb);
-
+
class namco_53xx_device : public device_t
{
public:
@@ -36,7 +36,7 @@ public:
template<class _Object> static devcb2_base &set_input_1_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_in_1.set_callback(object); }
template<class _Object> static devcb2_base &set_input_2_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_in_2.set_callback(object); }
template<class _Object> static devcb2_base &set_input_3_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_in_3.set_callback(object); }
-
+
template<class _Object> static devcb2_base &set_k_port_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_k.set_callback(object); }
template<class _Object> static devcb2_base &set_p_port_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_p.set_callback(object); }
@@ -44,7 +44,7 @@ public:
DECLARE_READ8_MEMBER( Rx_r );
DECLARE_WRITE8_MEMBER( O_w );
DECLARE_WRITE8_MEMBER( P_w );
-
+
DECLARE_WRITE_LINE_MEMBER(read_request);
DECLARE_READ8_MEMBER( read );
@@ -53,17 +53,17 @@ protected:
virtual void device_start();
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
-
+
TIMER_CALLBACK_MEMBER( irq_clear );
private:
// internal state
required_device<mb88_cpu_device> m_cpu;
UINT8 m_portO;
devcb2_read8 m_k;
- devcb2_read8 m_in_0;
- devcb2_read8 m_in_1;
- devcb2_read8 m_in_2;
- devcb2_read8 m_in_3;
+ devcb2_read8 m_in_0;
+ devcb2_read8 m_in_1;
+ devcb2_read8 m_in_2;
+ devcb2_read8 m_in_3;
devcb2_write8 m_p;
};
diff --git a/src/mame/machine/namco62.h b/src/mame/machine/namco62.h
index 01a1e7ab162..e6ff411b2cc 100644
--- a/src/mame/machine/namco62.h
+++ b/src/mame/machine/namco62.h
@@ -34,10 +34,10 @@ public:
template<class _Object> static devcb2_base &set_input_1_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_in_1.set_callback(object); }
template<class _Object> static devcb2_base &set_input_2_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_in_2.set_callback(object); }
template<class _Object> static devcb2_base &set_input_3_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_in_3.set_callback(object); }
-
+
template<class _Object> static devcb2_base &set_output_0_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_out_0.set_callback(object); }
template<class _Object> static devcb2_base &set_output_1_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_out_1.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/machine/namcoio.h b/src/mame/machine/namcoio.h
index 9ab29641f0d..1e05b758ea4 100644
--- a/src/mame/machine/namcoio.h
+++ b/src/mame/machine/namcoio.h
@@ -17,8 +17,8 @@ public:
template<class _Object> static devcb2_base &set_in_3_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_3_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_out_0_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_out_0_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_out_1_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_out_1_cb.set_callback(object); }
-
-
+
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -104,7 +104,7 @@ extern const device_type NAMCO59XX;
#define MCFG_NAMCO56XX_IN_2_CB(_devcb) \
devcb = &namco56xx_device::set_in_2_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_NAMCO56XX_IN_3_CB(_devcb) \
devcb = &namco56xx_device::set_in_3_callback(*device, DEVCB2_##_devcb);
@@ -113,7 +113,7 @@ extern const device_type NAMCO59XX;
#define MCFG_NAMCO56XX_OUT_1_CB(_devcb) \
devcb = &namco56xx_device::set_out_1_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_NAMCO58XX_IN_0_CB(_devcb) \
devcb = &namco58xx_device::set_in_0_callback(*device, DEVCB2_##_devcb);
@@ -123,7 +123,7 @@ extern const device_type NAMCO59XX;
#define MCFG_NAMCO58XX_IN_2_CB(_devcb) \
devcb = &namco58xx_device::set_in_2_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_NAMCO58XX_IN_3_CB(_devcb) \
devcb = &namco58xx_device::set_in_3_callback(*device, DEVCB2_##_devcb);
@@ -132,8 +132,8 @@ extern const device_type NAMCO59XX;
#define MCFG_NAMCO58XX_OUT_1_CB(_devcb) \
devcb = &namco58xx_device::set_out_1_callback(*device, DEVCB2_##_devcb);
-
-
+
+
#define MCFG_NAMCO59XX_IN_0_CB(_devcb) \
devcb = &namco59xx_device::set_in_0_callback(*device, DEVCB2_##_devcb);
@@ -142,7 +142,7 @@ extern const device_type NAMCO59XX;
#define MCFG_NAMCO59XX_IN_2_CB(_devcb) \
devcb = &namco59xx_device::set_in_2_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_NAMCO59XX_IN_3_CB(_devcb) \
devcb = &namco59xx_device::set_in_3_callback(*device, DEVCB2_##_devcb);
@@ -151,5 +151,5 @@ extern const device_type NAMCO59XX;
#define MCFG_NAMCO59XX_OUT_1_CB(_devcb) \
devcb = &namco59xx_device::set_out_1_callback(*device, DEVCB2_##_devcb);
-
+
#endif /* __NAMCOIO_H__ */
diff --git a/src/mame/machine/namcos1.c b/src/mame/machine/namcos1.c
index fce6c20a86c..6202fbec2b2 100644
--- a/src/mame/machine/namcos1.c
+++ b/src/mame/machine/namcos1.c
@@ -13,7 +13,6 @@
UINT8 namcos1_state::bank_r(address_space &space, offs_t offset, int bank)
{
-
return m_active_bank[bank].bank_handler_r(space, offset + m_active_bank[bank].bank_offset, 0xff);
}
@@ -641,7 +640,7 @@ void namcos1_state::set_bank(int banknum, const bankhandler *handler)
"bank1", "bank2", "bank3", "bank4", "bank5", "bank6", "bank7", "bank8",
"bank9", "bank10", "bank11", "bank12", "bank13", "bank14", "bank15", "bank16"
};
-
+
static const struct { read8_delegate func; } io_bank_handler_r[16] =
{
{ read8_delegate(FUNC(namcos1_state::bank1_r),this) }, { read8_delegate(FUNC(namcos1_state::bank2_r),this) }, { read8_delegate(FUNC(namcos1_state::bank3_r),this) }, { read8_delegate(FUNC(namcos1_state::bank4_r),this) },
@@ -660,7 +659,7 @@ void namcos1_state::set_bank(int banknum, const bankhandler *handler)
static const char *const cputags[] = { "maincpu", "sub" };
-
+
address_space &space = machine().device(cputags[(banknum >> 3) & 1])->memory().space(AS_PROGRAM);
int bankstart = (banknum & 7) * 0x2000;
diff --git a/src/mame/machine/naomim4.c b/src/mame/machine/naomim4.c
index c446fd0dd2e..fba238d509c 100644
--- a/src/mame/machine/naomim4.c
+++ b/src/mame/machine/naomim4.c
@@ -139,7 +139,7 @@ void naomi_m4_board::board_get_buffer(UINT8 *&base, UINT32 &limit)
if (rombdid_tag && memregion(rombdid_tag) != NULL)
{
fpr_num = *memregion(rombdid_tag)->base() & 0x7f;
-
+
}
if (((rom_cur_address >> 26) & 0x07) < fpr_num) {
@@ -210,7 +210,7 @@ READ16_MEMBER(naomi_m4_board::m4_id_r)
if (rombdid_tag && memregion(rombdid_tag) != NULL)
{
epr_flag = *memregion(rombdid_tag)->base() & 0x80;
-
+
}
return 0x5500 | epr_flag;
@@ -222,4 +222,4 @@ void naomi_m4_board::board_write(offs_t offset, UINT16 data)
cfi_mode = true;
if (((offset&0xffff) == 0x0000) && (data == 0x00f0))
cfi_mode = false;
-} \ No newline at end of file
+}
diff --git a/src/mame/machine/pcecommn.c b/src/mame/machine/pcecommn.c
index 73eb4672dd2..693f7b38a04 100644
--- a/src/mame/machine/pcecommn.c
+++ b/src/mame/machine/pcecommn.c
@@ -67,4 +67,3 @@ WRITE_LINE_MEMBER(pce_common_state::pce_irq_changed)
{
m_maincpu->set_input_line(0, state);
}
-
diff --git a/src/mame/machine/pcecommn.h b/src/mame/machine/pcecommn.h
index fbf1b600ac7..ca36e7ce38e 100644
--- a/src/mame/machine/pcecommn.h
+++ b/src/mame/machine/pcecommn.h
@@ -31,7 +31,7 @@ public:
virtual UINT8 joy_read();
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<huc6260_device> m_huc6260;
- DECLARE_WRITE_LINE_MEMBER(pce_irq_changed);
+ DECLARE_WRITE_LINE_MEMBER(pce_irq_changed);
private:
UINT8 m_io_port_options; /*driver-specific options for the PCE*/
int m_joystick_port_select; /* internal index of joystick ports */
diff --git a/src/mame/machine/slapfght.c b/src/mame/machine/slapfght.c
index 86818ee1355..e64edb0fd7f 100644
--- a/src/mame/machine/slapfght.c
+++ b/src/mame/machine/slapfght.c
@@ -41,7 +41,7 @@ READ8_MEMBER(slapfght_state::tigerh_mcu_status_r)
res |= 0x02;
if (!m_mcu_sent)
res |= 0x04;
-
+
return res;
}
diff --git a/src/mame/machine/tait8741.c b/src/mame/machine/tait8741.c
index 3016c803fc6..86428a308ce 100644
--- a/src/mame/machine/tait8741.c
+++ b/src/mame/machine/tait8741.c
@@ -97,7 +97,7 @@ TIMER_CALLBACK_MEMBER( taito8741_4pack_device::serial_tx )
void taito8741_4pack_device::device_reset()
{
- for (int i=0;i<4;i++)
+ for (int i=0;i<4;i++)
{
I8741 *st = &m_taito8741[i];
st->number = i;
@@ -305,7 +305,7 @@ void taito8741_4pack_device::command_w(int num, int data)
UINT8 taito8741_4pack_device::port_read(int num, int offset)
{
- switch(num)
+ switch(num)
{
case 0 : return m_port_handler_0_r(offset);
case 1 : return m_port_handler_1_r(offset);
@@ -473,7 +473,7 @@ UINT8 josvolly8741_4pack_device::read(int num,int offset)
UINT8 josvolly8741_4pack_device::port_read(int num)
{
- switch(num)
+ switch(num)
{
case 0 : return m_port_handler_0_r(0);
case 1 : return m_port_handler_1_r(0);
@@ -482,4 +482,3 @@ UINT8 josvolly8741_4pack_device::port_read(int num)
default : return 0;
}
}
-
diff --git a/src/mame/machine/tait8741.h b/src/mame/machine/tait8741.h
index 7be855fc8c2..c487f6acf83 100644
--- a/src/mame/machine/tait8741.h
+++ b/src/mame/machine/tait8741.h
@@ -17,27 +17,27 @@
#define MCFG_TAITO8741_PORT_HANDLERS(_devcb0, _devcb1, _devcb2, _devcb3) \
devcb = &taito8741_4pack_device::set_port_handler_0_callback(*device, DEVCB2_##_devcb0); \
devcb = &taito8741_4pack_device::set_port_handler_1_callback(*device, DEVCB2_##_devcb1); \
- devcb = &taito8741_4pack_device::set_port_handler_2_callback(*device, DEVCB2_##_devcb2); \
+ devcb = &taito8741_4pack_device::set_port_handler_2_callback(*device, DEVCB2_##_devcb2); \
devcb = &taito8741_4pack_device::set_port_handler_3_callback(*device, DEVCB2_##_devcb3);
#define MCFG_TAITO8741_MODES(_mode0, _mode1, _mode2, _mode3) \
- taito8741_4pack_device::static_set_mode(*device, 0, _mode0); \
- taito8741_4pack_device::static_set_mode(*device, 1, _mode1); \
- taito8741_4pack_device::static_set_mode(*device, 2, _mode2); \
+ taito8741_4pack_device::static_set_mode(*device, 0, _mode0); \
+ taito8741_4pack_device::static_set_mode(*device, 1, _mode1); \
+ taito8741_4pack_device::static_set_mode(*device, 2, _mode2); \
taito8741_4pack_device::static_set_mode(*device, 3, _mode3);
#define MCFG_TAITO8741_CONNECT(_con0, _con1, _con2, _con3) \
- taito8741_4pack_device::static_set_connect(*device, 0, _con0); \
- taito8741_4pack_device::static_set_connect(*device, 1, _con1); \
- taito8741_4pack_device::static_set_connect(*device, 2, _con2); \
+ taito8741_4pack_device::static_set_connect(*device, 0, _con0); \
+ taito8741_4pack_device::static_set_connect(*device, 1, _con1); \
+ taito8741_4pack_device::static_set_connect(*device, 2, _con2); \
taito8741_4pack_device::static_set_connect(*device, 3, _con3);
-
+
class taito8741_4pack_device : public device_t
{
struct I8741 {
- int number;
+ int number;
UINT8 toData; /* to host data */
UINT8 fromData; /* from host data */
UINT8 fromCmd; /* from host command */
@@ -62,10 +62,10 @@ public:
template<class _Object> static devcb2_base &set_port_handler_1_callback(device_t &device, _Object object) { return downcast<taito8741_4pack_device &>(device).m_port_handler_1_r.set_callback(object); }
template<class _Object> static devcb2_base &set_port_handler_2_callback(device_t &device, _Object object) { return downcast<taito8741_4pack_device &>(device).m_port_handler_2_r.set_callback(object); }
template<class _Object> static devcb2_base &set_port_handler_3_callback(device_t &device, _Object object) { return downcast<taito8741_4pack_device &>(device).m_port_handler_3_r.set_callback(object); }
-
- static void static_set_mode(device_t &device, int num, UINT8 mode) { downcast<taito8741_4pack_device &>(device).m_taito8741[num].mode = mode; }
- static void static_set_connect(device_t &device, int num, int conn) { downcast<taito8741_4pack_device &>(device).m_taito8741[num].connect = conn; }
-
+
+ static void static_set_mode(device_t &device, int num, UINT8 mode) { downcast<taito8741_4pack_device &>(device).m_taito8741[num].mode = mode; }
+ static void static_set_connect(device_t &device, int num, int conn) { downcast<taito8741_4pack_device &>(device).m_taito8741[num].connect = conn; }
+
DECLARE_READ8_MEMBER( read_0 ) { if(offset&1) return status_r(0); else return data_r(0); }
DECLARE_WRITE8_MEMBER( write_0 ) { if(offset&1) command_w(0,data); else data_w(0,data); }
DECLARE_READ8_MEMBER( read_1 ) { if(offset&1) return status_r(1); else return data_r(1); }
@@ -81,7 +81,7 @@ public:
int data_r(int num);
void data_w(int num, int data);
void command_w(int num, int data);
-
+
UINT8 port_read(int num, int offset);
protected:
@@ -96,7 +96,7 @@ private:
void serial_rx(I8741 *st,UINT8 *data);
// internal state
- I8741 m_taito8741[4];
+ I8741 m_taito8741[4];
devcb2_read8 m_port_handler_0_r;
devcb2_read8 m_port_handler_1_r;
@@ -118,16 +118,16 @@ extern const device_type TAITO8741_4PACK;
#define MCFG_JOSVOLLY8741_PORT_HANDLERS(_devcb0, _devcb1, _devcb2, _devcb3) \
devcb = &josvolly8741_4pack_device::set_port_handler_0_callback(*device, DEVCB2_##_devcb0); \
devcb = &josvolly8741_4pack_device::set_port_handler_1_callback(*device, DEVCB2_##_devcb1); \
- devcb = &josvolly8741_4pack_device::set_port_handler_2_callback(*device, DEVCB2_##_devcb2); \
+ devcb = &josvolly8741_4pack_device::set_port_handler_2_callback(*device, DEVCB2_##_devcb2); \
devcb = &josvolly8741_4pack_device::set_port_handler_3_callback(*device, DEVCB2_##_devcb3);
#define MCFG_JOSVOLLY8741_CONNECT(_con0, _con1, _con2, _con3) \
- josvolly8741_4pack_device::static_set_connect(*device, 0, _con0); \
- josvolly8741_4pack_device::static_set_connect(*device, 1, _con1); \
- josvolly8741_4pack_device::static_set_connect(*device, 2, _con2); \
+ josvolly8741_4pack_device::static_set_connect(*device, 0, _con0); \
+ josvolly8741_4pack_device::static_set_connect(*device, 1, _con1); \
+ josvolly8741_4pack_device::static_set_connect(*device, 2, _con2); \
josvolly8741_4pack_device::static_set_connect(*device, 3, _con3);
-
+
class josvolly8741_4pack_device : public device_t
{
struct JV8741 {
@@ -148,15 +148,15 @@ public:
template<class _Object> static devcb2_base &set_port_handler_1_callback(device_t &device, _Object object) { return downcast<josvolly8741_4pack_device &>(device).m_port_handler_1_r.set_callback(object); }
template<class _Object> static devcb2_base &set_port_handler_2_callback(device_t &device, _Object object) { return downcast<josvolly8741_4pack_device &>(device).m_port_handler_2_r.set_callback(object); }
template<class _Object> static devcb2_base &set_port_handler_3_callback(device_t &device, _Object object) { return downcast<josvolly8741_4pack_device &>(device).m_port_handler_3_r.set_callback(object); }
-
- static void static_set_connect(device_t &device, int num, int conn) { downcast<josvolly8741_4pack_device &>(device).m_i8741[num].connect = conn; }
-
+
+ static void static_set_connect(device_t &device, int num, int conn) { downcast<josvolly8741_4pack_device &>(device).m_i8741[num].connect = conn; }
+
DECLARE_READ8_MEMBER( read_0 ) { return read(0,offset); }
DECLARE_WRITE8_MEMBER( write_0 ) { write(0,offset,data); }
DECLARE_READ8_MEMBER( read_1 ) { return read(1,offset); }
DECLARE_WRITE8_MEMBER( write_1 ) { write(1,offset,data); }
-
- DECLARE_WRITE8_HANDLER( nmi_enable_w ) { m_nmi_enable = 1; }
+
+ DECLARE_WRITE8_HANDLER( nmi_enable_w ) { m_nmi_enable = 1; }
TIMER_CALLBACK_MEMBER( tx );
protected:
@@ -173,7 +173,7 @@ private:
// internal state
JV8741 m_i8741[4];
int m_nmi_enable;
-
+
devcb2_read8 m_port_handler_0_r;
devcb2_read8 m_port_handler_1_r;
devcb2_read8 m_port_handler_2_r;
diff --git a/src/mame/machine/taitoio.h b/src/mame/machine/taitoio.h
index 67d060950cd..1a5204c8d69 100644
--- a/src/mame/machine/taitoio.h
+++ b/src/mame/machine/taitoio.h
@@ -21,7 +21,7 @@ public:
template<class _Object> static devcb2_base &set_read_2_callback(device_t &device, _Object object) { return downcast<tc0220ioc_device &>(device).m_read_2_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_read_3_callback(device_t &device, _Object object) { return downcast<tc0220ioc_device &>(device).m_read_3_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_read_7_callback(device_t &device, _Object object) { return downcast<tc0220ioc_device &>(device).m_read_7_cb.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ8_MEMBER( port_r );
@@ -59,7 +59,7 @@ public:
template<class _Object> static devcb2_base &set_read_2_callback(device_t &device, _Object object) { return downcast<tc0510nio_device &>(device).m_read_2_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_read_3_callback(device_t &device, _Object object) { return downcast<tc0510nio_device &>(device).m_read_3_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_read_7_callback(device_t &device, _Object object) { return downcast<tc0510nio_device &>(device).m_read_7_cb.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ16_MEMBER( halfword_r );
@@ -96,8 +96,8 @@ public:
template<class _Object> static devcb2_base &set_read_2_callback(device_t &device, _Object object) { return downcast<tc0640fio_device &>(device).m_read_2_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_read_3_callback(device_t &device, _Object object) { return downcast<tc0640fio_device &>(device).m_read_3_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_read_7_callback(device_t &device, _Object object) { return downcast<tc0640fio_device &>(device).m_read_7_cb.set_callback(object); }
-
-
+
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ16_MEMBER( halfword_r );
@@ -133,29 +133,29 @@ extern const device_type TC0640FIO;
#define MCFG_TC0220IOC_READ_1_CB(_devcb) \
devcb = &tc0220ioc_device::set_read_1_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0220IOC_READ_2_CB(_devcb) \
devcb = &tc0220ioc_device::set_read_2_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0220IOC_READ_3_CB(_devcb) \
devcb = &tc0220ioc_device::set_read_3_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0220IOC_READ_7_CB(_devcb) \
devcb = &tc0220ioc_device::set_read_7_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0510NIO_READ_0_CB(_devcb) \
devcb = &tc0510nio_device::set_read_0_callback(*device, DEVCB2_##_devcb);
#define MCFG_TC0510NIO_READ_1_CB(_devcb) \
devcb = &tc0510nio_device::set_read_1_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0510NIO_READ_2_CB(_devcb) \
devcb = &tc0510nio_device::set_read_2_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0510NIO_READ_3_CB(_devcb) \
devcb = &tc0510nio_device::set_read_3_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0510NIO_READ_7_CB(_devcb) \
devcb = &tc0510nio_device::set_read_7_callback(*device, DEVCB2_##_devcb);
@@ -165,15 +165,15 @@ extern const device_type TC0640FIO;
#define MCFG_TC0640FIO_READ_1_CB(_devcb) \
devcb = &tc0640fio_device::set_read_1_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0640FIO_READ_2_CB(_devcb) \
devcb = &tc0640fio_device::set_read_2_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0640FIO_READ_3_CB(_devcb) \
devcb = &tc0640fio_device::set_read_3_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TC0640FIO_READ_7_CB(_devcb) \
- devcb = &tc0640fio_device::set_read_7_callback(*device, DEVCB2_##_devcb);
+ devcb = &tc0640fio_device::set_read_7_callback(*device, DEVCB2_##_devcb);
+
-
#endif /* __TAITOIO_H__ */
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 98c3ce71edb..6da13deee09 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -165,7 +165,7 @@ galaxianmo // (c) Midway
galaxiant // (c) Taito
galaxiani // (c) Irem
galaxrf // bootleg (Recreativos Franco)
-galaxrfgg // bootleg (Recreativos Franco)
+galaxrfgg // bootleg (Recreativos Franco)
superg // hack
galapx // hack
moonaln // [Nichibutsu] (Karateco license) or hack
@@ -177,7 +177,7 @@ zerotime // hack
starfght // hack
galaxbsf // hack
galaxianbl // bootleg
-galaxbsf2 // bootleg
+galaxbsf2 // bootleg
kamakazi3 // Video Games (UK) Ltd., hack or bootleg?
tst_galx // Galaxian Test ROM
gmgalax // bootleg
@@ -338,7 +338,7 @@ hotshock // (c) 1982 E.G. Felaco (Domino license)
hotshockb // bootleg
conquer // (c) 1982 ????
hunchbks // (c) 1983 Century
-hunchbks2 // bootleg
+hunchbks2 // bootleg
hncholms // (c) 1984 Century
cavelon // (c) 1983 Jetsoft
sfx // (c) 1983 Nichibutsu
@@ -380,7 +380,7 @@ billiard // bootleg
hustlerb // bootleg
hustlerb2 // bootleg
hustlerb3 // bootleg
-hustlerb4 // bootleg
+hustlerb4 // bootleg
frogger // GX392 (c) 1981 Konami
froggers1 // (c) 1981 Sega
froggers2 // 834-0068 (c) 1981 Sega
@@ -1654,7 +1654,7 @@ intlaser // (c) 1987
blasted // (c) 1988
archrivl // (c) 1989
archrivla // (c) 1989
-archrivlb // bootleg
+archrivlb // bootleg
trisport // (c) 1989
pigskin // (c) 1990
pigskina // (c) 1990
@@ -1866,7 +1866,7 @@ dsoccr94j // (c) 1994 Irem (Japan)
gunforc2 // (c) 1994 Irem
geostorm // (c) 1994 Irem (Japan)
// M107
-airass // (c) 1993 Irem (World)
+airass // (c) 1993 Irem (World)
firebarr // (c) 1993 Irem (Japan)
dsoccr94 // (c) 1994 Irem (Data East Corporation license)
kftgoal // (c) 1994 Jaleco
@@ -2246,7 +2246,7 @@ tetristh // C26 (c) 1988 Sega Enterprises,Ltd. (Japan)
masterw // B72 (c) 1989 Taito Corporation Japan (World)
masterwu // B72 (c) 1989 Taito America Corporation (US)
masterwj // B72 (c) 1989 Taito Corporation (Japan)
-yukiwo // prototype
+yukiwo // prototype
nastar // B81 (c) 1988 Taito Corporation Japan (World)
nastarw // B81 (c) 1988 Taito America Corporation (US)
rastsag2 // B81 (c) 1988 Taito Corporation (Japan)
@@ -2286,7 +2286,7 @@ contcircua // B33 (c) 1987 Taito America Corporation (US)
contcircj // B33 (c) 1987 Taito Corporation (Japan)
chasehq // B52 (c) 1988 Taito Corporation Japan (World)
chasehqj // B52 (c) 1988 Taito Corporation (Japan)
-chasehqju // B52 (c) 1988 Taito Corporation (Japan)
+chasehqju // B52 (c) 1988 Taito Corporation (Japan)
chasehqu // B52 (c) 1988 Taito America Corporation (US)
enforce // B58 (c) 1988 Taito Corporation Japan (World)
enforcej // B58 (c) 1988 Taito Corporation (Japan)
@@ -2581,7 +2581,7 @@ twincobr // B30 / TP-011 (c) 1987 Taito Corporation (World)
twincobru // B30 / TP-011 (c) 1987 Taito America Corporation + Romstar license (US)
ktiger // B30 / TP-011 (c) 1987 Taito Corporation (Japan)
gulfwar2 // (c) 1991 Comad
-gulfwar2a //
+gulfwar2a //
rallybik // B45 / TP-O12 (c) 1988 Taito
truxton // B65 / TP-O13B (c) 1988 Taito
hellfire // B90 / TP-??? (c) 1989 Toaplan + Taito license
@@ -2674,7 +2674,7 @@ batsugun // TP-030 (c) 1993 Toaplan
batsuguna // TP-030 (c) 1993 Toaplan
batsugunsp // TP-030 (c) 1993 Toaplan
snowbro2 // TP-033 (c) 1994 Hanafram
-snowbro2b //
+snowbro2b //
pwrkick // (c) 1994 Sunwise
othldrby // (c) 1995 Sunwise
sstriker // (c) 1993 Raizing
@@ -2796,25 +2796,25 @@ korokoro // (c) 1999 Takumi
crusherm // (c) 1999 Takumi
tjumpman // (c) 1999 Namco
-mushisam
+mushisam
mushisama
mushisamb
-espgal2
-ibara
-ibarablk
-ibarablka
-mushitam
+espgal2
+ibara
+ibarablk
+ibarablka
+mushitam
mushitama
-futari15
-futari15a
-futari10
-futaribl
-pinkswts
-pinkswtsa
+futari15
+futari15a
+futari10
+futaribl
+pinkswts
+pinkswtsa
pinkswtsb
-pinkswtsx
-deathsml
-mmpork
+pinkswtsx
+deathsml
+mmpork
mmmbanc
ddpdfk
ddpdfk10
@@ -2943,7 +2943,7 @@ trojan // 4/1986 (c) 1986 (US)
trojana // 4/1986 (c) 1986 (US)
trojanr // 4/1986 (c) 1986 + Romstar
trojanj // 4/1986 (c) 1986 (Japan)
-trojanb // bootleg
+trojanb // bootleg
srumbler // 9/1986 (c) 1986
srumbler2 // 9/1986 (c) 1986
srumbler3 // 9/1986 (c) 1986 + Tecfri
@@ -3133,10 +3133,10 @@ sf2red // hack
sf2v004 // hack
sf2acc // hack
sf2acca // hack
-sf2ceblp // hack
+sf2ceblp // hack
sf2accp2 // hack
sf2amf // bootleg
-sf2amf2 // bootleg
+sf2amf2 // bootleg
sf2dkot2 // hack
sf2m1 // hack
sf2m2 // hack
@@ -3151,7 +3151,7 @@ sf2koryu // hack
sf2dongb // hack
sf2mdt // bootleg
sf2mdta // bootleg
-sf2mdtb // bootleg
+sf2mdtb // bootleg
cworld2j // 11/06/1992 (c) 1992 (Japan)
varth // 14/07/1992 (c) 1992 (World)
varthr1 // 12/06/1992 (c) 1992 (World)
@@ -3315,7 +3315,7 @@ msha // 24/10/1995 (c) 1995 (Asia)
mshh // 17/11/1995 (c) 1995 (Hispanic)
mshb // 17/11/1995 (c) 1995 (Brazil)
19xx // 07/12/1995 (c) 1996 (USA)
-19xxj // 04/01/1996 (c) 1996 (Japan)
+19xxj // 04/01/1996 (c) 1996 (Japan)
19xxjr1 // 25/12/1995 (c) 1996 (Japan)
19xxjr2 // 07/12/1995 (c) 1996 (Japan)
19xxa // 07/12/1995 (c) 1996 (Asia)
@@ -3503,7 +3503,7 @@ warzard // 21/11/1996 (c) 1996 (Japan)
warzardr1 // 23/10/1996 (c) 1996 (Japan)
sfiii // 04/02/1997 (c) 1997 (Euro)
sfiiiu // 04/02/1997 (c) 1997 (USA)
-sfiiia // 04/02/1997 (c) 1997 (Asia)
+sfiiia // 04/02/1997 (c) 1997 (Asia)
sfiiij // 04/02/1997 (c) 1997 (Japan)
sfiiih // 04/02/1997 (c) 1997 (Hispanic)
sfiii2 // 30/09/1997 (c) 1997 (USA)
@@ -3521,7 +3521,7 @@ sfiii3ur1 // 12/05/1999 (c) 1999 (USA)
jojoba // 27/09/1999 (c) 1999 (Japan)
jojobar1 // 13/09/1999 (c) 1999 (Japan)
sfiiin // 04/02/1997 (c) 1997 (Asia)
-sfiiina // 04/02/1997 (c) 1997 (Asia)
+sfiiina // 04/02/1997 (c) 1997 (Asia)
sfiii2n // 30/09/1997 (c) 1997 (Asia)
jojon // 28/01/1999 (c) 1998 (Asia)
jojonr1 // 08/01/1999 (c) 1998 (Asia)
@@ -3534,8 +3534,8 @@ jojobane // 27/09/1999 (c) 1999 (Euro)
jojobaner1 // 13/09/1999 (c) 1999 (Euro)
cps3boot // bootleg
cps3boota // bootleg
-cps3bs32 //
-cps3bs32a //
+cps3bs32 //
+cps3bs32a //
// Capcom ZN1
cpzn1
@@ -3774,7 +3774,7 @@ aquarush // 2000.02 Aqua Rush (AQ1/VER.A1, Japan)
golgo13 // 2000.03 Golgo 13 (GLG1/VER.A, Japan)
sws2000 // 2000.03 Super World Stadium 2000 (SS01/VER.A, Japan)
truckk // 2000.06 Truck Kyousoukyoku (Metro)
-kartduel // 2000.07 Kart Duel
+kartduel // 2000.07 Kart Duel
// 2000.08 Teknowerk
g13knd // 2000.10 Golgo 13 Kiseki no Dandou (GLS1/VER.A, Japan)
sws2001 // 2001.04 Super World Stadium 2001 (SS11/VER.A, Japan)
@@ -4465,7 +4465,7 @@ alexkidd1 // (c) 1986 (FD1089A, decrypted)
fantzone // (c) 1986 (Unprotected Rev A)
fantzone1 // (c) 1986 (Unprotected)
fantzonep // (c) 1986 (NEC 0317-5000, encrypted)
-fantzonepr //
+fantzonepr //
sdi // (c) 1987 (FD1089B, decrypted)
shinobi // (c) 1987 (Unprotected)
shinobi1 // (c) 1987 (FD1094, decrypted)
@@ -4741,7 +4741,7 @@ radru // 1991.09 Rad Rally (US)
radrj // 1991.07 Rad Rally (Japan)
spidman // 1991.?? Spiderman (World)
spidmanu // 1991.09 Spiderman (US)
-spidmanj // 1991.09 Spiderman (Japan)
+spidmanj // 1991.09 Spiderman (Japan)
f1en // 1991.?? F-1 Exhaust Note (World)
// 1992.01 F-1 Exhaust Note (US)
// 1991.11 F-1 Exhaust Note (Japan)
@@ -5419,7 +5419,7 @@ initdv2j // 2002.12 Initial D Arcade Stage Ver. 2 (Japan) (Rev B)
initdv2jo // 2002.12 Initial D Arcade Stage Ver. 2 (Japan)
initdv2e // 2002.12 Initial D Arcade Stage Ver. 2 (export)
vf4evo // 2002.12 Virtua Fighter 4 Evolution Ver.B
-clubk2k3 // 2003.?? Club Kart: European Session 2003
+clubk2k3 // 2003.?? Club Kart: European Session 2003
clubk2kf
initdexp // 2002.?? Initial D Arcade Stage (Export)
// 2002.?? Sega Driving Simulator
@@ -5706,7 +5706,7 @@ abattle2 // Sidam
afire // Rene Pierre
acombat // bootleg
acombato // bootleg
-acombat3 // bootleg
+acombat3 // bootleg
sstarbtl // bootleg
spfghmk2 // (c) [1979] Data East Corporation
spfghmk22 // (c) [1979] Data East Corporation
@@ -5770,7 +5770,7 @@ pcktgalb // bootleg
pcktgal2 // (c) 1989 Data East Corporation (World?)
pcktgal2j // (c) 1989 Data East Corporation (World?)
pokechmp // Korean hack of Pocket Gal
-billlist //
+billlist //
spool3 // (c) 1989 Data East Corporation (World?)
spool3i // (c) 1990 Data East Corporation + I-Vics license
battlera // (c) 1988 Data East Corporation (World)
@@ -6199,7 +6199,7 @@ rockragea // GX620 (c) 1986 (Prototype?)
rockragej // GX620 (c) 1986 (Japan)
mx5000 // GX669 (c) 1987
flkatck // GX669 (c) 1987 (Japan)
-flkatcka // GX669 (c) 1987 (Japan)
+flkatcka // GX669 (c) 1987 (Japan)
fastlane // GX752 (c) 1987
tricktrp // GX771 (c) 1987
labyrunr // GX771 (c) 1987 (Japan)
@@ -6662,7 +6662,7 @@ teetert // (c) 1981
mtrap // (c) 1981
mtrap3 // (c) 1981
mtrap4 // (c) 1981
-mtrapb // bootleg
+mtrapb // bootleg
pepper2 // (c) 1982
pepper27 // (c) 1982
hardhat // (c) 1982
@@ -8255,14 +8255,14 @@ raiden2d // (c) 1993 Seibu Kaihatsu
raiden2e // (c) 1993 Seibu Kaihatsu
raiden2f // (c) 1993 Seibu Kaihatsu + Fabtek license
raiden2g // (c) 1993 Seibu Kaihatsu
-raiden2nl // (c) 1993 Seibu Kaihatsu
+raiden2nl // (c) 1993 Seibu Kaihatsu
raidendx // (c) 1994 Seibu Kaihatsu
raidendxj // (c) 1994 Seibu Kaihatsu
raidendxu // (c) 1994 Seibu Kaihatsu + Fabtek license
raidendxa1 // (c) 1994 Seibu Kaihatsu + Metrotainment license
raidendxa2 // (c) 1994 Seibu Kaihatsu + Metrotainment license
raidendxg // (c) 1994 Seibu Kaihatsu + Tuning license
-raidendxnl // (c) 1994 Seibu Kaihatsu
+raidendxnl // (c) 1994 Seibu Kaihatsu
zeroteam // (c) 1993 Seibu Kaihatsu + Fabtek license
zeroteama // (c) 1993 Seibu Kaihatsu
zeroteamb // (c) 1993 Seibu Kaihatsu
@@ -8287,7 +8287,7 @@ batlballe // (c) 1995 Seibu Kaihatsu (Metrotainment License)
batlballu // (c) 1995 Seibu Kaihatsu (Fabtek license)
viprp1 // (c) 1995 Seibu Kaihatsu
-viprp1k // (c) 1995 Seibu Kaihatsu (Dream Island license)
+viprp1k // (c) 1995 Seibu Kaihatsu (Dream Island license)
viprp1u // (c) 1995 Seibu Kaihatsu (Fabtek license)
viprp1ua // (c) 1995 Seibu Kaihatsu (Fabtek license)
viprp1j // (c) 1995 Seibu Kaihatsu
@@ -8724,11 +8724,11 @@ galsnewj // (c) 1990 Kaneko
galsnewk // (c) 1990 Kaneko
galpani2 // (c) 1993 Kaneko
galpani2e // (c) 1993 Kaneko
-galpani2e2 // (c) 1993 Kaneko
+galpani2e2 // (c) 1993 Kaneko
galpani2g // (c) 1993 Kaneko
galpani2t // (c) 1993 Kaneko
galpani2i // (c) 1993 Kaneko
-galpani2gs // (c) 1993 Kaneko
+galpani2gs // (c) 1993 Kaneko
galpani2j // (c) 1993 Kaneko
gp2quiz // (c) 1993 Kaneko
gp2se // (c) 1994 Kaneko
@@ -8737,7 +8737,7 @@ jchan2 // (c) 1995 Kaneko
galpani3 // (c) 1995 Kaneko (World)
galpani3j // (c) 1995 Kaneko (Japan)
galpani3k // (c) 1995 Kaneko (Korea)
-galpani3hk // (c) 1995 Kaneko (Hong Kong)
+galpani3hk // (c) 1995 Kaneko (Hong Kong)
// Kaneko "AX System" games
berlwall // (c) 1991 Kaneko
@@ -8838,7 +8838,7 @@ pairlove // (c) 1991 Athena
blandia // (c) 1992 Allumer
blandiap // (c) 1992 Allumer
blockcar // (c) 1992 Visco
-blockcarb // bootleg
+blockcarb // bootleg
qzkklogy // (c) 1992 Tecmo
neobattl // (c) 1992 Banpresto / Sotsu Agency. Sunrise
umanclub // (c) 1992 Tsuburaya Prod. / Banpresto
@@ -9066,13 +9066,13 @@ lastday // (c) 1990 Dooyong
lastdaya // (c) 1990 Dooyong
gulfstrm // (c) 1991 Dooyong
gulfstrma // (c) 1991 Dooyong
-gulfstrmb // (c) 1991 Dooyong
+gulfstrmb // (c) 1991 Dooyong
gulfstrmm // (c) 1991 Dooyong + distributed by Media Shoji
pollux // (c) 1991 Dooyong
polluxa // (c) 1991 Dooyong
polluxa2 // (c) 1991 Dooyong
flytiger // (c) 1992 Dooyong
-flytigera // (c) 1992 Dooyong
+flytigera // (c) 1992 Dooyong
bluehawk // (c) 1993 Dooyong
bluehawkn // (c) 1993 NTC
sadari // (c) 1993 NTC
@@ -9117,8 +9117,8 @@ missmw96 // (c) 1996 Comad
fantsia2 // (c) 1997 Comad
fantsia2a // (c) 1997 Comad
wownfant // (c) 2002 Comad
-pgalvip // (c) 1996 ACE International (Afega stickers on ROMs)
-pgalvipa //
+pgalvip // (c) 1996 ACE International (Afega stickers on ROMs)
+pgalvipa //
galhustl // (c) 1997 ACE International
// Playmark games
@@ -9245,7 +9245,7 @@ shockingk // (c) 1997 Yun Sung
bombkick // (c) 1998 Yun Sung
bombkicka // (c) 1998 Yun Sung
nmg5 // (c) 1998 Yun Sung
-nmg5a // (c) 1998 Yun Sung
+nmg5a // (c) 1998 Yun Sung
nmg5e // (c) 1998 Yun Sung
searchey // (c) 1999 Yun Sung
searchp2 // (c) 1999 Yun Sung
@@ -9672,7 +9672,7 @@ kovlsjba // bootleg
oldsplus // (c) 2004 Oriental Legend Super Plus
killbldp // (c) 2004 Killing Blade Plus
happy6 // (c) 2004 Happy 6
-happy6101 //
+happy6101 //
svg // (c) 2003 Spectral vs Generation
svgpcb //
ket // (c) 2002 Ketsui
@@ -9690,8 +9690,8 @@ orleg2 // (c) 2007
orleg2o //
kov2nl // (c) 2008
kov2nlo //
-ddpdojh //
-kov3 //
+ddpdojh //
+kov3 //
// IGS PC based HW
speeddrv // (c) 2004
@@ -10105,7 +10105,7 @@ nostj // (c) 1993 Face
nostk // (c) 1993 Face
4enraya // (c) 1990 IDSA
4enrayaa //
-4enlinea // (c) 1991 System Compumatic
+4enlinea // (c) 1991 System Compumatic
unkpacg // (c) 19?? ???
oneshot // no copyright notice
maddonna // (c) 1995 Tuning
@@ -10123,7 +10123,7 @@ coolpool // (c) 1992 Catalina Games
9ballsht2 // (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games"
9ballsht3 // (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games"
9ballshtc // (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games"
-megaphx // (c) 1991 Dinamic / Inder
+megaphx // (c) 1991 Dinamic / Inder
gumbo // (c) 1994 Min Corp.
mspuzzleg // (c) 1994 Min Corp.
mspuzzle // (c) 1994 Min Corp.
@@ -11081,7 +11081,7 @@ sstar97 // (c) 199? Bordun International
livequiz // (c) 1999 Andamiro
hammer // (c) 2000 Andamiro
discoboy // (c) 1993 Soft Art Co.
-discoboyp // (c) 1993 Soft Art Co. (Promat license?)
+discoboyp // (c) 1993 Soft Art Co. (Promat license?)
pangofun // (c) 1995 InfoCube
koikoi // (c) 1983 Kiwako
good // (c) 1998
@@ -11089,8 +11089,8 @@ filetto // (c) 1990 Novamatic
quizo // (c) 1985 Seoul Coin Corp.
quizoa // (c) 1985 Seoul Coin Corp.
gstream // (c) 2002, Oriental Soft Japan
-x2222 // (c) 2000, Oriental Soft
-x2222o // (c) 2000, Oriental Soft
+x2222 // (c) 2000, Oriental Soft
+x2222o // (c) 2000, Oriental Soft
miniboy7 // (c) 1983, Bonanza Enterprises
miniboy7a // (c) 1983, Bonanza Enterprises
miniboy7b // (c) 1983, Bonanza Enterprises
@@ -11252,8 +11252,8 @@ ejollyx5 // (c) 200? Solar Games
grandprx // (c) 200? 4fun
supjolly // (c) 200? unknown
x5jokers // (c) 200? Electronic Projects
-queenotg //
-ejollyx9 //
+queenotg //
+ejollyx9 //
// Astro Corp.
showhand // (c) 2000 Astro Corp.
@@ -29477,7 +29477,7 @@ ec_multb // Multi Bar (Concept - Electrocoin)
ec_casmb // Casino Multi Bar (Concept - Electrocoin)
ec_supmb // Super Multi Bar (Concept - Electrocoin)
ec_stkex // Stake X (Concept - Electrocoin)
-ec_bar7 // Bar 7 (Concept)
+ec_bar7 // Bar 7 (Concept)
ec_fltr // Flutter (Concept)
ec_gold7 // Golden 7 (Concept)
ec_mgbel // Megabell (Concept)
@@ -31258,4 +31258,4 @@ arac6000
number1 // 1996 San Remo Games
gluck2 // 1992 Yung Yu / CYE
-amusco // 1987, Amusco. \ No newline at end of file
+amusco // 1987, Amusco.
diff --git a/src/mame/video/alpha68k.c b/src/mame/video/alpha68k.c
index 567b4cf6b04..91280d83e40 100644
--- a/src/mame/video/alpha68k.c
+++ b/src/mame/video/alpha68k.c
@@ -345,7 +345,7 @@ void alpha68k_state::draw_sprites_I( bitmap_ind16 &bitmap, const rectangle &clip
fy = data & 0x4000;
color = color_prom[tile << 1 | data >> 15];
- gfx->transpen(bitmap,cliprect, tile, color, 0, fy, mx, my, 0);
+ gfx->transpen(bitmap,cliprect, tile, color, 0, fy, mx, my, 0);
my = (my + 8) & 0xff;
}
diff --git a/src/mame/video/amspdwy.c b/src/mame/video/amspdwy.c
index 6c85976ade5..06ade938ef1 100644
--- a/src/mame/video/amspdwy.c
+++ b/src/mame/video/amspdwy.c
@@ -18,7 +18,7 @@
WRITE8_MEMBER(amspdwy_state::amspdwy_paletteram_w)
{
- m_palette->write(space, offset, UINT8(~data));
+ m_palette->write(space, offset, UINT8(~data));
}
WRITE8_MEMBER(amspdwy_state::amspdwy_flipscreen_w)
diff --git a/src/mame/video/angelkds.c b/src/mame/video/angelkds.c
index ebff59daa3c..e42f3b510f6 100644
--- a/src/mame/video/angelkds.c
+++ b/src/mame/video/angelkds.c
@@ -161,7 +161,6 @@ void angelkds_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
if (enable & enable_n)
{
-
gfx->transpen(
bitmap,
cliprect,
@@ -172,7 +171,7 @@ void angelkds_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
);
/* wraparound */
if (xpos > 240)
-
+
gfx->transpen(
bitmap,
cliprect,
@@ -184,7 +183,6 @@ void angelkds_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
/* wraparound */
if (ypos > 240)
{
-
gfx->transpen(
bitmap,
cliprect,
@@ -195,7 +193,7 @@ void angelkds_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
);
/* wraparound */
if (xpos > 240)
-
+
gfx->transpen(
bitmap,
cliprect,
diff --git a/src/mame/video/appoooh.c b/src/mame/video/appoooh.c
index c776111e267..b70b6390ad3 100644
--- a/src/mame/video/appoooh.c
+++ b/src/mame/video/appoooh.c
@@ -219,7 +219,7 @@ void appoooh_state::appoooh_draw_sprites( bitmap_ind16 &dest_bmp, const rectangl
sy = 239 - sy;
flipx = !flipx;
}
-
+
gfx->transpen(dest_bmp,cliprect,
code,
color,
@@ -250,7 +250,7 @@ void appoooh_state::robowres_draw_sprites( bitmap_ind16 &dest_bmp, const rectang
sy = 239 - sy;
flipx = !flipx;
}
-
+
gfx->transpen(dest_bmp,cliprect,
code,
color,
diff --git a/src/mame/video/argus.c b/src/mame/video/argus.c
index 5d0e548d47b..7f883469eab 100644
--- a/src/mame/video/argus.c
+++ b/src/mame/video/argus.c
@@ -1002,7 +1002,7 @@ void argus_state::butasan_draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cl
flipx = !flipx;
flipy = !flipy;
}
-
+
fx = flipx;
fy = flipy;
diff --git a/src/mame/video/atarimo.c b/src/mame/video/atarimo.c
index ad7707d6c47..5803f22f839 100644
--- a/src/mame/video/atarimo.c
+++ b/src/mame/video/atarimo.c
@@ -534,7 +534,7 @@ void atari_motion_objects_device::render_object(bitmap_ind16 &bitmap, const rect
continue;
// draw the sprite
- gfx->transpen_raw(bitmap,cliprect, code, color, hflip, vflip, sx, sy, m_transpen);
+ gfx->transpen_raw(bitmap,cliprect, code, color, hflip, vflip, sx, sy, m_transpen);
mark_dirty(sx, sx + m_tilewidth - 1, sy, sy + m_tileheight - 1);
}
}
@@ -563,7 +563,7 @@ void atari_motion_objects_device::render_object(bitmap_ind16 &bitmap, const rect
continue;
// draw the sprite
- gfx->transpen_raw(bitmap,cliprect, code, color, hflip, vflip, sx, sy, m_transpen);
+ gfx->transpen_raw(bitmap,cliprect, code, color, hflip, vflip, sx, sy, m_transpen);
mark_dirty(sx, sx + m_tilewidth - 1, sy, sy + m_tileheight - 1);
}
}
diff --git a/src/mame/video/avgdvg.c b/src/mame/video/avgdvg.c
index 39d83938a8b..716d26f37c6 100644
--- a/src/mame/video/avgdvg.c
+++ b/src/mame/video/avgdvg.c
@@ -681,14 +681,14 @@ void avg_tempest_device::vggo() // tempest_vggo
nvect = 0;
}
-
- /*************************************
- *
- * Mhavoc handler functions
- *
- *************************************/
- int avg_mhavoc_device::handler_1() // mhavoc_latch1
+ /*************************************
+ *
+ * Mhavoc handler functions
+ *
+ *************************************/
+
+ int avg_mhavoc_device::handler_1() // mhavoc_latch1
{
/*
* Major Havoc just has ymin clipping
@@ -860,7 +860,7 @@ void avg_starwars_device::update_databus() // starwars_data
m_data = avgdvg_vectorram[m_pc];
}
-
+
int avg_starwars_device::handler_6() // starwars_strobe2
{
if ((OP2 == 0) && (m_dvy12 == 0))
@@ -887,11 +887,11 @@ int avg_starwars_device::handler_7() // starwars_strobe3
return cycles;
}
- /*************************************
- *
- * Quantum handler functions
- *
- *************************************/
+ /*************************************
+ *
+ * Quantum handler functions
+ *
+ *************************************/
void avg_quantum_device::update_databus() // quantum_data
{
m_data = ((UINT16 *)avgdvg_vectorram)[m_pc >> 1];
@@ -1054,11 +1054,11 @@ int avg_quantum_device::handler_7() // quantum_strobe3
return cycles;
}
- /*************************************
- *
- * Bzone handler functions
- *
- *************************************/
+ /*************************************
+ *
+ * Bzone handler functions
+ *
+ *************************************/
int avg_bzone_device::handler_1() // bzone_latch1
{
/*
@@ -1133,7 +1133,7 @@ int avg_bzone_device::handler_7() // bzone_strobe3
* Tomcat handler functions
*
*************************************/
-
+
int avg_tomcat_device::handler_6() // starwars_strobe2
{
if ((OP2 == 0) && (m_dvy12 == 0))
@@ -1166,7 +1166,7 @@ int avg_tomcat_device::handler_7() // starwars_strobe3
* halt functions
*
*************************************/
-
+
void avgdvg_device::vg_set_halt(int dummy)
{
m_halt = dummy;
@@ -1342,7 +1342,7 @@ void avg_device::device_start()
avgdvg_vectorram_size = machine().root_device().memshare("vectorram")->bytes();
avgdvg_colorram = reinterpret_cast<UINT8 *>(machine().root_device().memshare("colorram")->ptr());
-
+
xmin = visarea.min_x;
ymin = visarea.min_y;
xmax = visarea.max_x;
@@ -1371,7 +1371,7 @@ void dvg_device::device_start()
{
if(!m_vector->started())
throw device_missing_dependencies();
-
+
const rectangle &visarea = machine().first_screen()->visible_area();
avgdvg_vectorram = reinterpret_cast<UINT8 *>(machine().root_device().memshare("vectorram")->ptr());
@@ -1384,7 +1384,7 @@ void dvg_device::device_start()
vg_halt_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(avgdvg_device::vg_set_halt_callback),this));
vg_run_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(avgdvg_device::run_state_machine),this));
-
+
register_state();
}
@@ -1437,7 +1437,7 @@ avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, co
m_clipy_min = 0;
m_clipx_max = 0;
m_clipy_max = 0;
-
+
xmin = 0;
xmax = 0;
ymin = 0;
@@ -1446,7 +1446,7 @@ avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, co
ycenter = 0;
flip_x = 0;
flip_y = 0;
- nvect = 0;
+ nvect = 0;
}
dvg_device::dvg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
diff --git a/src/mame/video/avgdvg.h b/src/mame/video/avgdvg.h
index 15afd994fc6..821c2f5c831 100644
--- a/src/mame/video/avgdvg.h
+++ b/src/mame/video/avgdvg.h
@@ -24,13 +24,13 @@ class avgdvg_device : public device_t
public:
// construction/destruction
avgdvg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
-
+
static void static_set_vector_tag(device_t &device, const char *tag);
-
+
DECLARE_CUSTOM_INPUT_MEMBER(done_r);
DECLARE_WRITE8_MEMBER(go_w);
DECLARE_WRITE8_MEMBER(reset_w);
-
+
DECLARE_WRITE16_MEMBER(go_word_w);
DECLARE_WRITE16_MEMBER(reset_word_w);
@@ -43,7 +43,7 @@ public:
protected:
void apply_flipping(int *x, int *y);
void vg_set_halt(int dummy);
-
+
void vg_flush();
void vg_add_point_buf(int x, int y, rgb_t color, int intensity);
void vg_add_clip (int xmin, int ymin, int xmax, int ymax);
@@ -52,10 +52,10 @@ protected:
UINT8 *avgdvg_vectorram;
size_t avgdvg_vectorram_size;
-
+
UINT8 *avgdvg_colorram;
-
-
+
+
int xmin, xmax, ymin, ymax;
int xcenter, ycenter;
emu_timer *vg_run_timer, *vg_halt_timer;
@@ -64,7 +64,7 @@ protected:
int nvect;
vgvector vectbuf[MAXVECT];
-
+
UINT16 m_pc;
UINT8 m_sp;
@@ -103,21 +103,21 @@ protected:
INT32 m_clipy_min;
INT32 m_clipx_max;
INT32 m_clipy_max;
-
-
- virtual int handler_0() = 0;
- virtual int handler_1() = 0;
- virtual int handler_2() = 0;
- virtual int handler_3() = 0;
- virtual int handler_4() = 0;
- virtual int handler_5() = 0;
- virtual int handler_6() = 0;
- virtual int handler_7() = 0;
+
+
+ virtual int handler_0() = 0;
+ virtual int handler_1() = 0;
+ virtual int handler_2() = 0;
+ virtual int handler_3() = 0;
+ virtual int handler_4() = 0;
+ virtual int handler_5() = 0;
+ virtual int handler_6() = 0;
+ virtual int handler_7() = 0;
virtual UINT8 state_addr() = 0;
virtual void update_databus() = 0;
virtual void vggo() = 0;
virtual void vgrst() = 0;
-
+
required_device<vector_device> m_vector;
};
@@ -126,22 +126,22 @@ class dvg_device : public avgdvg_device
public:
// construction/destruction
dvg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
void dvg_draw_to(int x, int y, int intensity);
-
- virtual int handler_0();
- virtual int handler_1();
- virtual int handler_2();
- virtual int handler_3();
- virtual int handler_4();
- virtual int handler_5();
- virtual int handler_6();
- virtual int handler_7();
+
+ virtual int handler_0();
+ virtual int handler_1();
+ virtual int handler_2();
+ virtual int handler_3();
+ virtual int handler_4();
+ virtual int handler_5();
+ virtual int handler_6();
+ virtual int handler_7();
virtual UINT8 state_addr();
virtual void update_databus();
virtual void vggo();
virtual void vgrst();
-
+
virtual void device_start();
};
@@ -158,20 +158,20 @@ public:
int avg_common_strobe1();
int avg_common_strobe2();
int avg_common_strobe3();
-
- virtual int handler_0();
- virtual int handler_1();
- virtual int handler_2();
- virtual int handler_3();
- virtual int handler_4();
- virtual int handler_5();
- virtual int handler_6();
- virtual int handler_7();
+
+ virtual int handler_0();
+ virtual int handler_1();
+ virtual int handler_2();
+ virtual int handler_3();
+ virtual int handler_4();
+ virtual int handler_5();
+ virtual int handler_6();
+ virtual int handler_7();
virtual UINT8 state_addr();
virtual void update_databus();
virtual void vggo();
virtual void vgrst();
-
+
virtual void device_start();
void avg_start_common();
};
@@ -184,9 +184,9 @@ class avg_tempest_device : public avg_device
public:
// construction/destruction
avg_tempest_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
- virtual int handler_6();
- virtual int handler_7();
+
+ virtual int handler_6();
+ virtual int handler_7();
virtual void vggo();
};
@@ -199,9 +199,9 @@ public:
// construction/destruction
avg_mhavoc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- virtual int handler_1();
- virtual int handler_6();
- virtual int handler_7();
+ virtual int handler_1();
+ virtual int handler_6();
+ virtual int handler_7();
virtual void update_databus();
virtual void vgrst();
};
@@ -214,8 +214,8 @@ class avg_starwars_device : public avg_device
public:
// construction/destruction
avg_starwars_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- virtual int handler_6();
- virtual int handler_7();
+ virtual int handler_6();
+ virtual int handler_7();
virtual void update_databus();
};
@@ -227,14 +227,14 @@ class avg_quantum_device : public avg_device
public:
// construction/destruction
avg_quantum_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- virtual int handler_0();
- virtual int handler_1();
- virtual int handler_2();
- virtual int handler_3();
- virtual int handler_4();
- virtual int handler_5();
- virtual int handler_6();
- virtual int handler_7();
+ virtual int handler_0();
+ virtual int handler_1();
+ virtual int handler_2();
+ virtual int handler_3();
+ virtual int handler_4();
+ virtual int handler_5();
+ virtual int handler_6();
+ virtual int handler_7();
virtual void update_databus();
virtual void vggo();
};
@@ -247,9 +247,9 @@ class avg_bzone_device : public avg_device
public:
// construction/destruction
avg_bzone_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- virtual int handler_1();
- virtual int handler_6();
- virtual int handler_7();
+ virtual int handler_1();
+ virtual int handler_6();
+ virtual int handler_7();
};
// device type definition
@@ -260,9 +260,9 @@ class avg_tomcat_device : public avg_device
public:
// construction/destruction
avg_tomcat_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
- virtual int handler_6();
- virtual int handler_7();
+
+ virtual int handler_6();
+ virtual int handler_7();
};
// device type definition
diff --git a/src/mame/video/baraduke.c b/src/mame/video/baraduke.c
index 9c80ac30850..f16e1c7745d 100644
--- a/src/mame/video/baraduke.c
+++ b/src/mame/video/baraduke.c
@@ -123,7 +123,7 @@ void baraduke_state::video_start()
m_bg_tilemap[0]->set_scrolldx(-26, -227+26);
m_bg_tilemap[1]->set_scrolldx(-24, -227+24);
m_bg_tilemap[0]->set_scrolldy(-9, 9);
- m_bg_tilemap[1]->set_scrolldy(-9, 9);
+ m_bg_tilemap[1]->set_scrolldy(-9, 9);
m_tx_tilemap->set_scrolldy(16,16);
}
diff --git a/src/mame/video/battlane.c b/src/mame/video/battlane.c
index 2067dcc7e9f..0d0367ad1a8 100644
--- a/src/mame/video/battlane.c
+++ b/src/mame/video/battlane.c
@@ -180,7 +180,7 @@ void battlane_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
code,
color,
@@ -191,7 +191,7 @@ void battlane_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
{
dy = flipy ? 16 : -16;
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
code + 1,
color,
diff --git a/src/mame/video/battlex.c b/src/mame/video/battlex.c
index 00769931847..c2b085f0952 100644
--- a/src/mame/video/battlex.c
+++ b/src/mame/video/battlex.c
@@ -81,7 +81,7 @@ void battlex_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect, tile, color, flipx, flipy, sx, sy, 0);
+ gfx->transpen(bitmap,cliprect, tile, color, flipx, flipy, sx, sy, 0);
source += 4;
}
diff --git a/src/mame/video/bfm_adr2.c b/src/mame/video/bfm_adr2.c
index 887fbdbd148..c7099c7b9f5 100644
--- a/src/mame/video/bfm_adr2.c
+++ b/src/mame/video/bfm_adr2.c
@@ -228,7 +228,7 @@ void bfm_adder2_device::device_start()
m_palette->set_pen_color(12,rgb_t(0x80,0x00,0x00));
m_palette->set_pen_color(13,rgb_t(0x80,0x00,0x80));
m_palette->set_pen_color(14,rgb_t(0x80,0x80,0x00));
- m_palette->set_pen_color(15,rgb_t(0x80,0x80,0x80));
+ m_palette->set_pen_color(15,rgb_t(0x80,0x80,0x80));
}
// video update ///////////////////////////////////////////////////////////
diff --git a/src/mame/video/bfm_adr2.h b/src/mame/video/bfm_adr2.h
index f5ea8b63b5e..8316f8a4b6a 100644
--- a/src/mame/video/bfm_adr2.h
+++ b/src/mame/video/bfm_adr2.h
@@ -8,7 +8,7 @@ public:
bfm_adder2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
TILE_GET_INFO_MEMBER( get_tile0_info );
TILE_GET_INFO_MEMBER( get_tile1_info );
UINT32 update_screen(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/video/bfm_dm01.c b/src/mame/video/bfm_dm01.c
index ed0a3572f4e..46d40bd764a 100644
--- a/src/mame/video/bfm_dm01.c
+++ b/src/mame/video/bfm_dm01.c
@@ -76,7 +76,7 @@ bfmdm01_device::bfmdm01_device(const machine_config &mconfig, const char *tag, d
void bfmdm01_device::device_start()
{
m_busy_cb.resolve_safe();
-
+
save_item(NAME(m_data_avail));
save_item(NAME(m_control));
save_item(NAME(m_xcounter));
@@ -100,7 +100,7 @@ void bfmdm01_device::device_reset()
m_control = 0;
m_xcounter = 0;
m_data_avail = 0;
-
+
m_busy_cb(m_busy);
}
diff --git a/src/mame/video/bfm_dm01.h b/src/mame/video/bfm_dm01.h
index 0e73dfd19f5..dd6ace9f1fb 100644
--- a/src/mame/video/bfm_dm01.h
+++ b/src/mame/video/bfm_dm01.h
@@ -16,7 +16,7 @@ class bfmdm01_device : public device_t
public:
bfmdm01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~bfmdm01_device() {}
-
+
template<class _Object> static devcb2_base &set_busy_callback(device_t &device, _Object object) { return downcast<bfmdm01_device &>(device).m_busy_cb.set_callback(object); }
DECLARE_READ8_MEMBER( control_r );
@@ -46,7 +46,7 @@ private:
UINT8 m_scanline[DM_BYTESPERROW];
UINT8 m_comdata;
-
+
devcb2_write_line m_busy_cb;
int read_data(void);
diff --git a/src/mame/video/bogeyman.c b/src/mame/video/bogeyman.c
index 5476ad3aa90..ea605ebb2c9 100644
--- a/src/mame/video/bogeyman.c
+++ b/src/mame/video/bogeyman.c
@@ -63,7 +63,7 @@ WRITE8_MEMBER(bogeyman_state::bogeyman_colorram2_w)
WRITE8_MEMBER(bogeyman_state::bogeyman_paletteram_w)
{
/* RGB output is inverted */
- m_palette->write(space, offset, UINT8(~data));
+ m_palette->write(space, offset, UINT8(~data));
}
TILE_GET_INFO_MEMBER(bogeyman_state::get_bg_tile_info)
@@ -122,7 +122,7 @@ void bogeyman_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -130,7 +130,6 @@ void bogeyman_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
if (multi)
{
-
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code + 1, color,
flipx, flipy,
diff --git a/src/mame/video/bwing.c b/src/mame/video/bwing.c
index 20d72d58117..125e31f14a0 100644
--- a/src/mame/video/bwing.c
+++ b/src/mame/video/bwing.c
@@ -261,9 +261,9 @@ void bwing_state::draw_sprites( bitmap_ind16 &bmp, const rectangle &clip, UINT8
// single/double
if (!(attrib & 0x10))
- gfx->transpen(bmp,clip, code, color, fx, fy, x, y, 0);
+ gfx->transpen(bmp,clip, code, color, fx, fy, x, y, 0);
else
- gfx->zoom_transpen(bmp,clip, code, color, fx, fy, x, y, 1<<16, 2<<16, 0);
+ gfx->zoom_transpen(bmp,clip, code, color, fx, fy, x, y, 1<<16, 2<<16, 0);
}
}
diff --git a/src/mame/video/c45.c b/src/mame/video/c45.c
index 9c08d58039b..131dfde1e8d 100644
--- a/src/mame/video/c45.c
+++ b/src/mame/video/c45.c
@@ -232,7 +232,6 @@ machine_config_constructor namco_c45_road_device::device_mconfig_additions() con
void namco_c45_road_device::device_stop()
{
-
}
diff --git a/src/mame/video/c45.h b/src/mame/video/c45.h
index f0c598902c8..1531e385251 100644
--- a/src/mame/video/c45.h
+++ b/src/mame/video/c45.h
@@ -38,13 +38,13 @@ public:
namco_c45_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
// read/write handlers
DECLARE_READ16_MEMBER( read );
DECLARE_WRITE16_MEMBER( write );
-
+
// optional information overrides
- virtual machine_config_constructor device_mconfig_additions() const;
+ virtual machine_config_constructor device_mconfig_additions() const;
// C45 Land (Road) Emulation
void set_transparent_color(pen_t pen) { m_transparent_color = pen; }
@@ -58,7 +58,7 @@ protected:
// internal helpers
TILE_GET_INFO_MEMBER( get_road_info );
- // internal state
+ // internal state
pen_t m_transparent_color;
tilemap_t * m_tilemap;
UINT16 m_ram[0x20000/2]; // at 0x880000 in Final Lap; at 0xa00000 in Lucky&Wild
diff --git a/src/mame/video/canyon.c b/src/mame/video/canyon.c
index e8df61b1c31..b7182c8e841 100644
--- a/src/mame/video/canyon.c
+++ b/src/mame/video/canyon.c
@@ -39,7 +39,7 @@ void canyon_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect
int y = m_videoram[0x3d0 + 2 * i + 0x8];
int c = m_videoram[0x3d0 + 2 * i + 0x9];
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
c >> 3,
i,
diff --git a/src/mame/video/carpolo.c b/src/mame/video/carpolo.c
index 5a7813e3481..d35c8acf1ba 100644
--- a/src/mame/video/carpolo.c
+++ b/src/mame/video/carpolo.c
@@ -205,7 +205,7 @@ void carpolo_state::draw_sprite(bitmap_ind16 &bitmap, const rectangle &cliprect,
x = 240 - x;
y = 240 - y;
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
remapped_code, col,
0, flipy,
diff --git a/src/mame/video/cclimber.c b/src/mame/video/cclimber.c
index 41d2cc3945c..ee3741fafd5 100644
--- a/src/mame/video/cclimber.c
+++ b/src/mame/video/cclimber.c
@@ -569,7 +569,7 @@ void cclimber_state::cclimber_draw_sprites(bitmap_ind16 &bitmap, const rectangle
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
}
}
@@ -606,7 +606,7 @@ void cclimber_state::toprollr_draw_sprites(bitmap_ind16 &bitmap, const rectangle
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
}
}
@@ -643,7 +643,7 @@ void cclimber_state::swimmer_draw_sprites(bitmap_ind16 &bitmap, const rectangle
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
}
}
diff --git a/src/mame/video/chaknpop.c b/src/mame/video/chaknpop.c
index d683a917599..01b0dec70dd 100644
--- a/src/mame/video/chaknpop.c
+++ b/src/mame/video/chaknpop.c
@@ -198,7 +198,7 @@ void chaknpop_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
tile,
color,
diff --git a/src/mame/video/champbas.c b/src/mame/video/champbas.c
index 86808c079ff..f941ed409b8 100644
--- a/src/mame/video/champbas.c
+++ b/src/mame/video/champbas.c
@@ -196,7 +196,7 @@ void champbas_state::champbas_draw_sprites( bitmap_ind16 &bitmap, const rectangl
int sx = m_spriteram_2[offs + 1] - 16;
int sy = 255 - m_spriteram_2[offs];
-
+
gfx->transmask(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -204,7 +204,7 @@ void champbas_state::champbas_draw_sprites( bitmap_ind16 &bitmap, const rectangl
m_palette->transpen_mask(*gfx, color, 0));
// wraparound
-
+
gfx->transmask(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -234,7 +234,7 @@ void champbas_state::exctsccr_draw_sprites( bitmap_ind16 &bitmap, const rectangl
color = (obj1[offs + 1]) & 0x0f;
bank = ((obj1[offs + 1] >> 4) & 1);
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code + (bank << 6),
color,
@@ -257,7 +257,7 @@ void champbas_state::exctsccr_draw_sprites( bitmap_ind16 &bitmap, const rectangl
flipy = (~obj1[offs]) & 0x02;
color = (obj1[offs + 1]) & 0x0f;
-
+
m_gfxdecode->gfx(2)->transmask(bitmap,cliprect,
code,
color,
diff --git a/src/mame/video/cheekyms.c b/src/mame/video/cheekyms.c
index 0b501653d69..9d74f7de618 100644
--- a/src/mame/video/cheekyms.c
+++ b/src/mame/video/cheekyms.c
@@ -123,19 +123,19 @@ void cheekyms_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
if (!flip)
code++;
- gfx->transpen(bitmap,cliprect, code, color, 0, 0, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code, color, 0, 0, x, y, 0);
}
else
{
if (m_spriteram[offs + 0] & 0x02)
{
- gfx->transpen(bitmap,cliprect, code | 0x20, color, 0, 0, x, y, 0);
- gfx->transpen(bitmap,cliprect, code | 0x21, color, 0, 0, 0x10 + x, y, 0);
+ gfx->transpen(bitmap,cliprect, code | 0x20, color, 0, 0, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code | 0x21, color, 0, 0, 0x10 + x, y, 0);
}
else
{
- gfx->transpen(bitmap,cliprect, code | 0x20, color, 0, 0, x, y, 0);
- gfx->transpen(bitmap,cliprect, code | 0x21, color, 0, 0, x, 0x10 + y, 0);
+ gfx->transpen(bitmap,cliprect, code | 0x20, color, 0, 0, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code | 0x21, color, 0, 0, x, 0x10 + y, 0);
}
}
}
diff --git a/src/mame/video/combatsc.c b/src/mame/video/combatsc.c
index 7ea92abbe90..26f804a72ae 100644
--- a/src/mame/video/combatsc.c
+++ b/src/mame/video/combatsc.c
@@ -526,7 +526,7 @@ void combatsc_state::bootleg_draw_sprites( bitmap_ind16 &bitmap, const rectangle
// if(m_vreg == 0x23 && (attributes & 0x02)) color += 1*16;
// if(m_vreg == 0x66 ) color += 2*16;
- gfx->transpen(bitmap,cliprect,
+ gfx->transpen(bitmap,cliprect,
number, color,
attributes & 0x10,0, /* flip */
x, y, 15 );
diff --git a/src/mame/video/cps1.c b/src/mame/video/cps1.c
index 446abf2348b..2e903ee0bae 100644
--- a/src/mame/video/cps1.c
+++ b/src/mame/video/cps1.c
@@ -1397,7 +1397,7 @@ static const struct CPS1config cps1_config_table[]=
{"sf2acca", CPS_B_21_DEF, mapper_S9263B, 0x36 },
{"sf2accp2", CPS_B_21_DEF, mapper_S9263B, 0x36 },
{"sf2amf", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 }, // probably wrong but this set is not completely dumped anyway
- {"sf2amf2", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 },
+ {"sf2amf2", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 },
{"sf2dkot2", CPS_B_21_DEF, mapper_S9263B, 0x36 },
{"sf2m1", CPS_B_21_DEF, mapper_S9263B, 0x36 },
{"sf2m2", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 },
diff --git a/src/mame/video/crimfght.c b/src/mame/video/crimfght.c
index cd83855e1dd..be7cdcdf7a2 100644
--- a/src/mame/video/crimfght.c
+++ b/src/mame/video/crimfght.c
@@ -64,7 +64,7 @@ void crimfght_state::video_start()
m_layer_colorbase[1] = 4;
m_layer_colorbase[2] = 8;
m_sprite_colorbase = 16;
-
+
save_item(NAME(m_paletteram));
}
diff --git a/src/mame/video/darkmist.c b/src/mame/video/darkmist.c
index 181b1e91a24..316789eb99b 100644
--- a/src/mame/video/darkmist.c
+++ b/src/mame/video/darkmist.c
@@ -172,7 +172,7 @@ UINT32 darkmist_state::screen_update_darkmist(screen_device &screen, bitmap_ind1
palette+=32;
-
+
m_gfxdecode->gfx(2)->transpen(
bitmap,cliprect,
tile,
diff --git a/src/mame/video/ddribble.c b/src/mame/video/ddribble.c
index 45968d1b30e..7b679a14399 100644
--- a/src/mame/video/ddribble.c
+++ b/src/mame/video/ddribble.c
@@ -218,7 +218,7 @@ void ddribble_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipr
ex = flipx ? (width - 1 - x) : x;
ey = flipy ? (height - 1 - y) : y;
-
+
gfx->transpen(bitmap,cliprect,
(number)+x_offset[ex]+y_offset[ey],
color,
diff --git a/src/mame/video/dec8.c b/src/mame/video/dec8.c
index 73f4a1ce85f..475d24a6604 100644
--- a/src/mame/video/dec8.c
+++ b/src/mame/video/dec8.c
@@ -298,8 +298,6 @@ VIDEO_START_MEMBER(dec8_state,cobracom)
UINT32 dec8_state::screen_update_ghostb(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
-
-
m_tilegen1->deco_bac06_pf_draw(bitmap,cliprect,TILEMAP_DRAW_OPAQUE, 0x00, 0x00, 0x00, 0x00);
m_spritegen_krn->draw_sprites(machine(), bitmap, cliprect, m_buffered_spriteram16, 0x400, 0);
m_fix_tilemap->draw(screen, bitmap, cliprect, 0, 0);
diff --git a/src/mame/video/decbac06.h b/src/mame/video/decbac06.h
index e515c8aea0c..e8bb6c644fc 100644
--- a/src/mame/video/decbac06.h
+++ b/src/mame/video/decbac06.h
@@ -108,7 +108,7 @@ private:
TILEMAP_MAPPER_MEMBER(tile_shape2_8x8_scan);
TILE_GET_INFO_MEMBER(get_pf8x8_tile_info);
TILE_GET_INFO_MEMBER(get_pf16x16_tile_info);
- required_device<gfxdecode_device> m_gfxdecode;
+ required_device<gfxdecode_device> m_gfxdecode;
};
extern const device_type DECO_BAC06;
diff --git a/src/mame/video/deckarn.h b/src/mame/video/deckarn.h
index 6c0cb13b7f0..382f7f059b4 100644
--- a/src/mame/video/deckarn.h
+++ b/src/mame/video/deckarn.h
@@ -6,7 +6,7 @@ public:
deco_karnovsprites_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
void set_gfxregion(int region) { m_gfxregion = region; };
void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16* spriteram, int size, int priority );
-
+
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
diff --git a/src/mame/video/decmxc06.c b/src/mame/video/decmxc06.c
index eb15a6261b1..68765e4a5ab 100644
--- a/src/mame/video/decmxc06.c
+++ b/src/mame/video/decmxc06.c
@@ -96,7 +96,7 @@ void deco_mxc06_device::draw_sprites( running_machine &machine, bitmap_ind16 &bi
if (sy >= 256) sy -= 512;
sx = 240 - sx;
sy = 240 - sy;
-
+
if (machine.driver_data()->flip_screen())
{
sy = 240 - sy;
@@ -122,7 +122,7 @@ void deco_mxc06_device::draw_sprites( running_machine &machine, bitmap_ind16 &bi
code += h-1;
incy = 1;
}
-
+
for (y = 0; y < h; y++)
{
if (spriteram[offs] & 0x8000)
diff --git a/src/mame/video/decmxc06.h b/src/mame/video/decmxc06.h
index 62bb9bb7a97..354c919cde7 100644
--- a/src/mame/video/decmxc06.h
+++ b/src/mame/video/decmxc06.h
@@ -5,12 +5,12 @@ class deco_mxc06_device : public device_t
{
public:
deco_mxc06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
static void set_gfx_region(device_t &device, int region);
-
+
void set_gfxregion(int region) { m_gfxregion = region; };
void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16* spriteram16, int pri_mask, int pri_val, int col_mask );
void draw_sprites_bootleg( running_machine &machine, bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16* spriteram, int pri_mask, int pri_val, int col_mask );
diff --git a/src/mame/video/deco16ic.h b/src/mame/video/deco16ic.h
index 1eceb27d6aa..4f6fd7451f1 100644
--- a/src/mame/video/deco16ic.h
+++ b/src/mame/video/deco16ic.h
@@ -39,11 +39,11 @@ class deco16ic_device : public device_t,
public:
deco16ic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~deco16ic_device() {}
-
+
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
DECLARE_WRITE16_MEMBER( pf1_data_w );
DECLARE_WRITE16_MEMBER( pf2_data_w );
diff --git a/src/mame/video/decocomn.h b/src/mame/video/decocomn.h
index 911f06aa6cb..47770b06714 100644
--- a/src/mame/video/decocomn.h
+++ b/src/mame/video/decocomn.h
@@ -23,7 +23,7 @@ public:
// static configuration
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
DECLARE_WRITE16_MEMBER( nonbuffered_palette_w );
DECLARE_WRITE16_MEMBER( buffered_palette_w );
DECLARE_WRITE16_MEMBER( palette_dma_w );
@@ -57,5 +57,5 @@ extern const device_type DECOCOMN;
#define MCFG_DECOCOMN_PALETTE(_palette_tag) \
decocomn_device::static_set_palette_tag(*device, "^" _palette_tag);
-
+
#endif
diff --git a/src/mame/video/decospr.h b/src/mame/video/decospr.h
index 29596bc0316..3ce8e63e06d 100644
--- a/src/mame/video/decospr.h
+++ b/src/mame/video/decospr.h
@@ -9,7 +9,7 @@ public:
decospr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
static void set_gfx_region(device_t &device, int gfxregion);
static void set_pri_callback(device_t &device, decospr_priority_callback_func callback);
@@ -89,4 +89,3 @@ extern const device_type DECO_SPRITE;
#define MCFG_DECO_SPRITE_PALETTE(_palette_tag) \
decospr_device::static_set_palette_tag(*device, "^" _palette_tag);
-
diff --git a/src/mame/video/djmain.c b/src/mame/video/djmain.c
index c66efa257e1..24f2bff0934 100644
--- a/src/mame/video/djmain.c
+++ b/src/mame/video/djmain.c
@@ -93,7 +93,7 @@ void djmain_state::draw_sprites( bitmap_rgb32 &bitmap, const rectangle &cliprect
int zw = ox + (((x + 1) * xscale + (1 << 11)) >> 12) - sx;
int zh = oy + (((y + 1) * yscale + (1 << 11)) >> 12) - sy;
-
+
m_gfxdecode->gfx(0)->zoom_transpen(bitmap,
cliprect,
c,
@@ -111,7 +111,7 @@ void djmain_state::draw_sprites( bitmap_rgb32 &bitmap, const rectangle &cliprect
int sx = ox + (x << 4);
int sy = oy + (y << 4);
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,
cliprect,
c,
diff --git a/src/mame/video/drgnmst.c b/src/mame/video/drgnmst.c
index b51772bf76f..5d2a07d2729 100644
--- a/src/mame/video/drgnmst.c
+++ b/src/mame/video/drgnmst.c
@@ -93,7 +93,7 @@ void drgnmst_state::draw_sprites( bitmap_ind16 &bitmap,const rectangle &cliprect
realy = ypos + incy * y;
realnumber = number + x + y * 16;
- gfx->transpen(bitmap,cliprect, realnumber, colr, flipx, flipy, realx, realy, 15);
+ gfx->transpen(bitmap,cliprect, realnumber, colr, flipx, flipy, realx, realy, 15);
}
}
source += 4;
diff --git a/src/mame/video/exerion.c b/src/mame/video/exerion.c
index 6abf243f155..9ec66724edd 100644
--- a/src/mame/video/exerion.c
+++ b/src/mame/video/exerion.c
@@ -385,11 +385,11 @@ UINT32 exerion_state::screen_update_exerion(screen_device &screen, bitmap_ind16
else
code &= ~0x10, code2 |= 0x10;
- gfx->transmask(bitmap,cliprect, code2, color, xflip, yflip, x, y + gfx->height(),
+ gfx->transmask(bitmap,cliprect, code2, color, xflip, yflip, x, y + gfx->height(),
m_palette->transpen_mask(*gfx, color, 0x10));
}
- gfx->transmask(bitmap,cliprect, code, color, xflip, yflip, x, y,
+ gfx->transmask(bitmap,cliprect, code, color, xflip, yflip, x, y,
m_palette->transpen_mask(*gfx, color, 0x10));
if (doubled) i += 4;
diff --git a/src/mame/video/fcombat.c b/src/mame/video/fcombat.c
index 99555c9480a..1625b6fdfa3 100644
--- a/src/mame/video/fcombat.c
+++ b/src/mame/video/fcombat.c
@@ -174,18 +174,18 @@ UINT32 fcombat_state::screen_update_fcombat(screen_device &screen, bitmap_ind16
else
code &= ~0x10, code2 |= 0x10;
- gfx->transpen(bitmap,cliprect, code2, color, xflip, yflip, x, y + gfx->height(), 0);
+ gfx->transpen(bitmap,cliprect, code2, color, xflip, yflip, x, y + gfx->height(), 0);
}
if(flags&0x10)
{
- gfx->transpen(bitmap,cliprect, code2 + 16, color, xflip, yflip, x, y + gfx->height(), 0);
- gfx->transpen(bitmap,cliprect, code2 + 16 * 2, color, xflip, yflip, x, y + 2 * gfx->height(), 0);
- gfx->transpen(bitmap,cliprect, code2 + 16 * 3, color, xflip, yflip, x, y + 3 * gfx->height(), 0);
+ gfx->transpen(bitmap,cliprect, code2 + 16, color, xflip, yflip, x, y + gfx->height(), 0);
+ gfx->transpen(bitmap,cliprect, code2 + 16 * 2, color, xflip, yflip, x, y + 2 * gfx->height(), 0);
+ gfx->transpen(bitmap,cliprect, code2 + 16 * 3, color, xflip, yflip, x, y + 3 * gfx->height(), 0);
}
- gfx->transpen(bitmap,cliprect, code, color, xflip, yflip, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code, color, xflip, yflip, x, y, 0);
if (doubled) i += 4;
}
diff --git a/src/mame/video/firetrk.c b/src/mame/video/firetrk.c
index c5e839db549..fe7b4630494 100644
--- a/src/mame/video/firetrk.c
+++ b/src/mame/video/firetrk.c
@@ -262,7 +262,7 @@ void firetrk_state::firetrk_draw_car(bitmap_ind16 &bitmap, const rectangle &clip
y = 104;
}
- m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, x, y, 0);
+ m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, x, y, 0);
}
@@ -274,7 +274,7 @@ void firetrk_state::superbug_draw_car(bitmap_ind16 &bitmap, const rectangle &cli
int flip_x = *m_car_rot & 0x04;
int flip_y = *m_car_rot & 0x08;
- m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, 144, 104, 0);
+ m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, 144, 104, 0);
}
@@ -303,7 +303,7 @@ void firetrk_state::montecar_draw_car(bitmap_ind16 &bitmap, const rectangle &cli
y = 104;
}
- m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, x, y, 0);
+ m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, x, y, 0);
}
@@ -313,7 +313,7 @@ void firetrk_state::draw_text(bitmap_ind16 &bitmap, const rectangle &cliprect, U
int i;
for (i = 0; i < count; i++)
- m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, alpha_ram[i], 0, 0, 0, x, i * height);
+ m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, alpha_ram[i], 0, 0, 0, x, i * height);
}
diff --git a/src/mame/video/fitfight.c b/src/mame/video/fitfight.c
index f456a76eaf9..dbaff995e27 100644
--- a/src/mame/video/fitfight.c
+++ b/src/mame/video/fitfight.c
@@ -34,7 +34,7 @@ void fitfight_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
if (end) break;
if (prio == layer)
- gfx->transpen(bitmap,cliprect, number, colr, xflip, yflip, xpos, ypos, 0);
+ gfx->transpen(bitmap,cliprect, number, colr, xflip, yflip, xpos, ypos, 0);
source += 4;
}
diff --git a/src/mame/video/gaelco2.c b/src/mame/video/gaelco2.c
index 9a5834ae526..51f0926d524 100644
--- a/src/mame/video/gaelco2.c
+++ b/src/mame/video/gaelco2.c
@@ -377,7 +377,7 @@ void gaelco2_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, co
/* normal sprite, pen 0 transparent */
if (color_effect == 0){
- gfx->transpen(bitmap,cliprect, number,
+ gfx->transpen(bitmap,cliprect, number,
color, xflip, yflip,
((sx + ex*16) & 0x3ff) + spr_x_adjust,
((sy + ey*16) & 0x1ff), 0);
diff --git a/src/mame/video/galaxian.c b/src/mame/video/galaxian.c
index 78ffee37133..0e81ef57110 100644
--- a/src/mame/video/galaxian.c
+++ b/src/mame/video/galaxian.c
@@ -577,7 +577,7 @@ void galaxian_state::sprites_draw(bitmap_rgb32 &bitmap, const rectangle &cliprec
}
/* draw */
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,clip,
code, color,
flipx, flipy,
diff --git a/src/mame/video/goindol.c b/src/mame/video/goindol.c
index 89e828d1ac7..fc61646b9dd 100644
--- a/src/mame/video/goindol.c
+++ b/src/mame/video/goindol.c
@@ -99,13 +99,13 @@ void goindol_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
tile += tile;
palette = sprite_ram[offs + 2] >> 3;
-
+
m_gfxdecode->gfx(gfxbank)->transpen(bitmap,cliprect,
tile,
palette,
flip_screen(),flip_screen(),
sx,sy, 0);
-
+
m_gfxdecode->gfx(gfxbank)->transpen(bitmap,cliprect,
tile+1,
palette,
diff --git a/src/mame/video/gottlieb.c b/src/mame/video/gottlieb.c
index db79cf1fb7b..0208b7422fb 100644
--- a/src/mame/video/gottlieb.c
+++ b/src/mame/video/gottlieb.c
@@ -209,7 +209,7 @@ void gottlieb_state::draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprec
if (flip_screen_x()) sx = 233 - sx;
if (flip_screen_y()) sy = 228 - sy;
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,clip,
code, 0,
flip_screen_x(), flip_screen_y(),
diff --git a/src/mame/video/gotya.c b/src/mame/video/gotya.c
index fe0b99f69d1..6e5b1504e12 100644
--- a/src/mame/video/gotya.c
+++ b/src/mame/video/gotya.c
@@ -125,7 +125,7 @@ void gotya_state::draw_status_row( bitmap_ind16 &bitmap, const rectangle &clipre
else
sy = 31 - row;
-
+
m_gfxdecode->gfx(0)->opaque(bitmap,cliprect,
m_videoram2[row * 32 + col],
m_videoram2[row * 32 + col + 0x10] & 0x0f,
@@ -149,7 +149,7 @@ void gotya_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect
if (flip_screen())
sy = 240 - sy;
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flip_screen_x(), flip_screen_y(),
diff --git a/src/mame/video/gp9001.h b/src/mame/video/gp9001.h
index c727c8344f7..f9d5bb2234e 100644
--- a/src/mame/video/gp9001.h
+++ b/src/mame/video/gp9001.h
@@ -141,4 +141,3 @@ extern const device_type GP9001_VDP;
#define MCFG_GP9001_VDP_PALETTE(_palette_tag) \
gp9001vdp_device::static_set_palette_tag(*device, "^" _palette_tag);
-
diff --git a/src/mame/video/grchamp.c b/src/mame/video/grchamp.c
index 3c5b87f7f06..6a823a94ee5 100644
--- a/src/mame/video/grchamp.c
+++ b/src/mame/video/grchamp.c
@@ -121,7 +121,7 @@ int grchamp_state::collision_check(grchamp_state *state, bitmap_ind16 &bitmap, i
if( which==0 )
{
/* draw the current player sprite into a work bitmap */
-
+
m_gfxdecode->gfx(4)->opaque(m_work_bitmap,
m_work_bitmap.cliprect(),
m_cpu0_out[4]&0xf,
@@ -187,7 +187,7 @@ void grchamp_state::draw_sprites(grchamp_state *state, bitmap_ind16 &bitmap, con
int sy = 240-source[0];
int color = source[2];
int code = source[1);
-
+
gfx->transpen(bitmap,cliprect,
bank + (code & 0x3f),
color,
diff --git a/src/mame/video/gticlub.c b/src/mame/video/gticlub.c
index 9763283d63b..fa35b42be6c 100644
--- a/src/mame/video/gticlub.c
+++ b/src/mame/video/gticlub.c
@@ -75,7 +75,7 @@ void K001006_init(running_machine &machine, palette_device *palette)
K001006_addr[i] = 0;
K001006_device_sel[i] = 0;
K001006_palette[i] = auto_alloc_array(machine, UINT32, 0x800);
- memset(K001006_palette[i], 0, 0x800*sizeof(UINT32));
+ memset(K001006_palette[i], 0, 0x800*sizeof(UINT32));
}
m_palette = palette;
}
diff --git a/src/mame/video/gyruss.c b/src/mame/video/gyruss.c
index 3b5a0c9aff6..c4c32bca275 100644
--- a/src/mame/video/gyruss.c
+++ b/src/mame/video/gyruss.c
@@ -139,7 +139,7 @@ void gyruss_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect
int flip_x = ~m_spriteram[offs + 2] & 0x40;
int flip_y = m_spriteram[offs + 2] & 0x80;
- m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, x, y, 0);
+ m_gfxdecode->gfx(gfx_bank)->transpen(bitmap,cliprect, code, color, flip_x, flip_y, x, y, 0);
}
}
diff --git a/src/mame/video/hyperspt.c b/src/mame/video/hyperspt.c
index 4531164fa19..b7629744c59 100644
--- a/src/mame/video/hyperspt.c
+++ b/src/mame/video/hyperspt.c
@@ -148,7 +148,7 @@ void hyperspt_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
sy += 1;
-
+
m_gfxdecode->gfx(0)->transmask(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -157,7 +157,7 @@ void hyperspt_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
/* redraw with wraparound */
-
+
m_gfxdecode->gfx(0)->transmask(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/jalblend.c b/src/mame/video/jalblend.c
index 54591f9e2b5..43aa992af5c 100644
--- a/src/mame/video/jalblend.c
+++ b/src/mame/video/jalblend.c
@@ -110,7 +110,7 @@ void jal_blend_drawgfx_common(palette_device &palette,_BitmapClass &dest_bmp,con
x_index_base = flipx ? gfx->width()-1 : 0;
y_index = flipy ? gfx->height()-1 : 0;
- // start coordinates
+ // start coordinates
sx = offsx;
sy = offsy;
diff --git a/src/mame/video/k001005.h b/src/mame/video/k001005.h
index c012080c4de..6c2899d193f 100644
--- a/src/mame/video/k001005.h
+++ b/src/mame/video/k001005.h
@@ -28,7 +28,7 @@ public:
~k001005_device() {}
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
void draw(bitmap_rgb32 &bitmap, const rectangle &cliprect);
void swap_buffers();
void preprocess_texture_data(UINT8 *rom, int length, int gticlub);
diff --git a/src/mame/video/k001604.h b/src/mame/video/k001604.h
index 119972a37a8..32e6d9c4fb3 100644
--- a/src/mame/video/k001604.h
+++ b/src/mame/video/k001604.h
@@ -24,7 +24,7 @@ public:
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
void draw_back_layer( bitmap_rgb32 &bitmap, const rectangle &cliprect );
void draw_front_layer( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect );
DECLARE_WRITE32_MEMBER( tile_w );
diff --git a/src/mame/video/k007121.h b/src/mame/video/k007121.h
index 52b49ab5ba8..fa5d14076c3 100644
--- a/src/mame/video/k007121.h
+++ b/src/mame/video/k007121.h
@@ -9,7 +9,7 @@ public:
~k007121_device() {}
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
DECLARE_READ8_MEMBER( ctrlram_r );
DECLARE_WRITE8_MEMBER( ctrl_w );
diff --git a/src/mame/video/k007342.c b/src/mame/video/k007342.c
index 101f81c8f0e..b400c0ea8a9 100644
--- a/src/mame/video/k007342.c
+++ b/src/mame/video/k007342.c
@@ -49,7 +49,7 @@ k007342_device::k007342_device(const machine_config &mconfig, const char *tag, d
//m_regs[8],
//m_scrollx[2],
//m_scrolly[2],
- m_gfxdecode(*this),
+ m_gfxdecode(*this),
m_gfxnum(0)
{
}
@@ -74,8 +74,8 @@ void k007342_device::device_start()
throw device_missing_dependencies();
// bind the init function
- m_callback.bind_relative_to(*owner());
-
+ m_callback.bind_relative_to(*owner());
+
m_tilemap[0] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(k007342_device::get_tile_info0),this), tilemap_mapper_delegate(FUNC(k007342_device::scan),this), 8, 8, 64, 32);
m_tilemap[1] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(k007342_device::get_tile_info1),this), tilemap_mapper_delegate(FUNC(k007342_device::scan),this), 8, 8, 64, 32);
@@ -281,10 +281,10 @@ void k007342_device::get_tile_info( tile_data &tileinfo, int tile_index, int lay
flags = TILE_FLIPYX((color & 0x30) >> 4);
tileinfo.category = (color & 0x80) >> 7;
-
+
if (!m_callback.isnull())
m_callback(layer, m_regs[1], &code, &color, &flags);
-
+
SET_TILE_INFO_MEMBER(m_gfxnum,
code,
diff --git a/src/mame/video/k007342.h b/src/mame/video/k007342.h
index 4b02fe91f2e..34bef6e39f1 100644
--- a/src/mame/video/k007342.h
+++ b/src/mame/video/k007342.h
@@ -12,9 +12,9 @@ public:
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_gfxnum(device_t &device, int gfxnum) { downcast<k007342_device &>(device).m_gfxnum = gfxnum; }
+ static void static_set_gfxnum(device_t &device, int gfxnum) { downcast<k007342_device &>(device).m_gfxnum = gfxnum; }
static void static_set_callback(device_t &device, k007342_delegate callback) { downcast<k007342_device &>(device).m_callback = callback; }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ8_MEMBER( scroll_r );
@@ -56,8 +56,7 @@ private:
extern const device_type K007342;
#define MCFG_K007342_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, K007342, 0) \
-
+ MCFG_DEVICE_ADD(_tag, K007342, 0)
#define MCFG_K007342_GFXDECODE(_gfxtag) \
k007342_device::static_set_gfxdecode_tag(*device, "^" _gfxtag);
@@ -68,9 +67,9 @@ extern const device_type K007342;
k007342_device::static_set_callback(*device, k007342_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
#define MCFG_K007342_CALLBACK_DEVICE(_tag, _class, _method) \
- k007342_device::static_set_callback(*device, k007342_delegate(&_class::_method, #_class "::" #_method, _tag));
+ k007342_device::static_set_callback(*device, k007342_delegate(&_class::_method, #_class "::" #_method, _tag));
// function definition for a callback
-#define K007342_CALLBACK_MEMBER(_name) void _name(int layer, int bank, int *code, int *color, int *flags)
+#define K007342_CALLBACK_MEMBER(_name) void _name(int layer, int bank, int *code, int *color, int *flags)
#endif
diff --git a/src/mame/video/k007420.c b/src/mame/video/k007420.c
index 170def9759c..82fe02286c4 100644
--- a/src/mame/video/k007420.c
+++ b/src/mame/video/k007420.c
@@ -33,8 +33,8 @@ k007420_device::k007420_device(const machine_config &mconfig, const char *tag, d
void k007420_device::device_start()
{
// bind the init function
- m_callback.bind_relative_to(*owner());
-
+ m_callback.bind_relative_to(*owner());
+
m_ram = auto_alloc_array_clear(machine(), UINT8, 0x200);
save_pointer(NAME(m_ram), 0x200);
diff --git a/src/mame/video/k007420.h b/src/mame/video/k007420.h
index a1da00bd0d0..417230dec1a 100644
--- a/src/mame/video/k007420.h
+++ b/src/mame/video/k007420.h
@@ -11,7 +11,7 @@ public:
~k007420_device() {}
static void static_set_palette_tag(device_t &device, const char *tag);
- static void static_set_bank_limit(device_t &device, int limit) { downcast<k007420_device &>(device).m_banklimit = limit; }
+ static void static_set_bank_limit(device_t &device, int limit) { downcast<k007420_device &>(device).m_banklimit = limit; }
static void static_set_callback(device_t &device, k007420_delegate callback) { downcast<k007420_device &>(device).m_callback = callback; }
DECLARE_READ8_MEMBER( read );
@@ -48,7 +48,7 @@ extern const device_type K007420;
k007420_device::static_set_callback(*device, k007420_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
// function definition for a callback
-#define K007420_CALLBACK_MEMBER(_name) void _name(int *code, int *color)
+#define K007420_CALLBACK_MEMBER(_name) void _name(int *code, int *color)
#endif
diff --git a/src/mame/video/k051316.h b/src/mame/video/k051316.h
index e43acdcad20..885e8c65365 100644
--- a/src/mame/video/k051316.h
+++ b/src/mame/video/k051316.h
@@ -68,7 +68,7 @@ extern const device_type K051316;
#define MCFG_K051316_GFXDECODE(_gfxtag) \
k051316_device::static_set_gfxdecode_tag(*device, "^" _gfxtag);
-
+
#define MCFG_K051316_PALETTE(_palette_tag) \
k051316_device::static_set_palette_tag(*device, "^" _palette_tag);
#endif
diff --git a/src/mame/video/k053244_k053245.h b/src/mame/video/k053244_k053245.h
index 3d9ef2d2ef8..3fafb69a5fd 100644
--- a/src/mame/video/k053244_k053245.h
+++ b/src/mame/video/k053244_k053245.h
@@ -70,7 +70,7 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
DECLARE_READ16_MEMBER( k053244_reg_word_r ); // OBJSET0 debug handler
};
diff --git a/src/mame/video/k053246_k053247_k055673.h b/src/mame/video/k053246_k053247_k055673.h
index 9ed1c3045c5..be4e0096f9c 100644
--- a/src/mame/video/k053246_k053247_k055673.h
+++ b/src/mame/video/k053246_k053247_k055673.h
@@ -119,7 +119,7 @@ public:
const char *m_memory_region;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
-
+
/* alt implementation - to be collapsed */
void alt_k055673_vh_start(running_machine &machine, const char *gfx_memory_region, int alt_layout, int dx, int dy,
void (*callback)(running_machine &machine, int *code,int *color,int *priority));
diff --git a/src/mame/video/k053250.h b/src/mame/video/k053250.h
index 4bc4bc5b309..4e31ed0921f 100644
--- a/src/mame/video/k053250.h
+++ b/src/mame/video/k053250.h
@@ -13,7 +13,7 @@
MCFG_VIDEO_SET_SCREEN(_screen_tag) \
k053250_device::static_set_offsets(*device, offx, offy);
-class k053250_device : public device_t,
+class k053250_device : public device_t,
public device_gfx_interface,
public device_video_interface
{
diff --git a/src/mame/video/k054338.c b/src/mame/video/k054338.c
index 1ea8e999731..b4350496632 100644
--- a/src/mame/video/k054338.c
+++ b/src/mame/video/k054338.c
@@ -309,7 +309,7 @@ int k054338_device::register_r( int reg )
}
void k054338_device::update_all_shadows( int rushingheroes_hack, palette_device *palette )
-{
+{
int i, d;
int noclip = m_regs[K338_REG_CONTROL] & K338_CTL_CLIPSL;
diff --git a/src/mame/video/kaneko16.c b/src/mame/video/kaneko16.c
index 5c1b6337b5e..63b87617bee 100644
--- a/src/mame/video/kaneko16.c
+++ b/src/mame/video/kaneko16.c
@@ -180,7 +180,7 @@ READ16_MEMBER(kaneko16_berlwall_state::kaneko16_bg15_reg_r)
WRITE16_MEMBER(kaneko16_berlwall_state::kaneko16_bg15_reg_w)
{
COMBINE_DATA(&m_bg15_reg[0]);
-// printf("kaneko16_bg15_reg_w %04x\n", m_bg15_reg[0]);
+// printf("kaneko16_bg15_reg_w %04x\n", m_bg15_reg[0]);
double brt1 = data & 0xff;
brt1 = brt1 / 255.0;
@@ -198,10 +198,10 @@ void kaneko16_berlwall_state::kaneko16_render_15bpp_bitmap(bitmap_rgb32 &bitmap,
int flip = select & 0x20;
int sx;//, sy;
- // if (flip) select ^= 0x1f;
+ // if (flip) select ^= 0x1f;
sx = (select & 0x1f) * 256;
- // sy = 0;
+ // sy = 0;
const pen_t *pal = m_bgpalette->pens();
UINT16* srcbitmap;
diff --git a/src/mame/video/kaneko_spr.c b/src/mame/video/kaneko_spr.c
index 01a66cc9cc9..d5660fe8af5 100644
--- a/src/mame/video/kaneko_spr.c
+++ b/src/mame/video/kaneko_spr.c
@@ -314,7 +314,6 @@ void kaneko16_sprite_device::kaneko16_draw_sprites_custom(_BitmapClass &dest_bmp
{
if (pri[x] < priority)
{
-
if (!rgb) dest[x] = pen_base + c;
else dest[x] = pal[pen_base + c];
diff --git a/src/mame/video/kaneko_spr.h b/src/mame/video/kaneko_spr.h
index 416e43b7433..3614bcc5767 100644
--- a/src/mame/video/kaneko_spr.h
+++ b/src/mame/video/kaneko_spr.h
@@ -85,7 +85,7 @@ private:
template<class _BitmapClass>
void kaneko16_draw_sprites(running_machine &machine, _BitmapClass &bitmap, const rectangle &cliprect, bitmap_ind8 &priority_bitmap, UINT16* spriteram16, int spriteram16_bytes);
-
+
template<class _BitmapClass>
void kaneko16_draw_sprites_custom(_BitmapClass &dest_bmp,const rectangle &clip,gfx_element *gfx,
UINT32 code,UINT32 color,int flipx,int flipy,int sx,int sy,
diff --git a/src/mame/video/kopunch.c b/src/mame/video/kopunch.c
index cb1876a9163..5c358654f48 100644
--- a/src/mame/video/kopunch.c
+++ b/src/mame/video/kopunch.c
@@ -103,7 +103,7 @@ void kopunch_state::video_start()
UINT32 kopunch_state::screen_update_kopunch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
bitmap.fill(0, cliprect);
-
+
// background does not wrap around horizontally
rectangle bg_clip = cliprect;
bg_clip.max_x = m_scrollx ^ 0xff;
diff --git a/src/mame/video/ladyfrog.c b/src/mame/video/ladyfrog.c
index 923a2db22b5..6b2f4505ca6 100644
--- a/src/mame/video/ladyfrog.c
+++ b/src/mame/video/ladyfrog.c
@@ -131,11 +131,11 @@ VIDEO_START_MEMBER(ladyfrog_state,ladyfrog_common)
m_paletteram_ext.resize(0x200);
m_palette->basemem().set(m_paletteram, ENDIANNESS_LITTLE, 1);
m_palette->extmem().set(m_paletteram_ext, ENDIANNESS_LITTLE, 1);
-
+
m_bg_tilemap->set_scroll_cols(32);
m_bg_tilemap->set_scrolldy(15, 15);
- save_pointer(NAME(m_spriteram), 160);
+ save_pointer(NAME(m_spriteram), 160);
save_item(NAME(m_paletteram));
save_item(NAME(m_paletteram_ext));
}
diff --git a/src/mame/video/lastduel.c b/src/mame/video/lastduel.c
index 1cfa769fb1e..5cc6b4b9dd4 100644
--- a/src/mame/video/lastduel.c
+++ b/src/mame/video/lastduel.c
@@ -232,7 +232,7 @@ void lastduel_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
code,
color,
diff --git a/src/mame/video/m10.c b/src/mame/video/m10.c
index 35b48e50b0a..45cc543cbd2 100644
--- a/src/mame/video/m10.c
+++ b/src/mame/video/m10.c
@@ -130,9 +130,9 @@ UINT32 m10_state::screen_update_m10(screen_device &screen, bitmap_ind16 &bitmap,
for (i = 0; i < 4; i++)
if (m_flip)
- m_back_gfx->opaque(bitmap,cliprect, i, color[i], 1, 1, 31 * 8 - xpos[i], 0);
+ m_back_gfx->opaque(bitmap,cliprect, i, color[i], 1, 1, 31 * 8 - xpos[i], 0);
else
- m_back_gfx->opaque(bitmap,cliprect, i, color[i], 0, 0, xpos[i], 0);
+ m_back_gfx->opaque(bitmap,cliprect, i, color[i], 0, 0, xpos[i], 0);
if (m_bottomline)
{
diff --git a/src/mame/video/m52.c b/src/mame/video/m52.c
index 54e425b40b7..ae332ab8835 100644
--- a/src/mame/video/m52.c
+++ b/src/mame/video/m52.c
@@ -305,7 +305,7 @@ void m52_state::draw_background(bitmap_ind16 &bitmap, const rectangle &cliprect,
/* this may not be correct */
ypos = ypos + (22 - 8);
-
+
m_gfxdecode->gfx(image)->transpen(bitmap,cliprect,
0, 0,
flip_screen(),
@@ -313,7 +313,7 @@ void m52_state::draw_background(bitmap_ind16 &bitmap, const rectangle &cliprect,
xpos,
ypos, 0);
-
+
m_gfxdecode->gfx(image)->transpen(bitmap,cliprect,
0, 0,
flip_screen(),
diff --git a/src/mame/video/mermaid.c b/src/mame/video/mermaid.c
index 8e76a1faabb..eaa8188d9b5 100644
--- a/src/mame/video/mermaid.c
+++ b/src/mame/video/mermaid.c
@@ -208,7 +208,7 @@ void mermaid_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
sy = 240 - sy;
}
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,(flip_screen_x() ? flip_spritevisiblearea : spritevisiblearea), code, color, flipx, flipy, sx, sy, 0);
}
}
diff --git a/src/mame/video/mikie.c b/src/mame/video/mikie.c
index b4fb6693b9a..f1066c8cd0d 100644
--- a/src/mame/video/mikie.c
+++ b/src/mame/video/mikie.c
@@ -156,7 +156,7 @@ void mikie_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(gfxbank)->transpen(bitmap,cliprect,
code, color,
flipx,flipy,
diff --git a/src/mame/video/mrflea.c b/src/mame/video/mrflea.c
index 53b1d886f7f..bff9170ff4f 100644
--- a/src/mame/video/mrflea.c
+++ b/src/mame/video/mrflea.c
@@ -88,7 +88,7 @@ void mrflea_state::draw_background( bitmap_ind16 &bitmap, const rectangle &clipr
{
int tile_number = base + source[0] + source[0x400] * 0x100;
source++;
-
+
gfx->opaque(bitmap,cliprect,
tile_number,
0, /* color */
diff --git a/src/mame/video/ms32.c b/src/mame/video/ms32.c
index 4ee6a7c9c8f..11a8f101be4 100644
--- a/src/mame/video/ms32.c
+++ b/src/mame/video/ms32.c
@@ -97,7 +97,7 @@ void ms32_state::video_start()
// tp2m32 doesn't set the brightness registers so we need sensible defaults
m_brt[0] = m_brt[1] = 0xffff;
-
+
save_item(NAME(m_irqreq));
save_item(NAME(m_temp_bitmap_tilemaps));
save_item(NAME(m_temp_bitmap_sprites));
diff --git a/src/mame/video/mugsmash.c b/src/mame/video/mugsmash.c
index d41ddc1f27a..1388423ab0f 100644
--- a/src/mame/video/mugsmash.c
+++ b/src/mame/video/mugsmash.c
@@ -43,7 +43,7 @@ void mugsmash_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
xpos -= 28;
ypos -= 16;
-
+
gfx->transpen(
bitmap,
cliprect,
diff --git a/src/mame/video/munchmo.c b/src/mame/video/munchmo.c
index 0d8c6e4d404..e3cb071b0ea 100644
--- a/src/mame/video/munchmo.c
+++ b/src/mame/video/munchmo.c
@@ -63,7 +63,6 @@ void munchmo_state::draw_status( bitmap_ind16 &bitmap, const rectangle &cliprect
for (sy = 0; sy < 256; sy += 8)
{
-
gfx->opaque(bitmap,cliprect,
*source++,
0, /* color */
@@ -94,7 +93,7 @@ void munchmo_state::draw_background( bitmap_ind16 &bitmap, const rectangle &clip
{
for (col = 0; col < 4; col++)
{
- gfx->opaque(*m_tmpbitmap,m_tmpbitmap->cliprect(),
+ gfx->opaque(*m_tmpbitmap,m_tmpbitmap->cliprect(),
rom[col + tile_number * 4 + row * 0x400],
m_palette_bank,
0,0, /* flip */
@@ -135,7 +134,7 @@ void munchmo_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
{
sx = (sx >> 1) | (tile_number & 0x80);
sx = 2 * ((- 32 - scroll - sx) & 0xff) + xadjust;
- gfx->transpen(bitmap,cliprect,
+ gfx->transpen(bitmap,cliprect,
0x7f - (tile_number & 0x7f),
color_base - (attributes & 0x03),
0,0, /* no flip */
diff --git a/src/mame/video/mystston.c b/src/mame/video/mystston.c
index 9a3475c1e80..67e4315bdbd 100644
--- a/src/mame/video/mystston.c
+++ b/src/mame/video/mystston.c
@@ -197,7 +197,7 @@ void mystston_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 0);
}
}
}
diff --git a/src/mame/video/namcona1.c b/src/mame/video/namcona1.c
index fd9d4551ba6..0942ea1f67b 100644
--- a/src/mame/video/namcona1.c
+++ b/src/mame/video/namcona1.c
@@ -278,7 +278,7 @@ void namcona1_state::video_start()
{
m_tilemap_palette_bank[i] = -1;
}
-
+
m_bg_tilemap[0] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(namcona1_state::tilemap_get_info0),this), TILEMAP_SCAN_ROWS, 8,8,64,64 );
m_bg_tilemap[1] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(namcona1_state::tilemap_get_info1),this), TILEMAP_SCAN_ROWS, 8,8,64,64 );
m_bg_tilemap[2] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(namcona1_state::tilemap_get_info2),this), TILEMAP_SCAN_ROWS, 8,8,64,64 );
diff --git a/src/mame/video/namcos22.c b/src/mame/video/namcos22.c
index fadf74a8e47..4ee5eb27bfe 100644
--- a/src/mame/video/namcos22.c
+++ b/src/mame/video/namcos22.c
@@ -1623,7 +1623,7 @@ void namcos22_state::draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprec
int base = m_spriteram[0] & 0xffff; // alpinesa/alpinr2b
int num_sprites = ((m_spriteram[1] >> 16) - base) + 1;
-
+
// airco22b doesn't use spriteset #1
if (m_gametype == NAMCOS22_AIR_COMBAT22)
num_sprites = 0;
diff --git a/src/mame/video/ninjakd2.c b/src/mame/video/ninjakd2.c
index 5df49a810e5..373d0bc91f8 100644
--- a/src/mame/video/ninjakd2.c
+++ b/src/mame/video/ninjakd2.c
@@ -384,7 +384,7 @@ void ninjakd2_state::draw_sprites( bitmap_ind16 &bitmap)
{
int const tile = code ^ (x << big_xshift) ^ (y << big_yshift);
- gfx->transpen(bitmap,bitmap.cliprect(),
+ gfx->transpen(bitmap,bitmap.cliprect(),
tile,
color,
flipx,flipy,
diff --git a/src/mame/video/nova2001.c b/src/mame/video/nova2001.c
index 0b090150361..5243a612544 100644
--- a/src/mame/video/nova2001.c
+++ b/src/mame/video/nova2001.c
@@ -283,7 +283,7 @@ void nova2001_state::nova2001_draw_sprites(bitmap_ind16 &bitmap, const rectangle
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect,
+ gfx->transpen(bitmap,cliprect,
tile,
color,
flipx, flipy,
@@ -320,14 +320,14 @@ void nova2001_state::pkunwar_draw_sprites(bitmap_ind16 &bitmap, const rectangle
flipy = !flipy;
}
- gfx->transpen(bitmap,cliprect,
+ gfx->transpen(bitmap,cliprect,
tile,
color,
flipx, flipy,
sx, sy, 0);
// there's no X MSB, so draw with wraparound (fixes title screen)
- gfx->transpen(bitmap,cliprect,
+ gfx->transpen(bitmap,cliprect,
tile,
color,
flipx, flipy,
diff --git a/src/mame/video/oneshot.c b/src/mame/video/oneshot.c
index 7969cc1ecb2..bb874a096e9 100644
--- a/src/mame/video/oneshot.c
+++ b/src/mame/video/oneshot.c
@@ -122,7 +122,6 @@ void oneshot_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
{
for (blocky = 0; blocky < ysize; blocky++)
{
-
gfx->transpen(
bitmap,
cliprect,
@@ -131,7 +130,7 @@ void oneshot_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
0,0,
xpos + blockx * 8, ypos + blocky * 8, 0);
-
+
gfx->transpen(
bitmap,
cliprect,
diff --git a/src/mame/video/pooyan.c b/src/mame/video/pooyan.c
index 06a48261b50..118db0b133c 100644
--- a/src/mame/video/pooyan.c
+++ b/src/mame/video/pooyan.c
@@ -167,7 +167,7 @@ void pooyan_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect
int flipx = ~spriteram_2[offs] & 0x40;
int flipy = spriteram_2[offs] & 0x80;
-
+
m_gfxdecode->gfx(1)->transmask(bitmap,cliprect,
code,
color,
diff --git a/src/mame/video/popeye.c b/src/mame/video/popeye.c
index f86c2314c15..e1b1a8bbba8 100644
--- a/src/mame/video/popeye.c
+++ b/src/mame/video/popeye.c
@@ -58,24 +58,24 @@ enum { TYPE_SKYSKIPR, TYPE_POPEYE };
static const res_net_decode_info popeye_7051_decode_info =
{
- 1, /* one prom 5 lines */
- 0, /* start at 0 */
- 15, /* end at 15 (banked) */
+ 1, /* one prom 5 lines */
+ 0, /* start at 0 */
+ 15, /* end at 15 (banked) */
/* R, G, B, */
- { 0, 0, 0 }, /* offsets */
- { 0, 3, 6 }, /* shifts */
- {0x07,0x07,0x03 } /* masks */
+ { 0, 0, 0 }, /* offsets */
+ { 0, 3, 6 }, /* shifts */
+ {0x07,0x07,0x03 } /* masks */
};
static const res_net_decode_info popeye_7052_decode_info =
{
- 2, /* there may be two proms needed to construct color */
- 0, /* start at 0 */
- 255, /* end at 255 */
+ 2, /* there may be two proms needed to construct color */
+ 0, /* start at 0 */
+ 255, /* end at 255 */
/* R, G, B, R, G, B */
- { 0, 0, 0, 256, 256, 256}, /* offsets */
- { 0, 3, 0, 0, -1, 2}, /* shifts */
- {0x07,0x01,0x00,0x00,0x06,0x03} /* masks */
+ { 0, 0, 0, 256, 256, 256}, /* offsets */
+ { 0, 3, 0, 0, -1, 2}, /* shifts */
+ {0x07,0x01,0x00,0x00,0x06,0x03} /* masks */
};
static const res_net_info popeye_7051_txt_net_info =
@@ -122,7 +122,7 @@ void popeye_state::convert_color_prom(const UINT8 *color_prom)
#if USE_NEW_COLOR
for (i = 0; i < 16; i++)
{
- int prom_offs = i | ((i & 8) << 1); /* address bits 3 and 4 are tied together */
+ int prom_offs = i | ((i & 8) << 1); /* address bits 3 and 4 are tied together */
int r, g, b;
r = compute_res_net(((color_prom[prom_offs] ^ m_invertmask) >> 0) & 0x07, 0, popeye_7051_txt_net_info);
g = compute_res_net(((color_prom[prom_offs] ^ m_invertmask) >> 3) & 0x07, 1, popeye_7051_txt_net_info);
@@ -344,10 +344,10 @@ void popeye_state::video_start()
m_fg_tilemap->set_transparent_pen(0);
m_lastflip = 0;
- m_field = 0;
+ m_field = 0;
- save_item(NAME(m_field));
- save_item(NAME(m_lastflip));
+ save_item(NAME(m_field));
+ save_item(NAME(m_lastflip));
save_item(NAME(*m_tmpbitmap2));
save_pointer(NAME(m_bitmapram), popeye_bitmapram_size);
}
@@ -362,10 +362,10 @@ VIDEO_START_MEMBER(popeye_state,popeye)
m_fg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(popeye_state::get_fg_tile_info),this), TILEMAP_SCAN_ROWS, 16, 16, 32, 32);
m_fg_tilemap->set_transparent_pen(0);
- m_lastflip = 0;
- m_field = 0;
+ m_lastflip = 0;
+ m_field = 0;
- save_item(NAME(m_field));
+ save_item(NAME(m_field));
save_item(NAME(m_lastflip));
save_item(NAME(*m_tmpbitmap2));
save_pointer(NAME(m_bitmapram), popeye_bitmapram_size);
diff --git a/src/mame/video/ppu2c0x.c b/src/mame/video/ppu2c0x.c
index d05bd0b24c4..a4fb902d1ad 100644
--- a/src/mame/video/ppu2c0x.c
+++ b/src/mame/video/ppu2c0x.c
@@ -930,12 +930,12 @@ void ppu2c0x_device::render_scanline( void )
}
m_draw_phase = PPU_DRAW_OAM;
-
+
/* if sprites are on, draw them, but we call always to process them */
draw_sprites(line_priority);
m_draw_phase = PPU_DRAW_BG;
-
+
/* done updating, whew */
g_profiler.stop();
}
diff --git a/src/mame/video/ppu2c0x.h b/src/mame/video/ppu2c0x.h
index dafa18f9422..aab36ff6bdc 100644
--- a/src/mame/video/ppu2c0x.h
+++ b/src/mame/video/ppu2c0x.h
@@ -180,7 +180,7 @@ public:
int is_sprite_8x16() { return m_regs[PPU_CONTROL0] & PPU_CONTROL0_SPRITE_SIZE; };
int get_draw_phase() { return m_draw_phase; };
int get_tilenum() { return m_tilecount; };
-
+
//27/12/2002 (HACK!)
void set_latch( ppu2c0x_latch_delegate cb ) { m_latch = cb; m_latch.bind_relative_to(*owner()); };
@@ -213,8 +213,8 @@ public:
int m_scan_scale; /* scan scale */
int m_scanlines_per_frame; /* number of scanlines per frame */
int m_security_value; /* 2C05 protection */
- int m_tilecount; /* MMC5 can change attributes to subsets of the 34 visibile tiles */
- int m_draw_phase; /* MMC5 uses different regs for BG and OAM */
+ int m_tilecount; /* MMC5 can change attributes to subsets of the 34 visibile tiles */
+ int m_draw_phase; /* MMC5 uses different regs for BG and OAM */
ppu2c0x_latch_delegate m_latch;
// timers
@@ -223,7 +223,7 @@ public:
emu_timer *m_scanline_timer; /* scanline timer */
const char *m_cpu_tag;
-
+
private:
static const device_timer_id TIMER_HBLANK = 0;
static const device_timer_id TIMER_NMI = 1;
@@ -231,7 +231,7 @@ private:
inline UINT8 readbyte(offs_t address);
inline void writebyte(offs_t address, UINT8 data);
-
+
};
class ppu2c02_device : public ppu2c0x_device {
diff --git a/src/mame/video/psikyo4.c b/src/mame/video/psikyo4.c
index 90f5ee828d0..ce941069963 100644
--- a/src/mame/video/psikyo4.c
+++ b/src/mame/video/psikyo4.c
@@ -112,7 +112,7 @@ void psikyo4_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprec
{
for (i = xstart; i != xend; i += xinc)
{
- gfx->transpen(bitmap,cliprect, tnum + loopnum, colr, flipx, flipy, xpos + 16 * i, ypos + 16 * j, 0);
+ gfx->transpen(bitmap,cliprect, tnum + loopnum, colr, flipx, flipy, xpos + 16 * i, ypos + 16 * j, 0);
loopnum++;
}
}
diff --git a/src/mame/video/raiden.c b/src/mame/video/raiden.c
index bb385c8c3a3..3d975604359 100644
--- a/src/mame/video/raiden.c
+++ b/src/mame/video/raiden.c
@@ -133,7 +133,7 @@ void raiden_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect,
flipx = !flipx;
}
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 15);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, x, y, 15);
}
}
diff --git a/src/mame/video/sbasketb.c b/src/mame/video/sbasketb.c
index 80597a553f5..46257f1d963 100644
--- a/src/mame/video/sbasketb.c
+++ b/src/mame/video/sbasketb.c
@@ -154,7 +154,7 @@ void sbasketb_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/segaic16.h b/src/mame/video/segaic16.h
index 3bc570b9b7a..df99e73a048 100644
--- a/src/mame/video/segaic16.h
+++ b/src/mame/video/segaic16.h
@@ -98,7 +98,7 @@ public:
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
-
+
UINT8 segaic16_display_enable;
UINT16 *segaic16_tileram_0;
UINT16 *segaic16_textram_0;
diff --git a/src/mame/video/segaic24.h b/src/mame/video/segaic24.h
index 70b4c37d2f8..a3cf73de43e 100644
--- a/src/mame/video/segaic24.h
+++ b/src/mame/video/segaic24.h
@@ -14,10 +14,10 @@
#define MCFG_S24TILE_DEVICE_GFXDECODE(_gfxtag) \
segas24_tile::static_set_gfxdecode_tag(*device, "^" _gfxtag);
-
+
#define MCFG_S24TILE_DEVICE_PALETTE(_palette_tag) \
segas24_tile::static_set_palette_tag(*device, "^" _palette_tag);
-
+
class segas24_tile : public device_t
{
friend class segas24_tile_config;
diff --git a/src/mame/video/seibu_crtc.h b/src/mame/video/seibu_crtc.h
index 54fb2ed50b8..eeac3b6d3d3 100644
--- a/src/mame/video/seibu_crtc.h
+++ b/src/mame/video/seibu_crtc.h
@@ -1,6 +1,6 @@
/***************************************************************************
- Seibu CRTC device
+ Seibu CRTC device
***************************************************************************/
@@ -16,7 +16,7 @@
#define MCFG_SEIBU_CRTC_LAYER_EN_CB(_devcb) \
devcb = &seibu_crtc_device::set_layer_en_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_SEIBU_CRTC_LAYER_SCROLL_CB(_devcb) \
devcb = &seibu_crtc_device::set_layer_scroll_callback(*device, DEVCB2_##_devcb);
@@ -37,7 +37,7 @@ public:
template<class _Object> static devcb2_base &set_layer_en_callback(device_t &device, _Object object) { return downcast<seibu_crtc_device &>(device).m_layer_en_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_layer_scroll_callback(device_t &device, _Object object) { return downcast<seibu_crtc_device &>(device).m_layer_scroll_cb.set_callback(object); }
-
+
// I/O operations
DECLARE_WRITE16_MEMBER( write );
DECLARE_WRITE16_MEMBER( write_alt );
@@ -47,7 +47,7 @@ public:
DECLARE_READ16_MEMBER( read_xor );
DECLARE_WRITE16_MEMBER(layer_en_w);
DECLARE_WRITE16_MEMBER(layer_scroll_w);
-
+
protected:
// device-level overrides
virtual void device_validity_check(validity_checker &valid) const;
diff --git a/src/mame/video/shangkid.c b/src/mame/video/shangkid.c
index 8aef4e440aa..5cd57e1d675 100644
--- a/src/mame/video/shangkid.c
+++ b/src/mame/video/shangkid.c
@@ -141,7 +141,7 @@ void shangkid_state::draw_sprite(const UINT8 *source, bitmap_ind16 &bitmap, cons
{
sx = xpos+(c^xflip)*width;
sy = ypos+(r^yflip)*height;
-
+
gfx->zoom_transpen(
bitmap,
cliprect,
@@ -152,7 +152,7 @@ void shangkid_state::draw_sprite(const UINT8 *source, bitmap_ind16 &bitmap, cons
(width<<16)/16, (height<<16)/16,transparent_pen );
// wrap around y
-
+
gfx->zoom_transpen(
bitmap,
cliprect,
@@ -264,7 +264,7 @@ void shangkid_state::dynamski_draw_background(bitmap_ind16 &bitmap, const rectan
if( pri==0 || (attr>>7)==pri )
{
tile += ((attr>>5)&0x3)*256;
-
+
m_gfxdecode->gfx(0)->transpen(
bitmap,
cliprect,
@@ -297,7 +297,7 @@ void shangkid_state::dynamski_draw_sprites(bitmap_ind16 &bitmap, const rectangle
sx = videoram[0x1381+i]-64+8+16;
if( attr&1 ) sx += 0x100;
-
+
m_gfxdecode->gfx(1)->transpen(
bitmap,
cliprect,
diff --git a/src/mame/video/sidearms.c b/src/mame/video/sidearms.c
index 7c224e7bd05..7d90466eea9 100644
--- a/src/mame/video/sidearms.c
+++ b/src/mame/video/sidearms.c
@@ -185,7 +185,7 @@ void sidearms_state::draw_sprites_region(bitmap_ind16 &bitmap, const rectangle &
y = (30 * 8) - y;
}
-
+
gfx->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/slapfght.c b/src/mame/video/slapfght.c
index add16556bee..8349cdc451d 100644
--- a/src/mame/video/slapfght.c
+++ b/src/mame/video/slapfght.c
@@ -60,7 +60,7 @@ VIDEO_START_MEMBER(slapfght_state, slapfight)
{
m_pf1_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(slapfght_state::get_pf1_tile_info), this), TILEMAP_SCAN_ROWS, 8, 8, 64, 32);
m_fix_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(slapfght_state::get_fix_tile_info), this), TILEMAP_SCAN_ROWS, 8, 8, 64, 32);
-
+
m_fix_tilemap->set_scrolldy(0, 15);
m_pf1_tilemap->set_scrolldy(0, 14);
@@ -135,34 +135,34 @@ WRITE8_MEMBER(slapfght_state::palette_bank_w)
void slapfght_state::draw_perfrman_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int layer)
{
UINT8 *src = m_spriteram->buffer();
-
+
for (int offs = 0; offs < m_spriteram->bytes(); offs += 4)
{
/*
- 0: xxxxxxxx - code
- 1: xxxxxxxx - x
- 2: x....... - priority over backdrop
- .x...... - sprite-sprite priority (see point-pop sprites)
- ..x..... - ?
- ...xx... - no function?
- .....xxx - color
- 3: xxxxxxxx - y
+ 0: xxxxxxxx - code
+ 1: xxxxxxxx - x
+ 2: x....... - priority over backdrop
+ .x...... - sprite-sprite priority (see point-pop sprites)
+ ..x..... - ?
+ ...xx... - no function?
+ .....xxx - color
+ 3: xxxxxxxx - y
*/
-
+
int code = src[offs + 0];
int sy = src[offs + 3] - 1;
int sx = src[offs + 1] - 13;
int pri = src[offs + 2] >> 6 & 3;
int color = (src[offs + 2] >> 1 & 3) | (src[offs + 2] << 2 & 4) | (m_palette_bank << 3);
int fx = 0, fy = 0;
-
+
if (flip_screen())
{
sy = 256 - sy;
sx = 240 - sx;
fx = fy = 1;
}
-
+
if (layer == pri)
m_gfxdecode->gfx(1)->transpen(bitmap, cliprect, code, color, fx, fy, sx, sy, 0);
}
@@ -189,15 +189,15 @@ void slapfght_state::draw_slapfight_sprites(bitmap_ind16 &bitmap, const rectangl
for (int offs = 0; offs < m_spriteram->bytes(); offs += 4)
{
/*
- 0: xxxxxxxx - code low
- 1: xxxxxxxx - x low
- 2: xx...... - code high
- ..x..... - no function?
- ...xxxx. - color
- .......x - x high
- 3: xxxxxxxx - y
+ 0: xxxxxxxx - code low
+ 1: xxxxxxxx - x low
+ 2: xx...... - code high
+ ..x..... - no function?
+ ...xxxx. - color
+ .......x - x high
+ 3: xxxxxxxx - y
*/
-
+
int code = src[offs + 0] | ((src[offs + 2] & 0xc0) << 2);
int sy = src[offs + 3];
int sx = (src[offs + 1] | (src[offs + 2] << 8 & 0x100)) - 13;
@@ -210,7 +210,7 @@ void slapfght_state::draw_slapfight_sprites(bitmap_ind16 &bitmap, const rectangl
sx = 284 - sx;
fx = fy = 1;
}
-
+
m_gfxdecode->gfx(2)->transpen(bitmap, cliprect, code, color, fx, fy, sx, sy, 0);
}
}
diff --git a/src/mame/video/solomon.c b/src/mame/video/solomon.c
index 4d70f21ef1c..ce30ac4da7b 100644
--- a/src/mame/video/solomon.c
+++ b/src/mame/video/solomon.c
@@ -86,7 +86,7 @@ void solomon_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/sonson.c b/src/mame/video/sonson.c
index 8d21a933ad6..e0b3fe33464 100644
--- a/src/mame/video/sonson.c
+++ b/src/mame/video/sonson.c
@@ -154,7 +154,7 @@ void sonson_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/ssozumo.c b/src/mame/video/ssozumo.c
index 67c38bd9eb7..b638d3d4d8d 100644
--- a/src/mame/video/ssozumo.c
+++ b/src/mame/video/ssozumo.c
@@ -160,7 +160,7 @@ void ssozumo_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/sspeedr.c b/src/mame/video/sspeedr.c
index cb80cb799b9..8e3c5f0bb58 100644
--- a/src/mame/video/sspeedr.c
+++ b/src/mame/video/sspeedr.c
@@ -196,7 +196,7 @@ void sspeedr_state::draw_drones(bitmap_ind16 &bitmap, const rectangle &cliprect)
y = 0xf0 - m_drones_vert[i >> 1];
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code[i] ^ m_toggle,
0,
@@ -226,7 +226,7 @@ void sspeedr_state::draw_driver(bitmap_ind16 &bitmap, const rectangle &cliprect)
y = 0xf0 - m_driver_vert;
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
m_driver_pic,
0,
diff --git a/src/mame/video/stadhero.c b/src/mame/video/stadhero.c
index 37315fa5f76..c0ddc2aaf64 100644
--- a/src/mame/video/stadhero.c
+++ b/src/mame/video/stadhero.c
@@ -23,7 +23,7 @@ UINT32 stadhero_state::screen_update_stadhero(screen_device &screen, bitmap_ind1
// machine().tilemap().set_flip_all(m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
flip_screen_set(m_tilegen1->get_flip_state());
-
+
m_tilegen1->set_bppmultmask(0x8, 0x7);
m_tilegen1->deco_bac06_pf_draw(bitmap,cliprect,TILEMAP_DRAW_OPAQUE, 0x00, 0x00, 0x00, 0x00);
m_spritegen->draw_sprites(machine(), bitmap, cliprect, m_spriteram, 0x00, 0x00, 0x0f);
diff --git a/src/mame/video/starcrus.c b/src/mame/video/starcrus.c
index 39b5ffcb0dc..6fb230a5f1e 100644
--- a/src/mame/video/starcrus.c
+++ b/src/mame/video/starcrus.c
@@ -164,7 +164,7 @@ int starcrus_state::collision_check_s1s2()
org_y = m_s1_y;
/* Draw ship 1 */
-
+
m_gfxdecode->gfx(8+((m_s1_sprite&0x04)>>2))->opaque(*m_ship1_vid,
clip,
(m_s1_sprite&0x03)^0x03,
@@ -173,7 +173,7 @@ int starcrus_state::collision_check_s1s2()
m_s1_x-org_x, m_s1_y-org_y);
/* Draw ship 2 */
-
+
m_gfxdecode->gfx(10+((m_s2_sprite&0x04)>>2))->opaque(*m_ship2_vid,
clip,
(m_s2_sprite&0x03)^0x03,
@@ -215,7 +215,7 @@ int starcrus_state::collision_check_p1p2()
if (m_p1_sprite & 0x08) /* if p1 is a projectile */
{
/* Draw score/projectile 1 */
-
+
m_gfxdecode->gfx((m_p1_sprite&0x0c)>>2)->opaque(*m_proj1_vid,
clip,
(m_p1_sprite&0x03)^0x03,
@@ -227,7 +227,7 @@ int starcrus_state::collision_check_p1p2()
if (m_p2_sprite & 0x08) /* if p2 is a projectile */
{
/* Draw score/projectile 2 */
-
+
m_gfxdecode->gfx(4+((m_p2_sprite&0x0c)>>2))->opaque(*m_proj2_vid,
clip,
(m_p2_sprite&0x03)^0x03,
@@ -269,7 +269,7 @@ int starcrus_state::collision_check_s1p1p2()
org_y = m_s1_y;
/* Draw ship 1 */
-
+
m_gfxdecode->gfx(8+((m_s1_sprite&0x04)>>2))->opaque(*m_ship1_vid,
clip,
(m_s1_sprite&0x03)^0x03,
@@ -280,7 +280,7 @@ int starcrus_state::collision_check_s1p1p2()
if (m_p1_sprite & 0x08) /* if p1 is a projectile */
{
/* Draw projectile 1 */
-
+
m_gfxdecode->gfx((m_p1_sprite&0x0c)>>2)->opaque(*m_proj1_vid,
clip,
(m_p1_sprite&0x03)^0x03,
@@ -292,7 +292,7 @@ int starcrus_state::collision_check_s1p1p2()
if (m_p2_sprite & 0x08) /* if p2 is a projectile */
{
/* Draw projectile 2 */
-
+
m_gfxdecode->gfx(4+((m_p2_sprite&0x0c)>>2))->opaque(*m_proj2_vid,
clip,
(m_p2_sprite&0x03)^0x03,
@@ -340,7 +340,7 @@ int starcrus_state::collision_check_s2p1p2()
org_y = m_s2_y;
/* Draw ship 2 */
-
+
m_gfxdecode->gfx(10+((m_s2_sprite&0x04)>>2))->opaque(*m_ship2_vid,
clip,
(m_s2_sprite&0x03)^0x03,
@@ -351,7 +351,7 @@ int starcrus_state::collision_check_s2p1p2()
if (m_p1_sprite & 0x08) /* if p1 is a projectile */
{
/* Draw projectile 1 */
-
+
m_gfxdecode->gfx((m_p1_sprite&0x0c)>>2)->opaque(*m_proj1_vid,
clip,
(m_p1_sprite&0x03)^0x03,
@@ -363,7 +363,7 @@ int starcrus_state::collision_check_s2p1p2()
if (m_p2_sprite & 0x08) /* if p2 is a projectile */
{
/* Draw projectile 2 */
-
+
m_gfxdecode->gfx(4+((m_p2_sprite&0x0c)>>2))->opaque(*m_proj2_vid,
clip,
(m_p2_sprite&0x03)^0x03,
@@ -393,7 +393,7 @@ UINT32 starcrus_state::screen_update_starcrus(screen_device &screen, bitmap_ind1
bitmap.fill(0, cliprect);
/* Draw ship 1 */
-
+
m_gfxdecode->gfx(8+((m_s1_sprite&0x04)>>2))->transpen(bitmap,
cliprect,
(m_s1_sprite&0x03)^0x03,
@@ -403,7 +403,7 @@ UINT32 starcrus_state::screen_update_starcrus(screen_device &screen, bitmap_ind1
0);
/* Draw ship 2 */
-
+
m_gfxdecode->gfx(10+((m_s2_sprite&0x04)>>2))->transpen(bitmap,
cliprect,
(m_s2_sprite&0x03)^0x03,
@@ -413,7 +413,7 @@ UINT32 starcrus_state::screen_update_starcrus(screen_device &screen, bitmap_ind1
0);
/* Draw score/projectile 1 */
-
+
m_gfxdecode->gfx((m_p1_sprite&0x0c)>>2)->transpen(bitmap,
cliprect,
(m_p1_sprite&0x03)^0x03,
@@ -423,7 +423,7 @@ UINT32 starcrus_state::screen_update_starcrus(screen_device &screen, bitmap_ind1
0);
/* Draw score/projectile 2 */
-
+
m_gfxdecode->gfx(4+((m_p2_sprite&0x0c)>>2))->transpen(bitmap,
cliprect,
(m_p2_sprite&0x03)^0x03,
diff --git a/src/mame/video/stlforce.c b/src/mame/video/stlforce.c
index 0dd2ffac9e0..9b5f24dd30c 100644
--- a/src/mame/video/stlforce.c
+++ b/src/mame/video/stlforce.c
@@ -105,7 +105,7 @@ void stlforce_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
ypos = 512-ypos;
-
+
gfx->transpen(bitmap,
cliprect,
num,
diff --git a/src/mame/video/strnskil.c b/src/mame/video/strnskil.c
index e4e47b3356a..84c7743e5e4 100644
--- a/src/mame/video/strnskil.c
+++ b/src/mame/video/strnskil.c
@@ -107,7 +107,7 @@ void strnskil_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
if (sx > 248)
sx = sx - 256;
-
+
m_gfxdecode->gfx(1)->transmask(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/tagteam.c b/src/mame/video/tagteam.c
index 1a64821abad..db331d98d6a 100644
--- a/src/mame/video/tagteam.c
+++ b/src/mame/video/tagteam.c
@@ -163,7 +163,7 @@ void tagteam_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
@@ -175,7 +175,7 @@ void tagteam_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
color = m_palettebank;
sy += (flip_screen() ? -256 : 256);
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/taito_h.c b/src/mame/video/taito_h.c
index 451e336f112..b4a18513f5d 100644
--- a/src/mame/video/taito_h.c
+++ b/src/mame/video/taito_h.c
@@ -144,7 +144,7 @@ void taitoh_state::syvalion_draw_sprites( bitmap_ind16 &bitmap, const rectangle
flipy ^= 0x0080;
}
-
+
m_gfxdecode->gfx(0)->zoom_transpen(bitmap,cliprect,
tile,
color,
@@ -256,7 +256,7 @@ void taitoh_state::recordbr_draw_sprites( bitmap_ind16 &bitmap, const rectangle
flipy ^= 0x0080;
}
-
+
m_gfxdecode->gfx(0)->zoom_transpen(bitmap,cliprect,
tile,
color,
@@ -358,7 +358,7 @@ void taitoh_state::dleague_draw_sprites( bitmap_ind16 &bitmap, const rectangle &
flipy ^= 0x0080;
}
-
+
m_gfxdecode->gfx(0)->zoom_transpen(bitmap,cliprect,
tile,
color,
diff --git a/src/mame/video/taito_o.c b/src/mame/video/taito_o.c
index 4b085b800cb..44eb1e8e7aa 100644
--- a/src/mame/video/taito_o.c
+++ b/src/mame/video/taito_o.c
@@ -118,7 +118,7 @@ void taitoo_state::parentj_draw_sprites( bitmap_ind16 &bitmap, const rectangle &
flipy ^= 0x0080;
}
-
+
m_gfxdecode->gfx(0)->zoom_transpen(bitmap,cliprect,
tile,
color,
diff --git a/src/mame/video/taitoair.c b/src/mame/video/taitoair.c
index d03105d6190..74960b1a5d3 100644
--- a/src/mame/video/taitoair.c
+++ b/src/mame/video/taitoair.c
@@ -163,7 +163,7 @@ void taitoair_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
flipy ^= 0x0080;
}
-
+
m_gfxdecode->gfx(0)->zoom_transpen(bitmap,cliprect,
tile,
color,
diff --git a/src/mame/video/taitosj.c b/src/mame/video/taitosj.c
index cc277d358d0..a0edf710ff5 100644
--- a/src/mame/video/taitosj.c
+++ b/src/mame/video/taitosj.c
@@ -301,7 +301,7 @@ int taitosj_state::check_sprite_sprite_bitpattern(int sx1, int sy1, int which1,i
/* draw the sprites into separate bitmaps and check overlapping region */
m_sprite_layer_collbitmap1.fill(TRANSPARENT_PEN);
- get_sprite_gfx_element(which1)->transpen(m_sprite_sprite_collbitmap1,m_sprite_sprite_collbitmap1.cliprect(),
+ get_sprite_gfx_element(which1)->transpen(m_sprite_sprite_collbitmap1,m_sprite_sprite_collbitmap1.cliprect(),
m_spriteram[SPRITE_RAM_PAGE_OFFSET + offs1 + 3] & 0x3f,
0,
m_spriteram[SPRITE_RAM_PAGE_OFFSET + offs1 + 2] & 0x01,
@@ -309,7 +309,7 @@ int taitosj_state::check_sprite_sprite_bitpattern(int sx1, int sy1, int which1,i
sx1, sy1, 0);
m_sprite_sprite_collbitmap2.fill(TRANSPARENT_PEN);
- get_sprite_gfx_element(which2)->transpen(m_sprite_sprite_collbitmap2,m_sprite_sprite_collbitmap2.cliprect(),
+ get_sprite_gfx_element(which2)->transpen(m_sprite_sprite_collbitmap2,m_sprite_sprite_collbitmap2.cliprect(),
m_spriteram[SPRITE_RAM_PAGE_OFFSET + offs2 + 3] & 0x3f,
0,
m_spriteram[SPRITE_RAM_PAGE_OFFSET + offs2 + 2] & 0x01,
diff --git a/src/mame/video/tc0080vco.h b/src/mame/video/tc0080vco.h
index 9dbac441101..253d23bf43a 100644
--- a/src/mame/video/tc0080vco.h
+++ b/src/mame/video/tc0080vco.h
@@ -84,7 +84,7 @@ extern const device_type TC0080VCO;
#define MCFG_TC0080VCO_ADD(_tag, _interface) \
MCFG_DEVICE_ADD(_tag, TC0080VCO, 0) \
MCFG_DEVICE_CONFIG(_interface)
-
+
#define MCFG_TC0080VCO_GFXDECODE(_gfxtag) \
tc0080vco_device::static_set_gfxdecode_tag(*device, "^" _gfxtag);
diff --git a/src/mame/video/tc0110pcr.c b/src/mame/video/tc0110pcr.c
index bda9a1f9726..79938ed95a0 100644
--- a/src/mame/video/tc0110pcr.c
+++ b/src/mame/video/tc0110pcr.c
@@ -46,7 +46,6 @@ void tc0110pcr_device::static_set_palette_tag(device_t &device, const char *tag)
void tc0110pcr_device::device_config_complete()
{
-
}
//-------------------------------------------------
diff --git a/src/mame/video/tc0110pcr.h b/src/mame/video/tc0110pcr.h
index ae2e173fa83..ebdd60ece25 100644
--- a/src/mame/video/tc0110pcr.h
+++ b/src/mame/video/tc0110pcr.h
@@ -15,9 +15,9 @@ public:
DECLARE_WRITE16_MEMBER( step1_4bpg_word_w ); /* only 4 bits per color gun */
void restore_colors();
-
+
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
protected:
// device-level overrides
virtual void device_config_complete();
@@ -28,14 +28,13 @@ private:
UINT16 * m_ram;
int m_type;
int m_addr;
- required_device<palette_device> m_palette;
+ required_device<palette_device> m_palette;
};
extern const device_type TC0110PCR;
#define MCFG_TC0110PCR_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, TC0110PCR, 0) \
-
+ MCFG_DEVICE_ADD(_tag, TC0110PCR, 0)
#define MCFG_TC0110PCR_PALETTE(_palette_tag) \
tc0110pcr_device::static_set_palette_tag(*device, "^" _palette_tag);
diff --git a/src/mame/video/tc0480scp.h b/src/mame/video/tc0480scp.h
index e95a3cc68ee..e9bb7d8854d 100644
--- a/src/mame/video/tc0480scp.h
+++ b/src/mame/video/tc0480scp.h
@@ -25,7 +25,7 @@ public:
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
/* When writing a driver, pass zero for the text and flip offsets initially:
then tweak them once you have the 4 bg layer positions correct. Col_base
may be needed when tilemaps use a palette area from sprites. */
diff --git a/src/mame/video/tceptor.c b/src/mame/video/tceptor.c
index 64a3d5391c0..9353f4ce519 100644
--- a/src/mame/video/tceptor.c
+++ b/src/mame/video/tceptor.c
@@ -474,7 +474,7 @@ void tceptor_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
x -= 64;
y -= 78;
-
+
m_gfxdecode->gfx(gfx)->zoom_transmask(bitmap,
cliprect,
code,
diff --git a/src/mame/video/tecmo_spr.c b/src/mame/video/tecmo_spr.c
index 3170692612d..3911c8ba013 100644
--- a/src/mame/video/tecmo_spr.c
+++ b/src/mame/video/tecmo_spr.c
@@ -120,7 +120,7 @@ int spbactn_draw_sprites(screen_device &screen, gfxdecode_device *gfxdecode, bit
int x = sx + 8 * (flipx ? (size - 1 - col) : col);
int y = sy + 8 * (flipy ? (size - 1 - row) : row);
- gfxdecode->gfx(2)->transpen_raw(bitmap,cliprect,
+ gfxdecode->gfx(2)->transpen_raw(bitmap,cliprect,
code + layout[row][col],
gfxdecode->gfx(2)->colorbase() + color * gfxdecode->gfx(2)->granularity(),
flipx, flipy,
diff --git a/src/mame/video/thepit.c b/src/mame/video/thepit.c
index 940c3bb178d..ac3940ca594 100644
--- a/src/mame/video/thepit.c
+++ b/src/mame/video/thepit.c
@@ -266,13 +266,13 @@ static void draw_sprites(running_machine &machine,
/* sprites 0-3 are drawn one pixel down */
if (offs < 16) y++;
-
+
state->m_gfxdecode->gfx(2 * state->m_graphics_bank + 1)->transpen(bitmap,cliprect,
state->m_spriteram[offs + 1] & 0x3f,
state->m_spriteram[offs + 2],
flipx, flipy, x, y, 0);
-
+
state->m_gfxdecode->gfx(2 * state->m_graphics_bank + 1)->transpen(bitmap,cliprect,
state->m_spriteram[offs + 1] & 0x3f,
state->m_spriteram[offs + 2],
diff --git a/src/mame/video/tia.h b/src/mame/video/tia.h
index 44f90ef0d20..cc544299e62 100644
--- a/src/mame/video/tia.h
+++ b/src/mame/video/tia.h
@@ -33,7 +33,7 @@ struct player_gfx {
#define MCFG_TIA_DATABUS_CONTENTS_CB(_devcb) \
devcb = &tia_video_device::set_databus_contents_callback(*device, DEVCB2_##_devcb);
-
+
#define MCFG_TIA_VSYNC_CB(_devcb) \
devcb = &tia_video_device::set_vsync_callback(*device, DEVCB2_##_devcb);
@@ -49,7 +49,7 @@ class tia_video_device : public device_t,
{
public:
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
-
+
template<class _Object> static devcb2_base &set_read_input_port_callback(device_t &device, _Object object) { return downcast<tia_video_device &>(device).m_read_input_port_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_databus_contents_callback(device_t &device, _Object object) { return downcast<tia_video_device &>(device).m_databus_contents_cb.set_callback(object); }
template<class _Object> static devcb2_base &set_vsync_callback(device_t &device, _Object object) { return downcast<tia_video_device &>(device).m_vsync_cb.set_callback(object); }
diff --git a/src/mame/video/tigeroad.c b/src/mame/video/tigeroad.c
index 08f6235a422..b92196b86d8 100644
--- a/src/mame/video/tigeroad.c
+++ b/src/mame/video/tigeroad.c
@@ -96,7 +96,7 @@ void tigeroad_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
flipy = !flipy;
}
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
tile_number,
color,
diff --git a/src/mame/video/trackfld.c b/src/mame/video/trackfld.c
index 0407021f834..1eb074f3450 100644
--- a/src/mame/video/trackfld.c
+++ b/src/mame/video/trackfld.c
@@ -220,7 +220,7 @@ void trackfld_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
//}
-
+
m_gfxdecode->gfx(0)->transmask(bitmap,cliprect,
code + m_sprite_bank1 + m_sprite_bank2, color,
flipx, flipy,
@@ -228,7 +228,7 @@ void trackfld_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
m_palette->transpen_mask(*m_gfxdecode->gfx(0), color, 0));
/* redraw with wraparound */
-
+
m_gfxdecode->gfx(0)->transmask(bitmap,cliprect,
code + m_sprite_bank1 + m_sprite_bank2, color,
flipx, flipy,
diff --git a/src/mame/video/tunhunt.c b/src/mame/video/tunhunt.c
index 87475c56560..01827fe1b4f 100644
--- a/src/mame/video/tunhunt.c
+++ b/src/mame/video/tunhunt.c
@@ -333,7 +333,6 @@ void tunhunt_state::draw_shell(bitmap_ind16 &bitmap,
{
for( sy=0; sy<256; sy+=16 )
{
-
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
picture_code,
0, /* color */
@@ -358,7 +357,7 @@ void tunhunt_state::draw_shell(bitmap_ind16 &bitmap,
vstop = 0x00
*/
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
picture_code,
0, /* color */
diff --git a/src/mame/video/twincobr.c b/src/mame/video/twincobr.c
index 575f7c9b124..6999a0d7dbc 100644
--- a/src/mame/video/twincobr.c
+++ b/src/mame/video/twincobr.c
@@ -94,7 +94,7 @@ void twincobr_state::twincobr_create_tilemaps()
m_bg_tilemap->set_scrolldy(-30, -243 );
m_fg_tilemap->set_scrolldy(-30, -243 );
m_tx_tilemap->set_scrolldy(-30, -243 );
-
+
m_fg_tilemap->set_transparent_pen(0);
m_tx_tilemap->set_transparent_pen(0);
}
diff --git a/src/mame/video/wecleman.c b/src/mame/video/wecleman.c
index 475982071ba..8bfdb5bae6c 100644
--- a/src/mame/video/wecleman.c
+++ b/src/mame/video/wecleman.c
@@ -74,7 +74,6 @@ struct sprite
void wecleman_state::get_sprite_info()
{
-
const pen_t *base_pal = m_palette->pens();
UINT8 *base_gfx = memregion("gfx1")->base();
int gfx_max = memregion("gfx1")->bytes();
diff --git a/src/mame/video/wiz.c b/src/mame/video/wiz.c
index f9615bc9665..8d14691a43a 100644
--- a/src/mame/video/wiz.c
+++ b/src/mame/video/wiz.c
@@ -121,7 +121,7 @@ void wiz_state::draw_tiles(bitmap_ind16 &bitmap, const rectangle &cliprect, int
UINT8 *cram = layer ? m_colorram2 : m_colorram;
gfx_element *gfx = m_gfxdecode->gfx(charbank);
int palbank = m_palbank[1] << 4 | m_palbank[0] << 3;
-
+
/* draw the tiles. They are characters, but draw them as sprites. */
for (int offs = 0x400-1; offs >= 0; offs--)
{
@@ -129,7 +129,7 @@ void wiz_state::draw_tiles(bitmap_ind16 &bitmap, const rectangle &cliprect, int
int sx = offs & 0x1f;
int sy = offs >> 5;
int color = aram[sx << 1 | 1] & 7;
-
+
// wiz/kungfut hw allows more color variety on screen
if (colortype)
color = layer ? (cram[offs] & 7) : ((color & 4) | (code & 3));
@@ -154,16 +154,16 @@ void wiz_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, in
UINT8 *sram = set ? m_spriteram2 : m_spriteram;
gfx_element *gfx = m_gfxdecode->gfx(charbank);
int palbank = m_palbank[1] << 4 | m_palbank[0] << 3;
-
+
for (int offs = 0x20-4; offs >= 0; offs -= 4)
{
int code = sram[offs + 1];
int sx = sram[offs + 3];
int sy = sram[offs];
int color = sram[offs + 2] & 7; // high bits unused
-
+
if (!sx || !sy) continue;
-
+
// like on galaxian hw, the first three sprites match against y-1 (not on m_spriteram2)
if (set == 0 && offs <= 8)
sy += (m_flipy) ? 1 : -1;
diff --git a/src/mame/video/wolfpack.c b/src/mame/video/wolfpack.c
index 950cc0cdc7b..b1a1d118502 100644
--- a/src/mame/video/wolfpack.c
+++ b/src/mame/video/wolfpack.c
@@ -139,7 +139,7 @@ void wolfpack_state::draw_ship(bitmap_ind16 &bitmap, const rectangle &cliprect)
int chop = (scaler[m_ship_size >> 2] * m_ship_h_precess) >> 16;
-
+
m_gfxdecode->gfx(1)->zoom_transpen(bitmap,cliprect,
m_ship_pic,
0,
@@ -157,7 +157,7 @@ void wolfpack_state::draw_torpedo(bitmap_ind16 &bitmap, const rectangle &cliprec
int x;
int y;
-
+
m_gfxdecode->gfx(3)->transpen(bitmap,cliprect,
m_torpedo_pic,
0,
@@ -193,7 +193,7 @@ void wolfpack_state::draw_pt(bitmap_ind16 &bitmap, const rectangle &cliprect)
if (!(m_pt_pic & 0x10))
rect.max_x = 255;
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,rect,
m_pt_pic,
0,
@@ -201,7 +201,7 @@ void wolfpack_state::draw_pt(bitmap_ind16 &bitmap, const rectangle &cliprect)
2 * m_pt_horz,
m_pt_pos_select ? 0x70 : 0xA0, 0);
-
+
m_gfxdecode->gfx(2)->transpen(bitmap,rect,
m_pt_pic,
0,
@@ -254,7 +254,7 @@ UINT32 wolfpack_state::screen_update_wolfpack(screen_device &screen, bitmap_ind1
{
int code = m_alpha_num_ram[32 * i + j];
-
+
m_gfxdecode->gfx(0)->opaque(bitmap,cliprect,
code,
m_video_invert,
diff --git a/src/mame/video/ygv608.c b/src/mame/video/ygv608.c
index 0406db88738..7766c7f2c09 100644
--- a/src/mame/video/ygv608.c
+++ b/src/mame/video/ygv608.c
@@ -73,7 +73,7 @@ void ygv608_device::static_set_palette_tag(device_t &device, const char *tag)
void ygv608_device::set_gfxbank(UINT8 gfxbank)
{
- m_namcond1_gfxbank = gfxbank;
+ m_namcond1_gfxbank = gfxbank;
}
/* interrupt generated every 1ms second */
@@ -95,7 +95,7 @@ INTERRUPT_GEN_MEMBER(ygv608_device::timed_interrupt )
{
m_ports.s.p6 |= p6_fv;
if (m_regs.s.r14 & r14_iev)
- device.execute().set_input_line(2, HOLD_LINE);
+ device.execute().set_input_line(2, HOLD_LINE);
}
/* once every 60Hz, set the position detection flag (somewhere) */
@@ -103,7 +103,7 @@ INTERRUPT_GEN_MEMBER(ygv608_device::timed_interrupt )
{
m_ports.s.p6 |= p6_fp;
if (m_regs.s.r14 & r14_iep)
- device.execute().set_input_line(2, HOLD_LINE);
+ device.execute().set_input_line(2, HOLD_LINE);
}
}
diff --git a/src/mame/video/ygv608.h b/src/mame/video/ygv608.h
index 3dbd6b0e7f0..f847cd6edfc 100644
--- a/src/mame/video/ygv608.h
+++ b/src/mame/video/ygv608.h
@@ -289,7 +289,7 @@ public:
// static configuration
static void static_set_gfxdecode_tag(device_t &device, const char *tag);
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
DECLARE_WRITE16_MEMBER( write );
DECLARE_READ16_MEMBER( read );
diff --git a/src/mame/video/yiear.c b/src/mame/video/yiear.c
index 415da3e0ca1..058237e95df 100644
--- a/src/mame/video/yiear.c
+++ b/src/mame/video/yiear.c
@@ -129,7 +129,7 @@ void yiear_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect
sy++; /* fix title screen & garbage at the bottom of the screen */
}
-
+
m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code, color,
flipx, flipy,
diff --git a/src/mame/video/zaxxon.c b/src/mame/video/zaxxon.c
index 813db2b6864..951363344dc 100644
--- a/src/mame/video/zaxxon.c
+++ b/src/mame/video/zaxxon.c
@@ -428,10 +428,10 @@ void zaxxon_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect,
int sx = find_minimum_x(spriteram[offs + 3], flip);
/* draw with 256 pixel offsets to ensure we wrap properly */
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx, sy, 0);
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx, sy - 0x100, 0);
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx - 0x100, sy, 0);
- gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx - 0x100, sy - 0x100, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx, sy, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx, sy - 0x100, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx - 0x100, sy, 0);
+ gfx->transpen(bitmap,cliprect, code, color, flipx, flipy, sx - 0x100, sy - 0x100, 0);
}
}