Previous 15994 Revisions Next

r15524 Monday 2nd July, 2012 at 06:34:36 UTC by Miodrag Milanović
Sync with MAME r16696 (no whatsnew)
[src/emu]ioport.c
[src/emu/cpu/mcs51]mcs51.c
[src/emu/drivers]xtal.h
[src/emu/machine]pci.c pci.h
[src/emu/sound]pokey.c sn76496.c
[src/mame]mame.lst mame.mak
[src/mame/audio]jaguar.c taito_en.c
[src/mame/drivers]8080bw.c arkanoid.c atlantis.c* balsente.c blitz68k.c calchase.c cclimber.c centiped.c chihiro.c cobra.c crospang.c decocass.c eolith.c funkball.c galdrvr.c gamecstl.c igs009.c magictg.c mediagx.c midqslvr.c midvunit.c midyunit.c missile.c pacman.c pgm2.c qix.c queen.c raiden.c savquest.c segae.c segas16b.c seta.c spacefb.c taito_h.c taitowlf.c tmaster.c tx1.c vball.c vegaeo.c viper.c voyager.c xtom3d.c
[src/mame/includes]centiped.h pacman.h
[src/mame/machine]cd32.c decocass.c decocass.h tx1.c
[src/mame/video]centiped.c pacman.c
[src/osd/sdl]sdl.mak

src/mame/mame.lst
r15523r15524
122122mschamp         // hack by RAYGLO MFG "Zola-Puc" (c) 1992/1993
123123mschamps      // hack (hack of the Rayglo hack?)
124124cannonbp      // hack
125superabc      // hack
126superabco      // hack
125127
126128// S2650 Pacman Kits
127129drivfrcp      // (c) 1984 Shinkai Inc. (Magic Eletronics Inc. license)
1281308bpm         // (c) 1985 Seatongrove Ltd (Magic Eletronics USA license)
129131porky         // (c) 1985 Shinkai Inc. (Magic Eletronics Inc. license)
130
131132pengo         // 834-0386 (c) 1982 Sega
132133pengo2         // 834-0386 (c) 1982 Sega
133134pengo2u         // 834-0386 (c) 1982 Sega
r15523r15524
136137pengob         // bootleg
137138penta         // bootleg
138139jrpacmbl      // bootleg on Pengo HW
139
140140jrpacman      // (c) 1983 Midway
141141
142142// Epos games
r15523r15524
183183skyraidr      // bootleg
184184batman2         // bootleg
185185warofbug      // (c) 1981 Armenia
186warofbugu      // (c) 1981 Armenia
186187warofbugg      // German Version
187188redufo         // (c) Artic
188189redufob         // bootleg
r15523r15524
382383cclimberj      // (c) 1980 Nichibutsu
383384ccboot         // bootleg
384385ccboot2         // bootleg
385
386386ckong         // (c) 1981 (Kyoei)
387387ckongo         // bootleg (Orca)
388388ckongalc      // bootleg (Alca)
389389bigkong         // bootleg
390390monkeyd         // bootleg
391
392391ckongpt2      // (c) 1981 Falcon
393392ckongpt2a      // (c) 1981 Falcon
394393ckongpt2j      // (c) 1981 Falcon
395394ckongpt2jeu      // bootleg (Jeutel)
396395ckongpt2b      // bootleg
397
398396rpatrol         // Orca, from a suspicious set
399397rpatrolb      // bootleg
400398silvland      // Falcon
r15523r15524
472470// Nichibutsu Mahjong games
473471hyhoo         // (c) 1987
474472hyhoo2         // (c) 1987
475
476473jangou         // (c) 1983
477474macha         // (c) 1983 Logitec
478475// Jangou Night // (c) 1983
r15523r15524
489486sexygal         // (c) 1985
490487sweetgal      // (c) 1985
491488ngalsumr      // (c) 1985
492
493489pastelg         // (c) 1985
4943ds            // (c) 1985
4903ds         // (c) 1985
495491galds         // (c) 1985
496
497492crystalg      // (c) 1986
498493crystal2      // (c) 1986
499494nightlov      // (c) 1986
r15523r15524
533528mmsikaku      // (c) 1988
534529mjcamera      // (c) 1988 MIKI SYOUJI
535530mmcamera      // (c) 1988 MIKI SYOUJI
536
537531msjiken         // (c) 1988
538532hanamomo      // (c) 1988
539533hanamomb      // (c) 1988
r15523r15524
567561club90sa      // (c) 1990
568562lovehous      // (c) 1990
569563hanaoji         // (c) 1991
570
571564pstadium      // (c) 1990
572565triplew1      // (c) 1989
573566triplew2      // (c) 1990
r15523r15524
586579uchuuai         // (c) 1989
587580av2mj1bb      // (c) 1991 MIKI SYOUJI/AV JAPAN
588581av2mj2rg      // (c) 1991 MIKI SYOUJI/AV JAPAN
589
590582ohpaipee      // (c) 1990 Nichibutsu
591583togenkyo      // (c) 1990 Nichibutsu
592
593584mjuraden      // (c) 1992 Nichibutsu/Yubis
594585koinomp         // (c) 1992
595586patimono      // (c) 1992
r15523r15524
621612imekura         // (c) 1994 SPHINX/AV JAPAN
622613mscoutm         // (c) 1994 SPHINX/AV JAPAN
623614mjegolf         // (c) 1994 FUJIC/AV JAPAN
624
625615mhhonban      // (c) 199?
626616zokumahj      // (c) 199?
6276174psimasy      // (c) 1994
628618musobana      // (c) 1995
629619niyanpai      // (c) 1996
630
631620csplayh1      // (c) 1995
632
633621junai         // (c) 1998
634622csplayh5      // (c) 1998
635623junai2         // (c) 1998
r15523r15524
675663trvmstrc      // (c) 1985 Enerdyne Technologies Inc.
676664trvgns         // bootleg
677665
678
679
680666// Namco games (plus some intruders on similar hardware)
681667geebee         // [1978] Namco
682668geebeeb         // [1978] Namco (F.lli Bertolino license)
r15523r15524
686672navarone      // (c) 1980 Namco
687673kaitein         // [1980] Namco
688674kaitei         // [1980] K.K. Tokki
689sos            // [1980] Namco
675sos         // [1980] Namco
690676tankbatt      // (c) 1980 Namco
691677warpwarp      // (c) 1981 Namco
692678warpwarpr      // (c) 1981 [Namco] (Rock-ola license)
r15523r15524
816802pacmaniaj      // (c) 1987 (Japan)
817803galaga88      // (c) 1987
818804galaga88j      // (c) 1987 (Japan)
819ws            // (c) 1988 (Japan)
805ws         // (c) 1988 (Japan)
820806berabohm      // (c) 1988 (Japan)
821807berabohmo      // (c) 1988 (Japan)
822808            // 1988 Alice in Wonderland (English version of Marchen maze)
r15523r15524
888874luckywldj      // (c) 1992
889875suzuka8h      // (c) 1992 (World)
890876suzuka8hj      // (c) 1992 (Japan)
891sws            // (c) 1992 (Japan)
877sws         // (c) 1992 (Japan)
892878sws92         // (c) 1992 (Japan)
893879sws92g         // (c) 1992 (Japan)
894880suzuk8h2      // (c) 1993 (World)
r15523r15524
907893exvania         // (c) 1992 (World)
908894exvaniaj      // (c) 1992 (Japan)
909895fghtatck      // (c) 1992 (US)
910fa            // (c) 1992 (Japan)
896fa         // (c) 1992 (Japan)
911897knckhead      // (c) 1992 (World)
912898knckheadj      // (c) 1992 (Japan)
913899swcourt         // (c) 1992 (Japan)
r15523r15524
13171303pss63         // 199? Nintendo / BPS
13181304pss64         // 199? Nintendo / Hudson Soft
13191305
1320
1321
13221306// SNES-based hacks
13231307kinstb         // bootleg
13241308ffight2b      // bootleg
r15523r15524
13271311endless         // bootleg
13281312denseib         // bootleg
13291313
1330
13311314// Midway 8080 b/w games
13321315seawolf         // 596 [1976]
13331316seawolfo      // 596 [1976]
r15523r15524
14451428invmultis3a      // hack
14461429invmultis2a      // hack
14471430invmultis1a      // hack
1448
1431invmultip      // hack
1449143218w            // 653 (c) 1979 Midway
1450143318w2         // 653 (c) 1979 Midway
14511434sspeedr         // 1979 Midway
r15523r15524
16061589skychut         // Irem [1980]
16071590spacbeam      // M15 no copyright notice
16081591greenber      // Irem
1609headoni         // Irem no copyright notice (1979 - Arcade TV Game List - P.98, Left, 7 from top
1610
1592headoni         // Irem no copyright notice (1979 - Arcade TV Game List - P.98, Left, 7 from top)
16111593panther         // M27 no copyright notice
16121594redalert      // M27 (c) 1981 + "GDI presents"
16131595demoneye      // M27 (c) 1981
1614ww3            // M27 (c) 1981
1615
1596ww3         // M27 (c) 1981
16161597olibochu      // M47 (c) 1981 + "GDI presents"
16171598mpatrol         // M52 (c) 1982
16181599mpatrolw      // M52 (c) 1982 + Williams license
r15523r15524
18711852fightrol      // (c) 1983 Taito
18721853rollace         // (c) 1983 Williams
18731854rollace2      // (c) 1983 Williams
1874lgp            // (c) 1983 Taito
1855lgp         // (c) 1983 Taito
18751856vsgongf         // (c) 1984 Kaneko
18761857ringfgt         // (c) 1984 Taito
18771858ringfgt2      // (c) 1984 Taito
r15523r15524
19701951arkanoidj      // A75 (c) 1986 Taito Corporation (Japan)
19711952arkanoidjo      // A75 (c) 1986 Taito Corporation (Japan)
19721953arkanoidjb      // bootleg
1954arkanoidjb2      // bootleg (Beta)
19731955ark1ball      // bootleg
19741956arkangc         // bootleg
19751957arkangc2      // bootleg
r15523r15524
21202102syvalion      // B51 (c) 1988 Taito Corporation (Japan)
21212103recordbr      // B56 (c) 1988 Taito Corporation Japan (World)
21222104gogold         // B56 (c) 1988 Taito Corporation (Japan)
2123dleague         // C02 (c) 1990 Taito Corporation (Japan)
2105dleague         // C02 (c) 1990 Taito America Corporation (US)
2106dleaguej      // C02 (c) 1990 Taito Corporation (Japan)
21242107
21252108// Taito B-System games
21262109masterw         // B72 (c) 1989 Taito Corporation Japan (World)
r15523r15524
21452128ashurau         // C43 (c) 1990 Taito America Corporation (US)
21462129hitice         // C59 (c) 1990 Williams (US)
21472130hiticej         // C59 (c) 1990 Midway/Taito Corporation (Japan)
2148sbm            // C69 (c) 1990 Taito Corporation (Japan)
2131sbm         // C69 (c) 1990 Taito Corporation (Japan)
21492132selfeena      // ??? (c) 1991 East Technology
21502133silentd         // ??? (c) 1992 Taito Corporation Japan (World)
21512134silentdu      // ??? (c) 1992 Taito Corporation Japan (World)
r15523r15524
21692152nightstr      // B91 (c) 1989 Taito Corporation Japan (World)
21702153nightstrj      // B91 (c) 1989 Taito Corporation (Japan)
21712154nightstru      // B91 (c) 1989 Taito America Corporation (US)
2172sci            // C09 (c) 1989 Taito Corporation Japan (World)
2155sci         // C09 (c) 1989 Taito Corporation Japan (World)
21732156scia         // C09 (c) 1989 Taito Corporation Japan (World)
21742157scij         // C09 (c) 1989 Taito Corporation Japan (World)
21752158sciu         // C09 (c) 1989 Taito America Corporation (US)
r15523r15524
21912174// Taito Air System games
21922175topland         // B62 (c) 1988 Taito Coporation Japan (World)
21932176ainferno      // C45 (c) 1990 Taito America Corporation (US)
2194
21952177mlanding      // ??? (c) 1990 Taito America Corporation (US)
21962178
21972179// enhanced Z-System hardware games
r15523r15524
22282210liquidku      // 1990.?? C49 (c) 1990 Taito America Corporation (US)
22292211mizubaku      // 1990.08 C49 (c) 1990 Taito Corporation (Japan)
22302212quizhq         // 1990.07 C53 (c) 1990 Taito Corporation (Japan)
2231ssi            // 1990.?? C64 (c) 1990 Taito Corporation Japan (World)
2213ssi         // 1990.?? C64 (c) 1990 Taito Corporation Japan (World)
22322214ssia         // 1990.?? C64 (c) 1990 Taito Corporation Japan (World)
22332215majest12      // 1990.11 C64 (c) 1990 Taito Corporation (Japan)
22342216            // 1990.12 C64 (US)
r15523r15524
24032385gtstarb1      // GX-006 bootleg but (c) 1986 Taito Corporation
24042386gtstarb2      // GX-006 bootleg but (c) 1986 Taito Corporation
24052387mjsister      // (c) 1986 Toaplan
2406
24072388fshark         // B02 / TP-007 (c) 1987 Taito Corporation (World)
24082389skyshark      // B02 / TP-007 (c) 1987 Taito America Corporation + Romstar license (US)
24092390hishouza      // B02 / TP-007 (c) 1987 Taito Corporation (Japan)
r15523r15524
24162397twincobru      // B30 / TP-011 (c) 1987 Taito America Corporation + Romstar license (US)
24172398ktiger         // B30 / TP-011 (c) 1987 Taito Corporation (Japan)
24182399gulfwar2      // (c) 1991 Comad
2419
24202400rallybik      // B45 / TP-O12 (c) 1988 Taito
24212401truxton         // B65 / TP-O13B (c) 1988 Taito
24222402hellfire      // B90 / TP-??? (c) 1989 Toaplan + Taito license
r15523r15524
24682448moremorp      // (c) 1999 SemiCom + Exit
246924494in1boot      // (c) 2002 KISoft (includes hacks of Semicom games + Snowbros)
24702450
2471
24722451// More Toaplan Games
24732452tekipaki      // TP-020 (c) 1991 Toaplan
24742453ghox         // TP-021 (c) 1991 Toaplan
r15523r15524
24842463whoopee         // TP-025
24852464pipibibsbl      // (c) 1991 Ryouta Kikaku (bootleg)
24862465fixeight      // TP-026 (c) 1992 + Taito license
2487fixeightt
2488fixeightkt
2489fixeightk
2490fixeightht
2491fixeighth
2492fixeighttwt
2493fixeighttw
2494fixeightat
2495fixeighta
2496fixeightu
2497fixeightut
2498fixeightj
2499fixeightjt
2466fixeightt      // TP-026 (c) 1992 + Taito license
2467fixeightkt      // TP-026 (c) 1992 + Taito license
2468fixeightk      // TP-026 (c) 1992 + Taito license
2469fixeightht      // TP-026 (c) 1992 + Taito license
2470fixeighth      // TP-026 (c) 1992 + Taito license
2471fixeighttwt      // TP-026 (c) 1992 + Taito license
2472fixeighttw      // TP-026 (c) 1992 + Taito license
2473fixeightat      // TP-026 (c) 1992 + Taito license
2474fixeighta      // TP-026 (c) 1992 + Taito license
2475fixeightu      // TP-026 (c) 1992 + Taito license
2476fixeightut      // TP-026 (c) 1992 + Taito license
2477fixeightj      // TP-026 (c) 1992 + Taito license
2478fixeightjt      // TP-026 (c) 1992 + Taito license
25002479fixeightbl      // bootleg
25012480grindstm      // TP-027 (c) 1993 Toaplan + Unite Trading license (Korea)
25022481grindstma      // TP-027 (c) 1993 Toaplan + Unite Trading license (Korea)
r15523r15524
26372616flashgal      // (c) 1985 Sega
26382617flashgala      // (c) 1985 Sega
26392618srdmissn      // (c) 1986 Taito Corporation
2640fx            // bootleg
2619fx         // bootleg
26412620legend         // no copyright notice [1986 Sega/Coreland] (Arcade TV Game List - P.104, Left, 14 from top)
26422621legendb         // no copyright notice [1986 Sega/Coreland] (Arcade TV Game List - P.104, Left, 14 from top)
26432622airwolf         // (c) 1987 Kyugo
r15523r15524
27152694commandob      // bootleg
27162695sinvasn         // Europe original?
27172696sinvasnb      // bootleg
2718gng            //  9/1985 (c) 1985
2697gng         //  9/1985 (c) 1985
27192698gnga         //  9/1985 (c) 1985
27202699gngbl         // bootleg
27212700gngblita      // bootleg
r15523r15524
27692748blktigerb2      // bootleg
27702749blkdrgon      //  8/1987 (c) 1987 (Japan)
27712750blkdrgonb      // bootleg, hacked to say Black Tiger
2772sf            //  8/1987 (c) 1987 (World)
2773sfu            //  8/1987 (c) 1987 (US)
2751sf         //  8/1987 (c) 1987 (World)
2752sfu         //  8/1987 (c) 1987 (US)
27742753sfua         //  8/1987 (c) 1987 (US)
2775sfj            //  8/1987 (c) 1987 (Japan)
2776sfp            //  8/1987 (c) 1987
2754sfj         //  8/1987 (c) 1987 (Japan)
2755sfp         //  8/1987 (c) 1987
27772756tigeroad      // 11/1987 (c) 1987 + Romstar (US)
2778toramich      // 11/1987 (c) 1987 (Japan)
2757toramich      // 11/1987 (c) 1987 (Japan
27792758tigeroadb      // bootleg
27802759f1dream         //  4/1988 (c) 1988 + Romstar
27812760f1dreamb      // bootleg
r15523r15524
28002779// 10/1991 Block Block - see below among "Mitchell" games
28012780//  6/1995 Street Fighter - the Movie - see below among "Incredible Technologies" games
28022781
2803
28042782// Capcom CPS1 games
28052783forgottn      //  7/1988 (c) 1988 (World)
28062784forgottnu      //  7/1988 (c) 1988 (USA)
r15523r15524
28542832cawingr1      // 09/10/1990 (c) 1990 (World)
28552833cawingu         // 12/10/1990 (c) 1990 (USA)
28562834cawingj         // 12/10/1990 (c) 1990 (Japan)
2857cawingbl
2835cawingbl      // bootleg
28582836nemo         // 30/11/1990 (c) 1990 (World)
28592837nemoj         // 20/11/1990 (c) 1990 (Japan)
28602838sf2         // 22/05/1991 (c) 1991 (World)
r15523r15524
29672945megaman         // 06/10/1995 (c) 1995 (USA)
29682946megamana      // 06/10/1995 (c) 1995 (Asia)
29692947rockmanj      // 22/09/1995 (c) 1995 (Japan)
2970
29712948fcrash         // bootleg of Final Fight
29722949
29732950// Capcom CPS2 games
r15523r15524
30553032cybots         // 24/04/1995 (c) 1995 (Euro)
30563033cybotsu         // 24/04/1995 (c) 1995 (USA)
30573034cybotsj         // 20/04/1995 (c) 1995 (Japan)
3058sfa            // 27/07/1995 (c) 1995 (Euro)
3035sfa         // 27/07/1995 (c) 1995 (Euro)
30593036sfar1         // 18/07/1995 (c) 1995 (Euro)
30603037sfar2         // 27/06/1995 (c) 1995 (Euro)
30613038sfar3         // 05/06/1995 (c) 1995 (Euro)
r15523r15524
30703047sfzbr1         // 27/07/1995 (c) 1995 (Brazil)
30713048mmancp2u      // 06/10/1995 (c) 1995 (Japan)
30723049rmancp2j      // 22/09/1995 (c) 1995 (Japan)
3073msh            // 24/10/1995 (c) 1995 (Euro)
3050msh         // 24/10/1995 (c) 1995 (Euro)
30743051mshu         // 24/10/1995 (c) 1995 (USA)
30753052mshj         // 17/11/1995 (c) 1995 (Japan)
30763053mshjr1         // 24/10/1995 (c) 1995 (Japan)
r15523r15524
32753252sfiii3ur1      // 12/05/1999 (c) 1999 (USA)
32763253jojoba         // 27/09/1999 (c) 1999 (Japan)
32773254jojobar1      // 13/09/1999 (c) 1999 (Japan)
3278
32793255sfiiin         // 04/02/1997 (c) 1997 (Asia)
32803256sfiii2n         // 30/09/1997 (c) 1997 (Asia)
32813257jojon         // 28/01/1999 (c) 1998 (Asia)
r15523r15524
36203596drmn2m         // 1999 - DrumMania 2nd Mix (GE912 VER. JAB)
36213597drmn2mpu      // 1999 - DrumMania 2nd Mix Session Power Up Kit (GE912 VER. JAB)
36223598dncfrks         // 2000 - Dance Freaks (G*874 VER. KAA)
3623dmx            // 2000 - Dance Maniax (G*874 VER. JAA)
3599dmx         // 2000 - Dance Maniax (G*874 VER. JAA)
36243600gunmania      // 2000 - GunMania (GL906 VER. JAA)
36253601fghtmn         // 2000 - Fighting Mania (QG918 VER. EAA)
36263602fghtmna         // 2000 - Fighting Mania (QG918 VER. AAA)
r15523r15524
37663742stratab         // (c) 1990 Strata/Incredible Technologies
37673743stratab1      // (c) 1990 Strata/Incredible Technologies
37683744sstrike         // (c) 1990 Strata/Incredible Technologies
3769gtg            // (c) 1990 Strata/Incredible Technologies
3745gtg         // (c) 1990 Strata/Incredible Technologies
37703746gtgt         // (c) 1990 Strata/Incredible Technologies
37713747gtgt1         // (c) 1990 Strata/Incredible Technologies
37723748hstennis      // (c) 1990 Strata/Incredible Technologies
r15523r15524
38203796shufshot139      // (c) Strata/Incredible Technologies
38213797shufshot137      // (c) Strata/Incredible Technologies
38223798wcbowldx      // (c) 1999 Incredible Technologies
3823
38243799gt3d         // (c) 1995 Incredible Technologies
38253800gt3dl192      // (c) 1995 Incredible Technologies
38263801gt3dl191      // (c) 1995 Incredible Technologies
r15523r15524
38863861ataxxa         // (c) 1990 Leland
38873862ataxxe         // (c) 1990 Leland
38883863ataxxj         // (c) 1990 Leland
3889wsf            // (c) 1990 Leland
3864wsf         // (c) 1990 Leland
38903865indyheat      // (c) 1991 Leland
38913866brutforc      // (c) 1991 Leland
38923867asylum         // (c) 1991 Leland
r15523r15524
39673942astrob2a      // (c) 1981
39683943astrob1         // (c) 1981
39693944astrobg         // (c) 1981
3970005            // (c) 1981
3945005         // (c) 1981
39713946monsterb      // (c) 1982
39723947monsterb2      // (c) 1982
39733948spaceod         // (c) 1981
r15523r15524
40644039wboysys2      // 834-5984  (c) 1986 + Escape license (S1)
40654040gardia         // 834-6119 (S2?)
40664041gardiab         // bootleg
4067nob            // (c) Data East
4042nob         // (c) Data East
40684043nobb         // bootleg
40694044blockgal      // 834-6303 (S1)
40704045blockgalb      // bootleg
r15523r15524
41554130// System 16A
41564131aceattaca      // (c) 1988 (FD1094, decrypted)
41574132afighter      // (c) 1986 (FD1089A, decrypted)
4158alexkidd      // (c) 1986 (FD1089A, decrypted)
4159alexkidd1      // (c) 1986
4133alexkidd      // (c) 1986 (Unprotected)
4134alexkidd1      // (c) 1986 (FD1089A, decrypted)
41604135fantzone      // (c) 1986 (Unprotected Rev A)
41614136fantzone1      // (c) 1986 (Unprotected)
41624137fantzonep      // (c) 1986 (NEC 0317-5000, encrypted)
41634138sdi            // (c) 1987 (FD1089B, decrypted)
4164shinobi         // (c) 1987
4139shinobi         // (c) 1987 (Unprotected)
41654140shinobi1      // (c) 1987 (FD1094, decrypted)
41664141shinobls      // (c) 1987 (Star bootleg)
41674142sjryuko1      // (c) 1988 White Board (FD1089B, decrypted)
r15523r15524
41714146wb31         // (c) 1988 Sega / Westone (FD1094, decrypted)
41724147wb35         // (c) 1988 Sega / Westone (FD1089A, decrypted)
41734148wb35a         // (c) 1988 Sega / Westone (FD1089A, decrypted)
4174passsht16a      // (c) 1988
4149passsht16a      // (c) 1988 (FD1094, decrypted)
41754150
41764151// System 16B
41774152aceattac      // (c) 1988 (protected)
4178aliensyn      // (c) 1987
4153aliensyn      // (c) 1987 (Unprotected)
41794154aliensyn3      // (c) 1987 (FD1089A, decrypted)
41804155aliensynj      // (c) 1987 (FD1089A, decrypted)
41814156altbeast      // (c) 1988 (8751)
r15523r15524
41924167bayroute      // (c) 1989 Sunsoft / Sega (FD1094, decrypted)
41934168bayroutej      // (c) 1989 Sunsoft / Sega (FD1094, decrypted)
41944169bayroute1      // (c) 1989 Sunsoft / Sega
4195bullet         // (c) 1987 (protected)
4170bullet         // (c) 1987 (FD1094, decrypted)
41964171cotton         // (c) 1990 (FD1094, decrypted)
41974172cottonu         // (c) 1990 (FD1094, decrypted)
41984173cottonj         // (c) 1990 (FD1094, decrypted)
r15523r15524
42024177eswat         // (c) 1989 (FD1094, decrypted)
42034178eswatu         // (c) 1989 (FD1094, decrypted)
42044179eswatj         // (c) 1989 (FD1094, decrypted)
4205exctleag      // (protected)
4180exctleag      // (c) 1988 (FD1094, decrypted)
42064181fpoint         // (c) 1989 (Japan, FD1094, decrypted)
42074182fpoint1         // (c) 1989 (Japan, FD1094, decrypted)
42084183goldnaxe      // (c) 1989 (8751)
4209goldnaxeu      // (c) 1989 (protected)
4184goldnaxeu      // (c) 1989 (FD1094, decrypted)
42104185goldnaxej      // (c) 1989 (FD1094, decrypted)
42114186goldnaxe3      // (c) 1989 (FD1094, decrypted)
42124187goldnaxe2      // (c) 1989 (8751)
42134188goldnaxe1      // (c) 1989 (FD1094, decrypted)
4214hwchamp         // (c) 1987
4189hwchamp         // (c) 1987 (Unprotected)
42154190hwchampj      // (c) 1987 (FD1094, decrypted)
42164191mvp            // (c) 1989 (FD1094, decrypted)
42174192mvpj         // (c) 1989 (FD1094, decrypted)
42184193passsht         // (c) 1988 (FD1094, decrypted)
42194194passshta      // (c) 1988 (FD1094, decrypted)
42204195passshtj      // (c) 1988 (FD1094, decrypted)
4221riotcity      // (c) 1991 Sega / Westone
4196riotcity      // (c) 1991 Sega / Westone (Unprotected)
42224197ryukyu         // (c) 1990 (FD1094, decrypted)
42234198sdib         // (c) 1987 (FD1089A, decrypted)
42244199sdibl         // (c) 1987 bootleg
42254200defense         // (c) 1987 (FD1094, decrypted)
4226shinobi5      // (c) 1987
4201shinobi5      // (c) 1987 (Unprotected)
42274202shinobi4      // (c) 1987 (MC-8123B)
42284203shinobi3      // (c) 1987 (MC-8123B)
42294204shinobi2      // (c) 1987 (FD1094, decrypted)
42304205sonicbom      // (c) 1987 (FD1094, decrypted)
42314206sjryuko         // (c) 1988 White Board (FD1094, decrypted)
4232suprleag      // (c) 1987 (protected)
4207suprleag      // (c) 1987 (FD1094, decrypted)
42334208tetris2         // (c) 1988 (FD1094, decrypted) S16B
42344209tetris1         // (c) 1988 (FD1094, decrypted) S16B
4235timescan      // (c) 1987
4236toryumon      // (c) 1995
4210timescan      // (c) 1987 (Unprotected)
4211toryumon      // (c) 1995 (Unprotected)
42374212tturf         // (c) 1989 Sega / Sunsoft (8751)
42384213tturfu         // (c) 1989 Sega / Sunsoft (8751)
42394214wb3            // (c) 1988 Sega / Westone (8751)
r15523r15524
42444219wrestwar2      // (c) 1989 (FD1094, decrypted)
42454220wrestwar1      // (c) 1989 (FD1094, decrypted)
42464221
4222// System 16C
4223fantzn2x      // (c) 2008 Sega / M2
4224
42474225// Philko Boards
42484226atomicp         // (c) 1990 Philko - korean clone board
42494227snapper         // (c) 1990 Philko - korean clone board
r15523r15524
43204298            // 1987.04 Super Hang-On (Japan)
43214299            // 1987.06 Super Hang-On (US)
43224300            // 1987.?? Super Hang-On (World)
4323shangon         // 1987 (protected)
4301shangon         // 1987 (unprotected)
43244302shangon3      // 1987 (FD1089B, decrypted)
43254303shangon2      // 1987 (FD1089B, decrypted)
43264304shangon1      // 1987 (FD1089B, decrypted)
4327shangonle      // 1991
4305shangonle      // 1991 (Unprotected)
43284306            // 1989.02 Turbo Outrun (Japan)
43294307            // 1989.04 Turbo Outrun (US)
43304308            // 1989.?? Turbo Outrun (World)
r15523r15524
43554333abcop         // 1990.?? A.B.Cop (World, FD1094, decrypted)
43564334            // 1991.01 A.B.Cop (Japan)
43574335            // 1990.10 GP Rider (Japan)
4358gprider         // 1990.?? GP Rider (World, protected)
4336gprider         // 1990.?? GP Rider (World, FD1094, decrypted)
43594337gprideru      // 1990.12 GP Rider (US, FD1094, decrypted)
43604338
43614339// Y-Board
r15523r15524
43684346            // 1988.08 Power Drift (US)
43694347pdriftj         // 1988.09 Power Drift (Japan)
43704348pdrift         // 1988.?? Power Drift (World)
4371pdrifta
4372pdrifte
4349pdrifta         // 1988.?? Power Drift (World)
4350pdrifte         // 1988.?? Power Drift (World)
43734351gloc         // 1990.04 G-LOC Air Battle (US)
43744352            // 1990.05 G-LOC Air Battle (Japan)
43754353glocr360      // 1990.?? G-LOC (R360, World?)
r15523r15524
44114389mahmajn         // 1992.12 Tokorosan no Mahmahjong (Japan)
44124390quizmeku      // 1993.05 Quiz Mekurumeku Story (Japan)
44134391mahmajn2      // 1994.05 Tokorosan no Mahmahjong 2 (Japan)
4414qgh            // 1994.09 Quiz Ghost Hunter
4392qgh         // 1994.09 Quiz Ghost Hunter
44154393
44164394// Sega System 32 games
44174395radm         // 1991.?? Rad Mobile (World)
r15523r15524
44734451scrossu         // 1992.09 Stadium Cross (US)
44744452
44754453// Model 1 Games
4476vr            // 1992.08 Virtua Racing
4477vf            // 1993.12 Virtua Fighter
4454vr         // 1992.08 Virtua Racing
4455vf         // 1993.12 Virtua Fighter
44784456vformula      // 1993.?? Virtua Formula
4479swa            // 1994.04 Star Wars Arcade
4457swa         // 1994.04 Star Wars Arcade
44804458wingwar         // 1994.06 Wing War
44814459wingwarj      // 1994.06 Wing War (Japan)
44824460wingwaru      // 1994.09 Wing War (US)
r15523r15524
45074485introdon      // 1996.04 Karaoke Quiz Intro Dondon (Sunsoft / Success)
45084486smleague      // 1996.04 Super Major League
45094487decathlt      // 1996.05 Decathlete
4510decathlto
4488decathlto      // 1996.05 Decathlete
45114489dnmtdeka      // 1996.07 Dynamite Deka
45124490mausuke         // 1996.07 Mausuke no Ojama the World (Data East)
45134491diehard         // 1996.08 Die Hard Arcade
r15523r15524
45484526cottonbm      // 1998.09 Cotton Boomerang (Success)
45494527stress         // 1998.10 Stress Busters
45504528elandore      // 1998.11 Touryuu Densetsu Elandore (Sai-Mate)
4551sss            // 1998.12 Steep Slope Sliders (Capcom / Cave / Victor)
4529sss         // 1998.12 Steep Slope Sliders (Capcom / Cave / Victor)
45524530micrombc      // 1999.03 Microman Battle Charge
45534531pclub2v3      // 1999.03 Print Club 2 Vol. 3
45544532sanjeon         // 1999.04 Sanjun Sujun (Sega / Deniam)
r15523r15524
45584536pclubor         // 1999.11 Print Club Goukakenran
45594537danchiq         // 2000.12 Danchi de Quiz Okusan Yontaku Desuyo! (Altron)
45604538
4561
4562
45634539// Sega Model 2 Games
45644540
45654541// Model 2 (TGPs, Model 1 sound board)
r15523r15524
46544630vs29815         // 1998.05 Virtua Striker 2 ver.98
46554631
46564632// Step 2.0
4657vs2            // 1997.06 Virtua Striker 2
4633vs2         // 1997.06 Virtua Striker 2
46584634harley         // 199?.?? Harley Davidson & L.A.Riders (rev B)
46594635harleya         // 1997.12 Harley Davidson & L.A.Riders (rev A)
46604636skichamp      // 1998.01 Ski Champ
r15523r15524
46834659            // 1998.12 Virtua Striker 2 ver.99
46844660spikeofe      // 1999.01 Spikeout Final Edition
46854661magtruck      // 1999.03 Magical Truck Adventure (US)
4686eca            // 1999.10 Kyukyuusya Emergency Call Ambulance
4662eca         // 1999.10 Kyukyuusya Emergency Call Ambulance
46874663ecax
46884664
46894665
r15523r15524
46944670karianx         // (c) 1996 Deniam
46954671logicpr2      // (c) 1997 Deniam (Japan)
46964672
4697
46984673/*
46994674Deniam is a Korean company (http://deniam.co.kr).
47004675
r15523r15524
49114886deathcox      // 2000.10 Death Crimson OX
49124887cspike         // 2000.10 Gun Spike / Cannon Spike
49134888sstrkfgt      // 2000.10 Sega Strike Fighter (Rev A)
4914confmiss      // 2000.11 Confidential Mission                                    // First GD-ROM game?
4915ninjaslt        // 2000.11 Ninja Assault
4889confmiss      // 2000.11 Confidential Mission         // First GD-ROM game?
4890ninjaslt      // 2000.11 Ninja Assault
49164891            // 2000.11 Shakatto Tambourine
49174892wwfroyal      // 2000.11 WWF Royal Rumble
49184893pjustic         // 2000.12 Moero Justice Gakuen / Project Justice
r15523r15524
50124987ggxxac         // 2006.11 Guilty Gear XX Accent Core
50134988meltyb         // 2006.12 Melty Blood Act Cadenza ver.B
50144989meltyba         // 2006.12 Melty Blood Act Cadenza ver.B (Rev A)
5015takoron         // 2006.12.16 Noukone Puzzle Takoron                              // Last GD-ROM game?
4990takoron         // 2006.12.16 Noukone Puzzle Takoron                  // Last GD-ROM game?
50164991            // 2007.03 Melty Blood Act Cadenza ver.B Syuuseiban(ver.B2)
50174992// Releases below use flash/mask ROMs like older NAOMI titles, not GD-ROM as GD-ROM Hardware (Drives and Discs) were no longer being produced.
50184993pokasuka      // 2007.07 Pokasuka Ghost!
r15523r15524
51055080dirtypig      // 2004.09 Dirty Pig Skin Football
51065081ftspeed         // 2004.09 Faster than Speed
51075082kov7sprt      // 2004.?? Knights of Valour - The Seven Sprits
5108anmlbskt        // 2005.01 Animal Basket (date is inside of ROM, probably earlier than release)
5083anmlbskt      // 2005.01 Animal Basket (date is inside of ROM, probably earlier than release)
51095084vfurlong      // 2005.03 Net Select Keiba Victory Furlong
51105085rumblef2      // 2005.03 The Rumble Fish 2
51115086ngbc         // 2005.07 NeoGeo Battle Colloseum
r15523r15524
52105185hshavoc         // (c) 1993 Data East
52115186
52125187// Data East "Burger Time hardware" games
5213lnc            // (c) 1981
5188lnc         // (c) 1981
52145189zoar         // (c) 1982
52155190btime         // (c) 1982
52165191btime2         // (c) 1982
r15523r15524
52205195cookrace      // bootleg
52215196wtennis         // bootleg 1982
52225197brubber         // (c) 1982
5223bnj            // (c) 1982 + Midway
5198bnj         // (c) 1982 + Midway
52245199caractn         // bootleg
52255200disco         // (c) 1982
52265201discof         // (c) 1982
r15523r15524
52585233cptennis      // 22 1982.06 Pro Tennis
52595234            // 23 1982.?? 18 Hole Pro Golf
52605235            // 24 1982.07 Tsumego Kaisyou
5261            // 25 1982.10 Angler Dangler? (fishing)
5236cfishing      // 25 1982.10 Fishing / Angler Dangler
52625237cbtime         // 26 1982.08 Hamburger/Burger Time
52635238chamburger        // 26 1982.08 Hamburger (Japan)
52645239cburnrub      // 27 1982.11 Burnin' Rubber
r15523r15524
58195794crimfght      // GX821 (c) 1989 (US)
58205795crimfght2      // GX821 (c) 1989 (World)
58215796crimfghtj      // GX821 (c) 1989 (Japan)
5822spy            // GX857 (c) 1989 (World)
5797spy         // GX857 (c) 1989 (World)
58235798spyu         // GX857 (c) 1989 (US)
58245799bottom9         // GX891 (c) 1989
58255800bottom9n      // GX891 (c) 1989
r15523r15524
59135888
59145889// (some) Konami 68000 games
59155890cuebrick      // GX903 (c) 1989
5916mia            // GX808 (c) 1989
5891mia         // GX808 (c) 1989
59175892mia2         // GX808 (c) 1989
59185893tmnt         // GX963 (c) 1989 (World)
59195894tmntu         // GX963 (c) 1989 (US)
r15523r15524
60155990rungunu         // GX247 (c) 1993 (US)
60165991rungunua      // GX247 (c) 1993 (US)
60175992slmdunkj      // GX247 (c) 1993 (Japan)
6018dbz            // (c) 1993 Banpresto
5993dbz         // (c) 1993 Banpresto
60195994dbz2         // (c) 1994 Banpresto
60205995bishi         // GX575 (c) 1996 (Japan)
60215996sbishi         // GX675 (c) 1998 (Japan)
r15523r15524
60446019            // 1995.03 GX218 (US)
60456020
60466021// GX Type 2
6047le2            // 1994.?? GX312 (Europe)
6022le2         // 1994.?? GX312 (Europe)
60486023le2u         // 1994.04 GX312 (US)
60496024le2j         // 1994.06 GX312 (Japan)
60506025puzldama      // 1994.07 GX315 (Japan)
r15523r15524
61386113//popnstex     // GX970 (c) 1999 (Japan)
61396114
61406115// Firebeat games
6141ppp            // GQ977 (c) 2000
6142ppd            // GQ977 (c) 2000 (Korea)
6116ppp         // GQ977 (c) 2000
6117ppd         // GQ977 (c) 2000 (Korea)
61436118ppp11         // GQ977 (c) 2000
6144kbm            // GQ974 (c) 2000
6119kbm         // GQ974 (c) 2000
61456120kbm2nd         // GCA01 (c) 2000
61466121kbm3rd         // GCA12 (c) 2001
61476122popn5         // GCA04 (c) 2000
r15523r15524
62156190pepper2         // (c) 1982
62166191pepper27      // (c) 1982
62176192hardhat         // (c) 1982
6218fax            // (c) 1983
6193fax         // (c) 1983
62196194fax2         // (c) 1983
62206195circus         // no copyright notice [1977?]
62216196springbd      // Sub-Electro bootleg of Circus
r15523r15524
63176292missile1      // 035820-035825    (c) 1980
63186293suprmatk      //                  (c) 1980 + (c) 1981 Gencomp
63196294suprmatkd      //                  (c) 1980 + (c) 1981 Gencomp
6320mcombat
6321mcombata
6322mcombats
6295mcombat         // bootleg
6296mcombata      // bootleg
6297mcombats      // bootleg
6298missilem      // hack
63236299
63246300// Atari vector games
63256301llander         // 0345xx           no copyright notice
r15523r15524
63666342mhavocrv      // (hack)
63676343alphaone      // (proto)          (c) 1983
63686344alphaonea      // (proto)          (c) 1983
6369esb            // 136031           (c) 1985
6345esb         // 136031           (c) 1985
63706346tomcat         // (proto)          (c) 1985
63716347
63726348// Atari "Centipede hardware" games
r15523r15524
63816357magworm         // (bootleg)
63826358mazeinv         // (proto)          (c) 1982
63836359milliped      // 136013           (c) 1982
6360multiped      // hack
63846361millipdd      // hack by Two Bit Score
63856362qwak         // (proto)          (c) 1982
63866363runaway         // (proto)          (c) 1982
r15523r15524
65826559gauntlet2p      // 136037           (c) 1985
65836560gauntlet2pj      // 136037           (c) 1985
65846561gauntlet2pg      // 136037           (c) 1985
6585gauntlet2pr3   // 136037           (c) 1985
6586gauntlet2pj2   // 136037           (c) 1985
6587gauntlet2pg1   // 136037           (c) 1985
6562gauntlet2pr3      // 136037           (c) 1985
6563gauntlet2pj2      // 136037           (c) 1985
6564gauntlet2pg1      // 136037           (c) 1985
65886565// Gauntlet 2
65896566gaunt2         // 136043           (c) 1986
65906567gaunt2g         // 136043           (c) 1986
r15523r15524
66566633// Cyberball Tournament
66576634cyberbalt      // 136073           (c) 1989
66586635cyberbalt1      // 136073           (c) 1989
6659
66606636badlands      // 136074           (c) 1989
66616637badlandsb      // bootleg
66626638badlandsb2      // bootleg set 2
r15523r15524
66686644klaxp1         // prototype
66696645klaxp2         // prototype
66706646thunderj      // 136076           (c) 1990
6671
66726647hydra         // 136079           (c) 1990
66736648hydrap         // (proto)          (c) 1990
66746649hydrap2         // (proto)          (c) 1990
r15523r15524
67796754sgladiat      // A3006      (c) 1984
67806755hal21         // A4031      (c) 1985
67816756hal21j         //            (c) 1985 (Japan)
6782aso            //            (c) 1985
6757aso         //            (c) 1985
67836758alphamis      //            (c) 1985
67846759arian         //            (c) 1985
67856760tnk3         // A5001      (c) 1985
r15523r15524
68206795ikari3         // A7007 'IK3'(c) 1989
68216796ikari3u         // A7007 'IK3'(c) 1989
68226797ikari3j         // A7007 'IK3'(c) 1989
6823pow            // A7008 'DG' (c) 1988
6798pow         // A7008 'DG' (c) 1988
68246799powj         // A7008 'DG' (c) 1988
68256800searchar      // A8007 'BH' (c) 1989
68266801searcharu      // A8007 'BH' (c) 1989
r15523r15524
69156890ncommand      // 0050 (c) 1992 Alpha Denshi Co.
69166891viewpoin      // 0051 (c) 1992 Sammy
69176892ssideki         // 0052 (c) 1992 SNK
6918wh1            // 0053 (c) 1992 Alpha Denshi Co.
6893wh1         // 0053 (c) 1992 Alpha Denshi Co.
69196894wh1h         // 0053 (c) 1992 Alpha Denshi Co.
69206895wh1ha         // 0053 (c) 1992 Alpha Denshi Co.
69216896            // 0054 Crossed Swords 2  (CD only? not confirmed, MVS might exist)
69226897kof94         // 0055 (c) 1994 SNK
69236898aof2         // 0056 (c) 1994 SNK
69246899aof2a         // 0056 (c) 1994 SNK
6925wh2            // 0057 (c) 1993 ADK
6900wh2         // 0057 (c) 1993 ADK
69266901fatfursp      // 0058 (c) 1993 SNK
69276902fatfurspa      // 0058 (c) 1993 SNK
69286903savagere      // 0059 (c) 1995 SNK
r15523r15524
69646939fswords         // 0187 Korean hack of samsho3
69656940stakwin         // 0088 (c) 1995 Saurus
69666941pulstar         // 0089 (c) 1995 Aicom
6967whp            // 0090 (c) 1995 ADK / SNK
6942whp         // 0090 (c) 1995 ADK / SNK
69686943            // 0091
69696944kabukikl      // 0092 (c) 1995 Hudson
69706945neobombe      // 0093 (c) 1997 Hudson
r15523r15524
70967071ms5plus         // bootleg
70977072svcpcb         // 0269 (c) 2003 Playmore / Capcom - JAMMA PCB
70987073svcpcba         // 0269 (c) 2003 Playmore / Capcom - JAMMA PCB
7099svc            // 0269 (c) 2003 Playmore / Capcom
7074svc         // 0269 (c) 2003 Playmore / Capcom
71007075svcboot         // bootleg
71017076svcplus         // bootleg
71027077svcplusa      // bootleg
r15523r15524
71207095jockeygpa
71217096vliner
71227097vlinero
7123
71247098diggerma      // No Game ID (unlicensed), (c) 2000 Kyle Hodgetts, prototype
7125
71267099sbp            // (c)2004 Vektorlogik
71277100
7128
71297101// Hyper NeoGeo 64 uses a 3 digit rom code?
71307102
71317103hng64
r15523r15524
71897161sbasebal      // Alpha-68K96V       (c) 1989 SNK of America licensed from Alpha
71907162tnextspc      // A8003 'NS' (c) 1989
71917163tnextspcj      // A8003 'NS' (c) 1989
7192
71937164meijinsn      // (c) 1986 SNK
71947165
71957166// Technos games
r15523r15524
72277198ddragonb      // bootleg
72287199ddragonba      // bootleg
72297200ddragon6809      // bootleg
7230ddragon6809a   // bootleg
7201ddragon6809a      // bootleg
72317202ddragonb2      // bootleg
72327203spdodgeb      // TA-0022 (c) 1987
72337204nkdodge         // TA-0022 (c) 1987 (Japan)
r15523r15524
72427213wwfsstarj      // TA-0024 (c) 1989 (Japan)
72437214vball         // TA-0025 (c) 1988 (US)
72447215vball2pj      // TA-0025 (c) 1988 (Japan)
7245vballb         // TA-0025 (c) 1988
7216vballb         // bootleg (of US set)
7217vball2pjb      // bootleg (of Japan set)
72467218ddragon2      // TA-0026 (c) 1988 (World)
72477219ddragon2u      // TA-0026 (c) 1988 (US)
72487220toffy         // (c) 1993 Midas
r15523r15524
74107382gekiretu      // (c) 1992 Face
74117383cultures      // (c) 1994 Face
74127384
7385// Midway Atlantis games
7386mwskins         // (c) 2000 Midway
7387mwskinsa        // (c) 2000 Midway
7388
74137389// Williams/Midway TMS games
74147390narc         // (c) 1988 Williams
74157391narc3         // (c) 1988 Williams
r15523r15524
74357411shimpactp5      // (c) 1991 Midway
74367412shimpactp4      // (c) 1991 Midway
74377413strkforc      // (c) 1991 Midway
7438mk            // (c) 1992 Midway
7414mk         // (c) 1992 Midway
74397415mkr4         // (c) 1992 Midway
74407416mktturbo      // hack
74417417mkyturbo      // hack
r15523r15524
74577433term2la1      // (c) 1992 Midway
74587434totcarn         // (c) 1992 Midway
74597435totcarnp      // (c) 1992 Midway
7460mk2            // (c) 1993 Midway
7436mk2         // (c) 1993 Midway
74617437mk2r31e         // (c) 1993 Midway
74627438mk2r32         // (c) 1993 Midway
74637439mk2r30         // (c) 1993 Midway
r15523r15524
74767452nbajamt3      // (c) 1994 Midway
74777453nbajamtn      // (c) 1995 Midway
74787454revx         // (c) 1994 Midway
7479mk3            // (c) 1994 Midway
7455mk3         // (c) 1994 Midway
74807456mk3r20         // (c) 1994 Midway
74817457mk3r10         // (c) 1994 Midway
74827458mk3p40         // (c) 1994 Midway
r15523r15524
75067482offroadc4      // (c) 1997 Midway (v1.40)
75077483offroadc3      // (c) 1997 Midway (v1.30)
75087484offroadc1      // (c) 1997 Midway (v1.10)
7509wargods         // (c) 1996 Midway
7485wargods         // (c) 1996 Midway (HD 10/09/1996 - Dual Resolution)
7486wargodsa      // (c) 1996 Midway (HD 08/15/1996)
7487wargodsb      // (c) 1996 Midway (HD 12/11/1995)
75107488
75117489// Midway Zeus games
7512mk4            // (c) 1997 Midway (v3.0) Latest offical release
7490mk4         // (c) 1997 Midway (v3.0) Latest offical release
75137491mk4a         // (c) 1997 Midway (v2.1)
75147492mk4b         // (c) 1997 Midway (v1.0)
75157493invasnab      // (c) 1999 Midway (v5.0) Latest offical release
r15523r15524
75627540arctthndult      // (c) 2001 Midway Games
75637541
75647542// Midway Touchmaster / Galaxy Games
7565tm            // (c) 1996 Midway Games
7543tm         // (c) 1996 Midway Games
75667544tmdo         // (c) 1996 Midway Games
75677545tm2k         // (c) 1996 Midway Games
75687546tm2ka         // (c) 1996 Midway Games
r15523r15524
75717549tm3ka         // (c) 1997 Midway Games
75727550tm4k         // (c) 1998 Midway Games
75737551tm4ka         // (c) 1998 Midway Games
7552tm4kca         // (c) 1998 Midway Games
75747553tm4kb         // (c) 1998 Midway Games
75757554tm5k         // (c) 1998 Midway Games
75767555tm5kca         // (c) 1998 Midway Games
r15523r15524
76317610speedfrk      // (c) 1979 Vectorbeam
76327611sundance      // (c) 1979
76337612demon         // (c) 1982 Rock-ola
7634qb3            // (c) 1982 Rock-ola - prototype
7613qb3         // (c) 1982 Rock-ola - prototype
76357614// this one uses 68000+Z80 instead of the Cinematronics CPU
76367615cchasm
76377616cchasm1         // (c) 1983 Cinematronics / GCE
r15523r15524
76527631machomou      // (c) 1982 Techstar
76537632intrepid      // (c) 1983 Nova Games Ltd.
76547633intrepid2      // (c) 1983 Nova Games Ltd.
7655intrepidb       // bootleg
7634intrepidb      // bootleg
76567635zaryavos      // (c) 1983 Nova Games of Canada (prototype)
76577636timelimt      // (c) 1983 Chuo Co. Ltd
76587637progress      // (c) 1984 Chuo Co. Ltd
r15523r15524
76977676scionc         // (c) 1984 Seibu Denshi + Cinematronics license
76987677kungfut         // (c) 1984 Seibu Kaihatsu
76997678kungfuta      // (c) 1984 Seibu Kaihatsu
7700wiz            // (c) 1985 Seibu Kaihatsu
7679wiz         // (c) 1985 Seibu Kaihatsu
77017680wizt         // (c) 1985 Taito Corporation
77027681wizta         // (c) 1985 Taito Corporation
77037682kncljoe         // (c) 1985 Taito Corporation
r15523r15524
77257704dbldynu         // (c) 1989 Seibu Kaihatsu + Fabtek license
77267705raiden         // (c) 1990 Seibu Kaihatsu
77277706raidena         // (c) 1990 Seibu Kaihatsu
7707raidenb         // (c) 1990 Seibu Kaihatsu
77287708raidenk         // (c) 1990 Seibu Kaihatsu + IBL Corporation license
77297709raident         // (c) 1990 Seibu Kaihatsu + Liang HWA Electronics license
77307710raidenu         // (c) 1990 Seibu Kaihatsu + Fabtek license
r15523r15524
77367716goodejan      // (c) 1991 Seibu/Tecmo
77377717goodejana      // (c) 1991 Seibu/Tecmo
77387718
7739
77407719raiden2         // (c) 1993 Seibu Kaihatsu + Fabtek license
77417720raiden2a      // (c) 1993 Seibu Kaihatsu + Metrotainment license
77427721raiden2b      // (c) 1993 Seibu Kaihatsu
r15523r15524
79087887// Jaleco Mega System 1 games
79097888lomakai         // (c) 1988 (World)
79107889makaiden      // (c) 1988 (Japan)
7911p47            // (c) 1988
7890p47         // (c) 1988
79127891p47j         // (c) 1988 (Japan)
79137892kickoff         // (c) 1988 (Japan)
79147893tshingen      // (c) 1988 (Japan)
r15523r15524
79287907avspirit      // (c) 1991
79297908phantasm      // (c) 1991 (Japan)
79307909monkelf         // bootleg
7931edf            // (c) 1991
7910edf         // (c) 1991
79327911edfu         // (c) 1991
79337912edfbl         // (c) 1991
7934791364street      // (c) 1991
r15523r15524
79377916soldamj         // (c) 1992 (Japan)
79387917bigstrik      // (c) 1992
79397918bigstrkb      // bootleg on different hardware
7940bigstrkba       // alt set of 'bigstrkb' with Italian teams
7919bigstrkba      // alt set of 'bigstrkb' with Italian teams
79417920bestleag      // bootleg, by Playmark?
79427921bestleaw      // bootleg
79437922chimerab      // (c) 1993
r15523r15524
79627941tp2m32         // (c) 1997
79637942bnstars         // (c) 1997
79647943wpksocv2      // (c) 1997
7965
79667944f1superb      // (c) 1994
7967
79687945bnstars1      // (c) 1994
79697946
79707947// Video System Co. games
r15523r15524
80788055loderndfa      // (c) 2000
80798056hotdebut      // (c) 2000
80808057
8081
8082
80838058// Orca games
80848059marineb         // (c) 1982 Orca
80858060changes         // (c) 1982 Orca
r15523r15524
83038278jockeyc         // (c) 1990 [Seta] (Visco license)
83048279rezon         // (c) 1991 Allumer
83058280rezont         // (c) 1991 Allumer / Taito
8306stg            // (c) 1991 Athena / Tecmo
8281stg         // (c) 1991 Athena / Tecmo
83078282pairlove      // (c) 1991 Athena
83088283blandia         // (c) 1992 Allumer
83098284blandiap      // (c) 1992 Allumer
r15523r15524
83858360drifto94      // (c) 1994 Visco
83868361janjans1      // (c) 1996 Visco
83878362stmblade      // (c) 1996 Visco
8388jsk            // (c) 1997 Visco
8363jsk         // (c) 1997 Visco
83898364koikois2      // (c) 1997 Visco
83908365mslider         // (c) 1997 Visco / Datt Japan
83918366ryorioh         // (c) 1998 Visco
r15523r15524
84318406kurufev         // (c) 2003 Aruze (Arcade TV Game List - P.75, Right, 1st entry on top)
84328407mayjin3         // (c) 2000 Seta (Arcade TV Game List - P.101, Right, 9 from top)
84338408
8434
84358409// Atlus games
84368410powerins      // (c) 1993 Atlus (USA)
84378411powerinsj      // (c) 1993 Atlus (Japan)
r15523r15524
86418615gakusai2      // (c) 1998 MakeSoft
86428616blzntrnd      // (c) 1994 Human Amusement
86438617gstrik2         // (c) 1996 Human Amusement
8644gstrik2j
8618gstrik2j      // (c) 1996 Human Amusement
86458619hyprduel      // (c) 1993 Technosoft (Japan)
86468620hyprduel2      // (c) 1993 Technosoft (Japan)
86478621magerror      // (c) 1994 Technosoft (Japan) (Arcade TV Game List - P.100, Left, 13 from Bottom)
r15523r15524
87088682zeropnta      // (c) 1998
87098683zeropnt2      // (c) 1999
87108684silkroad      // (c) 1999
8711aoh            // (c) 2001
8685aoh         // (c) 2001
87128686
87138687// Afega games
87148688twinactn      // (c) 1996 - bootleg of US AFF Mustang
r15523r15524
88768850spiders2      // (c) 1981 Sigma Ent. Inc.
88778851spiders3      // (c) 1981 Sigma Ent. Inc.
88788852spinner         // bootleg
8879sub            // (c) 1985 Sigma Ent. Inc.
8853sub         // (c) 1985 Sigma Ent. Inc.
88808854
88818855// Sigma B52
88828856jwildb52      // (c) 199? Sigma
r15523r15524
89368910gp98         // (c) 1998
89378911
89388912// IGS011 Games
8939lhb            // (c) 1995
8913lhb         // (c) 1995
89408914lhbv33c         // (c) 1995
89418915ryukobou      // (c) 1995
8942dbc            // (c) 199?
8916dbc         // (c) 199?
89438917lhb2         // (c) 1996
89448918xymg         // (c) 1996
89458919wlcc         // (c) 1996
r15523r15524
89488922drgnwrld      // (c) 1997
89498923drgnwrldv30      // (c) 1995
89508924drgnwrldv21      // (c) 1995
8951drgnwrldv21j   // (c) 1995
8952drgnwrldv20j   // (c) 1995
8953drgnwrldv10c   // (c) 1995
8954drgnwrldv11h   // (c) 1995
8925drgnwrldv21j      // (c) 1995
8926drgnwrldv20j      // (c) 1995
8927drgnwrldv10c      // (c) 1995
8928drgnwrldv11h      // (c) 1995
89558929nkishusp      // (c) 1998
89568930
89578931// IGS017 / IGS031 Games
r15523r15524
89998973dwex         // (c) 1998 Dragon World 3 EX
90008974killbld         // (c) 1998 The Killing Blade
90018975killbld104      //
9002kov            // (c) 1999 Knights of Valor
8976kov         // (c) 1999 Knights of Valor
90038977kov115         //
90048978kov100         //
90058979kovplus         // (c) 1999 Knights of Valor Plus (aka 10 Character version)
r15523r15524
90319005puzzli2         // (c) 2001 Puzzli 2
90329006martmast      // (c) 2001 Martial Masters
90339007martmastc      //
9034martmastc102   //
9008martmastc102      //
90359009theglad         // (c) 2001 The Gladiator
90369010theglada      //
90379011thegladpcb      //
r15523r15524
90509024oldsplus      // (c) 2004 Oriental Legend Super Plus
90519025killbldp      // (c) 2004 Killing Blade Plus
90529026happy6         // (c) 200? Happy 6
9053svg            // (c) 2003 Spectral vs Generation
9027svg         // (c) 2003 Spectral vs Generation
90549028svgpcb         //
9055ket            // (c) 2002 Ketsui
9029ket         // (c) 2002 Ketsui
90569030keta         //
90579031ketb         //
90589032ddpdoj         // (c) 2002 DoDonPachi Dai-Ou-Jou
r15523r15524
90949068// TCH games
90959069speedspn      // (c) 1994
90969070mstworld      // (c) 1994
9097
90989071kickgoal      // (c) 1995
90999072actionhw      // (c) 1995
91009073
r15523r15524
91839156cheesech      // (c) 1994
91849157stonebal      // (c) 1994
91859158stonebal2      // (c) 1994
9186
91879159shtstar         // (c) 1994 Nova
91889160
91899161// Dynamo games
r15523r15524
92019173
92029174// Tatsumi Games
92039175kingdrby      // (c) 1981 Tatsumi
9204tx1            // (c) 1983 Tatsumi
9205tx1a         // (c) 1983 Tatsumi
9176tx1            // (c) 1983 Tatsumi + Atari, Namco and Taito license
9177tx1jb         // (c) 1983 Tatsumi
9178tx1jc         // (c) 1983 Tatsumi
92069179// TX-1 V8      // (c) 1984 Tatsumi
92079180buggyboy      // (c) 1985 Tatsumi
92089181buggyboyjr      // (c) 1986 Tatsumi
r15523r15524
92999272officeye
93009273donghaer
93019274
9302ddz            // (c) 200?
9275ddz         // (c) 200?
93039276
93049277psattack      // 2004 Uniana
93059278
9306
9307
93089279// ADP games
93099280backgamn      // (c) 1990
93109281quickjac      // (c) 1993
r15523r15524
93209291// JPM
93219292
93229293// JPM older?
9323
93249294j_ewnud      // Each Way Nudge
93259295j_ewnda      // Each Way Nudger
93269296j_luckac   // Lucky Aces
r15523r15524
93299299
93309300
93319301// JPM System 80
9332
93339302j80bac      // Bank A Coin (Jpm)
93349303j80bounc   // Bouncer (Jpm)
93359304j80frogh   // Frog Hop (Jpm)
r15523r15524
93549323j80mster   // Masterspy (Pcp)
93559324j80plsnd   // Plus Nudge (Jpm)
93569325
9357
93589326// JPM MPS1/2 Hardware
9359
93609327j2adnote   // Add A Note (Jpm)
93619328j2adnotea
93629329j2adnoteb
r15523r15524
95629529
95639530
95649531// JPM System 5
9565
95669532j5tstal      // JPM System 5 Alpha Display Test Utility (Jpm)
95679533j5tst1      // JPM System 5 Test Set (Jpm)
95689534j5tst2      //
9569
95709535j5fifth      // 5th Avenue (Jpm)
95719536j5ar80      // Around The World In Eighty Days (Jpm)
95729537j5ar80a      //
r15523r15524
97209685j5ujb      //
97219686j5wsc      // Wall Street Club (Jpm)
97229687j5wsca      //
9723
97249688j5movie      // Movie Magic Club (Crystal?)
9725
97269689j5nudfic   // Nudge Fiction (Jpm)
97279690j5revo      // Revolver (Jpm)
97289691j5revoa      //
r15523r15524
97309693j5hilos      // Hi Lo Silver (Jpm)
97319694
97329695// JPM System 5 + Video Expansion 2
9733
97349696monopoly   // Monopoly (Jpm)
97359697monopolya   // Monopoly (Jpm)
97369698monoplcl   // Monopoly Classic (Jpm)
97379699monopldx   // Monopoly Deluxe (Jpm)
97389700cashcade   // Cashcade (Jpm)
97399701
9740
97419702// JPM Impact
9742
97439703j6fifth      // 5th Dimension (Ace)
97449704j6aceclb   // Ace Of Clubs (Crystal)
97459705j6aceclba   //
r15523r15524
99799939snlad         // (c) 199?
99809940
99819941// Unknown JPM platform
9982
99839942j7bmagic      // Black Magic (Jpm)
99849943j7cexprs      // Cash Xpress (Jpm)
99859944j7crztrl      // Crazy Trails (Jpm)
r15523r15524
100379996spaceace      // (c) 1983 Cinematronics
100389997spaceacea2      // (c) 1983 Cinematronics
100399998spaceacea      // (c) 1983 Cinematronics
10040spaceaceeuro   // (c) 1983 Atari
9999spaceaceeuro      // (c) 1983 Atari
1004110000aztarac         // (c) 1983 Centuri (vector game)
1004210001mole         // (c) 1982 Yachiyo Electronics, Ltd.
1004310002thehand         // (c) 1981 T.I.C.
r15523r15524
1012610085dribling      // (c) 1983 Model Racing
1012710086driblingo      // (c) 1983 Olympia
1012810087driblingbr      // bootleg
10129ace            // [1976 Allied Leisure]
10088ace         // [1976 Allied Leisure]
1013010089clayshoo      // [1979 Allied Leisure]
1013110090pirates         // (c) 1994 NIX
1013210091genix         // (c) 199? NIX
r15523r15524
1029810257dynadice      // ?
1029910258atamanot      // (c) 1983 Yachiyo Denki / Uni Enterprize
1030010259ssingles      // Yachiyo?
10301tcl            // (c) 1995 Uniwang
10260tcl         // (c) 1995 Uniwang
1030210261othello         // (c) 1984 Success
1030310262sothello      // (c) 1986 Success / Fujiwara
1030410263quake         // (c) 19?? Lazer-Tron / iD Software
r15523r15524
1030710266boonggab      // (c) 2001 Taff System
1030810267
1030910268// Nexus 3D
10310
1031110269acheart
1031210270acheartf      // (c) 2006 Examu
1031310271
r15523r15524
1032110279yujan         // (C) 1999 Yubis
1032210280
1032310281// Team Play, Inc.
10324
1032510282voyager         // (c) 2002 Team Play, Inc.
1032610283
1032710284// BMC
10328
1032910285bmcbowl         // (c) 1994 BMC
1033010286koftball      // (c) 1995 BMC
1033110287bmcpokr         // (c) 1999 BMC
1033210288popobear      // (c) 2000 BMC
1033310289
1033410290// Merit
10335
1033610291mpoker         // (c) 1983 Merit
1033710292pitboss         // (c) 1983 Merit
1033810293pitbossa      // (c) 1983 Merit
r15523r15524
1039810353megat5tg      // (c) 1997 Merit
1039910354megat6         // (c) 1998 Merit
1040010355suprgolf      // (c) 1989 Nasco
10401
1040210356onetwo         // (c) 1997 Barko
1040310357onetwoe         // (c) 1997 Barko
10404103581945kiii      // (c) 2000 Oriental
r15523r15524
1044010394cubeqsta      // (c) 1983 Simutrek Inc.
1044110395pkscram         // (c) 1993 Cosmo Electronics Corporation
1044210396
10443
1044410397// Funworld
1044510398jollycrd      // (c) 1985 TAB-Austria
1044610399jolyc3x3      // (c) 1985 TAB-Austria
r15523r15524
1055910512quarterh      // (c) 1983 Electro-Sports
1056010513quarterha      // (c) 1983 Electro-Sports
1056110514quarterhb      // (c) 1983 Electro-Sports
10562qc            // (c) 1995 ArJay Exports/Prestige Games
10515qc         // (c) 1995 ArJay Exports/Prestige Games
1056310516trvquest      // (c) 1984 Sunn / Techstar
1056410517rltennis      // (c) 1993 TCH
1056510518wheelfir      // (c) 199? TCH
r15523r15524
1076910722comg5108      // (c) 1985 Cal Omega Inc.
1077010723comg903d      // (c) 198? Cal Omega Inc.
1077110724comg905d      // (c) 198? Cal Omega Inc.
10725
1077210726elgrande      // (c) 1982 Tuni Electro Service / E.T. Marketing
1077310727jjpoker         // (c) 1983 Enter-Tech
1077410728jjpokerb      // (c) 1983 Enter-Tech
1077510729ssipkr24      // (c) 1988 SSI
1077610730ssipkr30      // (c) 1988 SSI
1077710731ssipkr40      // (c) 1990 SSI
10778
1077910732altair         // (c) 1981 Cidelsa
1078010733destryer      // (c) 1981 Cidelsa
1078110734destryera      // (c) 1981 Cidelsa
r15523r15524
1096410917speeddrp      // (c) 2003  Astro Corp.
1096510918winbingo      // (c) 2005? Astro Corp.
1096610919winbingoa      // (c) 2005? Astro Corp.
10967zoo            // (c) 2005? Astro Corp.
10920zoo         // (c) 2005? Astro Corp.
1096810921westvent      // (c) 2007? Astro Corp.
1096910922
1097010923// Dyna
1097110924ncb3         // (c) 199? Dyna Electronics
1097210925cb3a         // (c) 199? Dyna Electronics
10973cb3            // (c) 199? Dyna Electronics
10926cb3         // (c) 199? Dyna Electronics
1097410927cb3b         // (c) 199? Dyna Electronics
1097510928cb3c         // (c) 199? Dyna Electronics
1097610929cb3d         // (c) 199? Dyna Electronics
r15523r15524
1108511038bingownga      // (c) 1993 Wing Co. Ltd
1108611039excitbj         // (c) 1992 Wing Co. Ltd
1108711040
11041carb2002      // bootleg
11042carb2003      // bootleg
11043nfm            // bootleg
11044unkch1         // bootleg
11045unkch2         // bootleg
11046unkch3         // bootleg
11047unkch4         // bootleg
11048ns8lines      // unknown
11049ns8linew      // unknown
11050ladylinr      // (c) 198? TAB Austria
11051kkotnoli      // 198? south korean hack
11052wcat3
11053magodds         // 198? (c) Micro Manufacturing Ltd.
11054magoddsa      // 198? (c) Micro Manufacturing Ltd.
11055magoddsb      // 198? (c) Micro Manufacturing Ltd.
11056magoddsc      // 198? (c) Micro Manufacturing Ltd.
11057magoddsd      // 198? (c) Micro Manufacturing Ltd.
11058
11059// Amcoe
1108811060skill98         // (c) 1998 Amcoe
1108911061match98         // (c) 1998 Amcoe
1109011062schery97      // (c) 1998 Amcoe
r15523r15524
1110611078nfb96se         // bootleg
1110711079nfb96sea      // bootleg
1110811080nfb96seb      // bootleg
11109carb2002      // bootleg
11110carb2003      // bootleg
11111nfm            // bootleg
11112unkch1         // bootleg
11113unkch2         // bootleg
11114unkch3         // bootleg
11115unkch4         // bootleg
11116
11117ns8lines      // unknown
11118ns8linew      // unknown
11119ladylinr      // (c) 198? TAB Austria
11120kkotnoli      // 198? south korean hack
11121wcat3
11122magodds         // 198? (c) Micro Manufacturing Ltd.
11123magoddsa      // 198? (c) Micro Manufacturing Ltd.
11124magoddsb      // 198? (c) Micro Manufacturing Ltd.
11125magoddsc      // 198? (c) Micro Manufacturing Ltd.
11126magoddsd      // 198? (c) Micro Manufacturing Ltd.
11127
1112811081suprball      // (c) 2002 Amcoe - Skill based
1112911082sfbonus         // (c) 2003 Amcoe - Skill Fruit Bonus
1113011083sfbonusd1      // (c) 2003 Amcoe
r15523r15524
1135911312moneymacd2      // (c) 200? Amcoe
1136011313moneymacv2      // (c) 200? Amcoe
1136111314
11362
1136311315chsuper3      // unknown
1136411316chsuper2      // unknown
1136511317chmpnum         // unknown
r15523r15524
1138911341ndxron10      // 2005, unknown
1139011342cgip30cs      // (c) 1999, CGI
1139111343kimblz80      // (c) 198?, Kimble Ireland
11392pma            // 1983, PMA
11344pma         // 1983, PMA
1139311345bjpoker         // (c) M. Kramer Inc.
1139411346newhilop
1139511347
r15523r15524
1140811360dphlunka      // SMS Manufacturing Corp?
1140911361dphlunkb      // SMS Manufacturing Corp?
1141011362
11411
1141211363// Sanki Denshi Kogyo
1141311364pachifev      // (c) 1983?
1141411365
r15523r15524
1147111422fcockt_10      // (c) 2003
1147211423fcockt_11      // (c) 2003
1147311424fcockt_12      // (c) 2003
11474fcockt2_3
11475fcockt2_4
11476fcockt2_4a
11477fcockt2_4b
11478fcockt2_4d
11479fcockt2_4f
11480fcockt2_5
1148111425
1148211426// Lucky Haunter
1148311427//lhaunt      // (c) 2003
r15523r15524
1155511499
1155611500// Fruit Cocktail 2
1155711501fcockt2         // (c) 2008
11502//fcockt2_2      // (c) 2008
11503fcockt2_3      // (c) 2008
11504fcockt2_4      // (c) 2008
11505fcockt2_5      // (c) 2008
1155811506
1155911507
1156011508// Igrosoft bootleg sets
r15523r15524
1165911607sweetl2_2c      // bootleg
1166011608sweetl2_2d      // bootleg
1166111609fcockt2a      // bootleg - Fruit Cocktail 2
11610fcockt2_4a      // bootleg
11611fcockt2_4b      // bootleg
11612fcockt2_4d      // bootleg
11613fcockt2_4f      // bootleg
1166211614
1166311615igromult      // Multigame bootleg
1166411616igromula      // Multigame bootleg
1166511617
1166611618// Novomatic
11667
1166811619g4u2      // Games 4 U
1166911620g4u3      //
1167011621g4u3a      //
r15523r15524
1187111822
1187211823atronic      //
1187311824atronica   //
11874
1187511825atlantca   // Atlantica
1187611826atlantcaa   //
1187711827baboshka   // Baboshka
r15523r15524
1193111881
1193211882// Extrema (Russian)
1193311883
11884maski     // Maski Show (Russia)
11885adults    // Adults Only (Russia)
11886bloto     // Blits Loto (Russia)
11887blpearl   // Black Pearl (Russia)
11888grancan   // Grand Canyon (Russia)
11889luckshel  // Lucky Shell (Russia)
11890exsafar   // Safari (Russia)
11891strlink   // Strong Link (Russia)
11892extrmth   // Treasure Hunt (Russia)
11893extrmti   // Treasure Island (Russia)
1193411894
11935 maski     // Maski Show (Russia)
11936 adults    // Adults Only (Russia)
11937 bloto     // Blits Loto (Russia)
11938 blpearl   // Black Pearl (Russia)
11939 grancan   // Grand Canyon (Russia)
11940 luckshel  // Lucky Shell (Russia)
11941 exsafar   // Safari (Russia)
11942 strlink   // Strong Link (Russia)
11943 extrmth   // Treasure Hunt (Russia)
11944 extrmti   // Treasure Island (Russia)
11945
11946
1194711895// Cupidon / Kupidon (Russian)
1194811896
1194911897tsarevna   //
r15523r15524
1195411902funnyfmb   //
1195511903cashtrn      //
1195611904
11957
1195811905// TAB Austria
1195911906// Quizard (Philips CD-I based HW)
1196011907cdimono1      // Base unit
r15523r15524
1227812225sc2brkfsm   //
1227912226sc2brkfsm1   //
1228012227sc2brkfsm2   //
12281
1228212228sc2drwho   // Dr.Who The Timelord
1228312229sc2drwho1   //
1228412230sc2drwho2   //
r15523r15524
1231712263sc2catms2p
1231812264sc2catms3
1231912265sc2catms4
12320
1232112266sc2ctms2   // Cat & Mouse (Mark 2 - Bellfruit)
1232212267sc2ctms21
1232312268sc2ctms21p
r15523r15524
1232712272sc2ctms23p
1232812273sc2ctms24p
1232912274sc2ctms25
12330
1233112275sc2eggs      // Eggs On Legs Tour (Bellfruit)
1233212276sc2eggsp
1233312277sc2eggs1
r15523r15524
1521815162sc4gballa   //
1521915163sc4gballb   //
1522015164sc4gballc   //
15221sc4ggtb       // Golden Game (Mazooma) Top Box
15165sc4ggtb      // Golden Game (Mazooma) Top Box
1522215166sc4ggtba   //
1522315167sc4ggtbb   //
1522415168sc4ggame   // Golden Game
r15523r15524
1579115735sc4dndben   //
1579215736sc4dndbc   // Deal Or No Deal Box Clever (Bellfruit)
1579315737sc4dndbca   //
15794sc4bwow     // Wheel of Wealth (Bellfruit)
15738sc4bwow      // Wheel of Wealth (Bellfruit)
1579515739sc4bwowa   //
1579615740sc4mowow   // Monopoly Wheel Of Wealth (Mazooma)
1579715741sc4mowowa   //
r15523r15524
1732517269sc5nunsmd   //
1732617270sc5nunsme   //
1732717271
17328
1732917272// Adder 5
1733017273
1733117274ad5crcpt   // Cops 'n' Robbers Community Party (Bellfruit)
r15523r15524
1734417287ad5copsr   // Cops 'n' Robbers (Bellfruit)
1734517288sc5dndbe   // Deal Or No Deal Beat The Banker (Bellfruit)
1734617289ad5mowow   // Monopoly Wheel Of Wealth (Mazooma)
17347
1734817290ad5bpfpm   // Bullseye Pounds For Points (Mazooma)
1734917291ad5btc      // Bullseye Triple Club (Bellfruit)
1735017292ad5cmons   // Crazy Money (Bellfruit)
r15523r15524
1737117313ad5vpa      // Video Poker Ace (Bellfruit)
1737217314ad5vlv      // Viva Las Vegas (Bellfruit)
1737317315
17374
17375
17376
17377
1737817316/* Maygay Machines Ltd. */
1737917317
1738017318// Triple M (MMM) Hardware?
r15523r15524
1738317321
1738417322// Maygay M1 A/B hardware
1738517323
17386
1738717324m1albsq      // Albert Square (Maygay)
1738817325m1albsqp
1738917326m1albsq3
r15523r15524
1772517662m1wldzne   // Wild Zone (Maygay)
1772617663m1winenc   // Winners Enclosure (Maygay)
1772717664m1simps      // The Simpsons (Maygay - Bwb)
17728
1772917665m1bghou      // Big Ghoulies (Gemini)
1773017666m1crzco      // Crazy Cobra (Gemini)
17731
1773217667m1hiloc      // Hi Lo Casino (Global)
1773317668m1jtjob      // Just The Job (Global)
1773417669m1kingsw   // King Of The Swingers (Global)
r15523r15524
1774017675m1trtr      // Trick Or Treat (Global)
1774117676m1trtrcl   // Trick Or Treat Club (Global)
1774217677m1vegcrw   // Vegetable Crew (Global)
17743
1774417678m1calyps   // Calypso (Maygay)
1774517679m1cashln   // Cash Lines (Maygay)
1774617680m1races      // A Day At The Races (Maygay)
r15523r15524
1779117725mg_scl      // Super Clue
1779217726mg_kf      // Krypton Factor
1779317727
17794
1779517728// Maygay EPOCH hardware
1779617729ep_simp      // The Simpsons (Maygay)
1779717730ep_dblim   // Double Impact (Maygay - Impulse)
r15523r15524
1809518028
1809618029m4tst      // MPU4 Unit Test (Program 4)
1809718030m4tst2      // MPU4 Unit Test (Program 2)
18098m4clr       // MPU4 Meter Clear ROM
18031m4clr      // MPU4 Meter Clear ROM
1809918032
1810018033
1810118034m4tenten   // 10 X 10 (Barcrest)
r15523r15524
1880618739/* Unsorted */
1880718740
1880818741m4blsbys   // Blues Boys (Version 6)
18809m4conn4     // Connect 4
18742m4conn4      // Connect 4
1881018743
1881118744m4surf      // Super Surfin' (Gemini)
1881218745m4wife      // Money Or Yer Wife (Gemini)
r15523r15524
1885018783m4milrou
1885118784m4kingg
1885218785
18853
1885418786// MPU4 + Video board
1885518787
1885618788/* Barcrest */
1885718789
1885818790v4bios      // MPU4 Video Firmware
18859
1886018791v4cmaze      // The Crystal Maze (v1.3)
1886118792v4cmazedat   //
1886218793v4cmazea   //
r15523r15524
1893318864v4megbuk   // Megabucks Poker
1893418865v4rencas   // Reno Casino
1893518866
18936
18937
18938
1893918867/* Nova (Bwb board) */
1894018868
1894118869v4cybcas   // Cyber Casino
r15523r15524
1894318871v4missis   // Mississippi Lady
1894418872v4picdil   // Piccadilly Nights
1894518873
18946
18947
1894818874/* Zenitone (custom video board) */
1894918875
1895018876v4dealem   // Deal 'Em
1895118877
18952
1895318878// MPU5
1895418879
18955
1895618880/* Barcrest */
1895718881
1895818882m5clr      // MPU 5 Ram & Meter Clear (Barcrest)
r15523r15524
1933819262m5donnad   //
1933919263m5donnaa   //
1934019264m5dblqts   // Double Or Quits (Bwb)
19341m5dblqtsa   //
19265m5dblqtsa   //
1934219266m5eggold   // Egyptian Gold (Bwb)
1934319267m55050      // Fifty Fifty (Bwb)
1934419268m5gpclub   // Get Plastered Club (Bwb)
r15523r15524
1937919303
1938019304// ACE
1938119305
19382sidewndr      // (c) 1981? ACE
19383spellbnd      // (c) 1981? ACE
19384starspnr      // (c) 1982? ACE
19385acefruit      // (c) 1982? ACE
19306sidewndr   // (c) 1981? ACE
19307spellbnd   // (c) 1981? ACE
19308starspnr   // (c) 1982? ACE
19309acefruit   // (c) 1982? ACE
1938619310
1938719311// Ace System 1
1938819312
19389ac1cshtw      // Cash Towers (Ace)
19390ac1clbmn      // Club Money (Ace)
19391ac1gogld      // Go For Gold (Ace)
19392ac1hotpf      // Hot Profit (Ace)
19393ac1pster      // Pound Sterling (Ace)
19394ac1pstrt      // Pound Stretcher (Pcp)
19395ac1primt      // Primetime (Ace)
19396ac1taklv      // Take It Or Leave It (Ace)
19313ac1cshtw   // Cash Towers (Ace)
19314ac1clbmn   // Club Money (Ace)
19315ac1gogld   // Go For Gold (Ace)
19316ac1hotpf   // Hot Profit (Ace)
19317ac1pster   // Pound Sterling (Ace)
19318ac1pstrt   // Pound Stretcher (Pcp)
19319ac1primt   // Primetime (Ace)
19320ac1taklv   // Take It Or Leave It (Ace)
1939719321
19398ac1bbclb      // Big Break Club (Ace)
19399ac1clbsv      // Club Sovereign (Ace)
19400ac1clbxt      // Club Xtra (Ace)
19401ac1piaca      // Play It Again Casino (Ace)
19402ac1piacl      // Play It Again Club (Ace)
19403ac1prmcl      // Premier Club (Ace)
19404ac1rundx      // Runner Deluxe Club (Ace)
19405ac1totb         // Top Of The Bill (Ace)
19406ac1sptb         // Simply The Best (Pcp)
19407ac1shid         // Super Hi De Hi (Ace)
19322ac1bbclb   // Big Break Club (Ace)
19323ac1clbsv   // Club Sovereign (Ace)
19324ac1clbxt   // Club Xtra (Ace)
19325ac1piaca   // Play It Again Casino (Ace)
19326ac1piacl   // Play It Again Club (Ace)
19327ac1prmcl   // Premier Club (Ace)
19328ac1rundx   // Runner Deluxe Club (Ace)
19329ac1totb      // Top Of The Bill (Ace)
19330ac1sptb      // Simply The Best (Pcp)
19331ac1shid      // Super Hi De Hi (Ace)
1940819332
1940919333
1941019334// Ace 'sp.ACE system'
r15523r15524
1948019404up_xpres      // Xpress (Pcp)
1948119405up_roll         // Roll Up (Pcp)
1948219406
19483
1948419407// Project - PROCONN
1948519408
1948619409pr_lday         // 'L' Of A Day (Project)
r15523r15524
1960619529as_hog         // Hearts Of Gold (Astra)
1960719530as_hxr         // Hot Cross Run (Astra)
1960819531as_hr         // Hot Reel (Astra)
19609
1961019532as_djp         // Double Jackpot (Astra)
1961119533as_djpa         //
1961219534as_djpb         //
r15523r15524
1974319665ec_spbxd   // Super Bar X Deluxe (Electrocoin)
1974419666ec_unk1      // Unknown 'Electrocoin' Fruit Machine '300615' (Electrocoin)
1974519667ec_unk5      // Unknown 'Electrocoin' Fruit Machine(s) (Electrocoin)
19746ec_barxmab  // Bar X (MAB PCB) (Electrocoin)
19668ec_barxmab   // Bar X (MAB PCB) (Electrocoin)
1974719669ec_spbg7mab   // Super Big 7 (MAB PCB) (Electrocoin)
19748ec_supbxmab // Super Bar X (MAB PCB) (Electrocoin)
19670ec_supbxmab   // Super Bar X (MAB PCB) (Electrocoin)
1974919671
1975019672// Concept PCB
19751ec_casbxcon // Casino Bar X (Concept - Electrocoin)
19673ec_casbxcon   // Casino Bar X (Concept - Electrocoin)
1975219674ec_multb   // Multi Bar (Concept - Electrocoin)
1975319675ec_casmb   // Casino Multi Bar (Concept - Electrocoin)
1975419676ec_supmb   // Super Multi Bar (Concept - Electrocoin)
r15523r15524
1975619678ec_fltr      // Flutter (Concept)
1975719679ec_gold7   // Golden 7 (Concept)
1975819680ec_mgbel   // Megabell (Concept)
19759ec_supbxcon // Super Bar X (MAB PCB) (Concept - Electrocoin)
19681ec_supbxcon   // Super Bar X (MAB PCB) (Concept - Electrocoin)
1976019682ec_jackb   // Jackpot Bars (MAB PCB) (Concept - Electrocoin)
1976119683ec_ndgxs   // Nudge Excess (MAB PCB) (Concept - Electrocoin)
1976219684ec_rdht7   // Red Hot 7 (MAB PCB) (Concept - Electrocoin)
r15523r15524
19868197905acespkr      // (c) 198?
1986919791
1987019792// Play Mechanix
19871specfrce        // (c) 2002 ICE/Play Mechanix
19793specfrce      // (c) 2002 ICE/Play Mechanix
1987219794jnero         // (c) 2004 ICE/Play Mechanix
1987319795
1987419796// Amatic Trading GMBH
r15523r15524
1990219824dualgame      // (c) 1995 Labtronix Technologies
1990319825hermit         // (c) 1995 Dugamex
1990419826deucesw2      // (c) 1997
19827cj3play         // (c) 1998 Cadillac Jack
1990519828cjffruit      // (c) 1998 Cadillac Jack
1990619829ilpag         // (c) 199? unknown
1990719830
r15523r15524
1995619879circa33
1995719880starshot
1995819881
19959
1996019882// alvg.c
19883
1996119884agsoccer
19885
1996219886wrldtour
1996319887wrldtour2
1996419888usafootb
r15523r15524
2150721431manohman      // 199?, Merkur.
2150821432jankenmn      // 1985, Sunwise.
2150921433
21510flipjack
21434flipjack      // 1983? Jackson Co., Ltd.
2151121435
2151221436
2151321437// TTL logic games
src/mame/audio/jaguar.c
r15523r15524
134134    F1D400          R     xxxxxxxx xxxxxxxx   ROM_AMSINE - amplitude modulated sine wave
135135    F1D600          R     xxxxxxxx xxxxxxxx   ROM_12W - sine wave and second order harmonic
136136    F1D800          R     xxxxxxxx xxxxxxxx   ROM_CHIRP16 - chirp
137    F1DA00          R     xxxxxxxx xxxxxxxx   ROM_NTRI - traingle wave with noise
137    F1DA00          R     xxxxxxxx xxxxxxxx   ROM_NTRI - triangle wave with noise
138138    F1DC00          R     xxxxxxxx xxxxxxxx   ROM_DELTA - spike
139139    F1DE00          R     xxxxxxxx xxxxxxxx   ROM_NOISE - white noise
140140    ------------------------------------------------------------
r15523r15524
250250      /* F1D800 = chirp (sine wave of increasing frequency) */
251251      jaguar_wave_rom[0x200 + i] = (int)(32767. * sin(2.0 * M_PI * (double)i / (double)0x80));
252252
253      /* F1DA00 = traingle wave with noise */
253      /* F1DA00 = triangle wave with noise */
254254      jaguar_wave_rom[0x280 + i] = jaguar_wave_rom[0x000 + i] * (machine.rand() % 32768) / 32768;
255255
256256      /* F1DC00 = spike */
src/mame/audio/taito_en.c
r15523r15524
311311 *************************************/
312312
313313MACHINE_CONFIG_FRAGMENT( taito_en_sound )
314   MCFG_CPU_ADD("audiocpu", M68000, XTAL_16MHz)
314   MCFG_CPU_ADD("audiocpu", M68000, XTAL_30_4761MHz / 2)
315315   MCFG_CPU_PROGRAM_MAP(en_sound_map)
316316
317317   MCFG_DUART68681_ADD("duart68681", XTAL_16MHz / 4, taito_en_duart68681_config)
src/mame/machine/tx1.c
r15523r15524
804804READ16_MEMBER(tx1_state::tx1_spcs_rom_r)
805805{
806806   math_t &math = m_math;
807   math.cpulatch = *(UINT16*)((UINT8*)machine().root_device().memregion("math_cpu")->base() + 0xfc000 + 0x1000 + offset*2);
807   math.cpulatch = *(UINT16*)((UINT8*)machine().root_device().memregion("math_cpu")->base() + 0x04000 + 0x1000 + offset*2);
808808
809809   if (math.mux == TX1_SEL_ILDEN)
810810   {
r15523r15524
12661266READ16_MEMBER(tx1_state::buggyboy_spcs_rom_r)
12671267{
12681268   math_t &math = m_math;
1269   math.cpulatch = *(UINT16*)((UINT8*)machine().root_device().memregion("math_cpu")->base() + 0xfc000 + 0x1000 + offset*2);
1269   math.cpulatch = *(UINT16*)((UINT8*)machine().root_device().memregion("math_cpu")->base() + 0x04000 + 0x1000 + offset*2);
12701270
12711271   if (math.mux == BB_MUX_ILDEN)
12721272   {
src/mame/machine/cd32.c
r15523r15524
112112   else
113113   {
114114      // MAME case
115      state->m_cdrom = cdrom_open(get_disk_handle(machine, "cdrom"));
115      state->m_cdrom = cdrom_open(get_disk_handle(machine, ":cdrom"));
116116      state->m_cdrom_is_device = 0;
117117   }
118118
src/mame/machine/decocass.c
r15523r15524
15631563   state->m_dongle_w = decocass_type2_w;
15641564}
15651565
1566MACHINE_RESET( cfishing )
1567{
1568   decocass_state *state = machine.driver_data<decocass_state>();
1569   decocass_reset_common(machine);
1570   LOG(0,("dongle type #3 (PAL)\n"));
1571   state->m_dongle_r = decocass_type3_r;
1572   state->m_dongle_w = decocass_type3_w;
1573   state->m_type3_swap = TYPE3_SWAP_01;
1574
1575}
1576
15661577MACHINE_RESET( cbtime )
15671578{
15681579   decocass_state *state = machine.driver_data<decocass_state>();
r15523r15524
15711582   state->m_dongle_r = decocass_type3_r;
15721583   state->m_dongle_w = decocass_type3_w;
15731584   state->m_type3_swap = TYPE3_SWAP_12;
1585
15741586}
15751587
15761588MACHINE_RESET( cburnrub )
src/mame/machine/decocass.h
r15523r15524
148148MACHINE_RESET( ctsttape );
149149MACHINE_RESET( chwy );
150150MACHINE_RESET( cdsteljn );
151MACHINE_RESET( cfishing );
151152MACHINE_RESET( cterrani );
152153MACHINE_RESET( castfant );
153154MACHINE_RESET( csuperas );
src/mame/includes/centiped.h
r15523r15524
88{
99public:
1010   centiped_state(const machine_config &mconfig, device_type type, const char *tag)
11      : driver_device(mconfig, type, tag) ,
11      : driver_device(mconfig, type, tag),
1212      m_rambase(*this, "rambase"),
1313      m_videoram(*this, "videoram"),
1414      m_spriteram(*this, "spriteram"),
15      m_bullsdrt_tiles_bankram(*this, "bullsdrt_bank"){ }
15      m_bullsdrt_tiles_bankram(*this, "bullsdrt_bank")
16   { }
1617
1718   optional_shared_ptr<UINT8> m_rambase;
1819   required_shared_ptr<UINT8> m_videoram;
1920   required_shared_ptr<UINT8> m_spriteram;
2021   optional_shared_ptr<UINT8> m_bullsdrt_tiles_bankram;
22
2123   UINT8 m_oldpos[4];
2224   UINT8 m_sign[4];
2325   UINT8 m_dsw_select;
2426   UINT8 m_control_select;
2527   UINT8 m_flipscreen;
26   tilemap_t *m_bg_tilemap;
28   UINT8 m_prg_bank;
29   UINT8 m_gfx_bank;
2730   UINT8 m_bullsdrt_sprites_bank;
2831   UINT8 m_penmask[64];
32   tilemap_t *m_bg_tilemap;
33
34   // drivers/centiped.c
2935   DECLARE_WRITE8_MEMBER(irq_ack_w);
3036   DECLARE_READ8_MEMBER(centiped_IN0_r);
3137   DECLARE_READ8_MEMBER(centiped_IN2_r);
r15523r15524
3945   DECLARE_WRITE8_MEMBER(led_w);
4046   DECLARE_WRITE8_MEMBER(coin_count_w);
4147   DECLARE_WRITE8_MEMBER(bullsdrt_coin_count_w);
48   DECLARE_READ8_MEMBER(caterplr_rand_r);
49   DECLARE_WRITE8_MEMBER(caterplr_AY8910_w);
50   DECLARE_READ8_MEMBER(caterplr_AY8910_r);
51   DECLARE_READ8_MEMBER(multiped_eeprom_r);
52   DECLARE_WRITE8_MEMBER(multiped_eeprom_w);
53   DECLARE_WRITE8_MEMBER(multiped_prgbank_w);
54
55   // video/centiped.c
4256   DECLARE_WRITE8_MEMBER(centiped_videoram_w);
4357   DECLARE_WRITE8_MEMBER(centiped_flip_screen_w);
58   DECLARE_WRITE8_MEMBER(multiped_gfxbank_w);
4459   DECLARE_WRITE8_MEMBER(bullsdrt_tilesbank_w);
4560   DECLARE_WRITE8_MEMBER(bullsdrt_sprites_bank_w);
4661   DECLARE_WRITE8_MEMBER(centiped_paletteram_w);
4762   DECLARE_WRITE8_MEMBER(milliped_paletteram_w);
4863   DECLARE_WRITE8_MEMBER(mazeinv_paletteram_w);
49   DECLARE_READ8_MEMBER(caterplr_rand_r);
50   DECLARE_WRITE8_MEMBER(caterplr_AY8910_w);
51   DECLARE_READ8_MEMBER(caterplr_AY8910_r);
5264};
5365
5466
r15523r15524
6678SCREEN_UPDATE_IND16( warlords );
6779SCREEN_UPDATE_IND16( bullsdrt );
6880
69
70
src/mame/includes/pacman.h
r15523r15524
99public:
1010   pacman_state(const machine_config &mconfig, device_type type, const char *tag)
1111      : driver_device(mconfig, type, tag),
12        m_spriteram(*this, "spriteram"),
13        m_spriteram2(*this, "spriteram2"),
14        m_s2650_spriteram(*this, "s2650_spriteram") ,
12      m_maincpu(*this, "maincpu"),
13      m_spriteram(*this, "spriteram"),
14      m_spriteram2(*this, "spriteram2"),
15      m_s2650_spriteram(*this, "s2650_spriteram"),
1516      m_videoram(*this, "videoram"),
1617      m_colorram(*this, "colorram"),
1718      m_s2650games_tileram(*this, "s2650_tileram"),
18      m_rocktrv2_prot_data(*this, "rocktrv2_prot"){ }
19      m_rocktrv2_prot_data(*this, "rocktrv2_prot")
20   { }
1921
22   required_device<cpu_device> m_maincpu;
2023   optional_shared_ptr<UINT8> m_spriteram;
2124   optional_shared_ptr<UINT8> m_spriteram2;
2225   optional_shared_ptr<UINT8> m_s2650_spriteram;
r15523r15524
97100   DECLARE_WRITE8_MEMBER(jrpacman_spritebank_w);
98101   DECLARE_WRITE8_MEMBER(jrpacman_scroll_w);
99102   DECLARE_WRITE8_MEMBER(jrpacman_bgpriority_w);
103   DECLARE_WRITE8_MEMBER(superabc_bank_w);
100104};
101105
102106
r15523r15524
106110VIDEO_START( pacman );
107111SCREEN_UPDATE_IND16( pacman );
108112
109
110
111113VIDEO_START( pengo );
112114
113
114
115115VIDEO_START( s2650games );
116116SCREEN_UPDATE_IND16( s2650games );
117117
118
119
120
121118VIDEO_START( jrpacman );
122119
123
124120VIDEO_START( birdiy );
125121
126122
src/mame/mame.mak
r15523r15524
977977
978978$(MAMEOBJ)/midway.a: \
979979   $(DRIVERS)/astrocde.o $(VIDEO)/astrocde.o \
980   $(DRIVERS)/atlantis.o \
980981   $(DRIVERS)/balsente.o $(MACHINE)/balsente.o $(VIDEO)/balsente.o \
981982   $(DRIVERS)/gridlee.o $(AUDIO)/gridlee.o $(VIDEO)/gridlee.o \
982983   $(DRIVERS)/mcr.o $(MACHINE)/mcr.o $(VIDEO)/mcr.o \
src/mame/video/centiped.c
r15523r15524
4040   centiped_state *state = machine.driver_data<centiped_state>();
4141   UINT8 *videoram = state->m_videoram;
4242   int data = videoram[tile_index];
43   int bank = (data >> 6) & 1;
43   int bank = ((data >> 6) & 1) | (state->m_gfx_bank << 1);
4444   int color = (data >> 6) & 3;
4545   /* Flip both x and y if flipscreen is non-zero */
4646   int flip_tiles = (state->m_flipscreen) ? 0x03 : 0;
r15523r15524
6363
6464/*************************************
6565 *
66 *  Palette init
66 *  Video system start
6767 *
6868 *************************************/
6969
r15523r15524
8383}
8484
8585
86
87/*************************************
88 *
89 *  Video system start
90 *
91 *************************************/
92
93VIDEO_START( centiped )
86static void init_common(running_machine &machine)
9487{
9588   centiped_state *state = machine.driver_data<centiped_state>();
96   state->m_bg_tilemap = tilemap_create(machine, centiped_get_tile_info, tilemap_scan_rows,  8,8, 32,32);
9789
98   init_penmask(machine);
99
100   state->m_flipscreen = 0;
101
10290   state->save_item(NAME(state->m_flipscreen));
91   state->save_item(NAME(state->m_gfx_bank));
10392   state->save_item(NAME(state->m_bullsdrt_sprites_bank));
93
94   state->m_flipscreen = 0;
95   state->m_gfx_bank = 0;
96   state->m_bullsdrt_sprites_bank = 0;
10497}
10598
10699
107VIDEO_START( warlords )
100VIDEO_START( centiped )
108101{
109   centiped_state *state = machine.driver_data<centiped_state>();
102   init_common(machine);
103   init_penmask(machine);
110104
111   state->m_bg_tilemap = tilemap_create(machine, warlords_get_tile_info, tilemap_scan_rows,  8,8, 32,32);
112
113   state->m_flipscreen = 0;
105   centiped_state *state = machine.driver_data<centiped_state>();
106   state->m_bg_tilemap = tilemap_create(machine, centiped_get_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
114107}
115108
116109
117VIDEO_START( milliped )
110VIDEO_START( warlords )
118111{
112   init_common(machine);
113
119114   centiped_state *state = machine.driver_data<centiped_state>();
115   state->m_bg_tilemap = tilemap_create(machine, warlords_get_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
116}
120117
121   state->m_bg_tilemap = tilemap_create(machine, milliped_get_tile_info, tilemap_scan_rows,  8,8, 32,32);
122118
119VIDEO_START( milliped )
120{
121   init_common(machine);
123122   init_penmask(machine);
124123
125   state->m_flipscreen = 0;
126
127   state->save_item(NAME(state->m_flipscreen));
124   centiped_state *state = machine.driver_data<centiped_state>();
125   state->m_bg_tilemap = tilemap_create(machine, milliped_get_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
128126}
129127
130128
131129VIDEO_START( bullsdrt )
132130{
133   centiped_state *state = machine.driver_data<centiped_state>();
134
135   state->m_bg_tilemap = tilemap_create(machine, bullsdrt_get_tile_info, tilemap_scan_rows,  8,8, 32,32);
136
131   init_common(machine);
137132   init_penmask(machine);
138133
139   state->m_flipscreen = 0;
134   centiped_state *state = machine.driver_data<centiped_state>();
135   state->m_bg_tilemap = tilemap_create(machine, bullsdrt_get_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
140136}
141137
142138
r15523r15524
165161
166162WRITE8_MEMBER(centiped_state::centiped_flip_screen_w)
167163{
168
169164   m_flipscreen = data >> 7;
170165}
171166
r15523r15524
173168
174169/*************************************
175170 *
176 *  Tiles bank
171 *  Graphics bank
177172 *
178173 *************************************/
179174
180WRITE8_MEMBER(centiped_state::bullsdrt_tilesbank_w)
175WRITE8_MEMBER(centiped_state::multiped_gfxbank_w)
181176{
177   // d0-d6: N/C?
178   // d7: gfx rom bank
179   int bank = m_prg_bank | (data >> 6 & 2);
180   if (bank != m_gfx_bank)
181   {
182      m_gfx_bank = bank;
183      m_bg_tilemap->mark_all_dirty();
184   }
185}
182186
187
188WRITE8_MEMBER(centiped_state::bullsdrt_tilesbank_w)
189{
183190   m_bullsdrt_tiles_bankram[offset] = data;
184191   m_bg_tilemap->mark_all_dirty();
185192}
186193
187194
188
189/*************************************
190 *
191 *  Sprites bank
192 *
193 *************************************/
194
195195WRITE8_MEMBER(centiped_state::bullsdrt_sprites_bank_w)
196196{
197
198197   m_bullsdrt_sprites_bank = data;
199198}
200199
r15523r15524
348347
349348***************************************************************************/
350349
351static void melliped_mazeinv_set_color(running_machine &machine, offs_t offset, UINT8 data)
350static void milliped_set_color(running_machine &machine, offs_t offset, UINT8 data)
352351{
353352   rgb_t color;
354353   int bit0, bit1, bit2;
r15523r15524
406405{
407406   m_generic_paletteram_8[offset] = data;
408407
409   melliped_mazeinv_set_color(machine(), offset, data);
408   milliped_set_color(machine(), offset, data);
410409}
411410
412411
r15523r15524
415414   m_generic_paletteram_8[offset] = data;
416415
417416   /* the value passed in is a look-up index into the color PROM */
418   melliped_mazeinv_set_color(machine(), offset, ~machine().root_device().memregion("proms")->base()[~data & 0x0f]);
417   milliped_set_color(machine(), offset, ~machine().root_device().memregion("proms")->base()[~data & 0x0f]);
419418}
420419
421420
r15523r15524
558557   /* draw the sprites */
559558   for (offs = 0; offs < 0x10; offs++)
560559   {
561      int code = ((spriteram[offs] & 0x3e) >> 1) | ((spriteram[offs] & 0x01) << 6);
560      int code = ((spriteram[offs] & 0x3e) >> 1) | ((spriteram[offs] & 0x01) << 6) | (state->m_gfx_bank << 7);
562561      int color = spriteram[offs + 0x30];
563562      int flipx = state->m_flipscreen;
564563      int flipy = (spriteram[offs] & 0x80);
src/mame/video/pacman.c
r15523r15524
344344   if (m_palettebank != data)
345345   {
346346      m_palettebank = data;
347      m_bg_tilemap ->mark_all_dirty();
347      m_bg_tilemap->mark_all_dirty();
348348   }
349349}
350350
r15523r15524
353353   if (m_colortablebank != data)
354354   {
355355      m_colortablebank = data;
356      m_bg_tilemap ->mark_all_dirty();
356      m_bg_tilemap->mark_all_dirty();
357357   }
358358}
359359
r15523r15524
363363   {
364364      m_spritebank = data & 1;
365365      m_charbank = data & 1;
366      m_bg_tilemap ->mark_all_dirty();
366      m_bg_tilemap->mark_all_dirty();
367367   }
368368}
369369
r15523r15524
559559   }
560560}
561561
562/***************************************************************************
563
564  Start the video hardware emulation.
565
566***************************************************************************/
567562VIDEO_START( jrpacman )
568563{
569564   pacman_state *state = machine.driver_data<pacman_state>();
src/mame/drivers/mediagx.c
r15523r15524
960960   AM_RANGE(0x0378, 0x037b) AM_READWRITE(parallel_port_r, parallel_port_w)
961961   AM_RANGE(0x03f0, 0x03ff) AM_READWRITE(fdc_r, fdc_w)
962962   AM_RANGE(0x0400, 0x04ff) AM_READWRITE(ad1847_r, ad1847_w)
963   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
963   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
964964ADDRESS_MAP_END
965965
966966/*****************************************************************************/
r15523r15524
11601160   MCFG_MACHINE_START(mediagx)
11611161   MCFG_MACHINE_RESET(mediagx)
11621162
1163   MCFG_PCI_BUS_ADD("pcibus", 0)
1164   MCFG_PCI_BUS_DEVICE(18, NULL, cx5510_pci_r, cx5510_pci_w)
1163   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
1164   MCFG_PCI_BUS_LEGACY_DEVICE(18, NULL, cx5510_pci_r, cx5510_pci_w)
11651165
11661166   MCFG_PIT8254_ADD( "pit8254", mediagx_pit8254_config )
11671167
src/mame/drivers/balsente.c
r15523r15524
22342234
22352235/* Board: 006-8003-01-0D Rev D */
22362236GAME( 1984, hattrick, 0,        balsente, hattrick, hattrick, ROT0, "Bally/Sente",  "Hat Trick", GAME_SUPPORTS_SAVE )
2237GAME( 1984, trivia12, 0,        balsente, triviag1, triviag1, ROT0, "Bally/Sente",  "Trivial Pursuit (Genus I) (12/14/84)", GAME_SUPPORTS_SAVE )
2237GAME( 1984, trivia12, triviag1, balsente, triviag1, triviag1, ROT0, "Bally/Sente",  "Trivial Pursuit (Think Tank - Genus Edition) (12/14/84)", GAME_SUPPORTS_SAVE )
22382238
22392239/* Board: Unknown (From a picture on eBay Snacks'n Jaxson does not match any documented types here.) */
22402240GAME( 1984, otwalls,  0,        balsente, otwalls,  otwalls,  ROT0, "Bally/Sente",  "Off the Wall (Sente)", GAME_SUPPORTS_SAVE )
r15523r15524
22492249GAME( 1984, triviabb, 0,        balsente, triviag1, triviag2, ROT0, "Bally/Sente",  "Trivial Pursuit (Baby Boomer Edition) (3/20/85)", GAME_SUPPORTS_SAVE )
22502250
22512251/* Board: Unknown  */
2252GAME( 1984, triviag1, 0,        balsente, triviag1, triviag1, ROT0, "Bally/Sente",  "Trivial Pursuit (Genus I) (set 1)", GAME_SUPPORTS_SAVE )
2253GAME( 1984, triviag2, 0,        balsente, triviag1, triviag2, ROT0, "Bally/Sente",  "Trivial Pursuit (Genus II)", GAME_SUPPORTS_SAVE )
2252GAME( 1984, triviag1, 0,        balsente, triviag1, triviag1, ROT0, "Bally/Sente",  "Trivial Pursuit (Think Tank - Genus Edition) (set 1)", GAME_SUPPORTS_SAVE )
2253GAME( 1984, triviag2, 0,        balsente, triviag1, triviag2, ROT0, "Bally/Sente",  "Trivial Pursuit (Genus II Edition)", GAME_SUPPORTS_SAVE )
22542254GAME( 1984, triviasp, 0,        balsente, triviag1, triviag2, ROT0, "Bally/Sente",  "Trivial Pursuit (All Star Sports Edition)", GAME_SUPPORTS_SAVE )
22552255GAME( 1984, triviayp, 0,        balsente, triviag1, triviag2, ROT0, "Bally/Sente",  "Trivial Pursuit (Young Players Edition)", GAME_SUPPORTS_SAVE )
2256GAME( 1987, triviaes, 0,        balsente, triviaes, triviaes, ROT0, "Bally/Sente",  "Trivial Pursuit (Spanish Edition)", GAME_SUPPORTS_SAVE )
2256GAME( 1987, triviaes, 0,        balsente, triviaes, triviaes, ROT0, "Bally/Sente",  "Trivial Pursuit (Spanish)", GAME_SUPPORTS_SAVE )
22572257GAME( 1985, toggle,   0,        balsente, toggle,   toggle,   ROT0, "Bally/Sente",  "Toggle (prototype)", GAME_SUPPORTS_SAVE )
2258GAME( 1986, nametune, 0,        balsente, nametune, nametune, ROT0, "Bally/Sente",  "Name That Tune", GAME_SUPPORTS_SAVE )
2258GAME( 1986, nametune, 0,        balsente, nametune, nametune, ROT0, "Bally/Sente",  "Name That Tune (set 1)", GAME_SUPPORTS_SAVE )
22592259
22602260/* Board: 006-8030-01-0A Rev A */
22612261GAME( 1986, nametune2,nametune, balsente, nametune, nametune, ROT0, "Bally/Sente",  "Name That Tune (3/23/86)", GAME_SUPPORTS_SAVE )
src/mame/drivers/cclimber.c
r15523r15524
12541254
12551255ROM_START( ckongpt2 )
12561256   ROM_REGION( 0x10000, "maincpu", 0 )
1257   ROM_LOAD( "d05-07.bin",   0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1258   ROM_LOAD( "f05-08.bin",   0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1259   ROM_LOAD( "h05-09.bin",   0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
1260   ROM_LOAD( "k05-10.bin",   0x3000, 0x1000, CRC(069c4797) SHA1(03be185e6914ec7f3770ce3da4eb49cdb97adc85) )
1261   ROM_LOAD( "l05-11.bin",   0x4000, 0x1000, CRC(ae159192) SHA1(d467256a3a366e246243e7828ff4a45d4c146e2c) )
1262   ROM_LOAD( "n05-12.bin",   0x5000, 0x1000, CRC(966bc9ab) SHA1(4434fc620169ffea1b1f227b61674e1daf79b54b) )
1257   ROM_LOAD( "7.5d",         0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1258   ROM_LOAD( "8.5e",         0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1259   ROM_LOAD( "9.5h",         0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
1260   ROM_LOAD( "10.5k",        0x3000, 0x1000, CRC(069c4797) SHA1(03be185e6914ec7f3770ce3da4eb49cdb97adc85) )
1261   ROM_LOAD( "11.5l",        0x4000, 0x1000, CRC(ae159192) SHA1(d467256a3a366e246243e7828ff4a45d4c146e2c) )
1262   ROM_LOAD( "12.5n",        0x5000, 0x1000, CRC(966bc9ab) SHA1(4434fc620169ffea1b1f227b61674e1daf79b54b) )
12631263
12641264   ROM_REGION( 0x4000, "gfx1", 0 )
1265   ROM_LOAD( "n11-06.bin",   0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1266   ROM_LOAD( "l11-05.bin",   0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1267   ROM_LOAD( "k11-04.bin",   0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1268   ROM_LOAD( "h11-03.bin",   0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
1265   ROM_LOAD( "6.11n",        0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1266   ROM_LOAD( "5.11l",        0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1267   ROM_LOAD( "4.11k",        0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1268   ROM_LOAD( "3.11h",        0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
12691269
12701270   ROM_REGION( 0x1000, "gfx2", 0 )
1271   ROM_LOAD( "c11-02.bin",   0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1272   ROM_LOAD( "a11-01.bin",   0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
1271   ROM_LOAD( "2.11c",        0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1272   ROM_LOAD( "1.11a",        0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
12731273
12741274   ROM_REGION( 0x0060, "proms", 0 )
12751275   ROM_LOAD( "prom.v6",      0x0000, 0x0020, CRC(b3fc1505) SHA1(5b94adde0428a26b815c7eb9b3f3716470d349c7) )
r15523r15524
12771277   ROM_LOAD( "prom.t6",      0x0040, 0x0020, CRC(676b3166) SHA1(29b9434cd34d43ea5664e436e2a24b54f8d88aac) )
12781278
12791279   ROM_REGION( 0x2000, "samples", 0 )   /* samples */
1280   ROM_LOAD( "cc13j.bin",    0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1281   ROM_LOAD( "cc12j.bin",    0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
1280   ROM_LOAD( "14.5s",        0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1281   ROM_LOAD( "13.5p",        0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
12821282ROM_END
12831283
12841284ROM_START( ckongpt2a )
12851285   ROM_REGION( 0x10000, "maincpu", 0 )
1286   ROM_LOAD( "d05-07.bin",   0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1287   ROM_LOAD( "f05-08.bin",   0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1288   ROM_LOAD( "h05-09.bin",   0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
1286   ROM_LOAD( "7.5d",         0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1287   ROM_LOAD( "8.5e",         0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1288   ROM_LOAD( "9.5h",         0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
12891289   ROM_LOAD( "10.dat",       0x3000, 0x1000, CRC(c3beb501) SHA1(14f49c45fc7c91799034c5a51fca310f0a66b1d7) )
1290   ROM_LOAD( "l05-11.bin",   0x4000, 0x1000, CRC(ae159192) SHA1(d467256a3a366e246243e7828ff4a45d4c146e2c) )
1291   ROM_LOAD( "n05-12.bin",   0x5000, 0x1000, CRC(966bc9ab) SHA1(4434fc620169ffea1b1f227b61674e1daf79b54b) )
1290   ROM_LOAD( "11.5l",        0x4000, 0x1000, CRC(ae159192) SHA1(d467256a3a366e246243e7828ff4a45d4c146e2c) )
1291   ROM_LOAD( "12.5n",        0x5000, 0x1000, CRC(966bc9ab) SHA1(4434fc620169ffea1b1f227b61674e1daf79b54b) )
12921292
12931293   ROM_REGION( 0x4000, "gfx1", 0 )
1294   ROM_LOAD( "n11-06.bin",   0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1295   ROM_LOAD( "l11-05.bin",   0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1296   ROM_LOAD( "k11-04.bin",   0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1297   ROM_LOAD( "h11-03.bin",   0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
1294   ROM_LOAD( "6.11n",        0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1295   ROM_LOAD( "5.11l",        0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1296   ROM_LOAD( "4.11k",        0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1297   ROM_LOAD( "3.11h",        0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
12981298
12991299   ROM_REGION( 0x1000, "gfx2", 0 )
1300   ROM_LOAD( "c11-02.bin",   0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1301   ROM_LOAD( "a11-01.bin",   0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
1300   ROM_LOAD( "2.11c",        0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1301   ROM_LOAD( "1.11a",        0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
13021302
13031303   ROM_REGION( 0x0060, "proms", 0 )
13041304   ROM_LOAD( "prom.v6",      0x0000, 0x0020, CRC(b3fc1505) SHA1(5b94adde0428a26b815c7eb9b3f3716470d349c7) )
r15523r15524
13061306   ROM_LOAD( "prom.t6",      0x0040, 0x0020, CRC(676b3166) SHA1(29b9434cd34d43ea5664e436e2a24b54f8d88aac) )
13071307
13081308   ROM_REGION( 0x2000, "samples", 0 )   /* samples */
1309   ROM_LOAD( "cc13j.bin",    0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1310   ROM_LOAD( "cc12j.bin",    0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
1309   ROM_LOAD( "14.5s",        0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1310   ROM_LOAD( "13.5p",        0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
13111311ROM_END
13121312
13131313ROM_START( ckongpt2j )
13141314   ROM_REGION( 0x10000, "maincpu", 0 )
1315   ROM_LOAD( "d05-07.bin",   0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1316   ROM_LOAD( "f05-08.bin",   0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1317   ROM_LOAD( "h05-09.bin",   0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
1315   ROM_LOAD( "7.5d",         0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1316   ROM_LOAD( "8.5e",         0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1317   ROM_LOAD( "9.5h",         0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
13181318   ROM_LOAD( "10.dat",       0x3000, 0x1000, CRC(c3beb501) SHA1(14f49c45fc7c91799034c5a51fca310f0a66b1d7) )
1319   ROM_LOAD( "11.5l",        0x4000, 0x1000, CRC(4164eb4d) SHA1(ec95f913820375c3f6dd24776b4d3fd04163f5de) )
1320   ROM_LOAD( "n05-12.bin",   0x5000, 0x1000, CRC(966bc9ab) SHA1(4434fc620169ffea1b1f227b61674e1daf79b54b) )
1319   ROM_LOAD( "11.5l(__jp)",  0x4000, 0x1000, CRC(4164eb4d) SHA1(ec95f913820375c3f6dd24776b4d3fd04163f5de) )
1320   ROM_LOAD( "12.5n",        0x5000, 0x1000, CRC(966bc9ab) SHA1(4434fc620169ffea1b1f227b61674e1daf79b54b) )
13211321
13221322   ROM_REGION( 0x4000, "gfx1", 0 )
1323   ROM_LOAD( "n11-06.bin",   0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1324   ROM_LOAD( "l11-05.bin",   0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1325   ROM_LOAD( "k11-04.bin",   0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1326   ROM_LOAD( "h11-03.bin",   0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
1323   ROM_LOAD( "6.11n",        0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1324   ROM_LOAD( "5.11l",        0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1325   ROM_LOAD( "4.11k",        0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1326   ROM_LOAD( "3.11h",        0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
13271327
13281328   ROM_REGION( 0x1000, "gfx2", 0 )
1329   ROM_LOAD( "c11-02.bin",   0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1330   ROM_LOAD( "a11-01.bin",   0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
1329   ROM_LOAD( "2.11c",        0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1330   ROM_LOAD( "1.11a",        0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
13311331
13321332   ROM_REGION( 0x0060, "proms", 0 )
13331333   ROM_LOAD( "prom.v6",      0x0000, 0x0020, CRC(b3fc1505) SHA1(5b94adde0428a26b815c7eb9b3f3716470d349c7) )
r15523r15524
13351335   ROM_LOAD( "prom.t6",      0x0040, 0x0020, CRC(676b3166) SHA1(29b9434cd34d43ea5664e436e2a24b54f8d88aac) )
13361336
13371337   ROM_REGION( 0x2000, "samples", 0 )   /* samples */
1338   ROM_LOAD( "cc13j.bin",    0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1339   ROM_LOAD( "cc12j.bin",    0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
1338   ROM_LOAD( "14.5s",        0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1339   ROM_LOAD( "13.5p",        0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
13401340ROM_END
13411341
13421342ROM_START( ckongpt2jeu )
13431343   ROM_REGION( 0x10000, "maincpu", 0 )
1344   ROM_LOAD( "d05-07.bin",   0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1345   ROM_LOAD( "f05-08.bin",   0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1346   ROM_LOAD( "h05-09.bin",   0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
1344   ROM_LOAD( "7.5d",         0x0000, 0x1000, CRC(b27df032) SHA1(57f9be139c610405e3c2fddd7093dfb1277e450e) )
1345   ROM_LOAD( "8.5e",         0x1000, 0x1000, CRC(5dc1aaba) SHA1(42b9e5946ffce7c156d114bde68f37c2c34853c4) )
1346   ROM_LOAD( "9.5h",         0x2000, 0x1000, CRC(c9054c94) SHA1(1aa08d2501ee620759fd5c111e12f6d432c25294) )
13471347   ROM_LOAD( "ckjeu10.dat",  0x3000, 0x1000, CRC(7e6eeec4) SHA1(98b283ea22bedc46710a24e65cfae48b87a57605) )
1348   ROM_LOAD( "l05-11.bin",   0x4000, 0x1000, CRC(ae159192) SHA1(d467256a3a366e246243e7828ff4a45d4c146e2c) )
1348   ROM_LOAD( "11.5l",        0x4000, 0x1000, CRC(ae159192) SHA1(d467256a3a366e246243e7828ff4a45d4c146e2c) )
13491349   ROM_LOAD( "ckjeu12.dat",  0x5000, 0x1000, CRC(0532f270) SHA1(a73680bd7939097bd821fb6834e8763cf1572b55) )
13501350
13511351   ROM_REGION( 0x4000, "gfx1", 0 )
1352   ROM_LOAD( "n11-06.bin",   0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1353   ROM_LOAD( "l11-05.bin",   0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1354   ROM_LOAD( "k11-04.bin",   0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1355   ROM_LOAD( "h11-03.bin",   0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
1352   ROM_LOAD( "6.11n",        0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1353   ROM_LOAD( "5.11l",        0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1354   ROM_LOAD( "4.11k",        0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1355   ROM_LOAD( "3.11h",        0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
13561356
13571357   ROM_REGION( 0x1000, "gfx2", 0 )
1358   ROM_LOAD( "c11-02.bin",   0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1359   ROM_LOAD( "a11-01.bin",   0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
1358   ROM_LOAD( "2.11c",        0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1359   ROM_LOAD( "1.11a",        0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
13601360
13611361   ROM_REGION( 0x0060, "proms", 0 )
13621362   ROM_LOAD( "prom.v6",      0x0000, 0x0020, CRC(b3fc1505) SHA1(5b94adde0428a26b815c7eb9b3f3716470d349c7) )
r15523r15524
13641364   ROM_LOAD( "prom.t6",      0x0040, 0x0020, CRC(676b3166) SHA1(29b9434cd34d43ea5664e436e2a24b54f8d88aac) )
13651365
13661366   ROM_REGION( 0x2000, "samples", 0 )   /* samples */
1367   ROM_LOAD( "cc13j.bin",    0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1368   ROM_LOAD( "cc12j.bin",    0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
1367   ROM_LOAD( "14.5s",        0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1368   ROM_LOAD( "13.5p",        0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
13691369ROM_END
13701370
13711371
r15523r15524
13791379   ROM_LOAD( "n05-12.rom",   0x5000, 0x1000, CRC(151de90a) SHA1(5d063c4fe6767727d051815120d692818a30ee81) )
13801380
13811381   ROM_REGION( 0x4000, "gfx1", 0 )
1382   ROM_LOAD( "n11-6.bin",    0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1383   ROM_LOAD( "l11-5.bin",    0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1384   ROM_LOAD( "k11-4.bin",    0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1385   ROM_LOAD( "h11-3.bin",    0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
1382   ROM_LOAD( "6.11n",        0x0000, 0x1000, CRC(2dcedd12) SHA1(dfdcfc21bcba7c8e148ee54daae511ca78c58e70) )
1383   ROM_LOAD( "5.11l",        0x1000, 0x1000, CRC(fa7cbd91) SHA1(0208d2ebc59f3600005476b6987472685bc99d67) )
1384   ROM_LOAD( "4.11k",        0x2000, 0x1000, CRC(3375b3bd) SHA1(a00b3c31cff123aab6ac0833aabfdd663302971a) )
1385   ROM_LOAD( "3.11h",        0x3000, 0x1000, CRC(5655cc11) SHA1(5195e9b2a60c54280b48b32ee8248090904dbc51) )
13861386
13871387   ROM_REGION( 0x1000, "gfx2", 0 )
1388   ROM_LOAD( "c11-2.bin",    0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1389   ROM_LOAD( "a11-1.bin",    0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
1388   ROM_LOAD( "2.11c",        0x0000, 0x0800, CRC(d1352c31) SHA1(da726a63a8be830d695afeddc1717749af8c9d47) )
1389   ROM_LOAD( "1.11a",        0x0800, 0x0800, CRC(a7a2fdbd) SHA1(529865f8bbfbdbbf34ac39c70ef17e6d5bd0f845) )
13901390
13911391   ROM_REGION( 0x0060, "proms", 0 )
13921392   ROM_LOAD( "prom.v6",      0x0000, 0x0020, CRC(b3fc1505) SHA1(5b94adde0428a26b815c7eb9b3f3716470d349c7) )
13931393   ROM_LOAD( "prom.u6",      0x0020, 0x0020, CRC(26aada9e) SHA1(f59645e606ea4f0dd0fc4ea47dd03f526c534941) )
13941394   ROM_LOAD( "prom.t6",      0x0040, 0x0020, CRC(676b3166) SHA1(29b9434cd34d43ea5664e436e2a24b54f8d88aac) )
13951395
1396   ROM_REGION( 0x2000, "samples", 0 )  /* samples */
1397   ROM_LOAD( "s05-14.bin",   0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1398   ROM_LOAD( "r05-13.bin",   0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
1396   ROM_REGION( 0x2000, "samples", 0 )   /* samples */
1397   ROM_LOAD( "14.5s",        0x0000, 0x1000, CRC(5f0bcdfb) SHA1(7f79bf6de117348f606696ed7ea1937bbf926612) )
1398   ROM_LOAD( "13.5p",        0x1000, 0x1000, CRC(9003ffbd) SHA1(fd016056aabc23957643f37230f03842294f795e) )
13991399ROM_END
14001400
14011401/* Sets below are 'Crazy Kong' without the extra Falcon screen or Pt. 2 subtitle, they also have worse colours */
src/mame/drivers/atlantis.c
r0r15524
1/***************************************************************************
2
3    Midway "Atlantis" hardware
4
5    skeleton by R. Belmont
6
7    Games supported:
8        * Midway Skins Game
9        * Midway Skins Game Tournament Edition (not dumped)
10        * Midway Swingers Tour (not dumped)
11 
12    Hardware overview:
13        * VR4310 CPU (similar to the N64's VR4300)
14        * VR4373 "Nile 3" system controller / PCI bridge
15        * CMD 646U2 Ultra DMA IDE controller
16        * M4T28-8R128H1 TimeKeeper RTC/CMOS
17        * PLX PCI9050 Bus Target Interface Chip (interfaces ISA-style designs to PCI)
18        * Midway Zeus-series custom video
19        * TL16c552 dual UART
20        * ADSP-2181 based DCS2 audio (unclear which variant)
21 
22    TODO:
23        * Proper VR4373 implementation
24        * Proper PCI bus implementation
25        * PCI peripherals
26 
27***************************************************************************/
28
29#include "emu.h"
30#include "cpu/mips/mips3.h"
31#include "cpu/adsp2100/adsp2100.h"
32#include "machine/idectrl.h"
33#include "machine/midwayic.h"
34#include "audio/dcs.h"
35
36
37class atlantis_state : public driver_device
38{
39public:
40   atlantis_state(const machine_config &mconfig, device_type type, const char *tag)
41      : driver_device(mconfig, type, tag) {}
42};
43
44
45/*************************************
46 *
47 *  Machine start
48 *
49 *************************************/
50
51static MACHINE_START( mwskins )
52{
53//   atlantis_state *state = machine.driver_data<atlantis_state>();
54   /* set the fastest DRC options */
55   mips3drc_set_options(machine.device("maincpu"), MIPS3DRC_FASTEST_OPTIONS);
56}
57
58
59
60/*************************************
61 *
62 *  Machine init
63 *
64 *************************************/
65
66static MACHINE_RESET( mwskins )
67{
68    dcs_reset_w(machine, 1);
69    dcs_reset_w(machine, 0);
70}
71
72
73
74/*************************************
75 *
76 *  Video refresh
77 *
78 *************************************/
79
80static SCREEN_UPDATE_IND16( mwskins )
81{
82   return 0;
83}
84
85
86
87/*************************************
88 *
89 *  Interrupt handling
90 *
91 *************************************/
92
93static void ide_interrupt(device_t *device, int state)
94{
95}
96
97/*************************************
98 *
99 *  Main CPU memory handlers
100 *
101 *************************************/
102
103static ADDRESS_MAP_START( main_map, AS_PROGRAM, 32, atlantis_state )
104   ADDRESS_MAP_UNMAP_HIGH
105    AM_RANGE(0x00000000, 0x007fffff) AM_RAM // 8 MB main RAM
106    // 04000000 - PCI slot (ActionTec modem, ROM dump TBD)
107    // 08000000 - PLX9050 chip (Zeus interface?)
108    // 0F000000 - VR4373 ("Nile 3") registers
109   AM_RANGE(0x1fc00000, 0x1fc7ffff) AM_ROM AM_REGION("user1", 0) AM_SHARE("rombase")
110ADDRESS_MAP_END
111
112
113
114
115/*************************************
116 *
117 *  Port definitions
118 *
119 *************************************/
120
121static INPUT_PORTS_START( mwskins )
122INPUT_PORTS_END
123
124/*************************************
125 *
126 *  Machine driver
127 *
128 *************************************/
129
130static const mips3_config r4310_config =
131{
132   16384,            /* code cache size */
133   16384            /* data cache size */
134};
135
136
137static MACHINE_CONFIG_START( mwskins, atlantis_state )
138
139   /* basic machine hardware */
140   MCFG_CPU_ADD("maincpu", VR4310LE, 166666666)    // clock is TRUSTED
141   MCFG_CPU_CONFIG(r4310_config)
142   MCFG_CPU_PROGRAM_MAP(main_map)
143
144   MCFG_MACHINE_START(mwskins)
145   MCFG_MACHINE_RESET(mwskins)
146
147   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
148
149   /* video hardware */
150   MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
151
152   MCFG_SCREEN_ADD("screen", RASTER)
153   MCFG_SCREEN_REFRESH_RATE(60)
154   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
155   MCFG_SCREEN_SIZE(320, 240)
156   MCFG_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
157   MCFG_SCREEN_UPDATE_STATIC(mwskins)
158
159   MCFG_PALETTE_INIT(BBBBB_GGGGG_RRRRR)
160   MCFG_PALETTE_LENGTH(32768)
161
162   /* sound hardware */
163   MCFG_FRAGMENT_ADD(dcs2_audio_denver)
164MACHINE_CONFIG_END
165
166
167
168/*************************************
169 *
170 *  ROM definition(s)
171 *
172 *************************************/
173
174ROM_START( mwskins )
175   ROM_REGION32_LE( 0x80000, "user1", 0 )   /* 512k for R4310 code */
176    ROM_LOAD( "skins_game_u4_boot_1.00.u4", 0x000000, 0x080000, CRC(0fe87720) SHA1(4b24abbe662a2d7b61e6a3f079e28b73605ba19f) )
177
178   DISK_REGION( "drive_0" )
179   DISK_IMAGE( "mwskins", 0, SHA1(5cb293a6fdb2478293f48ddfc93cdd018acb2bb5) )
180ROM_END
181
182ROM_START( mwskinsa )
183   ROM_REGION32_LE( 0x80000, "user1", 0 )   /* 512k for R4310 code */
184    ROM_LOAD( "skins_game_u4_boot_1.00.u4", 0x000000, 0x080000, CRC(0fe87720) SHA1(4b24abbe662a2d7b61e6a3f079e28b73605ba19f) )
185
186   DISK_REGION( "drive_0" )
187   DISK_IMAGE( "mwskinsa", 0, SHA1(72497917b31156eb11a46bbcc6f22a254dcec044) )
188ROM_END
189
190
191/*************************************
192 *
193 *  Driver initialization
194 *
195 *************************************/
196
197static DRIVER_INIT( mwskins )
198{
199   dcs2_init(machine, 8, 0);
200}
201
202/*************************************
203 *
204 *  Game driver(s)
205 *
206 *************************************/
207
208GAME( 2000, mwskins,    0,      mwskins, mwskins,  mwskins,   ROT0, "Midway", "Skins Game (1.06)", GAME_NOT_WORKING | GAME_NO_SOUND )
209GAME( 2000, mwskinsa, mwskins,  mwskins, mwskins,  mwskins,   ROT0, "Midway", "Skins Game (unknown alt. version)", GAME_NOT_WORKING | GAME_NO_SOUND )
210
src/mame/drivers/viper.c
r15523r15524
384384
385385READ64_MEMBER(viper_state::pci_config_addr_r)
386386{
387   pci_bus_device *device = machine().device<pci_bus_device>("pcibus");
387   pci_bus_legacy_device *device = machine().device<pci_bus_legacy_device>("pcibus");
388388   return device->read_64be(space, 0, U64(0xffffffff00000000));
389389}
390390
391391WRITE64_MEMBER(viper_state::pci_config_addr_w)
392392{
393   pci_bus_device *device = machine().device<pci_bus_device>("pcibus");
393   pci_bus_legacy_device *device = machine().device<pci_bus_legacy_device>("pcibus");
394394   device->write_64be(space, 0, data, U64(0xffffffff00000000));
395395}
396396
397397READ64_MEMBER(viper_state::pci_config_data_r)
398398{
399   pci_bus_device *device = machine().device<pci_bus_device>("pcibus");
399   pci_bus_legacy_device *device = machine().device<pci_bus_legacy_device>("pcibus");
400400   return device->read_64be(space, 1, U64(0x00000000ffffffff)) << 32;
401401}
402402
403403WRITE64_MEMBER(viper_state::pci_config_data_w)
404404{
405   pci_bus_device *device = machine().device<pci_bus_device>("pcibus");
405   pci_bus_legacy_device *device = machine().device<pci_bus_legacy_device>("pcibus");
406406   device->write_64be(space, 1, data >> 32, U64(0x00000000ffffffff));
407407}
408408
r15523r15524
19761976   MCFG_MACHINE_START(viper)
19771977   MCFG_MACHINE_RESET(viper)
19781978
1979   MCFG_PCI_BUS_ADD("pcibus", 0)
1980   MCFG_PCI_BUS_DEVICE(0, "mpc8240", mpc8240_pci_r, mpc8240_pci_w)
1981   MCFG_PCI_BUS_DEVICE(12, "voodoo", voodoo3_pci_r, voodoo3_pci_w)
1979   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
1980   MCFG_PCI_BUS_LEGACY_DEVICE(0, "mpc8240", mpc8240_pci_r, mpc8240_pci_w)
1981   MCFG_PCI_BUS_LEGACY_DEVICE(12, "voodoo", voodoo3_pci_r, voodoo3_pci_w)
19821982
19831983   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
19841984   MCFG_3DFX_VOODOO_3_ADD("voodoo", STD_VOODOO_3_CLOCK, 8, "screen")
src/mame/drivers/qix.c
r15523r15524
630630
631631ROM_START( qix )
632632   ROM_REGION( 0x10000, "maincpu", 0 )
633   ROM_LOAD( "u12", 0xc000, 0x0800, CRC(aad35508) SHA1(5fa72e00b4373de21e27a86b49a44a9769f769f4) )
634   ROM_LOAD( "u13", 0xc800, 0x0800, CRC(46c13504) SHA1(19c084c38b75f14bf5094b317afeecaca6870f7a) )
635   ROM_LOAD( "u14", 0xd000, 0x0800, CRC(5115e896) SHA1(8359a1700fff7a38e8ea4f92a4f18bc628cf1cb1) )
636   ROM_LOAD( "u15", 0xd800, 0x0800, CRC(ccd52a1b) SHA1(86d134cd769ef12820638b96a4ffedd8b15dffd2) )
637   ROM_LOAD( "u16", 0xe000, 0x0800, CRC(cd1c36ee) SHA1(b379b1fe3109947a12c9683cd0c2400c2ee845b3) )
638   ROM_LOAD( "u17", 0xe800, 0x0800, CRC(1acb682d) SHA1(a2c60964e8d838d09662f8a670c6da41ba850df9) )
639   ROM_LOAD( "u18", 0xf000, 0x0800, CRC(de77728b) SHA1(8e183bb27858aad9a996e4a2e5a95f0145d1f5b4) )
640   ROM_LOAD( "u19", 0xf800, 0x0800, CRC(c0994776) SHA1(9452a98c78a038679c4e58f4a9983adb28ea5e78) )
633   ROM_LOAD( "qq12_rev2.u12", 0xc000, 0x0800, CRC(aad35508) SHA1(5fa72e00b4373de21e27a86b49a44a9769f769f4) )
634   ROM_LOAD( "qq13_rev2.u13", 0xc800, 0x0800, CRC(46c13504) SHA1(19c084c38b75f14bf5094b317afeecaca6870f7a) )
635   ROM_LOAD( "qq14_rev2.u14", 0xd000, 0x0800, CRC(5115e896) SHA1(8359a1700fff7a38e8ea4f92a4f18bc628cf1cb1) )
636   ROM_LOAD( "qq15_rev2.u15", 0xd800, 0x0800, CRC(ccd52a1b) SHA1(86d134cd769ef12820638b96a4ffedd8b15dffd2) )
637   ROM_LOAD( "qq16_rev2.u16", 0xe000, 0x0800, CRC(cd1c36ee) SHA1(b379b1fe3109947a12c9683cd0c2400c2ee845b3) )
638   ROM_LOAD( "qq17_rev2.u17", 0xe800, 0x0800, CRC(1acb682d) SHA1(a2c60964e8d838d09662f8a670c6da41ba850df9) )
639   ROM_LOAD( "qq18_rev2.u18", 0xf000, 0x0800, CRC(de77728b) SHA1(8e183bb27858aad9a996e4a2e5a95f0145d1f5b4) )
640   ROM_LOAD( "qq19_rev2.u19", 0xf800, 0x0800, CRC(c0994776) SHA1(9452a98c78a038679c4e58f4a9983adb28ea5e78) )
641641
642642   ROM_REGION( 0x10000, "videocpu", 0 )
643   ROM_LOAD( "u4",  0xc800, 0x0800, CRC(5b906a09) SHA1(84a2e817d6718e0276fcea702811a91bc054a670) )
644   ROM_LOAD( "u5",  0xd000, 0x0800, CRC(254a3587) SHA1(66045c71cc1d04d4e03c728e578f570fbf7c650d) )
645   ROM_LOAD( "u6",  0xd800, 0x0800, CRC(ace30389) SHA1(50c6275d13cfbca7750d5a3e725faedba7574e04) )
646   ROM_LOAD( "u7",  0xe000, 0x0800, CRC(8ebcfa7c) SHA1(21ccf5e74424ab5470473d1059ee6a43d144f685) )
647   ROM_LOAD( "u8",  0xe800, 0x0800, CRC(b8a3c8f9) SHA1(32ba771913ef44b1133ecfaedaae7f96dcc84343) )
648   ROM_LOAD( "u9",  0xf000, 0x0800, CRC(26cbcd55) SHA1(2e55e222f850548cd1d461ab5337e98dd817b567) )
649   ROM_LOAD( "u10", 0xf800, 0x0800, CRC(568be942) SHA1(8b6a01d983d355a64372fa76af810ab53e09d5df) )
643   ROM_LOAD( "qq4_rev2.u4",   0xc800, 0x0800, CRC(5b906a09) SHA1(84a2e817d6718e0276fcea702811a91bc054a670) )
644   ROM_LOAD( "qq5_rev2.u5",   0xd000, 0x0800, CRC(254a3587) SHA1(66045c71cc1d04d4e03c728e578f570fbf7c650d) )
645   ROM_LOAD( "qq6_rev2.u6",   0xd800, 0x0800, CRC(ace30389) SHA1(50c6275d13cfbca7750d5a3e725faedba7574e04) )
646   ROM_LOAD( "qq7_rev2.u7",   0xe000, 0x0800, CRC(8ebcfa7c) SHA1(21ccf5e74424ab5470473d1059ee6a43d144f685) )
647   ROM_LOAD( "qq8_rev2.u8",   0xe800, 0x0800, CRC(b8a3c8f9) SHA1(32ba771913ef44b1133ecfaedaae7f96dcc84343) )
648   ROM_LOAD( "qq9_rev2.u9",   0xf000, 0x0800, CRC(26cbcd55) SHA1(2e55e222f850548cd1d461ab5337e98dd817b567) )
649   ROM_LOAD( "qq10_rev2.u10", 0xf800, 0x0800, CRC(568be942) SHA1(8b6a01d983d355a64372fa76af810ab53e09d5df) )
650650
651651   ROM_REGION( 0x10000, "audiocpu", 0 )
652   ROM_LOAD( "u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
652   ROM_LOAD( "qq27.u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
653653ROM_END
654654
655655// original taito board 08-00003-001
r15523r15524
675675   ROM_LOAD( "u10_", 0xf800, 0x0800, CRC(b40f084a) SHA1(16811b8f24b955a72f2a0950e9688cbd0e26afa4) )
676676
677677   ROM_REGION( 0x10000, "audiocpu", 0 )
678   ROM_LOAD( "u27",    0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
678   ROM_LOAD( "qq27.u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
679679ROM_END
680680
681681// same set as above, but with larger roms
r15523r15524
693693   ROM_LOAD( "lk13.bin", 0xf000, 0x1000, CRC(51c9853b) SHA1(29a5221f2af866d2ee73110409ecddc2c96404fd) )
694694
695695   ROM_REGION( 0x10000, "audiocpu", 0 )
696   ROM_LOAD( "u27",      0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
696   ROM_LOAD( "qq27.u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
697697ROM_END
698698
699699
700ROM_START( qixo )
700ROM_START( qixo ) /* ROMs might have the "QX" game prefix instead of "QU" this is verified */
701701   ROM_REGION( 0x10000, "maincpu", 0 )
702702   ROM_LOAD( "qu12", 0xc000, 0x0800, CRC(1c55b44d) SHA1(6385e5e484e24cf396c14de86344170639c3cc65) )
703703   ROM_LOAD( "qu13", 0xc800, 0x0800, CRC(20279e8c) SHA1(722da239636de3fe40318768ddbe687b19afcdb6) )
704704   ROM_LOAD( "qu14", 0xd000, 0x0800, CRC(bafe3ce3) SHA1(648a54545a1b545c82c0ace5eb1ce17af5ea7391) )
705705   /* d800-dfff empty */
706   ROM_LOAD( "qu16", 0xe000, 0x0800, CRC(db560753) SHA1(4acbe17f1e555f45606ddec197c5ab691ff46d39) )
706   ROM_LOAD( "qu16", 0xe000, 0x0800, CRC(db560753) SHA1(4acbe17f1e555f45606ddec197c5ab691ff46d39) ) /* The QX version labels this rom as QX16-1 */
707707   ROM_LOAD( "qu17", 0xe800, 0x0800, CRC(8c7aeed8) SHA1(b7da2b0f34f72f9853cdf6ce55e604b09fcf4728) )
708708   ROM_LOAD( "qu18", 0xf000, 0x0800, CRC(353be980) SHA1(a50e02fcc69771a13b238aa0e8dc3c56b01a58d5) )
709   ROM_LOAD( "qu19", 0xf800, 0x0800, CRC(f46a69ca) SHA1(dacb53c0318445da3fbb86f9a45914c5b7a4c4a1) )
709   ROM_LOAD( "qu19", 0xf800, 0x0800, CRC(f46a69ca) SHA1(dacb53c0318445da3fbb86f9a45914c5b7a4c4a1) ) /* The QX version labels this rom as QX19-1 */
710710
711711   ROM_REGION( 0x10000, "videocpu", 0 )
712712   ROM_LOAD( "qu3",  0xc000, 0x0800, CRC(8b4c0ef0) SHA1(6d18d1052f342e3b3313f2174b20f2a179e2c6bd) )
r15523r15524
719719   ROM_LOAD( "qu10", 0xf800, 0x0800, CRC(88b45037) SHA1(e2e5fefe377def3f784026b921527898af8b83a9) )
720720
721721   ROM_REGION( 0x10000, "audiocpu", 0 )
722   ROM_LOAD( "u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
722   ROM_LOAD( "qu27.u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) )
723723ROM_END
724724
725725
r15523r15524
13261326 *
13271327 *************************************/
13281328
1329GAME( 1981, qix,      0,        qix,      qix,      0,       ROT270, "Taito America Corporation", "Qix (set 1)", GAME_SUPPORTS_SAVE ) // newest set?  closest to 'qix2'
1329GAME( 1981, qix,      0,        qix,      qix,      0,       ROT270, "Taito America Corporation", "Qix (Rev 2)", GAME_SUPPORTS_SAVE ) // newest set?  closest to 'qix2'
13301330GAME( 1981, qixa,     qix,      qix,      qix,      0,       ROT270, "Taito America Corporation", "Qix (set 2, smaller roms)", GAME_SUPPORTS_SAVE )
13311331GAME( 1981, qixb,     qix,      qix,      qix,      0,       ROT270, "Taito America Corporation", "Qix (set 2, larger roms)", GAME_SUPPORTS_SAVE )
13321332GAME( 1981, qixo,     qix,      qix,      qix,      0,       ROT270, "Taito America Corporation", "Qix (set 3, earlier)", GAME_SUPPORTS_SAVE ) // oldest set / prototype? has incorrect spelling 'deutch' and doesn't allow language selection to be changed
src/mame/drivers/voyager.c
r15523r15524
449449   AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
450450   AM_RANGE(0x03f8, 0x03ff) AM_NOP // To debug Serial Port COM1:
451451   AM_RANGE(0x0a78, 0x0a7b) AM_WRITENOP//AM_WRITE_LEGACY(pnp_data_w)
452   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
452   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
453453   AM_RANGE(0x42e8, 0x43ef) AM_NOP //To debug
454454   AM_RANGE(0x43c0, 0x43cf) AM_RAM AM_SHARE("share1")
455455   AM_RANGE(0x46e8, 0x46ef) AM_NOP //To debug
r15523r15524
778778   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
779779
780780   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
781   MCFG_PCI_BUS_ADD("pcibus", 0)
782   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
783   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
781   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
782   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
783   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
784784
785785   /* video hardware */
786786   MCFG_FRAGMENT_ADD( pcvideo_vga )
src/mame/drivers/centiped.c
r15523r15524
2222      136001-305.fh1
2323      136001-306.j1
2424
25    Milipede:
25    Millipede:
2626      136013-109.5p
2727      136013-110.5r
2828
r15523r15524
428428#include "emu.h"
429429#include "cpu/m6502/m6502.h"
430430#include "cpu/s2650/s2650.h"
431#include "machine/eeprom.h"
431432#include "machine/atari_vg.h"
432433#include "includes/centiped.h"
433434#include "sound/ay8910.h"
r15523r15524
460461   state->save_item(NAME(state->m_oldpos));
461462   state->save_item(NAME(state->m_sign));
462463   state->save_item(NAME(state->m_dsw_select));
464   state->save_item(NAME(state->m_prg_bank));
463465}
464466
465467
r15523r15524
470472   cputag_set_input_line(machine, "maincpu", 0, CLEAR_LINE);
471473   state->m_dsw_select = 0;
472474   state->m_control_select = 0;
475   state->m_prg_bank = 0;
473476}
474477
475478
r15523r15524
571574     * the inputs, and has the good side effect of disabling
572575     * the actual Joy1 inputs while control_select is no zero.
573576     */
574   if (0 != m_control_select) {
577   if (m_control_select != 0)
578   {
575579      /* Bottom 4 bits is our joystick inputs */
576580      UINT8 joy2data = ioport("IN3")->read() & 0x0f;
577581      data = data & 0xf0; /* Keep the top 4 bits */
r15523r15524
583587
584588WRITE8_MEMBER(centiped_state::input_select_w)
585589{
586
587590   m_dsw_select = (~data >> 7) & 1;
588591}
589592
590593/* used P2 controls if 1, P1 controls if 0 */
591594WRITE8_MEMBER(centiped_state::control_select_w)
592595{
593
594596   m_control_select = (data >> 7) & 1;
595597}
596598
r15523r15524
605607
606608WRITE8_MEMBER(centiped_state::mazeinv_input_select_w)
607609{
608
609610   m_control_select = offset & 3;
610611}
611612
r15523r15524
616617      case 0x0033:
617618      case 0x6b19:
618619         return 0x01;
620     
621      default:
622         break;
619623   }
620624
621625   return 0;
r15523r15524
656660
657661/*************************************
658662 *
659 *  Bootleg sound
660 *
661 *************************************/
662
663WRITE8_MEMBER(centiped_state::caterplr_AY8910_w)
664{
665   device_t *device = machine().device("pokey");
666   ay8910_address_w(device, 0, offset);
667   ay8910_data_w(device, 0, data);
668}
669
670
671READ8_MEMBER(centiped_state::caterplr_AY8910_r)
672{
673   device_t *device = machine().device("pokey");
674   ay8910_address_w(device, 0, offset);
675   return ay8910_r(device, 0);
676}
677
678
679
680/*************************************
681 *
682663 *  Centipede CPU memory handlers
683664 *
684665 *************************************/
r15523r15524
706687   AM_RANGE(0x2000, 0x3fff) AM_ROM
707688ADDRESS_MAP_END
708689
690
709691static ADDRESS_MAP_START( centiped_map, AS_PROGRAM, 8, centiped_state )
710692   AM_IMPORT_FROM(centiped_base_map)
711693   AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey", pokey_device, read, write)
712694ADDRESS_MAP_END
713695
714static ADDRESS_MAP_START( magworm_map, AS_PROGRAM, 8, centiped_state )
715   AM_IMPORT_FROM(centiped_base_map)
716   AM_RANGE(0x1001, 0x1001) AM_DEVWRITE_LEGACY("pokey", ay8910_address_w)
717   AM_RANGE(0x1003, 0x1003) AM_DEVREADWRITE_LEGACY("pokey", ay8910_r, ay8910_data_w)
718ADDRESS_MAP_END
719696
720static ADDRESS_MAP_START( caterplr_map, AS_PROGRAM, 8, centiped_state )
721   AM_IMPORT_FROM(centiped_base_map)
722   AM_RANGE(0x1780, 0x1780) AM_READ(caterplr_rand_r)
723   AM_RANGE(0x1000, 0x100f) AM_READWRITE(caterplr_AY8910_r, caterplr_AY8910_w)
724ADDRESS_MAP_END
697//// Centipede bootlegs ////
725698
726
727699static ADDRESS_MAP_START( centipdb_map, AS_PROGRAM, 8, centiped_state )
728700   ADDRESS_MAP_GLOBAL_MASK(0x7fff)
729701   AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x4000) AM_RAM
r15523r15524
751723ADDRESS_MAP_END
752724
753725
726static ADDRESS_MAP_START( magworm_map, AS_PROGRAM, 8, centiped_state )
727   AM_IMPORT_FROM(centiped_base_map)
728   AM_RANGE(0x1001, 0x1001) AM_DEVWRITE_LEGACY("pokey", ay8910_address_w)
729   AM_RANGE(0x1003, 0x1003) AM_DEVREADWRITE_LEGACY("pokey", ay8910_r, ay8910_data_w)
730ADDRESS_MAP_END
754731
732
733static ADDRESS_MAP_START( caterplr_map, AS_PROGRAM, 8, centiped_state )
734   AM_IMPORT_FROM(centiped_base_map)
735   AM_RANGE(0x1780, 0x1780) AM_READ(caterplr_rand_r)
736   AM_RANGE(0x1000, 0x100f) AM_READWRITE(caterplr_AY8910_r, caterplr_AY8910_w)
737ADDRESS_MAP_END
738
739WRITE8_MEMBER(centiped_state::caterplr_AY8910_w)
740{
741   device_t *device = machine().device("pokey");
742   ay8910_address_w(device, 0, offset);
743   ay8910_data_w(device, 0, data);
744}
745
746READ8_MEMBER(centiped_state::caterplr_AY8910_r)
747{
748   device_t *device = machine().device("pokey");
749   ay8910_address_w(device, 0, offset);
750   return ay8910_r(device, 0);
751}
752
753
754
755755/*************************************
756756 *
757757 *  Millipede CPU memory handlers
r15523r15524
787787
788788/*************************************
789789 *
790 *  Multipede CPU memory handlers
791 *
792 *************************************/
793
794/*
795 Multipede is a daughterboard kit produced by Braze Technologies
796 from 2002(1st version) to 2004(1.2a). It allows users to play
797 Centipede and Millipede on one board.
798 The game can be switched at any time with P1+P2 start.
799
800 - M6502 CPU (from main pcb)
801 - 27C512 64KB EPROM
802 - 93C46P E2PROM for saving highscore/settings
803 - PALCE22V10H-25PC/4
804 - 74LS245
805 - 2*8KB gfx roms, on a separate smaller daughterboard
806
807 TODO: centiped does not work yet, the game reconfigures the memorymap
808*/
809
810static ADDRESS_MAP_START( multiped_map, AS_PROGRAM, 8, centiped_state )
811   AM_RANGE(0x0000, 0x03ff) AM_RAM
812   AM_RANGE(0x0400, 0x040f) AM_DEVREADWRITE("pokey", pokey_device, read, write)
813   AM_RANGE(0x0800, 0x080f) AM_DEVREADWRITE("pokey2", pokey_device, read, write)
814   AM_RANGE(0x1000, 0x13bf) AM_RAM_WRITE(centiped_videoram_w) AM_SHARE("videoram")
815   AM_RANGE(0x13c0, 0x13ff) AM_RAM AM_SHARE("spriteram")
816   AM_RANGE(0x2000, 0x2000) AM_READ(centiped_IN0_r)
817   AM_RANGE(0x2001, 0x2001) AM_READ(milliped_IN1_r)
818   AM_RANGE(0x2010, 0x2010) AM_READ(milliped_IN2_r)
819   AM_RANGE(0x2011, 0x2011) AM_READ_PORT("IN3")
820   AM_RANGE(0x2030, 0x2030) AM_READNOP
821   AM_RANGE(0x2480, 0x249f) AM_WRITE(milliped_paletteram_w) AM_SHARE("paletteram")
822   AM_RANGE(0x2500, 0x2502) AM_WRITE(coin_count_w)
823   AM_RANGE(0x2503, 0x2504) AM_WRITE(led_w)
824   AM_RANGE(0x2505, 0x2505) AM_WRITE(input_select_w)
825   AM_RANGE(0x2506, 0x2506) AM_WRITE(centiped_flip_screen_w)
826   AM_RANGE(0x2507, 0x2507) AM_WRITE(control_select_w)
827   AM_RANGE(0x2600, 0x2600) AM_WRITE(irq_ack_w)
828   AM_RANGE(0x2680, 0x2680) AM_WRITE(watchdog_reset_w)
829   AM_RANGE(0x2700, 0x2700) AM_WRITENOP
830   AM_RANGE(0x2780, 0x27bf) AM_WRITENOP
831   AM_RANGE(0x4000, 0x5fff) AM_ROM
832   AM_RANGE(0x6000, 0x7fff) AM_MIRROR(0x8000) AM_ROM
833   AM_RANGE(0x8000, 0xbfff) AM_ROM
834   AM_RANGE(0xd000, 0xd7ff) AM_WRITE(multiped_eeprom_w)
835   AM_RANGE(0xd800, 0xd800) AM_MIRROR(0x03ff) AM_READWRITE(multiped_eeprom_r, multiped_prgbank_w)
836   AM_RANGE(0xdc00, 0xdc00) AM_MIRROR(0x03ff) AM_WRITE(multiped_gfxbank_w)
837ADDRESS_MAP_END
838
839READ8_MEMBER(centiped_state::multiped_eeprom_r)
840{
841   eeprom_device *eeprom = machine().device<eeprom_device>("eeprom");
842   return eeprom->read_bit() ? 0x80 : 0;
843}
844
845WRITE8_MEMBER(centiped_state::multiped_eeprom_w)
846{
847   eeprom_device *eeprom = machine().device<eeprom_device>("eeprom");
848
849   // a0: always high
850   // a3-a7: always low
851   // a8-a10: same as a0-a2
852   // d0-d6: N/C?
853
854   // a1 low: latch bit
855   if (~offset & 2)
856      eeprom->write_bit((data & 0x80) ? 1 : 0);
857
858   // a2 low: write latch or select next bit to read
859   if (~offset & 4)
860      eeprom->set_clock_line((~data & 0x80) ? ASSERT_LINE : CLEAR_LINE);
861
862   // both high: reset
863   else if (offset & 2)
864      eeprom->set_cs_line((data & 0x80) ? CLEAR_LINE : ASSERT_LINE);
865}
866
867WRITE8_MEMBER(centiped_state::multiped_prgbank_w)
868{
869   // d0-d6: N/C?
870   // d7: prg (and gfx) rom bank
871   int bank = (data & 0x80) ? 1 : 0;
872   if (bank != m_prg_bank)
873   {
874      m_prg_bank = bank;
875      multiped_gfxbank_w(space, 0, m_gfx_bank << 6);
876     
877      // TODO: prg bankswitch and alt memory map layout for centiped
878   }
879}
880
881
882
883/*************************************
884 *
790885 *  Warlords CPU memory handlers
791886 *
792887 *************************************/
r15523r15524
12351330INPUT_PORTS_END
12361331
12371332
1333static INPUT_PORTS_START( multiped )
1334   // milliped board, but hard-dips are not used
1335   PORT_INCLUDE( milliped )
1336
1337   PORT_MODIFY("IN0")
1338   PORT_DIPUNUSED_DIPLOC( 0x01, 0x00, "P8:!1" )
1339   PORT_DIPUNUSED_DIPLOC( 0x02, 0x00, "P8:!2" )
1340   PORT_DIPUNUSED_DIPLOC( 0x04, 0x00, "P8:!3" )
1341   PORT_DIPUNUSED_DIPLOC( 0x08, 0x00, "P8:!4" )
1342
1343   PORT_MODIFY("IN1")
1344   PORT_DIPUNUSED_DIPLOC( 0x04, 0x00, "P8:!7" )
1345   PORT_DIPUNUSED_DIPLOC( 0x08, 0x00, "P8:!8" )
1346
1347   PORT_MODIFY("DSW1")
1348   PORT_DIPUNUSED_DIPLOC( 0x01, 0x00, "D5:!1" )
1349   PORT_DIPUNUSED_DIPLOC( 0x02, 0x00, "D5:!2" )
1350   PORT_DIPUNUSED_DIPLOC( 0x04, 0x00, "D5:!3" )
1351   PORT_DIPUNUSED_DIPLOC( 0x08, 0x00, "D5:!4" )
1352   PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "D5:!5" )
1353   PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "D5:!6" )
1354   PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "D5:!7" )
1355   PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "D5:!8" )
1356
1357   PORT_MODIFY("DSW2")
1358   PORT_DIPUNUSED_DIPLOC( 0x01, 0x00, "B5:!1" )
1359   PORT_DIPUNUSED_DIPLOC( 0x02, 0x00, "B5:!2" )
1360   PORT_DIPUNUSED_DIPLOC( 0x04, 0x00, "B5:!3" )
1361   PORT_DIPUNUSED_DIPLOC( 0x08, 0x00, "B5:!4" )
1362   PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "B5:!5" )
1363   PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "B5:!6" )
1364   PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "B5:!7" )
1365   PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "B5:!8" )
1366INPUT_PORTS_END
1367
1368
12381369static INPUT_PORTS_START( warlords )
12391370   PORT_START("IN0")
12401371   PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNUSED )
r15523r15524
17221853MACHINE_CONFIG_END
17231854
17241855
1856static MACHINE_CONFIG_DERIVED( multiped, milliped )
1857
1858   /* basic machine hardware */
1859   MCFG_CPU_MODIFY("maincpu")
1860   MCFG_CPU_PROGRAM_MAP(multiped_map)
1861
1862   MCFG_DEVICE_REMOVE("earom")
1863   MCFG_EEPROM_93C46_8BIT_ADD("eeprom")
1864MACHINE_CONFIG_END
1865
1866
17251867static MACHINE_CONFIG_DERIVED( warlords, centiped )
17261868
17271869   /* basic machine hardware */
r15523r15524
18061948ROM_END
18071949
18081950
1809ROM_START( centipdd ) /* Centipede "Dux" graphics hack by Two Bit Score */
1951ROM_START( centipdd ) /* Centipede "Dux" graphics hack by Two-Bit Score in 1989 */
18101952   ROM_REGION( 0x10000, "maincpu", 0 )
18111953   ROM_LOAD( "136001-307.d1",  0x2000, 0x0800, CRC(5ab0d9de) SHA1(8ea6e3304202831aabaf31dbd0f970a7b3bfe421) )
18121954   ROM_LOAD( "136001-308.e1",  0x2800, 0x0800, CRC(4c07fd3e) SHA1(af4fdbf32c23b1864819d620a874e7f205da3cdb) )
r15523r15524
19332075ROM_END
19342076
19352077
1936ROM_START( millipdd ) /* Millipede "Dux" graphics hack by Two Bit Score */
2078ROM_START( millipdd ) /* Millipede "Dux" graphics hack by Two-Bit Score in 1989 */
19372079   ROM_REGION( 0x10000, "maincpu", 0 )
19382080   ROM_LOAD( "136013-104.1mn", 0x4000, 0x1000, CRC(40711675) SHA1(b595d6a0f5d3c611ade1b83a94c3b909d2124dc4) )
19392081   ROM_LOAD( "136013-103.1l",  0x5000, 0x1000, CRC(fb01baf2) SHA1(9c1d0bbc20bf25dd21761a311fd1ed80aa029241) )
r15523r15524
19492091ROM_END
19502092
19512093
2094ROM_START( multiped )
2095   ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) // banked, decrypted rom goes here
2096
2097   ROM_REGION( 0x10000, "user1", 0 )
2098   ROM_LOAD("cm_12a.bin", 0x00000, 0x10000, CRC(8248d42c) SHA1(613f449de99659714abdf86d1be4d9d68f624da2) )
2099
2100   ROM_REGION( 0x4000, "gfx1", 0 )
2101   ROM_LOAD( "cm_5r.bin", 0x0000, 0x2000, CRC(45613f22) SHA1(5d512a286ca9e008bd2f0fdbc2f8cb9c006e3ac7) )
2102   ROM_LOAD( "cm_5p.bin", 0x2000, 0x2000, CRC(cfbc3622) SHA1(a22da8f9b28effcd90794cb87ebc2afdf3fc4282) )
2103
2104   ROM_REGION( 0x0100, "proms", 0 )
2105   ROM_LOAD( "136001-213.7e", 0x0000, 0x0100, CRC(6fa3093a) SHA1(2b7aeca74c1ae4156bf1878453a047330f96f0a8) ) /* not used */
2106ROM_END
2107
2108
19522109ROM_START( mazeinv )
19532110   ROM_REGION( 0x10000, "maincpu", 0 )
19542111   ROM_LOAD( "005.011",      0x3000, 0x1000, CRC(37129536) SHA1(356cb986a40b332100e00fb72194fd4dade2cba7) )
r15523r15524
20192176}
20202177
20212178
2179static DRIVER_INIT( multiped )
2180{
2181   UINT8 *src = machine.root_device().memregion("user1")->base();
2182   UINT8 *dest = machine.root_device().memregion("maincpu")->base();
20222183
2184   // descramble rom and put in maincpu region
2185   for (int i = 0; i < 0x10000; i++)
2186      dest[0x10000 + (i ^ (~i << 4 & 0x1000) ^ (~i >> 3 & 0x400))] = BITSWAP8(src[BITSWAP16(i,15,14,13,1,8,11,4,7,10,5,6,9,12,0,3,2)],0,2,1,3,4,5,6,7);
2187
2188   // (this can be removed when prg bankswitch is implemented)
2189   memmove(dest+0x0000, dest+0x10000, 0x8000);
2190   memmove(dest+0x8000, dest+0x10000, 0x8000);
2191}
2192
2193
2194
20232195/*************************************
20242196 *
20252197 *  Game drivers
r15523r15524
20302202GAME( 1980, centiped2,centiped, centiped, centiped, 0,        ROT270, "Atari",   "Centipede (revision 2)", GAME_SUPPORTS_SAVE )
20312203GAME( 1980, centtime, centiped, centiped, centtime, 0,        ROT270, "Atari",   "Centipede (1 player, timed)", GAME_SUPPORTS_SAVE )
20322204GAME( 1980, centipdb, centiped, centipdb, centiped, 0,        ROT270, "bootleg", "Centipede (bootleg)", GAME_SUPPORTS_SAVE )
2033GAME( 1980, centipdd, centiped, centiped, centiped, 0,        ROT270, "hack",    "Centipede Dux (hack)", GAME_SUPPORTS_SAVE )
2034GAME( 1980, caterplr, centiped, caterplr, caterplr, 0,        ROT270, "bootleg", "Caterpillar", GAME_SUPPORTS_SAVE )
2035GAME( 1980, millpac,  centiped, centipdb, centiped, 0,        ROT270, "bootleg? (Valadon Automation)", "Millpac", GAME_SUPPORTS_SAVE )
2036GAME( 1980, magworm,  centiped, magworm,  magworm,  0,        ROT270, "bootleg", "Magic Worm (bootleg)", GAME_SUPPORTS_SAVE )
2205GAME( 1989, centipdd, centiped, centiped, centiped, 0,        ROT270, "hack (Two-Bit Score)", "Centipede Dux (hack)", GAME_SUPPORTS_SAVE )
2206GAME( 1980, caterplr, centiped, caterplr, caterplr, 0,        ROT270, "bootleg", "Caterpillar (bootleg of Centipede)", GAME_SUPPORTS_SAVE )
2207GAME( 1980, millpac,  centiped, centipdb, centiped, 0,        ROT270, "bootleg? (Valadon Automation)", "Millpac (bootleg of Centipede)", GAME_SUPPORTS_SAVE )
2208GAME( 1980, magworm,  centiped, magworm,  magworm,  0,        ROT270, "bootleg", "Magic Worm (bootleg of Centipede)", GAME_SUPPORTS_SAVE )
20372209GAME( 1982, milliped, 0,        milliped, milliped, 0,        ROT270, "Atari",   "Millipede", GAME_SUPPORTS_SAVE )
2038GAME( 1982, millipdd, milliped, milliped, milliped, 0,        ROT270, "hack",    "Millipede Dux (hack)", GAME_SUPPORTS_SAVE )
2210GAME( 1989, millipdd, milliped, milliped, milliped, 0,        ROT270, "hack (Two-Bit Score)", "Millipede Dux (hack)", GAME_SUPPORTS_SAVE )
2211GAME( 2002, multiped, 0,        multiped, multiped, multiped, ROT270, "hack (Braze Technologies)", "Multipede (Centipede/Millipede multigame kit)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
20392212
20402213GAME( 1980, warlords, 0,        warlords, warlords, 0,        ROT0,   "Atari",   "Warlords", GAME_SUPPORTS_SAVE )
20412214GAME( 1981, mazeinv,  0,        mazeinv,  mazeinv,  0,        ROT270, "Atari",   "Maze Invaders (prototype)", 0 )
src/mame/drivers/eolith.c
r15523r15524
164164//   printf("CPU Command: %x\n", m_sound_data);
165165   m_sound_data = data;
166166   m_soundcpu->set_input_line(MCS51_INT0_LINE, ASSERT_LINE);
167
168   space.machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(250));
167169}
168170
169171
r15523r15524
580582
581583   MCFG_EEPROM_ADD("eeprom", eeprom_interface_93C66)
582584
585//   for testing sound sync
586//   MCFG_QUANTUM_PERFECT_CPU("maincpu")
587//   MCFG_QUANTUM_TIME(attotime::from_hz(6000))
588
583589   /* video hardware */
584590   MCFG_SCREEN_ADD("screen", RASTER)
585591   MCFG_SCREEN_REFRESH_RATE(60)
src/mame/drivers/chihiro.c
r15523r15524
11241124   AM_RANGE(0x0040, 0x0043) AM_DEVREADWRITE8_LEGACY("pit8254", pit8253_r, pit8253_w, 0xffffffff)
11251125   AM_RANGE(0x00a0, 0x00a3) AM_DEVREADWRITE8_LEGACY("pic8259_2", pic8259_r, pic8259_w, 0xffffffff)
11261126   AM_RANGE(0x01f0, 0x01f7) AM_READWRITE_LEGACY(ide_r, ide_w)
1127   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
1127   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
11281128   AM_RANGE(0x8000, 0x80ff) AM_READWRITE_LEGACY(dummy_r, dummy_w)
11291129   AM_RANGE(0xc000, 0xc0ff) AM_READWRITE_LEGACY(smbus_r, smbus_w)
11301130   AM_RANGE(0xff60, 0xff67) AM_DEVREADWRITE_LEGACY("ide", ide_bus_master32_r, ide_bus_master32_w)
r15523r15524
11671167
11681168   MCFG_QUANTUM_TIME(attotime::from_hz(6000))
11691169
1170   MCFG_PCI_BUS_ADD("pcibus", 0)
1171   MCFG_PCI_BUS_DEVICE(0, "PCI Bridge Device - Host Bridge", dummy_pci_r, dummy_pci_w)
1172   MCFG_PCI_BUS_DEVICE(1, "HUB Interface - ISA Bridge", dummy_pci_r, dummy_pci_w)
1173   MCFG_PCI_BUS_DEVICE(2, "OHCI USB Controller 1", dummy_pci_r, dummy_pci_w)
1174   MCFG_PCI_BUS_DEVICE(3, "OHCI USB Controller 2", dummy_pci_r, dummy_pci_w)
1175   MCFG_PCI_BUS_DEVICE(30, "AGP Host to PCI Bridge", dummy_pci_r, dummy_pci_w)
1176   MCFG_PCI_BUS_ADD("agpbus", 1)
1177   MCFG_PCI_BUS_SIBLING("pcibus")
1178   MCFG_PCI_BUS_DEVICE(0, "NV2A GeForce 3MX Integrated GPU/Northbridge", geforce_pci_r, geforce_pci_w)
1170   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
1171   MCFG_PCI_BUS_LEGACY_DEVICE(0, "PCI Bridge Device - Host Bridge", dummy_pci_r, dummy_pci_w)
1172   MCFG_PCI_BUS_LEGACY_DEVICE(1, "HUB Interface - ISA Bridge", dummy_pci_r, dummy_pci_w)
1173   MCFG_PCI_BUS_LEGACY_DEVICE(2, "OHCI USB Controller 1", dummy_pci_r, dummy_pci_w)
1174   MCFG_PCI_BUS_LEGACY_DEVICE(3, "OHCI USB Controller 2", dummy_pci_r, dummy_pci_w)
1175   MCFG_PCI_BUS_LEGACY_DEVICE(30, "AGP Host to PCI Bridge", dummy_pci_r, dummy_pci_w)
1176   MCFG_PCI_BUS_LEGACY_ADD("agpbus", 1)
1177   MCFG_PCI_BUS_LEGACY_SIBLING("pcibus")
1178   MCFG_PCI_BUS_LEGACY_DEVICE(0, "NV2A GeForce 3MX Integrated GPU/Northbridge", geforce_pci_r, geforce_pci_w)
11791179   MCFG_PIC8259_ADD( "pic8259_1", chihiro_pic8259_1_config )
11801180   MCFG_PIC8259_ADD( "pic8259_2", chihiro_pic8259_2_config )
11811181   MCFG_PIT8254_ADD( "pit8254", chihiro_pit8254_config )
src/mame/drivers/spacefb.c
r15523r15524
288288   PORT_DIPSETTING(    0x02, "5" )
289289   PORT_DIPSETTING(    0x03, "6" )
290290   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
291   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
291292   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
292293   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
293294   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_2C ) )
294   PORT_DIPSETTING(    0x08, DEF_STR( 1C_3C ) )
295295   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5")
296296   PORT_DIPSETTING(    0x00, "5000" )
297297   PORT_DIPSETTING(    0x10, "8000" )
r15523r15524
302302INPUT_PORTS_END
303303
304304
305/* same as Space Firebird, except for the difficulty switch */
305/* same as Space Firebird, except for the difficulty switch (replacing 5/6 lives) and 1C_3C (rather than 3C_1C) */
306306static INPUT_PORTS_START( spacedem )
307307   PORT_INCLUDE( spacefb )
308308
309309   PORT_MODIFY("DSW")
310   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
310   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )  PORT_DIPLOCATION("SW:1")
311311   PORT_DIPSETTING(    0x00, "3" )
312312   PORT_DIPSETTING(    0x01, "4" )
313   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Difficulty ) )
313   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Difficulty ) )  PORT_DIPLOCATION("SW:2")
314314   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
315   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
316   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) )
315   PORT_DIPSETTING(    0x02, DEF_STR( Hard ) )
316   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) )  PORT_DIPLOCATION("SW:3,4")
317317   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
318318   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
319319   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_2C ) )
320320   PORT_DIPSETTING(    0x08, DEF_STR( 1C_3C ) )
321   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Bonus_Life ) )
322   PORT_DIPSETTING(    0x00, "5000" )
323   PORT_DIPSETTING(    0x10, "8000" )
324   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
325   PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
326   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
327   PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNKNOWN )
328321INPUT_PORTS_END
329322
330323
r15523r15524
563556   ROM_LOAD( "sdm-c-5n",    0x3800, 0x0800, CRC(7e0e41b0) SHA1(e7dd509ab36e0f9be6350b5fa9de4694224477db) )
564557
565558   ROM_REGION( 0x1000, "audiocpu", 0 )
566    ROM_LOAD( "sdm-e-20",    0x0000, 0x0400, CRC(55f40a0b) SHA1(8dff27b636f7f1831f71816505e451cf97fc3f98) )
559   ROM_LOAD( "sdm-e-20",    0x0000, 0x0400, CRC(55f40a0b) SHA1(8dff27b636f7f1831f71816505e451cf97fc3f98) )
567560
568561   ROM_REGION( 0x1000, "gfx1", 0 )  /* sprites */
569562   ROM_LOAD( "sdm-v-5k",    0x0000, 0x0800, CRC(55758e4d) SHA1(1338b45f76f5a31a5350c953eac36cc543fbe62e) )
src/mame/drivers/seta.c
r15523r15524
2222Ordered by Board        Year + Game                             Licensed To
2323-------------------------------------------------------------------------------
2424P0-029-A (M6100287A)    88 Thundercade / Twin Formation (1)     Taito
25?        (M6100326A)    88 Twin Eagle                           Taito
26P0-045-A (M6100429A)    89 DownTown                             Taito / RomStar
27?        (M6100430A)    89 U.S. Classic(2)                      Taito / RomStar
28?                       88 Caliber 50                           Taito / RomStar
29?                       89 Arbalester                           Taito / RomStar
25P0-034A  (M6100326A)    88 Twin Eagle                           Taito
26P0-044B                 88 Caliber 50                           Taito / RomStar
27P0-045A  (M6100429A)    89 DownTown                             Taito / RomStar
28P0-045A                 89 Arbalester                           Taito / RomStar
29P0-046A  (M6100430A)    89 U.S. Classic(2)                      Taito / RomStar
3030P0-047A                 ?? Seta Roulette                        Seta / Visco
3131P1-036-A + P0-045-A +
32P1-049-A                89 Meta Fox                             Taito / RomStar
32P1-049A                 89 Meta Fox                             Taito / RomStar
3333P0-053-1                89 Castle of Dragon/Dragon Unit         Taito / RomStar / Athena
34P0-053-A                91 Strike Gunner S.T.G                  Athena / Tecmo
35P0-053-A                92 Quiz Kokology                        Tecmo
36P0-055-B                89 Wit's                                Athena
37P0-055-D                90 Thunder & Lightning                  Romstar / Visco
34P0-053A                 91 Strike Gunner S.T.G                  Athena / Tecmo
35P0-053A                 92 Quiz Kokology                        Tecmo
36P0-055B                 89 Wit's                                Athena
37P0-055D                 90 Thunder & Lightning                  Romstar / Visco
3838Promat PCB              94 Wiggie Waggie(5)                     --
3939Promat PCB              94 Super Bar(5)                         --
4040P0-058-C                98 Internation Toote (6)                Coinmaster
41P0-063-A                91 Rezon                                Allumer
42P0-068-B (M6100723A)    92 Block Carnival                       Visco
41P0-063A                 91 Rezon                                Allumer
42P0-068B  (M6100723A)    92 Block Carnival                       Visco
4343P0-072-2 (prototype)    92 Blandia (prototype)                  Allumer
44P0-077-A (BP922)        92 Ultraman Club                        Banpresto
45P0-078-A                92 Blandia (7)                          Allumer
46P0-079-A                92 Zing Zing Zip                        Allumer / Tecmo
47P0-079-A                94 Eight Forces                         Tecmo
48P0-080-A (BP923)        92 SD Gundam Neo Battling (3)           Banpresto
44P0-077A  (BP922)        92 Ultraman Club                        Banpresto
45P0-078A                 92 Blandia (7)                          Allumer
46P0-079A                 92 Zing Zing Zip                        Allumer / Tecmo
47P0-079A                 94 Eight Forces                         Tecmo
48P0-080A  (BP923)        92 SD Gundam Neo Battling (3)           Banpresto
4949?                       93 Athena no Hatena?                    Athena
50?                       93 J.J.Squawkers                        Athena / Able
50?        (93111A)       93 J.J.Squawkers                        Athena / Able
5151?        (93111A)       93 War Of Aero                          Yang Cheng
52P0-081-A (BP933KA)      93 Mobile Suit Gundam                   Banpresto
53P0-083-A (BP931)        93 Ultra Toukon Densetsu                Banpresto / Tsuburaya Prod.
54P0-092-A                93 Daioh                                Athena
55P0-096-A (BP934KA)      93 Kamen Rider                          Banpresto
56P0-097-A                93 Oishii Puzzle ..                     Sunsoft + Atlus
52P0-081A  (BP933KA)      93 Mobile Suit Gundam                   Banpresto
53P0-083A  (BP931)        93 Ultra Toukon Densetsu                Banpresto / Tsuburaya Prod.
54P0-092A                 93 Daioh                                Athena
55P0-096A  (BP934KA)      93 Kamen Rider                          Banpresto
56P0-097A                 93 Oishii Puzzle ..                     Sunsoft + Atlus
5757bootleg                 9? Triple Fun (4)                       bootleg (Comad?)
58P0-100-A                93 Quiz Kokology 2                      Tecmo
58P0-100A                 93 Quiz Kokology 2                      Tecmo
5959P0-101-1                94 Pro Mahjong Kiwame                   Athena
60P0-102-A                93 Mad Shark                            Allumer
61P0-107-A (prototype?)   94 Orbs (prototype?)                    American Sammy
62P0-107-A                93 Kero Kero Keroppi no Issyoni Asobou  Sammy Industries  [added Chack'n, Hau]
60P0-102A                 93 Mad Shark                            Allumer
61P0-107A  (prototype?)   94 Orbs (prototype?)                    American Sammy
62P0-107A                 93 Kero Kero Keroppi no Issyoni Asobou  Sammy Industries  [added Chack'n, Hau]
6363P0-111A                 94 Magical Speed                        Allumer
64P0-114-A (SKB-001)      94 Krazy Bowl                           American Sammy
65P0-117-A (DH-01)        95 Extreme Downhill                     Sammy Japan
66P0-117-A?               95 Sokonuke Taisen Game                 Sammy Industries
67P0-120-A (BP954KA)      95 Gundhara                             Banpresto
68P0-122-A (SZR-001)      95 Zombie Raid                          American Sammy
64P0-114A  (SKB-001)      94 Krazy Bowl                           American Sammy
65P0-117A  (DH-01)        95 Extreme Downhill                     Sammy Japan
66P0-117A?                95 Sokonuke Taisen Game                 Sammy Industries
67P0-120A  (BP954KA)      95 Gundhara                             Banpresto
68P0-122A  (SZR-001)      95 Zombie Raid                          American Sammy
6969?                       96 Crazy Fight                          Subsino
7070-------------------------------------------------------------------------------
7171(1) YM2203 + YM3812 instead of X1-010
r15523r15524
60306030   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN  )
60316031
60326032   PORT_START("DSW") //2 DSWs
6033   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
6033   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW2:1")
60346034   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
60356035   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
6036   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
6036   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:2")
60376037   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
60386038   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
6039   PORT_DIPNAME( 0x0004, 0x0004, "Unknown 2-2*" )   //?
6039   PORT_DIPNAME( 0x0004, 0x0004, "Unknown DSW2 - 3*" )      PORT_DIPLOCATION("SW2:3")   // tested...Manual states "Unused"
60406040   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
60416041   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
6042   PORT_DIPNAME( 0x0008, 0x0008, "Stage Select (Cheat)")
6042   PORT_DIPNAME( 0x0008, 0x0008, "Stage Select (Cheat)")      PORT_DIPLOCATION("SW2:4")   // Manual states "Unused"
60436043   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
60446044   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
6045   PORT_DIPNAME( 0x0010, 0x0010, "Unknown 2-4" )
6046   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
6047   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
6048   PORT_DIPNAME( 0x0020, 0x0020, "Unknown 2-5" )
6049   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
6050   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
6051   PORT_DIPNAME( 0x0040, 0x0040, "Unknown 2-6" )
6052   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
6053   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
6054   PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
6045   PORT_DIPUNUSED_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW2:5" ) /* Listed as "Unused" */
6046   PORT_DIPUNUSED_DIPLOC( 0x0020, IP_ACTIVE_LOW, "SW2:6" ) /* Listed as "Unused" */
6047   PORT_DIPUNUSED_DIPLOC( 0x0040, IP_ACTIVE_LOW, "SW2:7" ) /* Listed as "Unused" */
6048   PORT_SERVICE_DIPLOC(   0x0080, IP_ACTIVE_LOW, "SW2:8" )
60556049
6056   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Lives ) )
6050   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2")
60576051   PORT_DIPSETTING(      0x0200, "1" )
60586052   PORT_DIPSETTING(      0x0300, "2" )
60596053   PORT_DIPSETTING(      0x0100, "3" )
60606054   PORT_DIPSETTING(      0x0000, "4" )
6061   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )
6055   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:3,4")
60626056   PORT_DIPSETTING(      0x0800, DEF_STR( Easy )    )
60636057   PORT_DIPSETTING(      0x0c00, DEF_STR( Normal )  )
60646058   PORT_DIPSETTING(      0x0400, DEF_STR( Hard )    )
60656059   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
6066   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coinage ) )
6060   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:5,6,7,8")
60676061   PORT_DIPSETTING(      0xa000, DEF_STR( 6C_1C ) )
60686062   PORT_DIPSETTING(      0xb000, DEF_STR( 5C_1C ) )
60696063   PORT_DIPSETTING(      0xc000, DEF_STR( 4C_1C ) )
r15523r15524
97789772
97799773ROM_START( blandia )
97809774   ROM_REGION( 0x200000, "maincpu", 0 )      /* 68000 Code */
9781   ROM_LOAD16_BYTE( "ux001001.003",  0x000000, 0x040000, CRC(2376a1f3) SHA1(705a3c5cc1137d14ffded6c949bf9aa650133eb7) )
9782   ROM_LOAD16_BYTE( "ux001002.004",  0x000001, 0x040000, CRC(b915e172) SHA1(e43e50a664dc1286ece42a5ff8629b2da7fb49b4) )
9783   ROM_LOAD16_WORD_SWAP( "ux001003.202",     0x100000, 0x100000, CRC(98052c63) SHA1(b523596de29038b3ec9f1b6e1f7374a6a8709d42) )
9775   ROM_LOAD16_BYTE( "ux001001.u3", 0x000000, 0x040000, CRC(2376a1f3) SHA1(705a3c5cc1137d14ffded6c949bf9aa650133eb7) )
9776   ROM_LOAD16_BYTE( "ux001002.u4", 0x000001, 0x040000, CRC(b915e172) SHA1(e43e50a664dc1286ece42a5ff8629b2da7fb49b4) )
9777   ROM_LOAD16_WORD_SWAP( "ux001003.u202",    0x100000, 0x100000, CRC(98052c63) SHA1(b523596de29038b3ec9f1b6e1f7374a6a8709d42) )
97849778
97859779   ROM_REGION( 0x400000, "gfx1", 0 )   /* Sprites */
9786   ROM_LOAD( "ux001005.200",  0x300000, 0x100000, CRC(bea0c4a5) SHA1(a690c17fb7cbdab533c1dfad13abbad9359b9631) )
9787   ROM_LOAD( "ux001007.201",  0x100000, 0x100000, CRC(4440fdd1) SHA1(7bfee90f81a2c867bd487abcf5905393ad400902) )
9788   ROM_LOAD( "ux001006.063",  0x200000, 0x100000, CRC(abc01cf7) SHA1(c3f26e75eeb68073d2825be8df82cc6afcfbfb26) )
9789   ROM_LOAD( "ux001008.064",  0x000000, 0x100000, CRC(413647b6) SHA1(594e010ca6f49ec82cc6d44fe23ac3427c4c3dbd) )
9780   ROM_LOAD( "ux001005.u200", 0x300000, 0x100000, CRC(bea0c4a5) SHA1(a690c17fb7cbdab533c1dfad13abbad9359b9631) )
9781   ROM_LOAD( "ux001007.u201", 0x100000, 0x100000, CRC(4440fdd1) SHA1(7bfee90f81a2c867bd487abcf5905393ad400902) )
9782   ROM_LOAD( "ux001006.u63",  0x200000, 0x100000, CRC(abc01cf7) SHA1(c3f26e75eeb68073d2825be8df82cc6afcfbfb26) )
9783   ROM_LOAD( "ux001008.u64",  0x000000, 0x100000, CRC(413647b6) SHA1(594e010ca6f49ec82cc6d44fe23ac3427c4c3dbd) )
97909784
97919785   ROM_REGION( 0x0c0000, "gfx2", 0 )   /* Layer 1 */
9792   ROM_LOAD( "ux001009.065",  0x000000, 0x080000, CRC(bc6f6aea) SHA1(673efa0c70587b5650ccf0a3c4bc316f53d52ba6) )
9793   ROM_LOAD( "ux001010.066",  0x040000, 0x080000, CRC(bd7f7614) SHA1(dc865ff0f327f460956915b2018aaac815e8fce5) )
9786   ROM_LOAD( "ux001009.u65", 0x000000, 0x080000, CRC(bc6f6aea) SHA1(673efa0c70587b5650ccf0a3c4bc316f53d52ba6) )
9787   ROM_LOAD( "ux001010.u66", 0x040000, 0x080000, CRC(bd7f7614) SHA1(dc865ff0f327f460956915b2018aaac815e8fce5) )
97949788
97959789   ROM_REGION( 0x0c0000, "gfx3", 0 )   /* Layer 2 */
9796   ROM_LOAD( "ux001011.067",  0x000000, 0x080000, CRC(5efe0397) SHA1(a294a2dae9a10e93912543a8614a7f960a011f27) )
9797   ROM_LOAD( "ux001012.068",  0x040000, 0x080000, CRC(f29959f6) SHA1(edccea3d0bf972a07edd6339e18792d089033bff) )
9790   ROM_LOAD( "ux001011.u67",  0x000000, 0x080000, CRC(5efe0397) SHA1(a294a2dae9a10e93912543a8614a7f960a011f27) )
9791   ROM_LOAD( "ux001012.u068", 0x040000, 0x080000, CRC(f29959f6) SHA1(edccea3d0bf972a07edd6339e18792d089033bff) )
97989792
97999793   /* The c0000-fffff region is bankswitched */
98009794   ROM_REGION( 0x240000, "x1snd", 0 )   /* Samples */
9801   ROM_LOAD( "ux001013.069", 0x000000, 0x0c0000, CRC(5cd273cd) SHA1(602e1f10454e2b1c941f2e6983872bb9ca77a542) )
9795   ROM_LOAD( "ux001013.u69", 0x000000, 0x0c0000, CRC(5cd273cd) SHA1(602e1f10454e2b1c941f2e6983872bb9ca77a542) )
98029796   // skip c0000-fffff (banked region)
9803   ROM_CONTINUE(              0x100000, 0x040000  )
9804   ROM_LOAD( "ux001014.070",  0x140000, 0x080000, CRC(86b49b4e) SHA1(045b352950d848907af4c22b817d154b2cfff382) )
9797   ROM_CONTINUE(             0x100000, 0x040000  )
9798   ROM_LOAD( "ux001014.u70", 0x140000, 0x080000, CRC(86b49b4e) SHA1(045b352950d848907af4c22b817d154b2cfff382) )
98059799ROM_END
98069800
98079801ROM_START( blandiap )
r15523r15524
1011110105   ROM_LOAD( "u70.bin",  0x080000, 0x080000, CRC(8d756fdf) SHA1(d66712a6aa19252f2c915ac66fc27df031fa9512) )
1011210106ROM_END
1011310107
10114ROM_START( jjsquawk )
10108ROM_START( jjsquawk ) /* PCB stickered  J.J. SQUAWKERS 9401- 1022 */
1011510109   ROM_REGION( 0x200000, "maincpu", 0 )      /* 68000 Code */
10116   ROM_LOAD16_BYTE( "jj-rom1.040", 0x000000, 0x040000, CRC(7b9af960) SHA1(1718d54b0c12ae148de44f9ccccf90c0182f7b4f) )
10117   ROM_CONTINUE   (                0x100000, 0x040000  )
10118   ROM_LOAD16_BYTE( "jj-rom2.040", 0x000001, 0x040000, CRC(47dd71a3) SHA1(e219d984a1cac484ce1e570b7849562a88e0903e) )
10119   ROM_CONTINUE   (                0x100001, 0x040000  )
10110   ROM_LOAD16_BYTE( "fe2002001.u3", 0x000000, 0x040000, CRC(7b9af960) SHA1(1718d54b0c12ae148de44f9ccccf90c0182f7b4f) )
10111   ROM_CONTINUE   (                 0x100000, 0x040000  )
10112   ROM_LOAD16_BYTE( "fe2002002.u4", 0x000001, 0x040000, CRC(47dd71a3) SHA1(e219d984a1cac484ce1e570b7849562a88e0903e) )
10113   ROM_CONTINUE   (                 0x100001, 0x040000  )
1012010114
1012110115   ROM_REGION( 0x200000, "gfx1", 0 )   /* Sprites */
10122   ROM_LOAD( "jj-rom9",  0x000000, 0x080000, CRC(27441cd3) SHA1(5867fc30c158e07f2d36ecab97b1d304383e6f35) )
10123   ROM_LOAD( "jj-rom10", 0x080000, 0x080000, CRC(ca2b42c4) SHA1(9b99b6618fe44a6c29a255e89dab72a0a56214df) )
10124   ROM_LOAD( "jj-rom7",  0x100000, 0x080000, CRC(62c45658) SHA1(82b1ea138e8f4b4ade7e44b31843aa2023c9dd71) )
10125   ROM_LOAD( "jj-rom8",  0x180000, 0x080000, CRC(2690c57b) SHA1(b880ded7715dffe12c4fea7ad7cb9c5133b73250) )
10116   ROM_LOAD( "fe2001009", 0x000000, 0x080000, CRC(27441cd3) SHA1(5867fc30c158e07f2d36ecab97b1d304383e6f35) ) /* These roms located on a plug-in PCB */
10117   ROM_LOAD( "fe2001010", 0x080000, 0x080000, CRC(ca2b42c4) SHA1(9b99b6618fe44a6c29a255e89dab72a0a56214df) )
10118   ROM_LOAD( "fe2001007", 0x100000, 0x080000, CRC(62c45658) SHA1(82b1ea138e8f4b4ade7e44b31843aa2023c9dd71) )
10119   ROM_LOAD( "fe2001008", 0x180000, 0x080000, CRC(2690c57b) SHA1(b880ded7715dffe12c4fea7ad7cb9c5133b73250) )
1012610120
1012710121   ROM_REGION( 0x200000, "gfx2", 0 )   /* Layer 1 */
10128   ROM_LOAD       ( "jj-rom11",    0x000000, 0x080000, CRC(98b9f4b4) SHA1(de96708aebb428ddc413c3649caaec80c0c155bd) )
10129   ROM_LOAD       ( "jj-rom12",    0x080000, 0x080000, CRC(d4aa916c) SHA1(d619d20c33f16ab06b529fc1717ad9b703acbabf) )
10130   ROM_LOAD16_BYTE( "jj-rom3.040", 0x100000, 0x080000, CRC(a5a35caf) SHA1(da4bdb7f0b319f8ff972a552d0134a73e5ac1b87) )
10122   ROM_LOAD       ( "fe2001011", 0x000000, 0x080000, CRC(98b9f4b4) SHA1(de96708aebb428ddc413c3649caaec80c0c155bd) ) /* This rom located on a plug-in PCB */
10123   ROM_LOAD       ( "fe2001012", 0x080000, 0x080000, CRC(d4aa916c) SHA1(d619d20c33f16ab06b529fc1717ad9b703acbabf) ) /* This rom located on a plug-in PCB */
10124   ROM_LOAD16_BYTE( "fe2001003", 0x100000, 0x080000, CRC(a5a35caf) SHA1(da4bdb7f0b319f8ff972a552d0134a73e5ac1b87) )
1013110125
1013210126   ROM_REGION( 0x200000, "gfx3", 0 )   /* Layer 2 */
10133   ROM_LOAD       ( "jj-rom14",    0x000000, 0x080000, CRC(274bbb48) SHA1(b8db632a9bbb7232d0b1debd67b3b453fd4989e6) )
10134   ROM_LOAD       ( "jj-rom13",    0x080000, 0x080000, CRC(51e29871) SHA1(9d33283bd9a3f57602a55cfc9fafa49edd0be8c5) )
10135   ROM_LOAD16_BYTE( "jj-rom4.040", 0x100000, 0x080000, CRC(a235488e) SHA1(a45d02a4451defbef7fbdab15671955fab8ed76b) )
10127   ROM_LOAD       ( "fe2001014", 0x000000, 0x080000, CRC(274bbb48) SHA1(b8db632a9bbb7232d0b1debd67b3b453fd4989e6) ) /* This rom located on a plug-in PCB */
10128   ROM_LOAD       ( "fe2001013", 0x080000, 0x080000, CRC(51e29871) SHA1(9d33283bd9a3f57602a55cfc9fafa49edd0be8c5) ) /* This rom located on a plug-in PCB */
10129   ROM_LOAD16_BYTE( "fe2001004", 0x100000, 0x080000, CRC(a235488e) SHA1(a45d02a4451defbef7fbdab15671955fab8ed76b) )
1013610130
1013710131   ROM_REGION( 0x100000, "x1snd", 0 )   /* Samples */
10138   ROM_LOAD( "jj-rom5.040", 0x000000, 0x080000, CRC(d99f2879) SHA1(66e83a6bc9093d19c72bd8ef1ec0523cfe218250) )
10139   ROM_LOAD( "jj-rom6.040", 0x080000, 0x080000, CRC(9df1e478) SHA1(f41b55821187b417ad09e4a1f439c01a107d2674) )
10132   ROM_LOAD( "fe2001005.u69", 0x000000, 0x080000, CRC(d99f2879) SHA1(66e83a6bc9093d19c72bd8ef1ec0523cfe218250) )
10133   ROM_LOAD( "fe2001006.u70", 0x080000, 0x080000, CRC(9df1e478) SHA1(f41b55821187b417ad09e4a1f439c01a107d2674) )
1014010134ROM_END
1014110135
1014210136ROM_START( jjsquawkb )
r15523r15524
1016210156   ROM_COPY( "gfxtemp", 0x300000, 0x100000, 0x100000 )
1016310157
1016410158   ROM_REGION( 0x100000, "x1snd", 0 )   /* Samples */
10165   ROM_LOAD( "1", 0x000000, 0x100000, CRC(181a55b8) SHA1(6fa404f85bad93cc15e80feb61d19bed84602b82) ) /* jj-rom5.040 + jj-rom6.040 from jjsquawk */
10159   ROM_LOAD( "1", 0x000000, 0x100000, CRC(181a55b8) SHA1(6fa404f85bad93cc15e80feb61d19bed84602b82) ) /* fe2001005.u69 + fe2001006.u70 from jjsquawk */
1016610160ROM_END
1016710161
1016810162ROM_START( jjsquawkb2 ) /* PCB was P0-078A, which was a Blandia board converted to JJ Squawkers. No labels on any of the ROMs */
r15523r15524
1017310167   ROM_CONTINUE   (                0x100001, 0x040000  )
1017410168
1017510169   ROM_REGION( 0x200000, "gfx1", 0 )   /* Sprites */
10176   ROM_LOAD( "u64.3l",  0x000000, 0x100000, CRC(11d8713a) SHA1(8e3359f605913625191ac0a09222ec465b5fea71) ) /* jj-rom9 + jj-rom10 from jjsquawk */
10177   ROM_LOAD( "u63.2l",  0x100000, 0x100000, CRC(7a385ef0) SHA1(d38e2242532074b58707783608a6ddce42c55a77) ) /* jj-rom7 + jj-rom8  from jjsquawk */
10170   ROM_LOAD( "u64.3l",  0x000000, 0x100000, CRC(11d8713a) SHA1(8e3359f605913625191ac0a09222ec465b5fea71) ) /* fe2001009 + fe2001010 from jjsquawk */
10171   ROM_LOAD( "u63.2l",  0x100000, 0x100000, CRC(7a385ef0) SHA1(d38e2242532074b58707783608a6ddce42c55a77) ) /* fe2001007 + fe2001008 from jjsquawk */
1017810172
1017910173   ROM_REGION( 0x200000, "gfx2", 0 )   /* Layer 1 */
10180   ROM_LOAD       ( "u66.5l", 0x000000, 0x100000, CRC(bbaf40c5) SHA1(aecd48176adbe79e76c8febca1d9bb95ff0d6912) ) /* jj-rom11 + jj-rom12 from jjsquawk */
10181   ROM_LOAD16_BYTE( "u65.4l", 0x100000, 0x080000, CRC(a5a35caf) SHA1(da4bdb7f0b319f8ff972a552d0134a73e5ac1b87) ) /* jj-rom3.040         from jjsquawk */
10174   ROM_LOAD       ( "u66.5l", 0x000000, 0x100000, CRC(bbaf40c5) SHA1(aecd48176adbe79e76c8febca1d9bb95ff0d6912) ) /* fe2001011 + fe2001012 from jjsquawk */
10175   ROM_LOAD16_BYTE( "u65.4l", 0x100000, 0x080000, CRC(a5a35caf) SHA1(da4bdb7f0b319f8ff972a552d0134a73e5ac1b87) ) /* fe2001003             from jjsquawk */
1018210176
1018310177   ROM_REGION( 0x200000, "gfx3", 0 )   /* Layer 2 */
10184   ROM_LOAD       ( "u68.7l", 0x000000, 0x100000, CRC(ae9ae01f) SHA1(1a828d5b8848c5b5d8e5f279f1fde26b972a6332) ) /* jj-rom14 + jj-rom13 from jjsquawk */
10185   ROM_LOAD16_BYTE( "u67.6l", 0x100000, 0x080000, CRC(a235488e) SHA1(a45d02a4451defbef7fbdab15671955fab8ed76b) ) /* jj-rom4.040         from jjsquawk */
10178   ROM_LOAD       ( "u68.7l", 0x000000, 0x100000, CRC(ae9ae01f) SHA1(1a828d5b8848c5b5d8e5f279f1fde26b972a6332) ) /* fe2001014 + fe2001013 from jjsquawk */
10179   ROM_LOAD16_BYTE( "u67.6l", 0x100000, 0x080000, CRC(a235488e) SHA1(a45d02a4451defbef7fbdab15671955fab8ed76b) ) /* fe2001004             from jjsquawk */
1018610180
1018710181   ROM_REGION( 0x100000, "x1snd", 0 )   /* Samples */
10188   ROM_LOAD( "u70.10l", 0x000000, 0x100000, CRC(181a55b8) SHA1(6fa404f85bad93cc15e80feb61d19bed84602b82) ) /* jj-rom5.040 + jj-rom6.040 from jjsquawk */
10182   ROM_LOAD( "u70.10l", 0x000000, 0x100000, CRC(181a55b8) SHA1(6fa404f85bad93cc15e80feb61d19bed84602b82) ) /* fe2001005.u69 + fe2001006.u70 from jjsquawk */
1018910183ROM_END
1019010184
1019110185ROM_START( kamenrid )
src/mame/drivers/vball.c
r15523r15524
508508   ROM_REGION( 0x10000, "audiocpu", 0 ) /* region#2: music CPU, 64kb */
509509   ROM_LOAD( "25j1-0.47",    0x00000, 0x8000,  CRC(10ca79ad) SHA1(aad4a09d6745ca0b5665cb00ff7a4e08ea434068) )
510510
511   /* These are from the bootleg; the original has the image data stored in a special dip rom */
511   /* The bootlegs used standard roms on a daughter card that plugs into the socket for the TOSHIBA TRJ-101 dip rom */
512512   ROM_REGION(0x80000, "gfx1", 0 )    /* fg tiles */
513   ROM_LOAD( "vball13.bin",  0x00000, 0x10000, CRC(f26df8e1) SHA1(72186c1430d07c7fd9211245b539f05a0660bebe) ) /* 0,1,2,3 */
514   ROM_LOAD( "vball14.bin",  0x10000, 0x10000, CRC(c9798d0e) SHA1(ec156f6c7ecccaa216ce8076f75ad7627ee90945) ) /* 0,1,2,3 */
515   ROM_LOAD( "vball15.bin",  0x20000, 0x10000, CRC(68e69c4b) SHA1(9870674c91cab7215ad8ed40eb82facdee478fde) ) /* 0,1,2,3 */
516   ROM_LOAD( "vball16.bin",  0x30000, 0x10000, CRC(936457ba) SHA1(1662bbd777fcd33a298d192a3f06681809b9d049) ) /* 0,1,2,3 */
517   ROM_LOAD( "vball09.bin",  0x40000, 0x10000, CRC(42874924) SHA1(a75eed7934e089f035000b7f35f6ba8dd96f1e98) ) /* 0,1,2,3 */
518   ROM_LOAD( "vball10.bin",  0x50000, 0x10000, CRC(6cc676ee) SHA1(6e8c590946211baa9266b19b871f252829057696) ) /* 0,1,2,3 */
519   ROM_LOAD( "vball11.bin",  0x60000, 0x10000, CRC(4754b303) SHA1(8630f077b542590ef1340a2f0a6b94086ff91c40) ) /* 0,1,2,3 */
520   ROM_LOAD( "vball12.bin",  0x70000, 0x10000, CRC(21294a84) SHA1(b36ea9ddf6879443d3104241997fa0f916856528) ) /* 0,1,2,3 */
513   ROM_LOAD( "13", 0x00000, 0x10000, CRC(f26df8e1) SHA1(72186c1430d07c7fd9211245b539f05a0660bebe) ) /* 0,1,2,3 */
514   ROM_LOAD( "14", 0x10000, 0x10000, CRC(c9798d0e) SHA1(ec156f6c7ecccaa216ce8076f75ad7627ee90945) ) /* 0,1,2,3 */
515   ROM_LOAD( "15", 0x20000, 0x10000, CRC(68e69c4b) SHA1(9870674c91cab7215ad8ed40eb82facdee478fde) ) /* 0,1,2,3 */
516   ROM_LOAD( "16", 0x30000, 0x10000, CRC(936457ba) SHA1(1662bbd777fcd33a298d192a3f06681809b9d049) ) /* 0,1,2,3 */
517   ROM_LOAD( "9",  0x40000, 0x10000, CRC(42874924) SHA1(a75eed7934e089f035000b7f35f6ba8dd96f1e98) ) /* 0,1,2,3 */
518   ROM_LOAD( "10", 0x50000, 0x10000, CRC(6cc676ee) SHA1(6e8c590946211baa9266b19b871f252829057696) ) /* 0,1,2,3 */
519   ROM_LOAD( "11", 0x60000, 0x10000, CRC(4754b303) SHA1(8630f077b542590ef1340a2f0a6b94086ff91c40) ) /* 0,1,2,3 */
520   ROM_LOAD( "12", 0x70000, 0x10000, CRC(21294a84) SHA1(b36ea9ddf6879443d3104241997fa0f916856528) ) /* 0,1,2,3 */
521521
522522   ROM_REGION(0x40000, "gfx2", 0 ) /* sprites */
523   ROM_LOAD( "vball.35",     0x00000, 0x20000, CRC(877826d8) SHA1(fd77298f9343051f66259dad9127f40afb95f385) ) /* 0,1,2,3 */
524   ROM_LOAD( "vball.5",      0x20000, 0x20000, CRC(c6afb4fa) SHA1(6d7c966300ce5fb2094476b393434486965d62b4) ) /* 0,1,2,3 */
523   ROM_LOAD( "vball.35",     0x00000, 0x20000, CRC(877826d8) SHA1(fd77298f9343051f66259dad9127f40afb95f385) ) /* 0,1,2,3 == 25j4-0.35 */
524   ROM_LOAD( "vball.5",      0x20000, 0x20000, CRC(c6afb4fa) SHA1(6d7c966300ce5fb2094476b393434486965d62b4) ) /* 0,1,2,3 == 25j3-0.5  */
525525
526526   ROM_REGION(0x40000, "oki", 0 ) /* Sound region#1: adpcm */
527   ROM_LOAD( "vball.78a",    0x00000, 0x10000, CRC(f3e63b76) SHA1(da54d1d7d7d55b73e49991e4363bc6f46e0f70eb) )
528   ROM_LOAD( "vball.78b",    0x10000, 0x10000, CRC(7ad9d338) SHA1(3e3c270fa69bda93b03f07a54145eb5e211ec8ba) )
527   ROM_LOAD( "vball.78a",    0x00000, 0x10000, CRC(f3e63b76) SHA1(da54d1d7d7d55b73e49991e4363bc6f46e0f70eb) ) /* == 1st half of 25j0-0.78 */
528   ROM_LOAD( "vball.78b",    0x10000, 0x10000, CRC(7ad9d338) SHA1(3e3c270fa69bda93b03f07a54145eb5e211ec8ba) ) /* == 2nd half of 25j0-0.78 */
529529
530530   ROM_REGION(0x1000, "proms", 0 )   /* color PROMs */
531531   ROM_LOAD_NIB_LOW ( "25j5-0.144",   0x0000,  0x00800, CRC(a317240f) SHA1(bd57ad516f7a8ff774276fd26b02dd34659d41ad) )
r15523r15524
533533   ROM_LOAD(          "25j7-0.160",   0x0800,  0x00800, CRC(2ffb68b3) SHA1(d560fdcd5e5c79d37e5b5bde22fbaf662fe89252) )
534534ROM_END
535535
536ROM_START( vball2pjb ) /* bootleg of the Japan set with unmoddified program rom */
537   ROM_REGION( 0x18000, "maincpu", 0 ) /* Main CPU: 64k for code */
538   ROM_LOAD( "1.124", 0x10000, 0x08000, CRC(432509c4) SHA1(6de50e21d279f4ac9674bc91990ba9535e80908c) )/* Bankswitched, == 25j2-2-5.124 from vball2pj */
539   ROM_CONTINUE(      0x08000, 0x08000 ) /* Static code  */
536540
541   ROM_REGION( 0x10000, "audiocpu", 0 ) /* Sound CPU, 64kb */
542   ROM_LOAD( "4.ic47", 0x00000, 0x8000,  CRC(534dfbd9) SHA1(d0cb37caf94fa85da4ebdfe15e7a78109084bf91) )
543
544   /* The bootlegs used standard roms on a daughter card that plugs into the socket for the TOSHIBA TRJ-101 dip rom */
545   ROM_REGION(0x80000, "gfx1", 0 )    /* fg tiles */
546   ROM_LOAD( "13", 0x00000, 0x10000, CRC(f26df8e1) SHA1(72186c1430d07c7fd9211245b539f05a0660bebe) ) /* 0,1,2,3 */
547   ROM_LOAD( "14", 0x10000, 0x10000, CRC(c9798d0e) SHA1(ec156f6c7ecccaa216ce8076f75ad7627ee90945) ) /* 0,1,2,3 */
548   ROM_LOAD( "15", 0x20000, 0x10000, CRC(68e69c4b) SHA1(9870674c91cab7215ad8ed40eb82facdee478fde) ) /* 0,1,2,3 */
549   ROM_LOAD( "16", 0x30000, 0x10000, CRC(936457ba) SHA1(1662bbd777fcd33a298d192a3f06681809b9d049) ) /* 0,1,2,3 */
550   ROM_LOAD( "9",  0x40000, 0x10000, CRC(42874924) SHA1(a75eed7934e089f035000b7f35f6ba8dd96f1e98) ) /* 0,1,2,3 */
551   ROM_LOAD( "10", 0x50000, 0x10000, CRC(6cc676ee) SHA1(6e8c590946211baa9266b19b871f252829057696) ) /* 0,1,2,3 */
552   ROM_LOAD( "11", 0x60000, 0x10000, CRC(4754b303) SHA1(8630f077b542590ef1340a2f0a6b94086ff91c40) ) /* 0,1,2,3 */
553   ROM_LOAD( "12", 0x70000, 0x10000, CRC(21294a84) SHA1(b36ea9ddf6879443d3104241997fa0f916856528) ) /* 0,1,2,3 */
554
555   ROM_REGION(0x40000, "gfx2", 0 ) /* sprites */
556   ROM_LOAD( "8", 0x00000, 0x10000, CRC(b18d083c) SHA1(8c7a39b8a9c79a13682a4f283470801c3cbb748c) ) /* == 1st half of 25j4-0.35 */
557   ROM_LOAD( "7", 0x10000, 0x10000, CRC(79a35321) SHA1(0953730b1baa9bda4b2eb703258476423e5448f5) ) /* == 2nd half of 25j4-0.35 */
558   ROM_LOAD( "6", 0x20000, 0x10000, CRC(49c6aad7) SHA1(6c026ddd97a5dfd138fb65781504f192c11ee6aa) ) /* == 1st half of 25j3-0.5  */
559   ROM_LOAD( "5", 0x30000, 0x10000, CRC(9bb95651) SHA1(ec8a481cc7f0d6e469489db7c51103446910ae80) ) /* == 2nd half of 25j3-0.5  */
560
561   ROM_REGION(0x40000, "oki", 0 ) /* Sound region#1: adpcm */
562   ROM_LOAD( "vball.78a", 0x00000, 0x10000, CRC(f3e63b76) SHA1(da54d1d7d7d55b73e49991e4363bc6f46e0f70eb) ) /* == 1st half of 25j0-0.78    (ROM type 27512) */
563   ROM_LOAD( "3.ic79",    0x10000, 0x08000, CRC(d77349ba) SHA1(5ef25636056607fae7a5463957487b53da0dd310) ) /* == 3rd quarter of 25j0-0.78 (ROM type 27256) */
564
565   ROM_REGION(0x1000, "proms", 0 )   /* color PROMs */
566   ROM_LOAD_NIB_LOW ( "25j5-0.144",   0x0000,  0x00800, CRC(a317240f) SHA1(bd57ad516f7a8ff774276fd26b02dd34659d41ad) )
567   ROM_LOAD_NIB_HIGH( "25j6-0.143",   0x0000,  0x00800, CRC(1ff70b4f) SHA1(a469baa0dda844ba307c09ddefb23f239cfe7b5f) )
568   ROM_LOAD(          "25j7-0.160",   0x0800,  0x00800, CRC(2ffb68b3) SHA1(d560fdcd5e5c79d37e5b5bde22fbaf662fe89252) )
569ROM_END
570
571
537572GAME( 1988, vball,    0,     vball,    vball,    0, ROT0, "Technos Japan", "U.S. Championship V'ball (US)", 0 )
538573GAME( 1988, vball2pj, vball, vball,    vball2pj, 0, ROT0, "Technos Japan", "U.S. Championship V'ball (Japan)", 0 )
539GAME( 1988, vballb,   vball, vball,    vball,    0, ROT0, "bootleg", "U.S. Championship V'ball (bootleg)", 0 )
574GAME( 1988, vballb,   vball, vball,    vball,    0, ROT0, "bootleg", "U.S. Championship V'ball (bootleg of US set)", 0 )
575GAME( 1988, vball2pjb,vball, vball,    vball,    0, ROT0, "bootleg", "U.S. Championship V'ball (bootleg of Japan set)", 0 )
src/mame/drivers/queen.c
r15523r15524
542542   AM_RANGE(0x01f0, 0x01f7) AM_READWRITE(ide_r, ide_w)
543543   AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
544544
545   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
545   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
546546ADDRESS_MAP_END
547547
548548static const struct pit8253_config queen_pit8254_config =
r15523r15524
689689
690690   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
691691
692   MCFG_PCI_BUS_ADD("pcibus", 0)
693   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
694   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
692   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
693   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
694   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
695695
696696   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
697697
src/mame/drivers/raiden.c
r15523r15524
33    Raiden                          (c) 1990 Seibu Kaihatsu
44    Raiden (Alternate Hardware)     (c) 1990 Seibu Kaihatsu
55    Raiden (Korean license)         (c) 1990 Seibu Kaihatsu
6    Raiden (Taiwanese license)          (c) 1990 Seibu Kaihatsu
6    Raiden (Taiwanese license)      (c) 1990 Seibu Kaihatsu
77
88    driver by Oliver Bergmann, Bryan McPhail, Randy Mongenel
99
r15523r15524
157157   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
158158   /* Coin Mode B */
159159   PORT_DIPNAME( 0x0006, 0x0006, DEF_STR( Coin_A ) ) PORT_CONDITION("DSW", 0x0001, NOTEQUALS, 0x0001) PORT_DIPLOCATION("SW1:2,3")
160    PORT_DIPSETTING(      0x0000, "5C/1C or Free if Coin B too" )
161    PORT_DIPSETTING(      0x0002, DEF_STR( 3C_1C ) )
162    PORT_DIPSETTING(      0x0004, DEF_STR( 2C_1C ) )
163    PORT_DIPSETTING(      0x0006, DEF_STR( 1C_1C ) )
164    PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Coin_B ) ) PORT_CONDITION("DSW", 0x0001, NOTEQUALS, 0x0001) PORT_DIPLOCATION("SW1:4,5")
165    PORT_DIPSETTING(      0x0018, DEF_STR( 1C_2C ) )
166    PORT_DIPSETTING(      0x0010, DEF_STR( 1C_3C ) )
167    PORT_DIPSETTING(      0x0008, DEF_STR( 1C_5C ) )
168    PORT_DIPSETTING(      0x0000, "1C/6C or Free if Coin A too" )
160   PORT_DIPSETTING(      0x0000, "5C/1C or Free if Coin B too" )
161   PORT_DIPSETTING(      0x0002, DEF_STR( 3C_1C ) )
162   PORT_DIPSETTING(      0x0004, DEF_STR( 2C_1C ) )
163   PORT_DIPSETTING(      0x0006, DEF_STR( 1C_1C ) )
164   PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Coin_B ) ) PORT_CONDITION("DSW", 0x0001, NOTEQUALS, 0x0001) PORT_DIPLOCATION("SW1:4,5")
165   PORT_DIPSETTING(      0x0018, DEF_STR( 1C_2C ) )
166   PORT_DIPSETTING(      0x0010, DEF_STR( 1C_3C ) )
167   PORT_DIPSETTING(      0x0008, DEF_STR( 1C_5C ) )
168   PORT_DIPSETTING(      0x0000, "1C/6C or Free if Coin A too" )
169169
170170   PORT_DIPNAME( 0x0020, 0x0020, "Credits to Start" ) PORT_DIPLOCATION("SW1:6")
171171   PORT_DIPSETTING(      0x0020, "1" )
r15523r15524
300300
301301/***************************************************************************/
302302
303ROM_START( raiden )
303/*
304
305Note: Seibu labeled the roms simply as 1 through 10 and didn't generally
306      change the labels at all between versions even though the data was
307      different between them.
308*/
309
310/* These versions use the same board and make use of the region byte at 0x1fffe (0x1fffd also may differ and is used for unknown purpose) */
311
312ROM_START( raiden ) /* from a board with 2 daughter cards, no official board #s? */
304313   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
305   ROM_LOAD16_BYTE( "rai1.bin",   0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
306   ROM_LOAD16_BYTE( "rai2.bin",   0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
307   ROM_LOAD16_BYTE( "rai3.bin",   0x0c0000, 0x20000, CRC(9d735bf5) SHA1(531981eac2ef0c0635f067a649899f98738d5c67) )
308   ROM_LOAD16_BYTE( "rai4.bin",   0x0c0001, 0x20000, CRC(8d184b99) SHA1(71cd4179aa2341d2ceecbb6a9c26f5919d46ca4c) )
314   ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
315   ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
316   ROM_LOAD16_BYTE( "3.u022",  0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) ) /* both 3 & 4 had a red "dot" on label, 4 also had printed "J" */
317   ROM_LOAD16_BYTE( "4j.u023", 0x0c0001, 0x20000, CRC(505c4c5d) SHA1(07f61fd1ff24f482a1ae2f86c4c0f32850cbd539) ) /* 0x1fffd == 0x00, 0x1fffe == 0x04 */
309318
310319   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
311   ROM_LOAD16_BYTE( "rai5.bin",   0x0c0000, 0x20000, CRC(7aca6d61) SHA1(4d80ec87e54d7495b9bdf819b9985b1c8183c80d) )
312   ROM_LOAD16_BYTE( "rai6a.bin",  0x0c0001, 0x20000, CRC(e3d35cc2) SHA1(4329865985aaf3fb524618e2e958563c8fa6ead5) )
320   ROM_LOAD16_BYTE( "5.u042", 0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
321   ROM_LOAD16_BYTE( "6.u043", 0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
313322
314323   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
315   ROM_LOAD( "rai6.bin",     0x000000, 0x08000, CRC(723a483b) SHA1(50e67945e83ea1748fb748de3287d26446d4e0a0) )
316   ROM_CONTINUE(             0x010000, 0x08000 )
324   ROM_LOAD( "8.u212",      0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) )
325   ROM_CONTINUE(            0x010000, 0x08000 )
317326   ROM_COPY( "audiocpu", 0, 0x018000, 0x08000 )
318327
319   ROM_REGION( 0x010000, "gfx1", 0 )
320   ROM_LOAD( "rai9.bin",     0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* chars */
321   ROM_LOAD( "rai10.bin",    0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) )
328   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
329   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* On some PCBs there is no explicit */
330   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U location for these two roms     */
322331
323   ROM_REGION( 0x080000, "gfx2", 0 )
324   ROM_LOAD( "raiu0919.bin", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles */
332   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
333   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles @ U105 on this PCB */
325334
326   ROM_REGION( 0x080000, "gfx3", 0 )
327   ROM_LOAD( "raiu0920.bin", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles */
335   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
336   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles @ U115 on this PCB */
328337
329   ROM_REGION( 0x090000, "gfx4", 0 )
330   ROM_LOAD( "raiu165.bin",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* sprites */
338   ROM_REGION( 0x090000, "gfx4", 0 ) /* sprites */
339   ROM_LOAD( "sei440",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) )
331340
332341   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
333   ROM_LOAD( "rai7.bin", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
334
335   ROM_REGION( 0x2000, "plds", 0 )
336   ROM_LOAD( "ep910pc-1.bin", 0x0000, 0x0884, NO_DUMP ) /* PAL is read protected */
337   ROM_LOAD( "ep910pc-2.bin", 0x1000, 0x0884, NO_DUMP ) /* PAL is read protected */
342   ROM_LOAD( "7.u203", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
338343ROM_END
339344
340345ROM_START( raidena )
341346   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
342   ROM_LOAD16_BYTE( "rai1.bin",     0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
343   ROM_LOAD16_BYTE( "rai2.bin",     0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
344   ROM_LOAD16_BYTE( "raiden03.rom", 0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) )
345   ROM_LOAD16_BYTE( "raiden04.rom", 0x0c0001, 0x20000, CRC(6bdfd416) SHA1(7c3692d0c46c0fd360b9b2b5a8dc55d9217be357) )
347   ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
348   ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
349   ROM_LOAD16_BYTE( "3.u022",  0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) )
350   ROM_LOAD16_BYTE( "4.u023",  0x0c0001, 0x20000, CRC(6bdfd416) SHA1(7c3692d0c46c0fd360b9b2b5a8dc55d9217be357) ) /* 0x1fffd == 0x00, 0x1fffe == 0x84 */
346351
347352   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
348   ROM_LOAD16_BYTE( "raiden05.rom",   0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
349   ROM_LOAD16_BYTE( "raiden06.rom",   0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
353   ROM_LOAD16_BYTE( "5.u042", 0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
354   ROM_LOAD16_BYTE( "6.u043", 0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
350355
351356   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
352   ROM_LOAD( "raiden08.rom", 0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) )
353   ROM_CONTINUE(             0x010000, 0x08000 )
357   ROM_LOAD( "8.u212",      0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) )
358   ROM_CONTINUE(            0x010000, 0x08000 )
354359   ROM_COPY( "audiocpu", 0, 0x018000, 0x08000 )
355360
356   ROM_REGION( 0x010000, "gfx1", 0 )
357   ROM_LOAD( "rai9.bin",     0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* chars */
358   ROM_LOAD( "rai10.bin",    0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) )
361   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
362   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* On some PCBs there is no explicit */
363   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U location for these two roms     */
359364
360   ROM_REGION( 0x080000, "gfx2", 0 )
361   ROM_LOAD( "raiu0919.bin", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles */
365   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
366   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles @ U105 on this PCB */
362367
363   ROM_REGION( 0x080000, "gfx3", 0 )
364   ROM_LOAD( "raiu0920.bin", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles */
368   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
369   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles @ U115 on this PCB */
365370
366   ROM_REGION( 0x090000, "gfx4", 0 )
367   ROM_LOAD( "raiu165.bin",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* sprites */
371   ROM_REGION( 0x090000, "gfx4", 0 ) /* sprites */
372   ROM_LOAD( "sei440",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) )
368373
369374   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
370   ROM_LOAD( "rai7.bin", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
375   ROM_LOAD( "7.u203", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
371376ROM_END
372377
373ROM_START( raidenk )
378ROM_START( raident )
374379   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
375   ROM_LOAD16_BYTE( "rai1.bin",     0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
376   ROM_LOAD16_BYTE( "rai2.bin",     0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
377   ROM_LOAD16_BYTE( "raiden03.rom", 0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) )
378   ROM_LOAD16_BYTE( "1i",           0x0c0001, 0x20000, CRC(fddf24da) SHA1(ececed0b0b96d070d85bfb6174029142bc96d5f0) )
380   ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
381   ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
382   ROM_LOAD16_BYTE( "3.u022",  0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) )
383   ROM_LOAD16_BYTE( "4t.u023", 0x0c0001, 0x20000, CRC(61eefab1) SHA1(a886ce1eb1c6451b1cf9eb8dbdc2d484d9881ced) ) /* 0x1fffd == 0x02, 0x1fffe == 0x06 */
379384
380385   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
381   ROM_LOAD16_BYTE( "raiden05.rom",   0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
382   ROM_LOAD16_BYTE( "raiden06.rom",   0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
386   ROM_LOAD16_BYTE( "5.u042", 0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
387   ROM_LOAD16_BYTE( "6.u043", 0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
383388
384389   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
385   ROM_LOAD( "8b",           0x000000, 0x08000, CRC(99ee7505) SHA1(b97c8ee5e26e8554b5de506fba3b32cc2fde53c9) )
386   ROM_CONTINUE(             0x010000, 0x08000 )
390   ROM_LOAD( "8.u212",      0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) )
391   ROM_CONTINUE(            0x010000, 0x08000 )
387392   ROM_COPY( "audiocpu", 0, 0x018000, 0x08000 )
388393
389   ROM_REGION( 0x010000, "gfx1", 0 )
390   ROM_LOAD( "rai9.bin",     0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* chars */
391   ROM_LOAD( "rai10.bin",    0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) )
394   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
395   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* On some PCBs there is no explicit */
396   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U location for these two roms     */
392397
393   ROM_REGION( 0x080000, "gfx2", 0 )
394   ROM_LOAD( "raiu0919.bin", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles */
398   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
399   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles @ U105 on this PCB */
395400
396   ROM_REGION( 0x080000, "gfx3", 0 )
397   ROM_LOAD( "raiu0920.bin", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles */
401   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
402   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles @ U115 on this PCB */
398403
399   ROM_REGION( 0x090000, "gfx4", 0 )
400   ROM_LOAD( "raiu165.bin",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* sprites */
404   ROM_REGION( 0x090000, "gfx4", 0 ) /* sprites */
405   ROM_LOAD( "sei440",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) )
401406
402407   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
403   ROM_LOAD( "rai7.bin", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
408   ROM_LOAD( "7.u203", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
404409ROM_END
405410
406ROM_START( raident )
411ROM_START( raidenu )
407412   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
408   ROM_LOAD16_BYTE( "rai1.bin",     0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
409   ROM_LOAD16_BYTE( "rai2.bin",     0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
410   ROM_LOAD16_BYTE( "raiden03.rom", 0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) )
411   ROM_LOAD16_BYTE( "raid04t.023",  0x0c0001, 0x20000, CRC(61eefab1) SHA1(a886ce1eb1c6451b1cf9eb8dbdc2d484d9881ced) )
413   ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
414   ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
415   ROM_LOAD16_BYTE( "3a.u022", 0x0c0000, 0x20000, CRC(a8fadbdd) SHA1(a23729a51c45c1dba4e625503a37d111ae72ced0) ) /* Both 3A & 4A different for the US version */
416   ROM_LOAD16_BYTE( "4a.u023", 0x0c0001, 0x20000, CRC(bafb268d) SHA1(132d3ebf9d9d5fffa3040338106fad428c54dbaa) ) /* 0x1fffd == 0x01, 0x1fffe == 0x85 */
412417
413418   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
414   ROM_LOAD16_BYTE( "raiden05.rom",   0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
415   ROM_LOAD16_BYTE( "raiden06.rom",   0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
419   ROM_LOAD16_BYTE( "5.u042", 0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
420   ROM_LOAD16_BYTE( "6.u043", 0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
416421
417422   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
418   ROM_LOAD( "raid08.212",   0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) )
419   ROM_CONTINUE(             0x010000, 0x08000 )
423   ROM_LOAD( "8.u212",      0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) )
424   ROM_CONTINUE(            0x010000, 0x08000 )
420425   ROM_COPY( "audiocpu", 0, 0x018000, 0x08000 )
421426
422   ROM_REGION( 0x010000, "gfx1", 0 )
423   ROM_LOAD( "rai9.bin",     0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* chars */
424   ROM_LOAD( "rai10.bin",    0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) )
427   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
428   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* On some PCBs there is no explicit */
429   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U location for these two roms     */
425430
426   ROM_REGION( 0x080000, "gfx2", 0 )
427   ROM_LOAD( "raiu0919.bin", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles */
431   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
432   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles @ U105 on this PCB */
428433
429   ROM_REGION( 0x080000, "gfx3", 0 )
430   ROM_LOAD( "raiu0920.bin", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles */
434   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
435   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles @ U115 on this PCB */
431436
432   ROM_REGION( 0x090000, "gfx4", 0 )
433   ROM_LOAD( "raiu165.bin",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* sprites */
437   ROM_REGION( 0x090000, "gfx4", 0 ) /* sprites */
438   ROM_LOAD( "sei440",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) )
434439
435440   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
436   ROM_LOAD( "rai7.bin", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
441   ROM_LOAD( "7.u203", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
437442ROM_END
438443
439
440ROM_START( raidenu )
444ROM_START( raidenk ) /* Same board as above. Not sure why the sound CPU would be decrypted */
441445   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
442   ROM_LOAD16_BYTE( "1.c8",     0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
443   ROM_LOAD16_BYTE( "2.c7",     0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
444   ROM_LOAD16_BYTE( "3dd.e8",   0x0c0000, 0x20000, CRC(b6f3bad2) SHA1(214474ab9fa65e2716155b77d7825951cc98148a) )
445   ROM_LOAD16_BYTE( "4dd.e7",   0x0c0001, 0x20000, CRC(d294dfc1) SHA1(03606ddfa35d5cb34c447fa370495e1fbb0cad0e) )
446   ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
447   ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
448   ROM_LOAD16_BYTE( "3.u022",  0x0c0000, 0x20000, CRC(f6af09d0) SHA1(ecd49f3351359ea2d5cbd140c9962d45c5544ecd) )
449   ROM_LOAD16_BYTE( "4k.u023", 0x0c0001, 0x20000, CRC(fddf24da) SHA1(ececed0b0b96d070d85bfb6174029142bc96d5f0) ) /* 0x1fffd == 0x02, 0x1fffe == 0xA4 */
446450
447451   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
448   ROM_LOAD16_BYTE( "5.p8",   0x0c0000, 0x20000, CRC(15c1cf45) SHA1(daac732a1d3e8f36fa665f984e05651cbca74fef) )
449   ROM_LOAD16_BYTE( "6.p7",   0x0c0001, 0x20000, CRC(261c381b) SHA1(64a9e0ea9abcba6287829cf4abb806362b62c806) )
452   ROM_LOAD16_BYTE( "5.u042", 0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
453   ROM_LOAD16_BYTE( "6.u043", 0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
450454
451455   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
452   ROM_LOAD( "8.w8",   0x000000, 0x08000, CRC(105b9c11) SHA1(eb142806f8410d584d914b91207361a15ab18e6f) )
453   ROM_CONTINUE(                 0x10000, 0x08000 )
454   ROM_COPY( "audiocpu", 0,      0x18000, 0x08000 )
456   ROM_LOAD( "8b.u212",     0x000000, 0x08000, CRC(99ee7505) SHA1(b97c8ee5e26e8554b5de506fba3b32cc2fde53c9) ) /* Not encrypted */
457   ROM_CONTINUE(            0x010000, 0x08000 )
458   ROM_COPY( "audiocpu", 0, 0x018000, 0x08000 )
455459
456   ROM_REGION( 0x010000, "gfx1", 0 )
457   ROM_LOAD( "9.u016",     0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* chars */
458   ROM_LOAD( "10.u017",    0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) )
460   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
461   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* On some PCBs there is no explicit */
462   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U location for these two roms     */
459463
460   ROM_REGION( 0x080000, "gfx2", 0 )
461   ROM_LOAD( "sei420.u011", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles */
464   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
465   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles @ U105 on this PCB */
462466
463   ROM_REGION( 0x080000, "gfx3", 0 )
464   ROM_LOAD( "sei430.u013", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles */
467   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
468   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles @ U115 on this PCB */
465469
466   ROM_REGION( 0x090000, "gfx4", 0 )
467   ROM_LOAD( "sei440.u012",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* sprites */
470   ROM_REGION( 0x090000, "gfx4", 0 ) /* sprites */
471   ROM_LOAD( "sei440",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) )
468472
469473   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
470   ROM_LOAD( "7.x10", 0x00000, 0x10000, CRC(2051263e) SHA1(dff96caa11adf619360d88704e3af8427ddfe524) )
474   ROM_LOAD( "7.u203", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
471475ROM_END
472476
473/* from a board with 2 daughter cards, no official board #s? */
474ROM_START( raidenua )
477ROM_START( raidenb )/* Different hardware, Main & Sub CPU code not encrypted. */
475478   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
476   ROM_LOAD16_BYTE( "1.uo253",     0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
477   ROM_LOAD16_BYTE( "2.uo252",     0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
478   ROM_LOAD16_BYTE( "3a.uo22",     0x0c0000, 0x20000, CRC(a8fadbdd) SHA1(a23729a51c45c1dba4e625503a37d111ae72ced0) )
479   ROM_LOAD16_BYTE( "4a.uo23",     0x0c0001, 0x20000, CRC(bafb268d) SHA1(132d3ebf9d9d5fffa3040338106fad428c54dbaa) )
479   ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
480   ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
481   ROM_LOAD16_BYTE( "3__(raidenb).u022", 0x0c0000, 0x20000, CRC(9d735bf5) SHA1(531981eac2ef0c0635f067a649899f98738d5c67) ) /* Simply labeled as 3 */
482   ROM_LOAD16_BYTE( "4__(raidenb).u023", 0x0c0001, 0x20000, CRC(8d184b99) SHA1(71cd4179aa2341d2ceecbb6a9c26f5919d46ca4c) ) /* Simply labeled as 4 */
480483
481484   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
482   ROM_LOAD16_BYTE( "5.uo42",   0x0c0000, 0x20000, CRC(ed03562e) SHA1(bf6b44fb53fa2321cd52c00fcb43b8ceb6ceffff) )
483   ROM_LOAD16_BYTE( "6.uo43",   0x0c0001, 0x20000, CRC(a19d5b5d) SHA1(aa5e5be60b737913e5677f88ebc218302245e5af) )
485   ROM_LOAD16_BYTE( "5__(raidenb).u042", 0x0c0000, 0x20000, CRC(7aca6d61) SHA1(4d80ec87e54d7495b9bdf819b9985b1c8183c80d) ) /* Simply labeled as 5 */
486   ROM_LOAD16_BYTE( "6__(raidenb).u043", 0x0c0001, 0x20000, CRC(e3d35cc2) SHA1(4329865985aaf3fb524618e2e958563c8fa6ead5) ) /* Simply labeled as 6 */
484487
485488   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
486   ROM_LOAD( "8.u214",   0x000000, 0x08000, CRC(cbe055c7) SHA1(34a06a541d059c621d87fdf41546c9d052a61963) ) // same as taiwan set
487   ROM_CONTINUE(             0x010000, 0x08000 )
489   ROM_LOAD( "rai6.u212",   0x000000, 0x08000, CRC(723a483b) SHA1(50e67945e83ea1748fb748de3287d26446d4e0a0) ) /* Should be labeled "8" ??? */
490   ROM_CONTINUE(            0x010000, 0x08000 )
488491   ROM_COPY( "audiocpu", 0, 0x018000, 0x08000 )
489492
490   ROM_REGION( 0x010000, "gfx1", 0 )
491   ROM_LOAD( "rai9.bin",     0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* chars */
492   ROM_LOAD( "rai10.bin",    0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) )
493   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
494   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* On some PCBs there is no explicit */
495   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U location for these two roms     */
493496
494   ROM_REGION( 0x080000, "gfx2", 0 )
495   ROM_LOAD( "raiu0919.bin", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* tiles */
497   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
498   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* U919 on this PCB */
496499
497   ROM_REGION( 0x080000, "gfx3", 0 )
498   ROM_LOAD( "raiu0920.bin", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* tiles */
500   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
501   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* U920 on this PCB */
499502
500   ROM_REGION( 0x090000, "gfx4", 0 )
501   ROM_LOAD( "raiu165.bin",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* sprites */
503   ROM_REGION( 0x090000, "gfx4", 0 ) /* Sprites */
504   ROM_LOAD( "sei440", 0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* U165 on this PCB */
502505
503506   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
504507   ROM_LOAD( "7.u203", 0x00000, 0x10000, CRC(8f927822) SHA1(592f2719f2c448c3b4b239eeaec078b411e12dbb) )
508
509   ROM_REGION( 0x2000, "plds", 0 )
510   ROM_LOAD( "ep910pc-1.bin", 0x0000, 0x0884, NO_DUMP ) /* PAL is read protected */
511   ROM_LOAD( "ep910pc-2.bin", 0x1000, 0x0884, NO_DUMP ) /* PAL is read protected */
505512ROM_END
506513
514ROM_START( raidenua )/* Different hardware, Main, Sub & sound CPU code not encrypted. */
515   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
516   ROM_LOAD16_BYTE( "1.c8",   0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
517   ROM_LOAD16_BYTE( "2.c7",   0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
518   ROM_LOAD16_BYTE( "3dd.e8", 0x0c0000, 0x20000, CRC(b6f3bad2) SHA1(214474ab9fa65e2716155b77d7825951cc98148a) )
519   ROM_LOAD16_BYTE( "4dd.e7", 0x0c0001, 0x20000, CRC(d294dfc1) SHA1(03606ddfa35d5cb34c447fa370495e1fbb0cad0e) )
520
521   ROM_REGION( 0x100000, "sub", 0 ) /* v30 sub cpu */
522   ROM_LOAD16_BYTE( "5.p8", 0x0c0000, 0x20000, CRC(15c1cf45) SHA1(daac732a1d3e8f36fa665f984e05651cbca74fef) )
523   ROM_LOAD16_BYTE( "6.p7", 0x0c0001, 0x20000, CRC(261c381b) SHA1(64a9e0ea9abcba6287829cf4abb806362b62c806) )
524
525   ROM_REGION( 0x20000, "audiocpu", 0 ) /* 64k code for sound Z80 */
526   ROM_LOAD( "8.w8",        0x00000, 0x08000, CRC(105b9c11) SHA1(eb142806f8410d584d914b91207361a15ab18e6f) )
527   ROM_CONTINUE(            0x10000, 0x08000 )
528   ROM_COPY( "audiocpu", 0, 0x18000, 0x08000 )
529
530   ROM_REGION( 0x010000, "gfx1", 0 ) /* Chars */
531   ROM_LOAD( "9",  0x00000, 0x08000, CRC(1922b25e) SHA1(da27122dd1c43770e7385ad602ef397c64d2f754) ) /* U016 on this PCB */
532   ROM_LOAD( "10", 0x08000, 0x08000, CRC(5f90786a) SHA1(4f63b07c6afbcf5196a433f3356bef984fe303ef) ) /* U017 on this PCB */
533
534   ROM_REGION( 0x080000, "gfx2", 0 ) /* tiles */
535   ROM_LOAD( "sei420", 0x00000, 0x80000, CRC(da151f0b) SHA1(02682497caf5f058331f18c652471829fa08d54f) ) /* U011 on this PCB */
536
537   ROM_REGION( 0x080000, "gfx3", 0 ) /* tiles */
538   ROM_LOAD( "sei430", 0x00000, 0x80000, CRC(ac1f57ac) SHA1(1de926a0db73b99904ef119ac816c53d1551156a) ) /* U013 on this PCB */
539
540   ROM_REGION( 0x090000, "gfx4", 0 ) /* Sprites */
541   ROM_LOAD( "sei440",  0x00000, 0x80000, CRC(946d7bde) SHA1(30e8755c2b1ca8bff6278710b8422b51f75eec10) ) /* U012 on this PCB */
542
543   ROM_REGION( 0x40000, "oki", 0 )    /* ADPCM samples */
544   ROM_LOAD( "7.x10", 0x00000, 0x10000, CRC(2051263e) SHA1(dff96caa11adf619360d88704e3af8427ddfe524) )
545ROM_END
546
547
507548/***************************************************************************/
508549
509550
r15523r15524
529570}
530571#endif
531572
532static DRIVER_INIT( raiden )
533{
534#ifdef SYNC_HACK
535   machine.device("sub")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x4008, 0x4009, FUNC(sub_cpu_spin_r));
536#endif
537}
538573
539static DRIVER_INIT( raidenu )
540{
541   DRIVER_INIT_CALL(raiden);
542   seibu_sound_decrypt(machine,"audiocpu",0x20000);
543}
544
545574/* This is based on code by Niclas Karlsson Mate, who figured out the
546575encryption method! The technique is a combination of a XOR table plus
547576bit-swapping */
r15523r15524
572601   }
573602}
574603
575static DRIVER_INIT( raidenk )
604
605/***************************************************************************/
606
607static DRIVER_INIT( raidena ) /* Decrypt NOTHING! */
576608{
577   DRIVER_INIT_CALL(raiden);
609#ifdef SYNC_HACK
610   machine.device("sub")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x4008, 0x4009, FUNC(sub_cpu_spin_r));
611#endif
612}
613
614static DRIVER_INIT( raiden ) /* Decrypt Main / Sub / Sound code */
615{
616   DRIVER_INIT_CALL(raidena);
578617   common_decrypt(machine);
618   seibu_sound_decrypt(machine,"audiocpu",0x20000);
579619}
580620
581static DRIVER_INIT( raidena )
621static DRIVER_INIT( raidenk ) /* Decrypt Main / Sub code */
582622{
583   DRIVER_INIT_CALL(raiden);
623   DRIVER_INIT_CALL(raidena);
584624   common_decrypt(machine);
625}
626
627static DRIVER_INIT( raidenu ) /* Decrypt Sound only code */
628{
629   DRIVER_INIT_CALL(raidena);
585630   seibu_sound_decrypt(machine,"audiocpu",0x20000);
586631}
587632
r15523r15524
589634
590635/***************************************************************************/
591636
592GAME( 1990, raiden,  0,      raiden,  raiden, raiden,  ROT270, "Seibu Kaihatsu", "Raiden", 0 ) // main/sub/sound not encrypted
593GAME( 1990, raidenu, raiden, raidenu, raiden, raidenu, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US, set 1, SEI8904 + SEI9008 PCBs)", 0 ) // main/sub not encrypted
594GAME( 1990, raidenua,raiden, raidena, raiden, raidena, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US, set 2)", 0 )
595GAME( 1990, raidena, raiden, raidena, raiden, raidena, ROT270, "Seibu Kaihatsu", "Raiden (alternate hardware)", 0 )
596GAME( 1990, raidenk, raiden, raidena, raiden, raidenk, ROT270, "Seibu Kaihatsu (IBL Corporation license)", "Raiden (Korea)", 0 ) // sound not encrypted
597GAME( 1990, raident, raiden, raidena, raiden, raidena, ROT270, "Seibu Kaihatsu (Liang HWA Electronics license)", "Raiden (Taiwan)", 0 )
637/* Same PCB, differ by region byte(s) */
638GAME( 1990, raiden,   0,      raidena, raiden, raiden, ROT270, "Seibu Kaihatsu",                                 "Raiden (set 1)", 0 )
639GAME( 1990, raidena,  raiden, raidena, raiden, raiden, ROT270, "Seibu Kaihatsu",                                 "Raiden (set 2)", 0 )
640GAME( 1990, raidenu,  raiden, raidena, raiden, raiden, ROT270, "Seibu Kaihatsu (Fabtek license)",                "Raiden (US, set 1)", 0 )
641GAME( 1990, raident,  raiden, raidena, raiden, raiden, ROT270, "Seibu Kaihatsu (Liang HWA Electronics license)", "Raiden (Taiwan)", 0 )
642
643/* Same as above, but the sound CPU code is not encrypted */
644GAME( 1990, raidenk,  raiden, raidena, raiden, raidenk, ROT270, "Seibu Kaihatsu (IBL Corporation license)",       "Raiden (Korea)", 0 )
645
646/* Alternate hardware. Main & Sub CPU code not encrypted */
647GAME( 1990, raidenua, raiden, raidenu, raiden, raidenu, ROT270, "Seibu Kaihatsu (Fabtek license)",                "Raiden (US, set 2, SEI8904 + SEI9008 PCBs)", 0 )
648
649/* Alternate hardware. Main, Sub & Sound CPU code not encrypted */
650GAME( 1990, raidenb,  raiden, raiden,  raiden, raidena, ROT270, "Seibu Kaihatsu",                                 "Raiden (set 3, Alternate hardware)", 0 )
src/mame/drivers/vegaeo.c
r15523r15524
88
99 TODO:
1010 - where are mapped the unused dip switches?
11 - sound & sound cpu
1211
1312 *********************************************************************/
1413
1514#include "emu.h"
1615#include "cpu/e132xs/e132xs.h"
1716#include "machine/at28c16.h"
17#include "sound/qs1000.h"
1818#include "includes/eolith.h"
1919#include "includes/eolithsp.h"
2020
r15523r15524
3232   DECLARE_WRITE32_MEMBER(vega_palette_w);
3333   DECLARE_WRITE32_MEMBER(vega_misc_w);
3434   DECLARE_READ32_MEMBER(vegaeo_custom_read);
35   DECLARE_WRITE32_MEMBER(soundlatch_w);
36
37   DECLARE_READ8_MEMBER(qs1000_p1_r);
38
39   DECLARE_WRITE8_MEMBER(qs1000_p1_w);
40   DECLARE_WRITE8_MEMBER(qs1000_p2_w);
41   DECLARE_WRITE8_MEMBER(qs1000_p3_w);
3542};
3643
44READ8_MEMBER( vegaeo_state::qs1000_p1_r )
45{
46   return soundlatch_byte_r(space, 0);
47}
3748
49WRITE8_MEMBER( vegaeo_state::qs1000_p1_w )
50{
3851
52}
3953
54WRITE8_MEMBER( vegaeo_state::qs1000_p2_w )
55{
56
57}
58
59WRITE8_MEMBER( vegaeo_state::qs1000_p3_w )
60{
61   // .... .xxx - Data ROM bank (64kB)
62   // ...x .... - ?
63   // ..x. .... - /IRQ clear
64
65   qs1000_device *qs1000 = machine().device<qs1000_device>("qs1000");
66
67   membank("qs1000:bank")->set_entry(data & 0x07);   
68
69   if (!BIT(data, 5))
70      qs1000->set_irq(CLEAR_LINE);
71}
72
4073WRITE32_MEMBER(vegaeo_state::vega_vram_w)
4174{
4275   switch(mem_mask)
r15523r15524
96129   return ioport("SYSTEM")->read();
97130}
98131
132WRITE32_MEMBER(vegaeo_state::soundlatch_w)
133{
134   qs1000_device *qs1000 = space.machine().device<qs1000_device>("qs1000");
135
136   soundlatch_byte_w(space, 0, data);
137   qs1000->set_irq(ASSERT_LINE);
138
139   machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(100));
140}
141
142
99143static ADDRESS_MAP_START( vega_map, AS_PROGRAM, 32, vegaeo_state )
100144   AM_RANGE(0x00000000, 0x001fffff) AM_RAM
101145   AM_RANGE(0x80000000, 0x80013fff) AM_READWRITE(vega_vram_r, vega_vram_w)
102146   AM_RANGE(0xfc000000, 0xfc0000ff) AM_DEVREADWRITE8_LEGACY("at28c16", at28c16_r, at28c16_w, 0x000000ff)
103147   AM_RANGE(0xfc200000, 0xfc2003ff) AM_RAM_WRITE(vega_palette_w) AM_SHARE("paletteram")
104148   AM_RANGE(0xfc400000, 0xfc40005b) AM_WRITENOP // crt registers ?
105   AM_RANGE(0xfc600000, 0xfc600003) AM_WRITENOP // soundlatch
149   AM_RANGE(0xfc600000, 0xfc600003) AM_WRITE(soundlatch_w)
106150   AM_RANGE(0xfca00000, 0xfca00003) AM_WRITE(vega_misc_w)
107151   AM_RANGE(0xfcc00000, 0xfcc00003) AM_READ(vegaeo_custom_read)
108152   AM_RANGE(0xfce00000, 0xfce00003) AM_READ_PORT("P1_P2")
r15523r15524
179223}
180224
181225
226
227/*************************************
228 *
229 *  QS1000 interface
230 *
231 *************************************/
232
233static QS1000_INTERFACE( qs1000_intf )
234{
235   /* External ROM */
236   true,
237
238   /* P1-P3 read handlers */
239   DEVCB_DRIVER_MEMBER(vegaeo_state, qs1000_p1_r),
240   DEVCB_NULL,
241   DEVCB_NULL,
242
243   /* P1-P3 write handlers */
244   DEVCB_DRIVER_MEMBER(vegaeo_state, qs1000_p1_w),
245   DEVCB_DRIVER_MEMBER(vegaeo_state, qs1000_p2_w),
246   DEVCB_DRIVER_MEMBER(vegaeo_state, qs1000_p3_w)
247};
248
249
182250static MACHINE_CONFIG_START( vega, vegaeo_state )
183   MCFG_CPU_ADD("maincpu", GMS30C2132, 55000000)   /* 55 MHz */
251   MCFG_CPU_ADD("maincpu", GMS30C2132, XTAL_55MHz)
184252   MCFG_CPU_PROGRAM_MAP(vega_map)
185253   MCFG_TIMER_ADD_SCANLINE("scantimer", eolith_speedup, "screen", 0, 1)
186254
187   /* sound cpu */
255   MCFG_AT28C16_ADD("at28c16", NULL)
188256
189257   /* video hardware */
190258   MCFG_SCREEN_ADD("screen", RASTER)
r15523r15524
199267   MCFG_VIDEO_START(vega)
200268
201269   /* sound hardware */
202   MCFG_AT28C16_ADD( "at28c16", NULL )
270   /* sound hardware */
271   MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
272
273   MCFG_QS1000_ADD("qs1000", XTAL_24MHz, qs1000_intf)
274   MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
275   MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
203276MACHINE_CONFIG_END
204277
205278/*
r15523r15524
270343   ROM_LOAD32_WORD_SWAP( "14", 0x1c00000, 0x200000, CRC(38ede322) SHA1(9496685a1280885a61a568047c4a8c2cd70d1b83) )
271344   ROM_LOAD32_WORD_SWAP( "15", 0x1c00002, 0x200000, CRC(d35e630a) SHA1(8c220f1baddd39cc978e3e5a874cc58e78b74c62) )
272345
273   ROM_REGION( 0x080000, "cpu1", 0 )  /* QDSP ('51) Code ? */
346   ROM_REGION( 0x080000, "qs1000:cpu", 0 )  /* QDSP (8052) Code */
274347   ROM_LOAD( "bgm.u84",      0x000000, 0x080000, CRC(13aa7778) SHA1(131f74e1b73dd7a7038864593dc7ca24af0ffc30) )
275348
276   ROM_REGION( 0x100000, "music", 0 )
349   ROM_REGION( 0x1000000, "qs1000", 0 )
277350   ROM_LOAD( "effect.u85",   0x000000, 0x100000, CRC(9159fcc6) SHA1(2be9a197a51303a0da9484dced12a3f6d3b0d867) )
278
279   ROM_REGION( 0x080000, "wavetable", 0 ) /* QDSP wavetable rom */
280   ROM_LOAD( "qs1001a.u86",  0x000000, 0x80000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) )
351   ROM_LOAD( "qs1001a.u86",  0x200000, 0x080000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) )
281352ROM_END
282353
283354static DRIVER_INIT( vegaeo )
284355{
356   vegaeo_state *state = machine.driver_data<vegaeo_state>();
357
358   // Set up the QS1000 program ROM banking, taking care not to overlap the internal RAM
359   machine.device("qs1000:cpu")->memory().space(AS_IO)->install_read_bank(0x0100, 0xffff, "bank");
360   state->membank("qs1000:bank")->configure_entries(0, 8, state->memregion("qs1000:cpu")->base()+0x100, 0x10000);
361
285362   init_eolith_speedup(machine);
286363}
287364
288GAME( 2002, crazywar, 0, vega, crazywar, vegaeo, ROT0, "Eolith", "Crazy War", GAME_NO_SOUND )
365GAME( 2002, crazywar, 0, vega, crazywar, vegaeo, ROT0, "Eolith", "Crazy War", GAME_IMPERFECT_SOUND )
src/mame/drivers/galdrvr.c
r15523r15524
33323332ROM_END
33333333
33343334
3335ROM_START( warofbug )
3335ROM_START( warofbug )  /* Shows 20c as the base of currency.  I know of no US games that used dimes - unless it's another country? */
33363336   ROM_REGION( 0x4000, "maincpu", 0 )
33373337   ROM_LOAD( "warofbug.u",   0x0000, 0x0800, CRC(b8dfb7e3) SHA1(c7c675b2638869a9cd7dbd554e6131d8c71b567a) )
33383338   ROM_LOAD( "warofbug.v",   0x0800, 0x0800, CRC(fd8854e0) SHA1(b39ab41b834f18341968dd780f0a3cd07d70c16c) )
r15523r15524
33483348   ROM_LOAD( "warofbug.clr", 0x0000, 0x0020, CRC(8688e64b) SHA1(ed13414257f580b98b50c9892a14159c55e7838d) )
33493349ROM_END
33503350
3351
3352ROM_START( warofbugg )
3353   ROM_REGION( 0x4000, "maincpu", 0 )
3354   ROM_LOAD( "wotbg-u-1.bin",   0x0000, 0x0800, CRC(f43ff0a8) SHA1(b87abeb8af9105fa8fba78f9a68363bd89066e7f) )
3355   ROM_LOAD( "wotbg-v-2.bin",   0x0800, 0x0800, CRC(eb7a028b) SHA1(8c822ae11d3cc04f749a7cd639d15b9fc830ab35) )
3356   ROM_LOAD( "wotbg-w-3.bin",   0x1000, 0x0800, CRC(693e0e50) SHA1(00b19969cee0f95bfb8251c2df133ff2c9ae3b00) )
3357   ROM_LOAD( "wotbg-y-4.bin",   0x1800, 0x0800, CRC(885d4982) SHA1(4aeaf514a9413a9cb9a971fd258c6cf46ca66fc4) )
3358   ROM_LOAD( "wotbg-z-5.bin",   0x2000, 0x0800, CRC(60041ef2) SHA1(cced5837a037ac5cd8fa6260d69d8e33de5ecd48) )
3359
3360   ROM_REGION( 0x1000, "gfx1", 0 )
3361   ROM_LOAD( "warofbug.1k",  0x0000, 0x0800, CRC(8100fa85) SHA1(06641c431cace36dec98b87555f62e72f3e53a31) )
3362   ROM_LOAD( "warofbug.1j",  0x0800, 0x0800, CRC(d1220ae9) SHA1(e892bc8b0b71d8b07503e474e9c30e6cab460682) )
3363
3364   ROM_REGION( 0x0020, "proms", 0 )
3365   ROM_LOAD( "warofbug.clr", 0x0000, 0x0020, CRC(8688e64b) SHA1(ed13414257f580b98b50c9892a14159c55e7838d) )
3366ROM_END
3367
3368
33513369/*  Galaxian hardware mods for War of the Bugs warofbug/warofbugg
33523370
33533371(WotB using daughterboard that plugs into Z80 socket - has a socketed PAL, two other 20-pin ICs,
r15523r15524
33683386(although I've seen one set of docs saying to connect to pin 1 of
33693387ic 2N (7408) instead)  */
33703388
3371ROM_START( warofbugg )
3389
3390ROM_START( warofbugu )
33723391   ROM_REGION( 0x4000, "maincpu", 0 )
3373   ROM_LOAD( "wotbg-u-1.bin",   0x0000, 0x0800, CRC(f43ff0a8) SHA1(b87abeb8af9105fa8fba78f9a68363bd89066e7f) )
3374   ROM_LOAD( "wotbg-v-2.bin",   0x0800, 0x0800, CRC(eb7a028b) SHA1(8c822ae11d3cc04f749a7cd639d15b9fc830ab35) )
3375   ROM_LOAD( "wotbg-w-3.bin",   0x1000, 0x0800, CRC(693e0e50) SHA1(00b19969cee0f95bfb8251c2df133ff2c9ae3b00) )
3376   ROM_LOAD( "wotbg-y-4.bin",   0x1800, 0x0800, CRC(885d4982) SHA1(4aeaf514a9413a9cb9a971fd258c6cf46ca66fc4) )
3377   ROM_LOAD( "wotbg-z-5.bin",   0x2000, 0x0800, CRC(60041ef2) SHA1(cced5837a037ac5cd8fa6260d69d8e33de5ecd48) )
3392   ROM_LOAD( "wb-prog-1.7d",   0x0000, 0x0800, CRC(b8dfb7e3) SHA1(c7c675b2638869a9cd7dbd554e6131d8c71b567a) )
3393   ROM_LOAD( "wb-prog-2.7e",   0x0800, 0x0800, CRC(fd8854e0) SHA1(b39ab41b834f18341968dd780f0a3cd07d70c16c) )
3394   ROM_LOAD( "wb-prog-3.7j",   0x1000, 0x0800, CRC(4495aa14) SHA1(f1be281db1d831770efa9cc41ea87eb348e70108) )
3395   ROM_LOAD( "wb-prog-4.7n",   0x1800, 0x0800, CRC(e4bd257c) SHA1(e9a26a50cbc76bb339dfbf3d2817229fe9ff7fc4) )
3396   ROM_LOAD( "wb-prog-5.7p",   0x2000, 0x0800, CRC(71257bb4) SHA1(3624becfda4e080795a15428a51dcda261f91210) )
33783397
33793398   ROM_REGION( 0x1000, "gfx1", 0 )
3380   ROM_LOAD( "warofbug.1k",  0x0000, 0x0800, CRC(8100fa85) SHA1(06641c431cace36dec98b87555f62e72f3e53a31) )
3381   ROM_LOAD( "warofbug.1j",  0x0800, 0x0800, CRC(d1220ae9) SHA1(e892bc8b0b71d8b07503e474e9c30e6cab460682) )
3399   ROM_LOAD( "warofbug.1k",  0x0000, 0x0800, CRC(8100fa85) SHA1(06641c431cace36dec98b87555f62e72f3e53a31) ) // wb-vid-1.1j
3400   ROM_LOAD( "warofbug.1j",  0x0800, 0x0800, CRC(d1220ae9) SHA1(e892bc8b0b71d8b07503e474e9c30e6cab460682) ) // wb-vid-2.1l
33823401
33833402   ROM_REGION( 0x0020, "proms", 0 )
33843403   ROM_LOAD( "warofbug.clr", 0x0000, 0x0020, CRC(8688e64b) SHA1(ed13414257f580b98b50c9892a14159c55e7838d) )
33853404ROM_END
33863405
3406
33873407ROM_START( redufo ) /* Galaxian bootleg hardware known as Artic Multi-System */
33883408   ROM_REGION( 0x4000, "maincpu", 0 )
33893409   ROM_LOAD( "redufo.1",  0x0000, 0x0800, CRC(6a3b873c) SHA1(82f07921d8f1da3ed8b4f99b8052bd7e2cefcb6a) )
r15523r15524
63846404GAME( 19??, omega,    theend,   galaxian, omega,    galaxian, ROT270, "bootleg?", "Omega", GAME_SUPPORTS_SAVE )
63856405
63866406/* these games require the coin lockout mechanism to be disabled */
6387GAME( 1981, warofbug, 0,        galaxian, warofbug, nolock,   ROT90,  "Armenia", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze", GAME_SUPPORTS_SAVE )
6407GAME( 1981, warofbug, 0,        galaxian, warofbug, nolock,   ROT90,  "Armenia / Food and Fun Corp", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze", GAME_SUPPORTS_SAVE )
6408GAME( 1981, warofbugu,warofbug, galaxian, warofbug, nolock,   ROT90,  "Armenia / Super Video Games", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze (US)", GAME_SUPPORTS_SAVE )
63886409GAME( 1981, warofbugg,warofbug, galaxian, warofbug, nolock,   ROT90,  "Armenia", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze (German)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
63896410GAME( 1981, redufo,   0,        galaxian, redufo,   nolock,   ROT270, "Artic", "Defend the Terra Attack on the Red UFO", GAME_SUPPORTS_SAVE ) // is this the original?
63906411GAME( 1981, redufob,  redufo,   galaxian, redufob,  nolock,   ROT90,  "bootleg", "Defend the Terra Attack on the Red UFO (bootleg)", GAME_SUPPORTS_SAVE ) // rev A?
src/mame/drivers/taito_h.c
r15523r15524
55driver by Yochizo
66
77This driver is heavily dependent on the Raine source.
8Very thanks to Richard Bush and the Raine team. Also,
9I have been given a lot of helpful informations by
8Special thanks to Richard Bush and the Raine team. Also,
9I have been given a lot of helpful information by
1010Yasuhiro Ogawa. Thank you, Yasu.
1111
1212
r15523r15524
2020System specs :
2121===============
2222 CPU   : MC68000 (12 MHz) x 1, Z80 (4 MHz?, sound CPU) x 1
23 Sound : YM2610, YM3016?
23 Sound : YM2610, YM3016
2424 OSC   : 20.000 MHz, 8.000 MHz, 24.000 MHz
25 Chips : TC0070RGB (Palette?)
25 Chips : TC0070RGB (RGB/Video Mixer)
2626         TC0220IOC (Input)
2727         TC0140SYT (Sound communication)
2828         TC0130LNB (???)
2929         TC0160ROM (???)
30         TC0080VCO (Video?)
30         TC0080VCO (Tilemap & Motion Object Gen)
3131
3232 name             irq    resolution   tx-layer   tc0220ioc
3333 --------------------------------------------------------------
r15523r15524
424424   PORT_DIPSETTING(    0x01, "Constant" )
425425   PORT_DIPSETTING(    0x00, "Based on Inning" )
426426   TAITO_DSWA_BITS_1_TO_3_LOC(SW1)
427   TAITO_COINAGE_JAPAN_OLD_LOC(SW1)
427   TAITO_COINAGE_US_LOC(SW1)
428428
429429   /* 0x200002 -> 0x100527.b ($527,A5) */
430430   PORT_START("DSWB")
r15523r15524
464464   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
465465INPUT_PORTS_END
466466
467static INPUT_PORTS_START( dleaguej )
468   PORT_INCLUDE(dleague)
467469
470   PORT_MODIFY("DSWA")
471   TAITO_COINAGE_JAPAN_OLD_LOC(SW1)
472INPUT_PORTS_END
473
474
468475/***************************************************************************
469476
470477  Machine Driver(s)
r15523r15524
559566static MACHINE_CONFIG_START( syvalion, taitoh_state )
560567
561568   /* basic machine hardware */
562   MCFG_CPU_ADD("maincpu", M68000,24000000 / 2)      /* 12 MHz */
569   MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz / 2)      /* 12 MHz */
563570   MCFG_CPU_PROGRAM_MAP(syvalion_map)
564571   MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
565572
566   MCFG_CPU_ADD("audiocpu", Z80,8000000 / 2)      /* 4 MHz ??? */
573   MCFG_CPU_ADD("audiocpu", Z80, XTAL_8MHz / 2)      /* 4 MHz ??? */
567574   MCFG_CPU_PROGRAM_MAP(sound_map)
568575
569576   MCFG_MACHINE_START(taitoh)
r15523r15524
589596   /* sound hardware */
590597   MCFG_SPEAKER_STANDARD_MONO("mono")
591598
592   MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
599   MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz)
593600   MCFG_SOUND_CONFIG(ym2610_config)
594601   MCFG_SOUND_ROUTE(0, "mono", 0.25)
595602   MCFG_SOUND_ROUTE(1, "mono", 1.0)
r15523r15524
602609static MACHINE_CONFIG_START( recordbr, taitoh_state )
603610
604611   /* basic machine hardware */
605   MCFG_CPU_ADD("maincpu", M68000,24000000 / 2)      /* 12 MHz */
612   MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz / 2)      /* 12 MHz */
606613   MCFG_CPU_PROGRAM_MAP(recordbr_map)
607614   MCFG_CPU_VBLANK_INT("screen", irq2_line_hold)
608615
609   MCFG_CPU_ADD("audiocpu", Z80,8000000 / 2)      /* 4 MHz ??? */
616   MCFG_CPU_ADD("audiocpu", Z80, XTAL_8MHz / 2)      /* 4 MHz ??? */
610617   MCFG_CPU_PROGRAM_MAP(sound_map)
611618
612619   MCFG_MACHINE_START(taitoh)
r15523r15524
632639   /* sound hardware */
633640   MCFG_SPEAKER_STANDARD_MONO("mono")
634641
635   MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
642   MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz)
636643   MCFG_SOUND_CONFIG(ym2610_config)
637644   MCFG_SOUND_ROUTE(0, "mono", 0.25)
638645   MCFG_SOUND_ROUTE(1, "mono", 1.0)
r15523r15524
645652static MACHINE_CONFIG_START( dleague, taitoh_state )
646653
647654   /* basic machine hardware */
648   MCFG_CPU_ADD("maincpu", M68000,24000000 / 2)      /* 12 MHz */
655   MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz / 2)      /* 12 MHz */
649656   MCFG_CPU_PROGRAM_MAP(dleague_map)
650657   MCFG_CPU_VBLANK_INT("screen", irq1_line_hold)
651658
652   MCFG_CPU_ADD("audiocpu", Z80,8000000 / 2)      /* 4 MHz ??? */
659   MCFG_CPU_ADD("audiocpu", Z80, XTAL_8MHz / 2)      /* 4 MHz ??? */
653660   MCFG_CPU_PROGRAM_MAP(sound_map)
654661
655662   MCFG_MACHINE_START(taitoh)
r15523r15524
675682   /* sound hardware */
676683   MCFG_SPEAKER_STANDARD_MONO("mono")
677684
678   MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
685   MCFG_SOUND_ADD("ymsnd", YM2610, XTAL_8MHz)
679686   MCFG_SOUND_CONFIG(ym2610_config)
680687   MCFG_SOUND_ROUTE(0, "mono", 0.25)
681688   MCFG_SOUND_ROUTE(1, "mono", 1.0)
r15523r15524
791798
792799ROM_START( dleague )
793800   ROM_REGION( 0x60000, "maincpu", 0 )
801   ROM_LOAD16_BYTE( "c02-xx.33", 0x00000, 0x20000, CRC(eda870a7) SHA1(1749a6eb80c137b042d4935fcb9cff1ca50d4397) ) /* Need to verify proper Taito chip number */
802   ROM_LOAD16_BYTE( "c02-xx.36", 0x00001, 0x20000, CRC(f52114af) SHA1(d500933852332a9463a5738cf5890625c9b35d65) ) /* Need to verify proper Taito chip number */
803   ROM_LOAD16_BYTE( "c02-20.34", 0x40000, 0x10000, CRC(cdf593f3) SHA1(6afbd9d8d74e6801dc991eb9fd3205057747b986) )
804   ROM_LOAD16_BYTE( "c02-xx.37", 0x40001, 0x10000, CRC(820a8241) SHA1(a1b75e76f6806d5cbdb97f59d29aa846a6f3bb8b) ) /* Need to verify proper Taito chip number */
805
806   ROM_REGION( 0x1c000, "audiocpu", 0 )
807   ROM_LOAD( "c02-23.40", 0x00000, 0x04000, CRC(5632ee49) SHA1(90dedaf40ab526529cd7d569b78a9d5451ec3e25) )
808   ROM_CONTINUE(          0x10000, 0x0c000 )
809
810   ROM_REGION( 0x400000, "gfx1", 0 )
811   ROM_LOAD       ( "c02-02.15", 0x000000, 0x80000, CRC(b273f854) SHA1(5961b9fe2c49fb05f5bc3e27e05925dbef8577e9) )
812   ROM_LOAD16_BYTE( "c02-06.6",  0x080000, 0x20000, CRC(b8473c7b) SHA1(8fe8d838bdba7aaaf4527ac1c5c16604922bb245) )
813   ROM_LOAD16_BYTE( "c02-10.14", 0x080001, 0x20000, CRC(50c02f0f) SHA1(7d13b798c0a98387719ab738b9178ee6079327b2) )
814   ROM_LOAD       ( "c02-03.17", 0x100000, 0x80000, CRC(c3fd0dcd) SHA1(43f32cefbca203bd0453e1c3d4523f0834900418) )
815   ROM_LOAD16_BYTE( "c02-07.7",  0x180000, 0x20000, CRC(8c1e3296) SHA1(088b028189131186c82c61c38d5a936a0cc9830f) )
816   ROM_LOAD16_BYTE( "c02-11.16", 0x180001, 0x20000, CRC(fbe548b8) SHA1(c2b453fc213c21d118810b8502836e7a2ba5626b) )
817   ROM_LOAD       ( "c02-24.19", 0x200000, 0x80000, CRC(18ef740a) SHA1(27f0445c053e28267e5688627d4f91d158d4fb07) )
818   ROM_LOAD16_BYTE( "c02-08.8",  0x280000, 0x20000, CRC(1a3c2f93) SHA1(0e45f8211dae8e17e67d26173262ca9831ccd283) )
819   ROM_LOAD16_BYTE( "c02-12.18", 0x280001, 0x20000, CRC(b1c151c5) SHA1(3fc3d4270cad52c4a82c217b452e534d24bd8548) )
820   ROM_LOAD       ( "c02-05.21", 0x300000, 0x80000, CRC(fe3a5179) SHA1(34a98969c553ee8c52aeb4fb09670a4ad572446e) )
821   ROM_LOAD16_BYTE( "c02-09.9",  0x380000, 0x20000, CRC(a614d234) SHA1(dc68a6a8cf89ab82edc571853249643aa304d37f) )
822   ROM_LOAD16_BYTE( "c02-13.20", 0x380001, 0x20000, CRC(8eb3194d) SHA1(98290f77a03826cdf7c8238dd35da1f9349d5cf5) )
823
824   ROM_REGION( 0x02000, "user1", 0 ) /* zoom table / mixing? */
825   ROM_LOAD( "c02-18.22", 0x00000, 0x02000, CRC(c88f0bbe) SHA1(18c87c744fbeca35d13033e50f62e5383eb4ec2c) )
826
827   ROM_REGION( 0x80000, "ymsnd", 0 )   /* samples */
828   ROM_LOAD( "c02-01.31", 0x00000, 0x80000, CRC(d5a3d1aa) SHA1(544f807015b5d854a4d8cb73e4dbae4b953fd440) )
829ROM_END
830
831ROM_START( dleaguej )
832   ROM_REGION( 0x60000, "maincpu", 0 )
794833   ROM_LOAD16_BYTE( "c02-19a.33", 0x00000, 0x20000, CRC(7e904e45) SHA1(04ac470c973753e71fba3998099a88ab0e6fcbab) )
795834   ROM_LOAD16_BYTE( "c02-21a.36", 0x00001, 0x20000, CRC(18c8a32b) SHA1(507cd7a83dcb6eaefa52f2661b9f3a6fabbfbd46) )
796835   ROM_LOAD16_BYTE( "c02-20.34",  0x40000, 0x10000, CRC(cdf593f3) SHA1(6afbd9d8d74e6801dc991eb9fd3205057747b986) )
r15523r15524
822861ROM_END
823862
824863
825/*  ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT     MONITOR  COMPANY  FULLNAME */
826GAME( 1988, syvalion, 0,        syvalion, syvalion, 0,       ROT0,    "Taito Corporation",       "Syvalion (Japan)",        GAME_SUPPORTS_SAVE )
827GAME( 1988, recordbr, 0,        recordbr, recordbr, 0,       ROT0,    "Taito Corporation Japan", "Recordbreaker (World)",   GAME_SUPPORTS_SAVE )
828GAME( 1988, gogold,   recordbr, recordbr, gogold,   0,       ROT0,    "Taito Corporation",       "Go For The Gold (Japan)", GAME_SUPPORTS_SAVE )
829GAME( 1990, dleague,  0,        dleague,  dleague,  0,       ROT0,    "Taito Corporation",       "Dynamite League (Japan)", GAME_SUPPORTS_SAVE )
864/*  ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT     MONITOR  COMPANY                      FULLNAME */
865GAME( 1988, syvalion, 0,        syvalion, syvalion, 0,       ROT0,    "Taito Corporation",         "Syvalion (Japan)",        GAME_SUPPORTS_SAVE )
866GAME( 1988, recordbr, 0,        recordbr, recordbr, 0,       ROT0,    "Taito Corporation Japan",   "Recordbreaker (World)",   GAME_SUPPORTS_SAVE )
867GAME( 1988, gogold,   recordbr, recordbr, gogold,   0,       ROT0,    "Taito Corporation",         "Go For The Gold (Japan)", GAME_SUPPORTS_SAVE )
868GAME( 1990, dleague,  0,        dleague,  dleague,  0,       ROT0,    "Taito America Corporation", "Dynamite League (US)", GAME_SUPPORTS_SAVE )
869GAME( 1990, dleaguej, dleague,  dleague,  dleaguej, 0,       ROT0,    "Taito Corporation",         "Dynamite League (Japan)", GAME_SUPPORTS_SAVE )
src/mame/drivers/missile.c
r15523r15524
66        * Missile Command
77
88    Known issues:
9        * none at this time
9        * bootleg sets don't work yet
1010
1111******************************************************************************************
1212
r15523r15524
320320                                On  ( Unused )
321321                                Off ( Unused )
322322
323    -there are 2 different versions of the Super Missile Attack board.  It's not known if
323    There are 2 different versions of the Super Missile Attack board.  It's not known if
324324    the roms are different.  The SMA manual mentions a set 3(035822-03E) that will work
325325    as well as set 2. Missile Command set 1 will not work with the SMA board. It would
326        appear set 1 and set 2 as labeled by mame are reversed.
326    appear set 1 and set 2 as labeled by mame are reversed.
327327
328328****************************************************************************
329329
r15523r15524
356356{
357357public:
358358   missile_state(const machine_config &mconfig, device_type type, const char *tag)
359      : driver_device(mconfig, type, tag) ,
360      m_videoram(*this, "videoram"){ }
359      : driver_device(mconfig, type, tag),
360      m_maincpu(*this,"maincpu"),
361      m_videoram(*this, "videoram")
362   { }
361363
364   required_device<m6502_device> m_maincpu;
362365   required_shared_ptr<UINT8> m_videoram;
366
363367   const UINT8 *m_writeprom;
364368   emu_timer *m_irq_timer;
365369   emu_timer *m_cpu_timer;
r15523r15524
368372   UINT8 m_flipscreen;
369373   UINT8 m_madsel_delay;
370374   UINT16 m_madsel_lastpc;
375
371376   DECLARE_WRITE8_MEMBER(missile_w);
372377   DECLARE_READ8_MEMBER(missile_r);
373378   DECLARE_CUSTOM_INPUT_MEMBER(get_vblank);
r15523r15524
387392#define VBEND         (25)   /* 24 causes a garbage line at the top of the screen */
388393
389394
390/*************************************
391 *
392 *  Globals
393 *
394 *************************************/
395395
396
397
398
399
400
401396/*************************************
402397 *
403398 *  VBLANK and IRQ generation
r15523r15524
443438
444439   /* assert the IRQ if not already asserted */
445440   state->m_irq_state = (~curv >> 5) & 1;
446   cputag_set_input_line(machine, "maincpu", 0, state->m_irq_state ? ASSERT_LINE : CLEAR_LINE);
441   device_set_input_line(state->m_maincpu, 0, state->m_irq_state ? ASSERT_LINE : CLEAR_LINE);
447442
448443   /* force an update while we're here */
449444   machine.primary_screen->update_partial(v_to_scanline(state, curv));
r15523r15524
475470
476471   /* starting at scanline 224, the CPU runs at half speed */
477472   if (curv == 224)
478      machine.device("maincpu")->set_unscaled_clock(MASTER_CLOCK/16);
473      state->m_maincpu->set_unscaled_clock(MASTER_CLOCK/16);
479474   else
480      machine.device("maincpu")->set_unscaled_clock(MASTER_CLOCK/8);
475      state->m_maincpu->set_unscaled_clock(MASTER_CLOCK/8);
481476
482477   /* scanline for the next run */
483478   curv ^= 224;
r15523r15524
513508static MACHINE_START( missile )
514509{
515510   missile_state *state = machine.driver_data<missile_state>();
511
516512   /* initialize globals */
517513   state->m_writeprom = state->memregion("proms")->base();
518514   state->m_flipscreen = 0;
519515
520516   /* set up an opcode base handler since we use mapped handlers for RAM */
521   address_space *space = machine.device<m6502_device>("maincpu")->space(AS_PROGRAM);
517   address_space *space = state->m_maincpu->space(AS_PROGRAM);
522518   space->set_direct_update_handler(direct_update_delegate(FUNC(missile_state::missile_direct_handler), state));
523519
524520   /* create a timer to speed/slow the CPU */
r15523r15524
542538static MACHINE_RESET( missile )
543539{
544540   missile_state *state = machine.driver_data<missile_state>();
545   cputag_set_input_line(machine, "maincpu", 0, CLEAR_LINE);
541   device_set_input_line(state->m_maincpu, 0, CLEAR_LINE);
546542   state->m_irq_state = 0;
547543}
548544
r15523r15524
761757   {
762758      if (m_irq_state)
763759      {
764         cputag_set_input_line(machine(), "maincpu", 0, CLEAR_LINE);
760         device_set_input_line(m_maincpu, 0, CLEAR_LINE);
765761         m_irq_state = 0;
766762      }
767763   }
r15523r15524
11461142
11471143/*
11481144
1145Missile Command Multigame, produced by Braze Technologies
1146from 2005(1st version) to 2007(version 1d). This kit combines
1147Missile Command and Super Missile Attack on a daughterboard
1148plugged into the main pcb cpu slot.
1149
1150- M6502 CPU (from main pcb)
1151- 27C512 64KB EPROM
1152- 93C46P E2PROM for saving highscore/settings
1153- two 74LS chips (labels sandpapered off)
1154
1155*/
1156
1157ROM_START( missilem )
1158   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) // banked, decrypted rom goes here
1159
1160   ROM_REGION( 0x10000, "user1", 0 )
1161   ROM_LOAD("mcm001d.512", 0x00000, 0x10000, CRC(0a5845b5) SHA1(4828866018a984e7cd7f55a33613f43ece5d8d63) )
1162
1163   ROM_REGION( 0x0020, "proms", 0 )
1164   ROM_LOAD( "035826-01.l6", 0x0000, 0x0020, CRC(86a22140) SHA1(2beebf7855e29849ada1823eae031fc98220bc43) )
1165ROM_END
1166
1167
1168/*
1169
11491170Missile Combat bootlegs by 'Videotron'
11501171
115111721x 6502A (main)
r15523r15524
12791300   }
12801301}
12811302
1303static DRIVER_INIT( missilem )
1304{
1305   UINT8 *src = machine.root_device().memregion("user1")->base();
1306   UINT8 *dest = machine.root_device().memregion("maincpu")->base();
12821307
1308   // decrypt rom and put in maincpu region (result looks correct, but is untested)
1309   for (int i = 0; i < 0x10000; i++)
1310   {
1311      int a = BITSWAP16(i, 15,2,3,0,8,9,7,5,1,4,6,14,13,12,10,11);
1312      int d = BITSWAP8(src[a], 3,2,4,5,6,1,7,0);
1313     
1314      a = i;
1315      a ^= (~a >> 1 & 0x400);
1316      a ^= (~a >> 4 & 0x100);
1317      a ^= ( a >> 7 & 0x100);
1318
1319      dest[a] = d;
1320   }
1321}
1322
1323
12831324/*************************************
12841325 *
12851326 *  Game drivers
r15523r15524
12931334GAME( 1981, suprmatkd,missile, missile, suprmatk,        0, ROT0, "Atari / General Computer Corporation", "Super Missile Attack (not encrypted)", GAME_SUPPORTS_SAVE )
12941335
12951336/* the bootlegs are on different hardware and don't work */
1296GAME( 198?, mcombat,  missile, missile, missile,         0, ROT0, "bootleg (Videotron)", "Missile Combat (Videotron bootleg, set 1)", GAME_NOT_WORKING )
1297GAME( 198?, mcombata, missile, missile, missile,         0, ROT0, "bootleg (Videotron)", "Missile Combat (Videotron bootleg, set 2)", GAME_NOT_WORKING )
1298GAME( 198?, mcombats, missile, missile, missile,         0, ROT0, "bootleg (Sidam)", "Missile Combat (Sidam bootleg)", GAME_NOT_WORKING )
1337GAME( 1980, mcombat,  missile, missile, missile,         0, ROT0, "bootleg (Videotron)", "Missile Combat (Videotron bootleg, set 1)", GAME_NOT_WORKING )
1338GAME( 1980, mcombata, missile, missile, missile,         0, ROT0, "bootleg (Videotron)", "Missile Combat (Videotron bootleg, set 2)", GAME_NOT_WORKING )
1339GAME( 1980, mcombats, missile, missile, missile,         0, ROT0, "bootleg (Sidam)", "Missile Combat (Sidam bootleg)", GAME_NOT_WORKING )
1340GAME( 2005, missilem, missile, missile, missile,  missilem, ROT0, "hack (Braze Technologies)", "Missile Command Multigame", GAME_NOT_WORKING )
src/mame/drivers/pgm2.c
r15523r15524
1
2
31/* PGM 2 hardware.
42
53 Motherboard is bare bones stuff, probably only contains the video processor, no ROMs.
64
7 Makes use of internal ROM ASICS, newer than those found on the best protected PGM games.  Games actually boot to a warning screen even if you remove all program roms!
5 Makes use of internal ROM ASICS, newer than those found on the best protected PGM games.
6 Games actually boot to a warning screen even if you remove all program roms!
87
98 Encrypted.
109
11 I'm guessing it's ARM based, but not sure.
10 Likely ARM based, but until we can obtain decrypted data, we will not know for sure.
1211
12
13PGM2 Motherboard Components:
14
15 IS61LV25616AL(SRAM)
16 IGS037(GFX PROCESSOR)
17 YMZ774-S(SOUND)
18 R5F21256SN(extra MCU for protection and ICcard communication)
19
1320*/
1421
1522#include "emu.h"
r15523r15524
137144   MCFG_VIDEO_START(pgm2)
138145
139146   MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
140    MCFG_YMZ770_ADD("ymz770", 16384000)
147    MCFG_YMZ770_ADD("ymz770", 16384000)  // Actually a YMZ774 on-board
141148   MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
142149   MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
143150MACHINE_CONFIG_END
src/mame/drivers/segae.c
r15523r15524
10621062GAME( 1986, astrofl,  transfrm, systeme, transfrm, 0,    ROT0,   "Sega", "Astro Flash (Japan)", 0 )
10631063GAME( 1986, ridleofp, 0,        systeme, ridleofp, 0,    ROT90,  "Sega / Nasco", "Riddle of Pythagoras (Japan)", 0 )
10641064GAME( 1987, opaopa,   0,        systeme, opaopa,   0,    ROT0,   "Sega", "Opa Opa (MC-8123, 317-0042)", 0 )
1065GAME( 1988, fantzn2,  0,        systeme, fantzn2,  0,    ROT0,   "Sega", "Fantasy Zone 2 (MC-8123, 317-0057)", 0 )
1065GAME( 1988, fantzn2,  0,        systeme, fantzn2,  0,    ROT0,   "Sega", "Fantasy Zone II - The Tears of Opa-Opa (MC-8123, 317-0057)", 0 )
10661066GAME( 1988, tetrisse, 0,        systeme, tetrisse, 0,    ROT0,   "Sega", "Tetris (Japan, System E)", 0 )
10671067
src/mame/drivers/savquest.c
r15523r15524
417417   AM_RANGE(0x01f0, 0x01f7) AM_READWRITE(ide_r, ide_w)
418418   AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
419419
420   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
420   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
421421
422422//  AM_RANGE(0x5000, 0x5007) // routes to port $eb
423423ADDRESS_MAP_END
r15523r15524
553553
554554   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
555555
556   MCFG_PCI_BUS_ADD("pcibus", 0)
557   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
558   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
556   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
557   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
558   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
559559
560560   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
561561
src/mame/drivers/cobra.c
r15523r15524
488488
489489READ64_MEMBER(cobra_state::main_mpc106_r)
490490{
491   pci_bus_device *device = machine().device<pci_bus_device>("pcibus");
491   pci_bus_legacy_device *device = machine().device<pci_bus_legacy_device>("pcibus");
492492   //return pci_64be_r(offset, mem_mask);
493493   return device->read_64be(space, offset, mem_mask);
494494}
495495
496496WRITE64_MEMBER(cobra_state::main_mpc106_w)
497497{
498   pci_bus_device *device = machine().device<pci_bus_device>("pcibus");
498   pci_bus_legacy_device *device = machine().device<pci_bus_legacy_device>("pcibus");
499499   //pci_64be_w(offset, data, mem_mask);
500500   device->write_64be(space, offset, data, mem_mask);
501501}
r15523r15524
20272027
20282028   MCFG_MACHINE_RESET( cobra )
20292029
2030   MCFG_PCI_BUS_ADD("pcibus", 0)
2031   MCFG_PCI_BUS_DEVICE(0, NULL, mpc106_pci_r, mpc106_pci_w)
2030   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
2031   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, mpc106_pci_r, mpc106_pci_w)
20322032
20332033   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
20342034
src/mame/drivers/midyunit.c
r15523r15524
23572357
23582358   /* A 'NIBBLE BOARD' daughtercard holding a GAL16V8A-2SP, 27C040 EPROM and a 9.8304MHz XTAL plugs into the U89 socket */
23592359   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
2360   ROM_LOAD16_BYTE( "turbo30.u105", 0x00000, 0x80000, CRC(29680b34) SHA1(a4c911b9872be38597913f946a4bcc1039e7d85d) )
2360   ROM_LOAD16_BYTE( "turbo30.u105", 0x00000, 0x80000, CRC(59747c59) SHA1(69e1450a6b2b41b8939ce84903cb35c1906b81e2) )
23612361   ROM_LOAD16_BYTE(  "turbo30.u89", 0x00001, 0x80000, CRC(84d66a75) SHA1(11ee7ae7fc1c13cafa8312f101878393ae6fd8b7) )
23622362        ROM_REGION( 0x800000, "gfx1", 0 )
23632363   ROM_LOAD ( "mkg-u111.rom",  0x000000, 0x80000, CRC(d17096c4) SHA1(01ef390a372c9d94adf138f9543ebb88b89f4c38) )
src/mame/drivers/midqslvr.c
r15523r15524
558558   AM_RANGE(0x01f0, 0x01f7) AM_READWRITE(ide_r, ide_w)
559559   AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
560560
561   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
561   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
562562ADDRESS_MAP_END
563563
564564static const struct pit8253_config midqslvr_pit8254_config =
r15523r15524
702702
703703   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
704704
705   MCFG_PCI_BUS_ADD("pcibus", 0)
706   MCFG_PCI_BUS_DEVICE( 0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
707   MCFG_PCI_BUS_DEVICE(31, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
705   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
706   MCFG_PCI_BUS_LEGACY_DEVICE( 0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
707   MCFG_PCI_BUS_LEGACY_DEVICE(31, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
708708
709709   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
710710
src/mame/drivers/calchase.c
r15523r15524
603603   AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
604604   AM_RANGE(0x03f8, 0x03ff) AM_NOP // To debug Serial Port COM1:
605605   AM_RANGE(0x0a78, 0x0a7b) AM_WRITENOP//AM_WRITE_LEGACY(pnp_data_w)
606   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
606   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
607607   AM_RANGE(0x42e8, 0x43ef) AM_NOP //To debug
608608   AM_RANGE(0x43c0, 0x43cf) AM_RAM AM_SHARE("share1")
609609   AM_RANGE(0x46e8, 0x46ef) AM_NOP //To debug
r15523r15524
932932   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
933933
934934   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
935   MCFG_PCI_BUS_ADD("pcibus", 0)
936   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
937   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
935   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
936   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
937   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
938938
939939   /* video hardware */
940940   MCFG_FRAGMENT_ADD( pcvideo_vga )
src/mame/drivers/magictg.c
r15523r15524
137137
138138   required_device<cpu_device>         m_mips;
139139   required_device<adsp2181_device>   m_adsp;
140   required_device<pci_bus_device>      m_pci;
140   required_device<pci_bus_legacy_device>      m_pci;
141141
142142
143143   /* ASIC */
r15523r15524
924924   MCFG_SOUND_ADD("dac2", DMADAC, 0)
925925   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
926926
927   MCFG_PCI_BUS_ADD("pcibus", 0)
928   MCFG_PCI_BUS_DEVICE(0, NULL, pci_dev0_r, pci_dev0_w)
929   MCFG_PCI_BUS_DEVICE(7, "voodoo_0", voodoo_0_pci_r, voodoo_0_pci_w)
927   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
928   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, pci_dev0_r, pci_dev0_w)
929   MCFG_PCI_BUS_LEGACY_DEVICE(7, "voodoo_0", voodoo_0_pci_r, voodoo_0_pci_w)
930930
931931#if defined(USE_TWO_3DFX)
932   MCFG_PCI_BUS_DEVICE(8, "voodoo_1", voodoo_1_pci_r, voodoo_1_pci_w)
932   MCFG_PCI_BUS_LEGACY_DEVICE(8, "voodoo_1", voodoo_1_pci_r, voodoo_1_pci_w)
933933#endif
934   MCFG_PCI_BUS_DEVICE(9, "zr36120", zr36120_pci_r, zr36120_pci_w)
934   MCFG_PCI_BUS_LEGACY_DEVICE(9, "zr36120", zr36120_pci_r, zr36120_pci_w)
935935
936936   MCFG_3DFX_VOODOO_1_ADD("voodoo_0", STD_VOODOO_1_CLOCK, 2, "screen")
937937   MCFG_3DFX_VOODOO_CPU("mips")
src/mame/drivers/xtom3d.c
r15523r15524
549549   AM_RANGE(0x01f0, 0x01f7) AM_READWRITE(ide_r, ide_w)
550550   AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
551551
552   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
552   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
553553ADDRESS_MAP_END
554554
555555
r15523r15524
694694
695695   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
696696
697   MCFG_PCI_BUS_ADD("pcibus", 0)
698   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
699   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
697   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
698   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
699   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
700700
701701   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
702702
src/mame/drivers/igs009.c
r15523r15524
11/***************************************************************************
22
3                      -= IGS009 Based Games =-
3                          -= IGS009 Based Games =-
44
5                        driver by Luca Elia
5                   driver by Luca Elia and David Haywood
66
77CPU     :   Z180
88Sound   :   M6295 + YM2413
r15523r15524
1313  The interesting part is the background tilemap, that is designed specifically
1414  for simulating the nine reels of a slot machine.
1515
16----------------------------------------------------------------------
17Year  Game                Manufacturer    Notes
18----------------------------------------------------------------------
191995? Jingle Bell         IGS
201998  Grand Prix '98      Romtec          1 reel gfx rom is bad
21----------------------------------------------------------------------
22
1623***************************************************************************/
1724
1825#include "emu.h"
r15523r15524
269276   state->m_gp98_reel2_tilemap->set_scroll_cols(128);
270277   state->m_gp98_reel3_tilemap->set_scroll_cols(128);
271278   state->m_gp98_reel4_tilemap->set_scroll_cols(128);
272
273279}
274280
275281
r15523r15524
507513   PORT_DIPNAME( 0x02, 0x00, "W-Up Bonus" )
508514   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
509515   PORT_DIPSETTING(    0x00, DEF_STR( On ) )   // it's shown in attract mode
510   PORT_DIPUNKNOWN( 0x04, 0x04 )
511   PORT_DIPUNKNOWN( 0x08, 0x08 )
512   PORT_DIPUNKNOWN( 0x10, 0x10 )
513   PORT_DIPUNKNOWN( 0x20, 0x20 )
514   PORT_DIPUNKNOWN( 0x40, 0x40 )
515   PORT_DIPUNKNOWN( 0x80, 0x80 )
516   PORT_DIPNAME( 0x04, 0x04, "Min Bet" )
517   PORT_DIPSETTING(    0x04, "1" )
518   PORT_DIPSETTING(    0x00, "8" )
519   PORT_DIPNAME( 0x08, 0x08, "Spin Speed" )
520   PORT_DIPSETTING(    0x08, "Slow" )
521   PORT_DIPSETTING(    0x00, "Quick" )
522   PORT_DIPNAME( 0x10, 0x00, "Strip Girl" )
523   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
524   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
525   PORT_DIPNAME( 0x20, 0x20, "Payout Mode" )
526   PORT_DIPSETTING(    0x20, DEF_STR( Normal ) )
527   PORT_DIPSETTING(    0x00, "Auto" )
528   PORT_DIPNAME( 0xc0, 0xc0, "Player's Panel" )
529   PORT_DIPSETTING(    0x00, "Type A" )
530   PORT_DIPSETTING(    0xc0, "Type A" )
531   PORT_DIPSETTING(    0x80, "Type B" )
532   PORT_DIPSETTING(    0x40, "Type C" )
516533
517534   PORT_START("DSW2")
518   PORT_DIPUNKNOWN( 0x01, 0x01 )
519   PORT_DIPUNKNOWN( 0x02, 0x02 )
520   PORT_DIPUNKNOWN( 0x04, 0x04 )
521   PORT_DIPUNKNOWN( 0x08, 0x08 )
522   PORT_DIPUNKNOWN( 0x10, 0x10 )
523   PORT_DIPUNKNOWN( 0x20, 0x20 )
524   PORT_DIPUNKNOWN( 0x40, 0x40 )
525   PORT_DIPUNKNOWN( 0x80, 0x80 )
535   PORT_DIPNAME( 0x07, 0x07, "Main Game Rate (%)" )
536   PORT_DIPSETTING(    0x07, "89" )
537   PORT_DIPSETTING(    0x06, "90" )
538   PORT_DIPSETTING(    0x05, "91" )
539   PORT_DIPSETTING(    0x04, "92" )
540   PORT_DIPSETTING(    0x03, "93" )
541   PORT_DIPSETTING(    0x02, "94" )
542   PORT_DIPSETTING(    0x01, "95" )
543   PORT_DIPSETTING(    0x00, "96" )
544   PORT_DIPNAME( 0x38, 0x38, "W-Up Chance (%)" )
545   PORT_DIPSETTING(    0x38, "93" )
546   PORT_DIPSETTING(    0x30, "94" )
547   PORT_DIPSETTING(    0x28, "95" )
548   PORT_DIPSETTING(    0x20, "96" )
549   PORT_DIPSETTING(    0x18, "97" )
550   PORT_DIPSETTING(    0x10, "98" )
551   PORT_DIPSETTING(    0x08, "99" )
552   PORT_DIPSETTING(    0x00, "100" )
553   PORT_DIPNAME( 0xc0, 0xc0, "Key In Limit" )
554   PORT_DIPSETTING(    0xc0, "1k" )
555   PORT_DIPSETTING(    0x80, "3k" )
556   PORT_DIPSETTING(    0x40, "5k" )
557   PORT_DIPSETTING(    0x00, "10k" )
526558
527559   PORT_START("DSW3")
528   PORT_DIPUNKNOWN( 0x01, 0x01 )
529   PORT_DIPUNKNOWN( 0x02, 0x02 )
530   PORT_DIPUNKNOWN( 0x04, 0x04 )
531   PORT_DIPUNKNOWN( 0x08, 0x08 )
532   PORT_DIPUNKNOWN( 0x10, 0x10 )
533   PORT_DIPUNKNOWN( 0x20, 0x20 )
534   PORT_DIPUNKNOWN( 0x40, 0x40 )
535   PORT_DIPUNKNOWN( 0x80, 0x80 )
560   PORT_DIPNAME( 0x07, 0x07, "Key In Rate" )
561   PORT_DIPSETTING(    0x07, "1" )
562   PORT_DIPSETTING(    0x06, "5" )
563   PORT_DIPSETTING(    0x05, "10" )
564   PORT_DIPSETTING(    0x04, "30" )
565   PORT_DIPSETTING(    0x03, "50" )
566   PORT_DIPSETTING(    0x02, "100" )
567   PORT_DIPSETTING(    0x01, "200" )
568   PORT_DIPSETTING(    0x00, "500" )
569   PORT_DIPNAME( 0x38, 0x38, "Coin 1 Rate" )
570   PORT_DIPSETTING(    0x38, "1" )
571   PORT_DIPSETTING(    0x30, "2" )
572   PORT_DIPSETTING(    0x28, "5" )
573   PORT_DIPSETTING(    0x20, "10" )
574   PORT_DIPSETTING(    0x18, "20" )
575   PORT_DIPSETTING(    0x10, "25" )
576   PORT_DIPSETTING(    0x08, "50" )
577   PORT_DIPSETTING(    0x00, "100" )
578   PORT_DIPNAME( 0xc0, 0xc0, "System Limit" )
579   PORT_DIPSETTING(    0xc0, "5k" )
580   PORT_DIPSETTING(    0x80, "10k" )
581   PORT_DIPSETTING(    0x40, "30k" )
582   PORT_DIPSETTING(    0x00, "50k" )
536583
537584   PORT_START("DSW4")
538   PORT_DIPUNKNOWN( 0x01, 0x01 )
539   PORT_DIPUNKNOWN( 0x02, 0x02 )
540   PORT_DIPUNKNOWN( 0x04, 0x04 )
541   PORT_DIPUNKNOWN( 0x08, 0x08 )
542   PORT_DIPUNKNOWN( 0x10, 0x10 )
543   PORT_DIPUNKNOWN( 0x20, 0x20 )
544   PORT_DIPUNKNOWN( 0x40, 0x40 )
545   PORT_DIPUNKNOWN( 0x80, 0x80 )
585   PORT_DIPNAME( 0x01, 0x01, "Min Play For Fever" )
586   PORT_DIPSETTING(    0x01, "8" )
587   PORT_DIPSETTING(    0x00, "16" )
588   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
589   PORT_DIPSETTING(    0x02, "16" )
590   PORT_DIPSETTING(    0x00, "32" )
591   PORT_DIPNAME( 0x1c, 0x1c, "Coin 2 Rate" )
592   PORT_DIPSETTING(    0x1c, "1" )
593   PORT_DIPSETTING(    0x18, "2" )
594   PORT_DIPSETTING(    0x14, "5" )
595   PORT_DIPSETTING(    0x10, "10" )
596   PORT_DIPSETTING(    0x0c, "20" )
597   PORT_DIPSETTING(    0x08, "40" )
598   PORT_DIPSETTING(    0x04, "50" )
599   PORT_DIPSETTING(    0x00, "100" )
600   PORT_DIPNAME( 0x60, 0x60, "Key Out Rate" )
601   PORT_DIPSETTING(    0x60, "1" )
602   PORT_DIPSETTING(    0x40, "10" )
603   PORT_DIPSETTING(    0x20, "50" )
604   PORT_DIPSETTING(    0x00, "100" )
605   PORT_DIPNAME( 0x80, 0x80, "Play Line" )
606   PORT_DIPSETTING(    0x80, "8" )
607   PORT_DIPSETTING(    0x00, "16" )
546608
547609   PORT_START("DSW5")
548610   PORT_DIPUNKNOWN( 0x01, 0x01 )
r15523r15524
556618
557619   PORT_START("SERVICE")
558620   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
559   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Memory Clear")   // stats, memory
621   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )      PORT_NAME("Memory Clear")   // stats, memory
560622   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF,igs009_state,hopper_r, (void *)0 )   // hopper sensor
561623   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
562624   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Pay Out")
563625   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )   // test (press during boot)
564   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Records")
626   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK )   PORT_NAME("Records")
565627   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN  )
566628
567629   PORT_START("COINS")
568   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
569   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
570   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
571   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
630   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1         )
631   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN       )
632   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2         )
633   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN  )
572634   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")   // pays out
573635   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
574636   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
575637   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
576638
577639   PORT_START("BUTTONS1")
578   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1 )
579   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2 )
580   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 )
581   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop")
640   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1    )
641   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2    )
642   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3    )
643   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL )
582644   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
583645   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
584646   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
585647   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
586648
587649   PORT_START("BUTTONS2")
588   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1  ) PORT_NAME("Start / H_Dup")
589   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
590   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Left Bet / H_Dup")
650   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1      ) PORT_NAME("Start / H_Dup")
651   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_LOW  ) PORT_NAME("Small")
652   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1     ) PORT_NAME("Left Bet / D_Dup")
591653   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
592   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Right Bet / Dup")
654   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2     ) PORT_NAME("Right Bet / Dup")
593655   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
594656   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
595657   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r15523r15524
626688};
627689
628690static GFXDECODE_START( jingbell )
629   GFXDECODE_ENTRY( "gfx1", 0, layout_8x32x6, 0, 16 )
630   GFXDECODE_ENTRY( "gfx2", 0, layout_8x8x6,  0, 16 )
691   GFXDECODE_ENTRY( "reels", 0, layout_8x32x6, 0, 16 )
692   GFXDECODE_ENTRY( "tiles", 0, layout_8x8x6,  0, 16 )
631693GFXDECODE_END
632694
633695static const gfx_layout tiles8x8_layout =
r15523r15524
637699   6,
638700   { RGN_FRAC(2,3)+0, RGN_FRAC(2,3)+1, RGN_FRAC(1,3)+0, RGN_FRAC(1,3)+1, RGN_FRAC(0,3)+0, RGN_FRAC(0,3)+1 },
639701   { 8,10,12,14, 0, 2, 4, 6, },
640   { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16 },
702   { STEP8(0,16) },
641703   16*8
642704};
643705
r15523r15524
648710   6,
649711   { RGN_FRAC(2,3)+0, RGN_FRAC(2,3)+1, RGN_FRAC(1,3)+0, RGN_FRAC(1,3)+1, RGN_FRAC(0,3)+0, RGN_FRAC(0,3)+1 },
650712   { 8,10,12,14, 0, 2, 4, 6, },
651   { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,8*16,9*16,10*16,11*16,12*16,13*16,14*16,15*16,16*16,17*16,18*16,19*16,20*16,21*16,22*16,23*16,24*16,25*16,26*16,27*16,28*16,29*16,30*16,31*16 },
713   { STEP32(0,16) },
652714   32*16
653715};
654716
655717static GFXDECODE_START( gp98 )
656   GFXDECODE_ENTRY( "gfx1", 0, tiles8x32_layout, 0, 16 )
657   GFXDECODE_ENTRY( "gfx2", 0, tiles8x8_layout, 0, 16 )
718   GFXDECODE_ENTRY( "reels", 0, tiles8x32_layout, 0, 16 )
719   GFXDECODE_ENTRY( "tiles", 0, tiles8x8_layout, 0, 16 )
658720GFXDECODE_END
659721
660722
r15523r15524
720782/***************************************************************************
721783
722784Jingle Bell
723(C) 1998 IGS
785(C) IGS ("COPYRIGHT 1995" in ROM, "FEB. 23 1998" on sticker)
724786
725787CPU:
726788    1x HD64180RP8 (u18)(main)
r15523r15524
760822   ROM_REGION( 0x8000, "data", 0 )
761823   ROM_LOAD( "jingle133i7.u43", 0x0000, 0x8000, CRC(a7affa15) SHA1(f9d33e32b57ad267d383e075663994e0af0b3016) )
762824
763   ROM_REGION( 0x30000, "gfx1", 0 )
825   ROM_REGION( 0x30000, "reels", 0 )
764826   ROM_LOAD( "jingle133i1.u17", 0x00000, 0x10000, CRC(cadd7910) SHA1(aa514ddb29c8c9a77478d56bea4ae71995fdd518) )
765827   ROM_LOAD( "jingle133i2.u16", 0x10000, 0x10000, CRC(a9e1f5aa) SHA1(68d7f4e9e9a5bbce0904e406ee6fe82e9e52a9ba) )
766828   ROM_LOAD( "jingle133i3.u15", 0x20000, 0x10000, CRC(865b7d3a) SHA1(c1dff3a27d747ee499aaee0c4468534f0249a3e5) )
767829
768   ROM_REGION( 0xc0000, "gfx2", 0 )
830   ROM_REGION( 0xc0000, "tiles", 0 )
769831   ROM_LOAD( "jingle133i4.u25", 0x00000, 0x40000, CRC(7aa1d344) SHA1(141e27df93cb35ab852d9022e0b08bd596f1186b) )
770832   ROM_LOAD( "jingle133i5.u24", 0x40000, 0x40000, CRC(021261d1) SHA1(5b23f9bd818193c343f9f4c9317955b17efb8cfa) )
771833   ROM_LOAD( "jingle133i6.u23", 0x80000, 0x40000, CRC(c40228fd) SHA1(4dc05337d64ed2b8d66fc5f0ca8ffbf96799f768) )
r15523r15524
809871   rom[0x01f19] = 0x18;
810872}
811873
874/***************************************************************************
875
876Grand Prix '98
877
878PCB Layout
879----------
880
881|-----------------------------------------|
882|                 YM2413       DSW2  DSW4 |
883|                 3.579545MHz             |
884|   Z180                       DSW1  DSW3 |
885|                 PAL                     |
886|     PRG                                 |
887|   12MHz                                 |
888|J                   51        |-------|  |
889|A    6264                     |PLCC84 |  |
890|M                   50        |FPGA   |  |
891|M                             |       |  |
892|A                   49        |-------|  |
893|                                         |
894|                                         |
895|                                         |
896|                   6264                  |
897|                                         |
898|          62256                          |
899|-----------------------------------------|
900Z180 @ 12MHz
901YM2413 @ 3.579545MHz
902VSync 60Hz
903HSync 15.35kHz
904
905***************************************************************************/
906
812907ROM_START( gp98 )
813908   ROM_REGION( 0x20000, "maincpu", 0 )
814909   ROM_LOAD( "prg", 0x00000, 0x20000, CRC(1c02b8cc) SHA1(b8a29cbd96581f8ae1c1028279b8ee703be29f5f) )
r15523r15524
821916   ROM_LOAD( "50", 0x080000, 0x80000, CRC(48f6190d) SHA1(b430131a258b4e2fc178ac0e3e3f0010a82eac65) )
822917   ROM_LOAD( "51", 0x100000, 0x80000, CRC(30a2ef85) SHA1(38ea637acd83b175eccd2969ef21879265b88992) )
823918
824   ROM_REGION( 0xc0000, "gfx1", 0 )
919   ROM_REGION( 0xc0000, "reels", 0 )
825920   ROM_COPY( "tempgfx", 0x000000, 0x00000, 0x40000 )
826921   ROM_COPY( "tempgfx", 0x080000, 0x40000, 0x40000 )
827922   ROM_COPY( "tempgfx", 0x100000, 0x80000, 0x40000 )
828923
829   ROM_REGION( 0xc0000, "gfx2", 0 )
924   ROM_REGION( 0xc0000, "tiles", 0 )
830925   ROM_COPY( "tempgfx", 0x040000, 0x00000, 0x40000 )
831926   ROM_COPY( "tempgfx", 0x0c0000, 0x40000, 0x40000 )
832927   ROM_COPY( "tempgfx", 0x140000, 0x80000, 0x40000 )
833928
834
835929   ROM_REGION( 0x40000, "oki", ROMREGION_ERASE00 )
836   /* no OKI on this */
930   // no OKI on this
837931ROM_END
838932
839GAME( 1995?, jingbell, 0, jingbell, jingbell, jingbell, ROT0, "IGS", "Jingle Bell (Italy, V133I)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION )
840GAME( 1998,  gp98,     0,     gp98, jingbell,        0, ROT0, "Romtec Co. Ltd", "Grand Prix '98",GAME_NOT_WORKING| GAME_NO_SOUND )
933GAME( 1995?, jingbell, 0, jingbell, jingbell, jingbell, ROT0, "IGS",            "Jingle Bell (Italy, V133I)", 0 )
934GAME( 1998,  gp98,     0, gp98,     jingbell, 0,        ROT0, "Romtec Co. Ltd", "Grand Prix '98 (V100K)",     GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/blitz68k.c
r15523r15524
55
66Preliminary driver by David Haywood, Angelo Salese, Tomasz Slanina, Luca Elia
77
8Games:
8----------------------------------------------------------------------
9Year  Game                        Manufacturer
10----------------------------------------------------------------------
111990  Mega Double Poker           Blitz Systems Inc.
121990  Mega Double Poker Jackpot   Blitz Systems Inc.
131993  Bank Robbery                Entertainment Technology Corp.
141993? Poker 52                    Blitz Systems Inc.
151993  Strip Teaser                <unknown>
161995  Dual Games (proto)          Labtronix Technologies
171995  The Hermit                  Dugamex
181997  Deuces Wild 2               <unknown>
191998  Funny Fruit                 Cadillac Jack
201998  Triple Play                 Cadillac Jack
21199?  Il Pagliaccio               <unknown>
22----------------------------------------------------------------------
923
10Il Pagliaccio (c) 19?? unknown
11Strip Teaser  (c) 1993 unknown
12Funny Fruit   (c) 1998 Cadillac Jack
13
1424Notes:
1525
1626- ilpag: at start-up a "initialize request" pops up. Press Service Mode and the Service switch, and
1727  reset with F3 for doing it.
1828- cjffruit: at start-up a "need coin adjustment" pops up. Press menu, go to page 1 with start, move to
1929  "price coin #1" with big, and set it with small, then exit with menu.
30- "I/O TEST" is available among the statistics pages.
31- ilpag: based on pSOS+ S68000 V1.2.3 (Integrated Systems).
2032
2133To Do:
2234
r15523r15524
21242136
21252137/*************************************************************************************************************
21262138
2139Triple Play
2140(c) 1997-1998 Cadillac Jack
2141(FEBRUARY 24TH, 1999 in the ROMS)
2142
2143Board:
2144  CJ-8L REV-B LEV-1 (USA)
2145
2146CPUs:
2147  MC68EC000FN12 (Main CPU)
2148  Osc. 22.1184 MHz
2149  MC68HC705C8A (Sound MCU, internal ROM not dumped)
2150  Osc. 4.000 MHz
2151
2152Video:
2153  R6545AP (CRT Controller)
2154  Bt476KPJ50 (RAMDAC)
2155
2156ROMs:
2157  6 x 27C040 (JP6-9 configure the rom sizes for program, sound and graphics)
2158  5 x GAL16V8d-15LP (read protected?)
2159
2160Other:
2161  DSW8
2162  DS14C232CN (Serial)
2163  RS-232 (4 pin)
2164  CDP68HC68T1E (Real-Time clock plus RAM with serial interface)
2165  3.6V Lithium battery
2166  36/72 pin edge connector
2167  10/20 pin edge connector
2168
2169Note:
2170  Game supports a Centronics iDP-3541 printer (and many others)
2171
2172*************************************************************************************************************/
2173
2174ROM_START( cj3play )
2175   ROM_REGION( 0x80000, "maincpu", 0 ) // 68000 code
2176   ROM_LOAD16_WORD( "cjtripleply-cj_1.10-a.u65", 0x00000, 0x80000, CRC(69ae3fd3) SHA1(50eed5130905b710f48b2086173448e999dc96e8) )
2177
2178   ROM_REGION( 0x2000, "mcu", 0 )   // 68HC705C8A code
2179   ROM_LOAD( "cj-tripleplay_2.4.c8", 0x0000, 0x2000, NO_DUMP )
2180
2181   ROM_REGION( 0x200000, "blitter", 0 ) // data for the blitter
2182   ROM_LOAD16_BYTE( "cjtripleply-cj_1.10-d.u68", 0x000000, 0x80000, CRC(8bbcf296) SHA1(e7e6e88f5f3065e7df7fff45429fdda1404418d6) )
2183   ROM_LOAD16_BYTE( "cjtripleply-cj_1.10-c.u75", 0x000001, 0x80000, CRC(3dd101e0) SHA1(01241a880e72834282dd7447273ffc332a105ad1) )
2184   ROM_LOAD16_BYTE( "cjtripleply-cj_1.10-f.u51", 0x100000, 0x80000, CRC(c8ccf1a7) SHA1(7a7b0f68d6ed5894fb4deb93fbf8053aff4fdb35) )
2185   ROM_LOAD16_BYTE( "cjtripleply-cj_1.10-e.u61", 0x100001, 0x80000, CRC(ff59f0ae) SHA1(b9f9cdc90f44f75ace079ec08ab5d71b21ce98dd) )
2186
2187   ROM_REGION( 0x80000, "samples", 0 )   // 8 bit unsigned
2188   ROM_LOAD( "cjtripleply-cj_1.10-g.u50", 0x00000, 0x80000, CRC(8129f700) SHA1(fc09e1e4694757b08570cc46c9536340fbce0ded) )
2189
2190   ROM_REGION( 0x117, "plds", 0 )
2191   ROM_LOAD( "gal16v8d_vdp.u15", 0x000, 0x117, NO_DUMP )
2192   ROM_LOAD( "gal16v8d_vdo.u53", 0x000, 0x117, NO_DUMP )
2193   ROM_LOAD( "gal16v8d_ck2.u64", 0x000, 0x117, NO_DUMP )
2194   ROM_LOAD( "gal16v8d_ck1.u69", 0x000, 0x117, NO_DUMP )
2195   ROM_LOAD( "gal16v8d_dec.u70", 0x000, 0x117, NO_DUMP )
2196ROM_END
2197
2198/*************************************************************************************************************
2199
21272200Funny Fruit
21282201(c) 1997-1998 Cadillac Jack
2202(APRIL 21ST, 1999 in the ROMs)
21292203
21302204Board:
21312205  CJ-8L REV-D
r15523r15524
21732247   ROM_REGION( 0x80000, "samples", 0 )   // 8 bit unsigned
21742248   ROM_LOAD( "cjfunfruit-cj_1.13-g.u50", 0x00000, 0x80000, CRC(5fb53d3e) SHA1(f4a37b00a9417440685d198f1375b615848e7fb6) )
21752249
2176    ROM_REGION( 0x117, "plds", 0 )
2177    ROM_LOAD( "gal16v8d_vdp.u15", 0x000, 0x117, NO_DUMP )
2178    ROM_LOAD( "gal16v8d_vdo.u53", 0x000, 0x117, NO_DUMP )
2179    ROM_LOAD( "gal16v8d_ck2.u64", 0x000, 0x117, NO_DUMP )
2180    ROM_LOAD( "gal16v8d_ck1.u69", 0x000, 0x117, NO_DUMP )
2181    ROM_LOAD( "gal16v8d_dec.u70", 0x000, 0x117, NO_DUMP )
2250   ROM_REGION( 0x117, "plds", 0 )
2251   ROM_LOAD( "gal16v8d_vdp.u15", 0x000, 0x117, NO_DUMP )
2252   ROM_LOAD( "gal16v8d_vdo.u53", 0x000, 0x117, NO_DUMP )
2253   ROM_LOAD( "gal16v8d_ck2.u64", 0x000, 0x117, NO_DUMP )
2254   ROM_LOAD( "gal16v8d_ck1.u69", 0x000, 0x117, NO_DUMP )
2255   ROM_LOAD( "gal16v8d_dec.u70", 0x000, 0x117, NO_DUMP )
21822256ROM_END
21832257
21842258/*************************************************************************************************************
r15523r15524
22362310   ROM_REGION( 0x20000, "samples", 0 )   // 8 bit unsigned
22372311   ROM_LOAD( "cb2wild-ah-2.02f-k.u54", 0x00000, 0x20000, CRC(1eea618b) SHA1(65f3513d1a93a8afbfaeff27ebea5f0b5348e54b) )
22382312
2239    ROM_REGION( 0x117, "plds", 0 )
2240    ROM_LOAD( "gal16v8d_vdp.u23", 0x000, 0x117, NO_DUMP )
2241    ROM_LOAD( "gal16v8d_ck2.u62", 0x000, 0x117, NO_DUMP )
2242    ROM_LOAD( "gal16v8d_vdo.u65", 0x000, 0x117, NO_DUMP )
2243    ROM_LOAD( "gal16v8d_ck1.u70", 0x000, 0x117, NO_DUMP )
2244    ROM_LOAD( "gal16v8d_irq.u80", 0x000, 0x117, NO_DUMP )
2245    ROM_LOAD( "gal16v8d_dec.u83", 0x000, 0x117, NO_DUMP )
2246    ROM_LOAD( "gal16v8d_pia.u86", 0x000, 0x117, NO_DUMP )
2313   ROM_REGION( 0x117, "plds", 0 )
2314   ROM_LOAD( "gal16v8d_vdp.u23", 0x000, 0x117, NO_DUMP )
2315   ROM_LOAD( "gal16v8d_ck2.u62", 0x000, 0x117, NO_DUMP )
2316   ROM_LOAD( "gal16v8d_vdo.u65", 0x000, 0x117, NO_DUMP )
2317   ROM_LOAD( "gal16v8d_ck1.u70", 0x000, 0x117, NO_DUMP )
2318   ROM_LOAD( "gal16v8d_irq.u80", 0x000, 0x117, NO_DUMP )
2319   ROM_LOAD( "gal16v8d_dec.u83", 0x000, 0x117, NO_DUMP )
2320   ROM_LOAD( "gal16v8d_pia.u86", 0x000, 0x117, NO_DUMP )
22472321ROM_END
22482322
22492323/*************************************************************************************************************
r15523r15524
27232797   ROM[0x178ec/2] = 0x4e71;
27242798}
27252799
2800static DRIVER_INIT( cj3play )
2801{
2802   UINT16 *ROM = (UINT16 *)machine.root_device().memregion("maincpu")->base();
2803
2804   // WRONG C8 #1
2805   ROM[0x7064/2] = 0x6028;
2806   ROM[0xa0d2/2] = 0x6024;
2807
2808   // loop
2809   ROM[0x2773c/2] = 0x4e71;
2810//   ROM[0x3491a/2] = 0x4e71;
2811
2812   // ERROR CHECKSUM ROM PROGRAM
2813   ROM[0x20ab0/2] = 0x6050;
2814}
2815
27262816static DRIVER_INIT( cjffruit )
27272817{
27282818   UINT16 *ROM = (UINT16 *)machine.root_device().memregion("maincpu")->base();
r15523r15524
28112901GAME( 1992,  maxidbl,  0,       maxidbl,  maxidbl,  maxidbl,  ROT0,  "Blitz Systems Inc.",             "Maxi Double Poker (Ver. 1.10)",                  GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND | GAME_WRONG_COLORS )
28122902GAME( 1990,  megadblj, 0,       maxidbl,  maxidbl,  megadblj, ROT0,  "Blitz Systems Inc.",             "Mega Double Poker Jackpot (Ver. 1.26)",          GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                    // JUNE 28TH, 1993
28132903GAME( 1990,  megadble, 0,       maxidbl,  maxidbl,  megadble, ROT0,  "Blitz Systems Inc.",             "Mega Double Poker (Ver. 1.63 Espagnol)",         GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND | GAME_WRONG_COLORS ) // NOVEMBER 1994
2814GAME( 1993,  steaser,  0,       steaser,  steaser,  0,        ROT0,  "<unknown>",                      "Strip Teaser (Italy, Version 1.22)",             GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                     // In-game strings are in Italian but service mode is half English / half French?
2904GAME( 1993,  steaser,  0,       steaser,  steaser,  0,        ROT0,  "<unknown>",                      "Strip Teaser (Italy, Ver. 1.22)",                GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                     // In-game strings are in Italian but service mode is half English / half French?
28152905GAME( 1993,  bankrob,  0,       bankrob,  bankrob,  bankrob,  ROT0,  "Entertainment Technology Corp.", "Bank Robbery (Ver. 3.32)",                       GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                    // BLITZ SYSTEM INC APRIL 1995
28162906GAME( 1993,  bankroba, bankrob, bankroba, bankrob,  bankroba, ROT0,  "Entertainment Technology Corp.", "Bank Robbery (Ver. 2.00)",                       GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                    // BLITZ SYSTEM INC MAY 10TH, 1993
28172907GAME( 1993?, poker52,  0,       maxidbl,  maxidbl,  0,        ROT0,  "Blitz Systems Inc.",             "Poker 52 (Ver. 1.2)",                            GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                    // MARCH 10TH, 1994
28182908GAME( 1995,  dualgame, 0,       dualgame, dualgame, dualgame, ROT0,  "Labtronix Technologies",         "Dual Games (prototype)",                         GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                     // SEPTEMBER 5TH, 1995
28192909GAME( 1995,  hermit,   0,       hermit,   hermit,   hermit,   ROT0,  "Dugamex",                        "The Hermit (Ver. 1.14)",                         GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                    // APRIL 1995
28202910GAME( 1997,  deucesw2, 0,       deucesw2, deucesw2, deucesw2, ROT0,  "<unknown>",                      "Deuces Wild 2 - American Heritage (Ver. 2.02F)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                    // APRIL 10TH, 1997
2821GAME( 1998,  cjffruit, 0,       cjffruit, cjffruit, cjffruit, ROT0,  "Cadillac Jack",                  "Funny Fruit (Version 1.13)",                     GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )
2822GAME( 199?,  ilpag,    0,       ilpag,    ilpag,    0,        ROT0,  "<unknown>",                      "Il Pagliaccio (Italy, Version 2.7C)",            GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )
2911GAME( 1998,  cj3play,  0,       cjffruit, cjffruit, cj3play,  ROT0,  "Cadillac Jack",                  "Triple Play (Ver. 1.10)",                        GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                     // FEBRUARY 24TH, 1999
2912GAME( 1998,  cjffruit, 0,       cjffruit, cjffruit, cjffruit, ROT0,  "Cadillac Jack",                  "Funny Fruit (Ver. 1.13)",                        GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )                     // APRIL 21ST, 1999
2913GAME( 199?,  ilpag,    0,       ilpag,    ilpag,    0,        ROT0,  "<unknown>",                      "Il Pagliaccio (Italy, Ver. 2.7C)",               GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND )
src/mame/drivers/tmaster.c
r15523r15524
12831283   ROM_LOAD( "tm4k_sound.u8", 0x00000, 0x100000, CRC(48c3782b) SHA1(bfe105ddbde8bbbd84665dfdd565d6d41926834a) ) /* Mask rom labeled 5341-15746-07 U8 SOUND IMAGE */
12841284ROM_END
12851285
1286ROM_START( tm4kca )
1287   ROM_REGION( 0x200000, "maincpu", 0 ) // 68000 Code
1288   ROM_LOAD16_BYTE( "tm4k_v602ca.u51", 0x000000, 0x100000, CRC(b355e15e) SHA1(e6a6cd74d3439f589ac0a914ec66962ce2885c00) ) /* TOUCHMASTER 4000 U51 CALIFORNIA  6.02 (CA. 4-14-98) */
1289   ROM_LOAD16_BYTE( "tm4k_v602ca.u52", 0x000001, 0x100000, CRC(0adbbfc0) SHA1(4660bd95649bfc65d3e52975d168de4963bd27cb) ) /* TOUCHMASTER 4000 U52 CALIFORNIA  6.02 (CA. 4-14-98) */
1290
1291   ROM_REGION( 0x600000, "blitter", 0 )   // Blitter gfx
1292   ROM_LOAD16_BYTE( "tm4k_graphic.u38", 0x000000, 0x100000, CRC(a6683899) SHA1(d05024390917cdb1871d030996da8e1eb6460918) ) /* Mask rom labeled 5341-15746-03 U38 VIDEO IMAGE */
1293   ROM_LOAD16_BYTE( "tm4k_graphic.u36", 0x000001, 0x100000, CRC(7bde520d) SHA1(77750b689e2f0d47804042456e54bbd9c28deeac) ) /* Mask rom labeled 5341-15746-01 U36 VIDEO IMAGE */
1294   ROM_LOAD16_BYTE( "tm4k_graphic.u39", 0x200000, 0x100000, CRC(bac88cfb) SHA1(26ed169296b890c5f5b50c418c15299355a6592f) ) /* Mask rom labeled 5341-15746-04 U39 VIDEO IMAGE */
1295   ROM_LOAD16_BYTE( "tm4k_graphic.u37", 0x200001, 0x100000, CRC(bf49fafa) SHA1(b400667bf654dc9cd01a85c8b99670459400fd60) ) /* Mask rom labeled 5341-15746-02 U37 VIDEO IMAGE */
1296   ROM_LOAD16_BYTE( "tm4k_graphic.u41", 0x400000, 0x100000, CRC(e97edb1e) SHA1(75510676cf1692ad03efd4ccd57d25af1cc8ef2a) ) /* Mask rom labeled 5341-15746-06 U41 VIDEO IMAGE */
1297   ROM_LOAD16_BYTE( "tm4k_graphic.u40", 0x400001, 0x100000, CRC(f6771a09) SHA1(74f71d5e910006c83a38170f24aa811c38a3e020) ) /* Mask rom labeled 5341-15746-05 U40 VIDEO IMAGE */
1298
1299   ROM_REGION( 0x100000, "oki", 0 ) // Samples
1300   ROM_LOAD( "tm4k_sound.u8", 0x00000, 0x100000, CRC(48c3782b) SHA1(bfe105ddbde8bbbd84665dfdd565d6d41926834a) ) /* Mask rom labeled 5341-15746-07 U8 SOUND IMAGE */
1301ROM_END
1302
12861303ROM_START( tm4kb )
12871304   ROM_REGION( 0x200000, "maincpu", 0 ) // 68000 Code
12881305   ROM_LOAD16_BYTE( "tm4k_v601.u51", 0x000000, 0x100000, CRC(cdcfd064) SHA1(51f022d25411d119a5f16ff7f09f4bed59b937e1) ) /* TOUCHMASTER 4000 U51 DOMESTIC  6.01 (Standard 3-23-98) */
r15523r15524
16631680}
16641681
16651682
1683static DRIVER_INIT( tm4kca )
1684{
1685   UINT16 *ROM = (UINT16 *)machine.root_device().memregion( "maincpu" )->base();
1686
1687   // protection
1688   ROM[0x83470/2] = 0x4e75;
1689
1690   ROM[0x83426/2] = 0x601a;
1691   ROM[0x83466/2] = 0x6002;
1692/*
1693Protection starts:
1694
1695 83416: addi.w  #$384, D0       0640 0384
1696 8341a: move.w  D0, $207a86.l   33C0 0020 7A86
1697 83420: btst    #$7, ($1,A5)    082D 0007 0001
1698 83426: beq     $83448          671A           <-- First patch goes here
1699
1700*/
1701
1702}
1703
1704
16661705static DRIVER_INIT( tm4kb )
16671706{
16681707   UINT16 *ROM = (UINT16 *)machine.root_device().memregion( "maincpu" )->base();
r15523r15524
18971936GAME( 1997, tm3ka,    tm3k,     tm3k,     tmaster,  0,        ROT0, "Midway Games Inc.",                       "Touchmaster 3000 (v5.01 Standard)",      0 )
18981937GAME( 1998, tm4k,     0,        tm3k,     tmaster,  tm4k,     ROT0, "Midway Games Inc.",                       "Touchmaster 4000 (v6.03 Standard)",      0 )
18991938GAME( 1998, tm4ka,    tm4k,     tm3k,     tmaster,  tm4ka,    ROT0, "Midway Games Inc.",                       "Touchmaster 4000 (v6.02 Standard)",      0 )
1939GAME( 1998, tm4kca,   tm4k,     tm3k,     tmaster,  tm4kca,   ROT0, "Midway Games Inc.",                       "Touchmaster 4000 (v6.02 California)",    0 )
19001940GAME( 1998, tm4kb,    tm4k,     tm3k,     tmaster,  tm4kb,    ROT0, "Midway Games Inc.",                       "Touchmaster 4000 (v6.01 Standard)",      0 )
19011941GAME( 1998, tm5k,     0,        tm3k,     tmaster,  tm5k,     ROT0, "Midway Games Inc.",                       "Touchmaster 5000 (v7.10 Standard)",      0 )
19021942GAME( 1998, tm5kca,   tm5k,     tm3k,     tmaster,  tm5kca,   ROT0, "Midway Games Inc.",                       "Touchmaster 5000 (v7.10 California)",    0 )
src/mame/drivers/midvunit.c
r15523r15524
77    Games supported:
88        * Cruis'n USA (1994)        [3 sets]
99        * Cruis'n World (1996)      [4 sets]
10        * War Gods (1996)
10        * War Gods (1996)           [3 sets]
1111        * Off Road Challenge (1997) [4 sets]
1212
1313    Known bugs:
r15523r15524
1515        * rendering needs to be looked at a little more closely to fix some holes
1616        * in Cruis'n World attract mode, right side of sky looks like it has wrapped
1717        * Off Road Challenge has polygon sorting issues, among other problems
18        * Issues for the Wargods sets:
19           Sound D/RAM      ERROR EE (during boot diag)
20           Listen for Tone  ERROR E1 (during boot diag)
21           All sets report as Game Type: 452 (12/11/1995) [which is wrong for newer sets]
1822
1923**************************************************************************/
2024
r15523r15524
564568   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
565569
566570   PORT_START("DSW")
567   PORT_DIPNAME( 0x0001, 0x0000, "Link Status" )
571   /* DSW2 at U97 */
572   PORT_DIPNAME( 0x0001, 0x0000, "Link Status" )      PORT_DIPLOCATION("SW2:8")
568573   PORT_DIPSETTING(      0x0000, "Master" )
569574   PORT_DIPSETTING(      0x0001, "Slave" )
570   PORT_DIPNAME( 0x0002, 0x0002, "Link???" )
575   PORT_DIPNAME( 0x0002, 0x0002, "Link???" )      PORT_DIPLOCATION("SW2:7") /* Listed as Not Used in the manual */
571576   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
572577   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
573   PORT_DIPNAME( 0x0004, 0x0004, "Linking" )
578   PORT_DIPNAME( 0x0004, 0x0004, "Linking" )      PORT_DIPLOCATION("SW2:6")
574579   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
575580   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
576   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) )
581   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:5") /* Listed as Not Used in the manual */
577582   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
578583   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
579   PORT_DIPNAME( 0x0010, 0x0010, "Freeze" )
584   PORT_DIPNAME( 0x0010, 0x0010, "Freeze" )      PORT_DIPLOCATION("SW2:4") /* Listed as Not Used in the manual */
580585   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
581586   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
582   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )
587   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )   PORT_DIPLOCATION("SW2:3")
583588   PORT_DIPSETTING(      0x0020, DEF_STR( Upright ) )
584589   PORT_DIPSETTING(      0x0000, "Sitdown" )
585   PORT_DIPNAME( 0x0040, 0x0040, "Enable Motion" )
590   PORT_DIPNAME( 0x0040, 0x0040, "Enable Motion" )      PORT_DIPLOCATION("SW2:2")
586591   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
587592   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
588   PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
589   PORT_DIPNAME( 0x0100, 0x0100, "Coin Counters" )
593   PORT_SERVICE_DIPLOC(  0x0080, IP_ACTIVE_LOW, "SW2:1" ) /* Listed as Not Used in the manual */
594
595   /* DSW3 at U19 */
596   PORT_DIPNAME( 0x0100, 0x0100, "Coin Counters" )      PORT_DIPLOCATION("SW3:8")
590597   PORT_DIPSETTING(      0x0100, "1" )
591598   PORT_DIPSETTING(      0x0000, "2" )
592   PORT_DIPNAME( 0xfe00, 0xf800, DEF_STR( Coinage ) )
599   PORT_DIPNAME( 0xfe00, 0xf800, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW3:7,6,5,4,3,2,1")
593600   PORT_DIPSETTING(      0xfe00, "USA-1" )
594601   PORT_DIPSETTING(      0xfa00, "USA-3" )
595602   PORT_DIPSETTING(      0xfc00, "USA-7" )
r15523r15524
696703   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
697704
698705   PORT_START("DSW")
699   PORT_DIPNAME( 0x0003, 0x0000, "Link Number" )
706   /* DSW2 at U97 */
707   PORT_DIPNAME( 0x0003, 0x0000, "Link Number" )      PORT_DIPLOCATION("SW2:8,7")
700708   PORT_DIPSETTING(      0x0000, "1" )
701709   PORT_DIPSETTING(      0x0001, "2" )
702710   PORT_DIPSETTING(      0x0002, "3" )
703711   PORT_DIPSETTING(      0x0003, "4" )
704   PORT_DIPNAME( 0x0004, 0x0004, "Linking" )
712   PORT_DIPNAME( 0x0004, 0x0004, "Linking" )      PORT_DIPLOCATION("SW2:6")
705713   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
706714   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
707   PORT_DIPNAME( 0x0018, 0x0008, "Games Linked" )
715   PORT_DIPNAME( 0x0018, 0x0008, "Games Linked" )      PORT_DIPLOCATION("SW2:5,4")
708716   PORT_DIPSETTING(      0x0008, "2" )
709717   PORT_DIPSETTING(      0x0010, "3" )
710718   PORT_DIPSETTING(      0x0018, "4" )
711   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )
719   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )   PORT_DIPLOCATION("SW2:3")
712720   PORT_DIPSETTING(      0x0020, DEF_STR( Upright ) )
713721   PORT_DIPSETTING(      0x0000, "Sitdown" )
714   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
715   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
716   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
717   PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
718   PORT_DIPNAME( 0x0100, 0x0100, "Coin Counters" )
722   PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW2:2" )       /* Manual shows Not Used */
723   PORT_SERVICE_DIPLOC(  0x0080, IP_ACTIVE_LOW, "SW2:1" )
724
725   /* DSW3 at U19 */
726   PORT_DIPNAME( 0x0100, 0x0100, "Coin Counters" )      PORT_DIPLOCATION("SW3:8")
719727   PORT_DIPSETTING(      0x0100, "1" )
720728   PORT_DIPSETTING(      0x0000, "2" )
721   PORT_DIPNAME( 0xfe00, 0xf800, DEF_STR( Coinage ) )
729   PORT_DIPNAME( 0xfe00, 0xf800, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW3:7,6,5,4,3,2,1")
722730   PORT_DIPSETTING(      0xfe00, "USA-1" )
723731   PORT_DIPSETTING(      0xfa00, "USA-3" )
724732   PORT_DIPSETTING(      0xfc00, "USA-7" )
r15523r15524
825833   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
826834
827835   PORT_START("DSW")
828   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
829   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
830   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
831   PORT_DIPNAME( 0x0002, 0x0000, "Shifter" )
832   PORT_DIPSETTING(      0x0002, "Closed" )
833   PORT_DIPSETTING(      0x0000, "Open" )
834   PORT_DIPNAME( 0x0004, 0x0004, "Girls" )
835   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
836   PORT_DIPSETTING(      0x0004, DEF_STR( On ) )
837   PORT_DIPNAME( 0x0008, 0x0008, "Road Kill" )
838   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
839   PORT_DIPSETTING(      0x0008, DEF_STR( On ) )
840   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
841   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
842   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
843   PORT_DIPNAME( 0x0020, 0x0020, "Link" )
836   /* DSW2 at U97 */
837   PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW2:8" )       /* Manual shows Not Used & "No Effect" for both On & Off */
838   PORT_DIPNAME( 0x0002, 0x0000, "Gear Shifter Switch" )      PORT_DIPLOCATION("SW2:7")
839   PORT_DIPSETTING(      0x0002, "Normally Closed" )
840   PORT_DIPSETTING(      0x0000, "Normally Open" )
841   PORT_DIPNAME( 0x0004, 0x0004, "Added Attractions" )      PORT_DIPLOCATION("SW2:6")
842   PORT_DIPSETTING(      0x0004, "Girls Present" )
843   PORT_DIPSETTING(      0x0000, "Girls Missing" )
844   PORT_DIPNAME( 0x0008, 0x0008, "Graphic Effects" )      PORT_DIPLOCATION("SW2:5")
845   PORT_DIPSETTING(      0x0008, "Roadkill Present" )
846   PORT_DIPSETTING(      0x0000, "Roadkill Missing" )
847   PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW2:4" )       /* Manual shows Not Used & "No Effect" for both On & Off */
848   PORT_DIPNAME( 0x0020, 0x0020, "Link" )            PORT_DIPLOCATION("SW2:3")
844849   PORT_DIPSETTING(      0x0020, "Disabled" )
845850   PORT_DIPSETTING(      0x0000, "Enabled" )
846   PORT_DIPNAME( 0x00c0, 0x00c0, "Link Machine" )
851   PORT_DIPNAME( 0x00c0, 0x00c0, "Link Machine" )         PORT_DIPLOCATION("SW2:2,1")
847852   PORT_DIPSETTING(      0x00c0, "1" )
848853   PORT_DIPSETTING(      0x0080, "2" )
849854   PORT_DIPSETTING(      0x0040, "3" )
850855   PORT_DIPSETTING(      0x0000, "4" )
851   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
852   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
853   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
854   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
855   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
856   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
857   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
858   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
859   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
860   PORT_DIPNAME( 0xf800, 0xf800, DEF_STR( Coinage ) )
856
857   /* DSW3 at U19 */
858   PORT_DIPUNUSED_DIPLOC( 0x0100, 0x0100, "SW3:8" )   /* Manual states "Switches 6, 7 and 8 are not active. We recommend */
859   PORT_DIPUNUSED_DIPLOC( 0x0200, 0x0200, "SW3:7" )   /* they be set to the facorty default (OFF) positions."            */
860   PORT_DIPUNUSED_DIPLOC( 0x0400, 0x0400, "SW3:6" )
861   PORT_DIPNAME( 0xf800, 0xf800, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW3:5,4,3,2,1")
861862   PORT_DIPSETTING(      0xf800, "USA 1" )
862863   PORT_DIPSETTING(      0xf000, "German 1" )
863864   PORT_DIPSETTING(      0xe800, "French 1" )
r15523r15524
891892
892893static INPUT_PORTS_START( wargods )
893894   PORT_START("DIPS")
894   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
895   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
896   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
897   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )
895   PORT_DIPNAME( 0x0001, 0x0001, "CRT Type / Resolution" )      PORT_DIPLOCATION("SW1:1") /* This only works for the Dual Res version */
896   PORT_DIPSETTING(      0x0001, "Medium Res (24Khz)" )
897   PORT_DIPSETTING(      0x0000, "Standard Res (15Khz)" )
898   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:2") /* Manual shows Not Used (must be Off) */
898899   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
899900   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
900   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
901   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:3") /* Manual shows Not Used (must be Off) */
901902   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
902903   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
903   PORT_DIPNAME( 0x0008, 0x0008, "Blood" )
904   PORT_DIPNAME( 0x0008, 0x0008, "Blood" )            PORT_DIPLOCATION("SW1:4")
904905   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
905906   PORT_DIPSETTING(      0x0008, DEF_STR( On ) )
906   PORT_DIPNAME( 0x0010, 0x0010, "Graphics" )
907   PORT_DIPNAME( 0x0010, 0x0010, "Graphics" )         PORT_DIPLOCATION("SW1:5")
907908   PORT_DIPSETTING(      0x0010, DEF_STR( Normal ) )
908909   PORT_DIPSETTING(      0x0000, "Family" )
909   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
910   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:6") /* Manual shows Not Used */
910911   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
911912   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
912   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
913   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:7") /* Manual shows Not Used */
913914   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
914915   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
915   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
916   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:8") /* Manual shows Not Used */
916917   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
917918   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
918   PORT_DIPNAME( 0x0100, 0x0100, "Coinage Source" )
919   PORT_DIPNAME( 0x0100, 0x0100, "Coinage Source" )      PORT_DIPLOCATION("SW2:1")
919920   PORT_DIPSETTING(      0x0100, "Dipswitch" )
920921   PORT_DIPSETTING(      0x0000, "CMOS" )
921   PORT_DIPNAME( 0x3e00, 0x3e00, DEF_STR( Coinage ) )
922   PORT_DIPNAME( 0x3e00, 0x3e00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:2,3,4,5,6")
922923   PORT_DIPSETTING(      0x3e00, "USA-1" )
923924   PORT_DIPSETTING(      0x3c00, "USA-2" )
924925   PORT_DIPSETTING(      0x3a00, "USA-3" )
r15523r15524
940941   PORT_DIPSETTING(      0x1200, "French-12" )
941942   PORT_DIPSETTING(      0x1600, "French-ECA" )
942943   PORT_DIPSETTING(      0x3000, DEF_STR( Free_Play ) )
943   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
944   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:7") /* Manual shows Not Used */
944945   PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
945946   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
946   PORT_DIPNAME( 0x8000, 0x8000, "Test Switch" )
947   PORT_DIPNAME( 0x8000, 0x8000, "Test Switch" )         PORT_DIPLOCATION("SW2:8")
947948   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
948949   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
949950
r15523r15524
993994   PORT_BIT( 0xff80, IP_ACTIVE_LOW, IPT_UNUSED )
994995INPUT_PORTS_END
995996
997static INPUT_PORTS_START( wargodsa ) /* For Medium Res only versions */
998   PORT_INCLUDE(wargods)
996999
1000   PORT_MODIFY("DIPS")
1001   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:1") /* Manual shows Not Used (must be Off) */
1002   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
1003   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1004INPUT_PORTS_END
9971005
1006
9981007/*************************************
9991008 *
10001009 *  Machine drivers
r15523r15524
15971606|-----------------------------|  |---------------------------------------|  |---------------------------------------|
15981607*/
15991608
1600ROM_START( wargods ) /* Boot EPROM Version 1.0, Game Type: 452 (12/11/1995) */
1609ROM_START( wargods ) /* Boot EPROM Version 1.0, Game Type: 452 (10/09/1996) */
16011610   ROM_REGION16_LE( 0x10000, "dcs", 0 )   /* sound data */
16021611   ROM_LOAD16_BYTE( "u2.rom",   0x000000, 0x8000, CRC(bec7d3ae) SHA1(db80aa4a645804a4574b07b9f34dec6b6b64190d) )
16031612
r15523r15524
16051614   ROM_LOAD( "u41.rom", 0x000000, 0x20000, CRC(398c54cc) SHA1(6c4b5d6ec5c844dcbf181f9d86a9196a088ed2db) )
16061615
16071616   DISK_REGION( "drive_0" )
1608   DISK_IMAGE( "wargods", 0, SHA1(141063f95867fdcc4b15c844e510696604a70c6a) )
1617   DISK_IMAGE( "wargods_10-09-1996", 0, SHA1(7585bc65b1038589cb59d3e7c56e08ca9d7015b8) )
16091618ROM_END
16101619
1620ROM_START( wargodsa ) /* Boot EPROM Version 1.0, Game Type: 452 (08/15/1996) */
1621   ROM_REGION16_LE( 0x10000, "dcs", 0 )   /* sound data */
1622   ROM_LOAD16_BYTE( "u2.rom",   0x000000, 0x8000, CRC(bec7d3ae) SHA1(db80aa4a645804a4574b07b9f34dec6b6b64190d) )
16111623
1624   ROM_REGION32_LE( 0x1000000, "user1", 0 )
1625   ROM_LOAD( "u41.rom", 0x000000, 0x20000, CRC(398c54cc) SHA1(6c4b5d6ec5c844dcbf181f9d86a9196a088ed2db) )
16121626
1627   DISK_REGION( "drive_0" )
1628   DISK_IMAGE( "wargods_08-15-1996", 0, SHA1(5dee00be40c315fbb1d6e3994dae8e498ab87fb2) )
1629ROM_END
1630
1631ROM_START( wargodsb ) /* Boot EPROM Version 1.0, Game Type: 452 (12/11/1995) */
1632   ROM_REGION16_LE( 0x10000, "dcs", 0 )   /* sound data */
1633   ROM_LOAD16_BYTE( "u2.rom",   0x000000, 0x8000, CRC(bec7d3ae) SHA1(db80aa4a645804a4574b07b9f34dec6b6b64190d) )
1634
1635   ROM_REGION32_LE( 0x1000000, "user1", 0 )
1636   ROM_LOAD( "u41.rom", 0x000000, 0x20000, CRC(398c54cc) SHA1(6c4b5d6ec5c844dcbf181f9d86a9196a088ed2db) )
1637
1638   DISK_REGION( "drive_0" )
1639   DISK_IMAGE( "wargods_12-11-1995", 0, SHA1(141063f95867fdcc4b15c844e510696604a70c6a) )
1640ROM_END
1641
1642
1643
16131644/*************************************
16141645 *
16151646 *  Driver init
r15523r15524
17341765GAME( 1997, offroadc3, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.30)", GAME_SUPPORTS_SAVE )
17351766GAME( 1997, offroadc1, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.10)", GAME_SUPPORTS_SAVE )
17361767
1737GAME( 1995, wargods,  0,        midvplus, wargods,  wargods,  ROT0, "Midway", "War Gods", GAME_SUPPORTS_SAVE )
1768GAME( 1995, wargods,   0,        midvplus, wargods,  wargods,  ROT0, "Midway", "War Gods (HD 10/09/1996 - Dual Resolution)", GAME_SUPPORTS_SAVE )
1769GAME( 1995, wargodsa,  wargods,  midvplus, wargodsa, wargods,  ROT0, "Midway", "War Gods (HD 08/15/1996)", GAME_SUPPORTS_SAVE )
1770GAME( 1995, wargodsb,  wargods,  midvplus, wargodsa, wargods,  ROT0, "Midway", "War Gods (HD 12/11/1995)", GAME_SUPPORTS_SAVE )
src/mame/drivers/8080bw.c
r15523r15524
33443344   ROM_LOAD("s081a.bin", 0x00000, 0x20000, CRC(daa77345) SHA1(0fdc9c2a6d9c0aa3233c5d31433adb1ea4e5b250) )
33453345ROM_END
33463346
3347ROM_START( invmultip )
3348   ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 )
33473349
3350   ROM_REGION( 0x20000, "user1", 0 )
3351   ROM_LOAD("s10.bin",  0x00000, 0x20000, CRC(1b43e4d3) SHA1(c50decd9caaec7f2d8b3ba74f718372d31bc1c3b) )
3352ROM_END
3353
3354
33483355ROM_START( rollingc )
33493356   ROM_REGION( 0x10000, "maincpu", 0 )
33503357   ROM_LOAD( "rc01.bin",     0x0000, 0x0400, CRC(66fa50bf) SHA1(7451d4ff8d3b351a324aaecdbdc5b46672f5fdd0) )
r15523r15524
37813788GAME( 2002, invmultis3a, invmulti, invmulti, invmulti, invmulti, ROT270, "hack (Braze Technologies)", "Space Invaders Multigame (S0.83A)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
37823789GAME( 2002, invmultis2a, invmulti, invmulti, invmulti, invmulti, ROT270, "hack (Braze Technologies)", "Space Invaders Multigame (S0.82A)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
37833790GAME( 2002, invmultis1a, invmulti, invmulti, invmulti, invmulti, ROT270, "hack (Braze Technologies)", "Space Invaders Multigame (S0.81A)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
3791GAME( 2002, invmultip,   invmulti, invmulti, invmulti, invmulti, ROT270, "hack (Braze Technologies)", "Space Invaders Multigame (prototype)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/tx1.c
r15523r15524
55    driver by Phil Bennett
66
77    Games supported:
8        * TX-1 (1983) [2 sets]
8        * TX-1 (1983) [3 sets]
99        * Buggy Boy (1985)
1010        * Buggy Boy Junior (1986)
1111
r15523r15524
1313        * TX-1 V8 (1984)
1414
1515    Notes:
16        * TX-1 tyre screech noises are not implemented yet.
16        * TX-1 tire screech noises are not implemented yet.
1717
1818****************************************************************************
1919
r15523r15524
107107
108108static INPUT_PORTS_START( tx1 )
109109   PORT_START("DSW")
110   PORT_DIPNAME( 0x001c, 0x0000, DEF_STR( Coin_A ) )
111   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
112   PORT_DIPSETTING(      0x0004, DEF_STR( 2C_1C ) )
113   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
114   PORT_DIPSETTING(      0x001c, DEF_STR( 2C_3C ) )
115   PORT_DIPSETTING(      0x000c, DEF_STR( 1C_2C ) )
116   PORT_DIPSETTING(      0x0010, DEF_STR( 1C_3C ) )
117   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_5C ) )
118   PORT_DIPSETTING(      0x0018, DEF_STR( 1C_6C ) )
110   /* Dipswitch DS.2 is 6 switches but "maps" to switches 2 to 8 (at 6P according to the manual)  */
111   PORT_DIPNAME( 0x000c, 0x0000, "Game Cost" )         PORT_DIPLOCATION("DS.2:1,2")
112   PORT_DIPSETTING(      0x0000, "1 Coin Unit for 1 Credit" )
113   PORT_DIPSETTING(      0x0004, "2 Coin Units for 1 Credit" )
114   PORT_DIPSETTING(      0x0008, "3 Coin Units for 1 Credit" )
115   PORT_DIPSETTING(      0x000c, "4 Coin Units for 1 Credit" )
119116
120   PORT_DIPNAME( 0x00e0, 0x0000, DEF_STR( Coin_B ) )
121   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
122   PORT_DIPSETTING(      0x0020, DEF_STR( 2C_1C ) )
123   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
124   PORT_DIPSETTING(      0x00e0, DEF_STR( 2C_3C ) )
125   PORT_DIPSETTING(      0x0060, DEF_STR( 1C_2C ) )
126   PORT_DIPSETTING(      0x0080, DEF_STR( 1C_3C ) )
127   PORT_DIPSETTING(      0x00a0, DEF_STR( 1C_5C ) )
128   PORT_DIPSETTING(      0x00c0, DEF_STR( 1C_6C ) )
117   PORT_DIPNAME( 0x0010, 0x0000, "Left Coin Mechanism" )      PORT_DIPLOCATION("DS.2:3")
118   PORT_DIPSETTING(      0x0000, "1 Coin for 1 Coin Unit" )
119   PORT_DIPSETTING(      0x0010, "1 Coin for 2 Coin Units" )
129120
130   PORT_DIPNAME( 0x0700, 0x0300, DEF_STR( Difficulty ) )
121   PORT_DIPNAME( 0x0060, 0x0000, "Right Coin Mechanism" )      PORT_DIPLOCATION("DS.2:4,5")
122   PORT_DIPSETTING(      0x0000, "1 Coin for 1 Coin Unit" )
123   PORT_DIPSETTING(      0x0020, "1 Coin for 4 Coin Units" )
124   PORT_DIPSETTING(      0x0040, "1 Coin for 5 Coin Units" )
125   PORT_DIPSETTING(      0x0060, "1 Coin for 6 Coin Units" )
126
127   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DS.2:6") /* Manual states switches 6 to 8 unused (physically it's only 6 switches) */
128   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
129   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
130
131   /* Dipswitch DS.1 is 8 switches (at 8P according to the manual) */
132   PORT_DIPNAME( 0x0700, 0x0300, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("DS.1:1,2,3")
131133   PORT_DIPSETTING(      0x0000, "A (Easiest)" )
132134   PORT_DIPSETTING(      0x0100, "B" )
133135   PORT_DIPSETTING(      0x0200, "C" )
r15523r15524
137139   PORT_DIPSETTING(      0x0600, "G" )
138140   PORT_DIPSETTING(      0x0700, "H (Hardest)" )
139141
140   PORT_DIPNAME( 0x1800, 0x0800, DEF_STR( Game_Time ) )
142   PORT_DIPNAME( 0x1800, 0x1000, DEF_STR( Game_Time ) )   PORT_DIPLOCATION("DS.1:4,5")
141143   PORT_DIPSETTING(      0x0000, "A (Longest)" )
142144   PORT_DIPSETTING(      0x0800, "B" )
143145   PORT_DIPSETTING(      0x1000, "C" )
144146   PORT_DIPSETTING(      0x1800, "D (Shortest)" )
145147
146   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Unknown ) )
147   PORT_DIPSETTING(      0x0000, "0" )
148   PORT_DIPSETTING(      0x2000, "1" )
149   PORT_DIPSETTING(      0x4000, "2" )
150   PORT_DIPSETTING(      0x6000, "3" )
151   PORT_DIPSETTING(      0x8000, "4" )
152   PORT_DIPSETTING(      0xa000, "5" )
153   PORT_DIPSETTING(      0xc000, "6" )
154   PORT_DIPSETTING(      0xe000, "7" )
148   PORT_DIPNAME( 0xe000, 0xe000, "Bonus Adder" )      PORT_DIPLOCATION("DS.1:6,7,8")
149   PORT_DIPSETTING(      0x0000, "No Bonus" )
150   PORT_DIPSETTING(      0x2000, "2 Coin Units for 1 Credit" )
151   PORT_DIPSETTING(      0x4000, "3 Coin Units for 1 Credit" )
152   PORT_DIPSETTING(      0x6000, "4 Coin Units for 1 Credit" )
153   PORT_DIPSETTING(      0x8000, "5 Coin Units for 1 Credit" )
154   PORT_DIPSETTING(      0xa000, "4 Coin Units for 2 Credit" )
155   PORT_DIPSETTING(      0xc000, DEF_STR( Free_Play ) )
156   PORT_DIPSETTING(      0xe000, "No Bonus" )
155157
156158   PORT_START("AN_STEERING")
157159   PORT_BIT( 0x0f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
r15523r15524
170172   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_COIN3 )
171173
172174   PORT_START("PPI_PORTD")
173   /* Wire jumper setting on sound PCB */
174   PORT_DIPNAME( 0xf0, 0x80,  DEF_STR( Unknown ) )
175   /* Wire jumper setting on sound PCB - actually unpopulated 4 switch DS.3 */
176   PORT_DIPNAME( 0xf0, 0x80, "Sound PCB Jumper (DS.3)" )
175177   PORT_DIPSETTING(    0x10, "1" )
176178   PORT_DIPSETTING(    0x20, "2" )
177179   PORT_DIPSETTING(    0x40, "3" )
178180   PORT_DIPSETTING(    0x80, "4" )
179181INPUT_PORTS_END
180182
181static INPUT_PORTS_START( tx1a )
183static INPUT_PORTS_START( tx1j )
182184   PORT_INCLUDE(tx1)
183185
184186   PORT_MODIFY("DSW")
185   PORT_DIPNAME( 0x000c, 0x0000, "Game Cost" )
186   PORT_DIPSETTING(      0x0000, "1 Coin Unit for 1 Credit" )
187   PORT_DIPSETTING(      0x0004, "2 Coin Units for 1 Credit" )
188   PORT_DIPSETTING(      0x0008, "3 Coin Units for 1 Credit" )
189   PORT_DIPSETTING(      0x000c, "4 Coin Units for 1 Credit" )
187   /* Dipswitch DS.2 is 6 switches but "maps" to switches 2 to 8 (at 6P according to the manual)  */
188   PORT_DIPNAME( 0x001c, 0x0000, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("DS.2:1,2,3") /* As silkscreened on the PCB */
189   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
190   PORT_DIPSETTING(      0x0004, DEF_STR( 2C_1C ) )
191   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
192   PORT_DIPSETTING(      0x001c, DEF_STR( 2C_3C ) )
193   PORT_DIPSETTING(      0x000c, DEF_STR( 1C_2C ) )
194   PORT_DIPSETTING(      0x0010, DEF_STR( 1C_3C ) )
195   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_5C ) )
196   PORT_DIPSETTING(      0x0018, DEF_STR( 1C_6C ) )
190197
191   PORT_DIPNAME( 0x0010, 0x0000, "Left Coin Mechanism" )
192   PORT_DIPSETTING(      0x0000, "1 Coin for 1 Coin Unit" )
193   PORT_DIPSETTING(      0x0010, "1 Coin for 2 Coin Units" )
198   PORT_DIPNAME( 0x00e0, 0x0000, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("DS.2:4,5,6") /* As silkscreened on the PCB */
199   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
200   PORT_DIPSETTING(      0x0020, DEF_STR( 2C_1C ) )
201   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
202   PORT_DIPSETTING(      0x00e0, DEF_STR( 2C_3C ) )
203   PORT_DIPSETTING(      0x0060, DEF_STR( 1C_2C ) )
204   PORT_DIPSETTING(      0x0080, DEF_STR( 1C_3C ) )
205   PORT_DIPSETTING(      0x00a0, DEF_STR( 1C_5C ) )
206   PORT_DIPSETTING(      0x00c0, DEF_STR( 1C_6C ) )
194207
195   PORT_DIPNAME( 0x0060, 0x0000, "Right Coin Mechanism" )
196   PORT_DIPSETTING(      0x0000, "1 Coin for 1 Coin Unit" )
197   PORT_DIPSETTING(      0x0020, "1 Coin for 4 Coin Units" )
198   PORT_DIPSETTING(      0x0040, "1 Coin for 5 Coin Units" )
199   PORT_DIPSETTING(      0x0060, "1 Coin for 6 Coin Units" )
200
201   PORT_DIPNAME( 0xe000, 0xe000, "Bonus Adder" )
202   PORT_DIPSETTING(      0x0000, "No Bonus" )
203   PORT_DIPSETTING(      0x2000, "2 Coin Units for 1 Credit" )
204   PORT_DIPSETTING(      0x4000, "3 Coin Units for 1 Credit" )
205   PORT_DIPSETTING(      0x6000, "4 Coin Units for 1 Credit" )
206   PORT_DIPSETTING(      0x8000, "5 Coin Units for 1 Credit" )
207   PORT_DIPSETTING(      0xa000, "4 Coin Units for 2 Credit" )
208   PORT_DIPSETTING(      0xc000, DEF_STR( Free_Play ) )
209   PORT_DIPSETTING(      0xe000, "No Bonus" )
208   /* Dipswitch DS.1 is 8 switches (at 8P according to the manual) */
209   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DS.1:6,7,8")
210   PORT_DIPSETTING(      0x0000, "0" )
211   PORT_DIPSETTING(      0x2000, "1" )
212   PORT_DIPSETTING(      0x4000, "2" )
213   PORT_DIPSETTING(      0x6000, "3" )
214   PORT_DIPSETTING(      0x8000, "4" )
215   PORT_DIPSETTING(      0xa000, "5" )
216   PORT_DIPSETTING(      0xc000, "6" )
217   PORT_DIPSETTING(      0xe000, "7" )
210218INPUT_PORTS_END
211219
212220
213221static INPUT_PORTS_START( buggyboy )
214222   PORT_START("DSW")
215223   /* Dipswitch 0 is unconnected */
216   PORT_DIPNAME( 0x0003, 0x0003, "Do not change 2" )
224   PORT_DIPNAME( 0x0003, 0x0003, "Do not change DSW2 1&2" )   PORT_DIPLOCATION("SW2:1,2") /* Listed in manual as "Do Not Change" */
217225   PORT_DIPSETTING(      0x0000, "0" )
218226   PORT_DIPSETTING(      0x0001, "1" )
219227   PORT_DIPSETTING(      0x0002, "2" )
220228   PORT_DIPSETTING(      0x0003, "3" )
221229
222   PORT_DIPNAME( 0x0004, 0x0004, "Message" )
230   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Language ) )   PORT_DIPLOCATION("SW2:3") /* Language of game instructions */
223231   PORT_DIPSETTING(      0x0004, DEF_STR( English ) )
224232   PORT_DIPSETTING(      0x0000, DEF_STR( Japanese ) )
225233
226   PORT_DIPNAME( 0x0008, 0x0008, "Do not Change 3" )
234   PORT_DIPNAME( 0x0008, 0x0008, "Do not Change DSW2 4" )   PORT_DIPLOCATION("SW2:4") /* Listed in manual as "Do Not Change" */
227235   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
228236   PORT_DIPSETTING(      0x0008, DEF_STR( On ) )
229237
230   PORT_DIPNAME( 0x0030, 0x0010, "Time Rank" )
238   PORT_DIPNAME( 0x0030, 0x0010, "Time Rank" )      PORT_DIPLOCATION("SW2:5,6")
231239   PORT_DIPSETTING(      0x0000, "A (Longest)" )
232240   PORT_DIPSETTING(      0x0010, "B" )
233241   PORT_DIPSETTING(      0x0020, "C" )
234242   PORT_DIPSETTING(      0x0030, "D (Shortest)" )
235243
236   PORT_DIPNAME( 0x00c0, 0x0040, "Game Rank" )
244   PORT_DIPNAME( 0x00c0, 0x0040, "Game Rank" )      PORT_DIPLOCATION("SW2:7,8")
237245   PORT_DIPSETTING(      0x0000, "A (Easy)")
238246   PORT_DIPSETTING(      0x0040, "B" )
239247   PORT_DIPSETTING(      0x0080, "C" )
240248   PORT_DIPSETTING(      0x00c0, "D (Difficult)" )
241249
242   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Coin_A ) )
250   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW1:8,7,6")
243251   PORT_DIPSETTING(      0x4000, DEF_STR( 3C_1C ) )
244252   PORT_DIPSETTING(      0x2000, DEF_STR( 2C_1C ) )
245253   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
r15523r15524
249257   PORT_DIPSETTING(      0xa000, DEF_STR( 1C_6C ) )
250258   PORT_DIPSETTING(      0xe000, "Free-Play" )
251259
252   PORT_DIPNAME( 0x1800, 0x0800, DEF_STR( Coin_B ) )
260   PORT_DIPNAME( 0x1800, 0x0800, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW1:5,4")
253261   PORT_DIPSETTING(      0x0800, DEF_STR( 2C_1C ) )
254262   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
255263   PORT_DIPSETTING(      0x1000, DEF_STR( 1C_2C ) )
256264   PORT_DIPSETTING(      0x1800, DEF_STR( 1C_5C ) )
257265
258   PORT_DIPNAME( 0x0700, 0x0700, "Do not change 1" )
266   PORT_DIPNAME( 0x0700, 0x0700, "Do not change DSW1 1-3" )   PORT_DIPLOCATION("SW1:3,2,1") /* Listed in manual as "Do Not Change" */
259267   PORT_DIPSETTING(      0x0000, "0" )
260268   PORT_DIPSETTING(      0x0100, "1" )
261269   PORT_DIPSETTING(      0x0200, "2" )
r15523r15524
297305static INPUT_PORTS_START( buggybjr )
298306   PORT_START("DSW")
299307   /* Dipswitch 0 is unconnected */
300   PORT_DIPNAME( 0x0003, 0x0003, "Do not change 2" )
308   PORT_DIPNAME( 0x0003, 0x0003, "Do not change DSW2 1&2" )   PORT_DIPLOCATION("SW2:1,2") /* Listed in manual as "Do Not Change" */
301309   PORT_DIPSETTING(      0x0000, "0" )
302310   PORT_DIPSETTING(      0x0001, "1" )
303311   PORT_DIPSETTING(      0x0002, "2" )
304312   PORT_DIPSETTING(      0x0003, "3" )
305313
306   PORT_DIPNAME( 0x0004, 0x0004, "Message" )
314   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Language ) )   PORT_DIPLOCATION("SW2:3") /* Language of game instructions */
307315   PORT_DIPSETTING(      0x0004, DEF_STR( English ) )
308316   PORT_DIPSETTING(      0x0000, DEF_STR( Japanese ) )
309317
310   PORT_DIPNAME( 0x0008, 0x0008, "Do not Change 3" )
318   PORT_DIPNAME( 0x0008, 0x0008, "Do not Change DSW2 4" )   PORT_DIPLOCATION("SW2:4") /* Listed in manual as "Do Not Change" */
311319   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
312320   PORT_DIPSETTING(      0x0008, DEF_STR( On ) )
313321
314   PORT_DIPNAME( 0x0030, 0x0010, "Time Rank" )
322   PORT_DIPNAME( 0x0030, 0x0010, "Time Rank" )      PORT_DIPLOCATION("SW2:5,6")
315323   PORT_DIPSETTING(      0x0000, "A (Longest)" )
316324   PORT_DIPSETTING(      0x0010, "B" )
317325   PORT_DIPSETTING(      0x0020, "C" )
318326   PORT_DIPSETTING(      0x0030, "D (Shortest)" )
319327
320   PORT_DIPNAME( 0x00c0, 0x0040, "Game Rank" )
328   PORT_DIPNAME( 0x00c0, 0x0040, "Game Rank" )      PORT_DIPLOCATION("SW2:7,8")
321329   PORT_DIPSETTING(      0x0000, "A (Easy)")
322330   PORT_DIPSETTING(      0x0040, "B" )
323331   PORT_DIPSETTING(      0x0080, "C" )
324332   PORT_DIPSETTING(      0x00c0, "D (Difficult)" )
325333
326   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Coin_A ) )
334   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW1:8,7,6")
327335   PORT_DIPSETTING(      0x4000, DEF_STR( 3C_1C ) )
328336   PORT_DIPSETTING(      0x2000, DEF_STR( 2C_1C ) )
329337   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
r15523r15524
333341   PORT_DIPSETTING(      0xa000, DEF_STR( 1C_6C ) )
334342   PORT_DIPSETTING(      0xe000, "Free-Play" )
335343
336   PORT_DIPNAME( 0x1800, 0x0800, DEF_STR( Coin_B ) )
344   PORT_DIPNAME( 0x1800, 0x0800, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW1:5,4")
337345   PORT_DIPSETTING(      0x0000, DEF_STR( 2C_1C ) )
338346   PORT_DIPSETTING(      0x1000, DEF_STR( 1C_4C ) )
339347   PORT_DIPSETTING(      0x0800, DEF_STR( 1C_5C ) )
340348   PORT_DIPSETTING(      0x1800, DEF_STR( 1C_6C ) )
341349
342   PORT_DIPNAME( 0x0700, 0x0700, "Do not change 1" )
350   PORT_DIPNAME( 0x0700, 0x0700, "Do not change DSW1 1-3" )   PORT_DIPLOCATION("SW1:3,2,1") /* Listed in manual as "Do Not Change" */
343351   PORT_DIPSETTING(      0x0000, "0" )
344352   PORT_DIPSETTING(      0x0100, "1" )
345353   PORT_DIPSETTING(      0x0200, "2" )
r15523r15524
467475/* Buggy Boy uses an 8255 PPI instead of YM2149 ports for inputs! */
468476static I8255A_INTERFACE( buggyboy_ppi8255_intf )
469477{
470   DEVCB_INPUT_PORT("PPI_PORTA"),      /* Port A read */
471   DEVCB_NULL,                     /* Port A write */
472   DEVCB_NULL,                     /* Port B read */
478   DEVCB_INPUT_PORT("PPI_PORTA"),                  /* Port A read */
479   DEVCB_NULL,                                 /* Port A write */
480   DEVCB_NULL,                                 /* Port B read */
473481   DEVCB_DRIVER_MEMBER(tx1_state,bb_coin_cnt_w),      /* Port B write */
474   DEVCB_INPUT_PORT("PPI_PORTC"),      /* Port C read */
475   DEVCB_NULL                     /* Port C write */
482   DEVCB_INPUT_PORT("PPI_PORTC"),                  /* Port C read */
483   DEVCB_NULL                                 /* Port C write */
476484};
477485
478486static I8255A_INTERFACE( tx1_ppi8255_intf )
479487{
480488   DEVCB_DRIVER_MEMBER(tx1_state,tx1_ppi_porta_r),      /* Port A read */
481   DEVCB_NULL,                     /* Port A write */
489   DEVCB_NULL,                                 /* Port A write */
482490   DEVCB_DRIVER_MEMBER(tx1_state,tx1_ppi_portb_r),      /* Port B read */
483   DEVCB_NULL,                     /* Port B write */
484   DEVCB_INPUT_PORT("PPI_PORTC"),      /* Port C read */
491   DEVCB_NULL,                                 /* Port B write */
492   DEVCB_INPUT_PORT("PPI_PORTC"),                  /* Port C read */
485493   DEVCB_DRIVER_MEMBER(tx1_state,tx1_coin_cnt_w)      /* Port C write */
486494};
487495
r15523r15524
505513   AM_RANGE(0x0e000, 0x0e001) AM_WRITE(tx1_slock_w)
506514   AM_RANGE(0x0f000, 0x0f001) AM_READ(watchdog_reset16_r) AM_WRITE(resume_math_w)
507515   AM_RANGE(0x10000, 0x1ffff) AM_READWRITE(z80_shared_r, z80_shared_w)
508   AM_RANGE(0xf0000, 0xfffff) AM_ROM
516   AM_RANGE(0x20000, 0x2ffff) AM_MIRROR(0xd0000) AM_ROM
509517ADDRESS_MAP_END
510518
511519static ADDRESS_MAP_START( tx1_math, AS_PROGRAM, 16, tx1_state )
r15523r15524
518526   AM_RANGE(0x02C00, 0x02fff) AM_WRITE(tx1_flgcs_w)
519527   AM_RANGE(0x03000, 0x03fff) AM_READWRITE(tx1_math_r, tx1_math_w)
520528   AM_RANGE(0x05000, 0x07fff) AM_READ(tx1_spcs_rom_r)
521   AM_RANGE(0x08000, 0x0bfff) AM_ROM
522   AM_RANGE(0x0c000, 0x0ffff) AM_ROM
523   AM_RANGE(0xfc000, 0xfffff) AM_ROM
529   AM_RANGE(0x04000, 0x07fff) AM_MIRROR(0xf8000) AM_ROM
524530ADDRESS_MAP_END
525531
526532static ADDRESS_MAP_START( tx1_sound_prg, AS_PROGRAM, 8, tx1_state )
r15523r15524
582588   AM_RANGE(0x02000, 0x022ff) AM_RAM AM_SHARE("objram")
583589   AM_RANGE(0x02400, 0x024ff) AM_WRITE(buggyboy_gas_w)
584590   AM_RANGE(0x03000, 0x03fff) AM_READWRITE(buggyboy_math_r, buggyboy_math_w)
585   AM_RANGE(0x04000, 0x04fff) AM_ROM
586591   AM_RANGE(0x05000, 0x07fff) AM_READ(buggyboy_spcs_rom_r)
587   AM_RANGE(0x08000, 0x0bfff) AM_ROM
588   AM_RANGE(0x0c000, 0x0ffff) AM_ROM
589   AM_RANGE(0xfc000, 0xfffff) AM_ROM
592   AM_RANGE(0x04000, 0x07fff) AM_MIRROR(0xf8000) AM_ROM
590593ADDRESS_MAP_END
591594
592595/* Buggy Boy Sound PCB TC033A */
r15523r15524
726729   MCFG_VIDEO_START(tx1)
727730
728731   MCFG_SPEAKER_STANDARD_STEREO("frontleft", "frontright")
729//  MCFG_SPEAKER_STANDARD_STEREO("rearleft", "rearright")
732//  MCFG_SPEAKER_STANDARD_STEREO("rearleft", "rearright") /* Atari TX-1 TM262 manual shows 4 speakers (TX-1 Audio PCB Assembly A042016-01 A) */
730733
734
731735   MCFG_SOUND_ADD("aysnd", AY8910, TX1_PIXEL_CLOCK / 8)
732736   MCFG_SOUND_CONFIG(tx1_ay8910_interface)
733737   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "frontleft", 0.1)
r15523r15524
841845 *
842846 *************************************/
843847
848/*
849    The TX-1 (Multi License (World)) game is comprised of three boards:
850    - Sound Board (labeled TC013B, top small board, different then the below mentioned TC013A)
851    - CPU Board   (labeled TC011A, middle board, uses 15.000 MHz xtal)
852    - Video Board (labeled TC012A, bottom board, uses 18.000 MHz xtal)
853*/
844854ROM_START( tx1 )
845855   ROM_REGION( 0x100000, "main_cpu", 0 )
846   ROM_LOAD16_BYTE( "tx1_1c.ic22", 0xf0000, 0x4000, CRC(eedcee83) SHA1(7fa0590b142fb13c6562126a9bdd5a1e032880c7) )
847   ROM_LOAD16_BYTE( "tx1_2c.ic29", 0xf0001, 0x4000, CRC(294bf5bf) SHA1(02b425caba8a187c58211bab27988205eb044558) )
848   ROM_LOAD16_BYTE( "tx1_4c.ic54", 0xf8001, 0x4000, CRC(15bb8ef2) SHA1(83968f010ec555fcd0548a80562fb23a892b5afb) )
849   ROM_LOAD16_BYTE( "tx1_3c.ic45", 0xf8000, 0x4000, CRC(21a8aa55) SHA1(21bc4adefb22a95fcd7a4e305bf0b05e2cb34129) )
856   ROM_LOAD16_BYTE( "8412-136027-244.22", 0x20000, 0x4000, CRC(2e9cefa2) SHA1(4ca04eae446e8df08ab793488a79217ed1a27875) )
857   ROM_LOAD16_BYTE( "8412-136027-245.29", 0x20001, 0x4000, CRC(ade7895c) SHA1(1c33a574cae46fddb4cadb85f5de17f02ae7a596) )
850858
859   ROM_LOAD16_BYTE( "8412-136027-249.45", 0x28000, 0x4000, CRC(9bcb82db) SHA1(d1528c9b9c4c2848bdba15e4632927476d544f40) )
860   ROM_LOAD16_BYTE( "8412-136027-250.54", 0x28001, 0x4000, CRC(c8c9368f) SHA1(0972d54d506216eb2b204cf22ccdff9210fb7b10) )
861
851862   ROM_REGION( 0x100000, "math_cpu", 0 )
852   ROM_LOAD16_BYTE( "tx1_9c.ic146", 0xfc000, 0x2000, CRC(b65eeea2) SHA1(b5f26e17520c598132b93c5cd7af7ebd03b10012) )
853   ROM_RELOAD(                  0x4000, 0x2000 )
854   ROM_RELOAD(                  0x8000, 0x2000 )
855   ROM_RELOAD(                  0xc000, 0x2000 )
856   ROM_LOAD16_BYTE( "tx1_8c.ic132", 0xfc001, 0x2000, CRC(0d63dadc) SHA1(0954174b25c08967d3efb31f5721fd05502d66dd) )
857   ROM_RELOAD(                  0x4001, 0x2000 )
858   ROM_RELOAD(                  0x8001, 0x2000 )
859   ROM_RELOAD(                  0xc001, 0x2000 )
863   ROM_LOAD16_BYTE( "8411-136027-152.146", 0x04000, 0x2000, CRC(b65eeea2) SHA1(b5f26e17520c598132b93c5cd7af7ebd03b10012) )
864   ROM_LOAD16_BYTE( "8411-136027-151.132", 0x04001, 0x2000, CRC(0d63dadc) SHA1(0954174b25c08967d3efb31f5721fd05502d66dd) )
860865
861866   ROM_REGION( 0x10000, "audio_cpu", 0 )
862867   ROM_LOAD( "8411-136027-157.11", 0x00000, 0x2000, CRC(10ae3075) SHA1(69c5f62f2473aba848383eed3cecf15e273d86ca) )
863868
864869   ROM_REGION( 0x20000, "char_tiles", 0 )
870   ROM_LOAD( "8411-136027-156.204", 0x0000, 0x4000, CRC(60f3c616) SHA1(59c4361891e4274e27e6279c919e8fd6803af7cf) )
871   ROM_LOAD( "8411-136027-155.174", 0x4000, 0x4000, CRC(e59a6b72) SHA1(c10efa77ab421ac60b97227a8d547f50f8415670) )
872
873   ROM_REGION( 0x40000, "obj_tiles", 0 )
874   ROM_LOAD( "8411-136027-114.203", 0x0000, 0x4000, CRC(fc91328b) SHA1(e57fd2056b65d37cf2e1f0af56616c6555df3006) )
875   ROM_LOAD( "8411-136027-116.258", 0x4000, 0x4000, CRC(5745f671) SHA1(6e471633cd6de9926b3361a84430c088e1f6a097) )
876   ROM_LOAD( "8411-136027-115.173", 0x8000, 0x4000, CRC(720e5873) SHA1(151d9063c35b26f5876cf94bdf0c2665ec701bbd) )
877   ROM_LOAD( "8411-136027-117.232", 0xc000, 0x4000, CRC(3c68d0bc) SHA1(2dbaf2a268b90214fd61c016ac945d4371057826) )
878
879   ROM_REGION( 0x40000, "gfx3", 0 )
880   ROM_LOAD( "8411-136027-146.56", 0x0000, 0x2000, CRC(5635b8c1) SHA1(5cc9437a2ff0843f1917f2451852d4561c240b24) )
881   ROM_LOAD( "8411-136027-147.66", 0x2000, 0x2000, CRC(03d83cf8) SHA1(5c0cfc6bf02ad2b3f37e1ceb493f69eb9829ab1e) )
882   ROM_LOAD( "8411-136027-148.76", 0x4000, 0x2000, CRC(ad56013a) SHA1(ae3a91f58f30daff334754476db33ad1d12569fc) )
883
884   ROM_REGION( 0x10000, "au_data", ROMREGION_LE )
885   ROM_LOAD16_BYTE( "8411-136027-153.184", 0x0000, 0x4000, CRC(acf754e8) SHA1(06779e18636f0799efdaa09396e9ccd59f426257) )
886   ROM_LOAD16_BYTE( "8411-136027-154.185", 0x0001, 0x4000, CRC(f89d3e20) SHA1(4b4cf679b7e3d63cded9989d2b667941f718ff57) )
887   ROM_LOAD16_BYTE( "136027-143.ic223",    0x8000, 0x0200, CRC(22c77af6) SHA1(1be8585b95316b4fc5712cdaef699e676320cd4d) )
888   ROM_LOAD16_BYTE( "136027-142.ic213",    0x8001, 0x0200, CRC(f6b8b70b) SHA1(b79374acf11d71db1e4ad3c494ac5f500a52677b) )
889
890   ROM_REGION( 0x50000, "obj_map", 0 )
891   ROM_LOAD( "8411-136027-119.106", 0x0000, 0x4000, CRC(88eec0fb) SHA1(81d7a69dc1a4b3b81d7f28d97a3f80697cdcc6eb) )
892   ROM_LOAD( "8411-136027-120.73",  0x4000, 0x4000, CRC(407cbe65) SHA1(e1c11b65f3c6abde6d55afeaffdb39cdd6d66377) )
893
894   ROM_REGION( 0x50000, "user3", 0 )
895   ROM_LOAD( "8411-136027-113.48",  0x0000, 0x2000, CRC(4b3d7956) SHA1(fc2432dd69f3be7007d4fd6f7c86c7c19453b1ba) )
896   ROM_LOAD( "8411-136027-118.281", 0x2000, 0x4000, CRC(de418dc7) SHA1(1233e2f7499ec5a73a40ee336d3fe26c06187784) )
897
898   ROM_REGION( 0x10000, "proms", 0 )
899   /* RGB palette (left) */
900   ROM_LOAD( "136027-133.57", 0x0000, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
901   ROM_LOAD( "136027-134.58", 0x0100, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
902   ROM_LOAD( "136027-135.59", 0x0200, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
903
904   /* RGB palette (center) */
905   ROM_LOAD( "136027-133.36", 0x0300, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
906   ROM_LOAD( "136027-134.37", 0x0400, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
907   ROM_LOAD( "136027-135.38", 0x0500, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
908
909   /* RGB palette (right) */
910   ROM_LOAD( "136027-133.8",  0x0600, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
911   ROM_LOAD( "136027-134.9",  0x0700, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
912   ROM_LOAD( "136027-135.10", 0x0800, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
913
914   /* Character colour tables (L, C, R) */
915   ROM_LOAD( "136027-124.85",  0x0900, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
916   ROM_LOAD( "136027-124.116", 0x0a00, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
917   ROM_LOAD( "136027-124.148", 0x0b00, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
918
919   /* Object colour table */
920   ROM_LOAD( "136027-136.276", 0x0c00, 0x200, CRC(7b675b8b) SHA1(3a7617d8ca29aa5d9832e317736598646a466b8b) )
921   ROM_LOAD( "136027-136.277", 0x0e00, 0x200, CRC(7b675b8b) SHA1(3a7617d8ca29aa5d9832e317736598646a466b8b) )
922
923   /* Object tile lookup */
924   ROM_LOAD( "136027-123.25", 0x1000, 0x100, CRC(616a7a85) SHA1(b7c1060ecb128154092441212de64dc304aa3fcd) )
925
926   /* Road graphics */
927   ROM_LOAD( "136027-138.ic33", 0x1100, 0x200, CRC(fafb6917) SHA1(30eb182c7623026dce7dba9e249bc8a9eb7a7f3e) )
928   ROM_LOAD( "136027-139.ic40", 0x1300, 0x200, CRC(93deb894) SHA1(5ae9a21298c836fe649a52f3df2b4067f9012b91) )
929   ROM_LOAD( "136027-140.ic49", 0x1500, 0x200, CRC(aa5ed232) SHA1(f33e7bc2dd33ac6d75fb06b93c4dd58e5d10010d) )
930
931   /* Road stripes */
932   ROM_LOAD( "136027-141.ic50", 0x1700, 0x200, CRC(6b424cea) SHA1(83127326c20116b0a4be1126e163f9c6755e19dc) )
933ROM_END
934
935/*
936    The TX-1 (Japan Rev B) game is comprised of three boards:
937    - Sound Board (labeled TC013A, top small board)
938    - CPU Board   (labeled TC011A, middle board, uses 15.000 MHz xtal)
939    - Video Board (labeled TC012A, bottom board, uses 18.000 MHz xtal)
940*/
941ROM_START( tx1jb )
942   ROM_REGION( 0x100000, "main_cpu", 0 )
943   ROM_LOAD16_BYTE( "tx1_1b.ic22", 0x20000, 0x4000, CRC(3dadb8fb) SHA1(ef99897161d559180abc7f4ce23e8f55fe3bb330) )
944   ROM_LOAD16_BYTE( "tx1_2b.ic29", 0x20001, 0x4000, CRC(6b5a8f23) SHA1(0d82fdcadc29d9a1d7ae9b87dd1f94bd508da4b2) )
945
946   ROM_LOAD16_BYTE( "tx1_3b.ic45", 0x28000, 0x4000, CRC(3a030996) SHA1(7dbbad310380247159c12e5c100ce57193d16e90) )
947   ROM_LOAD16_BYTE( "tx1_4b.ic54", 0x28001, 0x4000, CRC(7aed82ed) SHA1(592d554d02a4b3806154dc008177de83a411ffc6) )
948
949   ROM_REGION( 0x100000, "math_cpu", 0 )
950   ROM_LOAD16_BYTE( "tx1_9b.ic146", 0x04000, 0x2000, CRC(af677ff4) SHA1(3968d7f3811ed7552efe1e1c5c416ec740503ee4) )
951   ROM_LOAD16_BYTE( "tx1_8b.ic132", 0x04001, 0x2000, CRC(dd4356f8) SHA1(b666d2aa93e61f6bcdb8326b8b06635be743b64e) )
952
953   ROM_REGION( 0x10000, "audio_cpu", 0 )
954   ROM_LOAD( "tx1_22h.ic9", 0x00000, 0x2000, CRC(66376232) SHA1(b8a026dae47173e7760eea4f52e67e525ad1b70b) )
955
956   ROM_REGION( 0x20000, "char_tiles", 0 )
865957   ROM_LOAD( "tx1_21a.ic204", 0x0000, 0x4000, CRC(cd3441ad) SHA1(8e6597b3177b8aaa34ed3373d85fc4b6231e1333) )
866958   ROM_LOAD( "tx1_20a.ic174", 0x4000, 0x4000, CRC(dbe595fc) SHA1(1ed2f775f0a1b46a2ffbc056eb4ef732ed546d3c) )
867959
868960   ROM_REGION( 0x40000, "obj_tiles", 0 )
869961   ROM_LOAD( "tx1_16b.ic203", 0x0000, 0x4000, CRC(1141c965) SHA1(4b90c1428bcbd72d0449c064856a5596269b3fc6) )
870   ROM_LOAD( "tx1_18b.ic258", 0x4000, 0x4000, NO_DUMP )
962   ROM_LOAD( "tx1_18b.ic258", 0x4000, 0x4000, CRC(0ad36d68) SHA1(fd5a65c56557c1bc9c0f3916f15f62500b52bfe0) )
871963   ROM_LOAD( "tx1_15b.ic173", 0x8000, 0x4000, CRC(30d1a8d5) SHA1(b4c585b7b8a8920bb3949d643e9e10c17d4009a0) )
872964   ROM_LOAD( "tx1_17b.ic232", 0xc000, 0x4000, CRC(364bb354) SHA1(a26581ca1088b979285471e2c6595048df84d75e) )
873965
r15523r15524
888980
889981   ROM_REGION( 0x50000, "user3", 0 )
890982   ROM_LOAD( "tx1_12b.ic48",  0x0000, 0x2000, CRC(4b3d7956) SHA1(fc2432dd69f3be7007d4fd6f7c86c7c19453b1ba) )
891   ROM_LOAD( "tx1_19b.ic281", 0x2000, 0x4000, NO_DUMP )
983   ROM_LOAD( "tx1_19b.ic281", 0x2000, 0x4000, CRC(cb250de6) SHA1(4bf3006986fb8cbb3dd4fa988e6471633614e4bb) )
892984
893985   ROM_REGION( 0x10000, "proms", 0 )
894986   /* RGB palette (left) */
r15523r15524
9271019   ROM_LOAD( "xb12.ic50",  0x1700, 0x200, CRC(6b424cea) SHA1(83127326c20116b0a4be1126e163f9c6755e19dc) )
9281020ROM_END
9291021
930/* Some PROMs haven't been confirmed to be the same as the Tatsumi set (but are very likely identical) */
931ROM_START( tx1a )
1022ROM_START( tx1jc )
9321023   ROM_REGION( 0x100000, "main_cpu", 0 )
933   ROM_LOAD16_BYTE( "8412-136027-244.22", 0xf0000, 0x4000, CRC(2e9cefa2) SHA1(4ca04eae446e8df08ab793488a79217ed1a27875) )
934   ROM_LOAD16_BYTE( "8412-136027-245.29", 0xf0001, 0x4000, CRC(ade7895c) SHA1(1c33a574cae46fddb4cadb85f5de17f02ae7a596) )
935   ROM_LOAD16_BYTE( "8412-136027-250.54", 0xf8001, 0x4000, CRC(c8c9368f) SHA1(0972d54d506216eb2b204cf22ccdff9210fb7b10) )
936   ROM_LOAD16_BYTE( "8412-136027-249.45", 0xf8000, 0x4000, CRC(9bcb82db) SHA1(d1528c9b9c4c2848bdba15e4632927476d544f40))
1024   ROM_LOAD16_BYTE( "tx1_1c.ic22", 0x20000, 0x4000, CRC(eedcee83) SHA1(7fa0590b142fb13c6562126a9bdd5a1e032880c7) )
1025   ROM_LOAD16_BYTE( "tx1_2c.ic29", 0x20001, 0x4000, CRC(294bf5bf) SHA1(02b425caba8a187c58211bab27988205eb044558) )
9371026
1027   ROM_LOAD16_BYTE( "tx1_3c.ic45", 0x28000, 0x4000, CRC(21a8aa55) SHA1(21bc4adefb22a95fcd7a4e305bf0b05e2cb34129) )
1028   ROM_LOAD16_BYTE( "tx1_4c.ic54", 0x28001, 0x4000, CRC(15bb8ef2) SHA1(83968f010ec555fcd0548a80562fb23a892b5afb) )
1029
9381030   ROM_REGION( 0x100000, "math_cpu", 0 )
939   ROM_LOAD16_BYTE( "8411-136027-152.146", 0xfc000, 0x2000, CRC(b65eeea2) SHA1(b5f26e17520c598132b93c5cd7af7ebd03b10012) )
940   ROM_RELOAD(                  0x4000, 0x2000 )
941   ROM_RELOAD(                  0x8000, 0x2000 )
942   ROM_RELOAD(                  0xc000, 0x2000 )
943   ROM_LOAD16_BYTE( "8411-136027-151.132", 0xfc001, 0x2000, CRC(0d63dadc) SHA1(0954174b25c08967d3efb31f5721fd05502d66dd) )
944   ROM_RELOAD(                  0x4001, 0x2000 )
945   ROM_RELOAD(                  0x8001, 0x2000 )
946   ROM_RELOAD(                  0xc001, 0x2000 )
1031   ROM_LOAD16_BYTE( "tx1_9c.ic146", 0x04000, 0x2000, CRC(b65eeea2) SHA1(b5f26e17520c598132b93c5cd7af7ebd03b10012) )
1032   ROM_LOAD16_BYTE( "tx1_8c.ic132", 0x04001, 0x2000, CRC(0d63dadc) SHA1(0954174b25c08967d3efb31f5721fd05502d66dd) )
9471033
948   ROM_REGION( 0x10000, "audio_cpu", 0 )
949   ROM_LOAD( "8411-136027-157.11", 0x00000, 0x2000, CRC(10ae3075) SHA1(69c5f62f2473aba848383eed3cecf15e273d86ca) )
1034   ROM_REGION( 0x10000, "audio_cpu", 0 ) /* Label was missing */
1035   ROM_LOAD( "8411-136027-157.11", 0x00000, 0x2000, CRC(10ae3075) SHA1(69c5f62f2473aba848383eed3cecf15e273d86ca) ) /* Unconfirmed TC013A or the later TC013B */
9501036
9511037   ROM_REGION( 0x20000, "char_tiles", 0 )
952   ROM_LOAD( "8411-136027-156.204", 0x0000, 0x4000, CRC(60f3c616) SHA1(59c4361891e4274e27e6279c919e8fd6803af7cf) )
953   ROM_LOAD( "8411-136027-155.174", 0x4000, 0x4000, CRC(e59a6b72) SHA1(c10efa77ab421ac60b97227a8d547f50f8415670) )
1038   ROM_LOAD( "tx1_21a.ic204", 0x0000, 0x4000, CRC(cd3441ad) SHA1(8e6597b3177b8aaa34ed3373d85fc4b6231e1333) )
1039   ROM_LOAD( "tx1_20a.ic174", 0x4000, 0x4000, CRC(dbe595fc) SHA1(1ed2f775f0a1b46a2ffbc056eb4ef732ed546d3c) )
9541040
9551041   ROM_REGION( 0x40000, "obj_tiles", 0 )
956   ROM_LOAD( "8411-136027-114.203", 0x0000, 0x4000, CRC(fc91328b) SHA1(e57fd2056b65d37cf2e1f0af56616c6555df3006) )
957   ROM_LOAD( "8411-136027-116.258", 0x4000, 0x4000, CRC(5745f671) SHA1(6e471633cd6de9926b3361a84430c088e1f6a097) )
958   ROM_LOAD( "8411-136027-115.173", 0x8000, 0x4000, CRC(720e5873) SHA1(151d9063c35b26f5876cf94bdf0c2665ec701bbd) )
959   ROM_LOAD( "8411-136027-117.232", 0xc000, 0x4000, CRC(3c68d0bc) SHA1(2dbaf2a268b90214fd61c016ac945d4371057826) )
1042   ROM_LOAD( "tx1_16b.ic203", 0x0000, 0x4000, CRC(1141c965) SHA1(4b90c1428bcbd72d0449c064856a5596269b3fc6) )
1043   ROM_LOAD( "tx1_18b.ic258", 0x4000, 0x4000, CRC(0ad36d68) SHA1(fd5a65c56557c1bc9c0f3916f15f62500b52bfe0) )
1044   ROM_LOAD( "tx1_15b.ic173", 0x8000, 0x4000, CRC(30d1a8d5) SHA1(b4c585b7b8a8920bb3949d643e9e10c17d4009a0) )
1045   ROM_LOAD( "tx1_17b.ic232", 0xc000, 0x4000, CRC(364bb354) SHA1(a26581ca1088b979285471e2c6595048df84d75e) )
9601046
9611047   ROM_REGION( 0x40000, "gfx3", 0 )
962   ROM_LOAD( "8411-136027-146.56", 0x0000, 0x2000, CRC(5635b8c1) SHA1(5cc9437a2ff0843f1917f2451852d4561c240b24) )
963   ROM_LOAD( "8411-136027-147.66", 0x2000, 0x2000, CRC(03d83cf8) SHA1(5c0cfc6bf02ad2b3f37e1ceb493f69eb9829ab1e) )
964   ROM_LOAD( "8411-136027-148.76", 0x4000, 0x2000, CRC(ad56013a) SHA1(ae3a91f58f30daff334754476db33ad1d12569fc) )
1048   ROM_LOAD( "tx1_5a.ic56", 0x0000, 0x2000, CRC(5635b8c1) SHA1(5cc9437a2ff0843f1917f2451852d4561c240b24) )
1049   ROM_LOAD( "tx1_6a.ic66", 0x2000, 0x2000, CRC(03d83cf8) SHA1(5c0cfc6bf02ad2b3f37e1ceb493f69eb9829ab1e) )
1050   ROM_LOAD( "tx1_7a.ic76", 0x4000, 0x2000, CRC(ad56013a) SHA1(ae3a91f58f30daff334754476db33ad1d12569fc) )
9651051
9661052   ROM_REGION( 0x10000, "au_data", ROMREGION_LE )
967   ROM_LOAD16_BYTE( "8411-136027-153.184", 0x0000, 0x4000, CRC(acf754e8) SHA1(06779e18636f0799efdaa09396e9ccd59f426257) )
968   ROM_LOAD16_BYTE( "8411-136027-154.185", 0x0001, 0x4000, CRC(f89d3e20) SHA1(4b4cf679b7e3d63cded9989d2b667941f718ff57) )
969   ROM_LOAD16_BYTE( "xb02b.ic223",         0x8000, 0x0200, CRC(22c77af6) SHA1(1be8585b95316b4fc5712cdaef699e676320cd4d) )
970   ROM_LOAD16_BYTE( "xb01b.ic213",         0x8001, 0x0200, CRC(f6b8b70b) SHA1(b79374acf11d71db1e4ad3c494ac5f500a52677b) )
1053   ROM_LOAD16_BYTE( "tx1_10b.ic184", 0x0000, 0x4000, CRC(acf754e8) SHA1(06779e18636f0799efdaa09396e9ccd59f426257) )
1054   ROM_LOAD16_BYTE( "tx1_11b.ic185", 0x0001, 0x4000, CRC(f89d3e20) SHA1(4b4cf679b7e3d63cded9989d2b667941f718ff57) )
1055   ROM_LOAD16_BYTE( "xb02b.ic223",   0x8000, 0x0200, CRC(22c77af6) SHA1(1be8585b95316b4fc5712cdaef699e676320cd4d) )
1056   ROM_LOAD16_BYTE( "xb01b.ic213",   0x8001, 0x0200, CRC(f6b8b70b) SHA1(b79374acf11d71db1e4ad3c494ac5f500a52677b) )
9711057
9721058   ROM_REGION( 0x50000, "obj_map", 0 )
973   ROM_LOAD( "8411-136027-119.106", 0x0000, 0x4000, CRC(88eec0fb) SHA1(81d7a69dc1a4b3b81d7f28d97a3f80697cdcc6eb) )
974   ROM_LOAD( "8411-136027-120.73",  0x4000, 0x4000, CRC(407cbe65) SHA1(e1c11b65f3c6abde6d55afeaffdb39cdd6d66377) )
1059   ROM_LOAD( "tx1_14b.ic106", 0x0000, 0x4000, CRC(68c63d6e) SHA1(110e02b99c44d31041be588bd14642e26890ecbd) )
1060   ROM_LOAD( "tx1_13b.ic73",  0x4000, 0x4000, CRC(b0c581b2) SHA1(20926bc15e7c97045b219b828acfcdd99b8712a6) )
9751061
9761062   ROM_REGION( 0x50000, "user3", 0 )
977   ROM_LOAD( "8411-136027-113.48",  0x0000, 0x2000, CRC(4b3d7956) SHA1(fc2432dd69f3be7007d4fd6f7c86c7c19453b1ba) )
978   ROM_LOAD( "8411-136027-118.281", 0x2000, 0x4000, CRC(de418dc7) SHA1(1233e2f7499ec5a73a40ee336d3fe26c06187784) )
1063   ROM_LOAD( "tx1_12b.ic48",  0x0000, 0x2000, CRC(4b3d7956) SHA1(fc2432dd69f3be7007d4fd6f7c86c7c19453b1ba) )
1064   ROM_LOAD( "tx1_19b.ic281", 0x2000, 0x4000, CRC(cb250de6) SHA1(4bf3006986fb8cbb3dd4fa988e6471633614e4bb) )
9791065
9801066   ROM_REGION( 0x10000, "proms", 0 )
9811067   /* RGB palette (left) */
982   ROM_LOAD( "136027-133.57", 0x0000, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
983   ROM_LOAD( "136027-134.58", 0x0100, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
984   ROM_LOAD( "136027-135.59", 0x0200, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
1068   ROM_LOAD( "xb05a.ic57", 0x0000, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
1069   ROM_LOAD( "xb06a.ic58", 0x0100, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
1070   ROM_LOAD( "xb07a.ic59", 0x0200, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
9851071
9861072   /* RGB palette (center) */
987   ROM_LOAD( "136027-133.36", 0x0300, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
988   ROM_LOAD( "136027-134.37", 0x0400, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
989   ROM_LOAD( "136027-135.38", 0x0500, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
1073   ROM_LOAD( "xb05a.ic36", 0x0300, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
1074   ROM_LOAD( "xb06a.ic37", 0x0400, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
1075   ROM_LOAD( "xb07a.ic38", 0x0500, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
9901076
9911077   /* RGB palette (right) */
992   ROM_LOAD( "136027-133.8",  0x0600, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
993   ROM_LOAD( "136027-134.9",  0x0700, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
994   ROM_LOAD( "136027-135.10", 0x0800, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
1078   ROM_LOAD( "xb05a.ic8",  0x0600, 0x100, CRC(3b387d01) SHA1(1229548e3052ad34eeee9598743091d19f6b8f88) )
1079   ROM_LOAD( "xb06a.ic9",  0x0700, 0x100, CRC(f6f4d7d9) SHA1(866024b76b26d6942bd4e1d2494686299414f6be) )
1080   ROM_LOAD( "xb07a.ic10", 0x0800, 0x100, CRC(824e7532) SHA1(917ce74d2bae6af90f2c4e41d12a69f884320915) )
9951081
9961082   /* Character colour tables (L, C, R) */
997   ROM_LOAD( "136027-124.85",  0x0900, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
998   ROM_LOAD( "136027-124.116", 0x0a00, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
999   ROM_LOAD( "136027-124.148", 0x0b00, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
1083   ROM_LOAD( "xb08.ic85",  0x0900, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
1084   ROM_LOAD( "xb08.ic116", 0x0a00, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
1085   ROM_LOAD( "xb08.ic148", 0x0b00, 0x100, CRC(5aeef5cc) SHA1(e123bf01d556178b0cf9d495bcce445f3f8421cd) )
10001086
10011087   /* Object colour table */
1002   ROM_LOAD( "136027-136.276", 0x0c00, 0x200, CRC(7b675b8b) SHA1(3a7617d8ca29aa5d9832e317736598646a466b8b) )
1003   ROM_LOAD( "136027-136.277", 0x0e00, 0x200, CRC(7b675b8b) SHA1(3a7617d8ca29aa5d9832e317736598646a466b8b) )
1088   ROM_LOAD( "xb04a.ic276",0x0c00, 0x200, CRC(92bf5533) SHA1(4d9127417325af66099234178ab2641d23ee9d22) )
1089   ROM_LOAD( "xb04a.ic277",0x0e00, 0x200, CRC(92bf5533) SHA1(4d9127417325af66099234178ab2641d23ee9d22) )
10041090
10051091   /* Object tile lookup */
1006   ROM_LOAD( "136027-123.25", 0x1000, 0x100, CRC(616a7a85) SHA1(b7c1060ecb128154092441212de64dc304aa3fcd) )
1092   ROM_LOAD( "xb03a.ic25", 0x1000, 0x100, CRC(616a7a85) SHA1(b7c1060ecb128154092441212de64dc304aa3fcd) )
10071093
10081094   /* Road graphics */
10091095   ROM_LOAD( "xb09.ic33",  0x1100, 0x200, CRC(fafb6917) SHA1(30eb182c7623026dce7dba9e249bc8a9eb7a7f3e) )
r15523r15524
10141100   ROM_LOAD( "xb12.ic50",  0x1700, 0x200, CRC(6b424cea) SHA1(83127326c20116b0a4be1126e163f9c6755e19dc) )
10151101ROM_END
10161102
1103
10171104ROM_START( buggyboy )
10181105   ROM_REGION( 0x100000, "main_cpu", 0 )
10191106   ROM_LOAD16_BYTE( "bug1a.230", 0x20000, 0x8000, CRC(92797c25) SHA1(8f7434abbd7f557d3202abb01b1e4899c82c67a5) )
r15523r15524
10261113   ROM_LOAD16_BYTE( "bug6b.175", 0xf8001, 0x4000, CRC(8f000dfa) SHA1(5fd78a03a00f547bbb431839f78a8d10a4ba8e3e) )
10271114
10281115   ROM_REGION( 0x100000, "math_cpu", 0 )
1029   ROM_LOAD16_BYTE( "bug8a.061", 0x4000, 0x2000, CRC(512291cd) SHA1(60f87133c86b88b982ba4680f96d0ac55970cb8d) )
1030   ROM_RELOAD(                  0x8000,  0x2000 )
1031   ROM_RELOAD(                  0xc000,  0x2000 )
1032   ROM_RELOAD(                  0xfc000, 0x2000 )
1116   ROM_LOAD16_BYTE( "bug8a.061", 0x04000, 0x2000, CRC(512291cd) SHA1(60f87133c86b88b982ba4680f96d0ac55970cb8d) )
1117   ROM_LOAD16_BYTE( "bug7a.060", 0x04001, 0x2000, CRC(d24dfdef) SHA1(37d05a8bf9567380523df01265afb9780e39ea2a) )
10331118
1034   ROM_LOAD16_BYTE( "bug7a.060", 0x4001, 0x2000, CRC(d24dfdef) SHA1(37d05a8bf9567380523df01265afb9780e39ea2a) )
1035   ROM_RELOAD(                  0x8001,  0x2000 )
1036   ROM_RELOAD(                  0xc001,  0x2000 )
1037   ROM_RELOAD(                  0xfc001, 0x2000 )
1038
10391119   ROM_REGION( 0x10000, "audio_cpu", 0 )
10401120   ROM_LOAD( "bug35.11", 0x00000, 0x4000,  CRC(7aa16e9e) SHA1(ea54e56270f70351a62a78fa32027bb41ef9861e) )
10411121
r15523r15524
11341214   ROM_LOAD16_BYTE( "bug5s.174", 0xf0001, 0x8000, CRC(5e352d8d) SHA1(350c206b5241d5628e673ce1108f728c8c4f980c) )
11351215
11361216   ROM_REGION( 0x100000, "math_cpu", 0 )
1137   ROM_LOAD16_BYTE( "bug8s.26", 0x4000,  0x2000, CRC(efd66282) SHA1(8355422c0732c92951659930eb399129fe8d6230) )
1138   ROM_RELOAD(                  0x8000,  0x2000 )
1139   ROM_RELOAD(                  0xc000,  0x2000 )
1140   ROM_RELOAD(                  0xfc000, 0x2000 )
1217   ROM_LOAD16_BYTE( "bug8s.26", 0x04000, 0x2000, CRC(efd66282) SHA1(8355422c0732c92951659930eb399129fe8d6230) )
1218   ROM_LOAD16_BYTE( "bug7s.25", 0x04001, 0x2000, CRC(bd75b5eb) SHA1(f2b55f84f4c968df177a56103924ac64705285cd) )
11411219
1142   ROM_LOAD16_BYTE( "bug7s.25", 0x4001,  0x2000, CRC(bd75b5eb) SHA1(f2b55f84f4c968df177a56103924ac64705285cd) )
1143   ROM_RELOAD(                  0x8001,  0x2000 )
1144   ROM_RELOAD(                  0xc001,  0x2000 )
1145   ROM_RELOAD(                  0xfc001, 0x2000 )
1146
11471220   ROM_REGION( 0x10000, "audio_cpu", 0 )
11481221   ROM_LOAD( "bug35s.21", 0x00000, 0x4000, CRC(65d9af57) SHA1(17b09404942d17e7254550c43b56ae96a8c55680) )
11491222
r15523r15524
12291302 *
12301303 *************************************/
12311304
1232GAMEL( 1983, tx1,        0,        tx1,      tx1,      0, ROT0, "Tatsumi", "TX-1",                                   GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_tx1 )
1233GAMEL( 1983, tx1a,       tx1,      tx1,      tx1a,     0, ROT0, "Tatsumi (Atari/Namco/Taito license)", "TX-1 (Atari/Namco/Taito license)", GAME_IMPERFECT_SOUND, layout_tx1 )
1234GAMEL( 1985, buggyboy,   0,        buggyboy, buggyboy, 0, ROT0, "Tatsumi", "Buggy Boy/Speed Buggy (cockpit)",        0, layout_buggyboy )
1235GAMEL( 1986, buggyboyjr, buggyboy, buggybjr, buggybjr, 0, ROT0, "Tatsumi", "Buggy Boy Junior/Speed Buggy (upright)", 0, layout_buggybjr )
1305GAMEL( 1983, tx1,        0,        tx1,      tx1,      0,     ROT0, "Tatsumi (Atari/Namco/Taito license)", "TX-1 (World)", GAME_IMPERFECT_SOUND, layout_tx1 )
1306GAMEL( 1983, tx1jb,      tx1,      tx1,      tx1j,     0,     ROT0, "Tatsumi", "TX-1 (Japan rev. B)",                      GAME_IMPERFECT_SOUND, layout_tx1 )
1307GAMEL( 1983, tx1jc,      tx1,      tx1,      tx1j,     0,     ROT0, "Tatsumi", "TX-1 (Japan rev. C)",                      GAME_IMPERFECT_SOUND, layout_tx1 )
1308GAMEL( 1985, buggyboy,   0,        buggyboy, buggyboy, 0,     ROT0, "Tatsumi", "Buggy Boy/Speed Buggy (cockpit)",          0, layout_buggyboy )
1309GAMEL( 1986, buggyboyjr, buggyboy, buggybjr, buggybjr, 0,     ROT0, "Tatsumi", "Buggy Boy Junior/Speed Buggy (upright)",   0, layout_buggybjr )
src/mame/drivers/taitowlf.c
r15523r15524
479479   AM_RANGE(0x0278, 0x027b) AM_WRITE(pnp_config_w)
480480   AM_RANGE(0x03f0, 0x03ff) AM_READWRITE(fdc_r, fdc_w)
481481   AM_RANGE(0x0a78, 0x0a7b) AM_WRITE(pnp_data_w)
482   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
482   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
483483ADDRESS_MAP_END
484484
485485/*****************************************************************************/
r15523r15524
625625   MCFG_MACHINE_START(taitowlf)
626626   MCFG_MACHINE_RESET(taitowlf)
627627
628   MCFG_PCI_BUS_ADD("pcibus", 0)
629   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
630   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
628   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
629   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
630   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
631631
632632   MCFG_PIT8254_ADD( "pit8254", taitowlf_pit8254_config )
633633   MCFG_I8237_ADD( "dma8237_1", XTAL_14_31818MHz/3, dma8237_1_config )
src/mame/drivers/funkball.c
r15523r15524
602602//  AM_RANGE(0x03f0, 0x03ff) AM_READWRITE(fdc_r, fdc_w)
603603   AM_RANGE(0x03f0, 0x03ff) AM_READWRITE8(fdc_r,fdc_w,0xffffffff)
604604
605   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
605   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
606606
607607   AM_RANGE(0x0360, 0x0363) AM_WRITE8(flash_w,0xffffffff)
608608
r15523r15524
11561156
11571157   MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
11581158
1159   MCFG_PCI_BUS_ADD("pcibus", 0)
1160   MCFG_PCI_BUS_DEVICE(7, "voodoo_0", voodoo_0_pci_r, voodoo_0_pci_w)
1161   MCFG_PCI_BUS_DEVICE(18, NULL, cx5510_pci_r, cx5510_pci_w)
1159   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
1160   MCFG_PCI_BUS_LEGACY_DEVICE(7, "voodoo_0", voodoo_0_pci_r, voodoo_0_pci_w)
1161   MCFG_PCI_BUS_LEGACY_DEVICE(18, NULL, cx5510_pci_r, cx5510_pci_w)
11621162
11631163   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
11641164
src/mame/drivers/decocass.c
r15523r15524
801801   MCFG_MACHINE_RESET(cdsteljn)
802802MACHINE_CONFIG_END
803803
804static MACHINE_CONFIG_DERIVED( cfishing, decocass )
804805
806   /* basic machine hardware */
807   MCFG_MACHINE_RESET(cfishing)
808MACHINE_CONFIG_END
809
810
805811static MACHINE_CONFIG_DERIVED( chwy, decocass )
806812
807813   /* basic machine hardware */
r15523r15524
12921298/* The Following use Dongle Type 3 (unknown part number?)
12931299    (dongle data differs for each game)      */
12941300
1301/* 25 Fishing / Angler Dangler */
1302ROM_START( cfishing )
1303   DECOCASS_BIOS_A_ROMS
1304
1305   ROM_REGION( 0x01000, "dongle", 0 )     /* dongle data */
1306   ROM_LOAD( "dp-1250-a-0.pro", 0x0000, 0x1000, CRC(92a3b387) SHA1(e17a155d02e9ed806590b23a845dc7806b6720b1) )
1307
1308   ROM_REGION( 0x10000, "cassette", 0 )     /* (max) 64k for cassette image */
1309   ROM_LOAD( "dt-1250-a-0.cas",   0x0000, 0x7500, CRC(d4a16425) SHA1(25afaabdc8b2217d5e73606a36ea9ba408d7bc4b) )
1310ROM_END
1311
1312
12951313/* 26 Hamburger / Burger Time */
12961314/* Photo of Dongle shows DP-126B with Cassette DT-1267B (the "7B" is in a seperate white box then the DP-126 label) */
12971315ROM_START( cbtime ) // version 7-B-0
r15523r15524
16891707/* 23 */ // 1982.?? 18 Hole Pro Golf
16901708/* 24 */ // 1982.07 Tsumego Kaisyou
16911709/* 25 */ // 1982.10 Angler Dangler? (fishing)
1710/* 25 */ GAME( 1982, cfishing,  decocass, cfishing, decocass, decocass, ROT270, "Data East Corporation", "Fishing (DECO Cassette)", 0 )
16921711/* 26 */ GAME( 1983, cbtime,    decocass, cbtime,   cbtime,   decocass, ROT270, "Data East Corporation", "Burger Time (DECO Cassette)", 0 )
16931712         GAME( 1982, chamburger,cbtime,   cbtime,   cbtime,   decocass, ROT270, "Data East Corporation", "Hamburger (DECO Cassette, Japan)", 0 )
16941713/* 27 */ GAME( 1982, cburnrub,  decocass, cburnrub, decocass, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (DECO Cassette, set 1)", 0 )
src/mame/drivers/gamecstl.c
r15523r15524
540540   AM_RANGE(0x0278, 0x027b) AM_WRITE(pnp_config_w)
541541   AM_RANGE(0x03f0, 0x03ff) AM_READWRITE(fdc_r, fdc_w)
542542   AM_RANGE(0x0a78, 0x0a7b) AM_WRITE(pnp_data_w)
543   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
543   AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
544544ADDRESS_MAP_END
545545
546546/*****************************************************************************/
r15523r15524
694694   MCFG_MACHINE_START(gamecstl)
695695   MCFG_MACHINE_RESET(gamecstl)
696696
697   MCFG_PCI_BUS_ADD("pcibus", 0)
698   MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
699   MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
697   MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
698   MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
699   MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
700700
701701   MCFG_PIT8254_ADD( "pit8254", gamecstl_pit8254_config )
702702
src/mame/drivers/segas16b.c
r15523r15524
891891 *
892892 *************************************/
893893
894#define MASTER_CLOCK_10MHz      XTAL_10MHz
895#define MASTER_CLOCK_8MHz      XTAL_8MHz
896#define MASTER_CLOCK_25MHz      XTAL_25_1748MHz
894#define MASTER_CLOCK_10MHz            XTAL_10MHz
895#define MASTER_CLOCK_8MHz            XTAL_8MHz
896#define MASTER_CLOCK_25MHz            XTAL_25_1748MHz
897897
898#define ROM_BOARD_171_5358_SMALL    (0)   /* 171-5358 with smaller ROMs */
899#define ROM_BOARD_171_5358          (1)      /* 171-5358 */
900#define ROM_BOARD_171_5521          (2)      /* 171-5521 */
901#define ROM_BOARD_171_5704          (2)      /* 171-5704 - don't know any diff between this and 171-5521 */
902#define ROM_BOARD_ATOMICP           (3)      /* (custom Korean) */
903#define ROM_BOARD_171_5797          (4)      /* 171-5797 */
898#define ROM_BOARD_171_5358_SMALL      (0)      /* 171-5358 with smaller ROMs */
899#define ROM_BOARD_171_5358            (1)      /* 171-5358 */
900#define ROM_BOARD_171_5521            (2)      /* 171-5521 */
901#define ROM_BOARD_171_5704            (2)      /* 171-5704 - don't know any diff between this and 171-5521 */
902#define ROM_BOARD_ATOMICP            (3)      /* (custom Korean) */
903#define ROM_BOARD_171_5797            (4)      /* 171-5797 */
904#define ROM_BOARD_171_5704_EXTRA_RAM   (5)      /* System 16C */
904905
905906
906907/*************************************
r15523r15524
943944   { 0x35/2, 0x00000, 0x10000, 0xfe0000,      ~0, FUNC_NULL,       "bank11", FUNC(segaic16_tileram_0_w),  NULL,     &segaic16_tileram_0,   "tile RAM" },
944945   { 0x35/2, 0x10000, 0x01000, 0xfef000,      ~0, FUNC_NULL,       "bank12", FUNC(segaic16_textram_0_w),  NULL,     &segaic16_textram_0,   "text RAM" },
945946   { 0x31/2, 0x00000, 0x00800, 0xfff800,      ~0, FUNC_NULL,       "bank13", FUNC_NULL,                   "bank13", &segaic16_spriteram_0, "object RAM" },
946   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,     "work RAM" },
947   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,              "work RAM" },
947948   { 0x29/2, 0x00000, 0x20000, 0xfe0000, 0x20000, FUNC_NULL,       "bank15", FUNC_NULL,                   NULL,     NULL,                  "ROM 2" },
948949   { 0x25/2, 0x00000, 0x20000, 0xfe0000, 0x10000, FUNC_NULL,       "bank16", FUNC_NULL,                   NULL,     NULL,                  "ROM 1" },
949950   { 0x21/2, 0x00000, 0x20000, 0xfe0000, 0x00000, FUNC_NULL,       "bank17", FUNC_NULL,                   NULL,     NULL,                  "ROM 0" },
r15523r15524
957958   { 0x35/2, 0x00000, 0x10000, 0xfe0000,      ~0, FUNC_NULL,       "bank11", FUNC(segaic16_tileram_0_w),  NULL,     &segaic16_tileram_0,   "tile RAM" },
958959   { 0x35/2, 0x10000, 0x01000, 0xfef000,      ~0, FUNC_NULL,       "bank12", FUNC(segaic16_textram_0_w),  NULL,     &segaic16_textram_0,   "text RAM" },
959960   { 0x31/2, 0x00000, 0x00800, 0xfff800,      ~0, FUNC_NULL,       "bank13", FUNC_NULL,                   "bank13", &segaic16_spriteram_0, "object RAM" },
960   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,     "work RAM" },
961   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,              "work RAM" },
961962   { 0x29/2, 0x00000, 0x20000, 0xfe0000, 0x40000, FUNC_NULL,       "bank15", FUNC_NULL,                   NULL,     NULL,                  "ROM 2" },
962963   { 0x25/2, 0x00000, 0x20000, 0xfe0000, 0x20000, FUNC_NULL,       "bank16", FUNC_NULL,                   NULL,     NULL,                  "ROM 1" },
963964   { 0x21/2, 0x00000, 0x20000, 0xfe0000, 0x00000, FUNC_NULL,       "bank17", FUNC_NULL,                   NULL,     NULL,                  "ROM 0" },
r15523r15524
971972   { 0x35/2, 0x00000, 0x10000, 0xfe0000,      ~0, FUNC_NULL,       "bank11", FUNC(segaic16_tileram_0_w),  NULL,     &segaic16_tileram_0,   "tile RAM" },
972973   { 0x35/2, 0x10000, 0x01000, 0xfef000,      ~0, FUNC_NULL,       "bank12", FUNC(segaic16_textram_0_w),  NULL,     &segaic16_textram_0,   "text RAM" },
973974   { 0x31/2, 0x00000, 0x00800, 0xfff800,      ~0, FUNC_NULL,       "bank13", FUNC_NULL,                   "bank13", &segaic16_spriteram_0, "object RAM" },
974   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,     "work RAM" },
975   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,              "work RAM" },
975976   { 0x29/2, 0x00000, 0x10000, 0xff0000,      ~0, FUNC_NULL,       NULL,     FUNC(rom_5704_bank_w),       NULL,     NULL,                  "tile bank" },
976977   { 0x25/2, 0x00000, 0x80000, 0xfc0000, 0x80000, FUNC_NULL,       "bank16", FUNC_NULL,                   NULL,     NULL,                  "ROM 1" },
977978   { 0x21/2, 0x00000, 0x80000, 0xfc0000, 0x00000, FUNC_NULL,       "bank17", FUNC_NULL,                   NULL,     NULL,                  "ROM 0" },
978979   { 0 }
979980};
980981
982static const segaic16_memory_map_entry rom_171_5704_extra_ram_info[] =
983{
984   { 0x3d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC(misc_io_r), NULL,     FUNC(misc_io_w),             NULL,     NULL,                  "I/O space" },
985   { 0x39/2, 0x00000, 0x01000, 0xfff000,      ~0, FUNC_NULL,       "bank10", FUNC(segaic16_paletteram_w), NULL,     &segaic16_paletteram,  "color RAM" },
986   { 0x35/2, 0x00000, 0x10000, 0xfe0000,      ~0, FUNC_NULL,       "bank11", FUNC(segaic16_tileram_0_w),  NULL,     &segaic16_tileram_0,   "tile RAM" },
987   { 0x35/2, 0x10000, 0x01000, 0xfef000,      ~0, FUNC_NULL,       "bank12", FUNC(segaic16_textram_0_w),  NULL,     &segaic16_textram_0,   "text RAM" },
988   { 0x31/2, 0x00000, 0x00800, 0xfff800,      ~0, FUNC_NULL,       "bank13", FUNC_NULL,                   "bank13", &segaic16_spriteram_0, "object RAM" },
989   { 0x2d/2, 0x00000, 0x40000, 0xfc0000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,              "work RAM" },
990   { 0x29/2, 0x00000, 0x10000, 0xff0000,      ~0, FUNC_NULL,       NULL,     FUNC(rom_5704_bank_w),       NULL,     NULL,                  "tile bank" },
991   { 0x25/2, 0x00000, 0x80000, 0xfc0000, 0x80000, FUNC_NULL,       "bank16", FUNC_NULL,                   NULL,     NULL,                  "ROM 1" },
992   { 0x21/2, 0x00000, 0x80000, 0xfc0000, 0x00000, FUNC_NULL,       "bank17", FUNC_NULL,                   NULL,     NULL,                  "ROM 0" },
993   { 0 }
994};
995
981996static const segaic16_memory_map_entry rom_atomicp_info[] =
982997{
983998   { 0x3d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC(misc_io_r), NULL,     FUNC(misc_io_w),             NULL,     NULL,                  "I/O space" },
r15523r15524
9851000   { 0x35/2, 0x00000, 0x10000, 0xfe0000,      ~0, FUNC_NULL,       "bank11", FUNC(segaic16_tileram_0_w),  NULL,     &segaic16_tileram_0,   "tile RAM" },
9861001   { 0x35/2, 0x10000, 0x01000, 0xfef000,      ~0, FUNC_NULL,       "bank12", FUNC(segaic16_textram_0_w),  NULL,     &segaic16_textram_0,   "text RAM" },
9871002   { 0x31/2, 0x00000, 0x00800, 0xfff800,      ~0, FUNC_NULL,       "bank13", FUNC_NULL,                   "bank13", &segaic16_spriteram_0, "object RAM" },
988   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,     "work RAM" },
1003   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,       "bank14", FUNC_NULL,                   "bank14", &workram,              "work RAM" },
9891004   { 0x29/2, 0x00000, 0x10000, 0xff0000,      ~0, FUNC_NULL,       NULL,     FUNC(rom_5704_bank_w),       NULL,     NULL,                  "tile bank" },
9901005   { 0x25/2, 0x00000, 0x10000, 0xff0000,      ~0, FUNC_NULL,       NULL,     FUNC(atomicp_sound_w),       NULL,     NULL,                  "sound" },
9911006   { 0x21/2, 0x00000, 0x80000, 0xfc0000, 0x00000, FUNC_NULL,       "bank17", FUNC_NULL,                   NULL,     NULL,                  "ROM 0" },
r15523r15524
9991014   { 0x35/2, 0x00000, 0x10000, 0xfe0000,      ~0, FUNC_NULL,                  "bank11", FUNC(segaic16_tileram_0_w),  NULL,     &segaic16_tileram_0,   "tile RAM" },
10001015   { 0x35/2, 0x10000, 0x01000, 0xfef000,      ~0, FUNC_NULL,                  "bank12", FUNC(segaic16_textram_0_w),  NULL,     &segaic16_textram_0,   "text RAM" },
10011016   { 0x31/2, 0x00000, 0x00800, 0xfff800,      ~0, FUNC_NULL,                  "bank13", FUNC_NULL,                   "bank13", &segaic16_spriteram_0, "object RAM" },
1002   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,                  "bank14", FUNC_NULL,                   "bank14", &workram,     "work RAM" },
1017   { 0x2d/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC_NULL,                  "bank14", FUNC_NULL,                   "bank14", &workram,              "work RAM" },
10031018   { 0x29/2, 0x00000, 0x10000, 0xff0000,      ~0, FUNC(unknown_rgn2_r),       NULL,     FUNC(unknown_rgn2_w),        NULL,     NULL,                  "???" },
10041019   { 0x25/2, 0x00000, 0x04000, 0xffc000,      ~0, FUNC(rom_5797_bank_math_r), NULL,     FUNC(rom_5797_bank_math_w),  NULL,     NULL,                  "tile bank/math" },
10051020   { 0x21/2, 0x00000, 0x80000, 0xf80000, 0x00000, FUNC_NULL,                  "bank17", FUNC_NULL,                   NULL,     NULL,                  "ROM 0" },
r15523r15524
10121027   &rom_171_5358_info[0],
10131028   &rom_171_5704_info[0],
10141029   &rom_atomicp_info[0],
1015   &rom_171_5797_info[0]
1030   &rom_171_5797_info[0],
1031   &rom_171_5704_extra_ram_info[0]
10161032};
10171033
10181034
r15523r15524
10691085static void system16b_generic_init(running_machine &machine, int _rom_board)
10701086{
10711087   segas1x_state *state = machine.driver_data<segas1x_state>();
1088   int workram_size;
10721089
10731090   system16b_common_init(machine, _rom_board);
10741091
1092   /* System 16C board has more workram */
1093   if (_rom_board == ROM_BOARD_171_5704_EXTRA_RAM)
1094      workram_size = 0x40000;
1095   else
1096      workram_size = 0x04000;
1097
10751098   /* allocate memory for regions not autmatically assigned */
10761099   segaic16_spriteram_0 = auto_alloc_array(machine, UINT16, 0x00800 / 2);
10771100   segaic16_paletteram  = auto_alloc_array(machine, UINT16, 0x01000 / 2);
10781101   segaic16_tileram_0   = auto_alloc_array(machine, UINT16, 0x10000 / 2);
10791102   segaic16_textram_0   = auto_alloc_array(machine, UINT16, 0x01000 / 2);
1080   workram              = auto_alloc_array(machine, UINT16, 0x04000 / 2);
1103   workram              = auto_alloc_array(machine, UINT16, workram_size / 2);
10811104
10821105   /* init the memory mapper */
10831106   segaic16_memory_mapper_init(machine.device("maincpu"), region_info_list[state->m_rom_board], sound_w, NULL);
r15523r15524
10851108   /* init the FD1094 */
10861109   fd1094_driver_init(machine, "maincpu", segaic16_memory_mapper_set_decrypted);
10871110
1088   machine.device<nvram_device>("nvram")->set_base(workram, 0x4000);
1111   machine.device<nvram_device>("nvram")->set_base(workram, workram_size);
10891112
10901113   state_save_register_global_pointer(machine, segaic16_spriteram_0, 0x00800/2);
10911114   state_save_register_global_pointer(machine, segaic16_paletteram,  0x01000/2);
10921115   state_save_register_global_pointer(machine, segaic16_tileram_0,   0x10000/2);
10931116   state_save_register_global_pointer(machine, segaic16_textram_0,   0x01000/2);
1094   state_save_register_global_pointer(machine, workram,              0x04000/2);
1117   state_save_register_global_pointer(machine, workram,              workram_size/2);
10951118}
10961119
10971120
r15523r15524
13201343{
13211344   segas1x_state *state = device->machine().driver_data<segas1x_state>();
13221345   int size = state->memregion("soundcpu")->bytes() - 0x10000;
1346
13231347   if (size > 0)
13241348   {
13251349      int bankoffs = 0;
r15523r15524
13501374            break;
13511375
13521376         case ROM_BOARD_171_5521:
1377         case ROM_BOARD_171_5704_EXTRA_RAM:
13531378            /*
13541379                    D5 : Unused
13551380                    D4 : Unused
r15523r15524
15921617static READ16_HANDLER( aceattac_custom_io_r )
15931618{
15941619   segas1x_state *state = space->machine().driver_data<segas1x_state>();
1620
15951621   switch (offset & (0x3000/2))
15961622   {
15971623      case 0x1000/2:
r15523r15524
31963222INPUT_PORTS_END
31973223
31983224
3225static INPUT_PORTS_START( fz2 )
3226   PORT_INCLUDE( system16b_generic )
3227
3228   PORT_MODIFY("DSW2")
3229   PORT_DIPUNKNOWN_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:1" )
3230   PORT_DIPUNKNOWN_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW2:2" )
3231   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:3,4")
3232   PORT_DIPSETTING(    0x08, "2" )
3233   PORT_DIPSETTING(    0x0c, "3" )
3234   PORT_DIPSETTING(    0x04, "4" )
3235   PORT_DIPSETTING(    0x00, "240 (Cheat)")
3236   PORT_DIPUNKNOWN_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" )
3237   PORT_DIPUNKNOWN_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW2:6" )
3238   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:7,8")
3239   PORT_DIPSETTING(    0x80, DEF_STR( Easy ) )
3240   PORT_DIPSETTING(    0xc0, DEF_STR( Normal ) )
3241   PORT_DIPSETTING(    0x40, DEF_STR( Hard ) )
3242   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
3243
3244   PORT_MODIFY("DSW1")
3245   PORT_DIPUNUSED_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:1" )
3246   PORT_DIPUNUSED_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW1:2" )
3247   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW1:3" )
3248   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW1:4" )
3249   PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW1:5" )
3250   PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW1:6" )
3251   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW1:7" )
3252   PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW1:8" )
3253INPUT_PORTS_END
3254
3255
31993256/* we use common sys16b tags to simplify port reads */
32003257static INPUT_PORTS_START( atomicp )
32013258   PORT_START("SERVICE")   /* P1 */
r15523r15524
63946451   ROM_LOAD( "mpr-12149.a12", 0x30000, 0x20000, CRC(d6617b19) SHA1(aa36d257eaa52c8c871a39aaa2f29c203525dbaf) )
63956452ROM_END
63966453
6454/**************************************************************************************************************************
6455    Fantasy Zone II, Sega System 16C
6456    CPU: 68000 (has Sega part number?)
6457    ROM Board type: 171-5704 + Extra RAM
63976458
6459    Sega operated this game on actual System 16 PCBs for various events,
6460    it was also included in the PS2 Sega Ages collection Vol 33.
6461    Various bootlegs were sourced from this version. The dump will have to
6462    be verified if the official PCB ever gets into MAME friendly hands.
63986463
6464    There is also a demo version of the game available on the PC, but
6465    attempting to use those ROMs on a real PCB / emulator will result
6466    in the game failing after a few stages.
6467*/
6468ROM_START( fantzn2x )
6469   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
6470   ROM_LOAD16_BYTE( "fz2.a7", 0x00000, 0x20000, CRC(94c05f0b) SHA1(53da68a919776a46ae96dbc094ff941308d13613) )
6471   ROM_LOAD16_BYTE( "fz2.a5", 0x00001, 0x20000, CRC(f3526895) SHA1(3197956608138601192f111d3bcc26662a7d6ec1) )
6472   /* empty 0x40000 - 0x80000 */
6473   ROM_LOAD16_BYTE( "fz2.a8", 0x80000, 0x20000, CRC(b2ebb209) SHA1(bd40c90a372ab92a869bdd28d12cf52b45ecc80e) )
6474   ROM_LOAD16_BYTE( "fz2.a6", 0x80001, 0x20000, CRC(6833f546) SHA1(b4503cdb5bdb1322c34b9da3ff4227c740dad707) )
6475
6476   ROM_REGION( 0x60000, "gfx1", 0 ) /* tiles */
6477   ROM_LOAD( "fz2.a14", 0x00000, 0x20000, CRC(1c0a4537) SHA1(3abdf51ea81780309bcfaf12c04efdf7cb15a649) )
6478   ROM_LOAD( "fz2.a15", 0x20000, 0x20000, CRC(2b933344) SHA1(5b53ea8d58cc3d157aec6926db048359984e4276) )
6479   ROM_LOAD( "fz2.a16", 0x40000, 0x20000, CRC(e63281a1) SHA1(72379c579484c1ef7784a9598d373446ef0a472b) )
6480
6481   ROM_REGION16_BE( 0x180000, "gfx2", 0 ) /* sprites */
6482   ROM_LOAD16_BYTE( "fz2.b1",  0x000001, 0x20000, CRC(46bba615) SHA1(b291df4a83d7155eb7606f86ed733c24362a4db3) )
6483   ROM_LOAD16_BYTE( "fz2.b5",  0x000000, 0x20000, CRC(bebeee5d) SHA1(9e57e62c6b9136667aa90d7d423fc33ac6df4352) )
6484   ROM_LOAD16_BYTE( "fz2.b2",  0x040001, 0x20000, CRC(6681a7b6) SHA1(228df38601ba3895e9449921a64850941715b421) )
6485   ROM_LOAD16_BYTE( "fz2.b6",  0x040000, 0x20000, CRC(42d3241f) SHA1(c3240e3e1d7d398e74e76ba65adca6b06f0f67a9) )
6486   ROM_LOAD16_BYTE( "fz2.b3",  0x080001, 0x20000, CRC(5863926f) SHA1(0e591c4b85e5d572b3311bec2c1f6d2484204db6) )
6487   ROM_LOAD16_BYTE( "fz2.b7",  0x080000, 0x20000, CRC(cd830510) SHA1(8a32a1aa43f8af5e86f552f05da40b6e4ba12495) )
6488   ROM_LOAD16_BYTE( "fz2.b4",  0x0c0001, 0x20000, CRC(b98fa5b6) SHA1(c3f8891f81e80321e2ee5cc1f4d93b1867ed1868) )
6489   ROM_LOAD16_BYTE( "fz2.b8",  0x0c0000, 0x20000, CRC(e8248f68) SHA1(7876945d2baf1d7bdb9cc3a23be9f1a1681cede9) )
6490   ROM_LOAD16_BYTE( "fz2.a1",  0x100001, 0x20000, CRC(9d2f41f3) SHA1(54f5dc47d854cd26b108695f55263d8b8c29ce0e) )
6491   ROM_LOAD16_BYTE( "fz2.b10", 0x100000, 0x20000, CRC(7686ea33) SHA1(812a638f42500b30f80f9a3956c5eb4553cc35d0) )
6492   ROM_LOAD16_BYTE( "fz2.a2",  0x140001, 0x20000, CRC(3b4050b7) SHA1(8c7c8051c577a4b2ca54d7e60c100fbd5391551f) )
6493   ROM_LOAD16_BYTE( "fz2.b11", 0x140000, 0x20000, CRC(da8a95dc) SHA1(d44e1515008d4ee302f940ce7799fa9a790799e9) )
6494
6495   ROM_REGION( 0x50000, "soundcpu", 0 ) /* sound CPU */
6496   ROM_LOAD( "fz2.a10", 0x00000, 0x08000, CRC(92c92924) SHA1(3c98cea8f42c316405b28ae03469c6876de5e806) )
6497   ROM_LOAD( "fz2.a11", 0x10000, 0x20000, CRC(8c641bb9) SHA1(920da63961d2f3457c80d4c5f6d4f405374bb23a) )
6498ROM_END
6499
6500
6501
63996502/*************************************
64006503 *
64016504 *  Generic driver initialization
r15523r15524
64266529}
64276530
64286531
6532static DRIVER_INIT( generic_5704_extra_ram )
6533{
6534   system16b_generic_init(machine, ROM_BOARD_171_5704_EXTRA_RAM);
6535}
6536
6537
64296538static DRIVER_INIT( generic_5797 )
64306539{
64316540   system16b_generic_init(machine, ROM_BOARD_171_5797);
r15523r15524
67616870GAME( 1989, wrestwar2,  wrestwar, system16b,           wrestwar, generic_5704,       ROT270, "Sega", "Wrestle War (set 2, World, FD1094 317-0102)", 0 )
67626871GAME( 1989, wrestwar1,  wrestwar, system16b,           wrestwar, generic_5704,       ROT270, "Sega", "Wrestle War (set 1, Japan, FD1094 317-0090)", 0 )
67636872
6873/* Extra RAM, dubbed by M2 as 'System 16C' */
6874GAME( 2008, fantzn2x,   0,        system16b,           fz2,  generic_5704_extra_ram, ROT0,   "Sega / M2", "Fantasy Zone II - The Tears of Opa-Opa (System 16C version)", 0 ) // The 1987 copyright date shown ingame is false
6875
67646876/* Custom Korean Board - these probably belong with the bootlegs... */
67656877GAME( 1990, atomicp,    0,        atomicp,             atomicp,  atomicp,            ROT0,   "Philko", "Atomic Point (Korea)", 0) // korean clone board..
67666878GAME( 1990, snapper,    0,        atomicp,             snapper,  snapper,            ROT0,   "Philko", "Snapper (Korea)", 0) // korean clone board..
src/mame/drivers/arkanoid.c
r15523r15524
12561256   ROM_LOAD( "68705p3.6i",   0x0000, 0x0800, CRC(389a8cfb) SHA1(9530c051b61b5bdec7018c6fdc1ea91288a406bd) ) // this has the 1986 by Yasu copyright like some of the new decaps loaded in the parent set!
12571257ROM_END
12581258
1259ROM_START( arkanoidjb2 )
1260   ROM_REGION( 0x10000, "maincpu", 0 )
1261   ROM_LOAD( "1.ic81", 0x0000, 0x8000, CRC(9ff93dc2) SHA1(eee0975b799a8e6717f646dd40716dc454476106) )
1262   ROM_LOAD( "2.ic82", 0x8000, 0x8000, CRC(bbc33ceb) SHA1(e9b6fef98d0d20e77c7a1c25eff8e9a8c668a258) ) /* == A75-02.IC16 */
1263
1264   ROM_REGION( 0x0800, "mcu", 0 )   /* 2k for the microcontroller */
1265   ROM_LOAD( "a75-06.ic14",  0x0000, 0x0800, BAD_DUMP CRC(515d77b6) SHA1(a302937683d11f663abd56a2fd7c174374e4d7fb) ) /* Possible bootleg code??, need the decapped data here */
1266
1267   ROM_REGION( 0x18000, "gfx1", 0 )
1268   ROM_LOAD( "a75-03.ic64",   0x00000, 0x8000, CRC(038b74ba) SHA1(ac053cc4908b4075f918748b89570e07a0ba5116) )
1269   ROM_LOAD( "a75-04.ic63",   0x08000, 0x8000, CRC(71fae199) SHA1(5d253c46ccf4cd2976a5fb8b8713f0f345443d06) )
1270   ROM_LOAD( "a75-05.ic62",   0x10000, 0x8000, CRC(c76374e2) SHA1(7520dd48de20db60a2038f134dcaa454988e7874) )
1271
1272   ROM_REGION( 0x0600, "proms", 0 ) /* BPROMs are silkscreened as 7621, actual BPROMs used are MMI 6306-1N */
1273   ROM_LOAD( "a75-07.ic24",    0x0000, 0x0200, CRC(0af8b289) SHA1(6bc589e8a609b4cf450aebedc8ce02d5d45c970f) )   /* red component */
1274   ROM_LOAD( "a75-08.ic23",    0x0200, 0x0200, CRC(abb002fb) SHA1(c14f56b8ef103600862e7930709d293b0aa97a73) )   /* green component */
1275   ROM_LOAD( "a75-09.ic23",    0x0400, 0x0200, CRC(a7c6c277) SHA1(adaa003dcd981576ea1cc5f697d709b2d6b2ea29) )   /* blue component */
1276ROM_END
1277
12591278ROM_START( ark1ball ) /* This set requires a MCU. No MCU rom was supplied so we use current A75-06.IC14 for now */
12601279   ROM_REGION( 0x10000, "maincpu", 0 )
12611280   ROM_LOAD( "a-1.7d",       0x0000, 0x8000, CRC(dd4f2b72) SHA1(399a8636030a702dafc1da926f115df6f045bef1) )
r15523r15524
16821701GAME( 1986, arkanoiduo, arkanoid, arkanoid, arkanoid, 0,        ROT90, "Taito America Corporation (Romstar license)", "Arkanoid (US, older)", GAME_SUPPORTS_SAVE )
16831702GAME( 1986, arkanoidj,  arkanoid, arkanoid, arkanoidj,0,        ROT90, "Taito Corporation", "Arkanoid (Japan)", GAME_SUPPORTS_SAVE )
16841703GAME( 1986, arkanoidjo, arkanoid, arkanoid, arkanoidj,0,        ROT90, "Taito Corporation", "Arkanoid (Japan, older)", GAME_SUPPORTS_SAVE )
1685GAME( 1986, arkanoidjb, arkanoid, arkanoid, arkanoidj,0,        ROT90, "bootleg", "Arkanoid (bootleg with MCU)", GAME_SUPPORTS_SAVE )
1704GAME( 1986, arkanoidjb, arkanoid, arkanoid, arkanoidj,0,        ROT90, "bootleg", "Arkanoid (bootleg with MCU, set 1)", GAME_SUPPORTS_SAVE )
1705GAME( 1986, arkanoidjb2,arkanoid, arkanoid, arkanoidj,0,        ROT90, "bootleg (Beta)", "Arkanoid (bootleg with MCU, set 2)", GAME_SUPPORTS_SAVE )
16861706GAME( 1986, ark1ball,   arkanoid, arkanoid, ark1ball, 0,        ROT90, "bootleg", "Arkanoid (bootleg with MCU, harder)", GAME_SUPPORTS_SAVE )
16871707GAME( 1986, arkangc,    arkanoid, bootleg,  arkangc,  arkangc,  ROT90, "bootleg (Game Corporation)", "Arkanoid (Game Corporation bootleg, set 1)", GAME_SUPPORTS_SAVE )
16881708GAME( 1986, arkangc2,   arkanoid, bootleg,  arkangc2, arkangc2, ROT90, "bootleg (Game Corporation)", "Arkanoid (Game Corporation bootleg, set 2)", GAME_SUPPORTS_SAVE )
src/mame/drivers/pacman.c
r15523r15524
289289  Masaya Nakamura is the founder of Namco who originally produced Pac-Man in Japan.
290290  General Computer Corporation designed Ms. Pac-Man and licensed it to Midway for manufacture in North America.
291291
292- Super ABC shows developer credits at boot if IN1 is diconnected.
293
292294Boards:
293295-------
294296- puckman is the same as pacman except they are slotted to break a part and have ribbon cables to connect the halves.
r15523r15524
340342#include "cpu/z80/z80.h"
341343#include "includes/pacman.h"
342344#include "cpu/s2650/s2650.h"
345#include "machine/nvram.h"
343346#include "sound/namco.h"
344347#include "sound/ay8910.h"
345348#include "sound/sn76496.h"
r15523r15524
383386   machine.root_device().membank("bank2")->set_entry(whichbank);
384387}
385388
389static MACHINE_RESET( superabc )
390{
391   pacman_state *state = machine.driver_data<pacman_state>();
392   state->superabc_bank_w(*state->m_maincpu->memory().space(AS_PROGRAM), 0, 0);
393}
386394
387395
396
388397/*************************************
389398 *
390399 *  Interrupts
391400 *
392401 *************************************/
393402
403static INTERRUPT_GEN( vblank_irq )
404{
405   pacman_state *state = device->machine().driver_data<pacman_state>();
406
407   if(state->m_irq_mask)
408      device_set_input_line(device, 0, HOLD_LINE);
409}
410
411static INTERRUPT_GEN( vblank_nmi )
412{
413   pacman_state *state = device->machine().driver_data<pacman_state>();
414
415   if(state->m_irq_mask)
416      device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
417}
418
419WRITE8_MEMBER(pacman_state::irq_mask_w)
420{
421   m_irq_mask = data & 1;
422}
423
394424WRITE8_MEMBER(pacman_state::pacman_interrupt_vector_w)
395425{
396   device_set_input_line_vector(machine().device("maincpu"), 0, data);
397   cputag_set_input_line(machine(), "maincpu", 0, CLEAR_LINE);
426   device_set_input_line_vector(m_maincpu, 0, data);
427   device_set_input_line(m_maincpu, 0, CLEAR_LINE);
398428}
399429
400430
r15523r15524
458488{
459489   if (data == 0xfa) data = 0x78;
460490   if (data == 0xfc) data = 0xfc;
461   device_set_input_line_vector(machine().device("maincpu"), 0, data );
491   device_set_input_line_vector(m_maincpu, 0, data );
462492}
463493
464494
r15523r15524
467497   if (data == 0xbf) data = 0x3c;
468498   if (data == 0xc6) data = 0x40;
469499   if (data == 0xfc) data = 0xfc;
470   device_set_input_line_vector(machine().device("maincpu"), 0, data );
500   device_set_input_line_vector(m_maincpu, 0, data );
471501}
472502
473503
504
474505/*************************************
475506 *
476507 *  LEDs/coin counters
r15523r15524
514545      pacman_sound_w(machine().device("namco"), offset - 0x10, data);
515546}
516547
517
518548READ8_MEMBER(pacman_state::alibaba_mystery_1_r)
519549{
520550   /* The return value determines what the mystery item is.  Each bit corresponds
r15523r15524
560590   return data;
561591}
562592
563
564593READ8_MEMBER(pacman_state::maketrax_special_port3_r)
565594{
566595   int pc = cpu_get_previouspc(&space.device());
r15523r15524
624653   }
625654}
626655
656
627657/*************************************
628658 *
629659 *  Zola kludge
r15523r15524
635665   return m_counter++;
636666}
637667
668
638669/************************************
639670 *
640671 *  Big Bucks questions roms handlers
641672 *
642673 ************************************/
643674
644
645675WRITE8_MEMBER(pacman_state::bigbucks_bank_w)
646676{
647677   m_bigbucks_bank = data;
r15523r15524
658688   return ret;
659689}
660690
691
661692/************************************
662693 *
663694 *  S2650 cpu based games
r15523r15524
721752 *
722753 ************************************/
723754
724
725755READ8_MEMBER(pacman_state::rocktrv2_prot1_data_r)
726756{
727757   return m_rocktrv2_prot_data[0] >> 4;
r15523r15524
760790}
761791
762792
763READ8_MEMBER(pacman_state::pacman_read_nop)
793/************************************
794 *
795 *  Super ABC
796 *
797 ************************************/
798
799/*
800  This is a kit that upgrades an original Midway Pacman PCB to allow it to run many Pacman games.
801  It includes two small PCBs and two PROMs. The large PCB plugs into the CPU socket at 6B and the
802  Sync Bus Controller socket at 6D. The CPU that was in the socket at 6B plugs into the Super ABC PCB.
803
804  The large PCB contains the following parts.....
805  - Z80 CPU
806  - 27C040 EPROM at U14
807  - 82S123 PROM at U18
808  - 28C16 2KB EEPROM at U17
809  - several logic chips
810
811  The small PCB contains just one 27C010 EPROM for the characters. There's a small cable that joins
812  this PCB to the other large PCB.
813
814  The two PROMs on the main board at 7F and 4A are also replaced with PROMs from the kit
815*/
816
817WRITE8_MEMBER(pacman_state::superabc_bank_w)
764818{
765   // Return value of reading the bus with no devices enabled.
766   // This seems to be common but more tests are needed. Ms Pacman reads bytes in sequence
767   // until it hits a 0 for a delimiter, including empty areas.  It writes to "random"
768   // addresses each time. This causes the maze to invert sometimes.  See code at $95c3 where
769   // level($4e13)=134. DW
770   // tests on exactly what determines the value returned have thus far proved inconclusive
771   //return 0xff;
772   return 0xbf;
773
819   // d4-d6: bank
820   int bank = data >> 4 & 7;
821   membank("bank1")->set_base(memregion("maincpu")->base() + bank * 0x10000 + 0x0000);
822   membank("bank2")->set_base(memregion("maincpu")->base() + bank * 0x10000 + 0x4000);
823   membank("bank3")->set_base(memregion("maincpu")->base() + bank * 0x10000 + 0xa000); // looks like a15 is not connected and a16-onwards is shifted 1 bit
824   
825   if (bank != m_charbank)
826   {
827      m_spritebank = bank;
828      m_charbank = bank;
829      m_bg_tilemap->mark_all_dirty();
830   }
774831}
775832
776833
r15523r15524
857914WRITE8_MEMBER(pacman_state::mspacman_enable_decode_w){ mspacman_enable_decode_latch(machine()); }
858915
859916
917READ8_MEMBER(pacman_state::pacman_read_nop)
918{
919   // Return value of reading the bus with no devices enabled.
920   // This seems to be common but more tests are needed. Ms Pacman reads bytes in sequence
921   // until it hits a 0 for a delimiter, including empty areas.  It writes to "random"
922   // addresses each time. This causes the maze to invert sometimes.  See code at $95c3 where
923   // level($4e13)=134. DW
924   // tests on exactly what determines the value returned have thus far proved inconclusive
925   return 0xbf;
926}
860927
928
929
861930/*************************************
862931 *
863932 *  Main CPU memory handlers
864933 *
865934 *************************************/
866935
867WRITE8_MEMBER(pacman_state::irq_mask_w)
868{
869
870   m_irq_mask = data & 1;
871}
872
873936static ADDRESS_MAP_START( pacman_map, AS_PROGRAM, 8, pacman_state )
874937   //A lot of games don't have an a15 at the cpu.  Generally only games with a cpu daughter board can access the full 32k of romspace.
875938   AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROM
r15523r15524
890953   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
891954   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
892955   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
893   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
894   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
895   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
896   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
956   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
957   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
958   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
959   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
897960ADDRESS_MAP_END
898961// The Pacman code uses $5004 and $5005 for LED's and $5007 for coin lockout.  This hardware does not
899962// exist on any Pacman or Puckman board I have seen.  DW
900963
964
901965static ADDRESS_MAP_START( birdiy_map, AS_PROGRAM, 8, pacman_state )
902966   AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROM
903967   AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE("videoram")
r15523r15524
917981//  AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
918982//  AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
919983   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
920   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
921   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
922   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
923   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
984   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
985   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
986   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
987   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
924988ADDRESS_MAP_END
925989
990
926991static ADDRESS_MAP_START( mspacman_map, AS_PROGRAM, 8, pacman_state )
927992   AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE("videoram")
928993   AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE("colorram")
r15523r15524
9411006   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
9421007   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
9431008   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
944   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
945   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
946   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
947   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
1009   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1010   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1011   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
1012   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
9481013
9491014   /* overlay decode enable/disable on top */
9501015   AM_RANGE(0x0038, 0x003f) AM_READWRITE(mspacman_disable_decode_r_0x0038,mspacman_disable_decode_w)
r15523r15524
9811046   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
9821047   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
9831048   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
984   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
985   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
986   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
987   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
1049   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1050   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1051   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
1052   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
9881053   AM_RANGE(0x8000, 0xbfff) AM_ROM
9891054ADDRESS_MAP_END
9901055
r15523r15524
10091074   AM_RANGE(0x50c1, 0x50c1) AM_MIRROR(0xaf00) AM_WRITE(pacman_flipscreen_w)
10101075   AM_RANGE(0x50c2, 0x50c2) AM_MIRROR(0xaf00) AM_WRITE(irq_mask_w)
10111076   AM_RANGE(0x50c3, 0x50ff) AM_MIRROR(0xaf00) AM_WRITENOP
1012   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
1013   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
1014   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
1077   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1078   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1079   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
10151080   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf00) AM_READ(alibaba_mystery_1_r)
10161081   AM_RANGE(0x50c1, 0x50c1) AM_MIRROR(0xaf00) AM_READ(alibaba_mystery_2_r)
10171082   AM_RANGE(0x50c2, 0x50ff) AM_MIRROR(0xaf00) AM_READ(pacman_read_nop)
r15523r15524
10391104   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
10401105   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
10411106   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
1042   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
1043   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
1044   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
1045   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
1107   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1108   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1109   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
1110   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
10461111   AM_RANGE(0x8000, 0xbfff) AM_ROM
10471112
10481113   /* vanvan: probably a leftover from development: the Sanritsu version writes
r15523r15524
10701135   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
10711136   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
10721137   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
1073   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
1074   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
1075   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
1076   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
1138   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1139   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1140   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
1141   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
10771142ADDRESS_MAP_END
10781143
10791144
r15523r15524
11201185   AM_RANGE(0x50c0, 0x50c0) AM_WRITE(watchdog_reset_w)
11211186   AM_RANGE(0x5fe0, 0x5fe3) AM_WRITE(rocktrv2_prot_data_w) AM_SHARE("rocktrv2_prot")
11221187   AM_RANGE(0x5ff0, 0x5ff0) AM_WRITE(rocktrv2_question_bank_w)
1123   AM_RANGE(0x5000, 0x5000) AM_READ_PORT("IN0")      /* IN0 */
1124   AM_RANGE(0x5040, 0x507f) AM_READ_PORT("IN1")      /* IN1 */
1125   AM_RANGE(0x5080, 0x5080) AM_READ_PORT("DSW1")      /* DSW1 */
1126   AM_RANGE(0x50c0, 0x50c0) AM_READ_PORT("DSW2")      /* DSW2 */
1188   AM_RANGE(0x5000, 0x5000) AM_READ_PORT("IN0")
1189   AM_RANGE(0x5040, 0x507f) AM_READ_PORT("IN1")
1190   AM_RANGE(0x5080, 0x5080) AM_READ_PORT("DSW1")
1191   AM_RANGE(0x50c0, 0x50c0) AM_READ_PORT("DSW2")
11271192   AM_RANGE(0x5fe0, 0x5fe0) AM_READ(rocktrv2_prot1_data_r)
11281193   AM_RANGE(0x5fe4, 0x5fe4) AM_READ(rocktrv2_prot2_data_r)
11291194   AM_RANGE(0x5fe8, 0x5fe8) AM_READ(rocktrv2_prot3_data_r)
r15523r15524
11451210   AM_RANGE(0x5007, 0x5007) AM_WRITENOP /*?*/
11461211   AM_RANGE(0x5040, 0x505f) AM_DEVWRITE_LEGACY("namco", pacman_sound_w)
11471212   AM_RANGE(0x50c0, 0x50c0) AM_WRITE(watchdog_reset_w)
1148   AM_RANGE(0x5000, 0x503f) AM_READ_PORT("IN0")      /* IN0 */
1149   AM_RANGE(0x5040, 0x507f) AM_READ_PORT("IN1")      /* IN1 */
1150   AM_RANGE(0x5080, 0x50bf) AM_READ_PORT("DSW1")      /* DSW1 */
1151   AM_RANGE(0x50c0, 0x50ff) AM_READ_PORT("DSW2")      /* DSW2 */
1213   AM_RANGE(0x5000, 0x503f) AM_READ_PORT("IN0")
1214   AM_RANGE(0x5040, 0x507f) AM_READ_PORT("IN1")
1215   AM_RANGE(0x5080, 0x50bf) AM_READ_PORT("DSW1")
1216   AM_RANGE(0x50c0, 0x50ff) AM_READ_PORT("DSW2")
11521217   AM_RANGE(0x5100, 0x5100) AM_WRITENOP /*?*/
11531218   AM_RANGE(0x6000, 0x6000) AM_WRITE(bigbucks_bank_w)
11541219   AM_RANGE(0x8000, 0x9fff) AM_ROM
r15523r15524
11741239   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
11751240   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
11761241   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
1177   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")      /* IN0 */
1178   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")      /* IN1 */
1179   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")      /* DSW1 */
1180   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")      /* DSW2 */
1242   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1243   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1244   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
1245   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
11811246   AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank2")
11821247ADDRESS_MAP_END
11831248
1249
1250static ADDRESS_MAP_START( superabc_map, AS_PROGRAM, 8, pacman_state )
1251   AM_RANGE(0x0000, 0x3fff) AM_ROMBANK("bank1")
1252   AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE("videoram")
1253   AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE("colorram")
1254   AM_RANGE(0x4800, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE("28c16.u17") // nvram
1255   AM_RANGE(0x4ff0, 0x4fff) AM_MIRROR(0xa000) AM_RAM AM_SHARE("spriteram")
1256   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf38) AM_WRITE(irq_mask_w)
1257   AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xaf38) AM_DEVWRITE_LEGACY("namco", pacman_sound_enable_w)
1258   AM_RANGE(0x5002, 0x5002) AM_MIRROR(0xaf3c) AM_WRITE(superabc_bank_w)
1259   AM_RANGE(0x5003, 0x5003) AM_MIRROR(0xaf38) AM_WRITE(pacman_flipscreen_w)
1260   AM_RANGE(0x5004, 0x5005) AM_MIRROR(0xaf38) AM_WRITE(pacman_leds_w)
1261   AM_RANGE(0x5007, 0x5007) AM_MIRROR(0xaf38) AM_WRITE(pacman_coin_counter_w)
1262   AM_RANGE(0x5040, 0x505f) AM_MIRROR(0xaf00) AM_DEVWRITE_LEGACY("namco", pacman_sound_w)
1263   AM_RANGE(0x5060, 0x506f) AM_MIRROR(0xaf00) AM_WRITEONLY AM_SHARE("spriteram2")
1264   AM_RANGE(0x5070, 0x507f) AM_MIRROR(0xaf00) AM_WRITENOP
1265   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_WRITENOP
1266   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_WRITE(watchdog_reset_w)
1267   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xaf3f) AM_READ_PORT("IN0")
1268   AM_RANGE(0x5040, 0x5040) AM_MIRROR(0xaf3f) AM_READ_PORT("IN1")
1269   AM_RANGE(0x5080, 0x5080) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW1")
1270   AM_RANGE(0x50c0, 0x50c0) AM_MIRROR(0xaf3f) AM_READ_PORT("DSW2")
1271   AM_RANGE(0x8000, 0x9fff) AM_ROMBANK("bank2")
1272   AM_RANGE(0xa000, 0xbfff) AM_ROMBANK("bank3")
1273ADDRESS_MAP_END
1274
1275
11841276static ADDRESS_MAP_START( crushs_map, AS_PROGRAM, 8, pacman_state )
1185   //A lot of games don't have an a15 at the cpu.  Generally only games with a cpu daughter board can access the full 32k of romspace.
11861277   AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x8000) AM_ROM
11871278   AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE("videoram")
11881279   AM_RANGE(0x4400, 0x47ff) AM_MIRROR(0xa000) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE("colorram")
r15523r15524
12651356static ADDRESS_MAP_START( drivfrcp_portmap, AS_IO, 8, pacman_state )
12661357   AM_RANGE(0x00, 0x00) AM_READNOP
12671358   AM_RANGE(0x01, 0x01) AM_READ(drivfrcp_port1_r)
1268   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("Sense")
1359   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE")
12691360   AM_IMPORT_FROM(s2650games_writeport)
12701361ADDRESS_MAP_END
12711362
r15523r15524
12731364   AM_RANGE(0x00, 0x00) AM_READNOP
12741365   AM_RANGE(0x01, 0x01) AM_READ(_8bpm_port1_r)
12751366   AM_RANGE(0xe0, 0xe0) AM_READNOP
1276   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("Sense")
1367   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE")
12771368   AM_IMPORT_FROM(s2650games_writeport)
12781369ADDRESS_MAP_END
12791370
12801371static ADDRESS_MAP_START( porky_portmap, AS_IO, 8, pacman_state )
12811372   AM_RANGE(0x01, 0x01) AM_READ(porky_port1_r)
1282   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("Sense")
1373   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE")
12831374   AM_IMPORT_FROM(s2650games_writeport)
12841375ADDRESS_MAP_END
12851376
r15523r15524
13481439
13491440   PORT_START("DSW2")
13501441   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1351
13521442INPUT_PORTS_END
13531443
13541444
r15523r15524
14021492
14031493   PORT_START("DSW2")
14041494   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1405
14061495INPUT_PORTS_END
14071496
14081497
r15523r15524
15211610   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
15221611INPUT_PORTS_END
15231612
1613
1614static INPUT_PORTS_START( superabc )
1615   PORT_INCLUDE( pacman )
1616
1617   PORT_MODIFY("DSW1")
1618   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW:5,6")
1619   PORT_DIPSETTING(    0x00, "10000, Allow Continue" )   // also free game in Ultra Pac-Man
1620   PORT_DIPSETTING(    0x10, "15000, Allow Continue" )   // also free game in Ultra Pac-Man
1621   PORT_DIPSETTING(    0x20, "20000, No Continue" )   // also free life in Ultra Pac-Man
1622   PORT_DIPSETTING(    0x30, "None, No Continue" )      // also free life in Ultra Pac-Man
1623   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
1624INPUT_PORTS_END
1625
1626
15241627static INPUT_PORTS_START( maketrax )
15251628   PORT_START("IN0")
15261629   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
r15523r15524
22032306   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
22042307   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
22052308   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
2206   PORT_DIPNAME( 0x02, 0x00, "Invulnerability (Cheat)" ) PORT_CODE(KEYCODE_F1)
2309   PORT_DIPNAME( 0x02, 0x00, "Invulnerability (Cheat)" )
22072310   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
22082311   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
22092312   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
r15523r15524
22722375   PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
22732376
22742377   PORT_START("DSW2")
2275   /* turning this on crashes puts the */
2276   /* emulated machine in an infinite loop once in a while */
2277#if 0
2278   PORT_DIPNAME(    0x01, 0x00,"Invulnerability (Cheat)")
2378   PORT_DIPNAME( 0x01, 0x00,"Invulnerability (Cheat)")      /* turning this on crashes the emulated machine in an infinite loop once in a while */
22792379   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
22802380   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
2281   PORT_DIPNAME( 0xff, 0x00, DEF_STR( Unused ) )
2282#endif
2283   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
2381   PORT_BIT( 0xfe, IP_ACTIVE_HIGH, IPT_UNUSED )
22842382INPUT_PORTS_END
22852383
22862384
r15523r15524
28052903   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
28062904   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
28072905
2808   PORT_START("Sense")
2906   PORT_START("SENSE")
28092907   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
28102908INPUT_PORTS_END
28112909
r15523r15524
28572955   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
28582956   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
28592957
2860   PORT_START("Sense")
2958   PORT_START("SENSE")
28612959   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
28622960INPUT_PORTS_END
28632961
r15523r15524
29093007   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
29103008   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
29113009
2912   PORT_START("Sense")
3010   PORT_START("SENSE")
29133011   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
29143012INPUT_PORTS_END
29153013
r15523r15524
30983196GFXDECODE_END
30993197
31003198
3199static GFXDECODE_START( superabc )
3200   GFXDECODE_ENTRY( "gfx1", 0x0000, tilelayout,   0, 128 )
3201   GFXDECODE_ENTRY( "gfx1", 0x8000, spritelayout, 0, 128 )
3202GFXDECODE_END
3203
3204
31013205static GFXDECODE_START( crush4 )
31023206   GFXDECODE_ENTRY( "gfx1", 0x0000, crush4_tilelayout,   0, 128 )
31033207   GFXDECODE_ENTRY( "gfx1", 0x1000, crush4_spritelayout, 0, 128 )
r15523r15524
31253229 *
31263230 *************************************/
31273231
3128static INTERRUPT_GEN( vblank_irq )
3129{
3130   pacman_state *state = device->machine().driver_data<pacman_state>();
3131
3132   if(state->m_irq_mask)
3133      device_set_input_line(device, 0, HOLD_LINE);
3134}
3135
3136static INTERRUPT_GEN( vblank_nmi )
3137{
3138   pacman_state *state = device->machine().driver_data<pacman_state>();
3139
3140   if(state->m_irq_mask)
3141      device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
3142}
3143
31443232static MACHINE_CONFIG_START( pacman, pacman_state )
31453233
31463234   /* basic machine hardware */
r15523r15524
33653453MACHINE_CONFIG_END
33663454
33673455
3456static MACHINE_CONFIG_DERIVED( superabc, pacman )
3457
3458   /* basic machine hardware */
3459   MCFG_CPU_MODIFY("maincpu")
3460   MCFG_CPU_PROGRAM_MAP(superabc_map)
3461
3462   MCFG_NVRAM_ADD_0FILL("28c16.u17")
3463
3464   MCFG_MACHINE_RESET(superabc)
3465
3466   /* video hardware */
3467   MCFG_GFXDECODE(superabc)
3468MACHINE_CONFIG_END
3469
3470
33683471static MACHINE_CONFIG_DERIVED( crush4, mschamp )
33693472
33703473   /* basic machine hardware */
r15523r15524
41964299ROM_END
41974300
41984301
4302ROM_START( superabc )
4303   ROM_REGION( 0x80000, "maincpu", 0 )
4304   ROM_LOAD( "superabc.u14", 0x00000, 0x80000, CRC(a560efe6) SHA1(c7d43cc3bb3b1b10d06403462276231bfc8542dd) )   /* banked */
4305
4306   ROM_REGION( 0x10000, "gfx1", ROMREGION_ERASE00 ) // descrambled rom goes here
4307
4308   ROM_REGION( 0x20000, "user1", 0 )
4309   ROM_LOAD( "char5e5f.u1",  0x00000, 0x20000, CRC(45caace0) SHA1(f850bd09ec68b0263ac8b30ae38c3878c7978ace) )
4310
4311   ROM_REGION( 0x0120, "proms", 0 )   /* color PROMs */
4312   ROM_LOAD( "82s123.7f",  0x0000, 0x0020, CRC(3a188666) SHA1(067386e477ce48bbde3cf71f744a78a42238d236) )
4313   ROM_LOAD( "82s129.4a",  0x0020, 0x0100, CRC(4382c049) SHA1(5e535b1a6852260f38ae1e5cd57290a85cb6927f) )
4314
4315   ROM_REGION( 0x0200, "namco", 0 )   /* sound PROMs */
4316   ROM_LOAD( "82s126.1m",  0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
4317   ROM_LOAD( "82s126.3m",  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   /* timing - not used */
4318
4319   ROM_REGION( 0x0020, "unknown", 0 )
4320   ROM_LOAD( "82s123.u18", 0x0000, 0x0020, CRC(23b2863c) SHA1(e62f87d2145e94be06dbd90fa8d9a79760bfcc4b) )   /* prom on daughterboard, unknown function */
4321ROM_END
4322
4323
4324ROM_START( superabco )
4325   ROM_REGION( 0x80000, "maincpu", 0 )
4326   ROM_LOAD( "superabc.u14", 0x00000, 0x80000, CRC(62565ad8) SHA1(cb434c608ee463788b73152d84ce6173bdfa350d) )   /* banked */
4327
4328   ROM_REGION( 0x10000, "gfx1", ROMREGION_ERASE00 ) // descrambled rom goes here
4329
4330   ROM_REGION( 0x20000, "user1", 0 )
4331   ROM_LOAD( "char5e5f.u1",  0x00000, 0x20000, CRC(45caace0) SHA1(f850bd09ec68b0263ac8b30ae38c3878c7978ace) )
4332
4333   ROM_REGION( 0x0120, "proms", 0 )   /* color PROMs */
4334   ROM_LOAD( "82s123.7f",  0x0000, 0x0020, CRC(3a188666) SHA1(067386e477ce48bbde3cf71f744a78a42238d236) )
4335   ROM_LOAD( "82s129.4a",  0x0020, 0x0100, CRC(4382c049) SHA1(5e535b1a6852260f38ae1e5cd57290a85cb6927f) )
4336
4337   ROM_REGION( 0x0200, "namco", 0 )   /* sound PROMs */
4338   ROM_LOAD( "82s126.1m",  0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
4339   ROM_LOAD( "82s126.3m",  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   /* timing - not used */
4340
4341   ROM_REGION( 0x0020, "unknown", 0 )
4342   ROM_LOAD( "82s123.u18", 0x0000, 0x0020, CRC(23b2863c) SHA1(e62f87d2145e94be06dbd90fa8d9a79760bfcc4b) )   /* prom on daughterboard, unknown function */
4343ROM_END
4344
4345
41994346ROM_START( crush )
42004347   ROM_REGION( 2*0x10000, "maincpu", 0 )   /* 64k for code + 64k for opcode copy to hack protection */
42014348   ROM_LOAD( "crushkrl.6e",  0x0000, 0x1000, CRC(a8dd8f54) SHA1(4e3a973ea74a9e145c6997513b98fc80aa478442) )
r15523r15524
46324779 roms marked with a comment were in the set but we're not using them */
46334780ROM_START( eyeszacb )
46344781   ROM_REGION( 0x10000, "maincpu", 0 )
4635        ROM_LOAD( "zacb_11.bin",  0x0000, 0x0800, CRC(69c1602a) SHA1(47b0935406b7ee2f414de58da1d4e81c6277a0c2) ) // "no diagnostics, bad custom??" (unused)
4782   ROM_LOAD( "zacb_11.bin",  0x0000, 0x0800, CRC(69c1602a) SHA1(47b0935406b7ee2f414de58da1d4e81c6277a0c2) ) // "no diagnostics, bad custom??" (unused)
46364783   ROM_LOAD( "zacb_1.bin",   0x0000, 0x0800, CRC(a4a9d7a0) SHA1(f0b807d2fa347e50df52971aa7539a88f342bad6) )
46374784   ROM_LOAD( "zacb_5.bin",   0x0800, 0x0800, CRC(c32b3f73) SHA1(80d2e987f0318b984e5c7c4d0b5faa262eebeca4) )
46384785   ROM_LOAD( "zacb_2.bin",   0x1000, 0x0800, CRC(195b9473) SHA1(62eb16af38cc9004787dc55433ed3db11af44a4b) )
r15523r15524
46594806ROM_END
46604807
46614808
4662
46634809/*
46644810Birdyi by Mama Top
46654811
r15523r15524
55105656
55115657static void maketrax_rom_decode(running_machine &machine)
55125658{
5513   address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM);
5659   pacman_state *state = machine.driver_data<pacman_state>();
5660   address_space *space = state->m_maincpu->memory().space(AS_PROGRAM);
55145661   UINT8 *decrypted = auto_alloc_array(machine, UINT8, 0x4000);
55155662   UINT8 *rom = machine.root_device().memregion("maincpu")->base();
55165663
r15523r15524
55355682{
55365683   /* set up protection handlers */
55375684   pacman_state *state = machine.driver_data<pacman_state>();
5538   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0x5080, 0x50bf, read8_delegate(FUNC(pacman_state::maketrax_special_port2_r),state));
5539   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0x50c0, 0x50ff, read8_delegate(FUNC(pacman_state::maketrax_special_port3_r),state));
5685   state->m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(0x5080, 0x50bf, read8_delegate(FUNC(pacman_state::maketrax_special_port2_r),state));
5686   state->m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(0x50c0, 0x50ff, read8_delegate(FUNC(pacman_state::maketrax_special_port3_r),state));
55405687
55415688   maketrax_rom_decode(machine);
55425689}
55435690
55445691static void korosuke_rom_decode(running_machine &machine)
55455692{
5546   address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM);
5693   pacman_state *state = machine.driver_data<pacman_state>();
5694   address_space *space = state->m_maincpu->memory().space(AS_PROGRAM);
55475695   UINT8 *decrypted = auto_alloc_array(machine, UINT8, 0x4000);
55485696   UINT8 *rom = machine.root_device().memregion("maincpu")->base();
55495697
r15523r15524
55685716{
55695717   /* set up protection handlers */
55705718   pacman_state *state = machine.driver_data<pacman_state>();
5571   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0x5080, 0x5080, read8_delegate(FUNC(pacman_state::korosuke_special_port2_r),state));
5572   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0x50c0, 0x50ff, read8_delegate(FUNC(pacman_state::korosuke_special_port3_r),state));
5719   state->m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(0x5080, 0x5080, read8_delegate(FUNC(pacman_state::korosuke_special_port2_r),state));
5720   state->m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(0x50c0, 0x50ff, read8_delegate(FUNC(pacman_state::korosuke_special_port3_r),state));
55735721
55745722   korosuke_rom_decode(machine);
55755723}
r15523r15524
56625810   int i;
56635811
56645812   /* copy forty 8-byte patches into Pac-Man code */
5665
56665813   for (i = 0; i < 8; i++)
56675814   {
56685815      ROM[0x0410+i] = ROM[0x8008+i];
r15523r15524
58736020{
58746021   // protection
58756022   pacman_state *state = machine.driver_data<pacman_state>();
5876   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0x504d, 0x506f, read8_delegate(FUNC(pacman_state::mspacii_protection_r), state));
6023   state->m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(0x504d, 0x506f, read8_delegate(FUNC(pacman_state::mspacii_protection_r), state));
58776024}
58786025
6026static DRIVER_INIT( superabc )
6027{
6028   UINT8 *src = machine.root_device().memregion("user1")->base();
6029   UINT8 *dest = machine.root_device().memregion("gfx1")->base();
6030
6031   // descramble gfx
6032   for (int i = 0; i < 0x10000; i++)
6033      dest[i] = src[BITSWAP24(i,23,22,21,20,19,18,17, 12,13,14,16,15, 11,10,9,8,7,6,5,4,3,2,1,0)];
6034}
6035
58796036READ8_MEMBER(pacman_state::cannonbp_protection_r)
58806037{
5881
58826038   /* At 6p where a rom would usually be there is an epoxy resin chip with 'Novomatic Industrie' Cannon Ball tm 1984 label. */
58836039   /* As I have no clue about what shall be in this chip, what follows is only a simulation which is enough to play the game. */
58846040   switch (offset)
r15523r15524
59236079
59246080static DRIVER_INIT( cannonbp )
59256081{
6082   pacman_state *state = machine.driver_data<pacman_state>();
6083
59266084   /* extra memory */
5927   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_ram(0x4800, 0x4bff);
6085   state->m_maincpu->memory().space(AS_PROGRAM)->install_ram(0x4800, 0x4bff);
59286086
59296087   /* protection? */
5930   pacman_state *state = machine.driver_data<pacman_state>();
5931   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0x3000, 0x3fff, read8_delegate(FUNC(pacman_state::cannonbp_protection_r),state));
6088   state->m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(0x3000, 0x3fff, read8_delegate(FUNC(pacman_state::cannonbp_protection_r),state));
59326089}
59336090
59346091
r15523r15524
60146171GAME( 1983, acitya,   bwcasino, acitya,   acitya,   0,        ROT90,  "Epos Corporation", "Atlantic City Action", GAME_SUPPORTS_SAVE )
60156172GAME( 1983, theglobp, suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "The Glob (Pac-Man hardware)", GAME_SUPPORTS_SAVE )
60166173GAME( 1983, sprglobp, suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "Super Glob (Pac-Man hardware)", GAME_SUPPORTS_SAVE )
6017GAME( 1983, sprglbpg, suprglob, pacman,   theglobp, 0,        ROT90,  "bootleg", "Super Glob (Pac-Man hardware) German", GAME_SUPPORTS_SAVE )
6174GAME( 1983, sprglbpg, suprglob, pacman,   theglobp, 0,        ROT90,  "bootleg", "Super Glob (Pac-Man hardware) (German bootleg)", GAME_SUPPORTS_SAVE )
60186175GAME( 1984, beastf,   suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "Beastie Feastie", GAME_SUPPORTS_SAVE )
60196176GAME( 1984, drivfrcp, 0,        drivfrcp, drivfrcp, drivfrcp, ROT90,  "Shinkai Inc. (Magic Eletronics Inc. license)", "Driving Force (Pac-Man conversion)", GAME_SUPPORTS_SAVE )
60206177GAME( 1985, 8bpm,     8ballact, 8bpm,     8bpm,     8bpm,     ROT90,  "Seatongrove Ltd (Magic Eletronics USA license)", "Eight Ball Action (Pac-Man conversion)", GAME_SUPPORTS_SAVE )
r15523r15524
60236180GAME( 1986, bigbucks, 0,        bigbucks, bigbucks, 0,        ROT90,  "Dynasoft Inc.", "Big Bucks", GAME_SUPPORTS_SAVE )
60246181GAME( 1992, mschamp,  mspacman, mschamp,  mschamp,  0,        ROT90,  "hack", "Ms. Pacman Champion Edition / Zola-Puc Gal", GAME_SUPPORTS_SAVE ) /* Rayglo version */
60256182GAME( 1995, mschamps, mspacman, mschamp,  mschamp,  0,        ROT90,  "hack", "Ms. Pacman Champion Edition / Super Zola-Puc Gal", GAME_SUPPORTS_SAVE )
6026GAME( 198?, cannonbp, 0,        pacman,   cannonbp, cannonbp, ROT90,  "Novomatic", "Cannon Ball (Pacman Hardware)", GAME_WRONG_COLORS|GAME_SUPPORTS_SAVE )
6183GAME( 198?, cannonbp, 0,        pacman,   cannonbp, cannonbp, ROT90,  "Novomatic", "Cannon Ball (Pac-Man Hardware)", GAME_WRONG_COLORS|GAME_SUPPORTS_SAVE )
6184GAME( 1999, superabc, 0,        superabc, superabc, superabc, ROT90,  "hack (Two-Bit Score)", "Super ABC (Pac-Man multigame kit, Sep. 03 1999)", GAME_SUPPORTS_SAVE )
6185GAME( 1999, superabco,superabc, superabc, superabc, superabc, ROT90,  "hack (Two-Bit Score)", "Super ABC (Pac-Man multigame kit, Mar. 08 1999)", GAME_SUPPORTS_SAVE )
src/mame/drivers/crospang.c
r15523r15524
141141   PORT_DIPSETTING(      0x000c, DEF_STR( Medium ) )       /* table at 0x02e88c */
142142   PORT_DIPSETTING(      0x0000, DEF_STR( Hard ) )         /* table at 0x02f96c */
143143   PORT_DIPSETTING(      0x0004, DEF_STR( Hardest ) )      /* table at 0x02f3cc */
144   PORT_DIPNAME( 0x0010, 0x0010, "Bonus Power (Points)" )  PORT_DIPLOCATION("SW1:6")
144   PORT_DIPNAME( 0x0010, 0x0010, "Bonus Power (Points)" )  PORT_DIPLOCATION("SW1:5")
145145   PORT_DIPSETTING(      0x0010, "5k 20k 15k+" )
146146   PORT_DIPSETTING(      0x0000, "8k 23k 15k+" )
147147   PORT_DIPNAME( 0x0020, 0x0020, "Number of Powers" )      PORT_DIPLOCATION("SW1:6")
src/osd/sdl/sdl.mak
r15523r15524
281281endif
282282
283283#-------------------------------------------------
284# GCC 4.7 workaround (discrete audio needs type-safe rewrite to fix this for real)
285#-------------------------------------------------
286
287ifneq ($(BASE_TARGETOS),win32)
288CCVERS = $(shell gcc --version)
289ifneq (,$(findstring 4.7,$(CCVERS)))
290CCOMFLAGS += -Wno-narrowing -Wno-attributes
291endif
292endif
293
294#-------------------------------------------------
295284# object and source roots
296285#-------------------------------------------------
297286
r15523r15524
356345SDLOS_TARGETOS = $(BASE_TARGETOS)
357346
358347#-------------------------------------------------
348# TEST_GCC for GCC version-specific stuff
349#-------------------------------------------------
350
351TEST_GCC = $(shell gcc --version)
352
353ifeq ($(findstring 4.7,$(TEST_GCC)),4.7)
354   CCOMFLAGS += -Wno-narrowing -Wno-attributes
355endif
356
357#-------------------------------------------------
359358# Unix
360359#-------------------------------------------------
361360ifeq ($(BASE_TARGETOS),unix)
r15523r15524
469468# Static linking
470469
471470LDFLAGS += -static-libgcc
472TEST_GCC = $(shell gcc --version)
473471ifeq ($(findstring 4.4,$(TEST_GCC)),)
474472   #if we use new tools
475473   LDFLAGS += -static-libstdc++
476474endif
477ifeq ($(findstring 4.7,$(TEST_GCC)),4.7)
478   CCOMFLAGS += -Wno-narrowing -Wno-attributes
479endif
480475LIBS += -lSDL.dll
481476LIBS += -luser32 -lgdi32 -lddraw -ldsound -ldxguid -lwinmm -ladvapi32 -lcomctl32 -lshlwapi
482477
src/emu/cpu/mcs51/mcs51.c
r15523r15524
12031203
12041204INLINE void update_timers(mcs51_state_t *mcs51_state, int cycles)
12051205{
1206   /* Update Timer 0 */
1207   update_timer_t0(mcs51_state, cycles);
1208   update_timer_t1(mcs51_state, cycles);
1206   while (cycles--)
1207   {
1208      update_timer_t0(mcs51_state, 1);
1209      update_timer_t1(mcs51_state, 1);
12091210
1210   if (mcs51_state->features & FEATURE_I8052)
1211   {
1212      update_timer_t2(mcs51_state, cycles);
1211      if (mcs51_state->features & FEATURE_I8052)
1212      {
1213         update_timer_t2(mcs51_state, 1);
1214      }
12131215   }
12141216}
12151217
src/emu/sound/sn76496.c
r15523r15524
834834         {
835835            // if noisemode is 1, both taps are enabled
836836            // if noisemode is 0, the lower tap, whitenoisetap2, is held at 0
837            // The != was a bit-XOR (^) before
837838            if (((m_RNG & m_whitenoise_tap1)!=0) != (((m_RNG & m_whitenoise_tap2)!=0) && in_noise_mode()))
838839            {
839840               m_RNG >>= 1;
src/emu/sound/pokey.c
r15523r15524
436436      /* do nothing, caused by a forced resync */
437437      break;
438438   case SYNC_POT:
439      logerror("x %02x \n", (param & 0x20));
439      //logerror("x %02x \n", (param & 0x20));
440440      m_ALLPOT |= (param & 0xff);
441441      break;
442442   case SYNC_SET_IRQST:
src/emu/ioport.c
r15523r15524
24742474
24752475   // hook for MESS's natural keyboard support
24762476   manager().natkeyboard().frame_update(*this, m_live->digital);
2477
2478   // call device line write handlers
2479   ioport_value newvalue = read();
2480   for (dynamic_field *dynfield = m_live->writelist.first(); dynfield != NULL; dynfield = dynfield->next())
2481      if (dynfield->field().type() != IPT_OUTPUT)
2482         dynfield->write(newvalue);
24832477}
24842478
24852479
r15523r15524
30653059      // handle playback/record
30663060      playback_port(*port);
30673061      record_port(*port);
3062
3063      // call device line write handlers
3064      ioport_value newvalue = port->read();
3065      for (dynamic_field *dynfield = port->live().writelist.first(); dynfield != NULL; dynfield = dynfield->next())
3066         if (dynfield->field().type() != IPT_OUTPUT)
3067            dynfield->write(newvalue);     
30683068   }
30693069
30703070g_profiler.stop();
src/emu/drivers/xtal.h
r15523r15524
193193   XTAL_52_832MHz      = 52832000,    /* Wang PC TIG video controller */
194194   XTAL_53_693175MHz   = 53693175,      /* PSX-based h/w, Sony ZN1-2-based */
195195   XTAL_54MHz        = 54000000,      /* Taito JC */
196   XTAL_55MHz        = 55000000,      /* Eolith Vega */
196197   XTAL_57_2727MHz    = 57272727,      /* Psikyo SH2 with /2 divider */
197198   XTAL_60MHz        = 60000000,
198199   XTAL_61_44MHz      = 61440000,      /* dkong */
src/emu/machine/pci.c
r15523r15524
7878//  GLOBAL VARIABLES
7979//**************************************************************************
8080
81const device_type PCI_BUS_LEGACY = &device_creator<pci_bus_legacy_device>;
82
83//**************************************************************************
84//  LIVE DEVICE
85//**************************************************************************
86
87//-------------------------------------------------
88//  pci_bus_legacy_device - constructor
89//-------------------------------------------------
90pci_bus_legacy_device::pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
91        device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock),
92      m_father(NULL)
93{
94   for (int i = 0; i < ARRAY_LENGTH(m_devtag); i++) {
95      m_devtag[i]= NULL;
96      m_read_callback[i] = NULL;
97      m_write_callback[i] = NULL;
98   }
99   m_siblings_count = 0;
100}
101
102/***************************************************************************
103    INLINE FUNCTIONS
104***************************************************************************/
105
106READ32_MEMBER( pci_bus_legacy_device::read )
107{
108   UINT32 result = 0xffffffff;
109   int function, reg;
110
111   offset %= 2;
112
113   switch (offset)
114   {
115      case 0:
116         result = m_address;
117         break;
118
119      case 1:
120         if (m_devicenum != -1)
121         {
122            pci_read_func read = m_busnumaddr->m_read_callback[m_devicenum];
123            if (read != NULL)
124            {
125               function = (m_address >> 8) & 0x07;
126               reg = (m_address >> 0) & 0xfc;
127               result = (*read)(m_busnumaddr, m_busnumaddr->m_device[m_devicenum], function, reg, mem_mask);
128            }
129         }
130         break;
131   }
132
133   if (LOG_PCI)
134      logerror("read('%s'): offset=%d result=0x%08X\n", tag(), offset, result);
135
136   return result;
137}
138
139
140
141pci_bus_legacy_device *pci_bus_legacy_device::pci_search_bustree(int busnum, int devicenum, pci_bus_legacy_device *pcibus)
142{
143   int a;
144   pci_bus_legacy_device *ret;
145
146   if (pcibus->m_busnum == busnum)
147   {
148      return pcibus;
149   }
150   for (a = 0; a < pcibus->m_siblings_count; a++)
151   {
152      ret = pci_search_bustree(busnum, devicenum, pcibus->m_siblings[a]);
153      if (ret != NULL)
154         return ret;
155   }
156   return NULL;
157}
158
159
160
161WRITE32_MEMBER( pci_bus_legacy_device::write )
162{
163   offset %= 2;
164
165   if (LOG_PCI)
166      logerror("write('%s'): offset=%d data=0x%08X\n", tag(), offset, data);
167
168   switch (offset)
169   {
170      case 0:
171         m_address = data;
172
173         /* lookup current device */
174         if (m_address & 0x80000000)
175         {
176            int busnum = (m_address >> 16) & 0xff;
177            int devicenum = (m_address >> 11) & 0x1f;
178            m_busnumaddr = pci_search_bustree(busnum, devicenum, this);
179            if (m_busnumaddr != NULL)
180            {
181               m_busnumber = busnum;
182               m_devicenum = devicenum;
183            }
184            else
185               m_devicenum = -1;
186            if (LOG_PCI)
187               logerror("  bus:%d device:%d\n", busnum, devicenum);
188         }
189         break;
190
191      case 1:
192         if (m_devicenum != -1)
193         {
194            pci_write_func write = m_busnumaddr->m_write_callback[m_devicenum];
195            if (write != NULL)
196            {
197               int function = (m_address >> 8) & 0x07;
198               int reg = (m_address >> 0) & 0xfc;
199               (*write)(m_busnumaddr, m_busnumaddr->m_device[m_devicenum], function, reg, data, mem_mask);
200            }
201            if (LOG_PCI)
202               logerror("  function:%d register:%d\n", (m_address >> 8) & 0x07, (m_address >> 0) & 0xfc);
203         }
204         break;
205   }
206}
207
208
209
210READ64_MEMBER(pci_bus_legacy_device::read_64be)
211{
212   UINT64 result = 0;
213   mem_mask = FLIPENDIAN_INT64(mem_mask);
214   if (ACCESSING_BITS_0_31)
215      result |= (UINT64)read(space, offset * 2 + 0, mem_mask >> 0) << 0;
216   if (ACCESSING_BITS_32_63)
217      result |= (UINT64)read(space, offset * 2 + 1, mem_mask >> 32) << 32;
218   return FLIPENDIAN_INT64(result);
219}
220
221WRITE64_MEMBER(pci_bus_legacy_device::write_64be)
222{
223   data = FLIPENDIAN_INT64(data);
224   mem_mask = FLIPENDIAN_INT64(mem_mask);
225   if (ACCESSING_BITS_0_31)
226      write(space, offset * 2 + 0, data >> 0, mem_mask >> 0);
227   if (ACCESSING_BITS_32_63)
228      write(space, offset * 2 + 1, data >> 32, mem_mask >> 32);
229}
230
231
232void pci_bus_legacy_device::add_sibling(pci_bus_legacy_device *sibling, int busnum)
233{
234   m_siblings[m_siblings_count] = sibling;
235   m_siblings_busnum[m_siblings_count] = busnum;
236   m_siblings_count++;
237}
238
239
240//-------------------------------------------------
241//  device_post_load - handle updating after a
242//  restore
243//-------------------------------------------------
244
245void pci_bus_legacy_device::device_post_load()
246{
247   if (m_devicenum != -1)
248   {
249      m_busnumaddr = pci_search_bustree(m_busnumber, m_devicenum, this);
250   }
251}
252
253//-------------------------------------------------
254//  device_start - device-specific startup
255//-------------------------------------------------
256
257void pci_bus_legacy_device::device_start()
258{
259   /* store a pointer back to the device */
260   m_devicenum = -1;
261
262   /* find all our devices */
263   for (int i = 0; i < ARRAY_LENGTH(m_devtag); i++)
264      if (m_devtag[i] != NULL)
265         m_device[i] = machine().device(m_devtag[i]);
266
267   if (m_father != NULL) {
268      pci_bus_legacy_device *father = machine().device<pci_bus_legacy_device>(m_father);
269      if (father)
270         father->add_sibling(this, m_busnum);
271   }
272
273   /* register pci states */
274   save_item(NAME(m_address));
275   save_item(NAME(m_devicenum));
276   save_item(NAME(m_busnum));
277}
278
279
280//-------------------------------------------------
281//  device_reset - device-specific reset
282//-------------------------------------------------
283
284void pci_bus_legacy_device::device_reset()
285{
286   /* reset the drive state */
287   m_devicenum = -1;
288   m_address = 0;
289}
290
291
292// NEW IMPLEMENTATION
293
294//**************************************************************************
295//  GLOBAL VARIABLES
296//**************************************************************************
297
81298const device_type PCI_BUS = &device_creator<pci_bus_device>;
82299
83300//**************************************************************************
r15523r15524
329546pci_device_interface *pci_connector::get_device()
330547{
331548   return dynamic_cast<pci_device_interface *>(get_card_device());
332}
No newline at end of file
549}
src/emu/machine/pci.h
r15523r15524
1212//**************************************************************************
1313//  TYPE DEFINITIONS
1414//**************************************************************************
15
16typedef UINT32 (*pci_read_func)(device_t *pcibus, device_t *device, int function, int reg, UINT32 mem_mask);
17typedef void (*pci_write_func)(device_t *pcibus, device_t *device, int function, int reg, UINT32 data, UINT32 mem_mask);
18
19// ======================> pci_bus_legacy_device
20
21class pci_bus_legacy_device :  public device_t
22{
23public:
24    // construction/destruction
25    pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26
27   DECLARE_READ32_MEMBER( read );
28   DECLARE_WRITE32_MEMBER( write );
29
30   DECLARE_READ64_MEMBER( read_64be );
31   DECLARE_WRITE64_MEMBER( write_64be );
32   
33   void set_busnum(int busnum) { m_busnum = busnum; }
34   void set_father(const char *father) { m_father = father; }
35   void set_device(int num, const char *tag, pci_read_func read_func, pci_write_func write_func) {
36      m_devtag[num] = tag; m_read_callback[num] = read_func; m_write_callback[num] = write_func; }
37     
38   pci_bus_legacy_device *pci_search_bustree(int busnum, int devicenum, pci_bus_legacy_device *pcibus);
39   void add_sibling(pci_bus_legacy_device *sibling, int busnum);
40   
41protected:
42    // device-level overrides
43    virtual void device_start();
44   virtual void device_reset();
45    virtual void device_post_load();
46
47private:
48   UINT8            m_busnum;
49   const char *      m_devtag[32];
50   pci_read_func      m_read_callback[32];
51   pci_write_func      m_write_callback[32];
52   const char *      m_father;
53   device_t *         m_device[32];
54   pci_bus_legacy_device *   m_siblings[8];
55   UINT8            m_siblings_busnum[8];
56   int               m_siblings_count;
57   
58   offs_t            m_address;
59   INT8            m_devicenum; // device number we are addressing
60   INT8            m_busnumber; // pci bus number we are addressing
61   pci_bus_legacy_device *   m_busnumaddr; // pci bus we are addressing
62};
63
64// device type definition
65extern const device_type PCI_BUS_LEGACY;
66
67
68/***************************************************************************
69    DEVICE CONFIGURATION MACROS
70***************************************************************************/
71
72#define MCFG_PCI_BUS_LEGACY_ADD(_tag, _busnum) \
73   MCFG_DEVICE_ADD(_tag, PCI_BUS_LEGACY, 0) \
74   downcast<pci_bus_legacy_device *>(device)->set_busnum(_busnum); \
75
76#define MCFG_PCI_BUS_LEGACY_DEVICE(_devnum, _devtag, _configread, _configwrite) \
77   downcast<pci_bus_legacy_device *>(device)->set_device(_devnum, _devtag,_configread,_configwrite); \
78
79#define MCFG_PCI_BUS_LEGACY_SIBLING(_father_tag) \
80   downcast<pci_bus_legacy_device *>(device)->set_father(_father_tag); \
81
82
83// NEW IMPLEMENTATION   
84
85//**************************************************************************
86//  TYPE DEFINITIONS
87//**************************************************************************
1588class pci_bus_device;
1689
1790// ======================> pci_device_interface
r15523r15524
108181   downcast<pci_bus_device *>(device)->set_father(_father_tag); \
109182
110183
184
111185#endif /* PCI_H */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team