summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
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/drivers
parent30d94e51c53f30187a1bc565ef33e4744319790e (diff)
Cleanups and version bumpmame0153
Diffstat (limited to 'src/mame/drivers')
-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
314 files changed, 2548 insertions, 2578 deletions
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 )
-