Previous 15994 Revisions Next

r8055 Monday 17th May, 2010 at 03:50:29 UTC by Nathan Woods
Update to MAME 0.138 core
[ROOT]makefile whatsnew.txt
[docs]messnew.txt
[src]version.c
[src/emu]drawgfxm.h mame.c
[src/emu/cpu/dsp32]dsp32.c
[src/emu/cpu/s2650]s2650.c
[src/emu/cpu/tms57002]tms57002.c
[src/emu/sound]tms5110r.c tms5220.c
[src/lib/util]cdrom.c
[src/mame]mame.mak mamedriv.c
[src/mame/audio]taito_en.c taito_en.h
[src/mame/drivers]8080bw.c armedf.c astrocorp.c btime.c champbas.c cinemat.c cojag.c cps2.c dynax.c forte2.c galaxold.c galivan.c goldstar.c jack.c jollyjgr.c maxaflex.c mcr68.c model1.c namcops2.c nightgal.c pacland.c pengadvb.c pgm.c polepos.c qdrmfgp.c scregg.c segag80r.c segas18.c simpsons.c snk.c suna8.c taito_f3.c targeth.c timeplt.c tp84.c tutankhm.c vertigo.c zn.c
[src/mame/includes]galaxold.h pgm.h timeplt.h
[src/mame/layout]lucky8.lay*
[src/mame/machine]cps2crpt.c galaxold.c pgmcrypt.c
[src/mame/video]btime.c pgm.c ppu2c0x.c taitosj.c timeplt.c
[src/osd/windows]d3d9intf.c winfile.c winmain.c

src/mame/audio/taito_en.c
r8054r8055
243243   AM_RANGE(0xff0000, 0xffffff) AM_RAM AM_SHARE("share1")   // mirror
244244ADDRESS_MAP_END
245245
246static SOUND_RESET( taito_f3_soundsystem_reset )
246SOUND_RESET( taito_f3_soundsystem_reset )
247247{
248248   /* Sound cpu program loads to 0xc00000 so we use a bank */
249249   UINT16 *ROM = (UINT16 *)memory_region(machine, "audiocpu");
src/mame/audio/taito_en.h
r8054r8055
11#include "cpu/m68000/m68000.h"
22#include "sound/es5506.h"
33
4SOUND_RESET( taito_f3_soundsystem_reset );
5
46MACHINE_DRIVER_EXTERN( taito_f3_sound );
src/mame/machine/pgmcrypt.c
r8054r8055
149149   }
150150}
151151
152static const UINT8 djlzz_tab[256] = {
152static const UINT8 photoy2k_tab[256] = {
153153  0xd9, 0x92, 0xb2, 0xbc, 0xa5, 0x88, 0xe3, 0x48, 0x7d, 0xeb, 0xc5, 0x4d, 0x31, 0xe4, 0x82, 0xbc,
154154  0x82, 0xcf, 0xe7, 0xf3, 0x15, 0xde, 0x8f, 0x91, 0xef, 0xc6, 0xb8, 0x81, 0x97, 0xe3, 0xdf, 0x4d,
155155  0x88, 0xbf, 0xe4, 0x05, 0x25, 0x73, 0x1e, 0xd0, 0xcf, 0x1e, 0xeb, 0x4d, 0x18, 0x4e, 0x6f, 0x9f,
r8054r8055
168168  0x92, 0x14, 0x23, 0xae, 0x4b, 0x80, 0xae, 0x6a, 0x56, 0x01, 0xac, 0x55, 0xf7, 0x6d, 0x9b, 0x6d,
169169};
170170
171void pgm_djlzz_decrypt(running_machine *machine)
171void pgm_photoy2k_decrypt(running_machine *machine)
172172{
173173
174174   int i;
r8054r8055
203203       if((i & 0x04820) == 0x04820)
204204         x ^= 0x0080;
205205
206       x ^= djlzz_tab[i & 0xff] << 8;
206       x ^= photoy2k_tab[i & 0xff] << 8;
207207
208208      src[i] = x;
209209   }
r8054r8055
945945      src[i] = x;
946946   }
947947}
948
949/* not 100% correct */
950static const UINT8 dw2001_tab[256] = {
951    0xd0,0x45,0xbc,0x84,0x93,0x60,0x7d,0x49,0x68,0xb1,0x54,0xa2,0x05,0x29,0x41,0x20,
952    0x04,0x08,0x52,0x25,0x89,0xf4,0x69,0x9f,0x24,0x46,0x3d,0xf1,0xf9,0xab,0xa6,0x2d,
953    0x18,0x19,0x6d,0x33,0x79,0x23,0x3b,0x1d,0xe0,0xb8,0x61,0x1a,0xe1,0x4c,0x5d,0x3f,
954    0x5e,0x02,0xe3,0x4d,0x9e,0X80,0x28,0x50,0xa0,0x81,0xe4,0xa5,0x97,0xa1,0x86,0x36,
955    0x1e,0xed,0x16,0x8a,0x44,0x06,0x64,0x12,0x9a,0x7e,0xce,0x9b,0xef,0xf7,0x3e,0xf8,
956    0x15,0x07,0xcb,0x6f,0x8e,0x3c,0x82,0x70,0x62,0x8d,0x66,0x7a,0x4e,0xd3,0xb6,0x6a,
957    0x51,0xa7,0x2c,0xc7,0xa4,0x0b,0xb5,0xe5,0x88,0xbd,0x5a,0x5b,0x1b,0xae,0xe6,0X5F,
958    0x2e,0x92,0x8c,0xb7,0x96,0xba,0x99,0xbb,0xbe,0x0e,0xbf,0xe7,0x2f,0xe9,0x30,0x37,
959    0x98,0xac,0x4a,0x94,0x38,0xf3,0x39,0xb2,0x55,0x72,0x7b,0xee,0xdd,0x6e,0x11,0xd5,
960    0x26,0xa8,0x71,0xd6,0x74,0x7f,0x13,0xc2,0x56,0xea,0xa9,0xaf,0XC3,0x42,0x03,0xb3,
961    0xc4,0x6b,0x47,0xf0,0x31,0xf5,0xaa,0x58,0x8f,0x48,0x75,0x95,0x35,0x8b,0x57,0x3a,
962    0x73,0x0c,0x59,0xd8,0x14,0x65,0xd7,0x00,0xfa,0xdc,0x34,0xde,0xc0,0xb0,0x87,0xc1,
963    0xc8,0xcd,0xd4,0x2a,0xda,0xe8,0xd2,0x83,0x0d,0xca,0xf2,0x0f,0xeb,0xec,0x9c,0x1f,
964    0xad,0x22,0xd1,0x4b,0x5c,0xf6,0x17,0xc5,0x67,0x9d,0xfb,0xc9,0xcc,0x32,0x1c,0xb4,
965    0xd9,0xe2,0xcf,0x90,0xb9,0x2b,0x61,0xc6,0x76,0x21,0x77,0x27,0xfc,0xfd,0x0a,0x09,
966    0x7c,0x01,0x43,0xdb,0x53,0x87,0xfe,0x78,0x91,0x40,0xa3,0xdf,0x4f,0xff,0x10,0x6c,
967};
968
969void pgm_dw2001_decrypt(running_machine *machine)
970{
971   int i;
972   UINT16 *src = (UINT16 *)(memory_region(machine, "user1"));
973
974   int rom_size = 0x200000;
975
976   for(i=0; i<rom_size/2; i++) {
977       UINT16 x = src[i];
978
979   if((i & 0x000480) != 0x00080)
980      x^=0x0001;
981
982   if((i & 0x004008) == 0x004008)
983      x^=0x0002;
984
985   if((i & 0x000030) == 0x000010)
986      x^=0x0004;
987
988   if((i & 0x000242) != 0x000042)
989      x^=0x0008;
990
991   if((i & 0x02004) != 0x00004)
992      x^=0x0020;
993
994   if((i & 0x11800) != 0x10000)
995      x^=0x0040;
996
997   if((i & 0x00820) == 0x00820)
998      x^=0x0080;
999
1000       x ^= dw2001_tab[(i >> 1) & 0xff] << 8;
1001
1002       src[i] = x;
1003   }
1004}
1005
1006/* todo: */
1007static const UINT8 py2k2_tab[256] = {
1008  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1009  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1010  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1011  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1012  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1013  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1014  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1015  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1016  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1017  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1018  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1019  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1020  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1021  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1022  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1023  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1024};
1025
1026void pgm_py2k2_decrypt(running_machine *machine)
1027{
1028
1029   int i;
1030   UINT16 *src = (UINT16 *) (memory_region(machine, "maincpu")+0x100000);
1031
1032   int rom_size = 0x400000;
1033
1034   for(i=0; i<rom_size/2; i++) {
1035      UINT16 x = src[i];
1036
1037      /*
1038        if((i & 0x40080) != 0x00080)
1039          x ^= 0x0001;
1040
1041        if((i & 0x84008) == 0x84008)
1042          x ^= 0x0002;
1043
1044        if((i & 0x00030) == 0x00010)
1045          x ^= 0x0004;
1046
1047        if((i & 0x00242) != 0x00042)
1048          x ^= 0x0008;
1049
1050        if((i & 0x48100) == 0x48000)
1051          x ^= 0x0010;
1052
1053        if((i & 0x02004) != 0x00004)
1054          x ^= 0x0020;
1055
1056        if((i & 0x01800) != 0x00000)
1057          x ^= 0x0040;
1058
1059        if((i & 0x04820) == 0x04820)
1060          x ^= 0x0080;
1061        */
1062
1063       x ^= py2k2_tab[i & 0xff] << 8;
1064
1065      src[i] = x;
1066   }
1067}
src/mame/machine/galaxold.c
r8054r8055
1616
1717static UINT8 _4in1_bank;
1818
19static IRQ_CALLBACK(hunchbkg_irq_callback)
20{
21   /* for some reason a call to cputag_set_input_line
22     * is significantly delayed ....
23     *
24     * cputag_set_input_line(device->machine, "maincpu", 0, CLEAR_LINE);
25     *
26     * Therefore we reset the line without any detour ....
27     */
28   //cpu_set_input_line(device->machine->firstcpu, 0, CLEAR_LINE);
29   cpu_set_info(device->machine->firstcpu, CPUINFO_INT_INPUT_STATE + irq_line, CLEAR_LINE);
30   return 0x03;
31}
32
33
1934void galaxold_7474_9m_2_callback(running_device *device)
2035{
2136   /* Q bar clocks the other flip-flop,
r8054r8055
4762   ttl7474_d_w(target, (param & 0xe0) != 0xe0);
4863
4964   /* 16V clocks the flip-flop */
50   ttl7474_clock_w(target, param & 0x10);
65   ttl7474_clock_w(target, (param & 0x10) == 0x10);
5166
5267   param = (param + 0x10) & 0xff;
5368
r8054r8055
86101   machine_reset_common(machine, 0);
87102}
88103
104MACHINE_RESET( hunchbkg )
105{
106   machine_reset_common(machine, 0);
107   cpu_set_irq_callback(devtag_get_device(machine, "maincpu"), hunchbkg_irq_callback);
108}
89109
90110WRITE8_HANDLER( galaxold_coin_lockout_w )
91111{
src/mame/machine/cps2crpt.c
r8054r8055
771771   { "ddtoda",   { 0xdecac105,0x19710411 }, 0x180000 },   // 0C78 1019 4000  cmpi.w  #$1019,$4000
772772   { "ddtodh",   { 0x19691019,0xe825dde0 }, 0x180000 },   // 0C78 1019 4000  cmpi.w  #$1019,$4000
773773   { "ddtodhr1", { 0x19691019,0xe825dde0 }, 0x180000 },   // 0C78 1019 4000  cmpi.w  #$1019,$4000
774   { "ddtodhr2", { 0x19691019,0xe825dde0 }, 0x180000 },   // 0C78 1019 4000  cmpi.w  #$1019,$4000
774775   { "ecofghtr", { 0x931031dc,0xba987654 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
775776   { "ecofghtru",{ 0x931031ed,0xcba98765 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
776777   { "ecofghtru1",{ 0x931031ed,0xcba98765 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
777778   { "uecology", { 0x931031fe,0xdcba9876 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
778779   { "ecofghtra",{ 0x931031ba,0x98765432 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
780   { "ecofghtrh",{ 0x931031cb,0xa9876543 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
779781   { "ssf2t",    { 0x944e8302,0x56d3143c }, 0x400000 },   // 0838 0007 2000  btst    #7,$2000
780782   { "ssf2ta",   { 0x94c4d002,0x664a1471 }, 0x400000 },   // 0838 0007 2000  btst    #7,$2000
781783   { "ssf2tu",   { 0x94fa8902,0x4c77143f }, 0x400000 },   // 0838 0007 2000  btst    #7,$2000
r8054r8055
784786   { "xmcota",   { 0x3bc6eda4,0x97f80251 }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
785787   { "xmcotau",  { 0x32a57ecd,0x98016f4b }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
786788   { "xmcotah",  { 0xf5e8dc34,0xa096b217 }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
789   { "xmcotahr1",{ 0xf5e8dc34,0xa096b217 }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
787790   { "xmcotaj",  { 0x46027315,0xaf8bcd9e }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
788791   { "xmcotaj1", { 0x46027315,0xaf8bcd9e }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
789792   { "xmcotaj2", { 0x46027315,0xaf8bcd9e }, 0x100000 },   // 0C80 1972 0301  cmpi.l  #$19720301,D0
r8054r8055
937940   { "sfa3",     { 0x6abfc8e0,0x2780ddc1 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
938941   { "sfa3u",    { 0xe7bbf0e5,0x67943248 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
939942   { "sfa3ur1",  { 0xe7bbf0e5,0x67943248 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
943   { "sfa3h",    { 0x8422df8c,0x7b17a361 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
940944   { "sfa3b",    { 0xd421c0b2,0x8116d296 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
941945   { "sfz3j",    { 0x7d49f803,0x0cbe2d79 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
942946   { "sfz3jr1",  { 0x7d49f803,0x0cbe2d79 }, 0x100000 },   // 0C80 1C62 F5A8  cmpi.l  #$1C62F5A8,D0
r8054r8055
950954   { "gigawing", { 0xe52de290,0x1b60d780 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
951955   { "gigawingj",{ 0x1126196a,0xbef50895 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
952956   { "gigawinga",{ 0x3506a85a,0x66b1b768 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
957   { "gigawingh",{ 0xcea74211,0x400da385 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
953958   { "gigawingb",{ 0x0fe745b0,0x96ef7f9d }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
954959   { "mmatrix",  { 0xac9ebd79,0x410467df }, 0x180000 },   // B6C0 B447 BACF  cmpa.w  D0,A3   cmp.w   D7,D2   cmpa.w  A7,A5
955960   { "mmatrixj", { 0x4df81e95,0x72ed9823 }, 0x180000 },   // B6C0 B447 BACF  cmpa.w  D0,A3   cmp.w   D7,D2   cmpa.w  A7,A5
src/mame/mamedriv.c
r8054r8055
414414   DRIVER( dangarb )   /* bootleg */
415415   DRIVER( ninjemak )   /* (c) 1986 (US?) */
416416   DRIVER( youma )      /* (c) 1986 (Japan) */
417   DRIVER( youma2 )      /* (c) 1986 (Japan) */
417418   DRIVER( youmab )   /* bootleg */
418419   DRIVER( youmab2 )   /* bootleg */
419420   DRIVER( legion )   /* (c) 1986 */
r8054r8055
424425   DRIVER( terrafu )   /* (c) 1987 Nichibutsu USA */
425426   DRIVER( kodure )   /* (c) 1987 (Japan) */
426427   DRIVER( armedf )   /* (c) 1988 */
428   DRIVER( armedff )   /* (c) 1988 Fillmore license */
427429   DRIVER( cclimbr2 )   /* (c) 1988 (Japan) */
428430   DRIVER( cclimbr2a )   /* (c) 1988 (Japan) */
429431   DRIVER( skyrobo )   /* (c) 1989 */
r8054r8055
444446   DRIVER( nightgal )   /* (c) 1984 */
445447   DRIVER( ngtbunny )   /* (c) 1984 */
446448   DRIVER( royalngt )   /* (c) 1984 Royal Denshi */
449   DRIVER( royalqn )
447450   DRIVER( sexygal  )   /* (c) 1985 */
448451   DRIVER( sweetgal )   /* (c) 1985 */
449452   DRIVER( ngalsumr )   /* (c) 1985 */
r8054r8055
714717   DRIVER( polepos2bi )/* bootleg */
715718   /* no custom I/O in the following, HD63701 (or compatible) microcontroller instead */
716719   DRIVER( pacland )   /* (c) 1984 */
717   DRIVER( pacland2 )   /* (c) 1984 */
718   DRIVER( pacland3 )   /* (c) 1984 */
720   DRIVER( paclandj )   /* (c) 1984 */
721   DRIVER( paclandjo )   /* (c) 1984 */
722   DRIVER( paclandjo2 )/* (c) 1984 */
719723   DRIVER( paclandm )   /* (c) 1984 Midway */
720724   DRIVER( drgnbstr )   /* (c) 1984 */
721725   DRIVER( skykid )   /* (c) 1985 */
r8054r8055
962966   DRIVER( sukuinuf )
963967   DRIVER( zgundmdx )
964968   DRIVER( soulclb3 )
965   DRIVER( kinniku )
966   DRIVER( taiko9 )
967969
968970   /* Namco System 256 */
969971   DRIVER( sys256 )
970972   DRIVER( tekken51 )
973   DRIVER( kinniku )
974   DRIVER( taiko9 )
975   DRIVER( taiko10 )
971976
972977   /* Misc Namco games */
973978   DRIVER( 20pacgal )   /* (c) 2000 Ver 1.04 */
r8054r8055
14311436   DRIVER( xenophob )   /* (c) 1987 */
14321437   DRIVER( spyhunt2 )   /* (c) 1987 */
14331438   DRIVER( spyhunt2a )   /* (c) 1987 */
1439   DRIVER( intlaser )   /* (c) 1987 */
14341440   DRIVER( blasted )   /* (c) 1988 */
14351441   DRIVER( archrivl )   /* (c) 1989 */
14361442   DRIVER( archrivl2 )   /* (c) 1989 */
r8054r8055
27732779   DRIVER( ecofghtru )   /* 15/02/1994 (c) 1993 (US) */
27742780   DRIVER( ecofghtru1 )/* 03/12/1993 (c) 1993 (US) */
27752781   DRIVER( ecofghtra )   /* 03/12/1993 (c) 1993 (Asia) */
2782   DRIVER( ecofghtrh )   /* 03/12/1993 (c) 1993 (Hispanic) */
27762783   DRIVER( uecology )   /* 03/12/1993 (c) 1993 (Japan) */
27772784   DRIVER( ddtod )      /* 12/04/1994 (c) 1993 (Euro) */
27782785   DRIVER( ddtodr1 )   /* 13/01/1994 (c) 1993 (Euro) */
r8054r8055
27842791   DRIVER( ddtoda )   /* 13/01/1994 (c) 1993 (Asia) */
27852792   DRIVER( ddtodh )   /* 12/04/1994 (c) 1993 (Hispanic) */
27862793   DRIVER( ddtodhr1 )   /* 25/01/1994 (c) 1993 (Hispanic) */
2794   DRIVER( ddtodhr2 )   /* 13/01/1994 (c) 1993 (Hispanic) */
27872795   DRIVER( ssf2t )      /* 23/02/1994 (c) 1994 (World) */
27882796   DRIVER( ssf2tu )   /* 23/03/1994 (c) 1994 (US) */
27892797   DRIVER( ssf2tur1 )   /* 23/02/1994 (c) 1994 (US) */
r8054r8055
28152823   DRIVER( armwara )   /* 20/09/1994 (c) 1994 (Asia) */
28162824   DRIVER( xmcota )   /* 05/01/1995 (c) 1994 (Euro) */
28172825   DRIVER( xmcotau )   /* 05/01/1995 (c) 1994 (US) */
2818   DRIVER( xmcotah )   /* 31/03/1995 (c) 1994 (Hispanic) */
2826   DRIVER( xmcotah )   /* 05/01/1995 (c) 1994 (Hispanic) */
2827   DRIVER( xmcotahr1 )   /* 31/03/1995 (c) 1994 (Hispanic) */
28192828   DRIVER( xmcotaj )   /* 05/01/1995 (c) 1994 (Japan) */
28202829   DRIVER( xmcotaj1 )   /* 22/12/1994 (c) 1994 (Japan) */
28212830   DRIVER( xmcotaj2 )   /* 19/12/1994 (c) 1994 (Japan) */
r8054r8055
29472956   DRIVER( sfa3 )      /* 04/09/1998 (c) 1998 (US) */
29482957   DRIVER( sfa3u )      /* 04/09/1998 (c) 1998 (US) */
29492958   DRIVER( sfa3ur1 )   /* 29/06/1998 (c) 1998 (US) */
2959   DRIVER( sfa3h )      /* 29/06/1998 (c) 1998 (Hispanic) */
29502960   DRIVER( sfa3b )      /* 29/06/1998 (c) 1998 (Brazil) */
29512961   DRIVER( sfz3j )      /* 04/09/1998 (c) 1998 (Japan) */
29522962   DRIVER( sfz3jr1 )   /* 27/07/1998 (c) 1998 (Japan) */
r8054r8055
29562966   DRIVER( gigawing )   /* 22/02/1999 (c) 1999 Takumi (US) */
29572967   DRIVER( gigawingj )   /* 23/02/1999 (c) 1999 Takumi (Japan) */
29582968   DRIVER( gigawinga )   /* 22/02/1999 (c) 1999 Takumi (Asia) */
2969   DRIVER( gigawingh )   /* 22/02/1999 (c) 1999 Takumi (Hispanic) */
29592970   DRIVER( gigawingb )   /* 22/02/1999 (c) 1999 Takumi (Brazil) */
29602971   DRIVER( jyangoku )   /* 27/05/1999 (c) 1999 (Japan) */
29612972   DRIVER( dimahoo )   /* 21/01/2000 (c) 2000 Eighting/Raizing (US) */
r8054r8055
30573068   DRIVER( sfex2 )      /* Street Fighter EX 2 (USA 980526) */
30583069   DRIVER( sfex2j )   /* Street Fighter EX 2 (JAPAN 980312) */
30593070   DRIVER( sfex2a )   /* Street Fighter EX 2 (ASIA 980312) */
3071   DRIVER( sfex2h )   /* Street Fighter EX 2 (HISPANIC 980312) */
30603072   DRIVER( plsmaswd )   /* Plasma Sword (USA 980316) */
30613073   DRIVER( stargld2 )   /* Star Gladiator 2 (JAPAN 980316) */
30623074   DRIVER( plsmaswda )   /* Plasma Sword (ASIA 980316) */
r8054r8055
39673979   DRIVER( ddcrew1 )   /* 1991.?? D.D.Crew (World, FD1094, decrypted) */
39683980   DRIVER( wwallyj )   /* 1992.06 Wally wo Sagase! (Japan, FD1094, decrypted) */
39693981   DRIVER( wwallyja )   /* 1992.06 Wally wo Sagase! (Japan, FD1094, decrypted) */
3970                  /* 1992.10 Desert Breaker (Japan) */
39713982   DRIVER( desertbr )   /* 1993.?? Desert Breaker (World, FD1094, decrypted) */
3983   DRIVER( desertbrj )   /* 1992.10 Desert Breaker (Japan) */
39723984   DRIVER( pontoon )
39733985
39743986   /* System18 Bootlegs */
r8054r8055
41484160   DRIVER( vformula )   /* 1993.?? Virtua Formula */
41494161   DRIVER( swa )      /* 1994.04 Star Wars Arcade */
41504162   DRIVER( wingwar )   /* 1994.06 Wing War */
4151   DRIVER( wingwara )   /* 1994.09 Wing War (US) */
4163   DRIVER( wingwarj )   /* 1994.06 Wing War (Japan) */
4164   DRIVER( wingwaru )   /* 1994.09 Wing War (US) */
41524165
41534166   /* Sega H1 games */
41544167   DRIVER( coolridr )   /* 1995.04 Cool Riders */
r8054r8055
66746687   DRIVER( champbasja )/* (c) 1983 Alpha Denshi Co. */
66756688   DRIVER( champbb2 )   /* (c) 1983 Sega */
66766689   DRIVER( champbb2a )   /* (c) 1983 ? */
6690   DRIVER( champbb2j )   /* (c) 1983 ? */
66776691   DRIVER( exctsccr )   /* (c) 1983 Alpha Denshi Co. */
66786692   DRIVER( exctsccra )   /* (c) 1983 Alpha Denshi Co. */
66796693   DRIVER( exctsccrj )   /* (c) 1983 Alpha Denshi Co. */
r8054r8055
70897103   DRIVER( embargo )
70907104   DRIVER( tripool )   /* (c) 1981 Noma (Casino Tech license) */
70917105   DRIVER( tripoola )   /* (c) 1981 Noma (Costal Games license) */
7106   DRIVER( unclepoo )   /* (c) 1983 Diatec */
70927107   DRIVER( joinem )   /* (c) 1986 Global */
70937108   DRIVER( loverboy )   /* (c) 1983 Global */
70947109   DRIVER( striv )      /* (c) 1985 Hara Industries */
r8054r8055
83868401   DRIVER( drgw3 )         /* (c) 1998 */
83878402   DRIVER( drgw3105 )      /* (c) 1998 */
83888403   DRIVER( drgw3100 )      /* (c) 1998 */
8404   DRIVER( dwex )         /* (c) 1998 */
8405   DRIVER( killbld )      /* (c) 1998 */
8406   DRIVER( killbld104 )   /* (c) 1998 */
83898407   DRIVER( kov )         /* (c) 1999 */
83908408   DRIVER( kovplus )      /* (c) 1999 */
83918409   DRIVER( kovplusa )      /* (c) 1999 */
r8054r8055
83958413   DRIVER( kovsh103 )      /* (c) 1999 */
83968414   DRIVER( photoy2k )      /* (c) 1999 */
83978415   DRIVER( photoy2k102 )   /* (c) 1999 */
8398   DRIVER( killbld )      /* (c) 1998 */
8399   DRIVER( killbld104 )   /* (c) 1998 */
8416   DRIVER( photoy2k104 )   /* (c) 1999 */
84008417   DRIVER( puzlstar )      /* (c) 1999 */
84018418   DRIVER( olds )         /* (c) 1999 */
84028419   DRIVER( olds100 )      /* (c) 1999 */
r8054r8055
84168433   DRIVER( martmastc102 )   /* (c) 2001 */
84178434   DRIVER( theglad )      /* (c) 2001 */
84188435   DRIVER( theglada )      /* (c) 2001 */
8436   DRIVER( dw2001 )      /* (c) 2001 */
8437   DRIVER( py2k2 )         /* (c) 2001 */
84198438   DRIVER( dmnfrnt )      /* (c) 2002 */
84208439   DRIVER( dmnfrnta )      /* (c) 2002 */
84218440   DRIVER( kovshp )
r8054r8055
96609679   DRIVER( unkch4 )   /* bootleg */
96619680
96629681   DRIVER( ns8lines )   /* unknown */
9682   DRIVER( ns8linew )   /* unknown */
96639683   DRIVER( ladylinr )   /* (c) 198? TAB Austria */
96649684   DRIVER( kkojnoli )   /* 198? south korean hack */
96659685   DRIVER( wcat3 )
r8054r8055
1015210172   DRIVER( neptunp2 )
1015310173   DRIVER( rgum )
1015410174
10155   /* Diatec */
10156   DRIVER( unclepoo )
10157
1015810175   /* Extrema Systems International Ltd. */
1015910176   DRIVER( poker72 )
1016010177
10178   DRIVER( chkun )
10179
1016110180#endif   /* DRIVER_RECURSIVE */
src/mame/includes/pgm.h
r8054r8055
4141   int           kb_cmd;
4242   int           kb_reg;
4343   int           kb_ptr;
44   int           kb_region_sequence_position;
4445   UINT32        kb_regs[0x10];
4546   UINT16        olds_bs, olds_cmd3;
4647   // pstars
r8054r8055
8081void pgm_kov2p_decrypt(running_machine *machine);
8182void pgm_mm_decrypt(running_machine *machine);
8283void pgm_dw2_decrypt(running_machine *machine);
83void pgm_djlzz_decrypt(running_machine *machine);
84void pgm_photoy2k_decrypt(running_machine *machine);
85void pgm_py2k2_decrypt(running_machine *machine);
8486void pgm_dw3_decrypt(running_machine *machine);
8587void pgm_killbld_decrypt(running_machine *machine);
8688void pgm_pstar_decrypt(running_machine *machine);
r8054r8055
9294void pgm_kovshp_decrypt(running_machine *machine);
9395void pgm_killbldp_decrypt(running_machine *machine);
9496void pgm_svg_decrypt(running_machine *machine);
97void pgm_dw2001_decrypt(running_machine *machine);
9598
96
9799/*----------- defined in machine/pgmprot.c -----------*/
98100
99101READ16_HANDLER( pstars_protram_r );
src/mame/includes/galaxold.h
r8054r8055
110110
111111MACHINE_RESET( galaxold );
112112MACHINE_RESET( devilfsg );
113MACHINE_RESET( hunchbkg );
113114
114115WRITE8_HANDLER( galaxold_coin_lockout_w );
115116WRITE8_HANDLER( galaxold_coin_counter_w );
src/mame/includes/timeplt.h
r8054r8055
125125
126126PALETTE_INIT( timeplt );
127127VIDEO_START( timeplt );
128VIDEO_START( chkun );
128129VIDEO_UPDATE( timeplt );
129130
130131/*----------- defined in video/tutankhm.c -----------*/
src/mame/mame.mak
r8054r8055
905905   $(AUDIO)/wow.o \
906906
907907$(MAMEOBJ)/msx.a: \
908   $(DRIVERS)/big10.o \
908909   $(DRIVERS)/forte2.o \
909910   $(DRIVERS)/pengadvb.o \
910911   $(DRIVERS)/sangho.o \
r8054r8055
14911492   $(DRIVERS)/attckufo.o \
14921493   $(DRIVERS)/aztarac.o $(AUDIO)/aztarac.o $(VIDEO)/aztarac.o \
14931494   $(DRIVERS)/beaminv.o \
1494   $(DRIVERS)/big10.o \
14951495   $(DRIVERS)/bingor.o \
14961496   $(DRIVERS)/blackt96.o \
14971497   $(DRIVERS)/buster.o \
r8054r8055
17351735$(DRIVERS)/goldnpkr.o:   $(LAYOUT)/goldnpkr.lh \
17361736                  $(LAYOUT)/pmpoker.lh \
17371737
1738$(DRIVERS)/goldstar.o:   $(LAYOUT)/lucky8.lh
1739
17381740$(DRIVERS)/grchamp.o:   $(LAYOUT)/grchamp.lh
17391741
17401742$(DRIVERS)/highvdeo.o:   $(LAYOUT)/fashion.lh
src/mame/video/btime.c
r8054r8055
403403
404404      for (offs = 0; offs < 0x100; offs++)
405405      {
406         int x = 240 - (16 * (offs / 16) + scroll);
406         int x = 240 - (16 * (offs / 16) + scroll) - 1;
407407         int y = 16 * (offs % 16);
408408
409409         if (flip_screen_get(machine))
src/mame/video/pgm.c
r8054r8055
1010static void pgm_prepare_sprite( running_machine *machine, int wide, int high, int palt, int boffset )
1111{
1212   pgm_state *state = (pgm_state *)machine->driver_data;
13   UINT8 *bdata = memory_region(machine, "gfx4");
14   size_t  bdatasize = memory_region_length(machine, "gfx4") - 1;
13   UINT8 *bdata = memory_region(machine, "sprmask");
14   size_t  bdatasize = memory_region_length(machine, "sprmask") - 1;
1515   UINT8 *adata = state->sprite_a_region;
1616   size_t  adatasize = state->sprite_a_region_size - 1;
1717   int xcnt, ycnt;
src/mame/video/taitosj.c
r8054r8055
272272{
273273   offs_t offs = which * 4;
274274
275   *sx =       taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 0];
275   *sx =       taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 0] - 1;
276276   *sy = 240 - taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 1];
277277
278278   return (*sy < 240);
src/mame/video/ppu2c0x.c
r8054r8055
914914{
915915   ppu2c0x_state *ppu2c0x = get_token(space->cpu);
916916   int color_base = ppu2c0x->color_base;
917   int color_emphasis = (ppu2c0x->regs[PPU_CONTROL1] & PPU_CONTROL1_COLOR_EMPHASIS) * 2;
917918
918   int color_emphasis = (ppu2c0x->regs[PPU_CONTROL1] & PPU_CONTROL1_COLOR_EMPHASIS) * 2;
919   // it's a palette
919   // palette RAM is only 6 bits wide
920   data &= 0x3f;
921
920922   // transparent pens are mirrored!
921923   if (offset & 0x3)
922924   {
r8054r8055
948950         return (ppu2c0x->palette_ram[offset & 0x1f] & 0x30);
949951
950952      else
951         return (ppu2c0x->palette_ram[offset & 0x1f] & 0x3f);
953         return (ppu2c0x->palette_ram[offset & 0x1f]);
952954   }
953955}
954956
src/mame/video/timeplt.c
r8054r8055
101101   SET_TILE_INFO(0, code, color, flags);
102102}
103103
104static TILE_GET_INFO( get_chkun_tile_info )
105{
106   timeplt_state *state = (timeplt_state *)machine->driver_data;
107   int attr = state->colorram[tile_index];
108   int code = state->videoram[tile_index] + ((attr & 0x60) << 3);
109   int color = attr & 0x1f;
110   int flags = 0;//TILE_FLIPYX(attr >> 6);
104111
112   tileinfo->category = (attr & 0x80) >> 7;
113   SET_TILE_INFO(0, code, color, flags);
114}
105115
116
117
106118/*************************************
107119 *
108120 *  Video startup
r8054r8055
115127   state->bg_tilemap = tilemap_create(machine, get_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
116128}
117129
130VIDEO_START( chkun )
131{
132   timeplt_state *state = (timeplt_state *)machine->driver_data;
133   state->bg_tilemap = tilemap_create(machine, get_chkun_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
134}
118135
119136
137
120138/*************************************
121139 *
122140 *  Memory write handlers
src/mame/layout/lucky8.lay
r0r8055
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <element name="Bet" defstate="0">
4      <rect state="1">
5         <color red="1.0" green="1.0" blue="0.0" />
6      </rect>
7      <rect state="0">
8         <color red="0.3" green="0.3" blue="0.0" />
9      </rect>
10      <text string="BET">
11         <color red="0.0" green="0.0" blue="0.0" />
12         <bounds x="0" y="0.2" width="1" height="0.6" />
13      </text>
14   </element>
15
16   <element name="Start" defstate="0">
17      <rect state="1">
18         <color red="0.0" green="1.0" blue="0.0" />
19      </rect>
20      <rect state="0">
21         <color red="0.0" green="0.3" blue="0.0" />
22      </rect>
23      <text string="START">
24         <color red="0.0" green="0.0" blue="0.0" />
25         <bounds x="0" y="0.2" width="1" height="0.6" />
26      </text>
27   </element>
28
29   <element name="Dup" defstate="0">
30      <rect state="1">
31         <color red="1.0" green="0.0" blue="0.0" />
32      </rect>
33      <rect state="0">
34         <color red="0.3" green="0.0" blue="0.0" />
35      </rect>
36      <text string="DOUBLE">
37         <color red="0.0" green="0.0" blue="0.0" />
38         <bounds x="0" y="0.2" width="1" height="0.6" />
39      </text>
40   </element>
41
42   <element name="Take" defstate="0">
43      <rect state="1">
44         <color red="1.0" green="0.0" blue="0.0" />
45      </rect>
46      <rect state="0">
47         <color red="0.3" green="0.0" blue="0.0" />
48      </rect>
49      <text string="TAKE">
50         <color red="0.0" green="0.0" blue="0.0" />
51         <bounds x="0" y="0.2" width="1" height="0.6" />
52      </text>
53   </element>
54
55   <element name="Big" defstate="0">
56      <rect state="1">
57         <color red="0.0" green="0.0" blue="1.0" />
58      </rect>
59      <rect state="0">
60         <color red="0.0" green="0.0" blue="0.3" />
61      </rect>
62      <text string="BIG">
63         <color red="0.0" green="0.0" blue="0.0" />
64         <bounds x="0" y="0.2" width="1" height="0.6" />
65      </text>
66   </element>
67
68   <element name="Smallinfo" defstate="0">
69      <rect state="1">
70         <color red="0.0" green="0.0" blue="1.0" />
71      </rect>
72      <rect state="0">
73         <color red="0.0" green="0.0" blue="0.3" />
74      </rect>
75      <text string="SMALL">
76         <color red="0.0" green="0.0" blue="0.0" />
77         <bounds x="0" y="0.1" width="1" height="0.4" />
78      </text>
79      <text string="INFO">
80         <color red="0.0" green="0.0" blue="0.0" />
81         <bounds x="0" y="0.5" width="1" height="0.4" />
82      </text>
83   </element>
84
85
86   <view name="Button Lamps">
87      <screen index="0">
88         <bounds left="0" top="0" right="4" bottom="3" />
89      </screen>
90
91      <bezel name="lamp0" element="Dup">
92         <bounds x="1.0" y="3.02" width="0.40" height="0.24" />
93      </bezel>
94      <bezel name="lamp1" element="Take">
95         <bounds x="1.5" y="3.02" width="0.40" height="0.24" />
96      </bezel>
97      <bezel name="lamp2" element="Bet">
98         <bounds x="0" y="3.02" width="0.40" height="0.24" />
99      </bezel>
100      <bezel name="lamp3" element="Smallinfo">
101         <bounds x="2.5" y="3.02" width="0.40" height="0.24" />
102      </bezel>
103      <bezel name="lamp4" element="Start">
104         <bounds x="0.5" y="3.02" width="0.40" height="0.24" />
105      </bezel>
106      <bezel name="button" element="Big">
107         <bounds x="2.0" y="3.02" width="0.40" height="0.24" />
108      </bezel>
109
110   </view>
111</mamelayout>
src/mame/drivers/zn.c
r8054r8055
133133   { "sfex2",    cp10, cp08 }, /* OK ( random crashes on garuda ) */
134134   { "sfex2j",   cp10, cp08 }, /* OK ( random crashes on garuda ) */
135135   { "sfex2a",   cp10, cp08 }, /* OK ( random crashes on garuda ) */
136   { "sfex2h",   cp10, cp08 }, /* OK ( random crashes on garuda ) */
136137   { "techromn", cp10, cp09 }, /* OK */
137138   { "techromnu",cp10, cp09 }, /* OK */
138139   { "kikaioh",  cp10, cp09 }, /* OK */
r8054r8055
32453246   CPZN2_BIOS
32463247
32473248   ROM_REGION32_LE( 0x80000, "user3", 0 )
3248   ROM_LOAD( "ex2u-04a", 0x0000000, 0x080000, CRC(8dc5317f) SHA1(c35224caf70662a0e45a74cbead294a51f9b9e16) )
3249   ROM_LOAD( "ex2u-04a.2h", 0x0000000, 0x080000, CRC(8dc5317f) SHA1(c35224caf70662a0e45a74cbead294a51f9b9e16) )
32493250
32503251   ROM_REGION32_LE( 0x3000000, "user2", 0 )
32513252   ROM_LOAD( "ex2-05m", 0x0000000, 0x800000, CRC(78726b17) SHA1(2da449df335ef133ebc3997bbad73ef4137f4771) )
r8054r8055
32663267   CPZN2_BIOS
32673268
32683269   ROM_REGION32_LE( 0x80000, "user3", 0 )
3269   ROM_LOAD( "ex2j-04", 0x0000000, 0x080000, CRC(5d603586) SHA1(ff546d3bd011d6441e9672b88bab763d3cd89be2) )
3270   ROM_LOAD( "ex2j-04.2h", 0x0000000, 0x080000, CRC(5d603586) SHA1(ff546d3bd011d6441e9672b88bab763d3cd89be2) )
32703271
32713272   ROM_REGION32_LE( 0x3000000, "user2", 0 )
32723273   ROM_LOAD( "ex2-05m", 0x0000000, 0x800000, CRC(78726b17) SHA1(2da449df335ef133ebc3997bbad73ef4137f4771) )
r8054r8055
32873288   CPZN2_BIOS
32883289
32893290   ROM_REGION32_LE( 0x80000, "user3", 0 )
3290   ROM_LOAD( "ex2a-04", 0x0000000, 0x080000, CRC(ac9a872d) SHA1(4e237f5e2e5de58e587e9abc5767509b8d750004) )
3291   ROM_LOAD( "ex2a-04.2h", 0x0000000, 0x080000, CRC(ac9a872d) SHA1(4e237f5e2e5de58e587e9abc5767509b8d750004) )
32913292
32923293   ROM_REGION32_LE( 0x3000000, "user2", 0 )
32933294   ROM_LOAD( "ex2-05m", 0x0000000, 0x800000, CRC(78726b17) SHA1(2da449df335ef133ebc3997bbad73ef4137f4771) )
r8054r8055
33043305   ROM_LOAD16_WORD_SWAP( "ex2-01m", 0x0000000, 0x400000, CRC(14a5bb0e) SHA1(dfe3c3a53bd4c58743d8039b5344d3afbe2a9c24) )
33053306ROM_END
33063307
3308ROM_START( sfex2h )
3309   CPZN2_BIOS
3310
3311   ROM_REGION32_LE( 0x80000, "user3", 0 )
3312   ROM_LOAD( "ex2h-04.2h", 0x0000000, 0x080000, CRC(68f2ef80) SHA1(212bb3c0d935c64f5e3b20e427e06d97404709d8) )
3313
3314   ROM_REGION32_LE( 0x3000000, "user2", 0 )
3315   ROM_LOAD( "ex2-05m", 0x0000000, 0x800000, CRC(78726b17) SHA1(2da449df335ef133ebc3997bbad73ef4137f4771) )
3316   ROM_LOAD( "ex2-06m", 0x0800000, 0x800000, CRC(be1075ed) SHA1(36dc673372f30f8b3ff5689ae568c5cd01fe2c07) )
3317   ROM_LOAD( "ex2-07m", 0x1000000, 0x800000, CRC(6496c6ed) SHA1(054bcecbb04033abea14d9ffe6634b2bd11ca88b) )
3318   ROM_LOAD( "ex2-08m", 0x1800000, 0x800000, CRC(3194132e) SHA1(d1324fcf0a8528fc683791d6342697a7e08674f4) )
3319   ROM_LOAD( "ex2-09m", 0x2000000, 0x400000, CRC(075ae585) SHA1(6b88851db618fc3e96f1d740c46c1bc5be0ee21b) )
3320
3321   ROM_REGION( 0x50000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
3322   ROM_LOAD( "ex2-02",  0x00000, 0x08000, CRC(9489875e) SHA1(1fc9985ff98232c63ea8d05a69f7d77cdf72919f) )
3323   ROM_CONTINUE(        0x10000, 0x18000 )
3324
3325   ROM_REGION( 0x400000, "qsound", 0 ) /* Q Sound Samples */
3326   ROM_LOAD16_WORD_SWAP( "ex2-01m", 0x0000000, 0x400000, CRC(14a5bb0e) SHA1(dfe3c3a53bd4c58743d8039b5344d3afbe2a9c24) )
3327ROM_END
3328
33073329ROM_START( sfex2p )
33083330   CPZN2_BIOS
33093331
r8054r8055
44814503GAME( 1998, sfex2,     cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (USA 980526)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44824504GAME( 1998, sfex2j,    sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (JAPAN 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44834505GAME( 1998, sfex2a,    sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (ASIA 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4506GAME( 1998, sfex2h,    sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (HISPANIC 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44844507GAME( 1998, plsmaswd,  cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Plasma Sword (USA 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44854508GAME( 1998, stargld2,  plsmaswd, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Star Gladiator 2 (JAPAN 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44864509GAME( 1998, plsmaswda, plsmaswd, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Plasma Sword (ASIA 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
src/mame/drivers/vertigo.c
r8054r8055
187187   ROM_REGION( 0x010000, "audiocpu", 0 )
188188   ROM_LOAD( "vga1_7.g7",   0x0e000, 0x2000, CRC(db109b19) SHA1(c3fbb28cb4679c021bc48f844097add39a2208a5) )
189189
190   ROM_REGION( 0x20000, "cvsdcpu", 0 )
190   ROM_REGION( 0x20000, "cvsd", 0 )
191191   ROM_LOAD( "vga1_7.l6",   0x00000, 0x2000, CRC(20cbf97a) SHA1(13e138b08ba3328db6a2fba95a369422455d1c5c) )
192192   ROM_LOAD( "vga1_7.m6",   0x02000, 0x2000, CRC(76197050) SHA1(d26701ba83a34384348fa34e3de78cc69dc5362e) )
193193   ROM_LOAD( "vga1_7.n6",   0x04000, 0x2000, CRC(b93d7cbb) SHA1(1a4d05e03765b66ff20b963c5a0b5f7c3d5a360c) )
194194   ROM_LOAD( "vga1_7.p6",   0x06000, 0x2000, CRC(b5bdb067) SHA1(924d76ff09dc173b582f84d1bb7ecd0a60cc1ab4) )
195   ROM_LOAD( "vga1_7.rs6",    0x08000, 0x2000, CRC(772f13a8) SHA1(87a6247ba58c006d1a062a7ac338c34e85d5cd01) )
196   ROM_LOAD( "vga1_7.st6",    0x0a000, 0x2000, CRC(a86f2178) SHA1(203fe71e2d42db4fb968c4e529eec7de0788aec1) )
197   ROM_LOAD( "vga1_7.tu6",    0x0c000, 0x2000, CRC(c1ab1d39) SHA1(ada43570ecf4ae76030dab4a916c53536e41606d) )
198   ROM_LOAD( "vga1_7.uv6",    0x0e000, 0x2000, CRC(95a05700) SHA1(e9f16408ac9a0ed28af74bfd8419a58e7b0f599a) )
195   ROM_LOAD( "vga1_7.rs6", 0x08000, 0x2000, CRC(772f13a8) SHA1(87a6247ba58c006d1a062a7ac338c34e85d5cd01) )
196   ROM_LOAD( "vga1_7.st6", 0x0a000, 0x2000, CRC(a86f2178) SHA1(203fe71e2d42db4fb968c4e529eec7de0788aec1) )
197   ROM_LOAD( "vga1_7.tu6", 0x0c000, 0x2000, CRC(c1ab1d39) SHA1(ada43570ecf4ae76030dab4a916c53536e41606d) )
198   ROM_LOAD( "vga1_7.uv6", 0x0e000, 0x2000, CRC(95a05700) SHA1(e9f16408ac9a0ed28af74bfd8419a58e7b0f599a) )
199199   ROM_LOAD( "vga1_7.l7",   0x10000, 0x2000, CRC(183ba71d) SHA1(03b4dc21094d5911b6f964e060cbe4450ecb71e6) )
200200   ROM_LOAD( "vga1_7.m7",   0x12000, 0x2000, CRC(4866b4b7) SHA1(fa28d602b1e0a47528b710602bb32d5cc52c8db8) )
201201
src/mame/drivers/maxaflex.c
r8054r8055
5353static WRITE8_HANDLER( mcu_portA_w )
5454{
5555   portA_out = data;
56   speaker_level_w(0, data >> 7);
56   speaker_level_w(devtag_get_device(space->machine, "speaker"), data >> 7);
5757}
5858
5959/* Port B:
src/mame/drivers/forte2.c
r8054r8055
4040   AM_RANGE(0xa0, 0xa1) AM_DEVWRITE("aysnd", ay8910_address_data_w)
4141   AM_RANGE(0xa2, 0xa2) AM_DEVREAD("aysnd", ay8910_r)
4242
43//Ports a8-ab are originally for communicating with the i8255 PPI on MSX.
44//( http://map.tni.nl/resources/msx_io_ports.php#ppi )
45//Since this arcade board doesn't have one, those ports should be
46//unmapped, so setting a8 to RAM is wrong. The ROM hasn't been hacked
47//cleanly by removing all references to the PPI. PCB pics showing eg. lack
43/* Ports a8-ab are originally for communicating with the i8255 PPI on MSX.
44Since this arcade board doesn't have one, those ports should be unmapped. */
4845//  AM_RANGE(0xa8, 0xa8) AM_RAM
4946//  AM_RANGE(0xa9, 0xab) AM_NOP
5047ADDRESS_MAP_END
r8054r8055
171168   ROM_LOAD( "epr2764.15", 0x00000, 0x10000, CRC(1ae2f724) SHA1(12880dd7ad82acf04861843fb9d4f0f926d18f6b) )
172169ROM_END
173170
174GAME( 1989, pesadelo, 0,      pesadelo, pesadelo, pesadelo, ROT0, "bootleg", "Pesadelo (Brazilian bootleg of Konami's Knightmare on MSX)", GAME_SUPPORTS_SAVE )
171GAME( 1989, pesadelo, 0, pesadelo, pesadelo, pesadelo, ROT0, "bootleg / Konami", "Pesadelo (bootleg of Knightmare on MSX)", GAME_SUPPORTS_SAVE )
src/mame/drivers/namcops2.c
r8054r8055
122122        ROM_LOAD( "kn1vera_spr.ic002", 0x800000, 0x040000, CRC(a601f981) SHA1(39485ab3c10f3d58a2c9651cca82a73617b2fe52) )
123123
124124   DISK_REGION("dvd")
125   DISK_IMAGE_READONLY( "kn1vera", 0, SHA1(2f0f9ebe74cdafe3713890221532b4d1dc18c74f) )
125126ROM_END
126127
127128ROM_START( netchu02 )
r8054r8055
145146        ROM_LOAD( "sc23vera_spr.ic002", 0x800000, 0x040000, CRC(8f548cbc) SHA1(81b844dc5873bb397cd4cd5aca101d7486d60385) )
146147
147148   DISK_REGION("dvd")
149   DISK_IMAGE_READONLY( "sc210d", 0, SHA1(9a7b1ea836adc9d78481928a3067530e0f8d74a6) )
148150ROM_END
149151
150152ROM_START( soulcl2a )
r8054r8055
192194        ROM_LOAD( "tk91001-na-a_spr.ic002", 0x800000, 0x040000, CRC(99ece8c0) SHA1(871b1c76ccc0311da04b81c59240e65117cbc9f4) )
193195
194196   DISK_REGION("dvd")
197   DISK_IMAGE_READONLY( "tk91naa", 0, SHA1(6bd40b2c19f30a81689601c3dd46b6dac6d0a2f1) )
195198ROM_END
196199
200ROM_START( taiko10 )
201   ROM_REGION(0x200000, "bios", 0)
202   SYSTEM256_BIOS
203
204   ROM_REGION(0x840000, "key", ROMREGION_ERASE00)
205        ROM_LOAD( "t101001-na-a.ic002", 0x000000, 0x800000, CRC(fa7f4c4d) SHA1(4f6b24243f2c2fdffadc7acaa3a6fb668e497606) )
206        ROM_LOAD( "t101001-na-a_spr.ic002", 0x800000, 0x040000, CRC(0a2926c4) SHA1(fb3d23545b5f9a649c4a14b6424c606139723bd5) )
207
208   DISK_REGION("dvd")
209   DISK_IMAGE_READONLY( "tk10naa", 0, SHA1(9aef4a6b64295a6684d56334904b4c92a20abe15) )
210ROM_END
211
197212ROM_START( tekken4 )
198213   ROM_REGION(0x200000, "bios", 0)
199214   SYSTEM246_BIOS
r8054r8055
203218        ROM_LOAD( "tef3verc_spr.ic002", 0x800000, 0x040000, CRC(af248bf7) SHA1(b99193fcdad683c0bbd684f37dfea5c5412b398e) )
204219
205220   DISK_REGION("dvd")
221   DISK_IMAGE_READONLY( "tef1dvd0", 0, SHA1(f39aa37156245f622a6e19e8a0e081418e247b36) )
206222ROM_END
207223
208224ROM_START( tekken4a )
r8054r8055
214230        ROM_LOAD( "tef2vera_spr.ic002", 0x800000, 0x040000, CRC(a95fd114) SHA1(669229d47d49a511ab77a6f9b8c8541c00d478cf) )
215231
216232   DISK_REGION("dvd")
233   DISK_IMAGE_READONLY( "tef1dvd0", 0, SHA1(f39aa37156245f622a6e19e8a0e081418e247b36) )
217234ROM_END
218235
219236ROM_START( tekken4b )
r8054r8055
249266        ROM_LOAD( "zga1vera_spr.ic002", 0x800000, 0x040000, CRC(8e4c715b) SHA1(a2218051f54d5ce4cdd21ef021b9acf7a384b766) )
250267
251268   DISK_REGION("dvd")
269   DISK_IMAGE_READONLY( "zga1vera", 0, SHA1(7930e5a65f6079851438669dfb1f0e5f9e11329a) )
252270ROM_END
253271
254272ROM_START( timecrs3 )
r8054r8055
272290        ROM_LOAD( "zdx1vera_spr.ic002", 0x800000, 0x040000, CRC(16446b28) SHA1(65bdcf216917beec7a36ff640e16aa5cf413c5e4) )
273291
274292   DISK_REGION("dvd")
293   DISK_IMAGE_READONLY( "zdx1vera", 0, SHA1(fa21626f771106e2441c4515a0e5dff478187ccd) )
275294ROM_END
276295
277296GAME(2001, sys246,          0, system246, system246, 0, ROT0, "Namco", "System 246 BIOS", GAME_NO_SOUND|GAME_NOT_WORKING|GAME_IS_BIOS_ROOT)
r8054r8055
293312GAME(2005, tekken51,   sys256, system256, system246, 0, ROT0, "Namco", "Tekken 5.1 (TE51 Ver. B)", GAME_NO_SOUND|GAME_NOT_WORKING)
294313GAME(2006, kinniku,    sys256, system256, system246, 0, ROT0, "Namco", "Kinnikuman Muscle Grand Prix (KN1 Ver. A)", GAME_NO_SOUND|GAME_NOT_WORKING)
295314GAME(2006, taiko9,     sys256, system256, system246, 0, ROT0, "Namco", "Taiko No Tatsujin 9 (TK91001-NA-A)", GAME_NO_SOUND|GAME_NOT_WORKING)
315GAME(2007, taiko10,    sys256, system256, system246, 0, ROT0, "Namco", "Taiko No Tatsujin 10 (T101001-NA-A)", GAME_NO_SOUND|GAME_NOT_WORKING)
296316
src/mame/drivers/suna8.c
r8054r8055
161688  Hard Head       KRB-14   60138-0083  S562008      Encryption + Protection
171788  Rough Ranger    K030087  ?           S562008
181889  Spark Man       KRB-16   60136-081   T568009      Not Working (Protection)
1990  Star Fighter    ?        ?           ?            Not Working
1990  Star Fighter    KRB-17   60484-0082  T568009      Not Working
202091  Hard Head 2     ?        ?           T568009      Encryption + Protection
212192  Brick Zone      ?        ?           Yes          Not Working
2222---------------------------------------------------------------------------
src/mame/drivers/btime.c
r8054r8055
15931593   MDRV_MACHINE_RESET(mmonkey)
15941594MACHINE_DRIVER_END
15951595
1596static MACHINE_DRIVER_START( sdtennis )
15961597
1597static MACHINE_DRIVER_START( bnj )
1598
15991598   /* basic machine hardware */
16001599   MDRV_IMPORT_FROM(btime)
16011600   MDRV_CPU_REPLACE("maincpu", M6502, HCLK4)
r8054r8055
16101609MACHINE_DRIVER_END
16111610
16121611
1612static MACHINE_DRIVER_START( bnj )
1613
1614   /* basic machine hardware */
1615   MDRV_IMPORT_FROM(sdtennis)
1616
1617   /* video hardware */
1618   MDRV_DEVICE_MODIFY("screen")
1619   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1) // 256 * 240, confirmed
1620MACHINE_DRIVER_END
1621
1622
16131623static MACHINE_DRIVER_START( zoar )
16141624
16151625   /* basic machine hardware */
r8054r8055
16181628   MDRV_CPU_PROGRAM_MAP(zoar_map)
16191629
16201630   /* video hardware */
1631   MDRV_DEVICE_MODIFY("screen")
1632   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1) // 256 * 240, confirmed
1633
16211634   MDRV_GFXDECODE(zoar)
16221635   MDRV_PALETTE_LENGTH(64)
16231636
r8054r8055
22152228GAME( 1982, zoar,     0,       zoar,     zoar,     zoar,     ROT270, "Data East USA", "Zoar", GAME_SUPPORTS_SAVE )
22162229GAME( 1982, disco,    0,       disco,    disco,    disco,    ROT270, "Data East", "Disco No.1", GAME_SUPPORTS_SAVE )
22172230GAME( 1982, discof,   disco,   disco,    disco,    disco,    ROT270, "Data East", "Disco No.1 (Rev.F)", GAME_SUPPORTS_SAVE )
2218GAME( 1983, sdtennis, 0,       bnj,      sdtennis, sdtennis, ROT270, "Data East Corporation", "Super Doubles Tennis", GAME_SUPPORTS_SAVE )
2231GAME( 1983, sdtennis, 0,       sdtennis, sdtennis, sdtennis, ROT270, "Data East Corporation", "Super Doubles Tennis", GAME_SUPPORTS_SAVE )
src/mame/drivers/snk.c
r8054r8055
39843984   MDRV_CPU_MODIFY("sub")
39853985   MDRV_CPU_PROGRAM_MAP(gwar_cpuB_map)
39863986
3987   /* video hardware */
3988   MDRV_SCREEN_MODIFY("screen")
3989   // this visible area matches pcb screenshots
3990   MDRV_SCREEN_SIZE(49*8, 28*8)
3991   MDRV_SCREEN_VISIBLE_AREA(1*8, 48*8-1, 0*8, 28*8-1)
39923987MACHINE_DRIVER_END
39933988
39943989
src/mame/drivers/cps2.c
r8054r8055
24372437   ROM_LOAD16_WORD_SWAP( "dad.12m",   0x200000, 0x200000, CRC(2f0b5a4e) SHA1(8d1ebbb811aa469b0f0d29d719d2b9af28fb63a2) )
24382438ROM_END
24392439
2440ROM_START( ddtodhr2 )
2441   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
2442   ROM_LOAD16_WORD_SWAP( "dadh.03a", 0x000000, 0x80000, CRC(43d04aa3) SHA1(550fcc8ebf48d704223347abee759d0ed903432b) )
2443   ROM_LOAD16_WORD_SWAP( "dadh.04a", 0x080000, 0x80000, CRC(8b8d296c) SHA1(4cd6612855317ba13dd4c6b0dd024243677b5fbe) )
2444   ROM_LOAD16_WORD_SWAP( "dadh.05a", 0x100000, 0x80000, CRC(daae6b14) SHA1(ee132b19f8d8c17da6fd2d2da24205f2404a62d1) )
2445   ROM_LOAD16_WORD_SWAP( "dad.06",   0x180000, 0x80000, CRC(13aa3e56) SHA1(ccd3cda528d625bbf4dc0e8c5ad629af6080d705) )
2446   ROM_LOAD16_WORD_SWAP( "dad.07",   0x200000, 0x80000, CRC(431cb6dd) SHA1(ad3342e2fb8f0b3d7f57e845d5b80a871923324d) )
2447
2448   ROM_REGION( 0xc00000, "gfx", 0 )
2449   ROMX_LOAD( "dad.13m",   0x000000, 0x200000, CRC(da3cb7d6) SHA1(d59bb53d5f32889eb6eb7f8b1c8781948c97283d) , ROM_GROUPWORD | ROM_SKIP(6) )
2450   ROMX_LOAD( "dad.15m",   0x000002, 0x200000, CRC(92b63172) SHA1(9bed7dbbb17729f2ad3d318396f5335c0bd39937) , ROM_GROUPWORD | ROM_SKIP(6) )
2451   ROMX_LOAD( "dad.17m",   0x000004, 0x200000, CRC(b98757f5) SHA1(3eead22e097906bf0e1e151cd0a9c75abc5a32d4) , ROM_GROUPWORD | ROM_SKIP(6) )
2452   ROMX_LOAD( "dad.19m",   0x000006, 0x200000, CRC(8121ce46) SHA1(40c4dc969318d38f0c6d5401c9c64371f51aa12c) , ROM_GROUPWORD | ROM_SKIP(6) )
2453   ROMX_LOAD( "dad.14m",   0x800000, 0x100000, CRC(837e6f3f) SHA1(c060183474fba0e82d765b9f282b84838550dff6) , ROM_GROUPWORD | ROM_SKIP(6) )
2454   ROMX_LOAD( "dad.16m",   0x800002, 0x100000, CRC(f0916bdb) SHA1(9354d258dd26cbbf12c78ecfc277c357cbdb360e) , ROM_GROUPWORD | ROM_SKIP(6) )
2455   ROMX_LOAD( "dad.18m",   0x800004, 0x100000, CRC(cef393ef) SHA1(830b33c86cc24776d17ad65fa89a3b16c40446a1) , ROM_GROUPWORD | ROM_SKIP(6) )
2456   ROMX_LOAD( "dad.20m",   0x800006, 0x100000, CRC(8953fe9e) SHA1(f4795beb006335d13e3934aa9760e775eb0bb950) , ROM_GROUPWORD | ROM_SKIP(6) )
2457
2458   ROM_REGION( QSOUND_SIZE, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
2459   ROM_LOAD( "dad.01",   0x00000, 0x08000, CRC(3f5e2424) SHA1(4aa744576bc6752c43a90a27a816ebd90076b248) )
2460   ROM_CONTINUE(         0x10000, 0x18000 )
2461
2462   ROM_REGION( 0x400000, "qsound", 0 ) /* QSound samples */
2463   ROM_LOAD16_WORD_SWAP( "dad.11m",   0x000000, 0x200000, CRC(0c499b67) SHA1(a8ebd8a1cd6dece8344b7cb0439d85843fb97616) )
2464   ROM_LOAD16_WORD_SWAP( "dad.12m",   0x200000, 0x200000, CRC(2f0b5a4e) SHA1(8d1ebbb811aa469b0f0d29d719d2b9af28fb63a2) )
2465ROM_END
2466
24402467ROM_START( ddsom )
24412468   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
24422469   ROM_LOAD16_WORD_SWAP( "dd2e.03e", 0x000000, 0x80000, CRC(449361af) SHA1(14af2b35e6f43f92c9e071f1dc85b18cf73ecb35) )
r8054r8055
32253252   ROM_LOAD16_WORD_SWAP( "uec.12m",   0x200000, 0x200000, CRC(27729e52) SHA1(a55c8159adf766dda70cb047f5ac85ce6bc0a3f3) )
32263253ROM_END
32273254
3255ROM_START( ecofghtrh )
3256   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
3257   ROM_LOAD16_WORD_SWAP( "uech.03", 0x000000, 0x80000, CRC(14c9365e) SHA1(caba5e617a2c9516c6f24a327451edcff39b1bfd) )
3258   ROM_LOAD16_WORD_SWAP( "uech.04", 0x080000, 0x80000, CRC(579495dc) SHA1(4b0f59da30c86d6c433429c46b4f24c7c55d6731) )
3259   ROM_LOAD16_WORD_SWAP( "uech.05", 0x100000, 0x80000, CRC(96807a8e) SHA1(6f12d5fbff17797338f26e2b32e9f27d8288262e) )
3260   ROM_LOAD16_WORD_SWAP( "uech.06", 0x180000, 0x80000, CRC(682b9dbc) SHA1(80d86283ce850f1e9ac868a7e77819d2876df982) )
3261
3262   ROM_REGION( 0xc00000, "gfx", 0 )
3263   ROMX_LOAD( "uec.13m",   0x000000, 0x200000, CRC(dcaf1436) SHA1(ba124cc0bb10c1d1c07592a3623add4ed054182e) , ROM_GROUPWORD | ROM_SKIP(6) )
3264   ROMX_LOAD( "uec.15m",   0x000002, 0x200000, CRC(2807df41) SHA1(66a9800af435055737ce50a0b0ced7c5718c2004) , ROM_GROUPWORD | ROM_SKIP(6) )
3265   ROMX_LOAD( "uec.17m",   0x000004, 0x200000, CRC(8a708d02) SHA1(95ec527edc904a66e325667521b4d07d72579211) , ROM_GROUPWORD | ROM_SKIP(6) )
3266   ROMX_LOAD( "uec.19m",   0x000006, 0x200000, CRC(de7be0ef) SHA1(bf8df9a31f8923f4b726ea12fe8327368463ebe1) , ROM_GROUPWORD | ROM_SKIP(6) )
3267   ROMX_LOAD( "uec.14m",   0x800000, 0x100000, CRC(1a003558) SHA1(64bbd89e65dc0cf6f4ab5ea93a4cc6312d0d0802) , ROM_GROUPWORD | ROM_SKIP(6) )
3268   ROMX_LOAD( "uec.16m",   0x800002, 0x100000, CRC(4ff8a6f9) SHA1(03968a301417e8843d42d4e0db42aa0a3a38664b) , ROM_GROUPWORD | ROM_SKIP(6) )
3269   ROMX_LOAD( "uec.18m",   0x800004, 0x100000, CRC(b167ae12) SHA1(48c552d02caad27d680aa51170560794f2a51478) , ROM_GROUPWORD | ROM_SKIP(6) )
3270   ROMX_LOAD( "uec.20m",   0x800006, 0x100000, CRC(1064bdc2) SHA1(c51f75ac8d3f02a771feda0a933314a928555c4e) , ROM_GROUPWORD | ROM_SKIP(6) )
3271
3272   ROM_REGION( QSOUND_SIZE, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
3273   ROM_LOAD( "uec.01",   0x00000, 0x08000, CRC(c235bd15) SHA1(feb7cd7db9dc0b9887b33eed9796bb0205fb719d) )
3274   ROM_CONTINUE(         0x10000, 0x18000 )
3275
3276   ROM_REGION( 0x400000, "qsound", 0 ) /* QSound samples */
3277   ROM_LOAD16_WORD_SWAP( "uec.11m",   0x000000, 0x200000, CRC(81b25d39) SHA1(448adfcc7d98873a48c710d857225cdd1580e5c9) )
3278   ROM_LOAD16_WORD_SWAP( "uec.12m",   0x200000, 0x200000, CRC(27729e52) SHA1(a55c8159adf766dda70cb047f5ac85ce6bc0a3f3) )
3279ROM_END
3280
32283281ROM_START( gigawing )
32293282   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
32303283   ROM_LOAD16_WORD_SWAP( "ggwu.03", 0x000000, 0x80000, CRC(ac725eb2) SHA1(a4be9fe537cdb47b37478c8397f6effe8a536233) )
r8054r8055
32883341   ROM_LOAD16_WORD_SWAP( "ggw.12m",   0x400000, 0x400000, CRC(4bee4e8f) SHA1(c440b5a38359ec3b8002f39690b79bf78703f5d0) )
32893342ROM_END
32903343
3344ROM_START( gigawingh )
3345   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
3346   ROM_LOAD16_WORD_SWAP( "ggwh.03a", 0x000000, 0x80000, CRC(b9ee36eb) SHA1(7b977dcd27c1ed8f9d2ebaccf2497abeafcc6081) )
3347   ROM_LOAD16_WORD_SWAP( "ggwh.04a", 0x080000, 0x80000, CRC(72e548fe) SHA1(67d4870d6f7df4b947f1ac6f6605a2344bfc04c1) )
3348   ROM_LOAD16_WORD_SWAP( "ggw.05",   0x100000, 0x80000, CRC(3239d642) SHA1(2fe3984c46a72aedb30a28e3db5af2612bdf0045) )
3349
3350   ROM_REGION( 0x1000000, "gfx", 0 )
3351   ROMX_LOAD( "ggw.13m",   0x000000, 0x400000, CRC(105530a4) SHA1(3be06c032985ea6bd3805d73a407bf748385087b) , ROM_GROUPWORD | ROM_SKIP(6) )
3352   ROMX_LOAD( "ggw.15m",   0x000002, 0x400000, CRC(9e774ab9) SHA1(adea1e844f3d9ccd5ad116ff8277f16a96e68d76) , ROM_GROUPWORD | ROM_SKIP(6) )
3353   ROMX_LOAD( "ggw.17m",   0x000004, 0x400000, CRC(466e0ba4) SHA1(9563455b95d36fafe508290659088b153539cfdf) , ROM_GROUPWORD | ROM_SKIP(6) )
3354   ROMX_LOAD( "ggw.19m",   0x000006, 0x400000, CRC(840c8dea) SHA1(ea04afce17f00b45d3d2cd5140d0dd7ab4bccc00) , ROM_GROUPWORD | ROM_SKIP(6) )
3355
3356   ROM_REGION(QSOUND_SIZE, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
3357   ROM_LOAD( "ggw.01",   0x00000, 0x08000, CRC(4c6351d5) SHA1(cef81fb7c4b8cb2ef1f8f3c27982aefbcbe38160) )
3358   ROM_CONTINUE(         0x10000, 0x18000 )
3359
3360   ROM_REGION( 0x800000, "qsound", 0 ) /* QSound samples */
3361   ROM_LOAD16_WORD_SWAP( "ggw.11m",   0x000000, 0x400000, CRC(e172acf5) SHA1(d7b0963d66165f3607d887741c5e7ab952bcf2ff) )
3362   ROM_LOAD16_WORD_SWAP( "ggw.12m",   0x400000, 0x400000, CRC(4bee4e8f) SHA1(c440b5a38359ec3b8002f39690b79bf78703f5d0) )
3363ROM_END
3364
32913365ROM_START( gigawingb )
32923366   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
32933367   ROM_LOAD16_WORD_SWAP( "ggwb.03", 0x000000, 0x80000, CRC(a1f8a448) SHA1(a88ed9fea9ec08fda59a1ca9622dfb9f8afdda78) )
r8054r8055
59866060   ROM_LOAD16_WORD_SWAP( "sz3.12m",   0x400000, 0x400000, CRC(f392b13a) SHA1(fa04ce0370144a49bd1d5acd873eef87b0dc9d15) )
59876061ROM_END
59886062
6063ROM_START( sfa3h )
6064   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
6065   ROM_LOAD16_WORD_SWAP( "sz3h.03", 0x000000, 0x80000, CRC(4b16cb3e) SHA1(2e1f45c9076ce231a545146d475f410397f20e27) )
6066   ROM_LOAD16_WORD_SWAP( "sz3h.04", 0x080000, 0x80000, CRC(88ad2e6a) SHA1(2a1de667ebeffd247ab9ee11687813b3397fc8de) )
6067   ROM_LOAD16_WORD_SWAP( "sz3.05",  0x100000, 0x80000, CRC(9b21518a) SHA1(5a928307cb90a98a62e7598cb101fb66d62b85f9) )
6068   ROM_LOAD16_WORD_SWAP( "sz3.06",  0x180000, 0x80000, CRC(e7a6c3a7) SHA1(63441eb19efcbf9149f4b723d3e9191fa972de2a) )
6069   ROM_LOAD16_WORD_SWAP( "sz3.07",  0x200000, 0x80000, CRC(ec4c0cfd) SHA1(1a5148e77bf633c728a8179dacb59c776f981bc4) )
6070   ROM_LOAD16_WORD_SWAP( "sz3.08",  0x280000, 0x80000, CRC(5c7e7240) SHA1(33bdcdd1889f8fa77916373ed33b0854410d0263) )
6071   ROM_LOAD16_WORD_SWAP( "sz3.09",  0x300000, 0x80000, CRC(c5589553) SHA1(cda1fdc2ab2f390a2358defd9923a2796093926d) )
6072   ROM_LOAD16_WORD_SWAP( "sz3.10",  0x380000, 0x80000, CRC(a9717252) SHA1(7ee94ace2a49e4e5d30474e49c0da04a488010fe) )
6073
6074   ROM_REGION( 0x2000000, "gfx", 0 )
6075   ROMX_LOAD( "sz3.13m",   0x0000000, 0x400000, CRC(0f7a60d9) SHA1(c69e0ee22537312909dacc86d2e4be319d54e426) , ROM_GROUPWORD | ROM_SKIP(6) )
6076   ROMX_LOAD( "sz3.15m",   0x0000002, 0x400000, CRC(8e933741) SHA1(f4ac4bfe830dc7df9fe4f680e4e0c053e7cbd8fe) , ROM_GROUPWORD | ROM_SKIP(6) )
6077   ROMX_LOAD( "sz3.17m",   0x0000004, 0x400000, CRC(d6e98147) SHA1(37f331fbb1284db446faecade6f484f58c0e1b2a) , ROM_GROUPWORD | ROM_SKIP(6) )
6078   ROMX_LOAD( "sz3.19m",   0x0000006, 0x400000, CRC(f31a728a) SHA1(f14136564648f006c1b74afda78349f260524b5f) , ROM_GROUPWORD | ROM_SKIP(6) )
6079   ROMX_LOAD( "sz3.14m",   0x1000000, 0x400000, CRC(5ff98297) SHA1(9e0ce43380b776c7a03872bafd4856f6fa60bda7) , ROM_GROUPWORD | ROM_SKIP(6) )
6080   ROMX_LOAD( "sz3.16m",   0x1000002, 0x400000, CRC(52b5bdee) SHA1(7918204dc457f7a146d8fb8cf7242dfed3109fd8) , ROM_GROUPWORD | ROM_SKIP(6) )
6081   ROMX_LOAD( "sz3.18m",   0x1000004, 0x400000, CRC(40631ed5) SHA1(c18c56822b90a71ca5fbdf3440eb2671011f3d8f) , ROM_GROUPWORD | ROM_SKIP(6) )
6082   ROMX_LOAD( "sz3.20m",   0x1000006, 0x400000, CRC(763409b4) SHA1(af60a5116c1ca9050366a35ea29128921867f3cc) , ROM_GROUPWORD | ROM_SKIP(6) )
6083
6084   ROM_REGION( QSOUND_SIZE, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
6085   ROM_LOAD( "sz3.01",   0x00000, 0x08000, CRC(de810084) SHA1(fd0b969b732921ed8b40c16fbfa30ee09c7a7cbd) )
6086   ROM_CONTINUE(         0x10000, 0x18000 )
6087   ROM_LOAD( "sz3.02",   0x28000, 0x20000, CRC(72445dc4) SHA1(14fca7596ac45ba655016eef5b6120f9f9671c23) )
6088
6089   ROM_REGION( 0x800000, "qsound", 0 ) /* QSound samples */
6090   ROM_LOAD16_WORD_SWAP( "sz3.11m",   0x000000, 0x400000, CRC(1c89eed1) SHA1(649a0b0a3eb72e2e69e9fb1ac51a58b70daa39f3) )
6091   ROM_LOAD16_WORD_SWAP( "sz3.12m",   0x400000, 0x400000, CRC(f392b13a) SHA1(fa04ce0370144a49bd1d5acd873eef87b0dc9d15) )
6092ROM_END
6093
59896094ROM_START( sfa3b )
59906095   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
59916096   ROM_LOAD16_WORD_SWAP( "sz3b.03", 0x000000, 0x80000, CRC(046c9b4d) SHA1(aa2b19f2d4a9bab6e273635b43da7538025f9d77) )
r8054r8055
70627167
70637168ROM_START( xmcotah )
70647169   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
7170   ROM_LOAD16_WORD_SWAP( "xmnh.03d", 0x000000, 0x80000, CRC(63b0a84f) SHA1(4a0d604ff11e68313a0711702803390cb0d2f234) )
7171   ROM_LOAD16_WORD_SWAP( "xmnh.04d", 0x080000, 0x80000, CRC(b1b9b727) SHA1(b04ae3b7aab88cbb1a55068343ff9a9806d331a4) )
7172   ROM_LOAD16_WORD_SWAP( "xmn.05a",  0x100000, 0x80000, CRC(ac0d7759) SHA1(650d4474b13f16af7910a0f721fcda2ddb2414fd) )
7173   ROM_LOAD16_WORD_SWAP( "xmn.06a",  0x180000, 0x80000, CRC(1b86a328) SHA1(2469cd705139ee9f1142e6e379e68d0c9675b37e) )
7174   ROM_LOAD16_WORD_SWAP( "xmn.07a",  0x200000, 0x80000, CRC(2c142a44) SHA1(7624875f9c39b361fc83e52e87e0fd5e96279713) )
7175   ROM_LOAD16_WORD_SWAP( "xmn.08a",  0x280000, 0x80000, CRC(f712d44f) SHA1(0d18d4a4eacad94a66beca6ec509ac7f690c6882) )
7176   ROM_LOAD16_WORD_SWAP( "xmn.09a",  0x300000, 0x80000, CRC(9241cae8) SHA1(bb6980abf25aaf3eb14e230ca6942f3e2ab2c660) )
7177   ROM_LOAD16_WORD_SWAP( "xmn.10a",  0x380000, 0x80000, CRC(53c0eab9) SHA1(e3b1ec1fd517735f7801cfebb257c43185c6d3fb) )
7178
7179   ROM_REGION( 0x2000000, "gfx", 0 )
7180   ROMX_LOAD( "xmn.13m",   0x0000000, 0x400000, CRC(bf4df073) SHA1(4d2740c3a827f0ec2cf75ad99c65e393c6a11c23) , ROM_GROUPWORD | ROM_SKIP(6) )
7181   ROMX_LOAD( "xmn.15m",   0x0000002, 0x400000, CRC(4d7e4cef) SHA1(50b8797b8099a8d76ad063ba1201a13dbb88ae3a) , ROM_GROUPWORD | ROM_SKIP(6) )
7182   ROMX_LOAD( "xmn.17m",   0x0000004, 0x400000, CRC(513eea17) SHA1(a497477ad9ac13180911d8745ef6ee1955c0b877) , ROM_GROUPWORD | ROM_SKIP(6) )
7183   ROMX_LOAD( "xmn.19m",   0x0000006, 0x400000, CRC(d23897fc) SHA1(1e31627999736652252164d32662779a1ac6ca29) , ROM_GROUPWORD | ROM_SKIP(6) )
7184   ROMX_LOAD( "xmn.14m",   0x1000000, 0x400000, CRC(778237b7) SHA1(89a759ec383518ec52f5059d10ec342f2247aa20) , ROM_GROUPWORD | ROM_SKIP(6) )
7185   ROMX_LOAD( "xmn.16m",   0x1000002, 0x400000, CRC(67b36948) SHA1(692fb6e4096b880aa22996d554b160f664bbd907) , ROM_GROUPWORD | ROM_SKIP(6) )
7186   ROMX_LOAD( "xmn.18m",   0x1000004, 0x400000, CRC(015a7c4c) SHA1(cccc95dafd076a1a9fa004710006149c42d058ba) , ROM_GROUPWORD | ROM_SKIP(6) )
7187   ROMX_LOAD( "xmn.20m",   0x1000006, 0x400000, CRC(9dde2758) SHA1(17ba259cad03c7b5d56c0a5eda9ab53521665729) , ROM_GROUPWORD | ROM_SKIP(6) )
7188
7189   ROM_REGION( QSOUND_SIZE, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
7190   ROM_LOAD( "xmn.01a",  0x00000, 0x08000, CRC(40f479ea) SHA1(f29e15f537675305264ae2138a0a537fb9e2008b) )
7191   ROM_CONTINUE(         0x10000, 0x18000 )
7192   ROM_LOAD( "xmn.02a",  0x28000, 0x20000, CRC(39d9b5ad) SHA1(af502debfd36100d4fc971ed25fdf9d7121d6f18) )
7193
7194   ROM_REGION( 0x400000, "qsound", 0 ) /* QSound samples */
7195   ROM_LOAD16_WORD_SWAP( "xmn.11m",   0x000000, 0x200000, CRC(c848a6bc) SHA1(ac8ac564d3c43225822f8bc330eba9f35b24b0a4) )
7196   ROM_LOAD16_WORD_SWAP( "xmn.12m",   0x200000, 0x200000, CRC(729c188f) SHA1(3279774ad8aebbcf0fc779cdfcbe21044dd192ad) )
7197ROM_END
7198
7199ROM_START( xmcotahr1 )
7200   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
70657201   ROM_LOAD16_WORD_SWAP( "xmnh.03", 0x000000, 0x80000, CRC(e4b85a90) SHA1(1eaf94ce42438eea45cd5c813f2859abf258dd3a) )
70667202   ROM_LOAD16_WORD_SWAP( "xmnh.04", 0x080000, 0x80000, CRC(7dfe1406) SHA1(4ddc0a8947d78ce587220f8188c8a8f00c7372c4) )
70677203   ROM_LOAD16_WORD_SWAP( "xmnh.05", 0x100000, 0x80000, CRC(87b0ed0f) SHA1(f4d78fdd9fcf864e909d9a2bb351b49a5f8ec7a0) )
r8054r8055
77097845GAME( 1993, ecofghtru1, ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (USA 931203)", GAME_SUPPORTS_SAVE )
77107846GAME( 1993, uecology,   ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Ultimate Ecology (Japan 931203)", GAME_SUPPORTS_SAVE )
77117847GAME( 1993, ecofghtra,  ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (Asia 931203)", GAME_SUPPORTS_SAVE )
7848GAME( 1993, ecofghtrh,  ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (Hispanic 931203)", GAME_SUPPORTS_SAVE )
77127849GAME( 1993, ddtod,      0,        cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Euro 940412)", GAME_SUPPORTS_SAVE )
77137850GAME( 1993, ddtodr1,    ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Euro 940113)", GAME_SUPPORTS_SAVE )
77147851GAME( 1993, ddtodu,     ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (USA 940125)", GAME_SUPPORTS_SAVE )
r8054r8055
77197856GAME( 1993, ddtoda,     ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Asia 940113)", GAME_SUPPORTS_SAVE )
77207857GAME( 1993, ddtodh,     ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Hispanic 940412)", GAME_SUPPORTS_SAVE )
77217858GAME( 1993, ddtodhr1,   ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Hispanic 940125)", GAME_SUPPORTS_SAVE )
7859GAME( 1993, ddtodhr2,   ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Hispanic 940113)", GAME_SUPPORTS_SAVE )
77227860GAME( 1994, ssf2t,      ssf2,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Super Street Fighter II Turbo (World 940223)", GAME_SUPPORTS_SAVE )
77237861GAME( 1994, ssf2ta,     ssf2,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Super Street Fighter II Turbo (Asia 940223)", GAME_SUPPORTS_SAVE )
77247862GAME( 1994, ssf2tu,     ssf2,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Super Street Fighter II Turbo (USA 940323)", GAME_SUPPORTS_SAVE )
r8054r8055
77497887GAME( 1994, armwara,    armwar,   cps2, cps2_3p3b, cps2,     ROT0,   "Capcom", "Armored Warriors (Asia 940920)", GAME_SUPPORTS_SAVE )
77507888GAME( 1994, xmcota,     0,        cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Euro 950105)", GAME_SUPPORTS_SAVE )
77517889GAME( 1994, xmcotau,    xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (USA 950105)", GAME_SUPPORTS_SAVE )
7752GAME( 1994, xmcotah,    xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Hispanic 950331)", GAME_SUPPORTS_SAVE )
7890GAME( 1994, xmcotah,    xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Hispanic 950105)", GAME_SUPPORTS_SAVE )
7891GAME( 1994, xmcotahr1,  xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Hispanic 950331)", GAME_SUPPORTS_SAVE )
77537892GAME( 1994, xmcotaj,    xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Japan 950105)", GAME_SUPPORTS_SAVE )
77547893GAME( 1994, xmcotaj1,   xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Japan 941222)", GAME_SUPPORTS_SAVE )
77557894GAME( 1994, xmcotaj2,   xmcota,   cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "X-Men: Children of the Atom (Japan 941219)", GAME_SUPPORTS_SAVE )
r8054r8055
78808019GAME( 1998, sfa3,       0,        cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Alpha 3 (Euro 980904)", GAME_SUPPORTS_SAVE )
78818020GAME( 1998, sfa3u,      sfa3,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Alpha 3 (USA 980904)", GAME_SUPPORTS_SAVE )
78828021GAME( 1998, sfa3ur1,    sfa3,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Alpha 3 (USA 980629)", GAME_SUPPORTS_SAVE )
8022GAME( 1998, sfa3h,      sfa3,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Alpha 3 (Hispanic 980629)", GAME_SUPPORTS_SAVE )
78838023GAME( 1998, sfa3b,      sfa3,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Alpha 3 (Brazil 980629)", GAME_SUPPORTS_SAVE )
78848024GAME( 1998, sfz3j,      sfa3,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Zero 3 (Japan 980904)", GAME_SUPPORTS_SAVE )
78858025GAME( 1998, sfz3jr1,    sfa3,     cps2, cps2_2p6b, cps2,     ROT0,   "Capcom", "Street Fighter Zero 3 (Japan 980727)", GAME_SUPPORTS_SAVE )
r8054r8055
78968036GAME( 1999, gigawing,   0,        cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (USA 990222)", GAME_SUPPORTS_SAVE )
78978037GAME( 1999, gigawingj,  gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Japan 990223)", GAME_SUPPORTS_SAVE )
78988038GAME( 1999, gigawinga,  gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Asia 990222)", GAME_SUPPORTS_SAVE )
8039GAME( 1999, gigawingh,  gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Hispanic 990222)", GAME_SUPPORTS_SAVE )
78998040GAME( 1999, gigawingb,  gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Brazil 990222)", GAME_SUPPORTS_SAVE )
79008041GAME( 2000, mmatrix,    0,        cps2, cps2_2p1b, cps2,     ROT0,   "Capcom, supported by Takumi", "Mars Matrix: Hyper Solid Shooting (USA 000412)", GAME_SUPPORTS_SAVE )
79018042GAME( 2000, mmatrixj,   mmatrix,  cps2, cps2_2p1b, cps2,     ROT0,   "Capcom, supported by Takumi", "Mars Matrix: Hyper Solid Shooting (Japan 000412)", GAME_SUPPORTS_SAVE )
src/mame/drivers/pgm.c
r8054r8055
11451145   PORT_INCLUDE ( pgm )
11461146
11471147   PORT_MODIFY("Region")   /* Region - supplied by protection device */
1148   PORT_DIPNAME( 0x00ff, 0x0021, DEF_STR( Region ) )
1148   PORT_DIPNAME( 0x00ff, 0x0021, "Region (not currently working)" ) // different regions supply different protection code sequences, we only have the China one ATM
11491149   PORT_DIPSETTING(      0x0016, "Taiwan" )
11501150   PORT_DIPSETTING(      0x0017, "China" )
11511151   PORT_DIPSETTING(      0x0018, "Hong Kong" )
r8054r8055
13061306static const gfx_layout pgm32_charlayout =
13071307{
13081308   32,32,
1309   RGN_FRAC(1,1),
1309   0, // determined in init
13101310   5,
13111311   { 3,4,5,6,7 },
13121312   { 0  , 8 ,16 ,24 ,32 ,40 ,48 ,56 ,
r8054r8055
13211321};
13221322
13231323static GFXDECODE_START( pgm )
1324   GFXDECODE_ENTRY( "gfx1", 0, pgm8_charlayout,    0x800, 32  ) /* 8x8x4 Tiles */
1325   GFXDECODE_ENTRY( "gfx2", 0, pgm32_charlayout,   0x400, 32  ) /* 32x32x5 Tiles */
1324   GFXDECODE_ENTRY( "tiles", 0, pgm8_charlayout,    0x800, 32  ) /* 8x8x4 Tiles */
1325   // we have to unpack the data before we can decode it as 32x32, hence we don't know how many tiles etc. in advance, see INIT
1326   //GFXDECODE_ENTRY( "gfx2", 0, pgm32_charlayout,   0x400, 32  ) /* 32x32x5 Tiles */
13261327GFXDECODE_END
13271328
13281329/*** Machine Driver **********************************************************/
r8054r8055
14601461   MDRV_CPU_PROGRAM_MAP(kovsh_arm7_map)
14611462MACHINE_DRIVER_END
14621463
1464static MACHINE_DRIVER_START( kov_disabled_arm )
1465   MDRV_IMPORT_FROM(pgm)
1466
1467   MDRV_CPU_MODIFY("maincpu")
1468   MDRV_CPU_PROGRAM_MAP(kovsh_mem)
1469   MDRV_CPU_VBLANK_INT_HACK(drgw_interrupt,2) // needs an extra IRQ, puzzli2 doesn't want this irq!
1470
1471   /* protection CPU */
1472   MDRV_CPU_ADD("prot", ARM7, 20000000)   // 55857E/F/G
1473   MDRV_CPU_PROGRAM_MAP(kovsh_arm7_map)
1474   MDRV_CPU_FLAGS(CPU_DISABLE)
1475MACHINE_DRIVER_END
1476
1477
14631478static MACHINE_DRIVER_START( kov2 )
14641479   MDRV_IMPORT_FROM(pgm)
14651480
r8054r8055
14761491
14771492   MDRV_CPU_MODIFY("maincpu")
14781493   MDRV_CPU_PROGRAM_MAP(svg_68k_mem)
1494   MDRV_CPU_VBLANK_INT_HACK(drgw_interrupt,2) // needs an extra IRQ, puzzli2 doesn't want this irq!
14791495
14801496   /* protection CPU */
14811497   MDRV_CPU_ADD("prot", ARM7, 20000000)   // 55857G
r8054r8055
14991515/*** Rom Loading *************************************************************/
15001516
15011517/* take note of "gfx2" needed for expanding the 32x32x5bpp data and
1502   "gfx4" needed for expanding the Sprite Colour Data */
1518   "sprmask" needed for expanding the Sprite Colour Data */
15031519
15041520#define ROM_LOAD16_WORD_SWAP_BIOS(bios,name,offset,length,hash) \
15051521      ROMX_LOAD(name, offset, length, hash, ROM_GROUPWORD | ROM_REVERSE | ROM_BIOS(bios+1)) /* Note '+1' */
r8054r8055
15101526   ROM_SYSTEM_BIOS( 1, "v1",     "PGM Bios V1" ) \
15111527   ROM_LOAD16_WORD_SWAP_BIOS( 1, "pgm_p01s.u20",    0x00000, 0x020000, CRC(e42b166e) SHA1(2a9df9ec746b14b74fae48b1a438da14973702ea) ) /* Version 1 */ \
15121528
1529#define PGM_AUDIO_BIOS \
1530   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) \
15131531
1532#define PGM_VIDEO_BIOS \
1533   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) \
15141534
15151535/* The Bios - NOT A GAME */
15161536ROM_START( pgm )
15171537   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
15181538   PGM_68K_BIOS
15191539
1520   /* CPU2 = Z80, romless, code uploaded by 68k */
1540   ROM_REGION( 0x200000, "tiles", 0 ) /* 8x8 Text Layer Tiles */
1541   PGM_VIDEO_BIOS
15211542
1522   ROM_REGION( 0x200000, "gfx1", 0 ) /* 8x8 Text Layer Tiles */
1523   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) )
1524
15251543   ROM_REGION( 0x200000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1526   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) )
1544   PGM_AUDIO_BIOS
15271545
1528   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1529
1530   ROM_REGION( 0x1000000, "gfx4", ROMREGION_ERASEFF ) /* Sprite Masks + Colour Indexes */
1546   ROM_REGION( 0x1000000, "sprcol", ROMREGION_ERASEFF ) /* Sprite Colour Data */
1547   ROM_REGION( 0x1000000, "sprmask", ROMREGION_ERASEFF ) /* Sprite Masks + Colour Indexes */
15311548ROM_END
15321549
15331550ROM_START( orlegend )
r8054r8055
15351552   PGM_68K_BIOS
15361553   ROM_LOAD16_WORD_SWAP( "p0103.rom",    0x100000, 0x200000, CRC(d5e93543) SHA1(f081edc26514ca8354c13c7f6f89aba8e4d3e7d2) )
15371554
1538   /* CPU2 = Z80, romless, code uploaded by 68k */
1539
1540   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1541   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1555   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1556   PGM_VIDEO_BIOS
15421557   ROM_LOAD( "t0100.rom",    0x400000, 0x400000, CRC(61425e1e) SHA1(20753b86fc12003cfd763d903f034dbba8010b32) )
15431558
1544   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1545   /* 32x32 Tile Data is put here for easier Decoding */
1546
1547   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1559   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
15481560   ROM_LOAD( "a0100.rom",    0x0000000, 0x400000, CRC(8b3bd88a) SHA1(42db3a60c6ba9d83ebe2008c8047d094027f65a7) )
15491561   ROM_LOAD( "a0101.rom",    0x0400000, 0x400000, CRC(3b9e9644) SHA1(5b95ec1d25c3bc3504c93547f5adb5ce24376405) )
15501562   ROM_LOAD( "a0102.rom",    0x0800000, 0x400000, CRC(069e2c38) SHA1(9bddca8c2f5bd80f4abe4e1f062751736dc151dd) )
r8054r8055
15521564   ROM_LOAD( "a0104.rom",    0x1000000, 0x400000, CRC(5f8abb56) SHA1(6c1ddc0309862a141aa0c0f63b641aec9257aaee) )
15531565   ROM_LOAD( "a0105.rom",    0x1400000, 0x400000, CRC(a17a7147) SHA1(44eeb43c6b0ebb829559a20ae357383fbdeecd82) )
15541566
1555   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1567   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
15561568   ROM_LOAD( "b0100.rom",    0x0000000, 0x400000, CRC(69d2e48c) SHA1(5b5f759007264c07b3b39be8e03a713698e1fc2a) )
15571569   ROM_LOAD( "b0101.rom",    0x0400000, 0x400000, CRC(0d587bf3) SHA1(5347828b0a6e4ddd7a263663d2c2604407e4d49c) )
15581570   ROM_LOAD( "b0102.rom",    0x0800000, 0x400000, CRC(43823c1e) SHA1(e10a1a9a81b51b11044934ff702e35d8d7ab1b08) )
15591571
15601572   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1561   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1573   PGM_AUDIO_BIOS
15621574   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
15631575ROM_END
15641576
r8054r8055
15671579   PGM_68K_BIOS
15681580   ROM_LOAD16_WORD_SWAP( "p0102.rom",    0x100000, 0x200000, CRC(4d0f6cc5) SHA1(8d41f0a712fb11a1da865f5159e5e27447b4388a) )
15691581
1570   /* CPU2 = Z80, romless, code uploaded by 68k */
1571
1572   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1573   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1582   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1583   PGM_VIDEO_BIOS
15741584   ROM_LOAD( "t0100.rom",    0x400000, 0x400000, CRC(61425e1e) SHA1(20753b86fc12003cfd763d903f034dbba8010b32) )
15751585
1576   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1577   /* 32x32 Tile Data is put here for easier Decoding */
1578
1579   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1586   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
15801587   ROM_LOAD( "a0100.rom",    0x0000000, 0x400000, CRC(8b3bd88a) SHA1(42db3a60c6ba9d83ebe2008c8047d094027f65a7) )
15811588   ROM_LOAD( "a0101.rom",    0x0400000, 0x400000, CRC(3b9e9644) SHA1(5b95ec1d25c3bc3504c93547f5adb5ce24376405) )
15821589   ROM_LOAD( "a0102.rom",    0x0800000, 0x400000, CRC(069e2c38) SHA1(9bddca8c2f5bd80f4abe4e1f062751736dc151dd) )
r8054r8055
15841591   ROM_LOAD( "a0104.rom",    0x1000000, 0x400000, CRC(5f8abb56) SHA1(6c1ddc0309862a141aa0c0f63b641aec9257aaee) )
15851592   ROM_LOAD( "a0105.rom",    0x1400000, 0x400000, CRC(a17a7147) SHA1(44eeb43c6b0ebb829559a20ae357383fbdeecd82) )
15861593
1587   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1594   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
15881595   ROM_LOAD( "b0100.rom",    0x0000000, 0x400000, CRC(69d2e48c) SHA1(5b5f759007264c07b3b39be8e03a713698e1fc2a) )
15891596   ROM_LOAD( "b0101.rom",    0x0400000, 0x400000, CRC(0d587bf3) SHA1(5347828b0a6e4ddd7a263663d2c2604407e4d49c) )
15901597   ROM_LOAD( "b0102.rom",    0x0800000, 0x400000, CRC(43823c1e) SHA1(e10a1a9a81b51b11044934ff702e35d8d7ab1b08) )
15911598
15921599   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1593   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1600   PGM_AUDIO_BIOS
15941601   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
15951602ROM_END
15961603
r8054r8055
15991606   PGM_68K_BIOS
16001607   ROM_LOAD16_WORD_SWAP( "p0101.160",    0x100000, 0x200000, CRC(b24f0c1e) SHA1(a2cf75d739681f091c24ef78ed6fc13aa8cfe0c6) )
16011608
1602   /* CPU2 = Z80, romless, code uploaded by 68k */
1603
1604   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1605   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1609   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1610   PGM_VIDEO_BIOS
16061611   ROM_LOAD( "t0100.rom",    0x400000, 0x400000, CRC(61425e1e) SHA1(20753b86fc12003cfd763d903f034dbba8010b32) )
16071612
1608   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1609   /* 32x32 Tile Data is put here for easier Decoding */
1610
1611   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1613   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
16121614   ROM_LOAD( "a0100.rom",    0x0000000, 0x400000, CRC(8b3bd88a) SHA1(42db3a60c6ba9d83ebe2008c8047d094027f65a7) )
16131615   ROM_LOAD( "a0101.rom",    0x0400000, 0x400000, CRC(3b9e9644) SHA1(5b95ec1d25c3bc3504c93547f5adb5ce24376405) )
16141616   ROM_LOAD( "a0102.rom",    0x0800000, 0x400000, CRC(069e2c38) SHA1(9bddca8c2f5bd80f4abe4e1f062751736dc151dd) )
r8054r8055
16161618   ROM_LOAD( "a0104.rom",    0x1000000, 0x400000, CRC(5f8abb56) SHA1(6c1ddc0309862a141aa0c0f63b641aec9257aaee) )
16171619   ROM_LOAD( "a0105.rom",    0x1400000, 0x400000, CRC(a17a7147) SHA1(44eeb43c6b0ebb829559a20ae357383fbdeecd82) )
16181620
1619   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1621   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
16201622   ROM_LOAD( "b0100.rom",    0x0000000, 0x400000, CRC(69d2e48c) SHA1(5b5f759007264c07b3b39be8e03a713698e1fc2a) )
16211623   ROM_LOAD( "b0101.rom",    0x0400000, 0x400000, CRC(0d587bf3) SHA1(5347828b0a6e4ddd7a263663d2c2604407e4d49c) )
16221624   ROM_LOAD( "b0102.rom",    0x0800000, 0x400000, CRC(43823c1e) SHA1(e10a1a9a81b51b11044934ff702e35d8d7ab1b08) )
16231625
16241626   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1625   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1627   PGM_AUDIO_BIOS
16261628   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
16271629ROM_END
16281630
r8054r8055
16311633   PGM_68K_BIOS
16321634   ROM_LOAD16_WORD_SWAP( "p0101.102",    0x100000, 0x200000, CRC(7a22e1cb) SHA1(4fe0fde00521b0915146334ea7213f3eb7e2affc) )
16331635
1634   /* CPU2 = Z80, romless, code uploaded by 68k */
1635
1636   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1637   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1636   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1637   PGM_VIDEO_BIOS
16381638   ROM_LOAD( "t0100.rom",    0x400000, 0x400000, CRC(61425e1e) SHA1(20753b86fc12003cfd763d903f034dbba8010b32) )
16391639
1640   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1641   /* 32x32 Tile Data is put here for easier Decoding */
1642
1643   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1640   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
16441641   ROM_LOAD( "a0100.rom",    0x0000000, 0x400000, CRC(8b3bd88a) SHA1(42db3a60c6ba9d83ebe2008c8047d094027f65a7) )
16451642   ROM_LOAD( "a0101.rom",    0x0400000, 0x400000, CRC(3b9e9644) SHA1(5b95ec1d25c3bc3504c93547f5adb5ce24376405) )
16461643   ROM_LOAD( "a0102.rom",    0x0800000, 0x400000, CRC(069e2c38) SHA1(9bddca8c2f5bd80f4abe4e1f062751736dc151dd) )
r8054r8055
16481645   ROM_LOAD( "a0104.rom",    0x1000000, 0x400000, CRC(5f8abb56) SHA1(6c1ddc0309862a141aa0c0f63b641aec9257aaee) )
16491646   ROM_LOAD( "a0105.rom",    0x1400000, 0x400000, CRC(a17a7147) SHA1(44eeb43c6b0ebb829559a20ae357383fbdeecd82) )
16501647
1651   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1648   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
16521649   ROM_LOAD( "b0100.rom",    0x0000000, 0x400000, CRC(69d2e48c) SHA1(5b5f759007264c07b3b39be8e03a713698e1fc2a) )
16531650   ROM_LOAD( "b0101.rom",    0x0400000, 0x400000, CRC(0d587bf3) SHA1(5347828b0a6e4ddd7a263663d2c2604407e4d49c) )
16541651   ROM_LOAD( "b0102.rom",    0x0800000, 0x400000, CRC(43823c1e) SHA1(e10a1a9a81b51b11044934ff702e35d8d7ab1b08) )
16551652
16561653   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1657   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1654   PGM_AUDIO_BIOS
16581655   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
16591656ROM_END
16601657
r8054r8055
17001697   ROM_LOAD16_BYTE( "olv111ch.u7",     0x200001, 0x080000, CRC(6ee79faf) SHA1(039b4b07b8577f0d3022ae01210c00375624cb3c) )
17011698   ROM_LOAD16_BYTE( "olv111ch.u11",    0x200000, 0x080000, CRC(b80ddd3c) SHA1(55c700ce71ffdee392e03fd9d4719542c3527132) )
17021699
1703   /* CPU2 = Z80, romless, code uploaded by 68k */
1704
1705   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1706   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1700   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1701   PGM_VIDEO_BIOS
17071702   ROM_LOAD( "t0100.rom",    0x400000, 0x400000, CRC(61425e1e) SHA1(20753b86fc12003cfd763d903f034dbba8010b32) )
17081703
1709   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1710   /* 32x32 Tile Data is put here for easier Decoding */
1711
1712   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1704   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
17131705   ROM_LOAD( "a0100.rom",    0x0000000, 0x400000, CRC(8b3bd88a) SHA1(42db3a60c6ba9d83ebe2008c8047d094027f65a7) )
17141706   ROM_LOAD( "a0101.rom",    0x0400000, 0x400000, CRC(3b9e9644) SHA1(5b95ec1d25c3bc3504c93547f5adb5ce24376405) )
17151707   ROM_LOAD( "a0102.rom",    0x0800000, 0x400000, CRC(069e2c38) SHA1(9bddca8c2f5bd80f4abe4e1f062751736dc151dd) )
r8054r8055
17171709   ROM_LOAD( "a0104.rom",    0x1000000, 0x400000, CRC(5f8abb56) SHA1(6c1ddc0309862a141aa0c0f63b641aec9257aaee) )
17181710   ROM_LOAD( "a0105.rom",    0x1400000, 0x400000, CRC(a17a7147) SHA1(44eeb43c6b0ebb829559a20ae357383fbdeecd82) )
17191711
1720   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1712   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
17211713   ROM_LOAD( "b0100.rom",    0x0000000, 0x400000, CRC(69d2e48c) SHA1(5b5f759007264c07b3b39be8e03a713698e1fc2a) )
17221714   ROM_LOAD( "b0101.rom",    0x0400000, 0x400000, CRC(0d587bf3) SHA1(5347828b0a6e4ddd7a263663d2c2604407e4d49c) )
17231715   ROM_LOAD( "b0102.rom",    0x0800000, 0x400000, CRC(43823c1e) SHA1(e10a1a9a81b51b11044934ff702e35d8d7ab1b08) )
17241716
17251717   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1726   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1718   PGM_AUDIO_BIOS
17271719   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
17281720ROM_END
17291721
r8054r8055
17681760   ROM_LOAD16_BYTE( "olv105ko.u7",     0x200001, 0x080000, CRC(5712facc) SHA1(2d95ebd1703874e89ac3a206f8c1f0ece6e833e0) )
17691761   ROM_LOAD16_BYTE( "olv105ko.u11",    0x200000, 0x080000, CRC(40ae4d9e) SHA1(62d7a96438b7fe93f74753333f50e077d417971e) )
17701762
1771   /* CPU2 = Z80, romless, code uploaded by 68k */
1772
1773   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1774   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1763   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1764   PGM_VIDEO_BIOS
17751765   ROM_LOAD( "t0100.rom",    0x400000, 0x400000, CRC(61425e1e) SHA1(20753b86fc12003cfd763d903f034dbba8010b32) )
17761766
1777   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1778   /* 32x32 Tile Data is put here for easier Decoding */
1779
1780   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1767   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
17811768   ROM_LOAD( "a0100.rom",    0x0000000, 0x400000, CRC(8b3bd88a) SHA1(42db3a60c6ba9d83ebe2008c8047d094027f65a7) )
17821769   ROM_LOAD( "a0101.rom",    0x0400000, 0x400000, CRC(3b9e9644) SHA1(5b95ec1d25c3bc3504c93547f5adb5ce24376405) )
17831770   ROM_LOAD( "a0102.rom",    0x0800000, 0x400000, CRC(069e2c38) SHA1(9bddca8c2f5bd80f4abe4e1f062751736dc151dd) )
r8054r8055
17851772   ROM_LOAD( "a0104.rom",    0x1000000, 0x400000, CRC(5f8abb56) SHA1(6c1ddc0309862a141aa0c0f63b641aec9257aaee) )
17861773   ROM_LOAD( "a0105.rom",    0x1400000, 0x400000, CRC(a17a7147) SHA1(44eeb43c6b0ebb829559a20ae357383fbdeecd82) )
17871774
1788   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1775   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
17891776   ROM_LOAD( "b0100.rom",    0x0000000, 0x400000, CRC(69d2e48c) SHA1(5b5f759007264c07b3b39be8e03a713698e1fc2a) )
17901777   ROM_LOAD( "b0101.rom",    0x0400000, 0x400000, CRC(0d587bf3) SHA1(5347828b0a6e4ddd7a263663d2c2604407e4d49c) )
17911778   ROM_LOAD( "b0102.rom",    0x0800000, 0x400000, CRC(43823c1e) SHA1(e10a1a9a81b51b11044934ff702e35d8d7ab1b08) )
17921779
17931780   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1794   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1781   PGM_AUDIO_BIOS
17951782   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
17961783ROM_END
17971784
r8054r8055
18671854   PGM_68K_BIOS
18681855   ROM_LOAD16_WORD_SWAP( "v-110x.u2",    0x100000, 0x080000, CRC(1978106b) SHA1(af8a13d7783b755a58762c98bdc32cab845b2251) )
18691856
1870   /* CPU2 = Z80, romless, code uploaded by 68k */
1871
1872   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1873   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1857   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1858   PGM_VIDEO_BIOS
18741859   ROM_LOAD( "pgmt0200.u7",    0x400000, 0x400000, CRC(b0f6534d) SHA1(174cacd81169a0e0d14790ac06d03caed737e05d) )
18751860
1876   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1877   /* 32x32 Tile Data is put here for easier Decoding */
1878
1879   ROM_REGION( 0x400000, "gfx3", 0 ) /* Sprite Colour Data */
1861   ROM_REGION( 0x400000, "sprcol", 0 ) /* Sprite Colour Data */
18801862   ROM_LOAD( "pgma0200.u5",    0x0000000, 0x400000, CRC(13b95069) SHA1(4888b06002afb18eab81c010e9362629045767af) )
18811863
1882   ROM_REGION( 0x400000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1864   ROM_REGION( 0x400000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
18831865   ROM_LOAD( "pgmb0200.u9",    0x0000000, 0x400000, CRC(932d0f13) SHA1(4b8e008f9c617cb2b95effeb81abc065b30e5c86) )
18841866
18851867   ROM_REGION( 0x400000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1886   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1868   PGM_AUDIO_BIOS
18871869ROM_END
18881870
18891871
r8054r8055
18921874   PGM_68K_BIOS
18931875   ROM_LOAD16_WORD_SWAP( "v-100c.u2",    0x100000, 0x080000, CRC(67467981) SHA1(58af01a3871b6179fe42ff471cc39a2161940043) )
18941876
1895   /* CPU2 = Z80, romless, code uploaded by 68k */
1896
1897   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1898   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1877   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1878   PGM_VIDEO_BIOS
18991879   ROM_LOAD( "pgmt0200.u7",    0x400000, 0x400000, CRC(b0f6534d) SHA1(174cacd81169a0e0d14790ac06d03caed737e05d) )
19001880
1901   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1902   /* 32x32 Tile Data is put here for easier Decoding */
1903
1904   ROM_REGION( 0x400000, "gfx3", 0 ) /* Sprite Colour Data */
1881   ROM_REGION( 0x400000, "sprcol", 0 ) /* Sprite Colour Data */
19051882   ROM_LOAD( "pgma0200.u5",    0x0000000, 0x400000, CRC(13b95069) SHA1(4888b06002afb18eab81c010e9362629045767af) )
19061883
1907   ROM_REGION( 0x400000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1884   ROM_REGION( 0x400000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
19081885   ROM_LOAD( "pgmb0200.u9",    0x0000000, 0x400000, CRC(932d0f13) SHA1(4b8e008f9c617cb2b95effeb81abc065b30e5c86) )
19091886
19101887   ROM_REGION( 0x400000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1911   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1888   PGM_AUDIO_BIOS
19121889ROM_END
19131890
19141891ROM_START( drgw2j )
r8054r8055
19161893   PGM_68K_BIOS
19171894   ROM_LOAD16_WORD_SWAP( "v-100j.u2",    0x100000, 0x080000, CRC(f8f8393e) SHA1(ef0db668b4e4f661d4c1e95d57afe881bcdf13cc) )
19181895
1919   /* CPU2 = Z80, romless, code uploaded by 68k */
1920
1921   ROM_REGION( 0x800000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1922   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1896   ROM_REGION( 0x800000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1897   PGM_VIDEO_BIOS
19231898   ROM_LOAD( "pgmt0200.u7",    0x400000, 0x400000, CRC(b0f6534d) SHA1(174cacd81169a0e0d14790ac06d03caed737e05d) )
19241899
1925   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1926   /* 32x32 Tile Data is put here for easier Decoding */
1927
1928   ROM_REGION( 0x400000, "gfx3", 0 ) /* Sprite Colour Data */
1900   ROM_REGION( 0x400000, "sprcol", 0 ) /* Sprite Colour Data */
19291901   ROM_LOAD( "pgma0200.u5",    0x0000000, 0x400000, CRC(13b95069) SHA1(4888b06002afb18eab81c010e9362629045767af) )
19301902
1931   ROM_REGION( 0x400000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1903   ROM_REGION( 0x400000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
19321904   ROM_LOAD( "pgmb0200.u9",    0x0000000, 0x400000, CRC(932d0f13) SHA1(4b8e008f9c617cb2b95effeb81abc065b30e5c86) )
19331905
19341906   ROM_REGION( 0x400000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1935   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1907   PGM_AUDIO_BIOS
19361908ROM_END
19371909
19381910
r8054r8055
19591931   ROM_LOAD16_BYTE( "dw3_v106.u12",     0x100001, 0x080000,  CRC(c3f6838b) SHA1(c135b1d4dd62af308139d40d03c29be7508fb1e7) )
19601932   ROM_LOAD16_BYTE( "dw3_v106.u13",     0x100000, 0x080000,  CRC(28284e22) SHA1(4643a69881ddb7383ca10f3eb2aa2cf41be39e9f) )
19611933
1962   /* CPU2 = Z80, romless, code uploaded by 68k */
1963
1964//  ROM_REGION( 0x40000, "user2", 0 ) /* RAM dump - to be removed once the DMA is hooked up */
1965//  ROM_LOAD16_WORD_SWAP( "dw3c_prot_ramdump", 0x0000, 0x4000, CRC(6b4fc08b) SHA1(61583637c2f1767df4bc637f922987c9510a584f) )
1966
19671934   ROM_REGION( 0x010000, "igs022data", 0 ) /* Protection Data - is it correct for this set? */
19681935   ROM_LOAD16_WORD_SWAP( "dw3_v100.u15", 0x000000, 0x010000, CRC(03dc4fdf) SHA1(b329b04325d4f725231b1bb7862eedef2319b652) )
19691936
1970   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1971   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1937   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1938   PGM_VIDEO_BIOS
19721939   ROM_LOAD( "dw3t0400.u18",   0x400000, 0x400000, CRC(b70f3357) SHA1(8733969d7d21f540f295a9f747a4bb8f0d325cf0) )
19731940
1974   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
1975   /* 32x32 Tile Data is put here for easier Decoding */
1976
1977   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1941   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
19781942   ROM_LOAD( "dw3a0400.u9",     0x0000000, 0x400000, CRC(dd7bfd40) SHA1(fb7ec5bf89a413c5208716083762a725ff63f5db) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
19791943   ROM_LOAD( "dw3a0401.u10",    0x0400000, 0x400000, CRC(cab6557f) SHA1(1904dd86645eea27ac1ab8a2462b20f6531356f8) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
19801944
1981   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1945   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
19821946   ROM_LOAD( "dw3b0400.u13",    0x0000000, 0x400000,  CRC(4bb87cc0) SHA1(71b2dc43fd11f7a6dffaba501e4e344b843583d8) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
19831947
19841948   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
1985   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1949   PGM_AUDIO_BIOS
19861950   ROM_LOAD( "dw3m0400.u1",  0x400000, 0x400000, CRC(031eb9ce) SHA1(0673ec194732becc6648c2ae1396e894aa269f9a) )
19871951ROM_END
19881952
r8054r8055
19921956   PGM_68K_BIOS
19931957   ROM_LOAD16_BYTE( "dw3_v105.u12",     0x100001, 0x080000,  CRC(c5e24318) SHA1(c6954495bbc72c3985df75aecf6afd6826c8e30e) )
19941958   ROM_LOAD16_BYTE( "dw3_v105.u13",     0x100000, 0x080000,  CRC(8d6c9d39) SHA1(cb79303ab551e91f07e11414db4254d5b161d415) )
1995   //ROM_LOAD( "dw3c_prg.rom", 0x100000, 0x100000, CRC(e274cf03) SHA1(2ba532446bd5b5dbccf43a6d1b1f6b36842b2c8d) )
19961959
1997//  ROM_REGION( 0x40000, "user2", 0 ) /* RAM dump - to be removed once the DMA is hooked up */
1998//  ROM_LOAD16_WORD_SWAP( "dw3c_prot_ramdump", 0x0000, 0x4000, CRC(6b4fc08b) SHA1(61583637c2f1767df4bc637f922987c9510a584f) )
1999
2000   /* CPU2 = Z80, romless, code uploaded by 68k */
2001
20021960   ROM_REGION( 0x010000, "igs022data", 0 ) /* Protection Data - is it correct for this set? */
20031961   ROM_LOAD16_WORD_SWAP( "dw3_v100.u15", 0x000000, 0x010000, CRC(03dc4fdf) SHA1(b329b04325d4f725231b1bb7862eedef2319b652) )
20041962
2005   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2006   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
1963   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
1964   PGM_VIDEO_BIOS
20071965   ROM_LOAD( "dw3t0400.u18",   0x400000, 0x400000, CRC(b70f3357) SHA1(8733969d7d21f540f295a9f747a4bb8f0d325cf0) )
20081966
2009   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2010   /* 32x32 Tile Data is put here for easier Decoding */
2011
2012   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
1967   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
20131968   ROM_LOAD( "dw3a0400.u9",     0x0000000, 0x400000, CRC(dd7bfd40) SHA1(fb7ec5bf89a413c5208716083762a725ff63f5db) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20141969   ROM_LOAD( "dw3a0401.u10",    0x0400000, 0x400000, CRC(cab6557f) SHA1(1904dd86645eea27ac1ab8a2462b20f6531356f8) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20151970
2016   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
1971   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
20171972   ROM_LOAD( "dw3b0400.u13",    0x0000000, 0x400000,  CRC(4bb87cc0) SHA1(71b2dc43fd11f7a6dffaba501e4e344b843583d8) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20181973
20191974   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2020   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
1975   PGM_AUDIO_BIOS
20211976   ROM_LOAD( "dw3m0400.u1",  0x400000, 0x400000, CRC(031eb9ce) SHA1(0673ec194732becc6648c2ae1396e894aa269f9a) )
20221977ROM_END
20231978/*
r8054r8055
20502005   ROM_LOAD16_BYTE( "dw3_v100.u12",     0x100001, 0x080000,  CRC(47243906) SHA1(9cd46e3cba97f049bcb238ceb6edf27a760ef831) )
20512006   ROM_LOAD16_BYTE( "dw3_v100.u13",     0x100000, 0x080000,  CRC(b7cded21) SHA1(c1ae2af2e42227503c81bbcd2bd6862aa416bd78) )
20522007
2053   /* CPU2 = Z80, romless, code uploaded by 68k */
2054
2055//  ROM_REGION( 0x40000, "user2", 0 ) /* RAM dump - to be removed once the DMA is hooked up */
2056//  ROM_LOAD16_WORD_SWAP( "dw3c_prot_ramdump", 0x0000, 0x4000, CRC(6b4fc08b) SHA1(61583637c2f1767df4bc637f922987c9510a584f) )
2057
20582008   ROM_REGION( 0x010000, "igs022data", 0 ) /* Protection Data */
20592009   ROM_LOAD16_WORD_SWAP( "dw3_v100.u15", 0x000000, 0x010000, CRC(03dc4fdf) SHA1(b329b04325d4f725231b1bb7862eedef2319b652) )
20602010
2061   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2062   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2011   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2012   PGM_VIDEO_BIOS
20632013   ROM_LOAD( "dw3t0400.u18",   0x400000, 0x400000, CRC(b70f3357) SHA1(8733969d7d21f540f295a9f747a4bb8f0d325cf0) )
20642014
2065   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2066   /* 32x32 Tile Data is put here for easier Decoding */
2067
2068   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
2015   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
20692016   ROM_LOAD( "dw3a0400.u9",     0x0000000, 0x400000, CRC(dd7bfd40) SHA1(fb7ec5bf89a413c5208716083762a725ff63f5db) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20702017   ROM_LOAD( "dw3a0401.u10",    0x0400000, 0x400000, CRC(cab6557f) SHA1(1904dd86645eea27ac1ab8a2462b20f6531356f8) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20712018
2072   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2019   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
20732020   ROM_LOAD( "dw3b0400.u13",    0x0000000, 0x400000,  CRC(4bb87cc0) SHA1(71b2dc43fd11f7a6dffaba501e4e344b843583d8) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20742021
20752022   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2076   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2023   PGM_AUDIO_BIOS
20772024   ROM_LOAD( "dw3m0400.u1",  0x400000, 0x400000, CRC(031eb9ce) SHA1(0673ec194732becc6648c2ae1396e894aa269f9a) )
20782025ROM_END
20792026
2027/*
2028
2029Dragon World EX IGS PGM cart
2030
2031Top board
2032---------
2033PCB Number: IGS PCB-0189-1
20348MHz XTAL
20352x 27C040 EPROMs at U12, U13
203627C512 EPROM at U15
2037PAL at U17
20382x 6164 SRAM at U1, U4
2039MACH211 at U11
2040IGS022 at U14
2041IGS025 at U16
204216M SOP44 mask ROM at U18
2043
2044Bottom Board
2045------------
2046PCB Number: IGS PCB-0178
20472x 16M mask ROMs at U1, U10
20482x 32M mask ROMs at U9, U13
2049
2050*/
2051
2052// seems to be an updated version of dw3, most roms are the same, but it's a sequel, not a clone.
2053// the non-program roms that differ are actually the same, but in the dw3 sets they're double sized with duplicate data (overdumped, or just different roms used on pcb?)
2054ROM_START( dwex )
2055   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
2056   PGM_68K_BIOS
2057   ROM_LOAD16_BYTE( "ex_v100.u12",     0x100001, 0x080000, CRC(bc171799) SHA1(142329dffbca199f3e748a52146a03e27b36db6a) )
2058   ROM_LOAD16_BYTE( "ex_v100.u13",     0x100000, 0x080000, CRC(7afe6322) SHA1(a52d71af1d6de16c5a3df23eacdab3466693ba8d) )
2059
2060   ROM_REGION( 0x010000, "igs022data", 0 ) /* Protection Data */
2061   ROM_LOAD16_WORD_SWAP( "ex_data.u15", 0x000000, 0x010000, CRC(03dc4fdf) SHA1(b329b04325d4f725231b1bb7862eedef2319b652) )
2062
2063   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2064   PGM_VIDEO_BIOS
2065   ROM_LOAD( "ex_t0400.u18", 0x400000, 0x200000, CRC(9ecc950d) SHA1(fd97f43818a3eb18254636166871fa09bd0d6c07) )
2066
2067   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
2068   ROM_LOAD( "ex_a0400.u9",     0x0000000, 0x400000, CRC(dd7bfd40) SHA1(fb7ec5bf89a413c5208716083762a725ff63f5db) )
2069   ROM_LOAD( "ex_a0401.u10",    0x0400000, 0x200000, CRC(d36c06a4) SHA1(f192e8bfdfbe3d82a49d8f0d3cb0603e39719773) )
2070
2071   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
2072   ROM_LOAD( "ex_b0400.u13",    0x0000000, 0x400000,  CRC(4bb87cc0) SHA1(71b2dc43fd11f7a6dffaba501e4e344b843583d8) )
2073
2074   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2075   PGM_AUDIO_BIOS
2076   ROM_LOAD( "ex_m0400.u1",  0x400000, 0x200000, CRC(42d54fd5) SHA1(ad915b514aa6cae6f72dea78e6208f40b08ceac0) )
2077ROM_END
2078
2079
2080
2081
20802082ROM_START( kov )
20812083   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
20822084   PGM_68K_BIOS
20832085   ROM_LOAD16_WORD_SWAP( "p0600.117",    0x100000, 0x400000, CRC(c4d19fe6) SHA1(14ef31539bfbc665e76c9703ee01b12228344052) )
20842086
2085   /* CPU2 = Z80, romless, code uploaded by 68k */
2086
20872087   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
20882088   ROM_LOAD( "kov_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
20892089
2090   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2091   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2090   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2091   PGM_VIDEO_BIOS
20922092   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
20932093
2094   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2095   /* 32x32 Tile Data is put here for easier Decoding */
2096
2097   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2094   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
20982095   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
20992096   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21002097   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21012098   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
21022099
2103   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2100   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
21042101   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
21052102   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
21062103
21072104   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2108   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2105   PGM_AUDIO_BIOS
21092106   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
21102107ROM_END
21112108
r8054r8055
21142111   PGM_68K_BIOS
21152112   ROM_LOAD16_WORD_SWAP( "p0600.115",    0x100000, 0x400000, CRC(527a2924) SHA1(7e3b166dddc5245d7b408e78437c16fd2986d1d9) )
21162113
2117   /* CPU2 = Z80, romless, code uploaded by 68k */
2118
21192114   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
21202115   ROM_LOAD( "kov_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
21212116
2122   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2123   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2117   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2118   PGM_VIDEO_BIOS
21242119   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
21252120
2126   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2127   /* 32x32 Tile Data is put here for easier Decoding */
2128
2129   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2121   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
21302122   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21312123   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21322124   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21332125   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
21342126
2135   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2127   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
21362128   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
21372129   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
21382130
21392131   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2140   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2132   PGM_AUDIO_BIOS
21412133   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
21422134ROM_END
21432135
r8054r8055
21812173   ROM_LOAD16_BYTE( "sav111.u8",      0x200000, 0x080000, CRC(003cbf49) SHA1(fb5bea47ecae025b1b425af52cd05e061f45e377) )
21822174   ROM_LOAD16_WORD_SWAP( "sav111.u10",0x300000, 0x080000, CRC(d5536107) SHA1(f963e015d99c1621323eecf63e773c0b9f4b6a43) )
21832175
2184   /* CPU2 = Z80, romless, code uploaded by 68k */
2185
21862176   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
21872177   ROM_LOAD( "kov_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
21882178
2189   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2190   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2179   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2180   PGM_VIDEO_BIOS
21912181   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
21922182
2193   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2194   /* 32x32 Tile Data is put here for easier Decoding */
2195
2196   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2183   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
21972184   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21982185   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
21992186   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22002187   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
22012188
2202   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2189   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
22032190   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
22042191   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
22052192
22062193   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2207   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2194   PGM_AUDIO_BIOS
22082195   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
22092196ROM_END
22102197
r8054r8055
22132200   PGM_68K_BIOS
22142201   ROM_LOAD16_WORD_SWAP( "p0600.119",    0x100000, 0x400000, CRC(e4b0875d) SHA1(e8382e131b0e431406dc2a05cc1ef128302d987c) )
22152202
2216   /* CPU2 = Z80, romless, code uploaded by 68k */
2217
22182203   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
22192204   ROM_LOAD( "kov_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
22202205
2221   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2222   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2206   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2207   PGM_VIDEO_BIOS
22232208   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
22242209
2225   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2226   /* 32x32 Tile Data is put here for easier Decoding */
2227
2228   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2210   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
22292211   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22302212   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22312213   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22322214   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
22332215
2234   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2216   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
22352217   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
22362218   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
22372219
22382220   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2239   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2221   PGM_AUDIO_BIOS
22402222   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
22412223ROM_END
22422224
r8054r8055
22802262   ROM_LOAD16_BYTE( "v119.u6",     0x200000, 0x080000, CRC(71e28f27) SHA1(db382807e9185f0dc17124f210165fa1b36ca6ac) )
22812263   ROM_LOAD16_WORD_SWAP( "v119.u2",0x300000, 0x080000, CRC(29588ef2) SHA1(17d1a308d44434cf65224a24360cf4b6e32d28f3) )
22822264
2283   /* CPU2 = Z80, romless, code uploaded by 68k */
2284
22852265   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
22862266   ROM_LOAD( "kov_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
22872267
2288   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2289   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2268   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2269   PGM_VIDEO_BIOS
22902270   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
22912271
2292   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2293   /* 32x32 Tile Data is put here for easier Decoding */
2294
2295   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2272   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
22962273   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22972274   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22982275   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
22992276   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
23002277
2301   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2278   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
23022279   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
23032280   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
23042281
23052282   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2306   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2283   PGM_AUDIO_BIOS
23072284   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
23082285ROM_END
23092286
r8054r8055
23122289   PGM_68K_BIOS
23132290   ROM_LOAD16_WORD_SWAP( "p0600.322",    0x100000, 0x400000, CRC(7c78e5f3) SHA1(9b1e4bd63fb1294ebeb539966842273c8dc7683b) )
23142291
2315   /* CPU2 = Z80, romless, code uploaded by 68k */
2316
23172292   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
23182293   ROM_LOAD( "kovsh_v100_china.asic", 0x000000, 0x04000,  CRC(0f09a5c1) SHA1(621b38c05f33277608d58b49822aebc930ae4870) )
23192294
2320   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2321   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2295   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2296   PGM_VIDEO_BIOS
23222297   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
23232298
2324   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2325   /* 32x32 Tile Data is put here for easier Decoding */
2326
23272299   /* all roms below need checking to see if they're the same on this board */
2328   ROM_REGION( 0x1e00000, "gfx3", 0 ) /* Sprite Colour Data */
2300   ROM_REGION( 0x1e00000, "sprcol", 0 ) /* Sprite Colour Data */
23292301   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
23302302   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
23312303   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
23322304   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
23332305   ROM_LOAD( "a0604.rom",    0x1a00000, 0x0400000, CRC(26b59fd3) SHA1(53219376056f4766dc5236735599d982ceb56b84) )
23342306
2335   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2307   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
23362308   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
23372309   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
23382310   ROM_LOAD( "b0602.rom",    0x0c00000, 0x0100000, CRC(9df77934) SHA1(99a3fe337c13702c9aa2373bcd1bb1befd0e2a13) )
23392311
23402312   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2341   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2313   PGM_AUDIO_BIOS
23422314   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
23432315ROM_END
23442316
r8054r8055
23482320   PGM_68K_BIOS
23492321   ROM_LOAD16_WORD_SWAP( "p0600.103",    0x100000, 0x400000, CRC(f0b3da82) SHA1(4067beb69c049b51bce6154f4cf880600ca4de11) )
23502322
2351   /* CPU2 = Z80, romless, code uploaded by 68k */
2352
23532323   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
23542324   ROM_LOAD( "kovsh_v100_china.asic", 0x000000, 0x04000,  CRC(0f09a5c1) SHA1(621b38c05f33277608d58b49822aebc930ae4870) )
23552325
2356   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2357   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2326   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2327   PGM_VIDEO_BIOS
23582328   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
23592329
2360   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2361   /* 32x32 Tile Data is put here for easier Decoding */
2362
23632330   /* all roms below need checking to see if they're the same on this board */
2364   ROM_REGION( 0x1e00000, "gfx3", 0 ) /* Sprite Colour Data */
2331   ROM_REGION( 0x1e00000, "sprcol", 0 ) /* Sprite Colour Data */
23652332   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
23662333   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
23672334   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
23682335   ROM_LOAD( "a0603.rom",    0x1800000, 0x0400000, CRC(ec31abda) SHA1(ee526655369bae63b0ef0730e9768b765c9950fc) )
23692336   ROM_LOAD( "a0604.rom",    0x1a00000, 0x0400000, CRC(26b59fd3) SHA1(53219376056f4766dc5236735599d982ceb56b84) )
23702337
2371   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2338   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
23722339   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
23732340   ROM_LOAD( "b0601.rom",    0x0800000, 0x0400000, CRC(a0bb1c2f) SHA1(0542348c6e27779e0a98de16f04f9c18158f2b28) )
23742341   ROM_LOAD( "b0602.rom",    0x0c00000, 0x0100000, CRC(9df77934) SHA1(99a3fe337c13702c9aa2373bcd1bb1befd0e2a13) ) // this dump had the same rom 4x bigger but with the data duplicated 4x, which is correct?
23752342
23762343   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2377   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2344   PGM_AUDIO_BIOS
23782345   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
23792346ROM_END
23802347
2348/*
23812349
2350p0701_v105.u2
2351
2352IGS
2353PGM P0701 V105
23541B2687LC
2355C994746
2356
2357*/
2358
23822359ROM_START( photoy2k )
23832360   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
23842361   PGM_68K_BIOS
2362   ROM_LOAD16_WORD_SWAP( "p0701_v105.u2",     0x100000, 0x200000, CRC(fab142e0) SHA1(8dc7e53b740ed68bac98c0ef7ca4943c517e6f5d) )
2363
2364   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
2365   ROM_LOAD( "igs027a_photoy2k_v100_china.asic", 0x000000, 0x04000, CRC(1a0b68f6) SHA1(290441ed652f54b26ace8f59a26220881fb62084) ) // 3 bytes differ from the read in the other sets.  I think this one is GOOD and the other is bad.  This always gives the same read, so unless the actual chips is bad... TBC
2366
2367   ROM_REGION( 0x480000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2368   PGM_VIDEO_BIOS
2369   ROM_LOAD( "t0700.rom",    0x400000, 0x080000, CRC(93943b4d) SHA1(3b439903853727d45d62c781af6073024eb3c5a3) )
2370
2371   ROM_REGION( 0x1080000, "sprcol", 0 ) /* Sprite Colour Data */
2372   ROM_LOAD( "a0700.l",    0x0000000, 0x0400000, CRC(26a9ae9c) SHA1(c977c89db6fdf47ee260ff687b80375caeab975c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
2373   ROM_LOAD( "a0700.h",    0x0400000, 0x0400000, CRC(79bc1fc1) SHA1(a09472a9b75704c1d31ab828f92c2a5007b2b4ed) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
2374   ROM_LOAD( "a0701.l",    0x0800000, 0x0400000, CRC(23607f81) SHA1(8b6dbcdce9b131370693847ed9771aa04b62711c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
2375   ROM_LOAD( "a0701.h",    0x0c00000, 0x0400000, CRC(5f2efd37) SHA1(9a5bd9751691bc085b0751b9fa8ede9eb97b1248) )
2376   ROM_LOAD( "a0702.rom",  0x1000000, 0x0080000, CRC(42239e1b) SHA1(2b6d20958abf8a67ce525d5c8964b6d225ccaeda) )
2377
2378   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
2379   ROM_LOAD( "b0700.l",    0x0000000, 0x0400000, CRC(af096904) SHA1(8e86b36cc44720ece68022e409279bf9144341ba) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
2380   ROM_LOAD( "b0700.h",    0x0400000, 0x0400000, CRC(6d53de26) SHA1(f3f93fd2f87adb815834ba0242b94073fbb5e333) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
2381   ROM_LOAD( "cgv101.rom", 0x0800000, 0x0020000, CRC(da02ec3e) SHA1(7ee21d748c9b932f53e790a9040167f904fecefc) )
2382
2383   ROM_REGION( 0x480000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2384   PGM_AUDIO_BIOS
2385   ROM_LOAD( "m0700.rom",    0x400000, 0x080000, CRC(acc7afce) SHA1(ac2d344ebac336f0f363bb045dd8ea4e83d1fb50) )
2386ROM_END
2387
2388
2389ROM_START( photoy2k104 )
2390   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
2391   PGM_68K_BIOS
23852392   ROM_LOAD16_WORD_SWAP( "v104.16m",     0x100000, 0x200000, CRC(e051070f) SHA1(a5a1a8dd7542a30632501af8d02fda07475fd9aa) )
23862393
2387   /* CPU2 = Z80, romless, code uploaded by 68k */
2388
23892394   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
2390   ROM_LOAD( "photoy2k_v100_china.asic", 0x000000, 0x04000,  CRC(6dd7f257) SHA1(1984f98a282d8b3264674f231c3b7def1757cf72) )
2395   ROM_LOAD( "igs027a_photoy2k_v100_china_alt.asic", 0x000000, 0x04000,  CRC(6dd7f257) SHA1(1984f98a282d8b3264674f231c3b7def1757cf72) )
23912396
2392   ROM_REGION( 0x480000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2393   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2397   ROM_REGION( 0x480000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2398   PGM_VIDEO_BIOS
23942399   ROM_LOAD( "t0700.rom",    0x400000, 0x080000, CRC(93943b4d) SHA1(3b439903853727d45d62c781af6073024eb3c5a3) )
23952400
2396   ROM_REGION( 0x480000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2397   /* 32x32 Tile Data is put here for easier Decoding */
2398
2399   /* all roms below need checking to see if they're the same on this board */
2400   ROM_REGION( 0x1080000, "gfx3", 0 ) /* Sprite Colour Data */
2401   ROM_REGION( 0x1080000, "sprcol", 0 ) /* Sprite Colour Data */
24012402   ROM_LOAD( "a0700.l",    0x0000000, 0x0400000, CRC(26a9ae9c) SHA1(c977c89db6fdf47ee260ff687b80375caeab975c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24022403   ROM_LOAD( "a0700.h",    0x0400000, 0x0400000, CRC(79bc1fc1) SHA1(a09472a9b75704c1d31ab828f92c2a5007b2b4ed) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24032404   ROM_LOAD( "a0701.l",    0x0800000, 0x0400000, CRC(23607f81) SHA1(8b6dbcdce9b131370693847ed9771aa04b62711c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24042405   ROM_LOAD( "a0701.h",    0x0c00000, 0x0400000, CRC(5f2efd37) SHA1(9a5bd9751691bc085b0751b9fa8ede9eb97b1248) )
24052406   ROM_LOAD( "a0702.rom",  0x1000000, 0x0080000, CRC(42239e1b) SHA1(2b6d20958abf8a67ce525d5c8964b6d225ccaeda) )
24062407
2407   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2408   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
24082409   ROM_LOAD( "b0700.l",    0x0000000, 0x0400000, CRC(af096904) SHA1(8e86b36cc44720ece68022e409279bf9144341ba) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24092410   ROM_LOAD( "b0700.h",    0x0400000, 0x0400000, CRC(6d53de26) SHA1(f3f93fd2f87adb815834ba0242b94073fbb5e333) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24102411   ROM_LOAD( "cgv101.rom", 0x0800000, 0x0020000, CRC(da02ec3e) SHA1(7ee21d748c9b932f53e790a9040167f904fecefc) )
24112412
24122413   ROM_REGION( 0x480000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2413   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2414   PGM_AUDIO_BIOS
24142415   ROM_LOAD( "m0700.rom",    0x400000, 0x080000, CRC(acc7afce) SHA1(ac2d344ebac336f0f363bb045dd8ea4e83d1fb50) )
24152416ROM_END
24162417
r8054r8055
24522453   ROM_LOAD16_BYTE( "v102.u5",     0x200001, 0x080000, CRC(9201621b) SHA1(1ca3ebe7eec40614bfa8b911657fa2b51f2c51a4) )
24532454   ROM_LOAD16_BYTE( "v102.u8",     0x200000, 0x080000, CRC(3be22b8f) SHA1(03634fbd6a8a8369c6cb1fd6694a3784dac5bf59) )
24542455
2455   /* CPU2 = Z80, romless, code uploaded by 68k */
2456
24572456   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
2458   ROM_LOAD( "photoy2k_v100_china.asic", 0x000000, 0x04000,  CRC(6dd7f257) SHA1(1984f98a282d8b3264674f231c3b7def1757cf72) )
2457   ROM_LOAD( "igs027a_photoy2k_v100_china_alt.asic", 0x000000, 0x04000,  CRC(6dd7f257) SHA1(1984f98a282d8b3264674f231c3b7def1757cf72) )
24592458
2460   ROM_REGION( 0x480000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2461   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2459   ROM_REGION( 0x480000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2460   PGM_VIDEO_BIOS
24622461   ROM_LOAD( "t0700.rom",    0x400000, 0x080000, CRC(93943b4d) SHA1(3b439903853727d45d62c781af6073024eb3c5a3) )
24632462
2464   ROM_REGION( 0x480000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2465   /* 32x32 Tile Data is put here for easier Decoding */
2466
2467   /* all roms below need checking to see if they're the same on this board */
2468   ROM_REGION( 0x1080000, "gfx3", 0 ) /* Sprite Colour Data */
2463   ROM_REGION( 0x1080000, "sprcol", 0 ) /* Sprite Colour Data */
24692464   ROM_LOAD( "a0700.l",    0x0000000, 0x0400000, CRC(26a9ae9c) SHA1(c977c89db6fdf47ee260ff687b80375caeab975c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24702465   ROM_LOAD( "a0700.h",    0x0400000, 0x0400000, CRC(79bc1fc1) SHA1(a09472a9b75704c1d31ab828f92c2a5007b2b4ed) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24712466   ROM_LOAD( "a0701.l",    0x0800000, 0x0400000, CRC(23607f81) SHA1(8b6dbcdce9b131370693847ed9771aa04b62711c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24722467   ROM_LOAD( "a0701.h",    0x0c00000, 0x0400000, CRC(5f2efd37) SHA1(9a5bd9751691bc085b0751b9fa8ede9eb97b1248) )
24732468   ROM_LOAD( "a0702.rom",  0x1000000, 0x0080000, CRC(42239e1b) SHA1(2b6d20958abf8a67ce525d5c8964b6d225ccaeda) )
24742469
2475   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2470   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
24762471   ROM_LOAD( "b0700.l",    0x0000000, 0x0400000, CRC(af096904) SHA1(8e86b36cc44720ece68022e409279bf9144341ba) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24772472   ROM_LOAD( "b0700.h",    0x0400000, 0x0400000, CRC(6d53de26) SHA1(f3f93fd2f87adb815834ba0242b94073fbb5e333) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
24782473   ROM_LOAD( "cgv101.rom", 0x0800000, 0x0020000, CRC(da02ec3e) SHA1(7ee21d748c9b932f53e790a9040167f904fecefc) )
24792474
24802475   ROM_REGION( 0x480000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2481   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2476   PGM_AUDIO_BIOS
24822477   ROM_LOAD( "m0700.rom",    0x400000, 0x080000, CRC(acc7afce) SHA1(ac2d344ebac336f0f363bb045dd8ea4e83d1fb50) )
24832478ROM_END
24842479
2480
2481
2482
24852483/*
24862484
2485Photo Y2K2 IGS PGM cart
2486
2487Top board
2488---------
2489PCB Number: IGS PCB-0313-00T
249027C160 EPROM at U1
2491PAL at U3
2492IGS027A at U4
2493
2494Bottom Board
2495------------
2496PCB Number: IGS PCB-0314-00
24971x 16M SOP44 mask ROM at U3
24986x 64M SOP44 mask ROMs at U4, U5, U6, U7, U8, U9
2499
2500*/
2501
2502ROM_START( py2k2 )
2503   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
2504   PGM_68K_BIOS
2505   ROM_LOAD16_WORD_SWAP( "y2k2_m-101xx.u1",     0x100000, 0x200000, CRC(c47795f1) SHA1(5be4af4275571932d7740c3ea0857a1f58a3f6d9) ) // 68k (encrypted) 2nd half empty...
2506
2507   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
2508   ROM_LOAD( "igs027a_photoy2k2.asic", 0x000000, 0x04000, NO_DUMP )
2509
2510   ROM_REGION( 0x480000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2511   PGM_VIDEO_BIOS
2512   /* no extra tilemap rom */
2513
2514   ROM_REGION( 0x2000000, "sprcol", 0 ) /* Sprite Colour Data */
2515   ROM_LOAD( "y2k2_a1100.u6",    0x0000000, 0x0800000, CRC(e32ce499) SHA1(f84c7daa55c25a05da467b5654ebf432b7ce1754) )
2516   ROM_LOAD( "y2k2_a1101.u7",    0x0800000, 0x0800000, CRC(4e7568bc) SHA1(bf9cc453191bd5ec9fbcce62891809f253a44267) )
2517   ROM_LOAD( "y2k2_a1102.u8",    0x1000000, 0x0800000, CRC(6da7c143) SHA1(9408ba7722bfc8013f851aadea5e2819f5263129) )
2518   ROM_LOAD( "y2k2_a1103.u9",    0x1800000, 0x0800000, CRC(0ebebfdc) SHA1(4faad7f97c7e734f179ec934a37e75d8d6adccf4) )
2519
2520   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
2521   ROM_LOAD( "y2k2_b1100.u4",    0x0000000, 0x0800000,  CRC(fa53d6f6) SHA1(c2da55f4b7e721fa1c63bd7f9528f261643164e8) )
2522   ROM_LOAD( "y2k2_b1101.u5",    0x0800000, 0x0800000, CRC(001e4c81) SHA1(21119055f8fd7f831529e73ff9c97bca3987a1dc))
2523
2524   ROM_REGION( 0x880000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2525   PGM_AUDIO_BIOS
2526   ROM_LOAD( "y2k2_m1100.u3",    0x400000, 0x200000, CRC(fb1515f8) SHA1(90e5e5bfdac9a460445bf224952e4a536888dc1b) )
2527ROM_END
2528
2529
2530/*
2531
24872532The Killing Blade (English / World Version)
24882533IGS, 1998
24892534
r8054r8055
25682613   PGM_68K_BIOS
25692614   ROM_LOAD16_WORD_SWAP( "p0300_v109.u9", 0x100000, 0x200000, CRC(2fcee215) SHA1(855281a9090bfdf3da9f4d50c121765131a13400) )
25702615
2571   /* CPU2 = Z80, romless, code uploaded by 68k */
2572
25732616   ROM_REGION( 0x010000, "igs022data", 0 ) /* Protection Data */
25742617   ROM_LOAD16_WORD_SWAP( "kb_u2.rom", 0x000000, 0x010000,  CRC(de3eae63) SHA1(03af767ef764055bda528b5cc6a24b9e1218cca8) )
25752618
2576   ROM_REGION( 0x800000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2577   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2619   ROM_REGION( 0x800000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2620   PGM_VIDEO_BIOS
25782621   ROM_LOAD( "t0300.u14",    0x400000, 0x400000, CRC(0922f7d9) SHA1(4302b4b7369e13f315fad14f7d6cad1321101d24) )
25792622
2580   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2581   /* 32x32 Tile Data is put here for easier Decoding */
2582
2583   ROM_REGION( 0x2000000, "gfx3", 0 ) /* Sprite Colour Data */
2623   ROM_REGION( 0x2000000, "sprcol", 0 ) /* Sprite Colour Data */
25842624   ROM_LOAD( "a0300.u9",   0x0000000, 0x0400000,  CRC(3f9455d3) SHA1(3718ce00ad93975383aafc14e5a74dc297b011a1) )
25852625   ROM_LOAD( "a0301.u10",  0x0400000, 0x0400000,  CRC(92776889) SHA1(6d677837fefff47bfd1c6166322f69f89989a5e2) )
25862626   ROM_LOAD( "a0303.u11",  0x0800000, 0x0400000,  CRC(33f5cc69) SHA1(9cacd5058d4bb25b77f71658bbbbd4b38d0a6b6a) )
r8054r8055
25902630//  ROM_LOAD( "a0304.u4",   0x1600000, 0x0200000,  CRC(3096de1c) SHA1(d010990d21cfda9cb8ab5b4bc0e329c23b7719f5) ) // from lord of gun! unused..
25912631//  ROM_LOAD( "a0305.u5",   0x1800000, 0x0200000,  CRC(2234531e) SHA1(58a82e31a1c0c1a4dd026576319f4e7ecffd140e) ) // from lord of gun! unused..
25922632
2593   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2633   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
25942634   ROM_LOAD( "b0300.u13",    0x0000000, 0x0400000, CRC(7f876981) SHA1(43555a200929ad5ecc42137fc9aeb42dc4f50d20) )
25952635   ROM_LOAD( "b0302.u14",    0x0400000, 0x0400000, CRC(eea9c502) SHA1(04b3972c7111ea59a3cceab6ad124080c4ce3520) )
25962636   ROM_LOAD( "b0303.u15",    0x0800000, 0x0200000, CRC(77a9652e) SHA1(2342f643d37945fbda224a5034c013796e5134ca) )
25972637//  ROM_LOAD( "b0301.u8",     0x0a00000, 0x0200000, CRC(400abe33) SHA1(20de1eb626424ea41bd55eb3cecd6b50be744ee0) ) // from lord of gun! unused..
25982638
25992639   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2600   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2640   PGM_AUDIO_BIOS
26012641   ROM_LOAD( "m0300.u1",     0x400000, 0x400000, CRC(93159695) SHA1(50c5976c9b681bd3d1ebefa3bfa9fe6e72dcb96f) )
26022642ROM_END
26032643
r8054r8055
26092649   ROM_LOAD16_BYTE( "kb_u4_v104.u4",     0x200001, 0x080000, CRC(1ed8b2e7) SHA1(331c037640cfc1fe743cd0e65a1156c470b3303e) )
26102650   ROM_LOAD16_BYTE( "kb_u5_v104.u5",     0x200000, 0x080000, CRC(a0bafc29) SHA1(b20db7c16353c6f87ed3c08c9d037b07336711f1) )
26112651
2612   /* CPU2 = Z80, romless, code uploaded by 68k */
2613
26142652   ROM_REGION( 0x010000, "igs022data", 0 ) /* Protection Data */
26152653   ROM_LOAD16_WORD_SWAP( "kb_u2_v104.u2", 0x000000, 0x010000,  CRC(c970f6d5) SHA1(399fc6f80262784c566363c847dc3fdc4fb37494) )
26162654
2617   ROM_REGION( 0x800000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2618   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2655   ROM_REGION( 0x800000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2656   PGM_VIDEO_BIOS
26192657   ROM_LOAD( "t0300.u14",    0x400000, 0x400000, CRC(0922f7d9) SHA1(4302b4b7369e13f315fad14f7d6cad1321101d24) )
26202658
2621   ROM_REGION( 0x800000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2622   /* 32x32 Tile Data is put here for easier Decoding */
2623
2624   ROM_REGION( 0x2000000, "gfx3", 0 ) /* Sprite Colour Data */
2659   ROM_REGION( 0x2000000, "sprcol", 0 ) /* Sprite Colour Data */
26252660   ROM_LOAD( "a0300.u9",   0x0000000, 0x0400000,  CRC(3f9455d3) SHA1(3718ce00ad93975383aafc14e5a74dc297b011a1) )
26262661   ROM_LOAD( "a0301.u10",  0x0400000, 0x0400000,  CRC(92776889) SHA1(6d677837fefff47bfd1c6166322f69f89989a5e2) )
26272662   ROM_LOAD( "a0303.u11",  0x0800000, 0x0400000,  CRC(33f5cc69) SHA1(9cacd5058d4bb25b77f71658bbbbd4b38d0a6b6a) )
r8054r8055
26312666//  ROM_LOAD( "a0304.u4",   0x1600000, 0x0200000,  CRC(3096de1c) SHA1(d010990d21cfda9cb8ab5b4bc0e329c23b7719f5) ) // from lord of gun! unused..
26322667//  ROM_LOAD( "a0305.u5",   0x1800000, 0x0200000,  CRC(2234531e) SHA1(58a82e31a1c0c1a4dd026576319f4e7ecffd140e) ) // from lord of gun! unused..
26332668
2634   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2669   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
26352670   ROM_LOAD( "b0300.u13",    0x0000000, 0x0400000, CRC(7f876981) SHA1(43555a200929ad5ecc42137fc9aeb42dc4f50d20) )
26362671   ROM_LOAD( "b0302.u14",    0x0400000, 0x0400000, CRC(eea9c502) SHA1(04b3972c7111ea59a3cceab6ad124080c4ce3520) )
26372672   ROM_LOAD( "b0303.u15",    0x0800000, 0x0200000, CRC(77a9652e) SHA1(2342f643d37945fbda224a5034c013796e5134ca) )
26382673//  ROM_LOAD( "b0301.u8",     0x0a00000, 0x0200000, CRC(400abe33) SHA1(20de1eb626424ea41bd55eb3cecd6b50be744ee0) ) // from lord of gun! unused..
26392674
26402675   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2641   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2676   PGM_AUDIO_BIOS
26422677   ROM_LOAD( "m0300.u1",     0x400000, 0x400000, CRC(93159695) SHA1(50c5976c9b681bd3d1ebefa3bfa9fe6e72dcb96f) )
26432678ROM_END
26442679
r8054r8055
27022737   ROM_LOAD16_BYTE( "v100mg.u1",     0x100001, 0x080000, CRC(5788b77d) SHA1(7770aae6e686da92b2623c977d1bc8f019f48267) )
27032738   ROM_LOAD16_BYTE( "v100mg.u2",     0x100000, 0x080000, CRC(4c79d979) SHA1(3b92052a35994f2b3dd164930154184c45d5e2d0) )
27042739
2705   /* CPU2 = Z80, romless, code uploaded by 68k */
2706
27072740   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
27082741   ROM_LOAD( "puzlstar_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
27092742
2710   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2711   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2743   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2744   PGM_VIDEO_BIOS
27122745   ROM_LOAD( "t0800.u5",    0x400000, 0x200000, CRC(f9d84e59) SHA1(80ec77025ac5bf355b1a60f2a678dd4c56071f6b) )
27132746
2714   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2715   /* 32x32 Tile Data is put here for easier Decoding */
2716
2717   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2747   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
27182748   ROM_LOAD( "a0800.u1",    0x0000000, 0x0400000, CRC(e1e6ec40) SHA1(390432431f144ef63424a426582b311765a61771) )
27192749
2720   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2750   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
27212751   ROM_LOAD( "b0800.u3",    0x0000000, 0x0200000, CRC(52e7bef5) SHA1(a678251b7e46a1016d0afc1d8d5c9928008ad5b1) )
27222752
27232753   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2724   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2754   PGM_AUDIO_BIOS
27252755   ROM_LOAD( "m0800.u2",    0x400000, 0x400000,  CRC(e1a46541) SHA1(6fe9de5700d8638374734d80551dcedb62975140) )
27262756ROM_END
27272757
r8054r8055
27902820   ROM_LOAD16_BYTE( "sp_v101.u5",      0x200000, 0x080000,   CRC(58662e12) SHA1(2b39bd847e9c4968a8e77a2f3cec77cf323ceee3) )
27912821   ROM_LOAD16_WORD_SWAP( "sp_v101.u1",0x300000, 0x080000,    CRC(2b2f4f1e) SHA1(67b97cf8cc7f517d67cd45588addd2ad8e24612a) )
27922822
2793   /* CPU2 = Z80, romless, code uploaded by 68k */
2794
27952823   ROM_REGION( 0x010000, "user1", 0 ) /* IGS028 Protection Data */
27962824   ROM_LOAD( "sp_v101.u6", 0x000000, 0x010000,  CRC(097046bc) SHA1(6d75db85cf4c79b63e837897785c253014b2126d) )
27972825
r8054r8055
27992827   // clearly not for this revision
28002828   ROM_LOAD( "ram_dump", 0x000000, 0x04000, CRC(280cfb4e) SHA1(cd2bdcaa21347952c2bf38b105a204d327fde39e) )
28012829
2802   ROM_REGION( 0xc00000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2803   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2830   ROM_REGION( 0xc00000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2831   PGM_VIDEO_BIOS
28042832   ROM_LOAD( "t0500.rom",    0x400000, 0x400000, CRC(d881726c) SHA1(a82517e665996f7b7017c940f1fcf016fccb65c2) )
28052833   ROM_LOAD( "t0501.rom",    0x800000, 0x200000, CRC(d2106864) SHA1(65d827135b87d82196433aea3279608ee263feca) )
28062834
2807   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2808   /* 32x32 Tile Data is put here for easier Decoding */
2809
2810   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2835   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
28112836   ROM_LOAD( "a0500.rom",    0x0000000, 0x400000, CRC(80a59197) SHA1(7d0108e2f0d0347d43ace2d96c0388202c05fdfb) )
28122837   ROM_LOAD( "a0501.rom",    0x0400000, 0x400000, CRC(98c931b1) SHA1(9b70d1a7beb4c3a0c1436c25fd1fb76e47539538) )
28132838   ROM_LOAD( "a0502.rom",    0x0800000, 0x400000, CRC(c3fcdf1d) SHA1(107585fd103fcd0af0fb7db283be4f7c7058aef7) )
r8054r8055
28162841   ROM_LOAD( "a0505.rom",    0x1400000, 0x400000, CRC(5b8cf3a5) SHA1(856d1e47b5d9a66dcfbdc74a51ed646fd7d96a35) )
28172842   ROM_LOAD( "a0506.rom",    0x1800000, 0x400000, CRC(087ac60c) SHA1(3d5bf7dd40c8a3c1224cf82e12410ca904c0c5db) )
28182843
2819   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2844   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
28202845   ROM_LOAD( "b0500.rom",    0x0000000, 0x400000, CRC(cde07f74) SHA1(1fe90db7c57faa28f3a054b2c07909bef89e3efb) )
28212846   ROM_LOAD( "b0501.rom",    0x0400000, 0x400000, CRC(1546c2e9) SHA1(a7b9c8b44203db54a59d49fe469bb52bba807ba2) )
28222847   ROM_LOAD( "b0502.rom",    0x0800000, 0x400000, CRC(e97b31c3) SHA1(1a7ca4f6c8644e84a33ae41cd4637f21046b14c5) )
r8054r8055
28242849
28252850
28262851   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2827   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2852   PGM_AUDIO_BIOS
28282853   ROM_LOAD( "m0500.rom",    0x400000, 0x200000, CRC(37928cdd) SHA1(e80498cabc2a6a54d4f3ebcb097d4b3fad96fe55) )
28292854ROM_END
28302855
r8054r8055
28372862   ROM_LOAD16_BYTE( "v100-u5.040",      0x200000, 0x080000,  CRC(b4a1cafb) SHA1(b2fccd480ede93f58ad043387b18b898152f06ef) )
28382863   ROM_LOAD16_WORD_SWAP( "v100-u1.040", 0x300000, 0x080000,  CRC(37ea4e75) SHA1(a94fcb89da3394a43d360f885419677f511d2580) )
28392864
2840   /* CPU2 = Z80, romless, code uploaded by 68k */
2841
28422865   ROM_REGION( 0x4000, "user2", ROMREGION_ERASEFF ) /* its a dump of the shared protection rom/ram from pcb. */
28432866   // used to simulate encrypted DMA protection device for now ..
28442867   ROM_LOAD( "ram_dump", 0x000000, 0x04000, CRC(280cfb4e) SHA1(cd2bdcaa21347952c2bf38b105a204d327fde39e) )
r8054r8055
28462869   ROM_REGION( 0x010000, "user1", 0 ) /* IGS028 Protection Data */
28472870   ROM_LOAD( "kd-u6.512", 0x000000, 0x010000,  CRC(e7613dda) SHA1(0d7c043b90e2f9a36a45066f22e3e305dc716676) )
28482871
2849   ROM_REGION( 0xc00000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2850   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2872   ROM_REGION( 0xc00000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2873   PGM_VIDEO_BIOS
28512874   ROM_LOAD( "t0500.rom",    0x400000, 0x400000, CRC(d881726c) SHA1(a82517e665996f7b7017c940f1fcf016fccb65c2) )
28522875   ROM_LOAD( "t0501.rom",    0x800000, 0x200000, CRC(d2106864) SHA1(65d827135b87d82196433aea3279608ee263feca) )
28532876
2854   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2855   /* 32x32 Tile Data is put here for easier Decoding */
2856
2857   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2877   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
28582878   ROM_LOAD( "a0500.rom",    0x0000000, 0x400000, CRC(80a59197) SHA1(7d0108e2f0d0347d43ace2d96c0388202c05fdfb) )
28592879   ROM_LOAD( "a0501.rom",    0x0400000, 0x400000, CRC(98c931b1) SHA1(9b70d1a7beb4c3a0c1436c25fd1fb76e47539538) )
28602880   ROM_LOAD( "a0502.rom",    0x0800000, 0x400000, CRC(c3fcdf1d) SHA1(107585fd103fcd0af0fb7db283be4f7c7058aef7) )
r8054r8055
28632883   ROM_LOAD( "a0505.rom",    0x1400000, 0x400000, CRC(5b8cf3a5) SHA1(856d1e47b5d9a66dcfbdc74a51ed646fd7d96a35) )
28642884   ROM_LOAD( "a0506.rom",    0x1800000, 0x400000, CRC(087ac60c) SHA1(3d5bf7dd40c8a3c1224cf82e12410ca904c0c5db) )
28652885
2866   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2886   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
28672887   ROM_LOAD( "b0500.rom",    0x0000000, 0x400000, CRC(cde07f74) SHA1(1fe90db7c57faa28f3a054b2c07909bef89e3efb) )
28682888   ROM_LOAD( "b0501.rom",    0x0400000, 0x400000, CRC(1546c2e9) SHA1(a7b9c8b44203db54a59d49fe469bb52bba807ba2) )
28692889   ROM_LOAD( "b0502.rom",    0x0800000, 0x400000, CRC(e97b31c3) SHA1(1a7ca4f6c8644e84a33ae41cd4637f21046b14c5) )
28702890   ROM_LOAD( "b0503.u16",    0x0c00000, 0x400000, CRC(e41d98e4) SHA1(f80b27fcee81762993e09bf1b3cad6e85274760c) )
28712891
28722892   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2873   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2893   PGM_AUDIO_BIOS
28742894   ROM_LOAD( "m0500.rom",    0x400000, 0x200000, CRC(37928cdd) SHA1(e80498cabc2a6a54d4f3ebcb097d4b3fad96fe55) )
28752895ROM_END
28762896
r8054r8055
28812901   /* this rom had a lame hack applied to it by the dumper, this was removed, hopefully it is correct now */
28822902   ROM_LOAD16_WORD_SWAP( "p0500.v10",    0x100000, 0x400000, CRC(8981fc87) SHA1(678d6705d06b99bca5951ff77708adadc4c4396b) )
28832903
2884   /* CPU2 = Z80, romless, code uploaded by 68k */
2885
28862904   ROM_REGION( 0x010000, "user1", ROMREGION_ERASEFF ) /* IGS028 Protection Data */
28872905   /* missing from this set .. */
28882906
r8054r8055
28902908   // used to simulate encrypted DMA protection device for now ..
28912909   ROM_LOAD( "ram_dump", 0x000000, 0x04000, CRC(280cfb4e) SHA1(cd2bdcaa21347952c2bf38b105a204d327fde39e) )
28922910
2893   ROM_REGION( 0xc00000, "gfx1",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2894   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2911   ROM_REGION( 0xc00000, "tiles",  0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2912   PGM_VIDEO_BIOS
28952913   ROM_LOAD( "t0500.rom",    0x400000, 0x400000, CRC(d881726c) SHA1(a82517e665996f7b7017c940f1fcf016fccb65c2) )
28962914   ROM_LOAD( "t0501.rom",    0x800000, 0x200000, CRC(d2106864) SHA1(65d827135b87d82196433aea3279608ee263feca) )
28972915
2898   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2899   /* 32x32 Tile Data is put here for easier Decoding */
2900
2901   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
2916   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
29022917   ROM_LOAD( "a0500.rom",    0x0000000, 0x400000, CRC(80a59197) SHA1(7d0108e2f0d0347d43ace2d96c0388202c05fdfb) )
29032918   ROM_LOAD( "a0501.rom",    0x0400000, 0x400000, CRC(98c931b1) SHA1(9b70d1a7beb4c3a0c1436c25fd1fb76e47539538) )
29042919   ROM_LOAD( "a0502.rom",    0x0800000, 0x400000, CRC(c3fcdf1d) SHA1(107585fd103fcd0af0fb7db283be4f7c7058aef7) )
r8054r8055
29072922   ROM_LOAD( "a0505.rom",    0x1400000, 0x400000, CRC(5b8cf3a5) SHA1(856d1e47b5d9a66dcfbdc74a51ed646fd7d96a35) )
29082923   ROM_LOAD( "a0506.rom",    0x1800000, 0x400000, CRC(087ac60c) SHA1(3d5bf7dd40c8a3c1224cf82e12410ca904c0c5db) )
29092924
2910   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2925   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
29112926   ROM_LOAD( "b0500.rom",    0x0000000, 0x400000, CRC(cde07f74) SHA1(1fe90db7c57faa28f3a054b2c07909bef89e3efb) )
29122927   ROM_LOAD( "b0501.rom",    0x0400000, 0x400000, CRC(1546c2e9) SHA1(a7b9c8b44203db54a59d49fe469bb52bba807ba2) )
29132928   ROM_LOAD( "b0502.rom",    0x0800000, 0x400000, CRC(e97b31c3) SHA1(1a7ca4f6c8644e84a33ae41cd4637f21046b14c5) )
29142929   ROM_LOAD( "b0503.u16",    0x0c00000, 0x400000, CRC(e41d98e4) SHA1(f80b27fcee81762993e09bf1b3cad6e85274760c) )
29152930
29162931   ROM_REGION( 0x600000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2917   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2932   PGM_AUDIO_BIOS
29182933   ROM_LOAD( "m0500.rom",    0x400000, 0x200000, CRC(37928cdd) SHA1(e80498cabc2a6a54d4f3ebcb097d4b3fad96fe55) )
29192934ROM_END
29202935
r8054r8055
29242939   PGM_68K_BIOS
29252940   ROM_LOAD16_WORD_SWAP( "u18.107",      0x100000, 0x400000, CRC(661a5b2c) SHA1(125054fabc93d4f4cba869c3e6adf863650d30cf) )
29262941
2927   /* CPU2 = Z80, romless, code uploaded by 68k */
2928
29292942   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
29302943   ROM_LOAD( "kov2_v100_hongkong.asic", 0x000000, 0x04000,  CRC(e0d7679f) SHA1(e1c2d127eba4ddbeb8ad173c55b90ac1467e1ca8) )
29312944
29322945   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
29332946   ROM_LOAD( "u19.102", 0x000000, 0x200000,   CRC(462e2980) SHA1(3da7c3d2c65b59f50c78be1c25922b71d40f6080) )
29342947
2935   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2936   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2948   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2949   PGM_VIDEO_BIOS
29372950   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
29382951
2939   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2940   /* 32x32 Tile Data is put here for easier Decoding */
2941
2942   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
2952   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
29432953   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
29442954   ROM_LOAD( "a1201.rom",    0x0800000, 0x0800000, CRC(82f0a878) SHA1(ddd13e404252a71de1b2b3b974b910f899f51c38) )
29452955   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
29462956   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
29472957   ROM_LOAD( "a1204.rom",    0x2000000, 0x0800000, CRC(27527099) SHA1(e23cf366bdeaca1e009a5cec6b13164310a34384) )
29482958
2949   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2959   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
29502960   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
29512961   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
29522962
29532963   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2954   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2964   PGM_AUDIO_BIOS
29552965   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
29562966ROM_END
29572967
r8054r8055
29602970   PGM_68K_BIOS
29612971   ROM_LOAD16_WORD_SWAP( "u18.106",    0x100000, 0x400000, CRC(40051ad9) SHA1(ba2ddf267fe688d5dfed575aeeccbab10135b37b) )
29622972
2963   /* CPU2 = Z80, romless, code uploaded by 68k */
2964
29652973   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
29662974   ROM_LOAD( "kov2_v100_hongkong.asic", 0x000000, 0x04000,  CRC(e0d7679f) SHA1(e1c2d127eba4ddbeb8ad173c55b90ac1467e1ca8) )
29672975
29682976   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
29692977   ROM_LOAD( "u19.102", 0x000000, 0x200000,   CRC(462e2980) SHA1(3da7c3d2c65b59f50c78be1c25922b71d40f6080) )
29702978
2971   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2972   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
2979   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
2980   PGM_VIDEO_BIOS
29732981   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
29742982
2975   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
2976   /* 32x32 Tile Data is put here for easier Decoding */
2977
2978   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
2983   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
29792984   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
29802985   ROM_LOAD( "a1201.rom",    0x0800000, 0x0800000, CRC(82f0a878) SHA1(ddd13e404252a71de1b2b3b974b910f899f51c38) )
29812986   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
29822987   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
29832988   ROM_LOAD( "a1204.rom",    0x2000000, 0x0800000, CRC(27527099) SHA1(e23cf366bdeaca1e009a5cec6b13164310a34384) )
29842989
2985   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
2990   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
29862991   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
29872992   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
29882993
29892994   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
2990   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
2995   PGM_AUDIO_BIOS
29912996   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
29922997ROM_END
29932998
r8054r8055
29973002   PGM_68K_BIOS
29983003   ROM_LOAD16_WORD_SWAP( "u18.103",    0x100000, 0x400000, CRC(98c32f76) SHA1(ec7e35e8071bb7097e415493be4e40be0ca19fd6) )
29993004
3000   /* CPU2 = Z80, romless, code uploaded by 68k */
3001
30023005   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
30033006   ROM_LOAD( "kov2_v100_hongkong.asic", 0x000000, 0x04000,  CRC(e0d7679f) SHA1(e1c2d127eba4ddbeb8ad173c55b90ac1467e1ca8) )
30043007
30053008   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
30063009   ROM_LOAD( "u19.101", 0x000000, 0x200000, CRC(8c35f2fe) SHA1(d4858f97fcfad0f342fccbc9cf1590276cc3c69c) )
30073010
3008   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3009   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3011   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3012   PGM_VIDEO_BIOS
30103013   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
30113014
3012   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3013   /* 32x32 Tile Data is put here for easier Decoding */
3014
3015   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3015   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
30163016   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
30173017   ROM_LOAD( "a1201.rom",    0x0800000, 0x0800000, CRC(82f0a878) SHA1(ddd13e404252a71de1b2b3b974b910f899f51c38) )
30183018   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
30193019   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
30203020   ROM_LOAD( "a1204.rom",    0x2000000, 0x0800000, CRC(27527099) SHA1(e23cf366bdeaca1e009a5cec6b13164310a34384) )
30213021
3022   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3022   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
30233023   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
30243024   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
30253025
30263026   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3027   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3027   PGM_AUDIO_BIOS
30283028   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
30293029ROM_END
30303030
r8054r8055
30343034   PGM_68K_BIOS
30353035   ROM_LOAD16_WORD_SWAP( "u18.102",    0x100000, 0x400000, CRC(a2489c37) SHA1(77ea7cdec211848296dafd45bee1d042133ea2a6) )
30363036
3037   /* CPU2 = Z80, romless, code uploaded by 68k */
3038
30393037   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
30403038   ROM_LOAD( "kov2_v100_hongkong.asic", 0x000000, 0x04000,  CRC(e0d7679f) SHA1(e1c2d127eba4ddbeb8ad173c55b90ac1467e1ca8) )
30413039
30423040   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
30433041   ROM_LOAD( "u19.101", 0x000000, 0x200000, CRC(8c35f2fe) SHA1(d4858f97fcfad0f342fccbc9cf1590276cc3c69c) )
30443042
3045   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3046   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3043   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3044   PGM_VIDEO_BIOS
30473045   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
30483046
3049   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3050   /* 32x32 Tile Data is put here for easier Decoding */
3051
3052   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3047   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
30533048   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
30543049   ROM_LOAD( "a1201.rom",    0x0800000, 0x0800000, CRC(82f0a878) SHA1(ddd13e404252a71de1b2b3b974b910f899f51c38) )
30553050   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
30563051   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
30573052   ROM_LOAD( "a1204.rom",    0x2000000, 0x0800000, CRC(27527099) SHA1(e23cf366bdeaca1e009a5cec6b13164310a34384) )
30583053
3059   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3054   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
30603055   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
30613056   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
30623057
30633058   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3064   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3059   PGM_AUDIO_BIOS
30653060   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
30663061ROM_END
30673062
r8054r8055
30703065   PGM_68K_BIOS
30713066   ROM_LOAD16_WORD_SWAP( "igs_u18.rom",    0x100000, 0x400000, CRC(86205879) SHA1(f73d5b70b41d39be1cac75e474b025de2cce0b01) )
30723067
3073   /* CPU2 = Z80, romless, code uploaded by 68k */
3074
30753068   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
30763069   ROM_LOAD( "kov2_v100_hongkong.asic", 0x000000, 0x04000,  CRC(e0d7679f) SHA1(e1c2d127eba4ddbeb8ad173c55b90ac1467e1ca8) )
30773070
30783071   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
30793072   ROM_LOAD( "u19.100", 0x000000, 0x200000,   CRC(edd59922) SHA1(09b14f20f685944a93292c83e5830849aade42c9) )
30803073
3081   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3082   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3074   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3075   PGM_VIDEO_BIOS
30833076   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
30843077
3085   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3086   /* 32x32 Tile Data is put here for easier Decoding */
3087
3088   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3078   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
30893079   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
30903080   ROM_LOAD( "a1201.rom",    0x0800000, 0x0800000, CRC(82f0a878) SHA1(ddd13e404252a71de1b2b3b974b910f899f51c38) )
30913081   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
30923082   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
30933083   ROM_LOAD( "a1204.rom",    0x2000000, 0x0800000, CRC(27527099) SHA1(e23cf366bdeaca1e009a5cec6b13164310a34384) )
30943084
3095   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3085   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
30963086   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
30973087   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
30983088
30993089   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3100   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3090   PGM_AUDIO_BIOS
31013091   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
31023092ROM_END
31033093
r8054r8055
31063096   PGM_68K_BIOS
31073097   ROM_LOAD16_WORD_SWAP( "v204-32m.rom",    0x100000, 0x400000, CRC(583e0650) SHA1(2e5656dd9c6cba9f84af9baa3f5f70cdccf9db47) )
31083098
3109   /* CPU2 = Z80, romless, code uploaded by 68k */
3110
31113099   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
31123100   ROM_LOAD( "kov2p_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
31133101
31143102   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
31153103   ROM_LOAD( "v200-16.rom", 0x000000, 0x200000,  CRC(16a0c11f) SHA1(ce449cef76ebd5657d49b57951e2eb0f132e203e) )
31163104
3117   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3118   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3105   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3106   PGM_VIDEO_BIOS
31193107   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
31203108
3121   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3122   /* 32x32 Tile Data is put here for easier Decoding */
3123
3124   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3109   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
31253110   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
31263111   ROM_LOAD( "a1201.rom_p",  0x0800000, 0x0800000, CRC(21063ca7) SHA1(cf561b44902425a920d5cbea5bf65dd9530b2289) ) // either this or a1201.rom in kov2 is probably bad
31273112   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
31283113   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
31293114   ROM_LOAD( "a1204.rom_p",  0x2000000, 0x0200000, CRC(14b4b5bb) SHA1(d7db5740eec971f2782fb2885ee3af8f2a796550) ) // either this or a1204.rom in kov2 is probably bad
31303115
3131   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3116   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
31323117   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
31333118   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
31343119
31353120   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3136   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3121   PGM_AUDIO_BIOS
31373122   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
31383123ROM_END
31393124
r8054r8055
31423127   PGM_68K_BIOS
31433128   ROM_LOAD16_WORD_SWAP( "u8-27322.rom",    0x100000, 0x400000, CRC(3a2cc0de) SHA1(d7511478b34bfb03b2fb5b8268b60502d05b9414) )
31443129
3145   /* CPU2 = Z80, romless, code uploaded by 68k */
3146
31473130   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
31483131   ROM_LOAD( "kov2p_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
31493132
31503133   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
31513134   ROM_LOAD( "v200-16.rom", 0x000000, 0x200000,  CRC(16a0c11f) SHA1(ce449cef76ebd5657d49b57951e2eb0f132e203e) )
31523135
3153   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3154   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3136   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3137   PGM_VIDEO_BIOS
31553138   ROM_LOAD( "t1200.rom",    0x400000, 0x800000, CRC(d7e26609) SHA1(bdad810f82fcf1d50a8791bdc495374ec5a309c6) )
31563139
3157   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3158   /* 32x32 Tile Data is put here for easier Decoding */
3159
3160   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3140   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
31613141   ROM_LOAD( "a1200.rom",    0x0000000, 0x0800000, CRC(ceeb81d8) SHA1(5476729443fc1bc9593ae10fbf7cbc5d7290b017) )
31623142   ROM_LOAD( "a1201.rom_p",  0x0800000, 0x0800000, CRC(21063ca7) SHA1(cf561b44902425a920d5cbea5bf65dd9530b2289) ) // either this or a1201.rom in kov2 is probably bad
31633143   ROM_LOAD( "a1202.rom",    0x1000000, 0x0800000, CRC(4bb92fae) SHA1(f0b6d72ed425de1c69dc8f8d5795ea760a4a59b0) )
31643144   ROM_LOAD( "a1203.rom",    0x1800000, 0x0800000, CRC(e73cb627) SHA1(4c6e48b845a5d1e8f9899010fbf273d54c2b8899) )
31653145   ROM_LOAD( "a1204.rom_p",  0x2000000, 0x0200000, CRC(14b4b5bb) SHA1(d7db5740eec971f2782fb2885ee3af8f2a796550) ) // either this or a1204.rom in kov2 is probably bad
31663146
3167   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3147   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
31683148   ROM_LOAD( "b1200.rom",   0x0000000, 0x0800000,  CRC(bed7d994) SHA1(019dfba8154256d64cd249eb0fa4c451edce34b8) )
31693149   ROM_LOAD( "b1201.rom",   0x0800000, 0x0800000,  CRC(f251eb57) SHA1(56a5fc14ab7822f83379cecb26638e5bb266349a) )
31703150
31713151   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3172   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3152   PGM_AUDIO_BIOS
31733153   ROM_LOAD( "m1200.rom",    0x800000, 0x800000, CRC(b0d88720) SHA1(44ab137e3f8e15b7cb5697ffbd9b1143d8210c4f) )
31743154ROM_END
31753155
r8054r8055
31933173   PGM_68K_BIOS
31943174   ROM_LOAD16_WORD_SWAP( "v100.u8", 0x100000, 0x200000, CRC(0c8aa8ea) SHA1(57e33224622607a1df8daabf26ba063cf8a6d3fc) )
31953175
3196   /* CPU2 = Z80, romless, code uploaded by 68k */
3197
31983176   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
31993177   ROM_LOAD( "ddp2_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
32003178
32013179   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
32023180   ROM_LOAD( "v100.u23", 0x000000, 0x20000, CRC(06c3dd29) SHA1(20c9479f158467fc2037dcf162b6c6be18c91d46) )
32033181
3204   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3205   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3182   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3183   PGM_VIDEO_BIOS
32063184   ROM_LOAD( "t1300.u21",    0x400000, 0x800000, CRC(e748f0cb) SHA1(5843bee3a17c33648ce904af2b98c6a90aff7393) )
32073185
3208   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3209   /* 32x32 Tile Data is put here for easier Decoding */
3210
3211   ROM_REGION( 0x1000000, "gfx3", 0 ) /* Sprite Colour Data */
3186   ROM_REGION( 0x1000000, "sprcol", 0 ) /* Sprite Colour Data */
32123187   ROM_LOAD( "a1300.u1",    0x0000000, 0x0800000, CRC(fc87a405) SHA1(115c21ecc56997652e527c92654076870bc9fa51) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
32133188   ROM_LOAD( "a1301.u2",    0x0800000, 0x0800000, CRC(0c8520da) SHA1(390317857ae5baa94a4cc042874b00a811f06a63) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
32143189
3215   ROM_REGION( 0x0800000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3190   ROM_REGION( 0x0800000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
32163191   ROM_LOAD( "b1300.u7",    0x0000000, 0x0800000,  CRC(ef646604) SHA1(d737ff513792962f18df88c2caa9dd71de449079) )
32173192
32183193   ROM_REGION( 0x800000, "ics", ROMREGION_ERASE00 ) /* Samples - (8 bit mono 11025Hz) - */
3219   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3194   PGM_AUDIO_BIOS
32203195   ROM_LOAD( "m1300.u5",    0x400000, 0x400000, CRC(82d4015d) SHA1(d4cdc1aec1c97cf23ff7a20ccaad822962e66ffa) )
32213196ROM_END
32223197
r8054r8055
32253200   PGM_68K_BIOS
32263201   ROM_LOAD16_WORD_SWAP( "v102.u8", 0x100000, 0x200000, CRC(5a9ea040) SHA1(51eaec46c368f7cfc5245e64896092f52b1193e0) )
32273202
3228   /* CPU2 = Z80, romless, code uploaded by 68k */
3229
32303203   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
32313204   ROM_LOAD( "ddp2_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
32323205
32333206   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
32343207   ROM_LOAD( "v100.u23", 0x000000, 0x20000, CRC(06c3dd29) SHA1(20c9479f158467fc2037dcf162b6c6be18c91d46) )
32353208
3236   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3237   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3209   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3210   PGM_VIDEO_BIOS
32383211   ROM_LOAD( "t1300.u21",    0x400000, 0x800000, CRC(e748f0cb) SHA1(5843bee3a17c33648ce904af2b98c6a90aff7393) )
32393212
3240   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3241   /* 32x32 Tile Data is put here for easier Decoding */
3242
3243   ROM_REGION( 0x1000000, "gfx3", 0 ) /* Sprite Colour Data */
3213   ROM_REGION( 0x1000000, "sprcol", 0 ) /* Sprite Colour Data */
32443214   ROM_LOAD( "a1300.u1",    0x0000000, 0x0800000, CRC(fc87a405) SHA1(115c21ecc56997652e527c92654076870bc9fa51) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
32453215   ROM_LOAD( "a1301.u2",    0x0800000, 0x0800000, CRC(0c8520da) SHA1(390317857ae5baa94a4cc042874b00a811f06a63) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
32463216
3247   ROM_REGION( 0x0800000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3217   ROM_REGION( 0x0800000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
32483218   ROM_LOAD( "b1300.u7",    0x0000000, 0x0800000,  CRC(ef646604) SHA1(d737ff513792962f18df88c2caa9dd71de449079) )
32493219
32503220   ROM_REGION( 0x800000, "ics", ROMREGION_ERASE00 ) /* Samples - (8 bit mono 11025Hz) - */
3251   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3221   PGM_AUDIO_BIOS
32523222   ROM_LOAD( "m1300.u5",    0x400000, 0x400000, CRC(82d4015d) SHA1(d4cdc1aec1c97cf23ff7a20ccaad822962e66ffa) )
32533223ROM_END
32543224
3225/*
32553226
3227Dragon World 2001 IGS PGM cart
3228
3229Top board
3230---------
3231PCB Number: IGS PCB-0349-01-FL
323222MHz OSC
32332x 27C4096 EPROMs at U12, U22
32341x 27C160 EPROM at U11
32352x PALs at U4, U6
32363x 62256 SRAM at U1, U23, U24
3237IGS027A at U7
3238
3239Bottom Board
3240------------
3241PCB Number: IGS PCB-0350-00T-FL-A
32424x 27C160 EPROMs at U2, U3, U7, U9
3243
3244*/
3245
3246ROM_START( dw2001 )
3247   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
3248   PGM_68K_BIOS
3249   ROM_LOAD16_WORD_SWAP( "2001.u22", 0x100000, 0x80000, CRC(5cabed92) SHA1(d513e353c5c4695b16228e0bda9388c396aa4a81) )
3250
3251   ROM_REGION( 0x4000, "prot", ROMREGION_ERASEFF ) /* ARM protection ASIC - internal rom */
3252   ROM_LOAD( "dw2001_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
3253
3254   ROM_REGION32_LE( 0x4000000, "user1", ROMREGION_ERASEFF )
3255   ROM_LOAD( "2001.u12", 0x000000, 0x80000, CRC(973db1ab) SHA1(cc35e1a8534fa5d59d888f530769bae4e08c62ca) ) // external ARM data rom (encrypted)
3256
3257   ROM_REGION( 0x600000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3258   PGM_VIDEO_BIOS
3259   ROM_LOAD( "2001.u11",    0x400000, 0x200000, CRC(1dd8d1e9) SHA1(13dc5d8e541bbd6eef9f477aa288978bccf7ebb3) )
3260
3261   ROM_REGION( 0x400000, "sprcol", 0 ) /* Sprite Colour Data */
3262   ROM_LOAD( "2001.u2",    0x000000, 0x200000, CRC(d11c733c) SHA1(8faad32e8e215631a2263bdd51a9ae434540d028) )
3263   ROM_LOAD( "2001.u3",    0x200000, 0x200000, CRC(1435aef2) SHA1(582eb9f6415c89418401be7ebad041adeb600515) )
3264
3265   ROM_REGION( 0x0200000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
3266   ROM_LOAD( "2001.u9",    0x000000, 0x200000, CRC(ccbca572) SHA1(4d3512e82cb65e5cdfcc6cb18deec9f4a6dd350a) )
3267
3268   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3269   PGM_AUDIO_BIOS
3270   ROM_LOAD( "2001.u7",      0x200000, 0x200000, CRC(4ea62f21) SHA1(318f8a1ff5d4ff029a1c4133fe7acc2fc185d112) )
3271ROM_END
3272
32563273/*
32573274
32583275Puzzli 2
r8054r8055
33123329   ROM_LOAD16_BYTE( "2sp_v200.u3",     0x100001, 0x080000, CRC(2a5ba8a6) SHA1(4c87b849fd6f39152e3e2ef699b78ce24b3fb6d0) )
33133330   ROM_LOAD16_BYTE( "2sp_v200.u4",     0x100000, 0x080000, CRC(fa5c86c1) SHA1(11c219722b891b775c0f7f9bc8276cdd8f74d657) )
33143331
3315   /* CPU2 = Z80, romless, code uploaded by 68k */
3316
33173332   ROM_REGION( 0x4000, "prot", ROMREGION_ERASEFF ) /* ARM protection ASIC - internal rom */
33183333   ROM_LOAD( "puzzli2_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
33193334
33203335   ROM_REGION32_LE( 0x4000000, "user1", ROMREGION_ERASEFF )
33213336   /* not on this PCB */
33223337
3323   ROM_REGION( 0x600000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3324   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3338   ROM_REGION( 0x600000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3339   PGM_VIDEO_BIOS
33253340   ROM_LOAD( "t0900.u9",    0x400000, 0x200000, CRC(70615611) SHA1(a46d4aa71396947b427f9ba4ba0e636876c09d6b) )
33263341
3327   ROM_REGION( 0x600000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3328   /* 32x32 Tile Data is put here for easier Decoding */
3329
3330   ROM_REGION( 0x400000, "gfx3", 0 ) /* Sprite Colour Data */
3342   ROM_REGION( 0x400000, "sprcol", 0 ) /* Sprite Colour Data */
33313343   ROM_LOAD( "a0900.u3",    0x0000000, 0x0400000, CRC(14911251) SHA1(e0d10ef50c408dbcf0907f81d4f0e49aeb651a6c) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
33323344
3333   ROM_REGION( 0x0200000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3345   ROM_REGION( 0x0200000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
33343346   ROM_LOAD( "b0900.u4",    0x0000000, 0x0200000,  CRC(6f0638b6) SHA1(14b315fe9e80b3314bb63487e6ea9ce04c9703bd) )
33353347
33363348   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3337   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3349   PGM_AUDIO_BIOS
33383350   ROM_LOAD( "m0900.u2",    0x400000, 0x400000, CRC(9ea7af2e) SHA1(d2593d391a93c5cf5a554750c32886dea6599b3d) )
33393351ROM_END
33403352
33413353
3354
33423355/*
33433356
33443357Martial Masters
r8054r8055
34033416   PGM_68K_BIOS
34043417   ROM_LOAD16_WORD_SWAP( "v104_32m.u9",    0x100000, 0x400000, CRC(cfd9dff4) SHA1(328eaf6ac49a73265ee4e0f992b1b1312f49877b) )
34053418
3406   /* CPU2 = Z80, romless, code uploaded by 68k */
3407
34083419   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
34093420   ROM_LOAD( "martial_masters_v102_usa.asic", 0x000000, 0x04000, CRC(a6c0828c) SHA1(0a5bda56dca264c3c7ff7698b8f699563f203c4d) ) // not verified, could be bad
34103421
34113422   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
34123423   ROM_LOAD( "v102_16m.u10", 0x000000, 0x200000,  CRC(18b745e6) SHA1(7bcb58dd3a2d6072f492cf0dd7181cb061c1f49d) )
34133424
3414   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3415   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3425   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3426   PGM_VIDEO_BIOS
34163427   ROM_LOAD( "t1000.u3",    0x400000, 0x800000, CRC(bbf879b5) SHA1(bd9a6aea34ad4001e89e62ff4b7a2292eb833c00) )
34173428
3418   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3419   /* 32x32 Tile Data is put here for easier Decoding */
3420
3421   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3429   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
34223430   ROM_LOAD( "a1000.u3",    0x0000000, 0x0800000, CRC(43577ac8) SHA1(6eea8b455985d5bac74dcc9943cdc3c0902de6cc) )
34233431   ROM_LOAD( "a1001.u4",    0x0800000, 0x0800000, CRC(fe7a476f) SHA1(a8c7f1f0dd3e53141aed6d927eb88a3ceebb81e4) )
34243432   ROM_LOAD( "a1002.u6",    0x1000000, 0x0800000, CRC(62e33d38) SHA1(96163d583e25073594f8413ce263e56b66bd69a1) )
34253433   ROM_LOAD( "a1003.u8",    0x1800000, 0x0800000, CRC(b2c4945a) SHA1(7b18287a2db56db3651cfd4deb607af53522fefd) )
34263434   ROM_LOAD( "a1004.u10",   0x2000000, 0x0400000, CRC(9fd3f5fd) SHA1(057531f91062be51589c6cf8f4170089b9be6380) )
34273435
3428   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3436   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
34293437   ROM_LOAD( "b1000.u9",    0x0000000, 0x0800000,  CRC(c5961f6f) SHA1(a68060b10edbd084cbde79d2ed1c9084777beb10) )
34303438   ROM_LOAD( "b1001.u11",   0x0800000, 0x0800000,  CRC(0b7e1c06) SHA1(545e15e0087f8621d593fecd8b4013f7ca311686) )
34313439
34323440   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3433   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3441   PGM_AUDIO_BIOS
34343442   ROM_LOAD( "m1000.u5",    0x400000, 0x800000, CRC(ed407ae8) SHA1(a6e9c09b39c13e8fb7fbc89fa9f823cbeb66e901) )
34353443   ROM_LOAD( "m1001.u7",    0xc00000, 0x400000, CRC(662d2d48) SHA1(2fcc3099d9c04456cae3b13035fb28eaf709e7d8) )
34363444ROM_END
r8054r8055
34403448   PGM_68K_BIOS
34413449   ROM_LOAD16_WORD_SWAP( "v104_32m.u9",    0x100000, 0x400000, CRC(cfd9dff4) SHA1(328eaf6ac49a73265ee4e0f992b1b1312f49877b) )
34423450
3443   /* CPU2 = Z80, romless, code uploaded by 68k */
3444
34453451   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
34463452   ROM_LOAD( "martial_masters_v101_cn.asic", 0x000000, 0x04000, CRC(b3e25b7d) SHA1(6147d7ee2e11636521df1bb96ed5da8ad21b2a57) ) // not verified, could be bad
34473453
34483454   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
34493455   ROM_LOAD( "v102_16m.u10", 0x000000, 0x200000,  CRC(18b745e6) SHA1(7bcb58dd3a2d6072f492cf0dd7181cb061c1f49d) )
34503456
3451   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3452   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3457   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3458   PGM_VIDEO_BIOS
34533459   ROM_LOAD( "t1000.u3",    0x400000, 0x800000, CRC(bbf879b5) SHA1(bd9a6aea34ad4001e89e62ff4b7a2292eb833c00) )
34543460
3455   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3456   /* 32x32 Tile Data is put here for easier Decoding */
3457
3458   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3461   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
34593462   ROM_LOAD( "a1000.u3",    0x0000000, 0x0800000, CRC(43577ac8) SHA1(6eea8b455985d5bac74dcc9943cdc3c0902de6cc) )
34603463   ROM_LOAD( "a1001.u4",    0x0800000, 0x0800000, CRC(fe7a476f) SHA1(a8c7f1f0dd3e53141aed6d927eb88a3ceebb81e4) )
34613464   ROM_LOAD( "a1002.u6",    0x1000000, 0x0800000, CRC(62e33d38) SHA1(96163d583e25073594f8413ce263e56b66bd69a1) )
34623465   ROM_LOAD( "a1003.u8",    0x1800000, 0x0800000, CRC(b2c4945a) SHA1(7b18287a2db56db3651cfd4deb607af53522fefd) )
34633466   ROM_LOAD( "a1004.u10",   0x2000000, 0x0400000, CRC(9fd3f5fd) SHA1(057531f91062be51589c6cf8f4170089b9be6380) )
34643467
3465   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3468   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
34663469   ROM_LOAD( "b1000.u9",    0x0000000, 0x0800000,  CRC(c5961f6f) SHA1(a68060b10edbd084cbde79d2ed1c9084777beb10) )
34673470   ROM_LOAD( "b1001.u11",   0x0800000, 0x0800000,  CRC(0b7e1c06) SHA1(545e15e0087f8621d593fecd8b4013f7ca311686) )
34683471
34693472   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3470   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3473   PGM_AUDIO_BIOS
34713474   ROM_LOAD( "m1000.u5",    0x400000, 0x800000, CRC(ed407ae8) SHA1(a6e9c09b39c13e8fb7fbc89fa9f823cbeb66e901) )
34723475   ROM_LOAD( "m1001.u7",    0xc00000, 0x400000, CRC(662d2d48) SHA1(2fcc3099d9c04456cae3b13035fb28eaf709e7d8) )
34733476ROM_END
r8054r8055
34773480   PGM_68K_BIOS
34783481   ROM_LOAD16_WORD_SWAP( "martmast_u9-v102.322",    0x100000, 0x400000, CRC(bb24b92a) SHA1(442cb9e3f51727be82f71c078c5c3e49dc1a23f0) )
34793482
3480   /* CPU2 = Z80, romless, code uploaded by 68k */
3481
34823483   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
34833484   ROM_LOAD( "martial_masters_v101_cn.asic", 0x000000, 0x04000, CRC(b3e25b7d) SHA1(6147d7ee2e11636521df1bb96ed5da8ad21b2a57) ) // not verified, could be bad
34843485
34853486   ROM_REGION32_LE( 0x400000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
34863487   ROM_LOAD( "martmast_u10-v101.160", 0x000000, 0x200000,   CRC(d5d93294) SHA1(58d0a99749f7dc05814892b508ce21b160410947) )
34873488
3488   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3489   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3489   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3490   PGM_VIDEO_BIOS
34903491   ROM_LOAD( "t1000.u3",    0x400000, 0x800000, CRC(bbf879b5) SHA1(bd9a6aea34ad4001e89e62ff4b7a2292eb833c00) )
34913492
3492   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3493   /* 32x32 Tile Data is put here for easier Decoding */
3494
3495   ROM_REGION( 0x2800000, "gfx3", 0 ) /* Sprite Colour Data */
3493   ROM_REGION( 0x2800000, "sprcol", 0 ) /* Sprite Colour Data */
34963494   ROM_LOAD( "a1000.u3",    0x0000000, 0x0800000, CRC(43577ac8) SHA1(6eea8b455985d5bac74dcc9943cdc3c0902de6cc) )
34973495   ROM_LOAD( "a1001.u4",    0x0800000, 0x0800000, CRC(fe7a476f) SHA1(a8c7f1f0dd3e53141aed6d927eb88a3ceebb81e4) )
34983496   ROM_LOAD( "a1002.u6",    0x1000000, 0x0800000, CRC(62e33d38) SHA1(96163d583e25073594f8413ce263e56b66bd69a1) )
34993497   ROM_LOAD( "a1003.u8",    0x1800000, 0x0800000, CRC(b2c4945a) SHA1(7b18287a2db56db3651cfd4deb607af53522fefd) )
35003498   ROM_LOAD( "a1004.u10",   0x2000000, 0x0400000, CRC(9fd3f5fd) SHA1(057531f91062be51589c6cf8f4170089b9be6380) )
35013499
3502   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3500   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
35033501   ROM_LOAD( "b1000.u9",    0x0000000, 0x0800000,  CRC(c5961f6f) SHA1(a68060b10edbd084cbde79d2ed1c9084777beb10) )
35043502   ROM_LOAD( "b1001.u11",   0x0800000, 0x0800000,  CRC(0b7e1c06) SHA1(545e15e0087f8621d593fecd8b4013f7ca311686) )
35053503
35063504   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3507   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3505   PGM_AUDIO_BIOS
35083506   ROM_LOAD( "m1000.u5",    0x400000, 0x800000, CRC(ed407ae8) SHA1(a6e9c09b39c13e8fb7fbc89fa9f823cbeb66e901) )
35093507   ROM_LOAD( "m1001.u7",    0xc00000, 0x400000, CRC(662d2d48) SHA1(2fcc3099d9c04456cae3b13035fb28eaf709e7d8) )
35103508ROM_END
r8054r8055
35653563   PGM_68K_BIOS
35663564   ROM_LOAD16_WORD_SWAP( "v102_16m.u5",    0x100000, 0x200000, CRC(3d4d481a) SHA1(95953b8f31343389405cc722b4177ff5adf67b62) )
35673565
3568   /* CPU2 = Z80, romless, code uploaded by 68k */
3569
35703566   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
35713567   ROM_LOAD( "dmnfrnt_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
35723568
35733569   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
35743570   ROM_LOAD( "v101_32m.u26", 0x000000, 0x400000,  CRC(93965281) SHA1(89da198aaa7ca759cb96b5f18859a477e55fd590) )
35753571
3576   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3577   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3572   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3573   PGM_VIDEO_BIOS
35783574   ROM_LOAD( "t04501.u29",    0x400000, 0x800000, CRC(900eaaac) SHA1(4033cb7b28fcadb92d5af3ea7fdd1c22747618fd) )
35793575
3580   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3581   /* 32x32 Tile Data is put here for easier Decoding */
3582
3583   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
3576   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
35843577   ROM_LOAD( "a04501.u3",    0x0000000, 0x0800000, CRC(9741bea6) SHA1(e3e904249be228628c8c2bd3495cda23586dc048) )
35853578   ROM_LOAD( "a04502.u4",    0x0800000, 0x0800000, CRC(e104f405) SHA1(124b3deed3e838f8bae6c7d78bdd788859597585) )
35863579   ROM_LOAD( "a04503.u6",    0x1000000, 0x0800000, CRC(bfd5cfe3) SHA1(fbe4c0a2987c2036df707b86597d78124ee2e665) )
35873580
3588   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3581   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
35893582   ROM_LOAD( "b04501.u9",    0x0000000, 0x0800000,  CRC(29320b7d) SHA1(59c78805e666f912df201c34616744f46057937b) )
35903583   ROM_LOAD( "b04502.u11",   0x0800000, 0x0200000,  CRC(578c00e9) SHA1(14235cc8b0f8c7dd659512f017a2d4aacd91d89d) )
35913584
35923585   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3593   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3586   PGM_AUDIO_BIOS
35943587   ROM_LOAD( "w04501.u5",    0x400000, 0x800000, CRC(3ab58137) SHA1(b221f7e551ff0bfa3fd97b6ebedbac69442a66e9) )
35953588ROM_END
35963589
r8054r8055
35993592   PGM_68K_BIOS
36003593   ROM_LOAD16_WORD_SWAP( "v105_16m.u5",    0x100000, 0x200000, CRC(bda083bd) SHA1(58d6438737a2c43aa8bbcb7f34fb51375b781b1c) )
36013594
3602   /* CPU2 = Z80, romless, code uploaded by 68k */
3603
36043595   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
36053596   ROM_LOAD( "dmnfrnt_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
36063597
36073598   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
36083599   ROM_LOAD( "v105_32m.u26", 0x000000, 0x400000,  CRC(d200ee63) SHA1(3128c27c5f5a4361d31e7b4bb006de631b3a228c) )
36093600
3610   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3611   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3601   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3602   PGM_VIDEO_BIOS
36123603   ROM_LOAD( "t04501.u29",    0x400000, 0x800000, CRC(900eaaac) SHA1(4033cb7b28fcadb92d5af3ea7fdd1c22747618fd) )
36133604
3614   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3615   /* 32x32 Tile Data is put here for easier Decoding */
3616
3617   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
3605   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
36183606   ROM_LOAD( "a04501.u3",    0x0000000, 0x0800000, CRC(9741bea6) SHA1(e3e904249be228628c8c2bd3495cda23586dc048) )
36193607   ROM_LOAD( "a04502.u4",    0x0800000, 0x0800000, CRC(e104f405) SHA1(124b3deed3e838f8bae6c7d78bdd788859597585) )
36203608   ROM_LOAD( "a04503.u6",    0x1000000, 0x0800000, CRC(bfd5cfe3) SHA1(fbe4c0a2987c2036df707b86597d78124ee2e665) )
36213609
3622   ROM_REGION( 0xc00000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3610   ROM_REGION( 0xc00000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
36233611   ROM_LOAD( "b04501.u9",    0x0000000, 0x0800000,  CRC(29320b7d) SHA1(59c78805e666f912df201c34616744f46057937b) )
36243612   ROM_LOAD( "b04502.u11",   0x0800000, 0x0200000,  CRC(578c00e9) SHA1(14235cc8b0f8c7dd659512f017a2d4aacd91d89d) )
36253613
36263614   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3627   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3615   PGM_AUDIO_BIOS
36283616   ROM_LOAD( "w04501.u5",    0x400000, 0x800000, CRC(3ab58137) SHA1(b221f7e551ff0bfa3fd97b6ebedbac69442a66e9) )
36293617ROM_END
36303618
r8054r8055
36333621   PGM_68K_BIOS
36343622   ROM_LOAD16_WORD_SWAP( "u6.rom",       0x100000, 0x080000, CRC(14c85212) SHA1(8d2489708e176a2c460498a13173be01f645b79e) )
36353623
3636   /* CPU2 = Z80, romless, code uploaded by 68k */
3637
36383624   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
36393625   ROM_LOAD( "theglad_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
36403626
36413627   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
36423628   ROM_LOAD( "u2.rom", 0x000000, 0x200000,  CRC(c7bcf2ae) SHA1(10bc012c83987f594d5375a51bc4be2e17568a81) )
36433629
3644   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3645   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3630   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3631   PGM_VIDEO_BIOS
36463632   ROM_LOAD( "t04601.u33",   0x400000, 0x800000, CRC(e5dab371) SHA1(2e3c93958eb0326b6b84b95c2168626f26bbac76) )
36473633
3648   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3649   /* 32x32 Tile Data is put here for easier Decoding */
3650
3651   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
3634   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
36523635   ROM_LOAD( "a04601.u2",    0x0000000, 0x0800000,  CRC(d9b2e004) SHA1(8e1882b800fe9f12d7d49303e7417ba5b6f8ef85) )
36533636   ROM_LOAD( "a04602.u4",    0x0800000, 0x0800000,  CRC(14f22308) SHA1(7fad54704e8c97eab723f53dfb50fb3e7bb606d2) )
36543637   ROM_LOAD( "a04603.u6",    0x1000000, 0x0800000,  CRC(8f621e17) SHA1(b0f87f378e0115d0c95017ca0f1b0d508827a7c6) )
36553638
3656   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3639   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
36573640   ROM_LOAD( "b04601.u11",   0x0000000, 0x0800000, CRC(ee72bccf) SHA1(73c25fe659f6c903447066e4ef83d2f580449d76) )
36583641   ROM_LOAD( "b04602.u12",   0x0800000, 0x0400000, CRC(7dba9c38) SHA1(a03d509274e8f6a500a7ebe2da5aab8bed4e7f2f) )
36593642
36603643   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3661   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3644   PGM_AUDIO_BIOS
36623645   ROM_LOAD( "w04601.u1",    0x400000, 0x800000, CRC(5f15ddb3) SHA1(c38dcef8e06802a84e42a7fc9fa505475fc3ac65) )
36633646ROM_END
36643647
r8054r8055
36673650   PGM_68K_BIOS
36683651   ROM_LOAD16_WORD_SWAP( "v101.u6",      0x100000, 0x080000, CRC(f799e866) SHA1(dccc3c903357c40c3cf85ac0ae8fc12fb0f853a6) )
36693652
3670   /* CPU2 = Z80, romless, code uploaded by 68k */
3671
36723653   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
36733654   ROM_LOAD( "theglad_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
36743655
36753656   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data, internal missing) */
36763657   ROM_LOAD( "v107.u26", 0x000000, 0x200000,  CRC(f7c61357) SHA1(52d31c464dfc83c5371b078cb6b73c0d0e0d57e3) )
36773658
3678   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3679   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3659   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3660   PGM_VIDEO_BIOS
36803661   ROM_LOAD( "t04601.u33",   0x400000, 0x800000, CRC(e5dab371) SHA1(2e3c93958eb0326b6b84b95c2168626f26bbac76) )
36813662
3682   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3683   /* 32x32 Tile Data is put here for easier Decoding */
3684
3685   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
3663   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
36863664   ROM_LOAD( "a04601.u2",    0x0000000, 0x0800000,  CRC(d9b2e004) SHA1(8e1882b800fe9f12d7d49303e7417ba5b6f8ef85) )
36873665   ROM_LOAD( "a04602.u4",    0x0800000, 0x0800000,  CRC(14f22308) SHA1(7fad54704e8c97eab723f53dfb50fb3e7bb606d2) )
36883666   ROM_LOAD( "a04603.u6",    0x1000000, 0x0800000,  CRC(8f621e17) SHA1(b0f87f378e0115d0c95017ca0f1b0d508827a7c6) )
36893667
3690   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3668   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
36913669   ROM_LOAD( "b04601.u11",   0x0000000, 0x0800000, CRC(ee72bccf) SHA1(73c25fe659f6c903447066e4ef83d2f580449d76) )
36923670   ROM_LOAD( "b04602.u12",   0x0800000, 0x0400000, CRC(7dba9c38) SHA1(a03d509274e8f6a500a7ebe2da5aab8bed4e7f2f) )
36933671
36943672   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3695   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3673   PGM_AUDIO_BIOS
36963674   ROM_LOAD( "w04601.u1",    0x400000, 0x800000, CRC(5f15ddb3) SHA1(c38dcef8e06802a84e42a7fc9fa505475fc3ac65) )
36973675ROM_END
36983676
r8054r8055
37013679   PGM_68K_BIOS
37023680   ROM_LOAD16_WORD_SWAP( "p05301.rom",   0x100000, 0x400000, CRC(923f7246) SHA1(818ade79e9724f5a2b0cc5a647ae5d4ee0374799) )
37033681
3704   /* CPU2 = Z80, romless, code uploaded by 68k */
3705
37063682   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
37073683   ROM_LOAD( "oldsplus_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
37083684
3709   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3710   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3685   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3686   PGM_VIDEO_BIOS
37113687   ROM_LOAD( "t05301.rom",   0x400000, 0x800000, CRC(8257bbb0) SHA1(b48067b7e7081a15fddf21739b641d677c2df3d9) )
37123688
3713   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3714   /* 32x32 Tile Data is put here for easier Decoding */
3715
3716   ROM_REGION( 0x2000000, "gfx3", 0 ) /* Sprite Colour Data */
3689   ROM_REGION( 0x2000000, "sprcol", 0 ) /* Sprite Colour Data */
37173690   ROM_LOAD( "a05301.rom",   0x0000000, 0x0800000, CRC(57946fd2) SHA1(5d79bc71a1881f3099821a9b255a5f271e0eeff6) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
37183691   ROM_LOAD( "a05302.rom",   0x0800000, 0x0800000, CRC(3459a0b8) SHA1(94ab6f980b5582f1db9bb12019d03f0b6e0a06df) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
37193692   ROM_LOAD( "a05303.rom",   0x1000000, 0x0800000, CRC(13475d85) SHA1(4683a3bf304fdc15ffb1c61b7957ad68b023fa33) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
37203693   ROM_LOAD( "a05304.rom",   0x1800000, 0x0800000, CRC(f03ef7a6) SHA1(c18b1b622b430d5e031e65daa6819b84c3e12ef5) )
37213694
3722   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3695   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
37233696   ROM_LOAD( "b05301.rom",   0x0000000, 0x0800000, CRC(fd98f503) SHA1(02046ab1aa89f63bff149003d9d61776e025a92a) )
37243697   ROM_LOAD( "b05302.rom",   0x0800000, 0x0800000, CRC(9f6094a8) SHA1(69f6f2003ab975eae13ea6b5c2ffa40df6e6bdf6) )
37253698
37263699   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3727   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3700   PGM_AUDIO_BIOS
37283701   ROM_LOAD( "m05301.rom",   0x400000, 0x400000, CRC(86ec83bc) SHA1(067cb7ec449eacd1f49298f45a364368934db5dd) )
37293702ROM_END
37303703
r8054r8055
37333706   PGM_68K_BIOS
37343707   ROM_LOAD16_WORD_SWAP( "p0600h.rom",   0x100000, 0x400000, CRC(e251e8e4) SHA1(af5b7c81632a39e1450d932951bed634c76b84e8) )
37353708
3736   /* CPU2 = Z80, romless, code uploaded by 68k */
3737
37383709   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
37393710   ROM_LOAD( "kovshp_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
37403711
3741   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3742   ROM_LOAD( "pgm_t01s.rom", 0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3712   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3713   PGM_VIDEO_BIOS
37433714   ROM_LOAD( "t0600.rom",    0x400000, 0x800000, CRC(4acc1ad6) SHA1(0668dbd5e856c2406910c6b7382548b37c631780) )
37443715
3745   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3746   /* 32x32 Tile Data is put here for easier Decoding */
3747
3748   ROM_REGION( 0x2000000, "gfx3", 0 ) /* Sprite Colour Data */
3716   ROM_REGION( 0x2000000, "sprcol", 0 ) /* Sprite Colour Data */
37493717   ROM_LOAD( "a0600.rom",    0x0000000, 0x0800000, CRC(d8167834) SHA1(fa55a99629d03b2ea253392352f70d2c8639a991) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
37503718   ROM_LOAD( "a0601.rom",    0x0800000, 0x0800000, CRC(ff7a4373) SHA1(7def9fca7513ad5a117da230bebd2e3c78679041) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
37513719   ROM_LOAD( "a0602.rom",    0x1000000, 0x0800000, CRC(e7a32959) SHA1(3d0ed684dc5b269238890836b2ce7ef46aa5265b) ) // FIXED BITS (xxxxxxxx1xxxxxxx)
37523720   ROM_LOAD( "a0540.rom",    0x1800000, 0x0800000, CRC(4fd3413e) SHA1(5e8f3e421342bf558c77e59635f9b5d713e825c2) )
37533721
3754   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3722   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
37553723   ROM_LOAD( "b0600.rom",    0x0000000, 0x0800000, CRC(7d3cd059) SHA1(00cf994b63337e0e4ebe96453daf45f24192af1c) )
37563724   ROM_LOAD( "b0540.rom",    0x0800000, 0x0800000, CRC(60999757) SHA1(118cf058e67858958bcb931e14f5d160c7de87cc) )
37573725
37583726   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3759   ROM_LOAD( "pgm_m01s.rom", 0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3727   PGM_AUDIO_BIOS
37603728   ROM_LOAD( "m0600.rom",    0x400000, 0x400000, CRC(3ada4fd6) SHA1(4c87adb25d31cbd41f04fbffe31f7bc37173da76) )
37613729ROM_END
37623730
r8054r8055
37653733   PGM_68K_BIOS
37663734   ROM_LOAD16_WORD_SWAP( "v300x.u6",     0x100000, 0x080000, CRC(b7fb8ec9) SHA1(e71b2d74269a82c7155b9818821156e128b68b28) )
37673735
3768   /* CPU2 = Z80, romless, code uploaded by 68k */
3769
37703736   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
37713737   /* the first ~0x200 bytes of this are 'execute only' and can't be read directly, even when running code from internal/external ARM romspace */
37723738   ROM_LOAD( "killbldp_igs027a.bin", 0x000000, 0x04000, BAD_DUMP CRC(9a73bf7d) SHA1(2ce1311b01e1124ad00af172f0670141bcb7a030) )
r8054r8055
37743740   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
37753741   ROM_LOAD( "v300x.u26", 0x000000, 0x200000,  CRC(144388c8) SHA1(d7469df077c1a674129f18210584ba4d05a61888) )
37763742
3777   ROM_REGION( 0x800000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3778   ROM_LOAD( "pgm_t01s.rom",  0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3743   ROM_REGION( 0x800000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3744   PGM_VIDEO_BIOS
37793745   ROM_LOAD( "t05701w032.bin",0x400000, 0x400000, CRC(567c714f) SHA1(b25b20e1ec9f077d6f7b9d41723a68d0d461bef2) )
37803746
3781   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3782   /* 32x32 Tile Data is put here for easier Decoding */
3783
3784   ROM_REGION( 0x1800000, "gfx3", 0 ) /* Sprite Colour Data */
3747   ROM_REGION( 0x1800000, "sprcol", 0 ) /* Sprite Colour Data */
37853748   ROM_LOAD( "a05701w064.bin",   0x0000000, 0x0800000, CRC(8c0c992c) SHA1(28391e50ca4400060676f1524bd49ede373292da) )
37863749   ROM_LOAD( "a05702w064.bin",   0x0800000, 0x0800000, CRC(7e5b0f27) SHA1(9e8d69f34c30216925fcb7af87f8b37f703317e7) )
37873750   ROM_LOAD( "a05703w064.bin",   0x1000000, 0x0800000, CRC(accbdb44) SHA1(d59b2452c7a5b4e666473dc973b73a0f2b4edc13) )
37883751
3789   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3752   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
37903753   ROM_LOAD( "b05701w064.bin",   0x0000000, 0x0800000, CRC(a20cdcef) SHA1(029a49971adf1e72ab556a207172bdfbd0b86b03) )
37913754   ROM_LOAD( "b05702w016.bin",   0x0800000, 0x0200000, CRC(fe7457df) SHA1(d66b1b31102b0210f9faf40e1473cd1511ccaf1f) )
37923755
37933756   ROM_REGION( 0x800000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3794   ROM_LOAD( "pgm_m01s.rom",     0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3757   PGM_AUDIO_BIOS
37953758   ROM_LOAD( "w05701b032.bin",   0x400000, 0x400000, CRC(2d3ae593) SHA1(b9c1d2994be95ba974bc134a3bf115bc9c9c9c16) )
37963759ROM_END
37973760
r8054r8055
38003763   PGM_68K_BIOS
38013764   ROM_LOAD16_WORD_SWAP( "u30.bin",      0x100000, 0x080000, CRC(34c18f3f) SHA1(42d1edd0dcfaa5e44861c6a1d4cb24f51ba23de8) )
38023765
3803   /* CPU2 = Z80, romless, code uploaded by 68k */
3804
38053766   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
38063767   ROM_LOAD( "svg_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
38073768
r8054r8055
38093770   ROM_LOAD( "u26.bin", 0x000000, 0x400000, CRC(46826ec8) SHA1(ad1daf6f615fb8d748ce7f98f19dd3bf22f79fba) )
38103771   ROM_LOAD( "u29.bin", 0x400000, 0x400000, CRC(fa5f3901) SHA1(8ab7c6763df4f752b50ed2197063f58046b32ddb) )
38113772
3812   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3813   ROM_LOAD( "pgm_t01s.rom",  0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3773   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3774   PGM_VIDEO_BIOS
38143775   ROM_LOAD( "t05601w016.bin",0x400000, 0x200000, CRC(03e110dc) SHA1(41c8f286e9303b24ba6235b341371c298226fb6a) )
38153776
3816   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3817   /* 32x32 Tile Data is put here for easier Decoding */
3818
3819   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
3777   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
38203778   ROM_LOAD( "a05601w064.bin",  0x0000000, 0x0800000, CRC(ea6453e4) SHA1(b5c82edafa8008ad59b5f2219511947d078d446e) )
38213779   ROM_LOAD( "a05602w064.bin",  0x0800000, 0x0800000, CRC(6d00621b) SHA1(55a4bc357e14b975b0234a9cd49e2224f509dad9) )
38223780   ROM_LOAD( "a05603w064.bin",  0x1000000, 0x0800000, CRC(7b71c64f) SHA1(bec7c7edf0634cf8351a54abb867c56af08ad2c3) )
38233781   ROM_LOAD( "a05604w032.bin",  0x1800000, 0x0400000, CRC(9452a567) SHA1(01fdb8e1f131603843ef4c49ab76d7a56b2d6414) )
38243782
3825   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3783   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
38263784   ROM_LOAD( "b05601w064.bin",  0x0000000, 0x0800000, CRC(35c0a489) SHA1(a7d5527da01f8eaa7499fb6785b57094521bce97) )
38273785   ROM_LOAD( "b05602w064.bin",  0x0800000, 0x0800000, CRC(8aad3f85) SHA1(da6996d901d42b3a2ba7019ad014bb938a5e328b) )
38283786
38293787   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3830   ROM_LOAD( "pgm_m01s.rom",    0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3788   PGM_AUDIO_BIOS
38313789   ROM_LOAD( "w05601b064.bin",  0x400000, 0x800000, CRC(bfe61a71) SHA1(e682ca8d57ca51c4d72f64fc091161f3dbdce871) )
38323790   ROM_LOAD( "w05602b032.bin",  0xc00000, 0x400000, CRC(0685166d) SHA1(64dac49abd2a46d5fb58c678027aa5e23d672dc4) )
38333791ROM_END
r8054r8055
38373795   PGM_68K_BIOS
38383796   ROM_LOAD16_WORD_SWAP( "happy6in1_v100cn.u5",      0x100000, 0x080000, CRC(a25418e8) SHA1(acd7e7b69956cb4ce8e26c6420cb97bb4bf404e7) )
38393797
3840   /* CPU2 = Z80, romless, code uploaded by 68k */
3841
38423798   ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */
38433799   // data before 0x188 is read-protected and cannot be read even with a trojan (as with most 2001/2+ IGS titles)
38443800   ROM_LOAD( "happy6_igs027a.bin", 0x000000, 0x04000, NO_DUMP )
r8054r8055
38463802   ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */
38473803   ROM_LOAD( "happy6in1_v101cn.u26", 0x000000, 0x400000, CRC(4a48ca1c) SHA1(3bebc091787903d45cb84c7302046602a903f59c) )
38483804
3849   ROM_REGION( 0xc00000, "gfx1", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3850   ROM_LOAD( "pgm_t01s.rom",  0x000000, 0x200000, CRC(1a7123a0) SHA1(cc567f577bfbf45427b54d6695b11b74f2578af3) ) // (BIOS)
3805   ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */
3806   PGM_VIDEO_BIOS
38513807   ROM_LOAD( "t01w64m.u29",0x400000, 0x800000, CRC(2d3feb8b) SHA1(9832b1c46b1ee73febf5c5c8913859f4e0581665) )
38523808
3853   ROM_REGION( 0xc00000/5*8, "gfx2", ROMREGION_ERASEFF ) /* Region for 32x32 BG Tiles */
3854   /* 32x32 Tile Data is put here for easier Decoding */
3855
3856   ROM_REGION( 0x1c00000, "gfx3", 0 ) /* Sprite Colour Data */
3809   ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */
38573810   ROM_LOAD( "a01w64m.u5",  0x0000000, 0x0800000, CRC(bbaa3df3) SHA1(a72268d3989e96d571242279922291d0dc72db28) )
38583811   ROM_LOAD( "a02w64m.u6",  0x0800000, 0x0800000, CRC(f8c9cd36) SHA1(d9613a83bcc2364492fa922fde1c4f0d07b3009c) )
38593812
3860   ROM_REGION( 0x1000000, "gfx4", 0 ) /* Sprite Masks + Colour Indexes */
3813   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
38613814   ROM_LOAD( "b01w64m.u19",  0x0000000, 0x0800000, CRC(73f5f225) SHA1(507126fa96dcec967bdbc0978d79fbce9d25db37) )
38623815
38633816   ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */
3864   ROM_LOAD( "pgm_m01s.rom",    0x000000, 0x200000, CRC(45ae7159) SHA1(d3ed3ff3464557fd0df6b069b2e431528b0ebfa8) ) // (BIOS)
3817   PGM_AUDIO_BIOS
38653818   ROM_LOAD( "w01w64m.u17",  0x400000, 0x800000, CRC(7e23e2be) SHA1(5e920b8e480f00b6666292d4a56039b40af18141) )
38663819ROM_END
38673820
3821#if 0
3822ROM_START( unsorted )
3823   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
3824   ROM_LOAD( "kv100.bin",    0x000000, 0x200000, CRC(cca5e153) SHA1(b653feaa2004c379312def6b1613c3497f654ddf) )
3825   ROM_LOAD( "kv100_rev.bin",0x000000, 0x200000, CRC(69fcf5eb) SHA1(f726e251b4daa2f8d717e32000d4d7abc71c710d) )
3826ROM_END
3827#endif
38683828
3869
38703829/*** Init Stuff **************************************************************/
38713830
38723831/* This function expands the 32x32 5-bit data into a format which is easier to
r8054r8055
38743833
38753834static void expand_32x32x5bpp(running_machine *machine)
38763835{
3877   UINT8 *src = memory_region( machine, "gfx1" );
3878   UINT8 *dst = memory_region( machine, "gfx2" );
3879   size_t  srcsize = memory_region_length( machine, "gfx1" );
3836   UINT8 *src = memory_region( machine, "tiles" );
3837   gfx_layout glcopy;
3838   glcopy = *(&pgm32_charlayout);
3839
3840   size_t  srcsize = memory_region_length( machine, "tiles" );
38803841   int cnt, pix;
3842   size_t gfx2_size_needed = ((srcsize/5)*8)+0x1000;
3843   UINT8 *dst = auto_alloc_array(machine, UINT8, gfx2_size_needed);
38813844
3845
38823846   for (cnt = 0; cnt < srcsize/5 ; cnt ++)
38833847   {
38843848      pix = ((src[0 + 5 * cnt] >> 0)& 0x1f );
r8054r8055
38983862      pix = ((src[4 + 5 * cnt] >> 3)& 0x1f );
38993863         dst[7 + 8 * cnt]=pix;
39003864   }
3865
3866   glcopy.total = (gfx2_size_needed / glcopy.charincrement)*8;
3867
3868   machine->gfx[1] = gfx_element_alloc(machine, &glcopy, (UINT8 *)dst, 32, 0x400);
3869
3870
39013871}
39023872
39033873/* This function expands the sprite colour data (in the A Roms) from 3 pixels
r8054r8055
39063876static void expand_colourdata( running_machine *machine )
39073877{
39083878   pgm_state *state = (pgm_state *)machine->driver_data;
3909   UINT8 *src = memory_region( machine, "gfx3" );
3910   size_t srcsize = memory_region_length( machine, "gfx3" );
3879   UINT8 *src = memory_region( machine, "sprcol" );
3880   size_t srcsize = memory_region_length( machine, "sprcol" );
39113881   int cnt;
39123882   size_t needed = srcsize / 2 * 3;
39133883
r8054r8055
40834053   state_save_register_global_array(machine, state->pstar_ram);
40844054}
40854055
4086static DRIVER_INIT( djlzz )
4056static DRIVER_INIT( photoy2k )
40874057{
40884058   pgm_basic_init(machine);
4089   pgm_djlzz_decrypt(machine);
4059   pgm_photoy2k_decrypt(machine);
40904060   kovsh_latch_init(machine);
40914061}
40924062
4063static DRIVER_INIT( py2k2 )
4064{
4065   pgm_basic_init(machine);
4066   pgm_py2k2_decrypt(machine);
4067   kovsh_latch_init(machine);
4068}
4069
4070
40934071static DRIVER_INIT( kovsh )
40944072{
40954073   pgm_basic_init(machine);
r8054r8055
43034281         state->sharedprotram[dst + x] = dat2;
43044282      }
43054283
4306      /* hack, patches out some additional security checks... we need to emulate them instead!
4307          they occur before it displays the disclaimer, so if you remove the overlay patches it will display
4308          the highscore table before coming up with this error... */
4309      if ((mode==3) && (param==0x54) && (src*2==0x2120) && (dst*2==0x2600)) state->sharedprotram[0x2600 / 2] = 0x4e75;
4284      /* Killing Blade: hack, patches out some additional security checks... we need to emulate them instead! */
4285      // different region IGS025 devices supply different sequences - we currently only have the china sequence for Killing Blade
4286      //if ((mode==3) && (param==0x54) && (src*2==0x2120) && (dst*2==0x2600)) state->sharedprotram[0x2600 / 2] = 0x4e75;
43104287
43114288   }
43124289   if (mode == 4)
r8054r8055
44924469      }
44934470      else if (state->kb_cmd == 5)
44944471      {
4495         UINT32 protvalue = 0x89911400 | input_port_read(space->machine, "Region");
4496         res = (protvalue >> (8 * (state->kb_ptr - 1))) & 0xff;
4472
4473         UINT8 kb_region_sequence[11] = {0x17, 0x14, 0x91, 0x89, 0x21, 0xD5, 0x7C, 0x65, 0x8F, 0x8E, 0xE1};
4474         UINT8 ret;
4475
4476         // this isn't properly understood.. should be some kind of bitswap / xor / shift..based on values written to 0x22/0x23 etc.?
4477         // return hardcoded china sequence results for now, avoids rom patch
4478         if (state->kb_region_sequence_position < 11)
4479         {
4480            ret = kb_region_sequence[state->kb_region_sequence_position];
4481            state->kb_region_sequence_position++;
4482         }
4483         else
4484         {
4485            UINT32 protvalue = 0x89911400 | input_port_read(space->machine, "Region");
4486            ret = (protvalue >> (8 * (state->kb_ptr - 1))) & 0xff;
4487         }
4488
4489         res = 0x3f00 | ret;  // always 0x3fxx in logged behavior...
4490
44974491      }
44984492   }
44994493   logerror("%06X: ASIC25 R CMD %X  VAL %X\n", cpu_get_pc(space->cpu), state->kb_cmd, res);
r8054r8055
45024496
45034497
45044498
4499
45054500static MACHINE_RESET( killbld )
45064501{
4502   pgm_state *state = (pgm_state *)machine->driver_data;
4503
45074504   MACHINE_RESET_CALL(pgm);
45084505   /* fill the protection ram with a5 + auto dma */
45094506   IGS022_reset(machine);
4507
4508   // Reset IGS025 stuff
4509   state->kb_cmd = 0;
4510   state->kb_reg = 0;
4511   state->kb_ptr = 0;
4512   state->kb_region_sequence_position = 0;
4513   memset(state->kb_regs, 0, 0x10);
4514
45104515}
45114516
45124517
r8054r8055
45254530   state->kb_cmd = 0;
45264531   state->kb_reg = 0;
45274532   state->kb_ptr = 0;
4533   state->kb_region_sequence_position = 0;
45284534   memset(state->kb_regs, 0, 0x10);
45294535
4536   state_save_register_global(machine, state->kb_region_sequence_position);
45304537   state_save_register_global(machine, state->kb_cmd);
45314538   state_save_register_global(machine, state->kb_reg);
45324539   state_save_register_global(machine, state->kb_ptr);
r8054r8055
45794586//  state->sharedprotram[0x2b0/2] = 0xaf56;
45804587
45814588
4589   // Reset IGS025 stuff
4590   state->kb_cmd = 0;
4591   state->kb_reg = 0;
4592   state->kb_ptr = 0;
4593   state->kb_region_sequence_position = 0;
4594   memset(state->kb_regs, 0, 0x10);
4595
45824596}
45834597
45844598
r8054r8055
47324746   state_save_register_global_array(machine, state->eoregs);
47334747}
47344748
4749static DRIVER_INIT( dw2001 )
4750{
4751   //pgm_state *state = (pgm_state *)machine->driver_data;
4752   UINT16 *mem16 = (UINT16 *)memory_region(machine, "maincpu");
4753
4754   pgm_basic_init(machine);
4755   kovsh_latch_init(machine);
4756   pgm_dw2001_decrypt(machine);
4757
4758   mem16[0x11e90c / 2] = 0x4e71;
4759   mem16[0x11e90e / 2] = 0x4e71;
4760
4761   mem16[0x11e91a / 2] = 0x4e71;
4762
4763   mem16[0x11eaf6 / 2] = 0x4e71;
4764   mem16[0x11eaf8 / 2] = 0x4e71;
4765
4766   mem16[0x11eb04 / 2] = 0x4e71;
4767
4768}
4769
47354770static UINT32 olds_prot_addr( UINT16 addr )
47364771{
47374772   UINT32 mode = addr & 0xff;
r8054r8055
49454980GAME( 1997, drgw2j,       drgw2,     drgw2,   pgm,      drgw2j,     ROT0,   "IGS", "Chuugokuryuu II (ver. 100J, Japan)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // This set still has protection issues!
49464981GAME( 1997, drgw2c,       drgw2,     drgw2,   pgm,      drgw2c,     ROT0,   "IGS", "Zhong Guo Long II (ver. 100C, China)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
49474982
4948GAME( 1999, photoy2k,     pgm,       kov,     photoy2k, djlzz,      ROT0,   "IGS", "Photo Y2K (ver. 104)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) /* region provided by protection device */
4949GAME( 1999, photoy2k102,  photoy2k,  kov,     photoy2k, djlzz,      ROT0,   "IGS", "Photo Y2K (ver. 102, Japanese Board)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) /* region provided by protection device */
4983GAME( 1999, photoy2k,     pgm,       kov,     photoy2k, photoy2k,   ROT0,   "IGS", "Photo Y2K (ver. 105)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) /* region provided by protection device */
4984GAME( 1999, photoy2k104,  photoy2k,  kov,     photoy2k, photoy2k,   ROT0,   "IGS", "Photo Y2K (ver. 104)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) /* region provided by protection device */
4985GAME( 1999, photoy2k102,  photoy2k,  kov,     photoy2k, photoy2k,   ROT0,   "IGS", "Photo Y2K (ver. 102, Japanese Board)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) /* region provided by protection device */
49504986
49514987GAME( 1999, kovsh,        pgm,       kov,     sango,    kovsh,      ROT0,   "IGS", "Knights of Valour Super Heroes / Sangoku Senki Super Heroes (ver. 104, CN)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // 68k V104, China internal ROM
49524988GAME( 1999, kovsh103,     kovsh,     kov,     sango,    kovsh,      ROT0,   "IGS", "Knights of Valour Super Heroes / Sangoku Senki Super Heroes (ver. 103, CN)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // 68k V103, China internal ROM
r8054r8055
49655001   Partially Working, playable, but some imperfections
49665002   -----------------------------------------------------------------------------------------------------------------------*/
49675003
4968 // it's playable, but one of the protection checks is still patched
5004 // it's playable, but the region check is still patched (different IGS025 chips return different sequences so that the game can determine the region)
49695005GAME( 1998, killbld,      pgm,       killbld, killbld,  killbld,    ROT0,   "IGS", "The Killing Blade (ver. 109, Chinese Board)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
49705006GAME( 1998, killbld104,   killbld,   killbld, killbld,  killbld,    ROT0,   "IGS", "The Killing Blade (ver. 104)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
49715007
r8054r8055
49825018GAME( 1998, drgw3105,     drgw3,     dw3,     dw3,      drgw3,      ROT0,   "IGS", "Dragon World 3 (ver. 105)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
49835019GAME( 1998, drgw3100,     drgw3,     dw3,     dw3,      drgw3,      ROT0,   "IGS", "Dragon World 3 (ver. 100)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // Japan Only?
49845020
4985GAME( 1999, kov,          pgm,       kov,     sango,    kov,        ROT0,   "IGS", "Knights of Valour / Sangoku Senki (ver. 117)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */                 // V0008 04/27/99 10:33:33
4986GAME( 1999, kov115,       kov,       kov,     sango,    kov,        ROT0,   "IGS", "Knights of Valour / Sangoku Senki (ver. 115)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */                 // V0006 02/22/99 11:53:18
4987GAME( 1999, kov100,       kov,       kov,     sango,    kov,        ROT0,   "IGS", "Knights of Valour / Sangoku Senki (ver. 100, Japanese Board)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // V0002 01/31/99 01:54:16
5021GAME( 1998, dwex,         pgm,       dw3,     dw3,      drgw3,      ROT0,   "IGS", "Dragon World 3 EX (ver. 100)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
49885022
4989GAME( 1999, kovplus,      pgm,       kov,     sango,    kov,        ROT0,   "IGS", "Knights of Valour Plus / Sangoku Senki Plus (ver. 119)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
4990GAME( 1999, kovplusa,     kovplus,   kov,     sango,    kov,        ROT0,   "IGS", "Knights of Valour Plus / Sangoku Senki Plus (alt ver. 119)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
49915023
4992GAME( 1999, puzlstar,     pgm,       kov,     sango,    pstar,      ROT0,   "IGS", "Puzzle Star (ver. 100MG)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
5024GAME( 1999, kov,          pgm,       kov_disabled_arm,     sango,    kov,        ROT0,   "IGS", "Knights of Valour / Sangoku Senki (ver. 117)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */                 // V0008 04/27/99 10:33:33
5025GAME( 1999, kov115,       kov,       kov_disabled_arm,     sango,    kov,        ROT0,   "IGS", "Knights of Valour / Sangoku Senki (ver. 115)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */                 // V0006 02/22/99 11:53:18
5026GAME( 1999, kov100,       kov,       kov_disabled_arm,     sango,    kov,        ROT0,   "IGS", "Knights of Valour / Sangoku Senki (ver. 100, Japanese Board)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // V0002 01/31/99 01:54:16
49935027
5028GAME( 1999, kovplus,      pgm,       kov_disabled_arm,     sango,    kov,        ROT0,   "IGS", "Knights of Valour Plus / Sangoku Senki Plus (ver. 119)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
5029GAME( 1999, kovplusa,     kovplus,   kov_disabled_arm,     sango,    kov,        ROT0,   "IGS", "Knights of Valour Plus / Sangoku Senki Plus (alt ver. 119)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
5030
5031GAME( 1999, puzlstar,     pgm,       kov_disabled_arm,     sango,    pstar,      ROT0,   "IGS", "Puzzle Star (ver. 100MG)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
5032
5033GAME( 2001, py2k2,        pgm,       kov_disabled_arm,     photoy2k, py2k2,      ROT0,   "IGS", "Photo Y2K 2", GAME_NOT_WORKING )  /* need internal rom of IGS027A */
5034
5035
49945036GAME( 2001, kov2p,        pgm,       kov2,    sango,    kov2p,      ROT0,   "IGS", "Knights of Valour 2 Plus - Nine Dragons / Sangoku Senki 2 Plus - Nine Dragons (ver. M204XX)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
49955037GAME( 2001, kov2p205,     kov2p,     kov2,    sango,    kov2p,      ROT0,   "IGS", "Knights of Valour 2 Plus - Nine Dragons / Sangoku Senki 2 Plus - Nine Dragons (ver. M205XX)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
49965038
49975039GAME( 2001, ddp2,         pgm,       kov2,    ddp2,     ddp2,       ROT270, "IGS", "Bee Storm - DoDonPachi II (ver. 100)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
49985040GAME( 2001, ddp2a,        ddp2,      kov2,    ddp2,     ddp2,       ROT270, "IGS", "Bee Storm - DoDonPachi II (ver. 102)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
49995041
5000GAME( 2001, puzzli2,      pgm,       kov,     sango,    puzzli2,    ROT0,   "IGS", "Puzzli 2 Super (ver. 200)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
5042GAME( 2001, dw2001,      pgm,       kov_disabled_arm,     sango,    dw2001,    ROT0,   "IGS", "Dragon World 2001", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // V0000 02/21/01 16:05:16
50015043
5044GAME( 2001, puzzli2,      pgm,       kov_disabled_arm,     sango,    puzzli2,    ROT0,   "IGS", "Puzzli 2 Super (ver. 200)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
5045
50025046GAME( 2002, dmnfrnt,      pgm,       svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (ver. 102)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
50035047GAME( 2002, dmnfrnta,     dmnfrnt,   svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (ver. 105)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
50045048
src/mame/drivers/pengadvb.c
r8054r8055
44
55Driver by Mariusz Wojcieszek
66
7Game is playable, but coin system is missing.
8
9This seems to be the console version possibly hacked
7This seems to be the MSX version possibly hacked
108to run on cheap Korean bootleg hardware.
119
1210Basic components include.....
r8054r8055
148146   }
149147}
150148
149
151150static ADDRESS_MAP_START( program_mem, ADDRESS_SPACE_PROGRAM, 8 )
152151   AM_RANGE(0x0000, 0x3fff) AM_ROMBANK("bank1")
153152   AM_RANGE(0x4000, 0x5fff) AM_ROMBANK("bank21")
r8054r8055
170169
171170static INPUT_PORTS_START( pengadvb )
172171   PORT_START("IN0")
173   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON1)
174   PORT_BIT(0x0e, IP_ACTIVE_LOW, IPT_UNUSED)
175   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT)
176   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP)
177   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN)
178   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT)
172   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP)
173   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN)
174   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT)
175   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT)
176   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON1)
177   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2)
178   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED)
179
180   PORT_START("IN1")
181   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(1)
182   PORT_BIT(0xfe, IP_ACTIVE_LOW, IPT_UNUSED)
179183INPUT_PORTS_END
180184
185
186static READ8_DEVICE_HANDLER( pengadvb_psg_port_a_r )
187{
188   return input_port_read(device->machine, "IN0");
189}
190
181191static const ay8910_interface pengadvb_ay8910_interface =
182192{
183193   AY8910_LEGACY_OUTPUT,
184194   AY8910_DEFAULT_LOADS,
195   DEVCB_HANDLER(pengadvb_psg_port_a_r),
185196   DEVCB_NULL,
186197   DEVCB_NULL,
187   DEVCB_NULL,
188198   DEVCB_NULL
189199};
190200
r8054r8055
196206
197207static READ8_DEVICE_HANDLER( pengadvb_ppi_port_b_r )
198208{
199   UINT8 result = 0xff;
200   int row;
209   if ((i8255a_r(device, 2) & 0x0f) == 0)
210      return input_port_read(device->machine, "IN1");
201211
202   row = i8255a_r(device, 2) & 0x0f;
203   if (row == 8)
204   {
205      result = input_port_read(device->machine, "IN0");
206   }
207   return result;
212   return 0xff;
208213}
209214
210215static I8255A_INTERFACE(pengadvb_ppi8255_interface)
r8054r8055
233238static MACHINE_START( pengadvb )
234239{
235240   TMS9928A_configure(&tms9928a_interface);
241
242   state_save_register_global_pointer(machine, main_mem, 0x4000);
243   state_save_register_global(machine, mem_map);
244   state_save_register_global_array(machine, mem_banks);
236245}
237246
238247static MACHINE_RESET( pengadvb )
r8054r8055
320329
321330ROM_END
322331
323GAME( 1988, pengadvb, 0,      pengadvb, pengadvb, pengadvb, ROT0, "bootleg", "Penguin Adventure (bootleg)", GAME_NOT_WORKING )
332GAME( 1988, pengadvb, 0, pengadvb, pengadvb, pengadvb, ROT0, "bootleg / Konami", "Penguin Adventure (bootleg of MSX version)", GAME_SUPPORTS_SAVE )
src/mame/drivers/cinemat.c
r8054r8055
13441344ROM_START( spaceftr )
13451345   ROM_REGION( 0x2000, "maincpu", 0 )
13461346   ROM_LOAD16_BYTE( "fortrest7.7t", 0x0000, 0x0800, CRC(65d0a225) SHA1(e1fbee5ff42dd040ab2e90bbe2189fcb76d6167e) )
1347   ROM_LOAD16_BYTE( "fortresp7.7p", 0x0001, 0x0800, BAD_DUMP CRC(1a32aed6) SHA1(89c16a33288265e06e6fbd8426ba4ee9d81c221f) )
1347
1348   /* The original fortresp7.7p ROM image was a bad dump, a comparison showed only two bytes difference between it
1349    and starcast.p7 from starcas1. A disassembly proved that the two affected bytes resulted in bogus opcodes, which
1350    ultimately caused the game to fail. The current ROM taken from starcas1 can be assumed to be equal to a correct
1351    dump of fortresp7.7p. The BAD_DUMP flag is kept in just to be sure. */
1352   ROM_LOAD16_BYTE( "fortresp7.7p", 0x0001, 0x0800, BAD_DUMP CRC(d8f58d9a) SHA1(abba459431dcacc75099b0d340b957be71b89cfd) ) // taken from starcas1, read note above
1353
13481354   ROM_LOAD16_BYTE( "fortresu7.7u", 0x1000, 0x0800, CRC(13b0287c) SHA1(366a23fd10684975bd5ee190e5227e47a0298ad5) )
13491355   ROM_LOAD16_BYTE( "fortresr7.7r", 0x1001, 0x0800, CRC(a2c1ed52) SHA1(ed9743f44ee98c9e7c2a6819ec681af7c7a97fc9) )
13501356
r8054r8055
14941500GAMEL(1980, starcasp, starcas, starcas,  starcas,  0,        ORIENTATION_FLIP_Y,   "Cinematronics", "Star Castle (prototype)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas )
14951501GAMEL(1980, starcase, starcas, starcas,  starcas,  0,        ORIENTATION_FLIP_Y,   "Cinematronics (Mottoeis license)", "Star Castle (Mottoeis)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas )
14961502GAMEL(1980, stellcas, starcas, starcas,  starcas,  0,        ORIENTATION_FLIP_Y,   "bootleg", "Stellar Castle (Elettronolo)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas )
1497GAMEL(1981, spaceftr, starcas, starcas,  starcas,  0,        ORIENTATION_FLIP_Y,   "Zaccaria", "Space Fortress (Zaccaria)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE | GAME_NOT_WORKING, layout_starcas )
1503GAMEL(1981, spaceftr, starcas, starcas,  starcas,  0,        ORIENTATION_FLIP_Y,   "Zaccaria", "Space Fortress (Zaccaria)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas )
14981504GAMEL(1981, solarq,   0,       solarq,   solarq,   0,        ORIENTATION_FLIP_Y ^ ORIENTATION_FLIP_X, "Cinematronics", "Solar Quest", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_solarq )
14991505GAME( 1981, boxingb,  0,       boxingb,  boxingb,  boxingb,  ORIENTATION_FLIP_Y,   "Cinematronics", "Boxing Bugs", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
15001506GAME( 1981, wotw,     0,       wotw,     wotw,     0,        ORIENTATION_FLIP_Y,   "Cinematronics", "War of the Worlds", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/scregg.c
r8054r8055
323323
324324ROM_START( scregg )
325325   ROM_REGION( 0x10000, "maincpu", 0 )
326   ROM_LOAD( "scregg.e14",   0x3000, 0x1000, CRC(29226d77) SHA1(e1a329a4452eeb90801d001140ce865bf1ea7716) )
327   ROM_LOAD( "scregg.d14",   0x4000, 0x1000, CRC(eb143880) SHA1(73b3ca6e0d72cd0db951ae9ed1552cf8b7d91e68) )
328   ROM_LOAD( "scregg.c14",   0x5000, 0x1000, CRC(4455f262) SHA1(fc7b2d9094fa5e25c1bf4b68386f640f4502e0c0) )
329   ROM_LOAD( "scregg.b14",   0x6000, 0x1000, CRC(044ac5d2) SHA1(f2d2fe2236de1b3b2614cc95f61a90571638cd69) )
330   ROM_LOAD( "scregg.a14",   0x7000, 0x1000, CRC(b5a0814a) SHA1(192cdc506fb0bbfed8ae687f2699397ace3bef30) )
331   ROM_RELOAD(               0xf000, 0x1000 )        /* for reset/interrupt vectors */
326   ROM_LOAD( "d00.e14",   0x3000, 0x1000, CRC(29226d77) SHA1(e1a329a4452eeb90801d001140ce865bf1ea7716) )
327   ROM_LOAD( "d10.d14",   0x4000, 0x1000, CRC(eb143880) SHA1(73b3ca6e0d72cd0db951ae9ed1552cf8b7d91e68) )
328   ROM_LOAD( "d20.c14",   0x5000, 0x1000, CRC(4455f262) SHA1(fc7b2d9094fa5e25c1bf4b68386f640f4502e0c0) )
329   ROM_LOAD( "d30.b14",   0x6000, 0x1000, CRC(044ac5d2) SHA1(f2d2fe2236de1b3b2614cc95f61a90571638cd69) )
330   ROM_LOAD( "d40.a14",   0x7000, 0x1000, CRC(b5a0814a) SHA1(192cdc506fb0bbfed8ae687f2699397ace3bef30) )
331   ROM_RELOAD(            0xf000, 0x1000 )        /* for reset/interrupt vectors */
332332
333333   ROM_REGION( 0x6000, "gfx1", 0 )
334   ROM_LOAD( "scregg.j12",   0x0000, 0x1000, CRC(a485c10c) SHA1(88edd35479ceb58244f644a7e0520d225df3bf65) )
335   ROM_LOAD( "scregg.j10",   0x1000, 0x1000, CRC(1fd4e539) SHA1(3067bbd9493614e80d8d3982fe80ef25688d256c) )
336   ROM_LOAD( "scregg.h12",   0x2000, 0x1000, CRC(8454f4b2) SHA1(6a8d257a3fec901453c7216ad894badf96188ebf) )
337   ROM_LOAD( "scregg.h10",   0x3000, 0x1000, CRC(72bd89ee) SHA1(2e38c27b546eeef0fe42340777c8687f4c65ee97) )
338   ROM_LOAD( "scregg.g12",   0x4000, 0x1000, CRC(ff3c2894) SHA1(0da866db6a79f658de3efc609b9ca8520b4d22d0) )
339   ROM_LOAD( "scregg.g10",   0x5000, 0x1000, CRC(9c20214a) SHA1(e01b72501a01ffc0370cf19c9a379a54800cccc6) )
334   ROM_LOAD( "d50.j12",   0x0000, 0x1000, CRC(a485c10c) SHA1(88edd35479ceb58244f644a7e0520d225df3bf65) )
335   ROM_LOAD( "d60.j10",   0x1000, 0x1000, CRC(1fd4e539) SHA1(3067bbd9493614e80d8d3982fe80ef25688d256c) )
336   ROM_LOAD( "d70.h12",   0x2000, 0x1000, CRC(8454f4b2) SHA1(6a8d257a3fec901453c7216ad894badf96188ebf) )
337   ROM_LOAD( "d80.h10",   0x3000, 0x1000, CRC(72bd89ee) SHA1(2e38c27b546eeef0fe42340777c8687f4c65ee97) )
338   ROM_LOAD( "d90.g12",   0x4000, 0x1000, CRC(ff3c2894) SHA1(0da866db6a79f658de3efc609b9ca8520b4d22d0) )
339   ROM_LOAD( "da0.g10",   0x5000, 0x1000, CRC(9c20214a) SHA1(e01b72501a01ffc0370cf19c9a379a54800cccc6) )
340340
341341   ROM_REGION( 0x0040, "proms", 0 )
342   ROM_LOAD( "screggco.c6",  0x0000, 0x0020, CRC(ff23bdd6) SHA1(d09738915da456449bb4e8d9eefb8e6378f0edea) )   /* palette */
343   ROM_LOAD( "screggco.b4",  0x0020, 0x0020, CRC(7cc4824b) SHA1(2a283fc17fac32e63385948bfe180d05f1fb8727) )   /* unknown */
342   ROM_LOAD( "dc0.c6 ",   0x0000, 0x0020, CRC(ff23bdd6) SHA1(d09738915da456449bb4e8d9eefb8e6378f0edea) )   /* palette */
343   ROM_LOAD( "db1.b4",    0x0020, 0x0020, CRC(7cc4824b) SHA1(2a283fc17fac32e63385948bfe180d05f1fb8727) )   /* unknown */
344344ROM_END
345345
346346ROM_START( eggs )
347347   ROM_REGION( 0x10000, "maincpu", 0 )
348   ROM_LOAD( "e14.bin",      0x3000, 0x1000, CRC(4e216f9d) SHA1(7b9d984481c8227e417dae4a1adbb5dec5f959b7) )
349   ROM_LOAD( "d14.bin",      0x4000, 0x1000, CRC(4edb267f) SHA1(f5d1a79b13d6fbb92561b4e4cfb78465114497d1) )
350   ROM_LOAD( "c14.bin",      0x5000, 0x1000, CRC(15a5c48c) SHA1(70141c739a8c019554a6c5257ad12606a1542b1f) )
351   ROM_LOAD( "b14.bin",      0x6000, 0x1000, CRC(5c11c00e) SHA1(4a9295086bf935a1c9b1b01f83d1ff6242d74907) )
352   ROM_LOAD( "a14.bin",      0x7000, 0x1000, CRC(953faf07) SHA1(ee3181e9ee664053d6e6899fe38e136a9ea6abe1) )
353   ROM_RELOAD(               0xf000, 0x1000 )   /* for reset/interrupt vectors */
348   ROM_LOAD( "e14.bin",   0x3000, 0x1000, CRC(4e216f9d) SHA1(7b9d984481c8227e417dae4a1adbb5dec5f959b7) )
349   ROM_LOAD( "d14.bin",   0x4000, 0x1000, CRC(4edb267f) SHA1(f5d1a79b13d6fbb92561b4e4cfb78465114497d1) )
350   ROM_LOAD( "c14.bin",   0x5000, 0x1000, CRC(15a5c48c) SHA1(70141c739a8c019554a6c5257ad12606a1542b1f) )
351   ROM_LOAD( "b14.bin",   0x6000, 0x1000, CRC(5c11c00e) SHA1(4a9295086bf935a1c9b1b01f83d1ff6242d74907) )
352   ROM_LOAD( "a14.bin",   0x7000, 0x1000, CRC(953faf07) SHA1(ee3181e9ee664053d6e6899fe38e136a9ea6abe1) )
353   ROM_RELOAD(            0xf000, 0x1000 )   /* for reset/interrupt vectors */
354354
355355   ROM_REGION( 0x6000, "gfx1", 0 )
356   ROM_LOAD( "j12.bin",      0x0000, 0x1000, CRC(ce4a2e46) SHA1(6b31c481ca038834ae295d015054f852baa6330f) )
357   ROM_LOAD( "j10.bin",      0x1000, 0x1000, CRC(a1bcaffc) SHA1(74f6df3136826822bbc22b027700fb3ddfceaa97) )
358   ROM_LOAD( "h12.bin",      0x2000, 0x1000, CRC(9562836d) SHA1(c5d5d6ceede6105975c87ff8e1f7e5312b992b92) )
359   ROM_LOAD( "h10.bin",      0x3000, 0x1000, CRC(3cfb3a8e) SHA1(e60c9da1a7841c3bb5351a109d99c8df34747212) )
360   ROM_LOAD( "g12.bin",      0x4000, 0x1000, CRC(679f8af7) SHA1(f69302ff0125d96fbfdd914d7ecefd7130a24616) )
361   ROM_LOAD( "g10.bin",      0x5000, 0x1000, CRC(5b58d3b5) SHA1(f138b7294dd20d050bb8a2191e87b0c3815f6148) )
356   ROM_LOAD( "j12.bin",   0x0000, 0x1000, CRC(ce4a2e46) SHA1(6b31c481ca038834ae295d015054f852baa6330f) )
357   ROM_LOAD( "j10.bin",   0x1000, 0x1000, CRC(a1bcaffc) SHA1(74f6df3136826822bbc22b027700fb3ddfceaa97) )
358   ROM_LOAD( "h12.bin",   0x2000, 0x1000, CRC(9562836d) SHA1(c5d5d6ceede6105975c87ff8e1f7e5312b992b92) )
359   ROM_LOAD( "h10.bin",   0x3000, 0x1000, CRC(3cfb3a8e) SHA1(e60c9da1a7841c3bb5351a109d99c8df34747212) )
360   ROM_LOAD( "g12.bin",   0x4000, 0x1000, CRC(679f8af7) SHA1(f69302ff0125d96fbfdd914d7ecefd7130a24616) )
361   ROM_LOAD( "g10.bin",   0x5000, 0x1000, CRC(5b58d3b5) SHA1(f138b7294dd20d050bb8a2191e87b0c3815f6148) )
362362
363363   ROM_REGION( 0x0040, "proms", 0 )
364   ROM_LOAD( "eggs.c6",      0x0000, 0x0020, CRC(e8408c81) SHA1(549b9948a4a73e7a704731b942565183cef05d52) )   /* palette */
365   ROM_LOAD( "screggco.b4",  0x0020, 0x0020, CRC(7cc4824b) SHA1(2a283fc17fac32e63385948bfe180d05f1fb8727) )   /* unknown */
364   ROM_LOAD( "eggs.c6",   0x0000, 0x0020, CRC(e8408c81) SHA1(549b9948a4a73e7a704731b942565183cef05d52) )   /* palette */
365   ROM_LOAD( "db1.b4",    0x0020, 0x0020, CRC(7cc4824b) SHA1(2a283fc17fac32e63385948bfe180d05f1fb8727) )   /* unknown */
366366ROM_END
367367
368368// rockduck - check gfx roms (planes) order
src/mame/drivers/nightgal.c
r8054r8055
77preliminary driver by David Haywood & Angelo Salese
88
99TODO:
10-Get Night Gal Summer to boot;
10-Get Night Gal Summer and Royal Queen to boot;
1111-Fix Sweet Gal/Sexy Gal gfxs if necessary (i.e. if the bugs aren't all caused by irq/nmi
1212 wrong firing);
1313-Proper Z80<->MCU comms,many video problems because of that;
r8054r8055
302302static READ8_HANDLER( nsc_latch_r )
303303{
304304   nightgal_state *state = (nightgal_state *)space->machine->driver_data;
305
305306   return state->z80_latch;
306307}
307308
r8054r8055
11041105ROM_END
11051106
11061107
1108ROM_START( royalqn )
1109   ROM_REGION( 0x8000, "maincpu", 0 )
1110   ROM_LOAD( "b10.3s", 0x00000, 0x02000, CRC(67a4abfe) SHA1(1f408f7540185ce136507a8aca8d3beb234979d5) )
1111   ROM_LOAD( "a11.3t", 0x02000, 0x02000, CRC(e7c5395b) SHA1(5131ab9b0fbf1b7b4d410aa2a57eceaf47f8ec3a) )
1112   ROM_LOAD( "a12.3v", 0x04000, 0x02000, CRC(4e8efda4) SHA1(1959491fd899a4d85fd067d7674592ec25188a75) )
1113
1114   ROM_REGION( 0x10000, "sub", 0 )
1115   ROM_LOAD( "rq9.3p",  0x0e000, 0x02000, CRC(34b4cf82) SHA1(01f49ca11a695d41c181e92217e228bc1656ee57) )
1116
1117   ROM_REGION( 0xc000, "samples", ROMREGION_ERASE00 )
1118
1119   ROM_REGION( 0x20000, "gfx1", 0 )
1120   ROM_LOAD( "rq1.3a",  0x00000, 0x02000, CRC(066449dc) SHA1(34838f5e3569b313306ce465e481b934e938c837) )
1121   ROM_LOAD( "rq2.3c",  0x02000, 0x02000, CRC(c467adb5) SHA1(755ebde6229bbf0c7d9293e0becb7506d9aa9d49) )
1122   ROM_LOAD( "rq3.3d",  0x04000, 0x02000, CRC(7e5a7a2d) SHA1(5770cd832de59ff4f61ac40eca8c2238ff7b582d) )
1123   ROM_LOAD( "rq4.3f",  0x06000, 0x02000, CRC(afb3e333) SHA1(a3ddf800925df748db4f71a9dcb05ff0e838d767) )
1124   ROM_LOAD( "rq5.3j",  0x08000, 0x02000, CRC(1e81d0f6) SHA1(f38fbaf1f2cfabb5ba0e4a06964f9a2862b7569d) )
1125   ROM_LOAD( "rq6.3k",  0x0a000, 0x02000, CRC(45b2bb9c) SHA1(935e72d45585576b8f8c140ef2fdedfe6578d1c8) )
1126   ROM_LOAD( "rq7.3l",  0x0c000, 0x02000, CRC(c43ee2dd) SHA1(235e15d0a5e3ccbdf47960241faf747eaa2524f6) )
1127   ROM_LOAD( "rq8.3n",  0x0e000, 0x02000, CRC(3a79b3cc) SHA1(0b7b13cd1ee35ec3475d33c734c6d8f757dddd96) )
1128
1129   ROM_REGION( 0x20, "proms", 0 )
1130   ROM_LOAD( "ng.6s", 0x00, 0x20, CRC(19255a7d) SHA1(4ac6316f7d8b575f28d33564b422b68993a4e484) )
1131ROM_END
1132
11071133/* Type 1 HW*/
11081134GAME( 1984, nightgal, 0,        nightgal, sexygal,  0, ROT0, "Nichibutsu",   "Night Gal (Japan 840920 AG 1-00)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
11091135GAME( 1984, ngtbunny, 0,        nightgal, sexygal,  0, ROT0, "Nichibutsu",   "Night Bunny (Japan 840601 MRN 2-10)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
r8054r8055
11131139GAME( 1985, sweetgal, sexygal,  sexygal,  sexygal,  0, ROT0, "Nichibutsu",   "Sweet Gal (Japan 850510 SWG 1-02)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
11141140/* Type 3 HW*/
11151141GAME( 1985, ngalsumr, 0,        nightgal, sexygal,  0, ROT0, "Nichibutsu",   "Night Gal Summer", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
1142GAME( 1985, royalqn,  0,        nightgal, sexygal,  0, ROT0, "Nichibutsu",   "Royal Queen", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE )
src/mame/drivers/tp84.c
r8054r8055
349349
350350ROM_START( tp84 )
351351   ROM_REGION( 0x10000, "cpu1", 0 )
352   ROM_LOAD( "tp84_7j.bin",  0x8000, 0x2000, CRC(605f61c7) SHA1(6848ef35ec7f92cccefb0fb2de42c4b0e9ec476f) )
353   ROM_LOAD( "tp84_8j.bin",  0xa000, 0x2000, CRC(4b4629a4) SHA1(f3bb1ee66c9e47d050370ac9ca74f3020cb9cfa3) )
354   ROM_LOAD( "tp84_9j.bin",  0xc000, 0x2000, CRC(dbd5333b) SHA1(65dee1fd4c940a5423d57cb55a7f2ad89c59c5c6) )
355   ROM_LOAD( "tp84_10j.bin", 0xe000, 0x2000, CRC(a45237c4) SHA1(896e31c59aedf1c7e73e6f30fbe78cc020b457ab) )
352   ROM_LOAD( "388_f04.7j",  0x8000, 0x2000, CRC(605f61c7) SHA1(6848ef35ec7f92cccefb0fb2de42c4b0e9ec476f) )
353   ROM_LOAD( "388_05.8j",   0xa000, 0x2000, CRC(4b4629a4) SHA1(f3bb1ee66c9e47d050370ac9ca74f3020cb9cfa3) )
354   ROM_LOAD( "388_f06.9j",  0xc000, 0x2000, CRC(dbd5333b) SHA1(65dee1fd4c940a5423d57cb55a7f2ad89c59c5c6) )
355   ROM_LOAD( "388_07.10j",  0xe000, 0x2000, CRC(a45237c4) SHA1(896e31c59aedf1c7e73e6f30fbe78cc020b457ab) )
356356
357357   ROM_REGION( 0x10000, "sub", 0 )   /* 64k for the second CPU */
358   ROM_LOAD( "tp84_10d.bin", 0xe000, 0x2000, CRC(36462ff1) SHA1(118a1b46ee01a583e6cf39af59b073321c76dbff) )
358   ROM_LOAD( "388_f08.10d", 0xe000, 0x2000, CRC(36462ff1) SHA1(118a1b46ee01a583e6cf39af59b073321c76dbff) ) /* E08? */
359359
360360   ROM_REGION( 0x10000, "audiocpu", 0 )   /* 64k for code of sound cpu Z80 */
361   ROM_LOAD( "tp84s_6a.bin", 0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
361   ROM_LOAD( "388j13.6a",  0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
362362
363363   ROM_REGION( 0x4000, "gfx1", 0 )
364   ROM_LOAD( "tp84_2j.bin",  0x0000, 0x2000, CRC(05c7508f) SHA1(1a3c7cd47ad34e37a7b0f3014e10c055cbb2b559) ) /* chars */
365   ROM_LOAD( "tp84_1j.bin",  0x2000, 0x2000, CRC(498d90b7) SHA1(6975f3a1603b14132aab58329195a4845a6e28bb) )
364   ROM_LOAD( "388_h02.2j",  0x0000, 0x2000, CRC(05c7508f) SHA1(1a3c7cd47ad34e37a7b0f3014e10c055cbb2b559) ) /* chars */
365   ROM_LOAD( "388_d01.1j",  0x2000, 0x2000, CRC(498d90b7) SHA1(6975f3a1603b14132aab58329195a4845a6e28bb) )
366366
367367   ROM_REGION( 0x8000, "gfx2", 0 )
368   ROM_LOAD( "tp84_12a.bin", 0x0000, 0x2000, CRC(cd682f30) SHA1(6f48d3efc53d63171ec655e64b225412de1374e4) ) /* sprites */
369   ROM_LOAD( "tp84_13a.bin", 0x2000, 0x2000, CRC(888d4bd6) SHA1(7e2dde080bb614709561431a81b0490b2aaa42a9) )
370   ROM_LOAD( "tp84_14a.bin", 0x4000, 0x2000, CRC(9a220b39) SHA1(792aaa4daedc8eb807d5a66d87da4641739b1660) )
371   ROM_LOAD( "tp84_15a.bin", 0x6000, 0x2000, CRC(fac98397) SHA1(d90f99b19ab3cddfdfd37a273fb437be098088bc) )
368   ROM_LOAD( "388_e09.12a", 0x0000, 0x2000, CRC(cd682f30) SHA1(6f48d3efc53d63171ec655e64b225412de1374e4) ) /* sprites */
369   ROM_LOAD( "388_e10.13a", 0x2000, 0x2000, CRC(888d4bd6) SHA1(7e2dde080bb614709561431a81b0490b2aaa42a9) )
370   ROM_LOAD( "388_e11.14a", 0x4000, 0x2000, CRC(9a220b39) SHA1(792aaa4daedc8eb807d5a66d87da4641739b1660) )
371   ROM_LOAD( "388_e12.15a", 0x6000, 0x2000, CRC(fac98397) SHA1(d90f99b19ab3cddfdfd37a273fb437be098088bc) )
372372
373373   ROM_REGION( 0x0500, "proms", 0 )
374   ROM_LOAD( "tp84_2c.bin",  0x0000, 0x0100, CRC(d737eaba) SHA1(e39026f87f5b995cf4a38b5d3d3fee7561762ae6) ) /* palette red component */
375   ROM_LOAD( "tp84_2d.bin",  0x0100, 0x0100, CRC(2f6a9a2a) SHA1(f09d8b92c7f9bf046cdd815c5282d0510e61b6e0) ) /* palette green component */
376   ROM_LOAD( "tp84_1e.bin",  0x0200, 0x0100, CRC(2e21329b) SHA1(9ba8af294dbd6f3a5d039c74a56e0605a913c037) ) /* palette blue component */
377   ROM_LOAD( "tp84_1f.bin",  0x0300, 0x0100, CRC(61d2d398) SHA1(3f74ad733b07b6a31cf9d4956d171eb9253dd6bf) ) /* char lookup table */
378   ROM_LOAD( "tp84_16c.bin", 0x0400, 0x0100, CRC(13c4e198) SHA1(42ab23206be99e840bd9c52cefa175c12fac8e5b) ) /* sprite lookup table */
374   ROM_LOAD( "388d14.2c",   0x0000, 0x0100, CRC(d737eaba) SHA1(e39026f87f5b995cf4a38b5d3d3fee7561762ae6) ) /* palette red component */
375   ROM_LOAD( "388d15.2d",   0x0100, 0x0100, CRC(2f6a9a2a) SHA1(f09d8b92c7f9bf046cdd815c5282d0510e61b6e0) ) /* palette green component */
376   ROM_LOAD( "388d16.1e",   0x0200, 0x0100, CRC(2e21329b) SHA1(9ba8af294dbd6f3a5d039c74a56e0605a913c037) ) /* palette blue component */
377   ROM_LOAD( "388d18.1f",   0x0300, 0x0100, CRC(61d2d398) SHA1(3f74ad733b07b6a31cf9d4956d171eb9253dd6bf) ) /* char lookup table */
378   ROM_LOAD( "388j17.16c", 0x0400, 0x0100, CRC(13c4e198) SHA1(42ab23206be99e840bd9c52cefa175c12fac8e5b) ) /* sprite lookup table */
379379ROM_END
380380
381381ROM_START( tp84a )
382382   ROM_REGION( 0x10000, "cpu1", 0 )
383   ROM_LOAD( "tp84_7j.bin",  0x8000, 0x2000, CRC(605f61c7) SHA1(6848ef35ec7f92cccefb0fb2de42c4b0e9ec476f) )
384   ROM_LOAD( "f05",          0xa000, 0x2000, CRC(e97d5093) SHA1(c76c119574d19d2ac10e6987150744542803ef5b) )
385   ROM_LOAD( "tp84_9j.bin",  0xc000, 0x2000, CRC(dbd5333b) SHA1(65dee1fd4c940a5423d57cb55a7f2ad89c59c5c6) )
386   ROM_LOAD( "f07",          0xe000, 0x2000, CRC(8fbdb4ef) SHA1(e615c4d9964ab00f6776147c54925b4b6100b360) )
383   ROM_LOAD( "388_f04.7j",  0x8000, 0x2000, CRC(605f61c7) SHA1(6848ef35ec7f92cccefb0fb2de42c4b0e9ec476f) )
384   ROM_LOAD( "388_f05.8j",  0xa000, 0x2000, CRC(e97d5093) SHA1(c76c119574d19d2ac10e6987150744542803ef5b) )
385   ROM_LOAD( "388_f06.9j",  0xc000, 0x2000, CRC(dbd5333b) SHA1(65dee1fd4c940a5423d57cb55a7f2ad89c59c5c6) )
386   ROM_LOAD( "388_f07.10j", 0xe000, 0x2000, CRC(8fbdb4ef) SHA1(e615c4d9964ab00f6776147c54925b4b6100b360) )
387387
388388   ROM_REGION( 0x10000, "sub", 0 )   /* 64k for the second CPU */
389   ROM_LOAD( "tp84_10d.bin", 0xe000, 0x2000, CRC(36462ff1) SHA1(118a1b46ee01a583e6cf39af59b073321c76dbff) )
389   ROM_LOAD( "388_f08.10d", 0xe000, 0x2000, CRC(36462ff1) SHA1(118a1b46ee01a583e6cf39af59b073321c76dbff) ) /* E08? */
390390
391391   ROM_REGION( 0x10000, "audiocpu", 0 )   /* 64k for code of sound cpu Z80 */
392   ROM_LOAD( "tp84s_6a.bin", 0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
392   ROM_LOAD( "388j13.6a",  0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
393393
394394   ROM_REGION( 0x4000, "gfx1", 0 )
395   ROM_LOAD( "tp84_2j.bin",  0x0000, 0x2000, CRC(05c7508f) SHA1(1a3c7cd47ad34e37a7b0f3014e10c055cbb2b559) ) /* chars */
396   ROM_LOAD( "tp84_1j.bin",  0x2000, 0x2000, CRC(498d90b7) SHA1(6975f3a1603b14132aab58329195a4845a6e28bb) )
395   ROM_LOAD( "388_h02.2j",  0x0000, 0x2000, CRC(05c7508f) SHA1(1a3c7cd47ad34e37a7b0f3014e10c055cbb2b559) ) /* chars */
396   ROM_LOAD( "388_d01.1j",  0x2000, 0x2000, CRC(498d90b7) SHA1(6975f3a1603b14132aab58329195a4845a6e28bb) )
397397
398398   ROM_REGION( 0x8000, "gfx2", 0 )
399   ROM_LOAD( "tp84_12a.bin", 0x0000, 0x2000, CRC(cd682f30) SHA1(6f48d3efc53d63171ec655e64b225412de1374e4) ) /* sprites */
400   ROM_LOAD( "tp84_13a.bin", 0x2000, 0x2000, CRC(888d4bd6) SHA1(7e2dde080bb614709561431a81b0490b2aaa42a9) )
401   ROM_LOAD( "tp84_14a.bin", 0x4000, 0x2000, CRC(9a220b39) SHA1(792aaa4daedc8eb807d5a66d87da4641739b1660) )
402   ROM_LOAD( "tp84_15a.bin", 0x6000, 0x2000, CRC(fac98397) SHA1(d90f99b19ab3cddfdfd37a273fb437be098088bc) )
399   ROM_LOAD( "388_e09.12a", 0x0000, 0x2000, CRC(cd682f30) SHA1(6f48d3efc53d63171ec655e64b225412de1374e4) ) /* sprites */
400   ROM_LOAD( "388_e10.13a", 0x2000, 0x2000, CRC(888d4bd6) SHA1(7e2dde080bb614709561431a81b0490b2aaa42a9) )
401   ROM_LOAD( "388_e11.14a", 0x4000, 0x2000, CRC(9a220b39) SHA1(792aaa4daedc8eb807d5a66d87da4641739b1660) )
402   ROM_LOAD( "388_e12.15a", 0x6000, 0x2000, CRC(fac98397) SHA1(d90f99b19ab3cddfdfd37a273fb437be098088bc) )
403403
404404   ROM_REGION( 0x0500, "proms", 0 )
405   ROM_LOAD( "tp84_2c.bin",  0x0000, 0x0100, CRC(d737eaba) SHA1(e39026f87f5b995cf4a38b5d3d3fee7561762ae6) ) /* palette red component */
406   ROM_LOAD( "tp84_2d.bin",  0x0100, 0x0100, CRC(2f6a9a2a) SHA1(f09d8b92c7f9bf046cdd815c5282d0510e61b6e0) ) /* palette green component */
407   ROM_LOAD( "tp84_1e.bin",  0x0200, 0x0100, CRC(2e21329b) SHA1(9ba8af294dbd6f3a5d039c74a56e0605a913c037) ) /* palette blue component */
408   ROM_LOAD( "tp84_1f.bin",  0x0300, 0x0100, CRC(61d2d398) SHA1(3f74ad733b07b6a31cf9d4956d171eb9253dd6bf) ) /* char lookup table */
409   ROM_LOAD( "tp84_16c.bin", 0x0400, 0x0100, CRC(13c4e198) SHA1(42ab23206be99e840bd9c52cefa175c12fac8e5b) ) /* sprite lookup table */
405   ROM_LOAD( "388d14.2c",   0x0000, 0x0100, CRC(d737eaba) SHA1(e39026f87f5b995cf4a38b5d3d3fee7561762ae6) ) /* palette red component */
406   ROM_LOAD( "388d15.2d",   0x0100, 0x0100, CRC(2f6a9a2a) SHA1(f09d8b92c7f9bf046cdd815c5282d0510e61b6e0) ) /* palette green component */
407   ROM_LOAD( "388d16.1e",   0x0200, 0x0100, CRC(2e21329b) SHA1(9ba8af294dbd6f3a5d039c74a56e0605a913c037) ) /* palette blue component */
408   ROM_LOAD( "388d18.1f",   0x0300, 0x0100, CRC(61d2d398) SHA1(3f74ad733b07b6a31cf9d4956d171eb9253dd6bf) ) /* char lookup table */
409   ROM_LOAD( "388d17.16c",  0x0400, 0x0100, CRC(af8f839c) SHA1(b469785a4153a221403fcf72c65c9c35ae75df5d) ) /* sprite lookup table (dump miss?)*/
410410ROM_END
411411
412412ROM_START( tp84b )
src/mame/drivers/jack.c
r8054r8055
193193
194194static INPUT_PORTS_START( jack )
195195   PORT_START("DSW1")
196   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )
196   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:!1,!2")
197197   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
198198   PORT_DIPSETTING(    0x03, DEF_STR( 4C_3C ) )
199199   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
200200   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
201   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )
201   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:!3,!4")
202202   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
203203   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
204204   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_3C ) )
205205   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
206   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Lives ) )
206   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:!5")
207207   PORT_DIPSETTING(    0x00, "3" )
208208   PORT_DIPSETTING(    0x10, "5" )
209   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Bonus_Life ) )
209   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:!6")
210210   PORT_DIPSETTING(    0x00, "Every 10000" )
211211   PORT_DIPSETTING(    0x20, "10000 Only" )
212   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Difficulty ) )
212   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:!7")
213213   PORT_DIPSETTING(    0x00, "Start on Level 1" )
214214   PORT_DIPSETTING(    0x40, "Start on Level 13" )
215   PORT_DIPNAME( 0x80, 0x00, "Bullets per Bean Collected" )
215   PORT_DIPNAME( 0x80, 0x00, "Per Bean/Bullets" )      PORT_DIPLOCATION("SW1:!8")
216216   PORT_DIPSETTING(    0x00, "1" )
217217   PORT_DIPSETTING(    0x80, "2" )
218218
219219   PORT_START("DSW2")
220   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
220   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:!1")
221221   PORT_DIPSETTING(    0x01, DEF_STR( Upright ) )
222222   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
223   PORT_BIT( 0x1e, IP_ACTIVE_HIGH, IPT_UNUSED )
224   PORT_SERVICE( 0x20, IP_ACTIVE_HIGH )
225   PORT_DIPNAME( 0x40, 0x00, "Invulnerability (Cheat)")
223   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW2:!2" )
224   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:!3" )
225   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW2:!4" )
226   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW2:!5" )
227   PORT_SERVICE( 0x20, IP_ACTIVE_HIGH )         PORT_DIPLOCATION("SW2:!6")
228   PORT_DIPNAME( 0x40, 0x00, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW2:!7")
226229   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
227230   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
228   PORT_DIPNAME( 0x80, 0x00, "255 Lives (Cheat)")
231   PORT_DIPNAME( 0x80, 0x00, "255 Lives (Cheat)")      PORT_DIPLOCATION("SW2:!8")
229232   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
230233   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
231234
r8054r8055
263266   PORT_INCLUDE( jack )
264267
265268   PORT_MODIFY("DSW1")
266   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )
269   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:!1,!2")
267270   PORT_DIPSETTING(    0x03, DEF_STR( 4C_3C ) )
268271   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
269272   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
270273   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
271   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )
274   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:!3,!4")
272275   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
273276   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
274277   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_3C ) )
r8054r8055
280283   PORT_INCLUDE( jack )
281284
282285   PORT_MODIFY("DSW1")
283   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )
286   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:!1,!2")
284287   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
285288   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
286289   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
287290   PORT_DIPSETTING(    0x03, DEF_STR( 1C_5C ) )
288   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )
291   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:!3,!4")
289292   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_1C ) )
290293   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
291294   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
r8054r8055
297300   PORT_INCLUDE( jack )
298301
299302   PORT_MODIFY("DSW1")
300   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Difficulty ) )
303   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:!7")
301304   PORT_DIPSETTING(    0x00, "Start on Level 1" )
302305   PORT_DIPSETTING(    0x40, "Start on Level 6" )
303   PORT_DIPNAME( 0x80, 0x00, "Bullets per Bean Collected" )
306   PORT_DIPNAME( 0x80, 0x00, "Per Bean/Bullets" )      PORT_DIPLOCATION("SW1:!8")
304307   PORT_DIPSETTING(    0x00, "5" )
305308   PORT_DIPSETTING(    0x80, "20" )
306309INPUT_PORTS_END
307310
308311static INPUT_PORTS_START( zzyzzyxx )
309312   PORT_START("DSW1")
310   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
313   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:!1,!2")
311314   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
312315   PORT_DIPSETTING(    0x03, DEF_STR( 4C_3C ) )
313316   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
314317   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
315   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) )
318   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:!3")
316319   PORT_DIPSETTING(    0x04, "2" )
317320   PORT_DIPSETTING(    0x00, "3" )
318   PORT_DIPNAME( 0x08, 0x00, "2 Credits on Reset" )
321   PORT_DIPNAME( 0x08, 0x00, "2 Credits on Reset" )   PORT_DIPLOCATION("SW1:!4")
319322   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
320323   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
321   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
324   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:!5")
322325   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
323326   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
324   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
327   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:!6")
325328   PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
326329   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
327   PORT_SERVICE( 0x40, IP_ACTIVE_HIGH )
328   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Free_Play ) )
330   PORT_SERVICE( 0x40, IP_ACTIVE_HIGH )         PORT_DIPLOCATION("SW1:!7")
331   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW1:!8")
329332   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
330333   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
331334
332335   PORT_START("DSW2")
333   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Bonus_Life ) )
336   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:!1,!2")
334337   PORT_DIPSETTING(    0x02, DEF_STR( None ) )
335338   PORT_DIPSETTING(    0x00, "10000 50000" )
336339   PORT_DIPSETTING(    0x01, "25000 100000" )
337340   PORT_DIPSETTING(    0x03, "100000 300000" )
338   PORT_DIPNAME( 0x04, 0x04, "2nd Bonus Given" )
341   PORT_DIPNAME( 0x04, 0x04, "2nd Bonus Given" )      PORT_DIPLOCATION("SW2:!3")
339342   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
340343   PORT_DIPSETTING(    0x04, DEF_STR( Yes ) )
341   PORT_DIPNAME( 0x08, 0x00, "Starting Laps" )
344   PORT_DIPNAME( 0x08, 0x00, "Starting Laps" )      PORT_DIPLOCATION("SW2:!4")
342345   PORT_DIPSETTING(    0x00, "2" )
343346   PORT_DIPSETTING(    0x08, "3" )
344   PORT_DIPNAME( 0x10, 0x00, "Difficulty of Pleasing Lola" ) // /me Raises eyebrow (EC)
347   PORT_DIPNAME( 0x10, 0x00, "Difficulty of Pleasing Lola" )   PORT_DIPLOCATION("SW2:!5")
345348   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
346349   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
347   PORT_DIPNAME( 0x20, 0x00, "Show Intermissions" )
350   PORT_DIPNAME( 0x20, 0x00, "Show Intermissions" )   PORT_DIPLOCATION("SW2:!6")
348351   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
349352   PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
350   PORT_DIPNAME( 0xc0, 0x40, "Extra Lives" )
353   PORT_DIPNAME( 0xc0, 0x40, "Extra Lives" )      PORT_DIPLOCATION("SW2:!7,!8")
351354   PORT_DIPSETTING(    0x00, "3 under 4000 pts" )
352355   PORT_DIPSETTING(    0x80, "5 under 4000 pts" )
353356   PORT_DIPSETTING(    0x40, DEF_STR( None ) )         // 3 under 0 pts
r8054r8055
379382
380383static INPUT_PORTS_START( freeze )
381384   PORT_START("DSW1")
382   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )
385   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:!1")
383386   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
384387   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
385   PORT_SERVICE( 0x02, IP_ACTIVE_HIGH )
386   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Difficulty ) )
388   PORT_SERVICE( 0x02, IP_ACTIVE_HIGH )         PORT_DIPLOCATION("SW1:!2")
389   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:!3")
387390   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
388391   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
389   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) )
392   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:!4")
390393   PORT_DIPSETTING(    0x00, "3" )
391394   PORT_DIPSETTING(    0x08, "5" )
392   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
395   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:!5,!6")
393396   PORT_DIPSETTING(    0x00, "10000" )
394   PORT_DIPSETTING(    0x10, "10000 40000" )
395   PORT_DIPSETTING(    0x20, "10000 60000" )
396   PORT_DIPSETTING(    0x30, "20000 100000" )
397   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage ) )
397   PORT_DIPSETTING(    0x10, "10000 & Every 40000" )
398   PORT_DIPSETTING(    0x20, "10000 & Every 60000" )
399   PORT_DIPSETTING(    0x30, "20000 & Every 100000" )
400   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:!7,!8")
398401   PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
399402   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
400403   PORT_DIPSETTING(    0x40, DEF_STR( 1C_2C ) )
r8054r8055
447450
448451static INPUT_PORTS_START( sucasino )
449452   PORT_START("DSW1")
450   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
453   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:!1,!2")
451454   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
452455   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
453456   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
454457   PORT_DIPSETTING(    0x03, DEF_STR( 1C_4C ) )
455   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
458   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:!3")
456459   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
457460   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
458   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Flip_Screen ) )
461   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:!4")
459462   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
460463   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
461   PORT_DIPNAME( 0x70, 0x00, DEF_STR( Unknown ) )         // Check code at 0xf700
462   PORT_DIPSETTING(    0x00, "0" )
463   PORT_DIPSETTING(    0x10, "1" )
464   PORT_DIPSETTING(    0x20, "2" )
465   PORT_DIPSETTING(    0x30, "3" )
466   PORT_DIPSETTING(    0x40, "4" )
467   PORT_DIPSETTING(    0x50, "5" )
468   PORT_DIPSETTING(    0x60, "6" )
469   PORT_DIPSETTING(    0x70, "7" )
470   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
464   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" )      // bit 5-8, Check code at 0xf700
465   PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" )
466   PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" )
467   PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW1:!8" )
471468
472469   PORT_START("DSW2")
473470   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
r8054r8055
498495
499496static INPUT_PORTS_START( tripool )
500497   PORT_START("DSW1")
501   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
502   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
503   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
504   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
505   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
506   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
507   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
508   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
509   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
510   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
511   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
512   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
513   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
514   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
515   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
516   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
517   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
518   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
519   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
520   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
521   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
522   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
523   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
524   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
498   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:!1,!2")
499   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
500   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
501   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
502   PORT_DIPSETTING(    0x03, DEF_STR( 1C_5C ) )
503   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:!3,!4")
504   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_1C ) )
505   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
506   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
507   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
508   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" )
509   PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" )
510   PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" )
511   PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW1:!8" )
525512
526513   PORT_START("DSW2")
527   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
528   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
529   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
530   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
531   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
532   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
533   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
534   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
535   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
536   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
537   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
538   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
539   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
540   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
541   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
542   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
543   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
544   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
545   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
546   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
547   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
548   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
549   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
550   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
514   PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW2:!1" )
515   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW2:!2" )
516   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:!3" )
517   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW2:!4" )
518   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW2:!5" )
519   PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW2:!6" )
520   PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW2:!7" )
521   PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW2:!8" )
551522
552523   PORT_START("IN0")
553524   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
r8054r8055
582553
583554static INPUT_PORTS_START( joinem )
584555   PORT_START("DSW1")
585   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_A ) )
556   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:!1,!2")
586557   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
587558   PORT_DIPSETTING(    0x03, DEF_STR( 4C_3C ) )
588559   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
589560   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
590   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_B ) )
561   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:!3,!4")
591562   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
592563   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
593564   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_3C ) )
594565   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
595   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Lives ) )
566   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:!5")
596567   PORT_DIPSETTING(    0x00, "2" )
597568   PORT_DIPSETTING(    0x10, "5" )
598   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
599   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
600   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
601   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
602   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
603   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
604   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
605   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
606   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
569   PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" )
570   PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" )
571   PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW1:!8" )
607572
608573   PORT_START("DSW2")
609   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
574   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:!1")
610575   PORT_DIPSETTING(    0x01, DEF_STR( Upright ) )
611576   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
612   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
613   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
614   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
615   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
616   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
617   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
618   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
619   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
620   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
621   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
622   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
623   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
577   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW2:!2" )
578   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:!3" )
579   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW2:!4" )
580   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW2:!5" )
624581   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(sound_check_r, NULL) // sound check
625   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
582   PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW2:!7" )
583   PORT_DIPNAME( 0x80, 0x00, "Infinite Lives" )      PORT_DIPLOCATION("SW2:!8")
626584   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
627   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
628   PORT_DIPNAME( 0x80, 0x00, "Infinite Lives" )
629   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
630585   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
631586
632587   PORT_START("IN0")
r8054r8055
646601   PORT_START("IN2")
647602   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
648603   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 )
604
649605   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
650606   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START2 )
651607   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
r8054r8055
656612
657613static INPUT_PORTS_START( loverboy )
658614   PORT_START("DSW1")
659   PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coinage ) )
615   PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:!1,!2,!3,!4")
660616   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_1C ) )
661617   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
662618   PORT_DIPSETTING(    0x0d, DEF_STR( 4C_2C ) )
r8054r8055
673629   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
674630   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
675631   PORT_DIPSETTING(    0x03, DEF_STR( 1C_4C ) )
676   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
677   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
678   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
679   PORT_DIPNAME( 0x20, 0x00, "Bonus" )
680   PORT_DIPSETTING(    0x00, "20.000" )
681   PORT_DIPSETTING(    0x20, "30.000" )
682   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Lives ) )
632   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" )
633   PORT_DIPNAME( 0x20, 0x00, "Bonus" )         PORT_DIPLOCATION("SW1:!6")
634   PORT_DIPSETTING(    0x00, "20000" )
635   PORT_DIPSETTING(    0x20, "30000" )
636   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:!7")
683637   PORT_DIPSETTING(    0x00, "3" )
684638   PORT_DIPSETTING(    0x40, "5" )
685   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
639   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:!8")
686640   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
687641   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
688642
689643   PORT_START("DSW2")
690   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
691   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
692   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
693   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
694   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
695   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
696   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
697   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
698   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
699   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
700   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
701   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
702   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
703   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
704   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
705   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
706   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
707   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
708   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
709   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
710   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
711   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
712   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
713   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
644   PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW2:!1" )
645   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW2:!2" )
646   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:!3" )
647   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW2:!4" )
648   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW2:!5" )
649   PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW2:!6" )
650   PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW2:!7" )
651   PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW2:!8" )
714652
715653   PORT_START("IN0")
716654   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY
r8054r8055
745683
746684static INPUT_PORTS_START( striv )
747685   PORT_START("DSW1")
748   PORT_DIPNAME( 0x02, 0x00, "Monitor" )
686   PORT_DIPNAME( 0x02, 0x00, "Monitor" )         PORT_DIPLOCATION("SW1:!2")
749687   PORT_DIPSETTING(    0x02, "Horizontal" )
750688   PORT_DIPSETTING(    0x00, "Vertical" )
751   PORT_DIPNAME( 0x05, 0x05, "Gaming Option Number" )
689   PORT_DIPNAME( 0x05, 0x05, "Gaming Option Number" )   PORT_DIPLOCATION("SW1:!1,!3")
752690   PORT_DIPSETTING(    0x01, "2" ) PORT_CONDITION("DSW1", 0x20, PORTCOND_EQUALS, 0x20)
753691   PORT_DIPSETTING(    0x05, "3" ) PORT_CONDITION("DSW1", 0x20, PORTCOND_EQUALS, 0x20)
754692   PORT_DIPSETTING(    0x00, "4" ) PORT_CONDITION("DSW1", 0x20, PORTCOND_EQUALS, 0x20)
r8054r8055
757695   PORT_DIPSETTING(    0x05, "5" ) PORT_CONDITION("DSW1", 0x20, PORTCOND_NOTEQUALS, 0x20)
758696   PORT_DIPSETTING(    0x00, "6" ) PORT_CONDITION("DSW1", 0x20, PORTCOND_NOTEQUALS, 0x20)
759697   PORT_DIPSETTING(    0x04, "7" ) PORT_CONDITION("DSW1", 0x20, PORTCOND_NOTEQUALS, 0x20)
760   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Cabinet ) )
698   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:!4")
761699   PORT_DIPSETTING(    0x08, DEF_STR( Upright ) )
762700   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
763   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Coinage ) )
701   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:!5")
764702   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
765703   PORT_DIPSETTING(    0x10, DEF_STR( 1C_1C ) )
766   PORT_DIPNAME( 0x20, 0x20, "Gaming Option" )
704   PORT_DIPNAME( 0x20, 0x20, "Gaming Option" )      PORT_DIPLOCATION("SW1:!6")
767705   PORT_DIPSETTING(    0x20, "Number of Wrong Answer" )
768706   PORT_DIPSETTING(    0x00, "Number of Questions" )
769   PORT_DIPNAME( 0x40, 0x40, "Show Correct Answer" )
707   PORT_DIPNAME( 0x40, 0x40, "Show Correct Answer" )   PORT_DIPLOCATION("SW1:!7")
770708   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
771709   PORT_DIPSETTING(    0x40, DEF_STR( Yes ) )
772   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
710   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )         PORT_DIPLOCATION("SW1:!8")
773711
774712   PORT_START("DSW2")
775713   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED ) //?
r8054r8055
15071445GAME( 1984, sucasino, 0,        jack,    sucasino, jack,     ROT90,  "Data Amusement",              "Super Casino", GAME_SUPPORTS_SAVE )
15081446GAME( 1981, tripool,  0,        tripool, tripool,  jack,     ROT90,  "Noma (Casino Tech license)",  "Tri-Pool (Casino Tech)", GAME_SUPPORTS_SAVE )
15091447GAME( 1981, tripoola, tripool,  tripool, tripool,  jack,     ROT90,  "Noma (Costal Games license)", "Tri-Pool (Costal Games)", GAME_SUPPORTS_SAVE )
1510GAME( 1986, joinem,   0,        joinem,  joinem,   zzyzzyxx, ROT90,  "Global Corporation",          "Joinem", GAME_SUPPORTS_SAVE )
1448GAME( 1983, joinem,   0,        joinem,  joinem,   zzyzzyxx, ROT90,  "Global Corporation",          "Joinem", GAME_SUPPORTS_SAVE )
15111449GAME( 1983, loverboy, 0,        loverboy,loverboy, loverboy, ROT90,  "G.T Enterprise Inc",          "Lover Boy", GAME_SUPPORTS_SAVE )
15121450GAME( 1985, striv,    0,        jack,    striv,    striv,    ROT270, "Hara Industries",             "Super Triv", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/galivan.c
r8054r8055
837837   ROM_LOAD( "yncp-7f.bin",  0x0000, 0x0100, CRC(262d0809) SHA1(a67281af02cef082023c0d7d57e3824aeef67450) )   /* sprite palette bank */
838838ROM_END
839839
840ROM_START( youma2 )
841   ROM_REGION( 0x18000, "maincpu", 0 )   /* main cpu code */
842   ROM_LOAD( "1.1d",    0x00000, 0x8000, CRC(171dbe99) SHA1(c9fdca3849e20ab702415984b4039cf2cfa34cb8) )   // x
843   ROM_LOAD( "2.3d",    0x08000, 0x4000, CRC(e502d62a) SHA1(fdfb44c17557a513fe855b14140fe48921d6802b) )   // x
844   ROM_LOAD( "3.4d",    0x10000, 0x8000, CRC(cb84745c) SHA1(a961c329be26c423212078d04d5f783c796136b4) )   // x
845
846   ROM_REGION( 0x10000, "audiocpu", 0 )   /* sound cpu code */
847   ROM_LOAD( "12.14b",  0x0000, 0x4000, CRC(3d1cd329) SHA1(6abd8e0dbecddfd67c4d358b958c850136fd3c29) )
848   ROM_LOAD( "13.15b",  0x4000, 0x8000, CRC(ac3a0b81) SHA1(39f2c305706e313d5256c357a3c8b57bbe45d3d7) )
849
850   ROM_REGION( 0x08000, "gfx1", 0 )
851   ROM_LOAD( "4.7d",    0x00000, 0x8000, CRC(40aeffd8) SHA1(f31e723323a0cdb8efa8b320f1c4efd646401ca4) )   /* chars x */
852
853   ROM_REGION( 0x20000, "gfx2", 0 )
854   ROM_LOAD( "ninjemak.8",   0x00000, 0x8000, CRC(655f0a58) SHA1(8ffe73cec68d52c7b09651b546289613d6d4dde4) ) /* tiles */
855   ROM_LOAD( "ninjemak.9",   0x08000, 0x8000, CRC(934e1703) SHA1(451f8d01d9035d91c969cdc3fb582a00007da7df) )
856   ROM_LOAD( "ninjemak.10",  0x10000, 0x8000, CRC(955b5c45) SHA1(936bfe2599228dd0861bbcfe15152ac5e9b906d1) )
857   ROM_LOAD( "ninjemak.11",  0x18000, 0x8000, CRC(bbd2e51c) SHA1(51bc266cf8161610204e5d98e56346b1d8d3c009) )
858
859   ROM_REGION( 0x20000, "gfx3", 0 )
860   ROM_LOAD( "ninjemak.16",  0x00000, 0x8000, CRC(8df93fed) SHA1(ef37c78d4abbdbe9f427e3d9345f52464261116d) )  /* sprites */
861   ROM_LOAD( "ninjemak.17",  0x08000, 0x8000, CRC(a3efd0fc) SHA1(69d40707b0570c2f1be6247f0209ba9e60a83ed0) )
862   ROM_LOAD( "ninjemak.14",  0x10000, 0x8000, CRC(bff332d3) SHA1(d277ba18034b083eaafa969d90685563994416fa) )
863   ROM_LOAD( "ninjemak.15",  0x18000, 0x8000, CRC(56430ed4) SHA1(68356a0f68404ef70d8dc17d5cbdf5e1f28badcf) )
864
865   ROM_REGION( 0x8000, "gfx4", 0 )   /* background tilemaps */
866   ROM_LOAD( "ninjemak.7",   0x0000, 0x4000, CRC(80c20d36) SHA1(f20724754824030d62059388f3ea2224f5b7a60e) )
867   ROM_LOAD( "ninjemak.6",   0x4000, 0x4000, CRC(1da7a651) SHA1(5307452058164a0bc39d144dd204627a9ead7543) )
868
869   ROM_REGION( 0x4000, "gfx5", 0 )   /* data for mcu/blitter? */
870   ROM_LOAD( "5.15d",    0x0000, 0x4000, CRC(1b4f64aa) SHA1(2cb2db946bf93e0928d6aa2e2dd29acb92981567) )   /* text layer data x */
871
872   ROM_REGION( 0x0400, "proms", 0 )   /* Region 3 - color data */
873   ROM_LOAD( "bpr.6e",  0x0000, 0x0100, CRC(8a62d4e4) SHA1(99ca4da01ea1b5585f6e3ebf162c3f988ab317e5) )   /* red x */
874   ROM_LOAD( "bpr.7e",  0x0100, 0x0100, CRC(2ccf976f) SHA1(b804ee761793697087fbe3372352f301a22feeab) )   /* green x */
875   ROM_LOAD( "bpr.8e",  0x0200, 0x0100, CRC(16b2a7a4) SHA1(53c410b439c8a835447f15f2ab250b363b3f7888) )   /* blue x */
876   ROM_LOAD( "bpr.2d",  0x0300, 0x0100, CRC(23bade78) SHA1(7e2de5eb08d888f97830807b6dbe85d09bb3b7f8) )   /* sprite lookup table */
877
878   ROM_REGION( 0x0100, "user1", 0 )
879   ROM_LOAD( "bpr.7f",  0x0000, 0x0100, CRC(262d0809) SHA1(a67281af02cef082023c0d7d57e3824aeef67450) )   /* sprite palette bank */
880ROM_END
881
840882ROM_START( youmab )
841883   ROM_REGION( 0x18000, "maincpu", 0 )   /* main cpu code */
842884   ROM_LOAD( "electric1.3u", 0x00000, 0x8000, CRC(cc4fdb92) SHA1(9ce963db23f91f91e775a0b9a819f00db869120f) )
r8054r8055
10431085GAME( 1986, dangarb,  dangar,   galivan,  dangarb,  0, ROT270, "bootleg", "Dangar - Ufo Robo (bootleg)", GAME_SUPPORTS_SAVE )
10441086GAME( 1986, ninjemak, 0,        ninjemak, ninjemak, 0, ROT270, "Nichibutsu", "Ninja Emaki (US)", GAME_SUPPORTS_SAVE )
10451087GAME( 1986, youma,    ninjemak, ninjemak, ninjemak, 0, ROT270, "Nichibutsu", "Youma Ninpou Chou (Japan)", GAME_SUPPORTS_SAVE )
1088GAME( 1986, youma2,   ninjemak, ninjemak, ninjemak, 0, ROT270, "Nichibutsu", "Youma Ninpou Chou (Japan, alt)", GAME_SUPPORTS_SAVE )
10461089GAME( 1986, youmab,   ninjemak, ninjemak, ninjemak, youmab, ROT270, "bootleg", "Youma Ninpou Chou (Game Electronics bootleg, set 1)", GAME_NOT_WORKING|GAME_SUPPORTS_SAVE ) // scrolling doesn't work
10471090GAME( 1986, youmab2,  ninjemak, ninjemak, ninjemak, youmab, ROT270, "bootleg", "Youma Ninpou Chou (Game Electronics bootleg, set 2)", GAME_NOT_WORKING|GAME_SUPPORTS_SAVE ) // scrolling doesn't work
src/mame/drivers/segas18.c
r8054r8055
10171017   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3)
10181018
10191019   PORT_MODIFY("SERVICE")
1020   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) // individual mode
1020   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
10211021   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
10221022   PORT_SERVICE_NO_TOGGLE( 0x04, IP_ACTIVE_LOW )
10231023   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 )
10241024   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
10251025   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
10261026   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1027   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // individual mode
1027   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3) // individual mode
10281028
10291029   PORT_MODIFY("DSW")
10301030   PORT_DIPNAME( 0x01, 0x01, "Credits to Start" ) PORT_DIPLOCATION("SWB:1")
r8054r8055
13611361*/
13621362ROM_START( astorm )
13631363   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
1364   ROM_LOAD16_BYTE( "epr13182.a6", 0x000000, 0x40000, CRC(e31f2a1c) SHA1(690ee10c36e5bb6175470fb5564527e0e4a94d2c) )
1365   ROM_LOAD16_BYTE( "epr13181.a5", 0x000001, 0x40000, CRC(78cd3b26) SHA1(a81b807c5da625d8e4648ae80c41e4ca3870c0fa) )
1364   ROM_LOAD16_BYTE( "epr-13182.a6", 0x000000, 0x40000, CRC(e31f2a1c) SHA1(690ee10c36e5bb6175470fb5564527e0e4a94d2c) )
1365   ROM_LOAD16_BYTE( "epr-13181.a5", 0x000001, 0x40000, CRC(78cd3b26) SHA1(a81b807c5da625d8e4648ae80c41e4ca3870c0fa) )
13661366
13671367   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
13681368   ROM_LOAD( "317-0154.key", 0x0000, 0x2000, CRC(b86b6b8f) SHA1(869405383d563a3f3842c89462a7b2e184928532) )
13691369
13701370   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1371   ROM_LOAD( "epr13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1372   ROM_LOAD( "epr13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1373   ROM_LOAD( "epr13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
1371   ROM_LOAD( "epr-13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1372   ROM_LOAD( "epr-13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1373   ROM_LOAD( "epr-13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
13741374
13751375   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
1376   ROM_LOAD16_BYTE( "mpr13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1377   ROM_LOAD16_BYTE( "mpr13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1378   ROM_LOAD16_BYTE( "mpr13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1379   ROM_LOAD16_BYTE( "mpr13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1380   ROM_LOAD16_BYTE( "mpr13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1381   ROM_LOAD16_BYTE( "mpr13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1382   ROM_LOAD16_BYTE( "epr13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1383   ROM_LOAD16_BYTE( "epr13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
1376   ROM_LOAD16_BYTE( "mpr-13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1377   ROM_LOAD16_BYTE( "mpr-13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1378   ROM_LOAD16_BYTE( "mpr-13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1379   ROM_LOAD16_BYTE( "mpr-13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1380   ROM_LOAD16_BYTE( "mpr-13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1381   ROM_LOAD16_BYTE( "mpr-13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1382   ROM_LOAD16_BYTE( "epr-13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1383   ROM_LOAD16_BYTE( "epr-13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
13841384
13851385   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1386   ROM_LOAD( "epr13083a.bin", 0x010000, 0x20000, CRC(e7528e06) SHA1(1f4e618692c20aeb316d578c5ded12440eb072ab) )
1387   ROM_LOAD( "epr13076.bin",  0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1388   ROM_LOAD( "epr13077.bin",  0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1389   ROM_LOAD( "epr13078.bin",  0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
1386   ROM_LOAD( "epr-13083a.bin", 0x010000, 0x20000, CRC(e7528e06) SHA1(1f4e618692c20aeb316d578c5ded12440eb072ab) )
1387   ROM_LOAD( "epr-13076.bin",  0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1388   ROM_LOAD( "epr-13077.bin",  0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1389   ROM_LOAD( "epr-13078.bin",  0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
13901390ROM_END
13911391
13921392/**************************************************************************************************************************
r8054r8055
13971397*/
13981398ROM_START( astorm3 )
13991399   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
1400   ROM_LOAD16_BYTE( "epr13165.a6", 0x000000, 0x40000, CRC(6efcd381) SHA1(547c6703a34c3b9b887f5a63ec59a7055067bf3b) )
1401   ROM_LOAD16_BYTE( "epr13164.a5", 0x000001, 0x40000, CRC(97d693c6) SHA1(1a9aa98b32aae9367ed897e6931b2633b11b079e) )
1400   ROM_LOAD16_BYTE( "epr-13165.a6", 0x000000, 0x40000, CRC(6efcd381) SHA1(547c6703a34c3b9b887f5a63ec59a7055067bf3b) )
1401   ROM_LOAD16_BYTE( "epr-13164.a5", 0x000001, 0x40000, CRC(97d693c6) SHA1(1a9aa98b32aae9367ed897e6931b2633b11b079e) )
14021402
14031403   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
14041404   ROM_LOAD( "317-0148.key", 0x0000, 0x2000, CRC(72e4b64a) SHA1(945580d0cf25691370e9f2056cdffc01331d54ad) )
14051405
14061406   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1407   ROM_LOAD( "epr13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1408   ROM_LOAD( "epr13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1409   ROM_LOAD( "epr13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
1407   ROM_LOAD( "epr-13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1408   ROM_LOAD( "epr-13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1409   ROM_LOAD( "epr-13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
14101410
14111411   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
1412   ROM_LOAD16_BYTE( "mpr13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1413   ROM_LOAD16_BYTE( "mpr13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1414   ROM_LOAD16_BYTE( "mpr13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1415   ROM_LOAD16_BYTE( "mpr13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1416   ROM_LOAD16_BYTE( "mpr13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1417   ROM_LOAD16_BYTE( "mpr13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1418   ROM_LOAD16_BYTE( "epr13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1419   ROM_LOAD16_BYTE( "epr13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
1412   ROM_LOAD16_BYTE( "mpr-13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1413   ROM_LOAD16_BYTE( "mpr-13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1414   ROM_LOAD16_BYTE( "mpr-13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1415   ROM_LOAD16_BYTE( "mpr-13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1416   ROM_LOAD16_BYTE( "mpr-13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1417   ROM_LOAD16_BYTE( "mpr-13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1418   ROM_LOAD16_BYTE( "epr-13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1419   ROM_LOAD16_BYTE( "epr-13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
14201420
14211421   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1422   ROM_LOAD( "epr13083.bin", 0x010000, 0x20000, CRC(5df3af20) SHA1(e49105fcfd5bf37d14bd760f6adca5ce2412883d) )
1423   ROM_LOAD( "epr13076.bin", 0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1424   ROM_LOAD( "epr13077.bin", 0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1425   ROM_LOAD( "epr13078.bin", 0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
1422   ROM_LOAD( "epr-13083.bin", 0x010000, 0x20000, CRC(5df3af20) SHA1(e49105fcfd5bf37d14bd760f6adca5ce2412883d) )
1423   ROM_LOAD( "epr-13076.bin", 0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1424   ROM_LOAD( "epr-13077.bin", 0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1425   ROM_LOAD( "epr-13078.bin", 0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
14261426ROM_END
14271427
14281428/**************************************************************************************************************************
r8054r8055
14311431*/
14321432ROM_START( astormu )
14331433   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
1434   ROM_LOAD16_BYTE( "epr13095.a6", 0x000000, 0x40000, CRC(55d40742) SHA1(c30fcd7da1fe062b1f00275dc8ac79c3c619b719) )
1435   ROM_LOAD16_BYTE( "epr13094.a5", 0x000001, 0x40000, CRC(92b305f9) SHA1(d24a1de619d29a8f6ff9dfce455c2c7d6457ddbe) )
1434   ROM_LOAD16_BYTE( "epr-13095.a6", 0x000000, 0x40000, CRC(55d40742) SHA1(c30fcd7da1fe062b1f00275dc8ac79c3c619b719) )
1435   ROM_LOAD16_BYTE( "epr-13094.a5", 0x000001, 0x40000, CRC(92b305f9) SHA1(d24a1de619d29a8f6ff9dfce455c2c7d6457ddbe) )
14361436
14371437   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
14381438   ROM_LOAD( "317-0147.key", 0x0000, 0x2000, CRC(3fd54ba7) SHA1(2d74f44f2ed779ed2b119b4fc0bc844d90678c74) )
14391439
14401440   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1441   ROM_LOAD( "epr13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1442   ROM_LOAD( "epr13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1443   ROM_LOAD( "epr13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
1441   ROM_LOAD( "epr-13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1442   ROM_LOAD( "epr-13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1443   ROM_LOAD( "epr-13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
14441444
14451445   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
1446   ROM_LOAD16_BYTE( "mpr13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1447   ROM_LOAD16_BYTE( "mpr13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1448   ROM_LOAD16_BYTE( "mpr13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1449   ROM_LOAD16_BYTE( "mpr13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1450   ROM_LOAD16_BYTE( "mpr13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1451   ROM_LOAD16_BYTE( "mpr13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1452   ROM_LOAD16_BYTE( "epr13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1453   ROM_LOAD16_BYTE( "epr13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
1446   ROM_LOAD16_BYTE( "mpr-13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1447   ROM_LOAD16_BYTE( "mpr-13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1448   ROM_LOAD16_BYTE( "mpr-13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1449   ROM_LOAD16_BYTE( "mpr-13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1450   ROM_LOAD16_BYTE( "mpr-13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1451   ROM_LOAD16_BYTE( "mpr-13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1452   ROM_LOAD16_BYTE( "epr-13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1453   ROM_LOAD16_BYTE( "epr-13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
14541454
14551455   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1456   ROM_LOAD( "epr13083.bin", 0x010000, 0x20000, CRC(5df3af20) SHA1(e49105fcfd5bf37d14bd760f6adca5ce2412883d) )
1457   ROM_LOAD( "epr13076.bin", 0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1458   ROM_LOAD( "epr13077.bin", 0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1459   ROM_LOAD( "epr13078.bin", 0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
1456   ROM_LOAD( "epr-13083.bin", 0x010000, 0x20000, CRC(5df3af20) SHA1(e49105fcfd5bf37d14bd760f6adca5ce2412883d) )
1457   ROM_LOAD( "epr-13076.bin", 0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1458   ROM_LOAD( "epr-13077.bin", 0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1459   ROM_LOAD( "epr-13078.bin", 0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
14601460ROM_END
14611461
14621462/**************************************************************************************************************************
r8054r8055
14661466*/
14671467ROM_START( astormj )
14681468   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
1469   ROM_LOAD16_BYTE( "epr13085.a6", 0x000000, 0x40000, CRC(15f74e2d) SHA1(30d9d099ec18907edd3d20df312565c3bd5a80de) )
1470   ROM_LOAD16_BYTE( "epr13084.a5", 0x000001, 0x40000, CRC(9687b38f) SHA1(cdeb5b4f06ad4ad8ca579392c1ec901487b08e76) )
1469   ROM_LOAD16_BYTE( "epr-13085.a6", 0x000000, 0x40000, CRC(15f74e2d) SHA1(30d9d099ec18907edd3d20df312565c3bd5a80de) )
1470   ROM_LOAD16_BYTE( "epr-13084.a5", 0x000001, 0x40000, CRC(9687b38f) SHA1(cdeb5b4f06ad4ad8ca579392c1ec901487b08e76) )
14711471
14721472   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
14731473   ROM_LOAD( "317-0146.key", 0x0000, 0x2000, CRC(e94991c5) SHA1(c9a8b56e01792654436f24b219d7a92c0852461f) )
14741474
14751475   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1476   ROM_LOAD( "epr13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1477   ROM_LOAD( "epr13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1478   ROM_LOAD( "epr13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
1476   ROM_LOAD( "epr-13073.bin", 0x00000, 0x40000, CRC(df5d0a61) SHA1(79ad71de348f280bad847566c507b7a31f022292) )
1477   ROM_LOAD( "epr-13074.bin", 0x40000, 0x40000, CRC(787afab8) SHA1(a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7) )
1478   ROM_LOAD( "epr-13075.bin", 0x80000, 0x40000, CRC(4e01b477) SHA1(4178ce4a87ea427c3b0195e64acef6cddfb3485f) )
14791479
14801480   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
1481   ROM_LOAD16_BYTE( "mpr13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1482   ROM_LOAD16_BYTE( "mpr13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1483   ROM_LOAD16_BYTE( "mpr13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1484   ROM_LOAD16_BYTE( "mpr13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1485   ROM_LOAD16_BYTE( "mpr13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1486   ROM_LOAD16_BYTE( "mpr13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1487   ROM_LOAD16_BYTE( "epr13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1488   ROM_LOAD16_BYTE( "epr13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
1481   ROM_LOAD16_BYTE( "mpr-13082.bin", 0x000001, 0x40000, CRC(a782b704) SHA1(ba15bdfbc267b8d86f03e5310ce60846ff846de3) )
1482   ROM_LOAD16_BYTE( "mpr-13089.bin", 0x000000, 0x40000, CRC(2a4227f0) SHA1(47284dce8f896f8e8eace9c20302842cacb479c1) )
1483   ROM_LOAD16_BYTE( "mpr-13081.bin", 0x080001, 0x40000, CRC(eb510228) SHA1(4cd387b160ec7050e1300ebe708853742169e643) )
1484   ROM_LOAD16_BYTE( "mpr-13088.bin", 0x080000, 0x40000, CRC(3b6b4c55) SHA1(970495c54b3e1893ee8060f6ca1338c2cbbd1074) )
1485   ROM_LOAD16_BYTE( "mpr-13080.bin", 0x100001, 0x40000, CRC(e668eefb) SHA1(d4a087a238b4d3ac2d23fe148d6a73018e348a89) )
1486   ROM_LOAD16_BYTE( "mpr-13087.bin", 0x100000, 0x40000, CRC(2293427d) SHA1(4fd07763ff060afd594e3f64fa4750577f56c80e) )
1487   ROM_LOAD16_BYTE( "epr-13079.bin", 0x180001, 0x40000, CRC(de9221ed) SHA1(5e2e434d1aa547be1e5652fc906d2e18c5122023) )
1488   ROM_LOAD16_BYTE( "epr-13086.bin", 0x180000, 0x40000, CRC(8c9a71c4) SHA1(40b774765ac888792aad46b6351a24b7ef40d2dc) )
14891489
14901490   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1491   ROM_LOAD( "epr13083.bin", 0x010000, 0x20000, CRC(5df3af20) SHA1(e49105fcfd5bf37d14bd760f6adca5ce2412883d) )
1492   ROM_LOAD( "epr13076.bin", 0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1493   ROM_LOAD( "epr13077.bin", 0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1494   ROM_LOAD( "epr13078.bin", 0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
1491   ROM_LOAD( "epr-13083.bin", 0x010000, 0x20000, CRC(5df3af20) SHA1(e49105fcfd5bf37d14bd760f6adca5ce2412883d) )
1492   ROM_LOAD( "epr-13076.bin", 0x090000, 0x40000, CRC(94e6c76e) SHA1(f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed) )
1493   ROM_LOAD( "epr-13077.bin", 0x110000, 0x40000, CRC(e2ec0d8d) SHA1(225b0d223b7282cba7710300a877fb4a2c6dbabb) )
1494   ROM_LOAD( "epr-13078.bin", 0x190000, 0x40000, CRC(15684dc5) SHA1(595051006de24f791dae937584e502ff2fa31d9c) )
14951495ROM_END
14961496
14971497
r8054r8055
15041504*/
15051505ROM_START( bloxeed )
15061506   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 code */
1507   ROM_LOAD16_BYTE( "epr12911.a6", 0x000000, 0x20000, CRC(a481581a)SHA1(5ce5a0a082622919d2fe0e7d52ec807b2e2c25a2) )
1508   ROM_LOAD16_BYTE( "epr12910.a5", 0x000001, 0x20000, CRC(dd1bc3bf)SHA1(c0d79862a349ea4dac103c17325633c5dd4a93d1) )
1507   ROM_LOAD16_BYTE( "epr-12911.a6", 0x000000, 0x20000, CRC(a481581a)SHA1(5ce5a0a082622919d2fe0e7d52ec807b2e2c25a2) )
1508   ROM_LOAD16_BYTE( "epr-12910.a5", 0x000001, 0x20000, CRC(dd1bc3bf)SHA1(c0d79862a349ea4dac103c17325633c5dd4a93d1) )
15091509
15101510   ROM_REGION( 0x2000, "user1", 0 ) /* decryption key */
15111511   ROM_LOAD( "317-0139.key", 0x0000, 0x2000, CRC(9aae84cb)SHA1(806515d61ecacb260b2b5e5fe023b494d35ce315) )
15121512
15131513   ROM_REGION( 0x30000, "gfx1", 0 ) /* tiles */
1514   ROM_LOAD( "opr12884.b1", 0x00000, 0x10000, CRC(e024aa33)SHA1(d734be240cd05031aaadf9735c0b1b00e8e6d4cb) )
1515   ROM_LOAD( "opr12885.b2", 0x10000, 0x10000, CRC(8041b814)SHA1(29fa49ba9a73eed07865a86ea774e2c6a60aed5b) )
1516   ROM_LOAD( "opr12886.b3", 0x20000, 0x10000, CRC(de32285e)SHA1(8994dc128d6a23763e5fcfca1868b336d4aa0a21) )
1514   ROM_LOAD( "opr-12884.b1", 0x00000, 0x10000, CRC(e024aa33)SHA1(d734be240cd05031aaadf9735c0b1b00e8e6d4cb) )
1515   ROM_LOAD( "opr-12885.b2", 0x10000, 0x10000, CRC(8041b814)SHA1(29fa49ba9a73eed07865a86ea774e2c6a60aed5b) )
1516   ROM_LOAD( "opr-12886.b3", 0x20000, 0x10000, CRC(de32285e)SHA1(8994dc128d6a23763e5fcfca1868b336d4aa0a21) )
15171517
15181518   ROM_REGION( 0x20000, "gfx2", 0 ) /* sprites */
1519   ROM_LOAD16_BYTE( "opr12891.a11", 0x00001, 0x10000, CRC(90d31a8c)SHA1(1747652a5109ce65add197cf06535f2463a99fdc) )
1520   ROM_LOAD16_BYTE( "opr12887.b11", 0x00000, 0x10000, CRC(f0c0f49d)SHA1(7ecd591265165f3149241e2ceb5059faab88360f) )
1519   ROM_LOAD16_BYTE( "opr-12891.a11", 0x00001, 0x10000, CRC(90d31a8c)SHA1(1747652a5109ce65add197cf06535f2463a99fdc) )
1520   ROM_LOAD16_BYTE( "opr-12887.b11", 0x00000, 0x10000, CRC(f0c0f49d)SHA1(7ecd591265165f3149241e2ceb5059faab88360f) )
15211521
15221522   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1523   ROM_LOAD( "epr12888.a4", 0x010000, 0x20000, CRC(6f2fc63c)SHA1(3cce22c8f80013f05b5a2d36c42a61a81e4d6cbd) )
1523   ROM_LOAD( "epr-12888.a4", 0x010000, 0x20000, CRC(6f2fc63c)SHA1(3cce22c8f80013f05b5a2d36c42a61a81e4d6cbd) )
15241524ROM_END
15251525
15261526
r8054r8055
15331533*/
15341534ROM_START( cltchitr )
15351535   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
1536   ROM_LOAD16_BYTE( "epr13794.4a", 0x000000, 0x40000, CRC(c8d80233) SHA1(69cdbb989f580abbb006820347becf8d233fa773) )
1537   ROM_LOAD16_BYTE( "epr13795.6a", 0x000001, 0x40000, CRC(b0b60b67) SHA1(ee3325ddb7461008f556c1696157a766225b9ef5) )
1538   ROM_LOAD16_BYTE( "epr13784.5a", 0x200000, 0x40000, CRC(80c8180d) SHA1(80e72ab7d97714009fd31b3d50176af84b0dcdb7) )
1539   ROM_LOAD16_BYTE( "epr13786.7a", 0x200001, 0x40000, CRC(3095dac0) SHA1(20edce74b6f2a82a3865613e601a0e212615d0e4) )
1536   ROM_LOAD16_BYTE( "epr-13794.a4", 0x000000, 0x40000, CRC(c8d80233) SHA1(69cdbb989f580abbb006820347becf8d233fa773) )
1537   ROM_LOAD16_BYTE( "epr-13795.a6", 0x000001, 0x40000, CRC(b0b60b67) SHA1(ee3325ddb7461008f556c1696157a766225b9ef5) )
1538   ROM_LOAD16_BYTE( "epr-13784.a5", 0x200000, 0x40000, CRC(80c8180d) SHA1(80e72ab7d97714009fd31b3d50176af84b0dcdb7) )
1539   ROM_LOAD16_BYTE( "epr-13786.a7", 0x200001, 0x40000, CRC(3095dac0) SHA1(20edce74b6f2a82a3865613e601a0e212615d0e4) )
15401540
15411541   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
15421542   ROM_LOAD( "317-0176.key", 0x0000, 0x2000, CRC(9b072430) SHA1(3bc1c7a6d71b4351a42d85e68e70715a7659c096) )
15431543
15441544   ROM_REGION( 0x180000, "gfx1", 0 ) /* tiles */
1545   ROM_LOAD( "mpr13773.1c",  0x000000, 0x80000, CRC(3fc600e5) SHA1(8bec4ecf6a4e4b38d13133960036a5a4800a668e) )
1546   ROM_LOAD( "mpr13774.2c",  0x080000, 0x80000, CRC(2411a824) SHA1(0e383ccc4e0830ffb395d5102e2950610c147007) )
1547   ROM_LOAD( "mpr13775.3c",  0x100000, 0x80000, CRC(cf527bf6) SHA1(1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7) )
1545   ROM_LOAD( "mpr-13773.c1",  0x000000, 0x80000, CRC(3fc600e5) SHA1(8bec4ecf6a4e4b38d13133960036a5a4800a668e) )
1546   ROM_LOAD( "mpr-13774.c2",  0x080000, 0x80000, CRC(2411a824) SHA1(0e383ccc4e0830ffb395d5102e2950610c147007) )
1547   ROM_LOAD( "mpr-13775.c3",  0x100000, 0x80000, CRC(cf527bf6) SHA1(1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7) )
15481548
15491549   ROM_REGION16_BE( 0x600000, "gfx2", 0 ) /* sprites */
1550   ROM_LOAD16_BYTE( "mpr13779.10c", 0x000001, 0x80000, CRC(c707f416) SHA1(e6a9d89849f7f1c303a3ca29a629f81397945a2d) )
1551   ROM_LOAD16_BYTE( "mpr13787.10a", 0x000000, 0x80000, CRC(f05c68c6) SHA1(b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd) )
1552   ROM_LOAD16_BYTE( "mpr13780.11c", 0x200001, 0x80000, CRC(a4c341e0) SHA1(15a0b5a42b56465a7b7df98968cc2ed177ce6f59) )
1553   ROM_LOAD16_BYTE( "mpr13788.11a", 0x200000, 0x80000, CRC(0106fea6) SHA1(e16e2a469ecbbc704021dee6264db30aa0898368) )
1554   ROM_LOAD16_BYTE( "mpr13781.12c", 0x400001, 0x80000, CRC(f33b13af) SHA1(d3eb64dcf12d532454bf3cd6c86528c0f11ee316) )
1555   ROM_LOAD16_BYTE( "mpr13789.12a", 0x400000, 0x80000, CRC(09ba8835) SHA1(72e83dd1793a7f4b2b881e71f262493e3d4992b3) )
1550   ROM_LOAD16_BYTE( "mpr-13779.c10", 0x000001, 0x80000, CRC(c707f416) SHA1(e6a9d89849f7f1c303a3ca29a629f81397945a2d) )
1551   ROM_LOAD16_BYTE( "mpr-13787.a10", 0x000000, 0x80000, CRC(f05c68c6) SHA1(b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd) )
1552   ROM_LOAD16_BYTE( "mpr-13780.c11", 0x200001, 0x80000, CRC(a4c341e0) SHA1(15a0b5a42b56465a7b7df98968cc2ed177ce6f59) )
1553   ROM_LOAD16_BYTE( "mpr-13788.a11", 0x200000, 0x80000, CRC(0106fea6) SHA1(e16e2a469ecbbc704021dee6264db30aa0898368) )
1554   ROM_LOAD16_BYTE( "mpr-13781.c12", 0x400001, 0x80000, CRC(f33b13af) SHA1(d3eb64dcf12d532454bf3cd6c86528c0f11ee316) )
1555   ROM_LOAD16_BYTE( "mpr-13789.a12", 0x400000, 0x80000, CRC(09ba8835) SHA1(72e83dd1793a7f4b2b881e71f262493e3d4992b3) )
15561556
15571557   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1558   ROM_LOAD( "epr13793.7c", 0x010000, 0x80000, CRC(a3d31944) SHA1(44d17aa0598eacfac4b12c8955fd1067ca09abbd) )
1559   ROM_LOAD( "epr13792.6c", 0x090000, 0x80000, CRC(808f9695) SHA1(d50677d20083ad56dbf0864db05f76f93a4e9eba) )
1560   ROM_LOAD( "epr13791.5c", 0x110000, 0x80000, CRC(35c16d80) SHA1(7ed04600748c5efb63e25f066daa163e9c0d8038) )
1558   ROM_LOAD( "epr-13793.c7", 0x010000, 0x80000, CRC(a3d31944) SHA1(44d17aa0598eacfac4b12c8955fd1067ca09abbd) )
1559   ROM_LOAD( "epr-13792.c6", 0x090000, 0x80000, CRC(808f9695) SHA1(d50677d20083ad56dbf0864db05f76f93a4e9eba) )
1560   ROM_LOAD( "epr-13791.c5", 0x110000, 0x80000, CRC(35c16d80) SHA1(7ed04600748c5efb63e25f066daa163e9c0d8038) )
15611561ROM_END
15621562
15631563/**************************************************************************************************************************
r8054r8055
15671567*/
15681568ROM_START( cltchitrj )
15691569   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
1570   ROM_LOAD16_BYTE( "epr13783.a4", 0x000000, 0x40000, CRC(e2a1d5af) SHA1(cb6710fe2093889d5d159eaf55a3bd95c6f2ef87) )
1571   ROM_LOAD16_BYTE( "epr13796.a6", 0x000001, 0x40000, CRC(06001c67) SHA1(3aa48631013e6dc55e4c1d222b465e6b41ece36b) )
1572   ROM_LOAD16_BYTE( "epr13785.a5", 0x200000, 0x40000, CRC(09714762) SHA1(c75c88b1c313e172fdb7f9a570d57be38f959b2b) )
1573   ROM_LOAD16_BYTE( "epr13797.a7", 0x200001, 0x40000,  CRC(361ade9f) SHA1(a7fd48c55695fd322d0456ff7dc2d2b2bc3e561b) )
1570   ROM_LOAD16_BYTE( "epr-13783.a4", 0x000000, 0x40000, CRC(e2a1d5af) SHA1(cb6710fe2093889d5d159eaf55a3bd95c6f2ef87) )
1571   ROM_LOAD16_BYTE( "epr-13796.a6", 0x000001, 0x40000, CRC(06001c67) SHA1(3aa48631013e6dc55e4c1d222b465e6b41ece36b) )
1572   ROM_LOAD16_BYTE( "epr-13785.a5", 0x200000, 0x40000, CRC(09714762) SHA1(c75c88b1c313e172fdb7f9a570d57be38f959b2b) )
1573   ROM_LOAD16_BYTE( "epr-13797.a7", 0x200001, 0x40000,  CRC(361ade9f) SHA1(a7fd48c55695fd322d0456ff7dc2d2b2bc3e561b) )
15741574
15751575   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
15761576   ROM_LOAD( "317-0175.key", 0x0000, 0x2000, CRC(70d9d283) SHA1(ff309b2a221d9a03ccf301a208c76a7c2eaea790) )
15771577
15781578   ROM_REGION( 0x180000, "gfx1", 0 ) /* tiles */
1579   ROM_LOAD( "mpr13773.1c",  0x000000, 0x80000, CRC(3fc600e5) SHA1(8bec4ecf6a4e4b38d13133960036a5a4800a668e) )
1580   ROM_LOAD( "mpr13774.2c",  0x080000, 0x80000, CRC(2411a824) SHA1(0e383ccc4e0830ffb395d5102e2950610c147007) )
1581   ROM_LOAD( "mpr13775.3c",  0x100000, 0x80000, CRC(cf527bf6) SHA1(1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7) )
1579   ROM_LOAD( "mpr-13773.c1",  0x000000, 0x80000, CRC(3fc600e5) SHA1(8bec4ecf6a4e4b38d13133960036a5a4800a668e) )
1580   ROM_LOAD( "mpr-13774.c2",  0x080000, 0x80000, CRC(2411a824) SHA1(0e383ccc4e0830ffb395d5102e2950610c147007) )
1581   ROM_LOAD( "mpr-13775.c3",  0x100000, 0x80000, CRC(cf527bf6) SHA1(1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7) )
15821582
15831583   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1584   ROM_LOAD16_BYTE( "mpr13779.10c", 0x000001, 0x80000, CRC(c707f416) SHA1(e6a9d89849f7f1c303a3ca29a629f81397945a2d) )
1585   ROM_LOAD16_BYTE( "mpr13787.10a", 0x000000, 0x80000, CRC(f05c68c6) SHA1(b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd) )
1586   ROM_LOAD16_BYTE( "mpr13780.11c", 0x200001, 0x80000, CRC(a4c341e0) SHA1(15a0b5a42b56465a7b7df98968cc2ed177ce6f59) )
1587   ROM_LOAD16_BYTE( "mpr13788.11a", 0x200000, 0x80000, CRC(0106fea6) SHA1(e16e2a469ecbbc704021dee6264db30aa0898368) )
1588   ROM_LOAD16_BYTE( "mpr13781.12c", 0x400001, 0x80000, CRC(f33b13af) SHA1(d3eb64dcf12d532454bf3cd6c86528c0f11ee316) )
1589   ROM_LOAD16_BYTE( "mpr13789.12a", 0x400000, 0x80000, CRC(09ba8835) SHA1(72e83dd1793a7f4b2b881e71f262493e3d4992b3) )
1584   ROM_LOAD16_BYTE( "mpr-13779.c10", 0x000001, 0x80000, CRC(c707f416) SHA1(e6a9d89849f7f1c303a3ca29a629f81397945a2d) )
1585   ROM_LOAD16_BYTE( "mpr-13787.a10", 0x000000, 0x80000, CRC(f05c68c6) SHA1(b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd) )
1586   ROM_LOAD16_BYTE( "mpr-13780.c11", 0x200001, 0x80000, CRC(a4c341e0) SHA1(15a0b5a42b56465a7b7df98968cc2ed177ce6f59) )
1587   ROM_LOAD16_BYTE( "mpr-13788.a11", 0x200000, 0x80000, CRC(0106fea6) SHA1(e16e2a469ecbbc704021dee6264db30aa0898368) )
1588   ROM_LOAD16_BYTE( "mpr-13781.c12", 0x400001, 0x80000, CRC(f33b13af) SHA1(d3eb64dcf12d532454bf3cd6c86528c0f11ee316) )
1589   ROM_LOAD16_BYTE( "mpr-13789.a12", 0x400000, 0x80000, CRC(09ba8835) SHA1(72e83dd1793a7f4b2b881e71f262493e3d4992b3) )
15901590   /* extra gfx roms??*/
1591   ROM_LOAD16_BYTE( "epr13782.c13", 0x600001, 0x40000, CRC(73790852) SHA1(891345cb8ce4b04bd293ee9bac9b1b9940d6bcb2) )
1592   ROM_LOAD16_BYTE( "epr13790.a13", 0x600000, 0x40000, CRC(23849101) SHA1(1aeb0fefb6688dfd841bd7d0b17ffdfce69f1dd9) )
1591   ROM_LOAD16_BYTE( "epr-13782.c13", 0x600001, 0x40000, CRC(73790852) SHA1(891345cb8ce4b04bd293ee9bac9b1b9940d6bcb2) )
1592   ROM_LOAD16_BYTE( "epr-13790.a13", 0x600000, 0x40000, CRC(23849101) SHA1(1aeb0fefb6688dfd841bd7d0b17ffdfce69f1dd9) )
15931593
15941594   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
15951595   /* another copy in different set is epr-13778.b7 - 9c54c038 */
1596   ROM_LOAD( "epr13778.c7", 0x010000, 0x20000, CRC(35e86146) SHA1(9be82165dc12d5f32ef26f37ea02b29e3621893f) )
1597   ROM_LOAD( "epr13777.c6", 0x090000, 0x80000, CRC(d1524782) SHA1(121c5804927ed686ea50d5d81d0226e041f50f6f) )
1598   ROM_LOAD( "epr13776.c5", 0x110000, 0x80000, CRC(282ac9fe) SHA1(4f54d93779c35c036d7c85fce6736df80f3bbe33) )
1596   ROM_LOAD( "epr-13778.c7", 0x010000, 0x20000, CRC(35e86146) SHA1(9be82165dc12d5f32ef26f37ea02b29e3621893f) )
1597   ROM_LOAD( "epr-13777.c6", 0x090000, 0x80000, CRC(d1524782) SHA1(121c5804927ed686ea50d5d81d0226e041f50f6f) )
1598   ROM_LOAD( "epr-13776.c5", 0x110000, 0x80000, CRC(282ac9fe) SHA1(4f54d93779c35c036d7c85fce6736df80f3bbe33) )
15991599ROM_END
16001600
16011601
r8054r8055
16101610   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
16111611   ROM_LOAD16_BYTE( "epr-14160.a4", 0x000000, 0x40000, CRC(b9f897b7) SHA1(65cee6c8006f328eee648e144e11fa60b1433ff5) )
16121612   ROM_LOAD16_BYTE( "epr-14161.a6", 0x000001, 0x40000, CRC(bb03c1f0) SHA1(9e7fbd2cda448992c6cbf4b96078b57305def097) )
1613   ROM_LOAD16_BYTE( "mpr-14139.5a", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1614   ROM_LOAD16_BYTE( "mpr-14141.7a", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
1613   ROM_LOAD16_BYTE( "mpr-14139.a5", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1614   ROM_LOAD16_BYTE( "mpr-14141.a7", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
16151615
16161616   ROM_REGION( 0x2000, "user1", 0 ) /* decryption key */
16171617   ROM_LOAD( "317-0190.key", 0x0000, 0x2000, CRC(2d502b11) SHA1(c4e94da59b0e15a5a302ebe88988d1657e7e9814 ) )
16181618
16191619   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1620   ROM_LOAD( "epr-14127.1c", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1621   ROM_LOAD( "epr-14128.2c", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1622   ROM_LOAD( "epr-14129.3c", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
1620   ROM_LOAD( "epr-14127.c1", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1621   ROM_LOAD( "epr-14128.c2", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1622   ROM_LOAD( "epr-14129.c3", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
16231623
16241624   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1625   ROM_LOAD16_BYTE( "mpr-14134.10c", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1626   ROM_LOAD16_BYTE( "mpr-14142.10a", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1627   ROM_LOAD16_BYTE( "mpr-14135.11c", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1628   ROM_LOAD16_BYTE( "mpr-14143.11a", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1629   ROM_LOAD16_BYTE( "mpr-14136.12c", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1630   ROM_LOAD16_BYTE( "mpr-14144.12a", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1631   ROM_LOAD16_BYTE( "epr-14137.13c", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1632   ROM_LOAD16_BYTE( "epr-14145.13a", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
1625   ROM_LOAD16_BYTE( "mpr-14134.c10", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1626   ROM_LOAD16_BYTE( "mpr-14142.a10", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1627   ROM_LOAD16_BYTE( "mpr-14135.c11", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1628   ROM_LOAD16_BYTE( "mpr-14143.a11", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1629   ROM_LOAD16_BYTE( "mpr-14136.c12", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1630   ROM_LOAD16_BYTE( "mpr-14144.a12", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1631   ROM_LOAD16_BYTE( "epr-14137.c13", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1632   ROM_LOAD16_BYTE( "epr-14145.a13", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
16331633
16341634   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1635   ROM_LOAD( "epr-14133.7c", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1636   ROM_LOAD( "mpr-14132.6c", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1637   ROM_LOAD( "mpr-14131.5c", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1638   ROM_LOAD( "epr-14130.4c", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
1635   ROM_LOAD( "epr-14133.c7", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1636   ROM_LOAD( "mpr-14132.c6", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1637   ROM_LOAD( "mpr-14131.c5", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1638   ROM_LOAD( "epr-14130.c4", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
16391639ROM_END
16401640
16411641/**************************************************************************************************************************
r8054r8055
16451645*/
16461646ROM_START( ddcrewu )
16471647   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
1648   ROM_LOAD16_BYTE( "epr-14152.4a", 0x000000, 0x40000, CRC(69c7b571) SHA1(9fe4815a1cff0a46a754a6bdee12abaf7beb6501) )
1649   ROM_LOAD16_BYTE( "epr-14153.6a", 0x000001, 0x40000, CRC(e01fae0c) SHA1(7166f955324f73e94d8ae6d2a5b2f4b497e62933) )
1650   ROM_LOAD16_BYTE( "mpr-14139.5a", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1651   ROM_LOAD16_BYTE( "mpr-14141.7a", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
1648   ROM_LOAD16_BYTE( "epr-14152.a4", 0x000000, 0x40000, CRC(69c7b571) SHA1(9fe4815a1cff0a46a754a6bdee12abaf7beb6501) )
1649   ROM_LOAD16_BYTE( "epr-14153.a6", 0x000001, 0x40000, CRC(e01fae0c) SHA1(7166f955324f73e94d8ae6d2a5b2f4b497e62933) )
1650   ROM_LOAD16_BYTE( "mpr-14139.a5", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1651   ROM_LOAD16_BYTE( "mpr-14141.a7", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
16521652
16531653   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
16541654   ROM_LOAD( "317-0186.key", 0x0000, 0x2000, CRC(7acaf1fd) SHA1(236d6382072adda8f7907d98d428fcca36700fa0) )
16551655
16561656   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1657   ROM_LOAD( "epr-14127.1c", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1658   ROM_LOAD( "epr-14128.2c", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1659   ROM_LOAD( "epr-14129.3c", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
1657   ROM_LOAD( "epr-14127.c1", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1658   ROM_LOAD( "epr-14128.c2", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1659   ROM_LOAD( "epr-14129.c3", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
16601660
16611661   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1662   ROM_LOAD16_BYTE( "mpr-14134.10c", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1663   ROM_LOAD16_BYTE( "mpr-14142.10a", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1664   ROM_LOAD16_BYTE( "mpr-14135.11c", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1665   ROM_LOAD16_BYTE( "mpr-14143.11a", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1666   ROM_LOAD16_BYTE( "mpr-14136.12c", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1667   ROM_LOAD16_BYTE( "mpr-14144.12a", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1668   ROM_LOAD16_BYTE( "epr-14137.13c", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1669   ROM_LOAD16_BYTE( "epr-14145.13a", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
1662   ROM_LOAD16_BYTE( "mpr-14134.c10", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1663   ROM_LOAD16_BYTE( "mpr-14142.a10", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1664   ROM_LOAD16_BYTE( "mpr-14135.c11", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1665   ROM_LOAD16_BYTE( "mpr-14143.a11", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1666   ROM_LOAD16_BYTE( "mpr-14136.c12", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1667   ROM_LOAD16_BYTE( "mpr-14144.a12", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1668   ROM_LOAD16_BYTE( "epr-14137.c13", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1669   ROM_LOAD16_BYTE( "epr-14145.a13", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
16701670
16711671   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1672   ROM_LOAD( "epr-14133.7c", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1673   ROM_LOAD( "mpr-14132.6c", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1674   ROM_LOAD( "mpr-14131.5c", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1675   ROM_LOAD( "epr-14130.4c", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
1672   ROM_LOAD( "epr-14133.c7", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1673   ROM_LOAD( "mpr-14132.c6", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1674   ROM_LOAD( "mpr-14131.c5", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1675   ROM_LOAD( "epr-14130.c4", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
16761676ROM_END
16771677
16781678/**************************************************************************************************************************
r8054r8055
16841684   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
16851685   ROM_LOAD16_BYTE( "epr-14148.a4", 0x000000, 0x40000, CRC(df4cb0cf) SHA1(153993997e9ceb06a9d4c73794ea66d0c585a291) )
16861686   ROM_LOAD16_BYTE( "epr-14149.a6", 0x000001, 0x40000, CRC(380ff818) SHA1(7c7dd7aa825665f1a9aaebb5af4ecf5dd109b0ca) )
1687   ROM_LOAD16_BYTE( "mpr-14139.5a", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1688   ROM_LOAD16_BYTE( "mpr-14141.7a", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
1687   ROM_LOAD16_BYTE( "mpr-14139.a5", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1688   ROM_LOAD16_BYTE( "mpr-14141.a7", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
16891689
16901690   ROM_REGION( 0x2000, "user1", 0 ) /* decryption key */
16911691   ROM_LOAD( "317-0184.key", 0x0000, 0x2000, CRC(cee06254) SHA1(d64903055fdefb49c584cbcd84f0d4fa811bd789) )
16921692
16931693   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1694   ROM_LOAD( "epr-14127.1c", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1695   ROM_LOAD( "epr-14128.2c", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1696   ROM_LOAD( "epr-14129.3c", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
1694   ROM_LOAD( "epr-14127.c1", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1695   ROM_LOAD( "epr-14128.c2", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1696   ROM_LOAD( "epr-14129.c3", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
16971697
16981698   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1699   ROM_LOAD16_BYTE( "mpr-14134.10c", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1700   ROM_LOAD16_BYTE( "mpr-14142.10a", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1701   ROM_LOAD16_BYTE( "mpr-14135.11c", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1702   ROM_LOAD16_BYTE( "mpr-14143.11a", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1703   ROM_LOAD16_BYTE( "mpr-14136.12c", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1704   ROM_LOAD16_BYTE( "mpr-14144.12a", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1705   ROM_LOAD16_BYTE( "epr-14137.13c", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1706   ROM_LOAD16_BYTE( "epr-14145.13a", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
1699   ROM_LOAD16_BYTE( "mpr-14134.c10", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1700   ROM_LOAD16_BYTE( "mpr-14142.a10", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1701   ROM_LOAD16_BYTE( "mpr-14135.c11", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1702   ROM_LOAD16_BYTE( "mpr-14143.a11", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1703   ROM_LOAD16_BYTE( "mpr-14136.c12", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1704   ROM_LOAD16_BYTE( "mpr-14144.a12", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1705   ROM_LOAD16_BYTE( "epr-14137.c13", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1706   ROM_LOAD16_BYTE( "epr-14145.a13", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
17071707
17081708   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1709   ROM_LOAD( "epr-14133.7c", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1710   ROM_LOAD( "mpr-14132.6c", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1711   ROM_LOAD( "mpr-14131.5c", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1712   ROM_LOAD( "epr-14130.4c", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
1709   ROM_LOAD( "epr-14133.c7", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1710   ROM_LOAD( "mpr-14132.c6", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1711   ROM_LOAD( "mpr-14131.c5", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1712   ROM_LOAD( "epr-14130.c4", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
17131713ROM_END
17141714
17151715/**************************************************************************************************************************
r8054r8055
17221722   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
17231723   ROM_LOAD16_BYTE( "epr-14154.a4", 0x000000, 0x40000, CRC(9a0dadf0) SHA1(b55c8cdd3158607ec8203bfebc9e7aba24d6d565) )
17241724   ROM_LOAD16_BYTE( "epr-14155.a6", 0x000001, 0x40000, CRC(e74362f4) SHA1(a6f96d714baeb826221b712b996e99831cf25abf) )
1725   ROM_LOAD16_BYTE( "mpr-14139.5a", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1726   ROM_LOAD16_BYTE( "mpr-14141.7a", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
1725   ROM_LOAD16_BYTE( "mpr-14139.a5", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1726   ROM_LOAD16_BYTE( "mpr-14141.a7", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
17271727
17281728   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
17291729   ROM_LOAD( "317-0187.key", 0x0000, 0x2000, CRC(1dfb60be) SHA1(7bd42a2e54fca574076e5ed164ab4e0cbb645a4f) )
17301730
17311731   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1732   ROM_LOAD( "epr-14127.1c", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1733   ROM_LOAD( "epr-14128.2c", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1734   ROM_LOAD( "epr-14129.3c", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
1732   ROM_LOAD( "epr-14127.c1", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1733   ROM_LOAD( "epr-14128.c2", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1734   ROM_LOAD( "epr-14129.c3", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
17351735
17361736   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1737   ROM_LOAD16_BYTE( "mpr-14134.10c", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1738   ROM_LOAD16_BYTE( "mpr-14142.10a", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1739   ROM_LOAD16_BYTE( "mpr-14135.11c", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1740   ROM_LOAD16_BYTE( "mpr-14143.11a", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1741   ROM_LOAD16_BYTE( "mpr-14136.12c", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1742   ROM_LOAD16_BYTE( "mpr-14144.12a", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1743   ROM_LOAD16_BYTE( "epr-14137.13c", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1744   ROM_LOAD16_BYTE( "epr-14145.13a", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
1737   ROM_LOAD16_BYTE( "mpr-14134.c10", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1738   ROM_LOAD16_BYTE( "mpr-14142.a10", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1739   ROM_LOAD16_BYTE( "mpr-14135.c11", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1740   ROM_LOAD16_BYTE( "mpr-14143.a11", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1741   ROM_LOAD16_BYTE( "mpr-14136.c12", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1742   ROM_LOAD16_BYTE( "mpr-14144.a12", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1743   ROM_LOAD16_BYTE( "epr-14137.c13", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1744   ROM_LOAD16_BYTE( "epr-14145.a13", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
17451745
17461746   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1747   ROM_LOAD( "epr-14133.7c", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1748   ROM_LOAD( "mpr-14132.6c", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1749   ROM_LOAD( "mpr-14131.5c", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1750   ROM_LOAD( "epr-14130.4c", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
1747   ROM_LOAD( "epr-14133.c7", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1748   ROM_LOAD( "mpr-14132.c6", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1749   ROM_LOAD( "mpr-14131.c5", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1750   ROM_LOAD( "epr-14130.c4", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
17511751ROM_END
17521752
17531753/**************************************************************************************************************************
r8054r8055
17591759   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
17601760   ROM_LOAD16_BYTE( "epr-14138.a4", 0x000000, 0x40000, CRC(df280b1b) SHA1(581e8b6cbf3231d772de6b0e26b94541931215fd) )
17611761   ROM_LOAD16_BYTE( "epr-14140.a6", 0x000001, 0x40000, CRC(48f223ee) SHA1(5192b92d081829d2a4fcf2258675b24c94cfb4e5) )
1762   ROM_LOAD16_BYTE( "mpr-14139.5a", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1763   ROM_LOAD16_BYTE( "mpr-14141.7a", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
1762   ROM_LOAD16_BYTE( "mpr-14139.a5", 0x200000, 0x40000, CRC(06c31531) SHA1(d084cb72bf83578b34e959bb60a0695faf4161f8) )
1763   ROM_LOAD16_BYTE( "mpr-14141.a7", 0x200001, 0x40000, CRC(080a494b) SHA1(64522dccbf6ed856ab80aa185454183df87d7ae9) )
17641764
17651765   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
17661766   ROM_LOAD( "317-0182.key", 0x0000, 0x2000, CRC(2e8a3601) SHA1(8b6e10babfd2398c1669ba6bf9aad61cd02f23ba) )
17671767
17681768   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1769   ROM_LOAD( "epr-14127.1c", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1770   ROM_LOAD( "epr-14128.2c", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1771   ROM_LOAD( "epr-14129.3c", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
1769   ROM_LOAD( "epr-14127.c1", 0x00000, 0x40000, CRC(2228cd88) SHA1(5774bb6a401c3da05c5f3c9d3996b20bb3713cb2) )
1770   ROM_LOAD( "epr-14128.c2", 0x40000, 0x40000, CRC(edba8e10) SHA1(25a2833ead4ca363802ddc2eb97c40976502921a) )
1771   ROM_LOAD( "epr-14129.c3", 0x80000, 0x40000, CRC(e8ecc305) SHA1(a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4) )
17721772
17731773   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1774   ROM_LOAD16_BYTE( "mpr-14134.10c", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1775   ROM_LOAD16_BYTE( "mpr-14142.10a", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1776   ROM_LOAD16_BYTE( "mpr-14135.11c", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1777   ROM_LOAD16_BYTE( "mpr-14143.11a", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1778   ROM_LOAD16_BYTE( "mpr-14136.12c", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1779   ROM_LOAD16_BYTE( "mpr-14144.12a", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1780   ROM_LOAD16_BYTE( "epr-14137.13c", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1781   ROM_LOAD16_BYTE( "epr-14145.13a", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
1774   ROM_LOAD16_BYTE( "mpr-14134.c10", 0x000001, 0x80000, CRC(4fda6a4b) SHA1(a9e582e494ab967e8f3ccf4d5844bb8ef889928c) )
1775   ROM_LOAD16_BYTE( "mpr-14142.a10", 0x000000, 0x80000, CRC(3cbf1f2a) SHA1(80b6b006936740087786acd538e28aca85fa6894) )
1776   ROM_LOAD16_BYTE( "mpr-14135.c11", 0x200001, 0x80000, CRC(e9c74876) SHA1(aff9d071e77f01c6937188bf67be38fa898343e6) )
1777   ROM_LOAD16_BYTE( "mpr-14143.a11", 0x200000, 0x80000, CRC(59022c31) SHA1(5e1409fe0f29284dc6a3ffacf69b761aae09f132) )
1778   ROM_LOAD16_BYTE( "mpr-14136.c12", 0x400001, 0x80000, CRC(720d9858) SHA1(8ebcb8b3e9555ca48b28908d47dcbbd654398b6f) )
1779   ROM_LOAD16_BYTE( "mpr-14144.a12", 0x400000, 0x80000, CRC(7775fdd4) SHA1(a03cac039b400b651a4bf2167a8f2338f488ce26) )
1780   ROM_LOAD16_BYTE( "epr-14137.c13", 0x600001, 0x80000, CRC(846c4265) SHA1(58d0c213d085fb4dee18b7aefb05087d9d522950) )
1781   ROM_LOAD16_BYTE( "epr-14145.a13", 0x600000, 0x80000, CRC(0e76c797) SHA1(9a44dc948e84e5acac36e80105c2349ee78e6cfa) )
17821782
17831783   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1784   ROM_LOAD( "epr-14133.7c", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1785   ROM_LOAD( "mpr-14132.6c", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1786   ROM_LOAD( "mpr-14131.5c", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1787   ROM_LOAD( "epr-14130.4c", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
1784   ROM_LOAD( "epr-14133.c7", 0x010000, 0x20000, CRC(cff96665) SHA1(b4dc7f1a03415ebebdb99a82ae89328c345e7678) )
1785   ROM_LOAD( "mpr-14132.c6", 0x090000, 0x80000, CRC(1fae0220) SHA1(8414c74318ea915816c6b67801ac7c8c3fc905f9) )
1786   ROM_LOAD( "mpr-14131.c5", 0x110000, 0x80000, CRC(be5a7d0b) SHA1(c2c598b0cf711273fdd568f3401375e9772c1d61) )
1787   ROM_LOAD( "epr-14130.c4", 0x190000, 0x80000, CRC(948f34a1) SHA1(d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982) )
17881788ROM_END
17891789
17901790
r8054r8055
17961796    game No. 833-8830-02
17971797    pcb  No. 837-8832-02 (171-5873-02b)
17981798    rom  No. 834-8831-02 (171-5987a)
1799    CPU Hiatchi FD1094 317-0196 (Japanese version uses 317-0194)
1799    CPU Hiatchi FD1094 317-0196
18001800*/
18011801ROM_START( desertbr )
18021802   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code - custom CPU 317-0196 */
1803   ROM_LOAD16_BYTE( "epr14802.a4", 0x000000, 0x80000, CRC(9ab93cbc) SHA1(a8d0013e17519c26c6ba7d28ec73e22ea5bde0e9) )
1804   ROM_LOAD16_BYTE( "epr14902.a6", 0x000001, 0x80000, CRC(6724e7b1) SHA1(540c8bb7e848488dead81ca58f3bece45a87e611) )
1805   ROM_LOAD16_BYTE( "epr14793.a5", 0x200000, 0x80000, CRC(dc9d7af3) SHA1(1fc1fedc1a4beed94cece268d0bb4bf62eeb407c) )
1806   ROM_LOAD16_BYTE( "epr14795.a7", 0x200001, 0x80000, CRC(7e5bf7d9) SHA1(32ac68ee423a34e0f1bedc8765e03f40e01c3af1) )
1803   ROM_LOAD16_BYTE( "epr-14802.a4", 0x000000, 0x80000, CRC(9ab93cbc) SHA1(a8d0013e17519c26c6ba7d28ec73e22ea5bde0e9) )
1804   ROM_LOAD16_BYTE( "epr-14902.a6", 0x000001, 0x80000, CRC(6724e7b1) SHA1(540c8bb7e848488dead81ca58f3bece45a87e611) )
1805   ROM_LOAD16_BYTE( "epr-14793.a5", 0x200000, 0x80000, CRC(dc9d7af3) SHA1(1fc1fedc1a4beed94cece268d0bb4bf62eeb407c) )
1806   ROM_LOAD16_BYTE( "epr-14795.a7", 0x200001, 0x80000, CRC(7e5bf7d9) SHA1(32ac68ee423a34e0f1bedc8765e03f40e01c3af1) )
18071807
18081808   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
18091809   ROM_LOAD( "317-0196.key", 0x0000, 0x2000, CRC(cb942262) SHA1(7ad7cd3df887c6e6435d74784cb12ce016acd0da) )
18101810
18111811   ROM_REGION( 0x300000, "gfx1", 0 ) /* tiles */
1812   ROM_LOAD( "epr14781.b1", 0x000000, 0x100000, CRC(c4f7d7aa) SHA1(3c69dd7a26efccd7111ef33dfa6e8b738095c0bf) )
1813   ROM_LOAD( "epr14782.b2", 0x100000, 0x100000, CRC(ccc98d05) SHA1(b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5) )
1814   ROM_LOAD( "epr14783.b3", 0x200000, 0x100000, CRC(ef202bec) SHA1(b557092f8a3e1c9889d34588344c6dd2c6f06731) )
1812   ROM_LOAD( "mpr-14781.c1", 0x000000, 0x100000, CRC(c4f7d7aa) SHA1(3c69dd7a26efccd7111ef33dfa6e8b738095c0bf) )
1813   ROM_LOAD( "mpr-14782.c2", 0x100000, 0x100000, CRC(ccc98d05) SHA1(b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5) )
1814   ROM_LOAD( "mpr-14783.c3", 0x200000, 0x100000, CRC(ef202bec) SHA1(b557092f8a3e1c9889d34588344c6dd2c6f06731) )
18151815
18161816   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1817   ROM_LOAD16_BYTE( "epr14788.b10", 0x000001, 0x100000, CRC(b5b05536) SHA1(f8fde7ebca38c0a6f6a864c17771aa155e6fc30d) )
1818   ROM_LOAD16_BYTE( "epr14796.a10", 0x000000, 0x100000, CRC(c033220a) SHA1(279d3ef62b41d2c6a18ce1217a549402a874638b) )
1819   ROM_LOAD16_BYTE( "epr14789.b11", 0x200001, 0x100000, CRC(0f9bcb97) SHA1(c15ab3ece596c54e1c4d8e8a755473609334e8ba) )
1820   ROM_LOAD16_BYTE( "epr14797.a11", 0x200000, 0x100000, CRC(4c301cc9) SHA1(8aea8af0b078b81d1054331b273568b1b903531b) )
1821   ROM_LOAD16_BYTE( "epr14790.b12", 0x400001, 0x100000, CRC(6a07ac27) SHA1(0558b662c7965c5b74cbc552423194a8facbc092) )
1822   ROM_LOAD16_BYTE( "epr14798.a12", 0x400000, 0x100000, CRC(50634625) SHA1(f4baaebdb1f850e92ca865e103fbca68cdb0de0f) )
1823   ROM_LOAD16_BYTE( "epr14791.b13", 0x600001, 0x100000, CRC(a4ae352b) SHA1(dc814e1c2e167e191cd43fa554ff8ee974d47152) )
1824   ROM_LOAD16_BYTE( "epr14799.a13", 0x600000, 0x100000, CRC(aeb7b025) SHA1(9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa) )
1817   ROM_LOAD16_BYTE( "mpr-14788.c10", 0x000001, 0x100000, CRC(b5b05536) SHA1(f8fde7ebca38c0a6f6a864c17771aa155e6fc30d) )
1818   ROM_LOAD16_BYTE( "mpr-14796.a10", 0x000000, 0x100000, CRC(c033220a) SHA1(279d3ef62b41d2c6a18ce1217a549402a874638b) )
1819   ROM_LOAD16_BYTE( "mpr-14789.c11", 0x200001, 0x100000, CRC(0f9bcb97) SHA1(c15ab3ece596c54e1c4d8e8a755473609334e8ba) )
1820   ROM_LOAD16_BYTE( "mpr-14797.a11", 0x200000, 0x100000, CRC(4c301cc9) SHA1(8aea8af0b078b81d1054331b273568b1b903531b) )
1821   ROM_LOAD16_BYTE( "mpr-14790.c12", 0x400001, 0x100000, CRC(6a07ac27) SHA1(0558b662c7965c5b74cbc552423194a8facbc092) )
1822   ROM_LOAD16_BYTE( "mpr-14798.a12", 0x400000, 0x100000, CRC(50634625) SHA1(f4baaebdb1f850e92ca865e103fbca68cdb0de0f) )
1823   ROM_LOAD16_BYTE( "mpr-14791.c13", 0x600001, 0x100000, CRC(a4ae352b) SHA1(dc814e1c2e167e191cd43fa554ff8ee974d47152) )
1824   ROM_LOAD16_BYTE( "mpr-14799.a13", 0x600000, 0x100000, CRC(aeb7b025) SHA1(9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa) )
18251825
18261826   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1827   ROM_LOAD( "epr14787.b7", 0x010000, 0x40000, CRC(cc6feec7) SHA1(31cc243178b98681a52500a485d74ed9e1274888) )
1828   ROM_LOAD( "epr14786.c6", 0x090000, 0x80000, CRC(cc8349f2) SHA1(9f00d8ea372b70ba44a90dab497deadcc5be3dab) )
1829   ROM_LOAD( "epr14785.c5", 0x110000, 0x80000, CRC(7babba13) SHA1(190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0) )
1830   ROM_LOAD( "epr14784.c4", 0x190000, 0x80000, CRC(073878e4) SHA1(eff08080d06a16fccf4876e42b389fef599cceba) )
1827   ROM_LOAD( "epr-14787.c7", 0x010000, 0x40000, CRC(cc6feec7) SHA1(31cc243178b98681a52500a485d74ed9e1274888) )
1828   ROM_LOAD( "mpr-14786.c6", 0x090000, 0x80000, CRC(cc8349f2) SHA1(9f00d8ea372b70ba44a90dab497deadcc5be3dab) )
1829   ROM_LOAD( "mpr-14785.c5", 0x110000, 0x80000, CRC(7babba13) SHA1(190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0) )
1830   ROM_LOAD( "mpr-14784.c4", 0x190000, 0x80000, CRC(073878e4) SHA1(eff08080d06a16fccf4876e42b389fef599cceba) )
18311831ROM_END
18321832
1833/**************************************************************************************************************************
1834    Desert Breaker, Sega System 18
18331835
1836    game No. 833-8830?
1837    pcb  No. 837-8832? (171-5873B)
1838    rom  No. 834-8831 (171-5987A)
1839    CPU Hiatchi FD1094 317-0194
1840*/
1841ROM_START( desertbrj )
1842   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code - custom CPU 317-0196 */
1843   ROM_LOAD16_BYTE( "epr-14792.a4", 0x000000, 0x80000, CRC(453d9d02) SHA1(df5d85c2e1a25c18860aa96462ea4893bb633190) )
1844   ROM_LOAD16_BYTE( "epr-14794.a6", 0x000001, 0x80000, CRC(4426758f) SHA1(d8bebcf05a83d34a93f74e2263f4290e995656ba) )
1845   ROM_LOAD16_BYTE( "epr-14793.a5", 0x200000, 0x80000, CRC(dc9d7af3) SHA1(1fc1fedc1a4beed94cece268d0bb4bf62eeb407c) )
1846   ROM_LOAD16_BYTE( "epr-14795.a7", 0x200001, 0x80000, CRC(7e5bf7d9) SHA1(32ac68ee423a34e0f1bedc8765e03f40e01c3af1) )
1847
1848   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
1849   ROM_LOAD( "317-0194.key", 0x0000, 0x2000, CRC(40cbc4cb) SHA1(51777d8a619268ac0b1fda6e7781cde753354419) )
1850
1851   ROM_REGION( 0x300000, "gfx1", 0 ) /* tiles */
1852   ROM_LOAD( "mpr-14781.c1", 0x000000, 0x100000, CRC(c4f7d7aa) SHA1(3c69dd7a26efccd7111ef33dfa6e8b738095c0bf) )
1853   ROM_LOAD( "mpr-14782.c2", 0x100000, 0x100000, CRC(ccc98d05) SHA1(b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5) )
1854   ROM_LOAD( "mpr-14783.c3", 0x200000, 0x100000, CRC(ef202bec) SHA1(b557092f8a3e1c9889d34588344c6dd2c6f06731) )
1855
1856   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1857   ROM_LOAD16_BYTE( "mpr-14788.c10", 0x000001, 0x100000, CRC(b5b05536) SHA1(f8fde7ebca38c0a6f6a864c17771aa155e6fc30d) )
1858   ROM_LOAD16_BYTE( "mpr-14796.a10", 0x000000, 0x100000, CRC(c033220a) SHA1(279d3ef62b41d2c6a18ce1217a549402a874638b) )
1859   ROM_LOAD16_BYTE( "mpr-14789.c11", 0x200001, 0x100000, CRC(0f9bcb97) SHA1(c15ab3ece596c54e1c4d8e8a755473609334e8ba) )
1860   ROM_LOAD16_BYTE( "mpr-14797.a11", 0x200000, 0x100000, CRC(4c301cc9) SHA1(8aea8af0b078b81d1054331b273568b1b903531b) )
1861   ROM_LOAD16_BYTE( "mpr-14790.c12", 0x400001, 0x100000, CRC(6a07ac27) SHA1(0558b662c7965c5b74cbc552423194a8facbc092) )
1862   ROM_LOAD16_BYTE( "mpr-14798.a12", 0x400000, 0x100000, CRC(50634625) SHA1(f4baaebdb1f850e92ca865e103fbca68cdb0de0f) )
1863   ROM_LOAD16_BYTE( "mpr-14791.c13", 0x600001, 0x100000, CRC(a4ae352b) SHA1(dc814e1c2e167e191cd43fa554ff8ee974d47152) )
1864   ROM_LOAD16_BYTE( "mpr-14799.a13", 0x600000, 0x100000, CRC(aeb7b025) SHA1(9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa) )
1865
1866   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1867   ROM_LOAD( "epr-14787.c7", 0x010000, 0x40000, CRC(cc6feec7) SHA1(31cc243178b98681a52500a485d74ed9e1274888) )
1868   ROM_LOAD( "mpr-14786.c6", 0x090000, 0x80000, CRC(cc8349f2) SHA1(9f00d8ea372b70ba44a90dab497deadcc5be3dab) )
1869   ROM_LOAD( "mpr-14785.c5", 0x110000, 0x80000, CRC(7babba13) SHA1(190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0) )
1870   ROM_LOAD( "mpr-14784.c4", 0x190000, 0x80000, CRC(073878e4) SHA1(eff08080d06a16fccf4876e42b389fef599cceba) )
1871ROM_END
1872
1873
18341874/**************************************************************************************************************************
18351875 **************************************************************************************************************************
18361876 **************************************************************************************************************************
r8054r8055
18401880*/
18411881ROM_START( lghost )
18421882   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
1843   ROM_LOAD16_BYTE( "epr13429.4a", 0x000000, 0x40000, CRC(09bd65c0) SHA1(f2b332a86d52af3c5270f668bdd43a0d44eca346) )
1844   ROM_LOAD16_BYTE( "epr13430.6a", 0x000001, 0x40000, CRC(51009fe0) SHA1(f1e6e3714c01c15c0e932470a9e1a17abb59e958) )
1845   ROM_LOAD16_BYTE( "epr13411.5a", 0x200000, 0x40000, CRC(5160167b) SHA1(3d176a18c7527b1e485f10b144bb4db1b945e709) )
1846   ROM_LOAD16_BYTE( "epr13413.7a", 0x200001, 0x40000, CRC(656b3bd8) SHA1(db81d4ae3138308dce1e3db7a859f1d63c4ff815) )
1883   ROM_LOAD16_BYTE( "epr-13429.a4", 0x000000, 0x40000, CRC(09bd65c0) SHA1(f2b332a86d52af3c5270f668bdd43a0d44eca346) )
1884   ROM_LOAD16_BYTE( "epr-13430.a6", 0x000001, 0x40000, CRC(51009fe0) SHA1(f1e6e3714c01c15c0e932470a9e1a17abb59e958) )
1885   ROM_LOAD16_BYTE( "epr-13411.a5", 0x200000, 0x40000, CRC(5160167b) SHA1(3d176a18c7527b1e485f10b144bb4db1b945e709) )
1886   ROM_LOAD16_BYTE( "epr-13413.a7", 0x200001, 0x40000, CRC(656b3bd8) SHA1(db81d4ae3138308dce1e3db7a859f1d63c4ff815) )
18471887
18481888   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
18491889   ROM_LOAD( "317-0166.key", 0x0000, 0x2000, CRC(8379961f) SHA1(44e0662e92ece65ad2049b2cd804f516e631166e) )
18501890
18511891   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1852   ROM_LOAD( "epr13414.1c", 0x00000, 0x40000, CRC(dada2419) SHA1(f6ffd02d75232a09ea83fd199e5e30b2773b0cf5) )
1853   ROM_LOAD( "epr13415.2c", 0x40000, 0x40000, CRC(bbb62c48) SHA1(7a4c5bd11b73a92deece72b55627f48ac167acd6) )
1854   ROM_LOAD( "epr13416.3c", 0x80000, 0x40000, CRC(1d11dbae) SHA1(331aa49c6b38d32ec33184dbd0851888463ddbc7) )
1892   ROM_LOAD( "epr-13414.c1", 0x00000, 0x40000, CRC(dada2419) SHA1(f6ffd02d75232a09ea83fd199e5e30b2773b0cf5) )
1893   ROM_LOAD( "epr-13415.c2", 0x40000, 0x40000, CRC(bbb62c48) SHA1(7a4c5bd11b73a92deece72b55627f48ac167acd6) )
1894   ROM_LOAD( "epr-13416.c3", 0x80000, 0x40000, CRC(1d11dbae) SHA1(331aa49c6b38d32ec33184dbd0851888463ddbc7) )
18551895
18561896   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1857   ROM_LOAD16_BYTE( "epr13603.10a", 0x000000, 0x80000, CRC(5350a94e) SHA1(47e99803cab4b508feb51069c940d6c824d6961d) )
1858   ROM_LOAD16_BYTE( "epr13604.10c", 0x000001, 0x80000, CRC(4009c8e5) SHA1(97f513d312f4c90f8bffdf797afa3749779989a5) )
1859   ROM_LOAD16_BYTE( "epr13421.11a", 0x200000, 0x80000, CRC(2fc75890) SHA1(9f97f07dba3b978df8eb357894168ad74f151d30) )
1860   ROM_LOAD16_BYTE( "mpr13424.11c", 0x200001, 0x80000, CRC(fb98d920) SHA1(cebdebe88902e96c631df6053ac2589f794da155) )
1861   ROM_LOAD16_BYTE( "mpr13422.12a", 0x400000, 0x80000, CRC(48a0754d) SHA1(9fead9f8319593adb4bddaaa4d053b21ca726009) )
1862   ROM_LOAD16_BYTE( "mpr13425.12c", 0x400001, 0x80000, CRC(f8252589) SHA1(5a1ed24296d0609393e53df3ee585a366da4ee46) )
1863   ROM_LOAD16_BYTE( "mpr13423.13a", 0x600000, 0x80000, CRC(335bbc9d) SHA1(78793335b2f8a1bb05809259521db193c17c9b98) )
1864   ROM_LOAD16_BYTE( "mpr13426.13c", 0x600001, 0x80000, CRC(5cfb1e25) SHA1(1dd57475604f339e58bf946e17ae0dc5cf4a3dba) )
1897   ROM_LOAD16_BYTE( "epr-13603.a10", 0x000000, 0x80000, CRC(5350a94e) SHA1(47e99803cab4b508feb51069c940d6c824d6961d) )
1898   ROM_LOAD16_BYTE( "epr-13604.c10", 0x000001, 0x80000, CRC(4009c8e5) SHA1(97f513d312f4c90f8bffdf797afa3749779989a5) )
1899   ROM_LOAD16_BYTE( "epr-13421.a11", 0x200000, 0x80000, CRC(2fc75890) SHA1(9f97f07dba3b978df8eb357894168ad74f151d30) )
1900   ROM_LOAD16_BYTE( "mpr-13424.c11", 0x200001, 0x80000, CRC(fb98d920) SHA1(cebdebe88902e96c631df6053ac2589f794da155) )
1901   ROM_LOAD16_BYTE( "mpr-13422.a12", 0x400000, 0x80000, CRC(48a0754d) SHA1(9fead9f8319593adb4bddaaa4d053b21ca726009) )
1902   ROM_LOAD16_BYTE( "mpr-13425.c12", 0x400001, 0x80000, CRC(f8252589) SHA1(5a1ed24296d0609393e53df3ee585a366da4ee46) )
1903   ROM_LOAD16_BYTE( "mpr-13423.a13", 0x600000, 0x80000, CRC(335bbc9d) SHA1(78793335b2f8a1bb05809259521db193c17c9b98) )
1904   ROM_LOAD16_BYTE( "mpr-13426.c13", 0x600001, 0x80000, CRC(5cfb1e25) SHA1(1dd57475604f339e58bf946e17ae0dc5cf4a3dba) )
18651905
18661906   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1867   ROM_LOAD( "epr13417.7c",   0x010000, 0x20000, CRC(cd7beb49) SHA1(2435ce000f1eefdd06b27ea93e22fd82c0e999d2) )
1907   ROM_LOAD( "epr-13417.c7",   0x010000, 0x20000, CRC(cd7beb49) SHA1(2435ce000f1eefdd06b27ea93e22fd82c0e999d2) )
18681908   /* these seem best 3 from the different sized dumps */
1869   ROM_LOAD( "mpr13420.6c",   0x090000, 0x40000, CRC(3de0dee4) SHA1(31833684df5a34d5e9ef04f2ab42355b8e9cbb45) )
1870   ROM_LOAD( "mpr13419.5c",   0x110000, 0x40000, CRC(e7021b0a) SHA1(82e390fac63965d4f80ae01758c19ae951c39475) )
1871   ROM_LOAD( "mpr13418.4c",   0x190000, 0x40000, CRC(0732594d) SHA1(9fbeae29f1a31d136ddc9a49c786b2a08a523e0d) )
1909   ROM_LOAD( "mpr-13420.c6",   0x090000, 0x40000, CRC(3de0dee4) SHA1(31833684df5a34d5e9ef04f2ab42355b8e9cbb45) )
1910   ROM_LOAD( "mpr-13419.c5",   0x110000, 0x40000, CRC(e7021b0a) SHA1(82e390fac63965d4f80ae01758c19ae951c39475) )
1911   ROM_LOAD( "mpr-13418.c4",   0x190000, 0x40000, CRC(0732594d) SHA1(9fbeae29f1a31d136ddc9a49c786b2a08a523e0d) )
18721912ROM_END
18731913
18741914/**************************************************************************************************************************
r8054r8055
18781918*/
18791919ROM_START( lghostu )
18801920   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
1881   ROM_LOAD16_BYTE( "epr13427.4a",  0x000000, 0x40000, CRC(5bf8fb6b) SHA1(587bbf45b5e470da7d9166b2cbf4ac58a1f2a825) )
1882   ROM_LOAD16_BYTE( "epr13428.6a",  0x000001, 0x40000, CRC(276775f5) SHA1(5dd5dabe7e9311b3520d0405dda0c983e9bc4ba2) )
1883   ROM_LOAD16_BYTE( "epr13411.5a",  0x200000, 0x40000, CRC(5160167b) SHA1(3d176a18c7527b1e485f10b144bb4db1b945e709) )
1884   ROM_LOAD16_BYTE( "epr13413.7a",  0x200001, 0x40000, CRC(656b3bd8) SHA1(db81d4ae3138308dce1e3db7a859f1d63c4ff815) )
1921   ROM_LOAD16_BYTE( "epr-13427.a4",  0x000000, 0x40000, CRC(5bf8fb6b) SHA1(587bbf45b5e470da7d9166b2cbf4ac58a1f2a825) )
1922   ROM_LOAD16_BYTE( "epr-13428.a6",  0x000001, 0x40000, CRC(276775f5) SHA1(5dd5dabe7e9311b3520d0405dda0c983e9bc4ba2) )
1923   ROM_LOAD16_BYTE( "epr-13411.a5",  0x200000, 0x40000, CRC(5160167b) SHA1(3d176a18c7527b1e485f10b144bb4db1b945e709) )
1924   ROM_LOAD16_BYTE( "epr-13413.a7",  0x200001, 0x40000, CRC(656b3bd8) SHA1(db81d4ae3138308dce1e3db7a859f1d63c4ff815) )
18851925
18861926   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
18871927   ROM_LOAD( "317-0165.key", 0x0000, 0x2000,  CRC(a04267ab) SHA1(688ee59dfaaf240e23de4cada648689d1717ab04) )
18881928
18891929   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1890   ROM_LOAD( "epr13414.1c", 0x00000, 0x40000, CRC(dada2419) SHA1(f6ffd02d75232a09ea83fd199e5e30b2773b0cf5) )
1891   ROM_LOAD( "epr13415.2c", 0x40000, 0x40000, CRC(bbb62c48) SHA1(7a4c5bd11b73a92deece72b55627f48ac167acd6) )
1892   ROM_LOAD( "epr13416.3c", 0x80000, 0x40000, CRC(1d11dbae) SHA1(331aa49c6b38d32ec33184dbd0851888463ddbc7) )
1930   ROM_LOAD( "epr-13414.c1", 0x00000, 0x40000, CRC(dada2419) SHA1(f6ffd02d75232a09ea83fd199e5e30b2773b0cf5) )
1931   ROM_LOAD( "epr-13415.c2", 0x40000, 0x40000, CRC(bbb62c48) SHA1(7a4c5bd11b73a92deece72b55627f48ac167acd6) )
1932   ROM_LOAD( "epr-13416.c3", 0x80000, 0x40000, CRC(1d11dbae) SHA1(331aa49c6b38d32ec33184dbd0851888463ddbc7) )
18931933
18941934   ROM_REGION16_BE( 0x800000, "gfx2", 0 ) /* sprites */
1895   ROM_LOAD16_BYTE( "epr13603.10a", 0x000000, 0x80000, CRC(5350a94e) SHA1(47e99803cab4b508feb51069c940d6c824d6961d) )
1896   ROM_LOAD16_BYTE( "epr13604.10c", 0x000001, 0x80000, CRC(4009c8e5) SHA1(97f513d312f4c90f8bffdf797afa3749779989a5) )
1897   ROM_LOAD16_BYTE( "epr13421.11a", 0x200000, 0x80000, CRC(2fc75890) SHA1(9f97f07dba3b978df8eb357894168ad74f151d30) )
1898   ROM_LOAD16_BYTE( "mpr13424.11c", 0x200001, 0x80000, CRC(fb98d920) SHA1(cebdebe88902e96c631df6053ac2589f794da155) )
1899   ROM_LOAD16_BYTE( "mpr13422.12a", 0x400000, 0x80000, CRC(48a0754d) SHA1(9fead9f8319593adb4bddaaa4d053b21ca726009) )
1900   ROM_LOAD16_BYTE( "mpr13425.12c", 0x400001, 0x80000, CRC(f8252589) SHA1(5a1ed24296d0609393e53df3ee585a366da4ee46) )
1901   ROM_LOAD16_BYTE( "mpr13423.13a", 0x600000, 0x80000, CRC(335bbc9d) SHA1(78793335b2f8a1bb05809259521db193c17c9b98) )
1902   ROM_LOAD16_BYTE( "mpr13426.13c", 0x600001, 0x80000, CRC(5cfb1e25) SHA1(1dd57475604f339e58bf946e17ae0dc5cf4a3dba) )
1935   ROM_LOAD16_BYTE( "epr-13603.a10", 0x000000, 0x80000, CRC(5350a94e) SHA1(47e99803cab4b508feb51069c940d6c824d6961d) )
1936   ROM_LOAD16_BYTE( "epr-13604.c10", 0x000001, 0x80000, CRC(4009c8e5) SHA1(97f513d312f4c90f8bffdf797afa3749779989a5) )
1937   ROM_LOAD16_BYTE( "epr-13421.a11", 0x200000, 0x80000, CRC(2fc75890) SHA1(9f97f07dba3b978df8eb357894168ad74f151d30) )
1938   ROM_LOAD16_BYTE( "mpr-13424.c11", 0x200001, 0x80000, CRC(fb98d920) SHA1(cebdebe88902e96c631df6053ac2589f794da155) )
1939   ROM_LOAD16_BYTE( "mpr-13422.a12", 0x400000, 0x80000, CRC(48a0754d) SHA1(9fead9f8319593adb4bddaaa4d053b21ca726009) )
1940   ROM_LOAD16_BYTE( "mpr-13425.c12", 0x400001, 0x80000, CRC(f8252589) SHA1(5a1ed24296d0609393e53df3ee585a366da4ee46) )
1941   ROM_LOAD16_BYTE( "mpr-13423.a13", 0x600000, 0x80000, CRC(335bbc9d) SHA1(78793335b2f8a1bb05809259521db193c17c9b98) )
1942   ROM_LOAD16_BYTE( "mpr-13426.c13", 0x600001, 0x80000, CRC(5cfb1e25) SHA1(1dd57475604f339e58bf946e17ae0dc5cf4a3dba) )
19031943
19041944   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1905   ROM_LOAD( "epr13417.7c",   0x010000, 0x20000, CRC(cd7beb49) SHA1(2435ce000f1eefdd06b27ea93e22fd82c0e999d2) )
1945   ROM_LOAD( "epr-13417.c7",   0x010000, 0x20000, CRC(cd7beb49) SHA1(2435ce000f1eefdd06b27ea93e22fd82c0e999d2) )
19061946   /* these seem best 3 from the different sized dumps */
1907   ROM_LOAD( "mpr13420.6c",   0x090000, 0x40000, CRC(3de0dee4) SHA1(31833684df5a34d5e9ef04f2ab42355b8e9cbb45) )
1908   ROM_LOAD( "mpr13419.5c",   0x110000, 0x40000, CRC(e7021b0a) SHA1(82e390fac63965d4f80ae01758c19ae951c39475) )
1909   ROM_LOAD( "mpr13418.4c",   0x190000, 0x40000, CRC(0732594d) SHA1(9fbeae29f1a31d136ddc9a49c786b2a08a523e0d) )
1947   ROM_LOAD( "mpr-13420.c6",   0x090000, 0x40000, CRC(3de0dee4) SHA1(31833684df5a34d5e9ef04f2ab42355b8e9cbb45) )
1948   ROM_LOAD( "mpr-13419.c5",   0x110000, 0x40000, CRC(e7021b0a) SHA1(82e390fac63965d4f80ae01758c19ae951c39475) )
1949   ROM_LOAD( "mpr-13418.c4",   0x190000, 0x40000, CRC(0732594d) SHA1(9fbeae29f1a31d136ddc9a49c786b2a08a523e0d) )
19101950ROM_END
19111951
19121952
r8054r8055
19191959*/
19201960ROM_START( mwalk )
19211961   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code - custom cpu 317-0159 */
1922   ROM_LOAD16_BYTE( "epr13235.a6", 0x000000, 0x40000, CRC(6983e129) SHA1(a8dd430620ab8ce11df46aa208d762d47f510464) )
1923   ROM_LOAD16_BYTE( "epr13234.a5", 0x000001, 0x40000, CRC(c9fd20f2) SHA1(9476e6481e6d8f223acd52f543fa04f408d48dc3) )
1962   ROM_LOAD16_BYTE( "epr-13235.a6", 0x000000, 0x40000, CRC(6983e129) SHA1(a8dd430620ab8ce11df46aa208d762d47f510464) )
1963   ROM_LOAD16_BYTE( "epr-13234.a5", 0x000001, 0x40000, CRC(c9fd20f2) SHA1(9476e6481e6d8f223acd52f543fa04f408d48dc3) )
19241964
19251965   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
19261966   ROM_LOAD( "317-0159.key", 0x0000, 0x2000, CRC(507838f0) SHA1(0c92d313da40b5dec7398c05b57698de6153b4b0) )
19271967
19281968   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1929   ROM_LOAD( "mpr13216.b1", 0x00000, 0x40000, CRC(862d2c03) SHA1(3c5446d702a639b62a602c6d687f9875d8450218) )
1930   ROM_LOAD( "mpr13217.b2", 0x40000, 0x40000, CRC(7d1ac3ec) SHA1(8495357304f1df135bba77ef3b96e79a883b8ff0) )
1931   ROM_LOAD( "mpr13218.b3", 0x80000, 0x40000, CRC(56d3393c) SHA1(50a2d065060692c9ecaa56046a781cb21d93e554) )
1969   ROM_LOAD( "mpr-13216.b1", 0x00000, 0x40000, CRC(862d2c03) SHA1(3c5446d702a639b62a602c6d687f9875d8450218) )
1970   ROM_LOAD( "mpr-13217.b2", 0x40000, 0x40000, CRC(7d1ac3ec) SHA1(8495357304f1df135bba77ef3b96e79a883b8ff0) )
1971   ROM_LOAD( "mpr-13218.b3", 0x80000, 0x40000, CRC(56d3393c) SHA1(50a2d065060692c9ecaa56046a781cb21d93e554) )
19321972
19331973   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
1934   ROM_LOAD16_BYTE( "mpr13224.b11", 0x000001, 0x40000, CRC(c59f107b) SHA1(10fa60fca6e34eda277c483bb1c0e81bb88c8a47) )
1935   ROM_LOAD16_BYTE( "mpr13231.a11", 0x000000, 0x40000, CRC(a5e96346) SHA1(a854f4dd5dc16975373255110fdb8ab3d121b1af) )
1936   ROM_LOAD16_BYTE( "mpr13223.b10", 0x080001, 0x40000, CRC(364f60ff) SHA1(9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a) )
1937   ROM_LOAD16_BYTE( "mpr13230.a10", 0x080000, 0x40000, CRC(9550091f) SHA1(bb6e898f7b540e130fd338c10f74609a7604cef4) )
1938   ROM_LOAD16_BYTE( "mpr13222.b9",  0x100001, 0x40000, CRC(523df3ed) SHA1(2e496125e75decd674c3a08404fbdb53791a965d) )
1939   ROM_LOAD16_BYTE( "mpr13229.a9",  0x100000, 0x40000, CRC(f40dc45d) SHA1(e9468cef428f52ecdf6837c6d9a9fea934e7676c) )
1940   ROM_LOAD16_BYTE( "epr13221.b8",  0x180001, 0x40000, CRC(9ae7546a) SHA1(5413b0131881b0b32bac8de51da9a299835014bb) )
1941   ROM_LOAD16_BYTE( "epr13228.a8",  0x180000, 0x40000, CRC(de3786be) SHA1(2279bb390aa3efab9aeee0a643e5cb6a4f5933b6) )
1974   ROM_LOAD16_BYTE( "mpr-13224.b11", 0x000001, 0x40000, CRC(c59f107b) SHA1(10fa60fca6e34eda277c483bb1c0e81bb88c8a47) )
1975   ROM_LOAD16_BYTE( "mpr-13231.a11", 0x000000, 0x40000, CRC(a5e96346) SHA1(a854f4dd5dc16975373255110fdb8ab3d121b1af) )
1976   ROM_LOAD16_BYTE( "mpr-13223.b10", 0x080001, 0x40000, CRC(364f60ff) SHA1(9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a) )
1977   ROM_LOAD16_BYTE( "mpr-13230.a10", 0x080000, 0x40000, CRC(9550091f) SHA1(bb6e898f7b540e130fd338c10f74609a7604cef4) )
1978   ROM_LOAD16_BYTE( "mpr-13222.b9",  0x100001, 0x40000, CRC(523df3ed) SHA1(2e496125e75decd674c3a08404fbdb53791a965d) )
1979   ROM_LOAD16_BYTE( "mpr-13229.a9",  0x100000, 0x40000, CRC(f40dc45d) SHA1(e9468cef428f52ecdf6837c6d9a9fea934e7676c) )
1980   ROM_LOAD16_BYTE( "epr-13221.b8",  0x180001, 0x40000, CRC(9ae7546a) SHA1(5413b0131881b0b32bac8de51da9a299835014bb) )
1981   ROM_LOAD16_BYTE( "epr-13228.a8",  0x180000, 0x40000, CRC(de3786be) SHA1(2279bb390aa3efab9aeee0a643e5cb6a4f5933b6) )
19421982
19431983   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1944   ROM_LOAD( "epr13225.a4", 0x010000, 0x20000, CRC(56c2e82b) SHA1(d5755a1bb6e889d274dc60e883d4d65f12fdc877) )
1945   ROM_LOAD( "mpr13219.b4", 0x090000, 0x40000, CRC(19e2061f) SHA1(2dcf1718a43dab4da53b4f67722664e70ddd2169) )
1946   ROM_LOAD( "mpr13220.b5", 0x110000, 0x40000, CRC(58d4d9ce) SHA1(725e73a656845b02702ef131b4c0aa2a73cdd02e) )
1947   ROM_LOAD( "mpr13249.b6", 0x190000, 0x40000, CRC(623edc5d) SHA1(c32d9f818d40f311877fbe6532d9e95b6045c3c4) )
1984   ROM_LOAD( "epr-13225.a4", 0x010000, 0x20000, CRC(56c2e82b) SHA1(d5755a1bb6e889d274dc60e883d4d65f12fdc877) )
1985   ROM_LOAD( "mpr-13219.b4", 0x090000, 0x40000, CRC(19e2061f) SHA1(2dcf1718a43dab4da53b4f67722664e70ddd2169) )
1986   ROM_LOAD( "mpr-13220.b5", 0x110000, 0x40000, CRC(58d4d9ce) SHA1(725e73a656845b02702ef131b4c0aa2a73cdd02e) )
1987   ROM_LOAD( "mpr-13249.b6", 0x190000, 0x40000, CRC(623edc5d) SHA1(c32d9f818d40f311877fbe6532d9e95b6045c3c4) )
19481988
19491989   ROM_REGION( 0x10000, "mcu", 0 )   /* protection MCU */
19501990   ROM_LOAD( "315-5437.ic4", 0x00000, 0x1000,  CRC(4bf63bc1) SHA1(2766ab30b466b079febb30c488adad9ea56813f7) )
r8054r8055
19571997*/
19581998ROM_START( mwalku )
19591999   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code - custom cpu 317-0158 */
1960   ROM_LOAD16_BYTE( "epr13233.a6", 0x000000, 0x40000, CRC(f3dac671) SHA1(cd9d372c7e272d2371bc1f9fb0167831c804423f) )
1961   ROM_LOAD16_BYTE( "epr13232.a5", 0x000001, 0x40000, CRC(541d8bdf) SHA1(6a99153fddca246ba070e93c4bacd145f15f76bf) )
2000   ROM_LOAD16_BYTE( "epr-13233.a6", 0x000000, 0x40000, CRC(f3dac671) SHA1(cd9d372c7e272d2371bc1f9fb0167831c804423f) )
2001   ROM_LOAD16_BYTE( "epr-13232.a5", 0x000001, 0x40000, CRC(541d8bdf) SHA1(6a99153fddca246ba070e93c4bacd145f15f76bf) )
19622002
19632003   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
19642004   ROM_LOAD( "317-0158.key", 0x0000, 0x2000, CRC(a8a50e8c) SHA1(6e05a40dbf31b4007df1bb27eee85a78da3d8417) )
19652005
19662006   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
1967   ROM_LOAD( "mpr13216.b1", 0x00000, 0x40000, CRC(862d2c03) SHA1(3c5446d702a639b62a602c6d687f9875d8450218) )
1968   ROM_LOAD( "mpr13217.b2", 0x40000, 0x40000, CRC(7d1ac3ec) SHA1(8495357304f1df135bba77ef3b96e79a883b8ff0) )
1969   ROM_LOAD( "mpr13218.b3", 0x80000, 0x40000, CRC(56d3393c) SHA1(50a2d065060692c9ecaa56046a781cb21d93e554) )
2007   ROM_LOAD( "mpr-13216.b1", 0x00000, 0x40000, CRC(862d2c03) SHA1(3c5446d702a639b62a602c6d687f9875d8450218) )
2008   ROM_LOAD( "mpr-13217.b2", 0x40000, 0x40000, CRC(7d1ac3ec) SHA1(8495357304f1df135bba77ef3b96e79a883b8ff0) )
2009   ROM_LOAD( "mpr-13218.b3", 0x80000, 0x40000, CRC(56d3393c) SHA1(50a2d065060692c9ecaa56046a781cb21d93e554) )
19702010
19712011   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
1972   ROM_LOAD16_BYTE( "mpr13224.b11", 0x000001, 0x40000, CRC(c59f107b) SHA1(10fa60fca6e34eda277c483bb1c0e81bb88c8a47) )
1973   ROM_LOAD16_BYTE( "mpr13231.a11", 0x000000, 0x40000, CRC(a5e96346) SHA1(a854f4dd5dc16975373255110fdb8ab3d121b1af) )
1974   ROM_LOAD16_BYTE( "mpr13223.b10", 0x080001, 0x40000, CRC(364f60ff) SHA1(9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a) )
1975   ROM_LOAD16_BYTE( "mpr13230.a10", 0x080000, 0x40000, CRC(9550091f) SHA1(bb6e898f7b540e130fd338c10f74609a7604cef4) )
1976   ROM_LOAD16_BYTE( "mpr13222.b9",  0x100001, 0x40000, CRC(523df3ed) SHA1(2e496125e75decd674c3a08404fbdb53791a965d) )
1977   ROM_LOAD16_BYTE( "mpr13229.a9",  0x100000, 0x40000, CRC(f40dc45d) SHA1(e9468cef428f52ecdf6837c6d9a9fea934e7676c) )
1978   ROM_LOAD16_BYTE( "epr13221.b8",  0x180001, 0x40000, CRC(9ae7546a) SHA1(5413b0131881b0b32bac8de51da9a299835014bb) )
1979   ROM_LOAD16_BYTE( "epr13228.a8",  0x180000, 0x40000, CRC(de3786be) SHA1(2279bb390aa3efab9aeee0a643e5cb6a4f5933b6) )
2012   ROM_LOAD16_BYTE( "mpr-13224.b11", 0x000001, 0x40000, CRC(c59f107b) SHA1(10fa60fca6e34eda277c483bb1c0e81bb88c8a47) )
2013   ROM_LOAD16_BYTE( "mpr-13231.a11", 0x000000, 0x40000, CRC(a5e96346) SHA1(a854f4dd5dc16975373255110fdb8ab3d121b1af) )
2014   ROM_LOAD16_BYTE( "mpr-13223.b10", 0x080001, 0x40000, CRC(364f60ff) SHA1(9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a) )
2015   ROM_LOAD16_BYTE( "mpr-13230.a10", 0x080000, 0x40000, CRC(9550091f) SHA1(bb6e898f7b540e130fd338c10f74609a7604cef4) )
2016   ROM_LOAD16_BYTE( "mpr-13222.b9",  0x100001, 0x40000, CRC(523df3ed) SHA1(2e496125e75decd674c3a08404fbdb53791a965d) )
2017   ROM_LOAD16_BYTE( "mpr-13229.a9",  0x100000, 0x40000, CRC(f40dc45d) SHA1(e9468cef428f52ecdf6837c6d9a9fea934e7676c) )
2018   ROM_LOAD16_BYTE( "epr-13221.b8",  0x180001, 0x40000, CRC(9ae7546a) SHA1(5413b0131881b0b32bac8de51da9a299835014bb) )
2019   ROM_LOAD16_BYTE( "epr-13228.a8",  0x180000, 0x40000, CRC(de3786be) SHA1(2279bb390aa3efab9aeee0a643e5cb6a4f5933b6) )
19802020
19812021   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
1982   ROM_LOAD( "epr13225.a4", 0x010000, 0x20000, CRC(56c2e82b) SHA1(d5755a1bb6e889d274dc60e883d4d65f12fdc877) )
1983   ROM_LOAD( "mpr13219.b4", 0x090000, 0x40000, CRC(19e2061f) SHA1(2dcf1718a43dab4da53b4f67722664e70ddd2169) )
1984   ROM_LOAD( "mpr13220.b5", 0x110000, 0x40000, CRC(58d4d9ce) SHA1(725e73a656845b02702ef131b4c0aa2a73cdd02e) )
1985   ROM_LOAD( "mpr13249.b6", 0x190000, 0x40000, CRC(623edc5d) SHA1(c32d9f818d40f311877fbe6532d9e95b6045c3c4) )
2022   ROM_LOAD( "epr-13225.a4", 0x010000, 0x20000, CRC(56c2e82b) SHA1(d5755a1bb6e889d274dc60e883d4d65f12fdc877) )
2023   ROM_LOAD( "mpr-13219.b4", 0x090000, 0x40000, CRC(19e2061f) SHA1(2dcf1718a43dab4da53b4f67722664e70ddd2169) )
2024   ROM_LOAD( "mpr-13220.b5", 0x110000, 0x40000, CRC(58d4d9ce) SHA1(725e73a656845b02702ef131b4c0aa2a73cdd02e) )
2025   ROM_LOAD( "mpr-13249.b6", 0x190000, 0x40000, CRC(623edc5d) SHA1(c32d9f818d40f311877fbe6532d9e95b6045c3c4) )
19862026
19872027   ROM_REGION( 0x10000, "mcu", 0 )   /* protection MCU */
19882028   ROM_LOAD( "315-5437.ic4", 0x00000, 0x1000,  CRC(4bf63bc1) SHA1(2766ab30b466b079febb30c488adad9ea56813f7) )
r8054r8055
19952035*/
19962036ROM_START( mwalkj )
19972037   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code - custom cpu 317-0157 */
1998   ROM_LOAD16_BYTE( "epr13227.a6", 0x000000, 0x40000, CRC(6c0534b3) SHA1(23f35d1a15275cbc4b6d2f81f5634abac3832282) )
1999   ROM_LOAD16_BYTE( "epr13226.a5", 0x000001, 0x40000, CRC(99765854) SHA1(c00776c676b77fed4e94bb02f52f905c845ee73c) )
2038   ROM_LOAD16_BYTE( "epr-13227.a6", 0x000000, 0x40000, CRC(6c0534b3) SHA1(23f35d1a15275cbc4b6d2f81f5634abac3832282) )
2039   ROM_LOAD16_BYTE( "epr-13226.a5", 0x000001, 0x40000, CRC(99765854) SHA1(c00776c676b77fed4e94bb02f52f905c845ee73c) )
20002040
20012041   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
20022042   ROM_LOAD( "317-0157.key", 0x0000, 0x2000, CRC(324d6931) SHA1(f8f4530a75aeeace1c8456da37118975c5c43316) )
20032043
20042044   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
2005   ROM_LOAD( "mpr13216.b1", 0x00000, 0x40000, CRC(862d2c03) SHA1(3c5446d702a639b62a602c6d687f9875d8450218) )
2006   ROM_LOAD( "mpr13217.b2", 0x40000, 0x40000, CRC(7d1ac3ec) SHA1(8495357304f1df135bba77ef3b96e79a883b8ff0) )
2007   ROM_LOAD( "mpr13218.b3", 0x80000, 0x40000, CRC(56d3393c) SHA1(50a2d065060692c9ecaa56046a781cb21d93e554) )
2045   ROM_LOAD( "mpr-13216.b1", 0x00000, 0x40000, CRC(862d2c03) SHA1(3c5446d702a639b62a602c6d687f9875d8450218) )
2046   ROM_LOAD( "mpr-13217.b2", 0x40000, 0x40000, CRC(7d1ac3ec) SHA1(8495357304f1df135bba77ef3b96e79a883b8ff0) )
2047   ROM_LOAD( "mpr-13218.b3", 0x80000, 0x40000, CRC(56d3393c) SHA1(50a2d065060692c9ecaa56046a781cb21d93e554) )
20082048
20092049   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
2010   ROM_LOAD16_BYTE( "mpr13224.b11", 0x000001, 0x40000, CRC(c59f107b) SHA1(10fa60fca6e34eda277c483bb1c0e81bb88c8a47) )
2011   ROM_LOAD16_BYTE( "mpr13231.a11", 0x000000, 0x40000, CRC(a5e96346) SHA1(a854f4dd5dc16975373255110fdb8ab3d121b1af) )
2012   ROM_LOAD16_BYTE( "mpr13223.b10", 0x080001, 0x40000, CRC(364f60ff) SHA1(9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a) )
2013   ROM_LOAD16_BYTE( "mpr13230.a10", 0x080000, 0x40000, CRC(9550091f) SHA1(bb6e898f7b540e130fd338c10f74609a7604cef4) )
2014   ROM_LOAD16_BYTE( "mpr13222.b9",  0x100001, 0x40000, CRC(523df3ed) SHA1(2e496125e75decd674c3a08404fbdb53791a965d) )
2015   ROM_LOAD16_BYTE( "mpr13229.a9",  0x100000, 0x40000, CRC(f40dc45d) SHA1(e9468cef428f52ecdf6837c6d9a9fea934e7676c) )
2016   ROM_LOAD16_BYTE( "epr13221.b8",  0x180001, 0x40000, CRC(9ae7546a) SHA1(5413b0131881b0b32bac8de51da9a299835014bb) )
2017   ROM_LOAD16_BYTE( "epr13228.a8",  0x180000, 0x40000, CRC(de3786be) SHA1(2279bb390aa3efab9aeee0a643e5cb6a4f5933b6) )
2050   ROM_LOAD16_BYTE( "mpr-13224.b11", 0x000001, 0x40000, CRC(c59f107b) SHA1(10fa60fca6e34eda277c483bb1c0e81bb88c8a47) )
2051   ROM_LOAD16_BYTE( "mpr-13231.a11", 0x000000, 0x40000, CRC(a5e96346) SHA1(a854f4dd5dc16975373255110fdb8ab3d121b1af) )
2052   ROM_LOAD16_BYTE( "mpr-13223.b10", 0x080001, 0x40000, CRC(364f60ff) SHA1(9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a) )
2053   ROM_LOAD16_BYTE( "mpr-13230.a10", 0x080000, 0x40000, CRC(9550091f) SHA1(bb6e898f7b540e130fd338c10f74609a7604cef4) )
2054   ROM_LOAD16_BYTE( "mpr-13222.b9",  0x100001, 0x40000, CRC(523df3ed) SHA1(2e496125e75decd674c3a08404fbdb53791a965d) )
2055   ROM_LOAD16_BYTE( "mpr-13229.a9",  0x100000, 0x40000, CRC(f40dc45d) SHA1(e9468cef428f52ecdf6837c6d9a9fea934e7676c) )
2056   ROM_LOAD16_BYTE( "epr-13221.b8",  0x180001, 0x40000, CRC(9ae7546a) SHA1(5413b0131881b0b32bac8de51da9a299835014bb) )
2057   ROM_LOAD16_BYTE( "epr-13228.a8",  0x180000, 0x40000, CRC(de3786be) SHA1(2279bb390aa3efab9aeee0a643e5cb6a4f5933b6) )
20182058
20192059   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2020   ROM_LOAD( "epr13225.a4", 0x010000, 0x20000, CRC(56c2e82b) SHA1(d5755a1bb6e889d274dc60e883d4d65f12fdc877) )
2021   ROM_LOAD( "mpr13219.b4", 0x090000, 0x40000, CRC(19e2061f) SHA1(2dcf1718a43dab4da53b4f67722664e70ddd2169) )
2022   ROM_LOAD( "mpr13220.b5", 0x110000, 0x40000, CRC(58d4d9ce) SHA1(725e73a656845b02702ef131b4c0aa2a73cdd02e) )
2023   ROM_LOAD( "mpr13249.b6", 0x190000, 0x40000, CRC(623edc5d) SHA1(c32d9f818d40f311877fbe6532d9e95b6045c3c4) )
2060   ROM_LOAD( "epr-13225.a4", 0x010000, 0x20000, CRC(56c2e82b) SHA1(d5755a1bb6e889d274dc60e883d4d65f12fdc877) )
2061   ROM_LOAD( "mpr-13219.b4", 0x090000, 0x40000, CRC(19e2061f) SHA1(2dcf1718a43dab4da53b4f67722664e70ddd2169) )
2062   ROM_LOAD( "mpr-13220.b5", 0x110000, 0x40000, CRC(58d4d9ce) SHA1(725e73a656845b02702ef131b4c0aa2a73cdd02e) )
2063   ROM_LOAD( "mpr-13249.b6", 0x190000, 0x40000, CRC(623edc5d) SHA1(c32d9f818d40f311877fbe6532d9e95b6045c3c4) )
20242064
20252065   ROM_REGION( 0x10000, "mcu", 0 )   /* protection MCU */
20262066   /* not verified if mcu is the same as the other sets.. */
r8054r8055
20372077*/
20382078ROM_START( pontoon )
20392079   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
2040   ROM_LOAD16_BYTE( "epr13175.a6", 0x000000, 0x40000, CRC(a2a5d0f5) SHA1(e22b13f152e0edadeb0f84b4a93ad366201cbae9) )
2041   ROM_LOAD16_BYTE( "epr13174.a5", 0x000001, 0x40000, CRC(db976b13) SHA1(3970968b21491beb8aac109eeb753b69ca752205) )
2080   ROM_LOAD16_BYTE( "epr-13175.a6", 0x000000, 0x40000, CRC(a2a5d0f5) SHA1(e22b13f152e0edadeb0f84b4a93ad366201cbae9) )
2081   ROM_LOAD16_BYTE( "epr-13174.a5", 0x000001, 0x40000, CRC(db976b13) SHA1(3970968b21491beb8aac109eeb753b69ca752205) )
20422082
20432083   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
20442084   ROM_LOAD( "317-0153.key", 0x0000, 0x2000, CRC(bcac8c7a) SHA1(1ee9db8f21a55cbfc391af9731d6a1dcf7f2d4c2) )
20452085
20462086   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
2047   ROM_LOAD( "epr13097.b1", 0x00000, 0x40000, CRC(6474b245) SHA1(af7db8ac8e74628a8ba61d0860960deeca4a3e3f) )
2048   ROM_LOAD( "epr13098.b2", 0x40000, 0x40000, CRC(89fc9a9b) SHA1(d98691eb5fef8aca4ad5e416d0a3797d6ca9b012) )
2049   ROM_LOAD( "epr13099.b3", 0x80000, 0x40000, CRC(790e0ac6) SHA1(a4999b7015ef27d6cbe4f53bc0d7fe05ee40d178) )
2087   ROM_LOAD( "epr-13097.b1", 0x00000, 0x40000, CRC(6474b245) SHA1(af7db8ac8e74628a8ba61d0860960deeca4a3e3f) )
2088   ROM_LOAD( "epr-13098.b2", 0x40000, 0x40000, CRC(89fc9a9b) SHA1(d98691eb5fef8aca4ad5e416d0a3797d6ca9b012) )
2089   ROM_LOAD( "epr-13099.b3", 0x80000, 0x40000, CRC(790e0ac6) SHA1(a4999b7015ef27d6cbe4f53bc0d7fe05ee40d178) )
20502090
20512091   ROM_REGION16_BE( 0x80000, "gfx2", 0 ) /* sprites */
2052   ROM_LOAD16_BYTE( "epr13173.b11",  0x000001, 0x40000, CRC(40a0ddfa) SHA1(f3917361f627865d2f1a22791904da056ce8a93a) )
2053   ROM_LOAD16_BYTE( "epr13176.a11",  0x000000, 0x40000, CRC(1184fbd2) SHA1(685ee2d7c4a0134af13ccf5d15f2e56a6b905195) )
2092   ROM_LOAD16_BYTE( "epr-13173.b11",  0x000001, 0x40000, CRC(40a0ddfa) SHA1(f3917361f627865d2f1a22791904da056ce8a93a) )
2093   ROM_LOAD16_BYTE( "epr-13176.a11",  0x000000, 0x40000, CRC(1184fbd2) SHA1(685ee2d7c4a0134af13ccf5d15f2e56a6b905195) )
20542094
20552095   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2056   ROM_LOAD( "epr12826a.a4", 0x10000, 0x20000, CRC(d41e2a3f) SHA1(087a6515ebefc3252a1feab5bf7b8a22bff9e379) )
2096   ROM_LOAD( "epr-12826a.a4", 0x10000, 0x20000, CRC(d41e2a3f) SHA1(087a6515ebefc3252a1feab5bf7b8a22bff9e379) )
20572097ROM_END
20582098
20592099
r8054r8055
20702110   ROM_LOAD16_BYTE( "shdancer.a5",  0x000001, 0x40000, CRC(2596004e) SHA1(1b993aa74e7559f7e99253fd2144db9449c04cce) )
20712111
20722112   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
2073   ROM_LOAD( "mpr12712.b1",  0x00000, 0x40000, CRC(9bdabe3d) SHA1(4bb30fa2d4cdefe4a864cef7153b516bc5b02c42) )
2074   ROM_LOAD( "mpr12713.b2",  0x40000, 0x40000, CRC(852d2b1c) SHA1(8e5bc83d45e48b621ea3016207f2028fe41701e6) )
2075   ROM_LOAD( "mpr12714.b3",  0x80000, 0x40000, CRC(448226ce) SHA1(3060e4a43311069e2691d659c1e0c1a48edfeedb) )
2113   ROM_LOAD( "mpr-12712.b1",  0x00000, 0x40000, CRC(9bdabe3d) SHA1(4bb30fa2d4cdefe4a864cef7153b516bc5b02c42) )
2114   ROM_LOAD( "mpr-12713.b2",  0x40000, 0x40000, CRC(852d2b1c) SHA1(8e5bc83d45e48b621ea3016207f2028fe41701e6) )
2115   ROM_LOAD( "mpr-12714.b3",  0x80000, 0x40000, CRC(448226ce) SHA1(3060e4a43311069e2691d659c1e0c1a48edfeedb) )
20762116
20772117   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
2078   ROM_LOAD16_BYTE( "mpr12719.b11", 0x000001, 0x40000, CRC(d6888534) SHA1(2201f1921a68cf39e5a94b487c90e48d032d630f) )
2079   ROM_LOAD16_BYTE( "mpr12726.a11", 0x000000, 0x40000, CRC(ff344945) SHA1(2743778c42f53321f9691d60bbf94ea8baf1382f) )
2080   ROM_LOAD16_BYTE( "mpr12718.b10", 0x080001, 0x40000, CRC(ba2efc0c) SHA1(459a1a280f870c94aefb70127ed007cb090ed203) )
2081   ROM_LOAD16_BYTE( "mpr12725.a10", 0x080000, 0x40000, CRC(268a0c17) SHA1(2756054fa3c3aed30a1fce5e41acb0ceaebe90b5) )
2082   ROM_LOAD16_BYTE( "mpr12717.b9",  0x100001, 0x40000, CRC(c81cc4f8) SHA1(22f364e85057ceef533e051c8d0755b9691c5ec4) )
2083   ROM_LOAD16_BYTE( "mpr12724.a9",  0x100000, 0x40000, CRC(0f4903dc) SHA1(851bd60e877c9e39be23dc1fde91efc9da513c29) )
2084   ROM_LOAD16_BYTE( "epr12716.b8",  0x180001, 0x40000, CRC(a870e629) SHA1(29f6633240f9737ec19e16100decc7aa045b2060) )
2085   ROM_LOAD16_BYTE( "epr12723.a8",  0x180000, 0x40000, CRC(c606cf90) SHA1(cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c) )
2118   ROM_LOAD16_BYTE( "mpr-12719.b11", 0x000001, 0x40000, CRC(d6888534) SHA1(2201f1921a68cf39e5a94b487c90e48d032d630f) )
2119   ROM_LOAD16_BYTE( "mpr-12726.a11", 0x000000, 0x40000, CRC(ff344945) SHA1(2743778c42f53321f9691d60bbf94ea8baf1382f) )
2120   ROM_LOAD16_BYTE( "mpr-12718.b10", 0x080001, 0x40000, CRC(ba2efc0c) SHA1(459a1a280f870c94aefb70127ed007cb090ed203) )
2121   ROM_LOAD16_BYTE( "mpr-12725.a10", 0x080000, 0x40000, CRC(268a0c17) SHA1(2756054fa3c3aed30a1fce5e41acb0ceaebe90b5) )
2122   ROM_LOAD16_BYTE( "mpr-12717.b9",  0x100001, 0x40000, CRC(c81cc4f8) SHA1(22f364e85057ceef533e051c8d0755b9691c5ec4) )
2123   ROM_LOAD16_BYTE( "mpr-12724.a9",  0x100000, 0x40000, CRC(0f4903dc) SHA1(851bd60e877c9e39be23dc1fde91efc9da513c29) )
2124   ROM_LOAD16_BYTE( "epr-12716.b8",  0x180001, 0x40000, CRC(a870e629) SHA1(29f6633240f9737ec19e16100decc7aa045b2060) )
2125   ROM_LOAD16_BYTE( "epr-12723.a8",  0x180000, 0x40000, CRC(c606cf90) SHA1(cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c) )
20862126
20872127   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2088   ROM_LOAD( "epr12720.a4",  0x10000, 0x20000, CRC(7a0d8de1) SHA1(eca5e2104e5b3e772d083a718171234f06ea8a55) )
2089   ROM_LOAD( "mpr12715.b4",  0x90000, 0x40000, CRC(07051a52) SHA1(d48658497f4a34665d3e051f893ff057c38925ae) )
2128   ROM_LOAD( "epr-12720.a4",  0x10000, 0x20000, CRC(7a0d8de1) SHA1(eca5e2104e5b3e772d083a718171234f06ea8a55) )
2129   ROM_LOAD( "mpr-12715.b4",  0x90000, 0x40000, CRC(07051a52) SHA1(d48658497f4a34665d3e051f893ff057c38925ae) )
20902130ROM_END
20912131
20922132/**************************************************************************************************************************
r8054r8055
20962136*/
20972137ROM_START( shdancerj )
20982138   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
2099   ROM_LOAD16_BYTE( "epr12722b.a6",  0x000000, 0x40000, CRC(c00552a2) SHA1(74fddfe596bc00bc11c4a06e2103417e8fd334f6) )
2100   ROM_LOAD16_BYTE( "epr12721b.a5",  0x000001, 0x40000, CRC(653d351a) SHA1(1a03a154cb81a5a2f28c38aecdd6b5d107ea7ffa) )
2139   ROM_LOAD16_BYTE( "epr-12722b.a6",  0x000000, 0x40000, CRC(c00552a2) SHA1(74fddfe596bc00bc11c4a06e2103417e8fd334f6) )
2140   ROM_LOAD16_BYTE( "epr-12721b.a5",  0x000001, 0x40000, CRC(653d351a) SHA1(1a03a154cb81a5a2f28c38aecdd6b5d107ea7ffa) )
21012141
21022142   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
2103   ROM_LOAD( "mpr12712.b1",  0x00000, 0x40000, CRC(9bdabe3d) SHA1(4bb30fa2d4cdefe4a864cef7153b516bc5b02c42) )
2104   ROM_LOAD( "mpr12713.b2",  0x40000, 0x40000, CRC(852d2b1c) SHA1(8e5bc83d45e48b621ea3016207f2028fe41701e6) )
2105   ROM_LOAD( "mpr12714.b3",  0x80000, 0x40000, CRC(448226ce) SHA1(3060e4a43311069e2691d659c1e0c1a48edfeedb) )
2143   ROM_LOAD( "mpr-12712.b1",  0x00000, 0x40000, CRC(9bdabe3d) SHA1(4bb30fa2d4cdefe4a864cef7153b516bc5b02c42) )
2144   ROM_LOAD( "mpr-12713.b2",  0x40000, 0x40000, CRC(852d2b1c) SHA1(8e5bc83d45e48b621ea3016207f2028fe41701e6) )
2145   ROM_LOAD( "mpr-12714.b3",  0x80000, 0x40000, CRC(448226ce) SHA1(3060e4a43311069e2691d659c1e0c1a48edfeedb) )
21062146
21072147   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
2108   ROM_LOAD16_BYTE( "mpr12719.b11", 0x000001, 0x40000, CRC(d6888534) SHA1(2201f1921a68cf39e5a94b487c90e48d032d630f) )
2109   ROM_LOAD16_BYTE( "mpr12726.a11", 0x000000, 0x40000, CRC(ff344945) SHA1(2743778c42f53321f9691d60bbf94ea8baf1382f) )
2110   ROM_LOAD16_BYTE( "mpr12718.b10", 0x080001, 0x40000, CRC(ba2efc0c) SHA1(459a1a280f870c94aefb70127ed007cb090ed203) )
2111   ROM_LOAD16_BYTE( "mpr12725.a10", 0x080000, 0x40000, CRC(268a0c17) SHA1(2756054fa3c3aed30a1fce5e41acb0ceaebe90b5) )
2112   ROM_LOAD16_BYTE( "mpr12717.b9",  0x100001, 0x40000, CRC(c81cc4f8) SHA1(22f364e85057ceef533e051c8d0755b9691c5ec4) )
2113   ROM_LOAD16_BYTE( "mpr12724.a9",  0x100000, 0x40000, CRC(0f4903dc) SHA1(851bd60e877c9e39be23dc1fde91efc9da513c29) )
2114   ROM_LOAD16_BYTE( "epr12716.b8",  0x180001, 0x40000, CRC(a870e629) SHA1(29f6633240f9737ec19e16100decc7aa045b2060) )
2115   ROM_LOAD16_BYTE( "epr12723.a8",  0x180000, 0x40000, CRC(c606cf90) SHA1(cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c) )
2148   ROM_LOAD16_BYTE( "mpr-12719.b11", 0x000001, 0x40000, CRC(d6888534) SHA1(2201f1921a68cf39e5a94b487c90e48d032d630f) )
2149   ROM_LOAD16_BYTE( "mpr-12726.a11", 0x000000, 0x40000, CRC(ff344945) SHA1(2743778c42f53321f9691d60bbf94ea8baf1382f) )
2150   ROM_LOAD16_BYTE( "mpr-12718.b10", 0x080001, 0x40000, CRC(ba2efc0c) SHA1(459a1a280f870c94aefb70127ed007cb090ed203) )
2151   ROM_LOAD16_BYTE( "mpr-12725.a10", 0x080000, 0x40000, CRC(268a0c17) SHA1(2756054fa3c3aed30a1fce5e41acb0ceaebe90b5) )
2152   ROM_LOAD16_BYTE( "mpr-12717.b9",  0x100001, 0x40000, CRC(c81cc4f8) SHA1(22f364e85057ceef533e051c8d0755b9691c5ec4) )
2153   ROM_LOAD16_BYTE( "mpr-12724.a9",  0x100000, 0x40000, CRC(0f4903dc) SHA1(851bd60e877c9e39be23dc1fde91efc9da513c29) )
2154   ROM_LOAD16_BYTE( "epr-12716.b8",  0x180001, 0x40000, CRC(a870e629) SHA1(29f6633240f9737ec19e16100decc7aa045b2060) )
2155   ROM_LOAD16_BYTE( "epr-12723.a8",  0x180000, 0x40000, CRC(c606cf90) SHA1(cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c) )
21162156
21172157   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2118   ROM_LOAD( "epr12720.a4",  0x10000, 0x20000, CRC(7a0d8de1) SHA1(eca5e2104e5b3e772d083a718171234f06ea8a55) )
2119   ROM_LOAD( "mpr12715.b4",  0x90000, 0x40000, CRC(07051a52) SHA1(d48658497f4a34665d3e051f893ff057c38925ae) )
2158   ROM_LOAD( "epr-12720.a4",  0x10000, 0x20000, CRC(7a0d8de1) SHA1(eca5e2104e5b3e772d083a718171234f06ea8a55) )
2159   ROM_LOAD( "mpr-12715.b4",  0x90000, 0x40000, CRC(07051a52) SHA1(d48658497f4a34665d3e051f893ff057c38925ae) )
21202160ROM_END
21212161
21222162/**************************************************************************************************************************
r8054r8055
21262166*/
21272167ROM_START( shdancer1 )
21282168   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
2129   ROM_LOAD16_BYTE( "epr12772b.a6",  0x000000, 0x40000, CRC(6868a4d4) SHA1(f0d142c81fe1eba4f5c59a0163e25c80ccfe85d7) )
2130   ROM_LOAD16_BYTE( "epr12771b.a5",  0x000001, 0x40000, CRC(04e30c84) SHA1(6c5705f7de6ee1bd754b51988cc7d1008f817c78) )
2169   ROM_LOAD16_BYTE( "epr-12772b.a6",  0x000000, 0x40000, CRC(6868a4d4) SHA1(f0d142c81fe1eba4f5c59a0163e25c80ccfe85d7) )
2170   ROM_LOAD16_BYTE( "epr-12771b.a5",  0x000001, 0x40000, CRC(04e30c84) SHA1(6c5705f7de6ee1bd754b51988cc7d1008f817c78) )
21312171
21322172   ROM_REGION( 0xc0000, "gfx1", 0 ) /* tiles */
2133   ROM_LOAD( "mpr12712.b1",  0x00000, 0x40000, CRC(9bdabe3d) SHA1(4bb30fa2d4cdefe4a864cef7153b516bc5b02c42) )
2134   ROM_LOAD( "mpr12713.b2",  0x40000, 0x40000, CRC(852d2b1c) SHA1(8e5bc83d45e48b621ea3016207f2028fe41701e6) )
2135   ROM_LOAD( "mpr12714.b3",  0x80000, 0x40000, CRC(448226ce) SHA1(3060e4a43311069e2691d659c1e0c1a48edfeedb) )
2173   ROM_LOAD( "mpr-12712.b1",  0x00000, 0x40000, CRC(9bdabe3d) SHA1(4bb30fa2d4cdefe4a864cef7153b516bc5b02c42) )
2174   ROM_LOAD( "mpr-12713.b2",  0x40000, 0x40000, CRC(852d2b1c) SHA1(8e5bc83d45e48b621ea3016207f2028fe41701e6) )
2175   ROM_LOAD( "mpr-12714.b3",  0x80000, 0x40000, CRC(448226ce) SHA1(3060e4a43311069e2691d659c1e0c1a48edfeedb) )
21362176
21372177   ROM_REGION16_BE( 0x200000, "gfx2", 0 ) /* sprites */
2138   ROM_LOAD16_BYTE( "mpr12719.b11", 0x000001, 0x40000, CRC(d6888534) SHA1(2201f1921a68cf39e5a94b487c90e48d032d630f) )
2139   ROM_LOAD16_BYTE( "mpr12726.a11", 0x000000, 0x40000, CRC(ff344945) SHA1(2743778c42f53321f9691d60bbf94ea8baf1382f) )
2140   ROM_LOAD16_BYTE( "mpr12718.b10", 0x080001, 0x40000, CRC(ba2efc0c) SHA1(459a1a280f870c94aefb70127ed007cb090ed203) )
2141   ROM_LOAD16_BYTE( "mpr12725.a10", 0x080000, 0x40000, CRC(268a0c17) SHA1(2756054fa3c3aed30a1fce5e41acb0ceaebe90b5) )
2142   ROM_LOAD16_BYTE( "mpr12717.b9",  0x100001, 0x40000, CRC(c81cc4f8) SHA1(22f364e85057ceef533e051c8d0755b9691c5ec4) )
2143   ROM_LOAD16_BYTE( "mpr12724.a9",  0x100000, 0x40000, CRC(0f4903dc) SHA1(851bd60e877c9e39be23dc1fde91efc9da513c29) )
2144   ROM_LOAD16_BYTE( "epr12716.b8",  0x180001, 0x40000, CRC(a870e629) SHA1(29f6633240f9737ec19e16100decc7aa045b2060) )
2145   ROM_LOAD16_BYTE( "epr12723.a8",  0x180000, 0x40000, CRC(c606cf90) SHA1(cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c) )
2178   ROM_LOAD16_BYTE( "mpr-12719.b11", 0x000001, 0x40000, CRC(d6888534) SHA1(2201f1921a68cf39e5a94b487c90e48d032d630f) )
2179   ROM_LOAD16_BYTE( "mpr-12726.a11", 0x000000, 0x40000, CRC(ff344945) SHA1(2743778c42f53321f9691d60bbf94ea8baf1382f) )
2180   ROM_LOAD16_BYTE( "mpr-12718.b10", 0x080001, 0x40000, CRC(ba2efc0c) SHA1(459a1a280f870c94aefb70127ed007cb090ed203) )
2181   ROM_LOAD16_BYTE( "mpr-12725.a10", 0x080000, 0x40000, CRC(268a0c17) SHA1(2756054fa3c3aed30a1fce5e41acb0ceaebe90b5) )
2182   ROM_LOAD16_BYTE( "mpr-12717.b9",  0x100001, 0x40000, CRC(c81cc4f8) SHA1(22f364e85057ceef533e051c8d0755b9691c5ec4) )
2183   ROM_LOAD16_BYTE( "mpr-12724.a9",  0x100000, 0x40000, CRC(0f4903dc) SHA1(851bd60e877c9e39be23dc1fde91efc9da513c29) )
2184   ROM_LOAD16_BYTE( "epr-12716.b8",  0x180001, 0x40000, CRC(a870e629) SHA1(29f6633240f9737ec19e16100decc7aa045b2060) )
2185   ROM_LOAD16_BYTE( "epr-12723.a8",  0x180000, 0x40000, CRC(c606cf90) SHA1(cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c) )
21462186
21472187   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2148   ROM_LOAD( "epr12720.a4",  0x10000, 0x20000, CRC(7a0d8de1) SHA1(eca5e2104e5b3e772d083a718171234f06ea8a55) )
2149   ROM_LOAD( "mpr12715.b4",  0x90000, 0x40000, CRC(07051a52) SHA1(d48658497f4a34665d3e051f893ff057c38925ae) )
2188   ROM_LOAD( "epr-12720.a4",  0x10000, 0x20000, CRC(7a0d8de1) SHA1(eca5e2104e5b3e772d083a718171234f06ea8a55) )
2189   ROM_LOAD( "mpr-12715.b4",  0x90000, 0x40000, CRC(07051a52) SHA1(d48658497f4a34665d3e051f893ff057c38925ae) )
21502190ROM_END
21512191
21522192
r8054r8055
21592199*/
21602200ROM_START( wwallyj )
21612201   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code - custom CPU 317-0197 (?) */
2162   ROM_LOAD16_BYTE( "epr14730b.a4", 0x000000, 0x40000, CRC(e72bc17a) SHA1(ac3b7d86571a6f510c202735134c1bc4809aa26e) )
2163   ROM_LOAD16_BYTE( "epr14731b.a6", 0x000001, 0x40000, CRC(6e3235b9) SHA1(11d5628644e8301550c36c93e5f137c67c11e735) )
2202   ROM_LOAD16_BYTE( "epr-14730b.a4", 0x000000, 0x40000, CRC(e72bc17a) SHA1(ac3b7d86571a6f510c202735134c1bc4809aa26e) )
2203   ROM_LOAD16_BYTE( "epr-14731b.a6", 0x000001, 0x40000, CRC(6e3235b9) SHA1(11d5628644e8301550c36c93e5f137c67c11e735) )
21642204
21652205   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
21662206   ROM_LOAD( "317-0197b.key", 0x0000, 0x2000, CRC(f5b7c5b4) SHA1(be971a2349e7c3adc995581355fea48f5123421c) )
21672207
21682208   ROM_REGION( 0x0c0000, "gfx1", 0 ) /* tiles */
2169   ROM_LOAD( "mpr14719.c1", 0x000000, 0x40000, CRC(8b58c743) SHA1(ee50baa184d68558d62d1817b2b9c138226ed25a) )
2170   ROM_LOAD( "mpr14720.c2", 0x040000, 0x40000, CRC(f96d19f4) SHA1(e350b551db8d01062397cd9a0c952a7b5dbf3fe6) )
2171   ROM_LOAD( "mpr14721.c3", 0x080000, 0x40000, CRC(c4ced91d) SHA1(4c8a070959ca10e2dddf407ddbba212415d78727) )
2209   ROM_LOAD( "mpr-14719.c1", 0x000000, 0x40000, CRC(8b58c743) SHA1(ee50baa184d68558d62d1817b2b9c138226ed25a) )
2210   ROM_LOAD( "mpr-14720.c2", 0x040000, 0x40000, CRC(f96d19f4) SHA1(e350b551db8d01062397cd9a0c952a7b5dbf3fe6) )
2211   ROM_LOAD( "mpr-14721.c3", 0x080000, 0x40000, CRC(c4ced91d) SHA1(4c8a070959ca10e2dddf407ddbba212415d78727) )
21722212
21732213   ROM_REGION16_BE( 0x500000, "gfx2", 0 ) /* sprites */
2174   ROM_LOAD16_BYTE( "mpr14726.c10", 0x000001, 0x100000, CRC(7213d1d3) SHA1(b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa) )
2175   ROM_LOAD16_BYTE( "mpr14732.a10", 0x000000, 0x100000, CRC(04ced549) SHA1(59fd6510f0e14613d830ac6527f12ccc0b9351a5) )
2176   ROM_LOAD16_BYTE( "mpr14727.c11", 0x200001, 0x100000, CRC(3b74e0f0) SHA1(40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5) )
2177   ROM_LOAD16_BYTE( "mpr14733.a11", 0x200000, 0x100000, CRC(6da0444f) SHA1(80c32895af19bda3277376fdbd1c163f0ed25665) )
2178   ROM_LOAD16_BYTE( "mpr14728.c12", 0x400001, 0x080000, CRC(5b921587) SHA1(2779dc658bb7a51f2399af5a6463ccb2dd388e88) )
2179   ROM_LOAD16_BYTE( "mpr14734.a12", 0x400000, 0x080000, CRC(6f3f5ed9) SHA1(01972c8bd5bfde58715bc0adc7dea73bf6350a26) )
2214   ROM_LOAD16_BYTE( "mpr-14726.c10", 0x000001, 0x100000, CRC(7213d1d3) SHA1(b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa) )
2215   ROM_LOAD16_BYTE( "mpr-14732.a10", 0x000000, 0x100000, CRC(04ced549) SHA1(59fd6510f0e14613d830ac6527f12ccc0b9351a5) )
2216   ROM_LOAD16_BYTE( "mpr-14727.c11", 0x200001, 0x100000, CRC(3b74e0f0) SHA1(40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5) )
2217   ROM_LOAD16_BYTE( "mpr-14733.a11", 0x200000, 0x100000, CRC(6da0444f) SHA1(80c32895af19bda3277376fdbd1c163f0ed25665) )
2218   ROM_LOAD16_BYTE( "mpr-14728.c12", 0x400001, 0x080000, CRC(5b921587) SHA1(2779dc658bb7a51f2399af5a6463ccb2dd388e88) )
2219   ROM_LOAD16_BYTE( "mpr-14734.a12", 0x400000, 0x080000, CRC(6f3f5ed9) SHA1(01972c8bd5bfde58715bc0adc7dea73bf6350a26) )
21802220
21812221   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2182   ROM_LOAD( "epr14725.c7",   0x010000, 0x20000, CRC(2b29684f) SHA1(b83962a4f475f9b3e79d4f7ff577b170c4043156) )
2183   ROM_LOAD( "mpr14724.c6",   0x090000, 0x80000, CRC(47cbea86) SHA1(c70d1fed2912c7c05223ce0bb0941706f957295f) )
2184   ROM_LOAD( "mpr14723.c5",   0x110000, 0x80000, CRC(bc5adc27) SHA1(09405002b940a3d3eb0f1258f37af51e0b7581b9) )
2185   ROM_LOAD( "mpr14722.c4",   0x190000, 0x80000, CRC(1bd081f8) SHA1(e5b0b5d8334486f813d7c430bb7fce3f69605a21) )
2222   ROM_LOAD( "epr-14725.c7",   0x010000, 0x20000, CRC(2b29684f) SHA1(b83962a4f475f9b3e79d4f7ff577b170c4043156) )
2223   ROM_LOAD( "mpr-14724.c6",   0x090000, 0x80000, CRC(47cbea86) SHA1(c70d1fed2912c7c05223ce0bb0941706f957295f) )
2224   ROM_LOAD( "mpr-14723.c5",   0x110000, 0x80000, CRC(bc5adc27) SHA1(09405002b940a3d3eb0f1258f37af51e0b7581b9) )
2225   ROM_LOAD( "mpr-14722.c4",   0x190000, 0x80000, CRC(1bd081f8) SHA1(e5b0b5d8334486f813d7c430bb7fce3f69605a21) )
21862226ROM_END
21872227
21882228/**************************************************************************************************************************
r8054r8055
21922232*/
21932233ROM_START( wwallyja )
21942234   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code - custom CPU 317-0197a */
2195   ROM_LOAD16_BYTE( "epr14730a.a4", 0x000000, 0x40000, CRC(daa7880e) SHA1(9ea83e04c3e07d84afa67097c28b3951c9db8d00) )
2196   ROM_LOAD16_BYTE( "epr14731a.a6", 0x000001, 0x40000, CRC(5e36353b) SHA1(488c54bbef3c8a129785465887bff3b301e11387) )
2235   ROM_LOAD16_BYTE( "epr-14730a.a4", 0x000000, 0x40000, CRC(daa7880e) SHA1(9ea83e04c3e07d84afa67097c28b3951c9db8d00) )
2236   ROM_LOAD16_BYTE( "epr-14731a.a6", 0x000001, 0x40000, CRC(5e36353b) SHA1(488c54bbef3c8a129785465887bff3b301e11387) )
21972237
21982238   ROM_REGION( 0x2000, "user1", 0 )   /* decryption key */
21992239   ROM_LOAD( "317-0197a.key", 0x0000, 0x2000, CRC(2fb6a9a1) SHA1(2649d0905527dbe0dd0ad5cf68c457b4aa5fb32c) )
22002240
22012241   ROM_REGION( 0x0c0000, "gfx1", 0 ) /* tiles */
2202   ROM_LOAD( "mpr14719.c1", 0x000000, 0x40000, CRC(8b58c743) SHA1(ee50baa184d68558d62d1817b2b9c138226ed25a) )
2203   ROM_LOAD( "mpr14720.c2", 0x040000, 0x40000, CRC(f96d19f4) SHA1(e350b551db8d01062397cd9a0c952a7b5dbf3fe6) )
2204   ROM_LOAD( "mpr14721.c3", 0x080000, 0x40000, CRC(c4ced91d) SHA1(4c8a070959ca10e2dddf407ddbba212415d78727) )
2242   ROM_LOAD( "mpr-14719.c1", 0x000000, 0x40000, CRC(8b58c743) SHA1(ee50baa184d68558d62d1817b2b9c138226ed25a) )
2243   ROM_LOAD( "mpr-14720.c2", 0x040000, 0x40000, CRC(f96d19f4) SHA1(e350b551db8d01062397cd9a0c952a7b5dbf3fe6) )
2244   ROM_LOAD( "mpr-14721.c3", 0x080000, 0x40000, CRC(c4ced91d) SHA1(4c8a070959ca10e2dddf407ddbba212415d78727) )
22052245
22062246   ROM_REGION16_BE( 0x500000, "gfx2", 0 ) /* sprites */
2207   ROM_LOAD16_BYTE( "mpr14726.c10", 0x000001, 0x100000, CRC(7213d1d3) SHA1(b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa) )
2208   ROM_LOAD16_BYTE( "mpr14732.a10", 0x000000, 0x100000, CRC(04ced549) SHA1(59fd6510f0e14613d830ac6527f12ccc0b9351a5) )
2209   ROM_LOAD16_BYTE( "mpr14727.c11", 0x200001, 0x100000, CRC(3b74e0f0) SHA1(40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5) )
2210   ROM_LOAD16_BYTE( "mpr14733.a11", 0x200000, 0x100000, CRC(6da0444f) SHA1(80c32895af19bda3277376fdbd1c163f0ed25665) )
2211   ROM_LOAD16_BYTE( "mpr14728.c12", 0x400001, 0x080000, CRC(5b921587) SHA1(2779dc658bb7a51f2399af5a6463ccb2dd388e88) )
2212   ROM_LOAD16_BYTE( "mpr14734.a12", 0x400000, 0x080000, CRC(6f3f5ed9) SHA1(01972c8bd5bfde58715bc0adc7dea73bf6350a26) )
2247   ROM_LOAD16_BYTE( "mpr-14726.c10", 0x000001, 0x100000, CRC(7213d1d3) SHA1(b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa) )
2248   ROM_LOAD16_BYTE( "mpr-14732.a10", 0x000000, 0x100000, CRC(04ced549) SHA1(59fd6510f0e14613d830ac6527f12ccc0b9351a5) )
2249   ROM_LOAD16_BYTE( "mpr-14727.c11", 0x200001, 0x100000, CRC(3b74e0f0) SHA1(40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5) )
2250   ROM_LOAD16_BYTE( "mpr-14733.a11", 0x200000, 0x100000, CRC(6da0444f) SHA1(80c32895af19bda3277376fdbd1c163f0ed25665) )
2251   ROM_LOAD16_BYTE( "mpr-14728.c12", 0x400001, 0x080000, CRC(5b921587) SHA1(2779dc658bb7a51f2399af5a6463ccb2dd388e88) )
2252   ROM_LOAD16_BYTE( "mpr-14734.a12", 0x400000, 0x080000, CRC(6f3f5ed9) SHA1(01972c8bd5bfde58715bc0adc7dea73bf6350a26) )
22132253
22142254   ROM_REGION( 0x210000, "soundcpu", ROMREGION_ERASEFF ) /* sound CPU */
2215   ROM_LOAD( "epr14725.c7",   0x010000, 0x20000, CRC(2b29684f) SHA1(b83962a4f475f9b3e79d4f7ff577b170c4043156) )
2216   ROM_LOAD( "mpr14724.c6",   0x090000, 0x80000, CRC(47cbea86) SHA1(c70d1fed2912c7c05223ce0bb0941706f957295f) )
2217   ROM_LOAD( "mpr14723.c5",   0x110000, 0x80000, CRC(bc5adc27) SHA1(09405002b940a3d3eb0f1258f37af51e0b7581b9) )
2218   ROM_LOAD( "mpr14722.c4",   0x190000, 0x80000, CRC(1bd081f8) SHA1(e5b0b5d8334486f813d7c430bb7fce3f69605a21) )
2255   ROM_LOAD( "epr-14725.c7",   0x010000, 0x20000, CRC(2b29684f) SHA1(b83962a4f475f9b3e79d4f7ff577b170c4043156) )
2256   ROM_LOAD( "mpr-14724.c6",   0x090000, 0x80000, CRC(47cbea86) SHA1(c70d1fed2912c7c05223ce0bb0941706f957295f) )
2257   ROM_LOAD( "mpr-14723.c5",   0x110000, 0x80000, CRC(bc5adc27) SHA1(09405002b940a3d3eb0f1258f37af51e0b7581b9) )
2258   ROM_LOAD( "mpr-14722.c4",   0x190000, 0x80000, CRC(1bd081f8) SHA1(e5b0b5d8334486f813d7c430bb7fce3f69605a21) )
22192259ROM_END
22202260
22212261
r8054r8055
22842324 *
22852325 *************************************/
22862326
2287GAME( 1990, astorm,   0,        system18,      astorm2p, generic_5874, ROT0,   "Sega",    "Alien Storm (set 4, World, 2 Players, FD1094 317-0154)", 0 )
2288GAME( 1990, astorm3,  astorm,   system18,      astorm,   generic_5874, ROT0,   "Sega",    "Alien Storm (set 3, World, 3 Players, FD1094 317-0148)", 0 )
2289GAME( 1990, astormu,  astorm,   system18,      astorm,   generic_5874, ROT0,   "Sega",    "Alien Storm (set 2, US, 3 Players, FD1094 317-0147)", 0 )
2290GAME( 1990, astormj,  astorm,   system18,      astorm2p, generic_5874, ROT0,   "Sega",    "Alien Storm (set 1, Japan, 2 Players, FD1094 317-0146)", 0 )
2291GAME( 1989, bloxeed,  0,        system18,      bloxeed,  generic_5874, ROT0,   "Sega",    "Bloxeed (Japan, FD1094 317-0139)", 0 )   /* released in 01.1990 */
2292GAME( 1991, cltchitr, 0,        system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (set 2, US, FD1094 317-0176)", 0 )
2293GAME( 1991, cltchitrj,cltchitr, system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (set 1, Japan, FD1094 317-0175)", 0 )
2294GAME( 1992, desertbr, 0,        system18,      desertbr, generic_5987, ROT270, "Sega",    "Desert Breaker (FD1094 317-0196)", 0 )
2295GAME( 1991, ddcrew,   0,        system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 4, World, 3 Player, FD1094 317-0190)", 0 )
2296GAME( 1991, ddcrewu,  ddcrew,   system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 3, US, 4 Player, FD1094 317-0186)", 0 )
2297GAME( 1991, ddcrew2,  ddcrew,   system18,      ddcrew2p, ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 2, World, 2 Player, FD1094 317-0184)", 0 )
2298GAME( 1991, ddcrew1,  ddcrew,   system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 1, World, 4 Player, FD1094 317-0187)", 0 )
2299GAME( 1991, ddcrewj,  ddcrew,   system18,      ddcrew2p, ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 5, Japan, 2 Player, FD1094 317-0182)", 0 )
2300GAME( 1990, lghost,   0,        system18,      lghost,   lghost,       ROT0,   "Sega",    "Laser Ghost (set 2, World, 317-0166)", 0 )
2301GAME( 1990, lghostu,  lghost,   system18,      lghost,   lghost,       ROT0,   "Sega",    "Laser Ghost (set 1, US, 317-0165)", 0 )
2302GAME( 1990, mwalk,    0,        system18_8751, mwalk,    generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (set 3, World, FD1094/8751 317-0159)", 0 )
2303GAME( 1990, mwalku,   mwalk,    system18_8751, mwalka,   generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (set 2, US, FD1094/8751 317-0158)", 0 )
2304GAME( 1990, mwalkj,   mwalk,    system18_8751, mwalk,    generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (set 1, Japan, FD1094/8751 317-0157)", 0 )
2327GAME( 1990, astorm,   0,        system18,      astorm2p, generic_5874, ROT0,   "Sega",    "Alien Storm (World, 2 Players, FD1094 317-0154)", 0 )
2328GAME( 1990, astorm3,  astorm,   system18,      astorm,   generic_5874, ROT0,   "Sega",    "Alien Storm (World, 3 Players, FD1094 317-0148)", 0 )
2329GAME( 1990, astormu,  astorm,   system18,      astorm,   generic_5874, ROT0,   "Sega",    "Alien Storm (US, 3 Players, FD1094 317-0147)", 0 )
2330GAME( 1990, astormj,  astorm,   system18,      astorm2p, generic_5874, ROT0,   "Sega",    "Alien Storm (Japan, 2 Players, FD1094 317-0146)", 0 )
2331GAME( 1989, bloxeed,  0,        system18,      bloxeed,  generic_5874, ROT0,   "Sega",    "Bloxeed (Japan, FD1094 317-0139)", 0 )
2332GAME( 1991, cltchitr, 0,        system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (US, FD1094 317-0176)", 0 )
2333GAME( 1991, cltchitrj,cltchitr, system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (Japan, FD1094 317-0175)", 0 )
2334GAME( 1992, desertbr, 0,        system18,      desertbr, generic_5987, ROT270, "Sega",    "Desert Breaker (World, FD1094 317-0196)", 0 )
2335GAME( 1992, desertbrj,desertbr, system18,      desertbr, generic_5987, ROT270, "Sega",    "Desert Breaker (Japan, FD1094 317-0194)", 0 )
2336GAME( 1991, ddcrew,   0,        system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (World, 3 Player, FD1094 317-0190)", 0 )
2337GAME( 1991, ddcrewu,  ddcrew,   system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (US, 4 Player, FD1094 317-0186)", 0 )
2338GAME( 1991, ddcrew2,  ddcrew,   system18,      ddcrew2p, ddcrew,       ROT0,   "Sega",    "D. D. Crew (World, 2 Player, FD1094 317-0184)", 0 )
2339GAME( 1991, ddcrew1,  ddcrew,   system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (World, 4 Player, FD1094 317-0187)", 0 )
2340GAME( 1991, ddcrewj,  ddcrew,   system18,      ddcrew2p, ddcrew,       ROT0,   "Sega",    "D. D. Crew (Japan, 2 Player, FD1094 317-0182)", 0 )
2341GAME( 1990, lghost,   0,        system18,      lghost,   lghost,       ROT0,   "Sega",    "Laser Ghost (World, 317-0166)", 0 )
2342GAME( 1990, lghostu,  lghost,   system18,      lghost,   lghost,       ROT0,   "Sega",    "Laser Ghost (US, 317-0165)", 0 )
2343GAME( 1990, mwalk,    0,        system18_8751, mwalk,    generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (World, FD1094/8751 317-0159)", 0 )
2344GAME( 1990, mwalku,   mwalk,    system18_8751, mwalka,   generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (US, FD1094/8751 317-0158)", 0 )
2345GAME( 1990, mwalkj,   mwalk,    system18_8751, mwalk,    generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (Japan, FD1094/8751 317-0157)", 0 )
23052346GAME( 1989, pontoon,  0,        system18,      shdancer, generic_5874, ROT0,   "Sega",    "Pontoon", GAME_NOT_WORKING )
2306GAME( 1989, shdancer, 0,        system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 3, US)" , 0 )
2307GAME( 1989, shdancerj,shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 2, Japan)", 0 )
2308GAME( 1989, shdancer1,shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 1)", 0 )
2347GAME( 1989, shdancer, 0,        system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (World)" , 0 )
2348GAME( 1989, shdancerj,shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (Japan)", 0 )
2349GAME( 1989, shdancer1,shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (US)", 0 )
23092350GAME( 1992, wwallyj,  0,        system18,      wwally,   wwally,       ROT0,   "Sega",    "Wally wo Sagase! (rev B, Japan, FD1094 317-0197B)" , 0) /* the roms do contain an english logo so maybe there is a world / us set too */
23102351GAME( 1992, wwallyja, wwallyj,  system18,      wwally,   wwally,       ROT0,   "Sega",    "Wally wo Sagase! (rev A, Japan, FD1094 317-0197A)", 0 )
src/mame/drivers/astrocorp.c
r8054r8055
666666
667667ROM#1 & ROM#2 are 32pin sockets
668668ROM#7 is a 40pin socket
669ROM#3 & ROM#4 at U25 & U27 are optional unpopulated 32pin sockets and overlap with ROM#6
669ROM#3 & ROM#4 at U27 & U25 are optional unpopulated 32pin sockets and overlap with ROM#6
670670ROM#6 is 29F1610MC flash rom
671671
672672RAM1 are SEC KM681000BLG-7L RAM chips
src/mame/drivers/tutankhm.c
r8054r8055
1818    * Discrete filters
1919    * Starfield
2020
21
22    Custom Chip 084 (Starfield generation)
23
24    * Inputs:
25    *
26    *      NE555 ==> 10 (approx 1 HZ)
27    *       401  ==>  1  (crystal clock, most likely around 6 MHz)
28    *       109  ==>  2  (Video related)
29    *       403  ==>  3  (Video related)
30    *       403  ==>  4  (Video related)
31    *       405  ==>  5  (Video related)
32    *       406  ==>  6  (Video related)
33    *       420  ==> 20  (Video related)
34    *       421  ==> 21  (Video related)
35    *       422  ==> 22  (Video related)
36    *       423  ==> 23  (Video horizontal signal H1)
37    *0x8206 HFF  ==>  7 (Horizontal flip)
38    *0x8204 407  ==>  8  (Enable ???)
39    *
40    *Outputs:
41    *   13      Red
42    *   14      Red
43    *   15      Green
44    *   16      Green
45    *   17      Blue
46    *   18      Blue
47
48
2149***************************************************************************/
2250
2351#include "emu.h"
r8054r8055
101129   AM_RANGE(0x81e0, 0x81e0) AM_MIRROR(0x000f) AM_READ_PORT("DSW1")   /* DSW1 (inverted bits) */
102130   AM_RANGE(0x8200, 0x8200) AM_MIRROR(0x00f8) AM_READNOP AM_WRITE(irq_enable_w)
103131   AM_RANGE(0x8202, 0x8203) AM_MIRROR(0x00f8) AM_WRITE(tutankhm_coin_counter_w)
132   AM_RANGE(0x8204, 0x8204) AM_MIRROR(0x00f8) AM_WRITENOP // starfield?
104133   AM_RANGE(0x8205, 0x8205) AM_MIRROR(0x00f8) AM_WRITE(sound_mute_w)
105134   AM_RANGE(0x8206, 0x8206) AM_MIRROR(0x00f8) AM_WRITE(tutankhm_flip_screen_x_w)
106135   AM_RANGE(0x8207, 0x8207) AM_MIRROR(0x00f8) AM_WRITE(tutankhm_flip_screen_y_w)
r8054r8055
195224   MDRV_DRIVER_DATA(timeplt_state)
196225
197226   /* basic machine hardware */
198   MDRV_CPU_ADD("maincpu", M6809, 1500000)         /* 1.5 MHz ??? */
227   MDRV_CPU_ADD("maincpu", M6809, XTAL_18_432MHz/12)   /* 1.5 MHz ??? */
199228   MDRV_CPU_PROGRAM_MAP(main_map)
200229   MDRV_CPU_VBLANK_INT("screen", tutankhm_interrupt)
201230
src/mame/drivers/targeth.c
r8054r8055
8484   AM_RANGE(0x700002, 0x700003) AM_READ_PORT("DSW1")
8585   AM_RANGE(0x700006, 0x700007) AM_READ_PORT("SYSTEM")            /* Coins, Start & Fire buttons */
8686   AM_RANGE(0x700008, 0x700009) AM_READ_PORT("SERVICE")         /* Service & Guns Reload? */
87   AM_RANGE(0x70000a, 0x70001b) AM_WRITENOP               /* ??? Guns reload related? */
8887   AM_RANGE(0x70000c, 0x70000d) AM_WRITE(OKIM6295_bankswitch_w)   /* OKI6295 bankswitch */
8988   AM_RANGE(0x70000e, 0x70000f) AM_DEVREADWRITE8("oki", okim6295_r, okim6295_w, 0x00ff)   /* OKI6295 status register */
89   AM_RANGE(0x700010, 0x70001b) AM_WRITENOP                  /* ??? Guns reload related? */
9090   AM_RANGE(0x70002a, 0x70003b) AM_WRITE(targeth_coin_counter_w)   /* Coin counters */
9191   AM_RANGE(0xfe0000, 0xfeffff) AM_RAM                        /* Work RAM (partially shared with DS5002FP) */
9292ADDRESS_MAP_END
src/mame/drivers/dynax.c
r8054r8055
24982498INPUT_PORTS_END
24992499
25002500
2501static INPUT_PORTS_START( sprtmtch )
2501static INPUT_PORTS_START( drgpunch )
25022502   PORT_START("P1")
25032503   PORT_BIT(  0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
25042504   PORT_BIT(  0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1)
r8054r8055
25792579   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
25802580INPUT_PORTS_END
25812581
2582static INPUT_PORTS_START( sprtmtch )
2583   PORT_START("P1")
2584   PORT_BIT(  0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
2585   PORT_BIT(  0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1)
2586   PORT_BIT(  0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
2587   PORT_BIT(  0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
2588   PORT_BIT(  0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
2589   PORT_BIT(  0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
2590   PORT_BIT(  0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
2591   PORT_BIT(  0x80, IP_ACTIVE_LOW, IPT_START1 )
2592
2593   PORT_START("P2")
2594   PORT_BIT(  0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2)
2595   PORT_BIT(  0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2)
2596   PORT_BIT(  0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
2597   PORT_BIT(  0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
2598   PORT_BIT(  0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
2599   PORT_BIT(  0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
2600   PORT_BIT(  0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
2601   PORT_BIT(  0x80, IP_ACTIVE_LOW, IPT_START2 )
2602
2603   PORT_START("COINS")
2604   PORT_BIT(  0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(10)
2605   PORT_BIT(  0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(10)
2606   PORT_BIT(  0x04, IP_ACTIVE_LOW, IPT_SERVICE1 )
2607   PORT_BIT(  0x08, IP_ACTIVE_LOW, IPT_UNKNOWN  )
2608   PORT_BIT(  0x10, IP_ACTIVE_LOW, IPT_UNKNOWN  )
2609   PORT_BIT(  0x20, IP_ACTIVE_LOW, IPT_UNKNOWN  )
2610   PORT_BIT(  0x40, IP_ACTIVE_LOW, IPT_UNKNOWN  )
2611   PORT_BIT(  0x80, IP_ACTIVE_LOW, IPT_UNKNOWN  )
2612
2613   PORT_START("DSW0")
2614   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
2615   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
2616   PORT_DIPSETTING(    0x01, DEF_STR( 4C_1C ) )
2617   PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
2618   PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
2619   PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
2620   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
2621   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
2622   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
2623   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )
2624   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
2625   PORT_DIPSETTING(    0x08, DEF_STR( 4C_1C ) )
2626   PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
2627   PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
2628   PORT_DIPSETTING(    0x38, DEF_STR( 1C_1C ) )
2629   PORT_DIPSETTING(    0x30, DEF_STR( 1C_2C ) )
2630   PORT_DIPSETTING(    0x28, DEF_STR( 1C_3C ) )
2631   PORT_DIPSETTING(    0x20, DEF_STR( 1C_4C ) )
2632   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Flip_Screen ) )
2633   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2634   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2635   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
2636
2637   PORT_START("DSW1")
2638   PORT_DIPNAME( 0x07, 0x04, DEF_STR( Difficulty ) )   // Time
2639   PORT_DIPSETTING(    0x00, "1 (Easy)" )
2640   PORT_DIPSETTING(    0x01, "2" )
2641   PORT_DIPSETTING(    0x02, "3" )
2642   PORT_DIPSETTING(    0x03, "4" )
2643   PORT_DIPSETTING(    0x04, "5" )
2644   PORT_DIPSETTING(    0x05, "6" )
2645   PORT_DIPSETTING(    0x06, "7" )
2646   PORT_DIPSETTING(    0x07, "8 (Hard)" )
2647   PORT_DIPNAME( 0x18, 0x10, "Vs Time" )
2648   PORT_DIPSETTING(    0x18, "8 s" )
2649   PORT_DIPSETTING(    0x10, "10 s" )
2650   PORT_DIPSETTING(    0x08, "12 s" )
2651   PORT_DIPSETTING(    0x00, "14 s" )
2652   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
2653   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2654   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2655   PORT_DIPNAME( 0x40, 0x40, "Intermissions" )         // Does not apply to drgpunch
2656   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2657   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
2658   PORT_DIPNAME( 0x80, 0x80, "Unknown 2-8" )
2659   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2660   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2661INPUT_PORTS_END
2662
25822663static INPUT_PORTS_START( mjfriday )
25832664   PORT_START("DSW0")
25842665   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
r8054r8055
72097290GAME( 1988, hanamai,  hnkochou, hanamai,  hanamai,  0,        ROT180, "Dynax",                    "Hana no Mai (Japan)",                                           GAME_SUPPORTS_SAVE )
72107291GAME( 1990, hjingi,   0,        hjingi,   hjingi,   0,        ROT180, "Dynax",                    "Hana Jingi (Japan, Bet)",                                       GAME_SUPPORTS_SAVE )
72117292GAME( 1989, hnoridur, hjingi,   hnoridur, hnoridur, 0,        ROT180, "Dynax",                    "Hana Oriduru (Japan)",                                          GAME_SUPPORTS_SAVE )
7212GAME( 1989, drgpunch, 0,        sprtmtch, sprtmtch, 0,        ROT0,   "Dynax",                    "Dragon Punch (Japan)",                                          GAME_SUPPORTS_SAVE )
7293GAME( 1989, drgpunch, 0,        sprtmtch, drgpunch, 0,        ROT0,   "Dynax",                    "Dragon Punch (Japan)",                                          GAME_SUPPORTS_SAVE )
72137294GAME( 1989, sprtmtch, drgpunch, sprtmtch, sprtmtch, 0,        ROT0,   "Dynax (Fabtek license)",   "Sports Match",                                                  GAME_SUPPORTS_SAVE )
72147295/* these 4 are Korean hacks / bootlegs of Dragon Punch / Sports Match */
7215GAME( 1994, maya,     0,        sprtmtch, sprtmtch, maya,     ROT0,   "Promat",                   "Maya (set 1)",                                                  GAME_SUPPORTS_SAVE ) // this set has backgrounds blacked out in attract
7216GAME( 1994, mayaa,    maya,     sprtmtch, sprtmtch, maya,     ROT0,   "Promat",                   "Maya (set 2)",                                                  GAME_SUPPORTS_SAVE )
7217GAME( 199?, inca,     0,        sprtmtch, sprtmtch, maya,     ROT0,   "<unknown>",                "Inca",                                                          GAME_SUPPORTS_SAVE )
7218GAME( 199?, blktouch, 0,        sprtmtch, sprtmtch, blktouch, ROT0,   "Yang Gi Co Ltd.",          "Black Touch (Korea)",                                           GAME_SUPPORTS_SAVE )
7296GAME( 1994, maya,     0,        sprtmtch, drgpunch, maya,     ROT0,   "Promat",                   "Maya (set 1)",                                                  GAME_SUPPORTS_SAVE ) // this set has backgrounds blacked out in attract
7297GAME( 1994, mayaa,    maya,     sprtmtch, drgpunch, maya,     ROT0,   "Promat",                   "Maya (set 2)",                                                  GAME_SUPPORTS_SAVE )
7298GAME( 199?, inca,     0,        sprtmtch, drgpunch, maya,     ROT0,   "<unknown>",                "Inca",                                                          GAME_SUPPORTS_SAVE )
7299GAME( 199?, blktouch, 0,        sprtmtch, drgpunch, blktouch, ROT0,   "Yang Gi Co Ltd.",          "Black Touch (Korea)",                                           GAME_SUPPORTS_SAVE )
72197300
72207301GAME( 1989, mjfriday, 0,        mjfriday, mjfriday, 0,        ROT180, "Dynax",                    "Mahjong Friday (Japan)",                                        GAME_SUPPORTS_SAVE )
72217302GAME( 1989, gekisha,  0,        gekisha,  gekisha,  0,        ROT180, "Dynax",                    "Mahjong Gekisha",                                               GAME_SUPPORTS_SAVE )
r8054r8055
72427323GAME( 1991, tenkaie,  tenkai,   tenkai,   tenkai,   0,        ROT0,   "Dynax",                    "Mahjong Tenkaigen (set 2)",                                     GAME_SUPPORTS_SAVE )
72437324GAME( 1992, htengoku, 0,        htengoku, htengoku, 0,        ROT180, "Dynax",                    "Hanafuda Hana Tengoku (Japan)",                                 GAME_SUPPORTS_SAVE )
72447325GAME( 1994, mjreach,  0,        tenkai,   mjreach,  mjreach,  ROT0,   "Dynax",                    "Mahjong Reach (bootleg)",                                       GAME_SUPPORTS_SAVE )
7245GAME( 1995, shpeng,   0,        sprtmtch, sprtmtch, 0,        ROT0,   "WSAC Systems?",            "Sea Hunter Penguin",                                            GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) // not a dynax board. proms?
7326GAME( 1995, shpeng,   0,        sprtmtch, drgpunch, 0,        ROT0,   "WSAC Systems?",            "Sea Hunter Penguin",                                            GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) // not a dynax board. proms?
72467327GAME( 1996, majrjhdx, 0,        majrjhdx, tenkai,   0,        ROT0,   "Dynax",                    "Mahjong Raijinhai DX",                                          GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
src/mame/drivers/armedf.c
r8054r8055
14641464
14651465ROM_START( armedf )
14661466   ROM_REGION( 0x60000, "maincpu", 0 )   /* 68000 code */
1467   ROM_LOAD16_BYTE( "06.3d", 0x00000, 0x10000, CRC(0f9015e2) SHA1(0dc9c2cda0220bb9d03048c0eac62bc512d30622) )
1468   ROM_LOAD16_BYTE( "01.3f", 0x00001, 0x10000, CRC(816ff7c5) SHA1(1013883f2389aba4b8f397aacc0d681807a31cd5) )
1469   ROM_LOAD16_BYTE( "07.5d", 0x20000, 0x10000, CRC(5b3144a5) SHA1(98dd45049f242480c9ac0903fb38dfb2b8906be7) )
1470   ROM_LOAD16_BYTE( "02.4f", 0x20001, 0x10000, CRC(fa10c29d) SHA1(9c772ff6f749a542248c2ca260ac3460ae4f0cc6) )
1471   ROM_LOAD16_BYTE( "af_08.rom", 0x40000, 0x10000, CRC(d1d43600) SHA1(1a473b4958a02a33c0a02e7e72a70a9ee0c68c50) )
1472   ROM_LOAD16_BYTE( "af_03.rom", 0x40001, 0x10000, CRC(bbe1fe2d) SHA1(f47be23c7564b106d636d49d5f1da47daecd31df) )
1473
1474   ROM_REGION( 0x10000, "audiocpu", 0 )   /* Z80 code (sound) */
1475   ROM_LOAD( "af_10.rom", 0x00000, 0x10000, CRC(c5eacb87) SHA1(33af84b48fbda26729975b02cfb70f23c0bce6a2) )
1476
1477   ROM_REGION( 0x08000, "gfx1", 0 )
1478   ROM_LOAD( "09.11c", 0x00000, 0x08000, CRC(5c6993d5) SHA1(3991851e5c4d2b3d72c372afdfbb710796874c15) ) /* characters */
1479
1480   ROM_REGION( 0x20000, "gfx2", 0 )
1481   ROM_LOAD( "af_04.rom", 0x00000, 0x10000, CRC(44d3af4f) SHA1(0c2cb54357c314e43cec6f959fe9d4a2c8bc8834) ) /* foreground tiles */
1482   ROM_LOAD( "af_05.rom", 0x10000, 0x10000, CRC(92076cab) SHA1(f47424817373a6735da2b2049b53da5b38178cec) )
1483
1484   ROM_REGION( 0x20000, "gfx3", 0 )
1485   ROM_LOAD( "af_14.rom", 0x00000, 0x10000, CRC(8c5dc5a7) SHA1(758140ddb9e60fb3950fe58bf53c7aea769a1a94) ) /* background tiles */
1486   ROM_LOAD( "af_13.rom", 0x10000, 0x10000, CRC(136a58a3) SHA1(5481e3ce404881a0470f8740f0de6e42283bedf2) )
1487
1488   ROM_REGION( 0x40000, "gfx4", 0 )
1489   ROM_LOAD( "af_11.rom", 0x00000, 0x20000, CRC(b46c473c) SHA1(d8573225e2d8b133b3bdd4fa5a12d445c71d5e0e) ) /* sprites */
1490   ROM_LOAD( "af_12.rom", 0x20000, 0x20000, CRC(23cb6bfe) SHA1(34cb013827206bea71f5336b308ba92bee688506) )
1491ROM_END
1492
1493ROM_START( armedff )
1494   ROM_REGION( 0x60000, "maincpu", 0 )   /* 68000 code */
14671495   ROM_LOAD16_BYTE( "af_06.rom", 0x00000, 0x10000, CRC(c5326603) SHA1(135a8d96d792cf9b55e39e21160ee419be76d28a) )
14681496   ROM_LOAD16_BYTE( "af_01.rom", 0x00001, 0x10000, CRC(458e9542) SHA1(22e4281eaac6b9b04af324cc96b5f3e4d1cefe43) )
14691497   ROM_LOAD16_BYTE( "af_07.rom", 0x20000, 0x10000, CRC(cc8517f5) SHA1(93e4d3707a48551af89cadd0e016ddb65285a005) )
r8054r8055
15751603GAME( 1988, cclimbr2, 0,        cclimbr2, cclimbr2, cclimbr2, ROT0,   "Nichibutsu",     "Crazy Climber 2 (Japan)", GAME_SUPPORTS_SAVE )
15761604GAME( 1988, cclimbr2a,cclimbr2, cclimbr2, cclimbr2, cclimbr2, ROT0,   "Nichibutsu",     "Crazy Climber 2 (Japan, Harder)", GAME_SUPPORTS_SAVE )
15771605GAME( 1988, armedf,   0,        armedf,   armedf,   armedf,   ROT270, "Nichibutsu",     "Armed Formation", GAME_SUPPORTS_SAVE )
1606GAME( 1988, armedff,  armedf,   armedf,   armedf,   armedf,   ROT270, "Nichibutsu",     "Armed Formation (Fillmore license)", GAME_SUPPORTS_SAVE )
src/mame/drivers/goldstar.c
r8054r8055
4545  Still can't find how to switch between games.
4646
4747
48  * New Lucky 8 Lines / New Super 8 Lines (Witch Bonus):
49
50  Same as above, but allowing bets up to 32 credits.
51  It also has different settings/parameters, and a rare feature: the 'Witch Bonus'
52  (from Witch Card poker game) is present in the double-up.
53
54
4855  * Cherry Bonus III:
4956
5057  If a hopper status error appear when the player try to take score,
r8054r8055
109116#include "machine/8255ppi.h"
110117#include "includes/goldstar.h"
111118
119#include "lucky8.lh"
120
121
112122static NVRAM_HANDLER( goldstar )
113123{
114124   goldstar_state *state = (goldstar_state *)machine->driver_data;
r8054r8055
354364static WRITE8_HANDLER( lucky8_outport_w )
355365{
356366   /* lamps */
367   output_set_lamp_value(0, (data >> 1) & 1);   /* D-UP Lamp */
368   output_set_lamp_value(1, (data >> 2) & 1);   /* TAKE Lamp */
369   output_set_lamp_value(2, (data >> 3) & 1);   /* BET Lamp */
370   output_set_lamp_value(3, (data >> 4) & 1);   /* INFO Lamp */
371   output_set_lamp_value(4, (data >> 5) & 1);   /* START Lamp */
372
373//  popmessage("lucky8_outb850_w %02x\n", data);
374
357375}
358376
359377static ADDRESS_MAP_START( lucky8_map, ADDRESS_SPACE_PROGRAM, 8 )
r8054r8055
23862404   PORT_START("IN0")   /* d800 */
23872405   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
23882406   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2389   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Big / Switch Controls")
2390   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Double-Up")
2391   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Take Score")
2392   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Bet")
2393   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Small / Info")
2394   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start")
2407   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
2408   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
2409   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
2410   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
2411   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
2412   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
23952413
23962414   PORT_START("IN1")   /* d801 */
23972415   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
23982416   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2399   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Big / Switch Controls")
2400   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Double-Up")
2401   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Take Score")
2402   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Bet")
2403   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Small / Info")
2404   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Start")
2417   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Big / Switch Controls")
2418   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Double-Up")
2419   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Take Score")
2420   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Bet")
2421   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Small / Info")
2422   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Start")
24052423
24062424   PORT_START("IN2")   /* d802 */
24072425   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r8054r8055
25422560   PORT_START("IN0")   /* d800 */
25432561   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
25442562   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2545   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Big / Switch Controls")
2546   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Double-Up")
2547   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Take Score")
2548   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Bet")
2549   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Small / Info")
2550   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start")
2563   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
2564   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
2565   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
2566   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
2567   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
2568   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
25512569
25522570   PORT_START("IN1")   /* d801 */
25532571   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
25542572   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2555   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Big / Switch Controls")
2556   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Double-Up")
2557   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Take Score")
2558   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Bet")
2559   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Small / Info")
2560   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Start")
2573   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Big / Switch Controls")
2574   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Double-Up")
2575   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Take Score")
2576   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Bet")
2577   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Small / Info")
2578   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Start")
25612579
25622580   PORT_START("IN2")   /* d802 */
25632581   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r8054r8055
26942712   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
26952713INPUT_PORTS_END
26962714
2697/* not verified */
2698static INPUT_PORTS_START( magical )
2715static INPUT_PORTS_START( ns8lines )
26992716   PORT_START("IN0")   /* d800 */
27002717   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
27012718   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2702   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Big / Switch Controls")
2703   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Double-Up")
2704   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Take Score")
2705   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Bet")
2706   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Small / Info")
2707   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start")
2719   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
2720   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
2721   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
2722   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
2723   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
2724   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
27082725
27092726   PORT_START("IN1")   /* d801 */
27102727   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
27112728   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2712   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Big / Switch Controls")
2713   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Double-Up")
2714   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Take Score")
2715   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Bet")
2716   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Small / Info")
2717   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Start")
2729   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2730   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2731   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2732   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2733   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
2734   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
27182735
27192736   PORT_START("IN2")   /* d802 */
27202737   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r8054r8055
27292746   PORT_START("IN3")   /* d810 */
27302747   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
27312748   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2732   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2749   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // Coin1?
27332750   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2734   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // CoinD?
2735   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // CoinC?
2751   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // Coin2?
2752   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // Coin3?
27362753   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2737   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // CoinA?
2754   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   // Coin4?
27382755
27392756   PORT_START("IN4")   /* d811 */
27402757   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r8054r8055
27472764   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
27482765
27492766   PORT_START("DSW1")
2750   PORT_DIPNAME( 0x07, 0x00, "Coin A Rate" ) PORT_DIPLOCATION("DSW1:1,2,3")
2751   PORT_DIPSETTING(    0x05, "1" )
2752   PORT_DIPSETTING(    0x06, "2" )
2753   PORT_DIPSETTING(    0x07, "5" )
2754   PORT_DIPSETTING(    0x04, "10" )
2755   PORT_DIPSETTING(    0x03, "20" )
2756   PORT_DIPSETTING(    0x02, "30" )
2757   PORT_DIPSETTING(    0x01, "40" )
2758   PORT_DIPSETTING(    0x00, "50" )
2759   PORT_DIPNAME( 0x38, 0x00, "Key In" ) PORT_DIPLOCATION("DSW1:4,5,6") // aka 'Coin B'
2760   PORT_DIPSETTING(    0x10, "5" )
2761   PORT_DIPSETTING(    0x18, "10" )
2762   PORT_DIPSETTING(    0x20, "20" )
2763   PORT_DIPSETTING(    0x28, "25" )
2764   PORT_DIPSETTING(    0x30, "40" )
2765   PORT_DIPSETTING(    0x38, "50" )
2766   PORT_DIPSETTING(    0x08, "60" )
2767   PORT_DIPSETTING(    0x00, "100" )
2768   PORT_DIPNAME( 0xc0, 0x00, "Coin C Rate" ) PORT_DIPLOCATION("DSW1:7,8")
2769   PORT_DIPSETTING(    0x40, "5" )
2770   PORT_DIPSETTING(    0x80, "10" )
2771   PORT_DIPSETTING(    0xc0, "25" )
2772   PORT_DIPSETTING(    0x00, "50" )
2767   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")
2768   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2769   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2770   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:2")
2771   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2772   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2773   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:3")
2774   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2775   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2776   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:4")
2777   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2778   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2779   PORT_DIPNAME( 0x10, 0x10, "W-UP Pay Rate" )      PORT_DIPLOCATION("DSW1:5")
2780   PORT_DIPSETTING(    0x10, "60%" )
2781   PORT_DIPSETTING(    0x00, "75%" )
2782   PORT_DIPNAME( 0x20, 0x20, "W-UP Game" )         PORT_DIPLOCATION("DSW1:6")
2783   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2784   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2785   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:7")
2786   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2787   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2788   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:8")
2789   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2790   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
27732791
27742792   PORT_START("DSW2")
2775   PORT_DIPNAME( 0x07, 0x04, "Main Game Level" )         PORT_DIPLOCATION("DSW2:1,2,3")
2776   PORT_DIPSETTING(    0x00, "+4" )
2777   PORT_DIPSETTING(    0x01, "+3" )
2778   PORT_DIPSETTING(    0x02, "+2" )
2779   PORT_DIPSETTING(    0x03, "+1" )
2780   PORT_DIPSETTING(    0x04, "0" )
2781   PORT_DIPSETTING(    0x05, "-1" )
2782   PORT_DIPSETTING(    0x06, "-2" )
2783   PORT_DIPSETTING(    0x07, "-3" )
2784   PORT_DIPNAME( 0x08, 0x08, "Nudity / Strip" )   PORT_DIPLOCATION("DSW2:4") // verified
2793   PORT_DIPNAME( 0x07, 0x07, "Main Game Pay Rate" )   PORT_DIPLOCATION("DSW2:1,2,3")
2794   PORT_DIPSETTING(    0x07, "58%" )
2795   PORT_DIPSETTING(    0x06, "62%" )
2796   PORT_DIPSETTING(    0x05, "66%" )
2797   PORT_DIPSETTING(    0x04, "70%" )
2798   PORT_DIPSETTING(    0x03, "74%" )
2799   PORT_DIPSETTING(    0x02, "78%" )
2800   PORT_DIPSETTING(    0x01, "82%" )
2801   PORT_DIPSETTING(    0x00, "86%" )
2802   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:4")
27852803   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
27862804   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
27872805   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:5")
r8054r8055
27902808   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:6")
27912809   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
27922810   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2793   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:7")
2794   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2811   PORT_DIPNAME( 0x40, 0x40, "Paytable Settings" )   PORT_DIPLOCATION("DSW2:7")
2812   PORT_DIPSETTING(    0x40, "Low Pay" )
2813   PORT_DIPSETTING(    0x00, "High Pay" )
2814   PORT_DIPNAME( 0x80, 0x80, "Double-Up Type" )   PORT_DIPLOCATION("DSW2:8")
2815   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
2816   PORT_DIPSETTING(    0x00, "Cards (Big/Small)" )
2817
2818   PORT_START("DSW3")
2819   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:1")
2820   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
27952821   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2796   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:8")
2797   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2822   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:2")
2823   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
27982824   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2799
2800
2801   PORT_START("DSW3")
2802   PORT_DIPNAME( 0x03, 0x03, "Credit Limit" )   PORT_DIPLOCATION("DSW3:1,2")
2803   PORT_DIPSETTING(    0x00, "1000" )
2804   PORT_DIPSETTING(    0x01, "2000" )
2805   PORT_DIPSETTING(    0x02, "3000" )
2806   PORT_DIPSETTING(    0x03, "Unlimited?" )
28072825   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:3")
28082826   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
28092827   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
28102828   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:4")
28112829   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
28122830   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2813   PORT_DIPNAME( 0xf0, 0xf0, "Coin D Rate" )         PORT_DIPLOCATION("DSW3:5,6,7,8")
2814   PORT_DIPSETTING(    0x00, "10-1" )
2815   PORT_DIPSETTING(    0x10, "5-1" )
2816   PORT_DIPSETTING(    0x20, "5-2" )
2817   PORT_DIPSETTING(    0x30, "4-1" )
2818   PORT_DIPSETTING(    0x40, "4-3" )
2819   PORT_DIPSETTING(    0x50, "3-2" )
2820   PORT_DIPSETTING(    0x60, "3-1" )
2821   PORT_DIPSETTING(    0x70, "2-1" )
2822   PORT_DIPSETTING(    0x80, "2-3" )
2823   PORT_DIPSETTING(    0x90, "2-5" )
2824   PORT_DIPSETTING(    0xf0, "1-1" )
2825   PORT_DIPSETTING(    0xe0, "1-2" )
2826   PORT_DIPSETTING(    0xd0, "1-3" )
2827   PORT_DIPSETTING(    0xc0, "1-4" )
2828   PORT_DIPSETTING(    0xb0, "1-5" )
2829   PORT_DIPSETTING(    0xa0, "1-10" )
2831   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:5")
2832   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2833   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2834   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:6")
2835   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2836   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2837   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:7")
2838   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2839   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2840   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:8")
2841   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2842   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
28302843
28312844   PORT_START("DSW4")
2832   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:1")
2833   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2845   PORT_DIPNAME( 0x07, 0x07, "Key In" )         PORT_DIPLOCATION("DSW4:1,2,3")
2846   PORT_DIPSETTING(    0x00, "5" )
2847   PORT_DIPSETTING(    0x01, "10" )
2848   PORT_DIPSETTING(    0x02, "20" )
2849   PORT_DIPSETTING(    0x03, "25" )
2850   PORT_DIPSETTING(    0x04, "40" )
2851   PORT_DIPSETTING(    0x05, "50" )
2852   PORT_DIPSETTING(    0x06, "60" )
2853   PORT_DIPSETTING(    0x07, "100" )
2854   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:4")
2855   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
28342856   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2835   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:2")
2836   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2837   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2838   PORT_DIPNAME( 0x0c, 0x0c, "Max Bet" )   PORT_DIPLOCATION("DSW4:3,4")
2839   PORT_DIPSETTING(    0x00, "8" )
2840   PORT_DIPSETTING(    0x04, "16" )
2841   PORT_DIPSETTING(    0x08, "32" )
2842   PORT_DIPSETTING(    0x0c, "64" )
28432857   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:5")
28442858   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
28452859   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r8054r8055
28542868   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
28552869INPUT_PORTS_END
28562870
2857static INPUT_PORTS_START( ns8lines )
2858   PORT_START("IN0")   /* d800 */
2859//  PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2860   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_M) PORT_NAME("IN0-01")
2861   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_L) PORT_NAME("IN0-02")
2862   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Big / Switch Controls")
2863   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Double-Up")
2864   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Take Score")
2865   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Bet")
2866   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Small / Info")
2867   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start")
2871static INPUT_PORTS_START( ns8linew )
2872   PORT_START("IN0")   /* b800 */
2873   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2874   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2875   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
2876   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
2877   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
2878   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
2879   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
2880   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
28682881
2869   PORT_START("IN1")   /* d801 */
2870   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A) PORT_NAME("IN1-01")
2871   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S) PORT_NAME("IN1-02")
2872   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("IN1-04")
2873   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F) PORT_NAME("IN1-08")
2874   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("IN1-10")
2875   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("IN1-20")
2876   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_J) PORT_NAME("IN1-40")
2877   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K) PORT_NAME("IN1-80")
2882   PORT_START("IN1")   /* $b801 - P2 Controls... Leftover? Once switched all lamps turn off and no P2 big/small inputs */
2883   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2884   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2885   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Big / Switch Controls")
2886   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Double-Up")
2887   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Take Score")
2888   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Bet")
2889   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Small / Info")
2890   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Start")
28782891
2879   PORT_START("IN2")   /* d802 */
2880   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_E) PORT_NAME("IN2-01")
2881   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_R) PORT_NAME("IN2-02")
2882   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_T) PORT_NAME("IN2-04")
2883   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Y) PORT_NAME("IN2-08")
2884   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_U) PORT_NAME("IN2-10")
2885   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_I) PORT_NAME("IN2-20")
2886   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_O) PORT_NAME("IN2-40")
2887   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("IN2-80")
2892   PORT_START("IN2")   /* $b802 */
2893   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2894   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2895   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2896   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2897   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2898   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2899   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
2900   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
28882901
2889   PORT_START("IN3")   /* d810 */
2890   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("IN3-01")
2891   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("IN3-02")
2902   PORT_START("IN3")   /* $b810 - Money in */
2903   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2904   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
28922905   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // Coin1?
2893   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("IN3-08")
2906   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
28942907   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // Coin2?
28952908   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // Coin3?
28962909   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
28972910   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   // Coin4?
28982911
2899   PORT_START("IN4")   /* d811 */
2900   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("IN4-01")
2901   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("IN4-02")
2902   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("IN4-04")
2903   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("IN4-08")
2904   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
2905   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper")
2912   PORT_START("IN4")   /* $b811 - Service controls */
2913   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2914   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2915   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2916   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2917   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )  PORT_NAME("Key Out / Attendant")
2918   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE )        PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper")
29062919   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2907   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
2920   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK )    PORT_NAME("Stats")
29082921
29092922   PORT_START("DSW1")
29102923   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")
r8054r8055
29212934   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
29222935   PORT_DIPNAME( 0x10, 0x10, "W-UP Pay Rate" )      PORT_DIPLOCATION("DSW1:5")
29232936   PORT_DIPSETTING(    0x10, "60%" )
2924   PORT_DIPSETTING(    0x00, "75%" )
2925   PORT_DIPNAME( 0x20, 0x20, "W-UP Game" )         PORT_DIPLOCATION("DSW1:6")
2926   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2927   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2937   PORT_DIPSETTING(    0x00, "80%" )
2938   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:6")
2939   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2940   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
29282941   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:7")
29292942   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
29302943   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r8054r8055
29332946   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
29342947
29352948   PORT_START("DSW2")
2936   PORT_DIPNAME( 0x07, 0x07, "Main Game Pay Rate" )   PORT_DIPLOCATION("DSW2:1,2,3")
2937   PORT_DIPSETTING(    0x07, "58%" )
2938   PORT_DIPSETTING(    0x06, "62%" )
2939   PORT_DIPSETTING(    0x05, "66%" )
2940   PORT_DIPSETTING(    0x04, "70%" )
2941   PORT_DIPSETTING(    0x03, "74%" )
2942   PORT_DIPSETTING(    0x02, "78%" )
2943   PORT_DIPSETTING(    0x01, "82%" )
2944   PORT_DIPSETTING(    0x00, "86%" )
2949   PORT_DIPNAME( 0x03, 0x03, "Main Game Pay Rate" )   PORT_DIPLOCATION("DSW2:1,2")
2950   PORT_DIPSETTING(    0x03, "60%" )
2951   PORT_DIPSETTING(    0x02, "70%" )
2952   PORT_DIPSETTING(    0x01, "80%" )
2953   PORT_DIPSETTING(    0x00, "90%" )
2954   PORT_DIPNAME( 0x04, 0x04, "Double-Up" )         PORT_DIPLOCATION("DSW2:3")
2955   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
2956   PORT_DIPSETTING(    0x04, DEF_STR( Yes ) )
29452957   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:4")
29462958   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
29472959   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r8054r8055
29512963   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:6")
29522964   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
29532965   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2954   PORT_DIPNAME( 0x40, 0x40, "Paytable Settings" )   PORT_DIPLOCATION("DSW2:7")
2955   PORT_DIPSETTING(    0x40, "Low Pay" )
2956   PORT_DIPSETTING(    0x00, "High Pay" )
2957   PORT_DIPNAME( 0x80, 0x80, "Double-Up Type" )   PORT_DIPLOCATION("DSW2:8")
2958   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
2959   PORT_DIPSETTING(    0x00, "Cards (Big/Small)" )
2966   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:7")
2967   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2968   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2969   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:8")
2970   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2971   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
29602972
29612973   PORT_START("DSW3")
29622974   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:1")
r8054r8055
29802992   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:7")
29812993   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
29822994   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2983   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:8")
2984   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2985   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2995   PORT_DIPNAME( 0x80, 0x80, "4th Coin" )         PORT_DIPLOCATION("DSW3:8")
2996   PORT_DIPSETTING(    0x80, "As Coin 4" )
2997   PORT_DIPSETTING(    0x00, "As Hopper Line" )
29862998
29872999   PORT_START("DSW4")
29883000   PORT_DIPNAME( 0x07, 0x07, "Key In" )         PORT_DIPLOCATION("DSW4:1,2,3")
r8054r8055
30783090   PORT_START("IN0")   /* d800 */
30793091   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
30803092   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3081   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Big / Switch Controls")
3082   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Double-Up")
3083   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Take Score")
3084   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Bet")
3085   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Small / Info")
3086   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start")
3093   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
3094   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
3095   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
3096   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
3097   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
3098   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
30873099
30883100   PORT_START("IN1")   /* d801 */
30893101   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
30903102   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3091   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Big / Switch Controls")
3092   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Double-Up")
3093   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Take Score")
3094   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Bet")
3095   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Small / Info")
3096   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Start")
3103   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Big / Switch Controls")
3104   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Double-Up")
3105   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Take Score")
3106   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Bet")
3107   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Small / Info")
3108   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Start")
30973109
30983110   PORT_START("IN2")   /* d802 */
30993111   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r8054r8055
31523164   PORT_DIPSETTING(    0x00, "Flowers (Big/Small)" )
31533165INPUT_PORTS_END
31543166
3167/* not verified */
3168static INPUT_PORTS_START( magical )
3169   PORT_START("IN0")   /* d800 */
3170   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3171   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3172   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Big / Switch Controls")
3173   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Double-Up")
3174   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Take Score")
3175   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Bet")
3176   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Small / Info")
3177   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start")
3178
3179   PORT_START("IN1")   /* d801 */
3180   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3181   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3182   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Big / Switch Controls")
3183   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Double-Up")
3184   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Take Score")
3185   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Bet")
3186   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Small / Info")
3187   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Start")
3188
3189   PORT_START("IN2")   /* d802 */
3190   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3191   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3192   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3193   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3194   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
3195   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3196   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
3197   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
3198
3199   PORT_START("IN3")   /* d810 */
3200   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3201   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3202   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3203   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3204   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // CoinD?
3205   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // CoinC?
3206   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3207   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // CoinA?
3208
3209   PORT_START("IN4")   /* d811 */
3210   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3211   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3212   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3213   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3214   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
3215   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper")
3216   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3217   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
3218
3219   PORT_START("DSW1")
3220   PORT_DIPNAME( 0x07, 0x00, "Coin A Rate" ) PORT_DIPLOCATION("DSW1:1,2,3")
3221   PORT_DIPSETTING(    0x05, "1" )
3222   PORT_DIPSETTING(    0x06, "2" )
3223   PORT_DIPSETTING(    0x07, "5" )
3224   PORT_DIPSETTING(    0x04, "10" )
3225   PORT_DIPSETTING(    0x03, "20" )
3226   PORT_DIPSETTING(    0x02, "30" )
3227   PORT_DIPSETTING(    0x01, "40" )
3228   PORT_DIPSETTING(    0x00, "50" )
3229   PORT_DIPNAME( 0x38, 0x00, "Key In" ) PORT_DIPLOCATION("DSW1:4,5,6") // aka 'Coin B'
3230   PORT_DIPSETTING(    0x10, "5" )
3231   PORT_DIPSETTING(    0x18, "10" )
3232   PORT_DIPSETTING(    0x20, "20" )
3233   PORT_DIPSETTING(    0x28, "25" )
3234   PORT_DIPSETTING(    0x30, "40" )
3235   PORT_DIPSETTING(    0x38, "50" )
3236   PORT_DIPSETTING(    0x08, "60" )
3237   PORT_DIPSETTING(    0x00, "100" )
3238   PORT_DIPNAME( 0xc0, 0x00, "Coin C Rate" ) PORT_DIPLOCATION("DSW1:7,8")
3239   PORT_DIPSETTING(    0x40, "5" )
3240   PORT_DIPSETTING(    0x80, "10" )
3241   PORT_DIPSETTING(    0xc0, "25" )
3242   PORT_DIPSETTING(    0x00, "50" )
3243
3244   PORT_START("DSW2")
3245   PORT_DIPNAME( 0x07, 0x04, "Main Game Level" )         PORT_DIPLOCATION("DSW2:1,2,3")
3246   PORT_DIPSETTING(    0x00, "+4" )
3247   PORT_DIPSETTING(    0x01, "+3" )
3248   PORT_DIPSETTING(    0x02, "+2" )
3249   PORT_DIPSETTING(    0x03, "+1" )
3250   PORT_DIPSETTING(    0x04, "0" )
3251   PORT_DIPSETTING(    0x05, "-1" )
3252   PORT_DIPSETTING(    0x06, "-2" )
3253   PORT_DIPSETTING(    0x07, "-3" )
3254   PORT_DIPNAME( 0x08, 0x08, "Nudity / Strip" )   PORT_DIPLOCATION("DSW2:4") // verified
3255   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3256   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3257   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:5")
3258   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3259   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3260   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:6")
3261   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3262   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3263   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:7")
3264   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3265   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3266   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW2:8")
3267   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3268   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3269
3270   PORT_START("DSW3")
3271   PORT_DIPNAME( 0x03, 0x03, "Credit Limit" )   PORT_DIPLOCATION("DSW3:1,2")
3272   PORT_DIPSETTING(    0x00, "1000" )
3273   PORT_DIPSETTING(    0x01, "2000" )
3274   PORT_DIPSETTING(    0x02, "3000" )
3275   PORT_DIPSETTING(    0x03, "Unlimited?" )
3276   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:3")
3277   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3278   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3279   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW3:4")
3280   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3281   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3282   PORT_DIPNAME( 0xf0, 0xf0, "Coin D Rate" )         PORT_DIPLOCATION("DSW3:5,6,7,8")
3283   PORT_DIPSETTING(    0x00, "10-1" )
3284   PORT_DIPSETTING(    0x10, "5-1" )
3285   PORT_DIPSETTING(    0x20, "5-2" )
3286   PORT_DIPSETTING(    0x30, "4-1" )
3287   PORT_DIPSETTING(    0x40, "4-3" )
3288   PORT_DIPSETTING(    0x50, "3-2" )
3289   PORT_DIPSETTING(    0x60, "3-1" )
3290   PORT_DIPSETTING(    0x70, "2-1" )
3291   PORT_DIPSETTING(    0x80, "2-3" )
3292   PORT_DIPSETTING(    0x90, "2-5" )
3293   PORT_DIPSETTING(    0xf0, "1-1" )
3294   PORT_DIPSETTING(    0xe0, "1-2" )
3295   PORT_DIPSETTING(    0xd0, "1-3" )
3296   PORT_DIPSETTING(    0xc0, "1-4" )
3297   PORT_DIPSETTING(    0xb0, "1-5" )
3298   PORT_DIPSETTING(    0xa0, "1-10" )
3299
3300   PORT_START("DSW4")
3301   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:1")
3302   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3303   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3304   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:2")
3305   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3306   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3307   PORT_DIPNAME( 0x0c, 0x0c, "Max Bet" )   PORT_DIPLOCATION("DSW4:3,4")
3308   PORT_DIPSETTING(    0x00, "8" )
3309   PORT_DIPSETTING(    0x04, "16" )
3310   PORT_DIPSETTING(    0x08, "32" )
3311   PORT_DIPSETTING(    0x0c, "64" )
3312   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:5")
3313   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3314   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3315   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:6")
3316   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3317   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3318   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:7")
3319   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3320   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3321   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW4:8")
3322   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3323   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3324INPUT_PORTS_END
3325
31553326static INPUT_PORTS_START( schery97 )
31563327   PORT_START("IN0")
31573328   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r8054r8055
75887759ROM_END
75897760
75907761/*
7762
7763  New Lucky 8 Lines / New Super 8 Lines (Witch Bonus)
7764
7765  This set has the 'Witch Bonus' present in Witch Card games.
7766
7767  1.1h         [1/2]      1    [1/2]      IDENTICAL
7768  2.3h         [1/2]      2    [1/2]      IDENTICAL
7769  3.4h         [1/2]      3    [1/2]      IDENTICAL
7770  4.5h         [1/2]      4    [1/2]      IDENTICAL
7771  5.7h         [1/4]      5    [1/4]      IDENTICAL
7772  6.8h         [1/4]      6    [1/4]      IDENTICAL
7773  7.10h        [1/4]      7    [1/4]      IDENTICAL
7774  7.10h        [3/4]      7    [3/4]      IDENTICAL
7775  7.10h        [2/4]      7    [2/4]      99.426270%
7776  6.8h         [2/4]      6    [2/4]      99.255371%
7777  5.7h         [2/4]      5    [2/4]      99.230957%
7778  5.7h         [3/4]      5    [3/4]      94.152832%
7779  6.8h         [3/4]      6    [3/4]      94.152832%
7780  7.10h        [4/4]      7    [4/4]      82.739258%
7781  7.10h        [4/4]      6    [4/4]      82.739258%
7782  7.10h        [4/4]      5    [4/4]      82.739258%
7783  4.5h         [2/2]      4    [2/2]      81.372070%
7784  6.8h         [4/4]      9    [2/2]      75.952148%
7785  3.4h         [2/2]      3    [2/2]      71.752930%
7786  2.3h         [2/2]      2    [2/2]      70.434570%
7787  1.1h         [2/2]      1    [2/2]      68.115234%
7788  f5-8.14b     [4/4]      8    [1/2]      8.276367%
7789  5.7h         [4/4]      9    [1/2]      7.104492%
7790  f5-8.14b     [3/4]      8    [2/2]      1.904297%
7791
7792*/
7793
7794ROM_START( ns8linew )
7795   ROM_REGION( 0x8000, "maincpu", 0 )
7796   ROM_LOAD( "f5-8.14b",   0x0000, 0x8000, CRC(63dd3005) SHA1(62d71dbfa0a00c6b050db067ad55e80225e1589d) )
7797
7798   ROM_REGION( 0x18000, "gfx1", 0 )
7799   ROM_LOAD( "5.7h",  0x00000, 0x8000, CRC(19713d36) SHA1(ae04b8b72b0c9a279f24d7c4d619bac4629d9a4f) )
7800   ROM_LOAD( "6.8h",  0x08000, 0x8000, CRC(576197b9) SHA1(22273365cfe181f95efb895a28825f388b901a49) )
7801   ROM_LOAD( "7.10h", 0x10000, 0x8000, CRC(790c349c) SHA1(32bec8463233b2eb5a889c91d35f53b9d117f279) )
7802
7803   ROM_REGION( 0x8000, "gfx2", 0 )
7804   ROM_LOAD( "1.1h",  0x0000, 0x2000, CRC(b45f41e2) SHA1(890c94c802f5ada97bc73f5a7a09e69c3207966c) )
7805   ROM_LOAD( "2.3h",  0x2000, 0x2000, CRC(0463413a) SHA1(061b8335fdd44767e8c1832f5b5101276ad0f689) )
7806   ROM_LOAD( "3.4h",  0x4000, 0x2000, CRC(b4e58020) SHA1(5c0fcc4b5d484ca7de5f2bd568a391a45967a9cc) )
7807   ROM_LOAD( "4.5h",  0x6000, 0x2000, CRC(0a25964b) SHA1(d41eda201bb01229fb6e2ff437196dd65eebe577) )
7808
7809   ROM_REGION( 0x200, "proms", 0 )   /* proper dumps */
7810   ROM_LOAD( "dm74s287.g13", 0x0000, 0x0100, CRC(23e81049) SHA1(78071dae70fad870e972d944642fb3a2374be5e4) )
7811   ROM_LOAD( "dm74s287.g14", 0x0100, 0x0100, CRC(526cf9d3) SHA1(eb779d70f2507d0f26d225ac8f5de8f2243599ca) )
7812
7813   ROM_REGION( 0x20, "proms2", 0 )
7814   ROM_LOAD( "dm74s288.d13", 0x0000, 0x0020, CRC(c6b41352) SHA1(d7c3b5aa32e4e456c9432a13bede1db6d62eb270) )
7815
7816   ROM_REGION( 0x100, "unkprom", 0 )
7817   ROM_LOAD( "dm74s287.f3",  0x0000, 0x0100, CRC(1d668d4a) SHA1(459117f78323ea264d3a29f1da2889bbabe9e4be) )
7818
7819   ROM_REGION( 0x20, "unkprom2", 0 )
7820   ROM_LOAD( "dm74s288.d12", 0x0000, 0x0020, CRC(6df3f972) SHA1(0096a7f7452b70cac6c0752cb62e24b643015b5c) )
7821ROM_END
7822
7823/*
75917824    LADY LINER - TAB Austria
75927825
75937826    Hardware Notes:
r8054r8055
96379870*                Game Drivers                *
96389871**********************************************
96399872
9640      YEAR  NAME       PARENT    MACHINE   INPUT     INIT       ROT    COMPANY              FULLNAME                                      FLAGS  */
9641GAME( 199?, goldstar,  0,        goldstar, goldstar, goldstar,  ROT0, "IGS",               "Golden Star",                                 0 )
9642GAME( 199?, goldstbl,  goldstar, goldstbl, goldstar, 0,         ROT0, "IGS",               "Golden Star (Blue version)",                  0 )
9643GAME( 199?, moonlght,  goldstar, moonlght, goldstar, 0,         ROT0, "bootleg",           "Moon Light (bootleg of Golden Star)",         0 )
9644GAME( 199?, chrygld,   0,        chrygld,  chrygld,  chrygld,   ROT0, "bootleg",           "Cherry Gold I",                               0 )
9645GAME( 199?, chry10,    0,        chrygld,  chry10,   chry10,    ROT0, "bootleg",           "Cherry 10 (bootleg with PIC16F84)",           0 )
9873       YEAR  NAME       PARENT    MACHINE   INPUT     INIT       ROT    COMPANY              FULLNAME                                      FLAGS              LAYOUT */
9874GAME(  199?, goldstar,  0,        goldstar, goldstar, goldstar,  ROT0, "IGS",               "Golden Star",                                 0 )
9875GAME(  199?, goldstbl,  goldstar, goldstbl, goldstar, 0,         ROT0, "IGS",               "Golden Star (Blue version)",                  0 )
9876GAME(  199?, moonlght,  goldstar, moonlght, goldstar, 0,         ROT0, "bootleg",           "Moon Light (bootleg of Golden Star)",         0 )
9877GAME(  199?, chrygld,   0,        chrygld,  chrygld,  chrygld,   ROT0, "bootleg",           "Cherry Gold I",                               0 )
9878GAME(  199?, chry10,    0,        chrygld,  chry10,   chry10,    ROT0, "bootleg",           "Cherry 10 (bootleg with PIC16F84)",           0 )
96469879
96479880// are these really dyna, or bootlegs?
9648GAME( 199?, ncb3,      0,        ncb3,     ncb3,     0,         ROT0, "Dyna",              "Cherry Bonus III (ver.1.40, set 1)",          0 )
9649GAME( 199?, cb3a,      ncb3,     ncb3,     cb3a,     0,         ROT0, "Dyna",              "Cherry Bonus III (ver.1.40, set 2)",          0 )
9650GAME( 199?, cb3,       ncb3,     ncb3,     ncb3,     cb3,       ROT0, "Dyna",              "Cherry Bonus III (ver.1.40, encrypted)",      0 )
9651GAME( 199?, cb3b,      ncb3,     cherrys,  ncb3,     cherrys,   ROT0, "Dyna",              "Cherry Bonus III (alt)",           0 )
9652GAME( 199?, cb3c,      ncb3,     cb3c,     chrygld,  cb3,       ROT0, "bootleg",           "Cherry Bonus III (alt, set 2)", GAME_NOT_WORKING)
9881GAME(  199?, ncb3,      0,        ncb3,     ncb3,     0,         ROT0, "Dyna",              "Cherry Bonus III (ver.1.40, set 1)",          0 )
9882GAME(  199?, cb3a,      ncb3,     ncb3,     cb3a,     0,         ROT0, "Dyna",              "Cherry Bonus III (ver.1.40, set 2)",          0 )
9883GAME(  199?, cb3,       ncb3,     ncb3,     ncb3,     cb3,       ROT0, "Dyna",              "Cherry Bonus III (ver.1.40, encrypted)",      0 )
9884GAME(  199?, cb3b,      ncb3,     cherrys,  ncb3,     cherrys,   ROT0, "Dyna",              "Cherry Bonus III (alt)",           0 )
9885GAME(  199?, cb3c,      ncb3,     cb3c,     chrygld,  cb3,       ROT0, "bootleg",           "Cherry Bonus III (alt, set 2)", GAME_NOT_WORKING)
96539886
96549887// cherry master hardware has a rather different mem map, but is basically the same
9655GAME( 198?, cmv801,    0,        cm,       cmv801,   cm,        ROT0, "Corsica",           "Cherry Master (Corsica, ver.8.01)",           0 ) /* says ED-96 where the manufacturer is on some games.. */
9888GAME( 198?, cmv801,    0,        cm,       cmv801,   cm,        ROT0, "Corsica",           "Cherry Master (Corsica, ver.8.01)",           0 ) /* says ED-96 where the manufacturer is on some games.. */
96569889
96579890// most of these are almost certainly bootlegs, with added features, hacked payouts etc. identifying which are
96589891// the original, unmodified dyna versions is almost impossible due to lack of documentation from back in the day,
96599892// even original boards almost always run modified sets
9660GAME( 1992, cmv4,      0,        cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (ver.4, set 1)",                0 )
9661GAME( 1992, cmv4a,     cmv4,     cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (ver.4, set 2)",                GAME_NOT_WORKING )   /* stealth game? */
9662GAME( 199?, cmwm,      cmv4,     cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (Watermelon bootleg / hack)",   0 )
9663GAME( 1995, cmfun,     cmv4,     cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (Fun USA v2.5 bootleg / hack)",  0 )
9664GAME( 1991, cmaster,   0,        cm,       cmaster,  0,         ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 1)",           0 )
9665GAME( 1991, cmasterb,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 2)",           0 )
9666GAME( 1991, cmezspin,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (E-Z Spin bootleg / hack)",           0 )
9667GAME( 1991, cmasterc,  cmaster,  cmasterc, cmasterc, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 3)",           0 )
9668GAME( 1991, cmasterbv, cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 4, with Blitz Poker ROM?)", GAME_NOT_WORKING ) // Cherry Master works, but no idea how to use the Blitz ROM
9669GAME( 1991, cmasterd,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 5)", 0 )
9670GAME( 1991, cmastere,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 6)", 0 )
9671GAME( 1991, cmasterf,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 7)", 0 )
9893GAME(  1992, cmv4,      0,        cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (ver.4, set 1)",                0 )
9894GAME(  1992, cmv4a,     cmv4,     cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (ver.4, set 2)",                GAME_NOT_WORKING )   /* stealth game? */
9895GAME(  199?, cmwm,      cmv4,     cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (Watermelon bootleg / hack)",   0 )
9896GAME(  1995, cmfun,     cmv4,     cm,       cmv4,     cmv4,      ROT0, "Dyna",              "Cherry Master (Fun USA v2.5 bootleg / hack)", 0 )
9897GAME(  1991, cmaster,   0,        cm,       cmaster,  0,         ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 1)",           0 )
9898GAME(  1991, cmasterb,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 2)",           0 )
9899GAME(  1991, cmezspin,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (E-Z Spin bootleg / hack)",   0 )
9900GAME(  1991, cmasterc,  cmaster,  cmasterc, cmasterc, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 3)",           0 )
9901GAME(  1991, cmasterbv, cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 4, with Blitz Poker ROM?)", GAME_NOT_WORKING ) // Cherry Master works, but no idea how to use the Blitz ROM
9902GAME(  1991, cmasterd,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 5)",           0 )
9903GAME(  1991, cmastere,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 6)",           0 )
9904GAME(  1991, cmasterf,  cmaster,  cm,       cmasterb, cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 7)",           0 )
96729905
9673GAME( 199?, jkrmast,   0,        pkrmast,  cmasterb, cmv4,      ROT0, "<unknown>",              "Joker Master", GAME_NOT_WORKING ) // incomplete dump + encrypted?
9674GAME( 199?, pkrmast,   jkrmast,  pkrmast,  cmasterb, cmv4,      ROT0, "<unknown>",              "Poker Master (set 1)", GAME_NOT_WORKING ) // incomplete dump + encrypted?
9675GAME( 199?, pkrmasta,  jkrmast,  pkrmast,  cmasterb, cmv4,      ROT0, "<unknown>",              "Poker Master (set 2)", GAME_NOT_WORKING ) // incomplete dump + encrypted?
9906GAME(  199?, jkrmast,   0,        pkrmast,  cmasterb, cmv4,      ROT0, "<unknown>",         "Joker Master",                                GAME_NOT_WORKING ) // incomplete dump + encrypted?
9907GAME(  199?, pkrmast,   jkrmast,  pkrmast,  cmasterb, cmv4,      ROT0, "<unknown>",         "Poker Master (set 1)",                        GAME_NOT_WORKING ) // incomplete dump + encrypted?
9908GAME(  199?, pkrmasta,  jkrmast,  pkrmast,  cmasterb, cmv4,      ROT0, "<unknown>",         "Poker Master (set 2)",                        GAME_NOT_WORKING ) // incomplete dump + encrypted?
96769909
96779910
9678GAME( 1991, cmast91,   0,        cmast91,  cmast91,  cmast91,   ROT0, "Dyna",              "Cherry Master '91 (ver.1.30)",                0 )
9911GAME(  1991, cmast91,   0,        cmast91,  cmast91,  cmast91,   ROT0, "Dyna",              "Cherry Master '91 (ver.1.30)",                0 )
9912GAME(  1992, cmast92,   0,        cmast91,  cmast91,  cmast91,   ROT0, "Dyna",              "Cherry Master '92",                           GAME_NOT_WORKING ) // no gfx roms are dumped
96799913
9680GAME( 1992, cmast92,   0,        cmast91,  cmast91,  cmast91,   ROT0, "Dyna",              "Cherry Master '92",                GAME_NOT_WORKING ) // no gfx roms are dumped
96819914
9915GAMEL( 1989, lucky8,    0,        lucky8,   lucky8,   0,         ROT0, "Wing Co.Ltd / GEI", "New Lucky 8 Lines (set 1, W-4)",                           0,                     layout_lucky8 )
9916GAMEL( 1989, lucky8a,   lucky8,   lucky8,   lucky8a,  lucky8a,   ROT0, "Wing Co.Ltd / GEI", "New Lucky 8 Lines (set 2, W-4)",                           0,                     layout_lucky8 )
9917GAMEL( 1989, lucky8b,   lucky8,   lucky8,   ns8lines, 0,         ROT0, "Wing Co.Ltd / GEI", "New Lucky 8 Lines (set 3, W-4, extended gfx)",             0,                     layout_lucky8 )
9918GAMEL( 198?, ns8lines,  0,        lucky8,   ns8lines, 0,         ROT0, "<unknown>",         "New Lucky 8 Lines / New Super 8 Lines (W-4)",              0,                     layout_lucky8 )
9919GAMEL( 198?, ns8linew,  0,        lucky8,   ns8linew, 0,         ROT0, "<unknown>",         "New Lucky 8 Lines / New Super 8 Lines (F-5, Witch Bonus)", 0,                     layout_lucky8 )
9920GAMEL( 198?, kkojnoli,  0,        kkojnoli, kkojnoli, 0,         ROT0, "south korean hack", "Kkoj Noli (Kill the Bees)",                                GAME_IMPERFECT_COLORS, layout_lucky8 )
9921GAME(  198?, ladylinr,  0,        ladylinr, ladylinr, 0,         ROT0, "TAB Austria",       "Lady Liner",                                               0 )
9922GAME(  198?, wcat3,     0,        wcat3,    lucky8,   0,         ROT0, "E.A.I.",            "Wild Cat 3",                                               GAME_NOT_WORKING )
96829923
9683GAME( 1989, lucky8,    0,        lucky8,   lucky8,   0,         ROT0, "Wing Co.Ltd / GEI", "New Lucky 8 Lines (set 1)",                   0 )
9684GAME( 1989, lucky8a,   lucky8,   lucky8,   lucky8a,  lucky8a,   ROT0, "Wing Co.Ltd / GEI", "New Lucky 8 Lines (set 2)",                   0 )
9685GAME( 1989, lucky8b,   lucky8,   lucky8,   ns8lines, 0,         ROT0, "Wing Co.Ltd / GEI", "New Lucky 8 Lines (set 3, extended gfx)",     0 )
9686GAME( 198?, ns8lines,  0,        lucky8,   ns8lines, 0,         ROT0, "<unknown>",         "New Lucky 8 Lines / New Super 8 Lines",       0 )
9687GAME( 198?, ladylinr,  0,        ladylinr, ladylinr, 0,         ROT0, "TAB Austria",       "Lady Liner",                                  0 )
9688GAME( 198?, kkojnoli,  0,        kkojnoli, kkojnoli, 0,         ROT0, "south korean hack", "Kkoj Noli (Kill the Bees)",                   GAME_IMPERFECT_COLORS )
9689GAME( 198?, wcat3,     0,        wcat3,    lucky8,   0,         ROT0, "E.A.I.",            "Wild Cat 3",                                  GAME_NOT_WORKING )
9924GAME(  1992, magical,   0,        magical,  magical,  0,         ROT0, "Pal Company / Micro Manufacturing Inc.", "Magical Odds (set 1)",               GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
9925GAME(  1991, mtonic,    magical,  magical,  mtonic,   mtonic,    ROT0, "Pal Company",                            "Magical Odds (set 2, alt hardware)", GAME_WRONG_COLORS | GAME_NOT_WORKING |GAME_NO_SOUND) // Magical Odds logo / company in GFX
96909926
9691GAME( 1992, magical,   0,        magical,   magical,   0,        ROT0, "Pal Company / Micro Manufacturing Inc.", "Magical Odds (set 1)",                   GAME_WRONG_COLORS|GAME_IMPERFECT_GRAPHICS )
9692GAME( 1991, mtonic,    magical,  magical,   mtonic,    mtonic,   ROT0, "Pal Company",                            "Magical Odds (set 2, alt hardware)",     GAME_WRONG_COLORS | GAME_NOT_WORKING |GAME_NO_SOUND) // Magical Odds logo / company in GFX
96939927
9694
96959928/* --- Amcoe games --- */
96969929
96979930/*    YEAR  NAME       PARENT    MACHINE   INPUT      INIT       ROT    COMPANY    FULLNAME                                                FLAGS  */
src/mame/drivers/simpsons.c
r8054r8055
328328   MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_AFTER_VBLANK)
329329
330330   MDRV_SCREEN_ADD("screen", RASTER)
331   MDRV_SCREEN_REFRESH_RATE(60)
331   MDRV_SCREEN_REFRESH_RATE(59.1856)
332332   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
333333   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
334334   MDRV_SCREEN_SIZE(64*8, 32*8)
src/mame/drivers/model1.c
r8054r8055
738738{
739739   memory_set_bankptr(machine, "bank1", memory_region(machine, "maincpu") + 0x1000000);
740740   irq_init(machine);
741   model1_tgp_reset(machine, !strcmp(machine->gamedrv->name, "swa") || !strcmp(machine->gamedrv->name, "wingwar") || !strcmp(machine->gamedrv->name, "wingwara"));
741   model1_tgp_reset(machine, !strcmp(machine->gamedrv->name, "swa") || !strcmp(machine->gamedrv->name, "wingwar") || !strcmp(machine->gamedrv->name, "wingwaru") || !strcmp(machine->gamedrv->name, "wingwarj"));
742742   if (!strcmp(machine->gamedrv->name, "swa"))
743743   {
744744      model1_sound_irq = 0;
r8054r8055
12571257   MODEL1_CPU_BOARD
12581258
12591259   ROM_REGION( 0x2000000, "maincpu", ROMREGION_ERASEFF ) /* v60 code */
1260   ROM_LOAD16_BYTE( "epr15638.14", 0x200000, 0x80000, CRC(b9db21a2) SHA1(db58c047977f5fc37f278afe7159a78e3fa6c015) )
1261   ROM_LOAD16_BYTE( "epr15639.15", 0x200001, 0x80000, CRC(4c3796f5) SHA1(1bf312a4999a15fbc5d194627f9c0ad9dbc1f2c0) )
1260   ROM_LOAD16_BYTE( "epr-15638.14", 0x200000, 0x80000, CRC(b9db21a2) SHA1(db58c047977f5fc37f278afe7159a78e3fa6c015) )
1261   ROM_LOAD16_BYTE( "epr-15639.15", 0x200001, 0x80000, CRC(4c3796f5) SHA1(1bf312a4999a15fbc5d194627f9c0ad9dbc1f2c0) )
12621262
1263   ROM_LOAD( "epr15623.4", 0xfc0000, 0x20000, CRC(155fa5be) SHA1(a0a3fd8980c52279adbc1c64aa22e42a0b196dd9) )
1264   ROM_LOAD( "epr15622.5", 0xfe0000, 0x20000, CRC(18007f6f) SHA1(61573742627ec027abd2cc700e79f04da5215bfd) )
1263   ROM_LOAD( "epr-15623.4", 0xfc0000, 0x20000, CRC(155fa5be) SHA1(a0a3fd8980c52279adbc1c64aa22e42a0b196dd9) )
1264   ROM_LOAD( "epr-15622.5", 0xfe0000, 0x20000, CRC(18007f6f) SHA1(61573742627ec027abd2cc700e79f04da5215bfd) )
12651265
1266   ROM_LOAD16_BYTE( "epr15641.6",  0x1000000, 0x80000, CRC(bf01e4d5) SHA1(53ad9ecd2de2ea1d7b446f9db61352e10a55ea05) )
1267   ROM_LOAD16_BYTE( "epr15640.7",  0x1000001, 0x80000, CRC(3e6d83dc) SHA1(62aa552a38ee193e0dfab5d1261756fe237db42c) )
1266   ROM_LOAD16_BYTE( "epr-15641.6",  0x1000000, 0x80000, CRC(bf01e4d5) SHA1(53ad9ecd2de2ea1d7b446f9db61352e10a55ea05) )
1267   ROM_LOAD16_BYTE( "epr-15640.7",  0x1000001, 0x80000, CRC(3e6d83dc) SHA1(62aa552a38ee193e0dfab5d1261756fe237db42c) )
12681268   ROM_LOAD16_BYTE( "mpr-14884.8",  0x1100000, 0x80000, CRC(6CF9C026) SHA1(f4d717958dba6b6402f5ffe7638fe0bf353b61ed) )
12691269   ROM_LOAD16_BYTE( "mpr-14885.9",  0x1100001, 0x80000, CRC(F65C9262) SHA1(511a22bcfaf199737bfc5a809fd66cb4439dd386) )
12701270   ROM_LOAD16_BYTE( "mpr-14886.10", 0x1200000, 0x80000, CRC(92868734) SHA1(e1dfb134dc3ba7e0b1d40681621e09ac5a222518) )
r8054r8055
12981298   ROM_LOAD32_BYTE( "mpr-14901.42", 0x000003, 0x80000, CRC(175b7a9a) SHA1(c86602e771cd49bab425b4ba7926d2f44858bd39) )
12991299
13001300   ROM_REGION( 0x20000, "user3", 0 ) /* Comms Board */
1301   ROM_LOAD( "epr15624.17", 0x00000, 0x20000, CRC(9b3ba315) SHA1(0cd0983cc8b2f2d6b41617d0d0a24cc6c188e62a) )
1301   ROM_LOAD( "epr-15624.17", 0x00000, 0x20000, CRC(9b3ba315) SHA1(0cd0983cc8b2f2d6b41617d0d0a24cc6c188e62a) )
13021302
13031303   ROM_REGION( 0x2000, "tgp", 0 ) /* TGP program rom */
13041304   // this is the Daytona TGP program with some modifications needed for Virtua Racing
r8054r8055
13171317   ROM_RELOAD(          0x080000, 0x80000 )
13181318
13191319   ROM_REGION( 0xc0000, "audiocpu", 0 )  /* 68K code */
1320        ROM_LOAD16_WORD_SWAP( "epr16470.bin", 0x000000, 0x020000, CRC(7da18cf7) SHA1(bd432d882d217277faee120e2577357a32eb4a6e) )
1320        ROM_LOAD16_WORD_SWAP( "epr-16470.bin", 0x000000, 0x020000, CRC(7da18cf7) SHA1(bd432d882d217277faee120e2577357a32eb4a6e) )
13211321   ROM_RELOAD(0x80000, 0x20000)
13221322
13231323   ROM_REGION( 0x400000, "sega1", 0 ) /* Samples */
1324        ROM_LOAD( "mpr16486.bin", 0x000000, 0x200000, CRC(7df50533) SHA1(f2fb876738e37d70eb9005e5629a9ae89aa413a8) )
1325        ROM_LOAD( "mpr16487.bin", 0x200000, 0x200000, CRC(31b28dfa) SHA1(bd1ac11bf2f9161f61f8af3b9ff4c2709b7ee700) )
1324        ROM_LOAD( "mpr-16486.bin", 0x000000, 0x200000, CRC(7df50533) SHA1(f2fb876738e37d70eb9005e5629a9ae89aa413a8) )
1325        ROM_LOAD( "mpr-16487.bin", 0x200000, 0x200000, CRC(31b28dfa) SHA1(bd1ac11bf2f9161f61f8af3b9ff4c2709b7ee700) )
13261326
13271327   ROM_REGION( 0x400000, "sega2", 0 ) /* Samples */
1328        ROM_LOAD( "mpr16484.bin", 0x000000, 0x200000, CRC(9d4c334d) SHA1(8b4d903f14559fed425d225bb23ccfe8da23cbd3) )
1329        ROM_LOAD( "mpr16485.bin", 0x200000, 0x200000, CRC(95aadcad) SHA1(4276db655db9834692c3843eb96a3e3a89cb7252) )
1328        ROM_LOAD( "mpr-16484.bin", 0x000000, 0x200000, CRC(9d4c334d) SHA1(8b4d903f14559fed425d225bb23ccfe8da23cbd3) )
1329        ROM_LOAD( "mpr-16485.bin", 0x200000, 0x200000, CRC(95aadcad) SHA1(4276db655db9834692c3843eb96a3e3a89cb7252) )
13301330
13311331   ROM_REGION( 0x20000, "cpu2", 0 ) /* Z80 DSB code */
1332        ROM_LOAD( "epr16471.bin", 0x000000, 0x020000, CRC(f4ee84a4) SHA1(f12b214e6f195b0e5f49ba9f41d8e54bfcea9acc) )
1332        ROM_LOAD( "epr-16471.bin", 0x000000, 0x020000, CRC(f4ee84a4) SHA1(f12b214e6f195b0e5f49ba9f41d8e54bfcea9acc) )
13331333
13341334   ROM_REGION( 0x400000, "mpeg", 0 ) /* DSB MPEG data */
1335        ROM_LOAD( "mpr16514.bin", 0x000000, 0x200000, CRC(3175b0be) SHA1(63649d053c8c17ce1746d16d0cc8202be20c302f) )
1336        ROM_LOAD( "mpr16515.bin", 0x000000, 0x200000, CRC(3114d748) SHA1(9ef090623cdd2a1d06b5d1bc4b9a07ab4eff5b76) )
1335        ROM_LOAD( "mpr-16514.bin", 0x000000, 0x200000, CRC(3175b0be) SHA1(63649d053c8c17ce1746d16d0cc8202be20c302f) )
1336        ROM_LOAD( "mpr-16515.bin", 0x000000, 0x200000, CRC(3114d748) SHA1(9ef090623cdd2a1d06b5d1bc4b9a07ab4eff5b76) )
13371337
13381338   ROM_REGION32_LE( 0xc00000, "user1", 0 ) /* TGP model roms */
13391339   ROM_LOAD32_WORD( "mpr-16476.26", 0x000000, 0x200000, CRC(d48609ae) SHA1(8c8686a5c9ca4837447a7f70ed194e2f1882b66d) )
r8054r8055
13531353   ROM_LOAD32_BYTE( "mpr-16475.42", 0x000003, 0x80000, CRC(b9266be9) SHA1(cf195cd89c9d191b9eb8c5299f8cc154c2b4bd82) )
13541354ROM_END
13551355
1356
13561357ROM_START( wingwar )
13571358   ROM_REGION( 0x2000000, "maincpu", ROMREGION_ERASEFF ) /* v60 code */
13581359   ROM_LOAD16_BYTE( "epr-16729.14", 0x200000, 0x80000, CRC(7edec2cc) SHA1(3e423a868ca7c8475fbb5bc1a10526e69d94d865) )
13591360   ROM_LOAD16_BYTE( "epr-16730.15", 0x200001, 0x80000, CRC(bab24dee) SHA1(26c95139c1aa7f34b6a5cce39e5bd1dd2ef0dd49) )
13601361
1362   ROM_LOAD( "epr16953.4", 0xfc0000, 0x20000, CRC(c821a920) SHA1(7fc9ea5d828aac664514fa6d38f708f1ffd26220) )
1363   ROM_RELOAD(          0x000000, 0x20000 )
1364   ROM_LOAD( "epr16952.5", 0xfe0000, 0x20000, CRC(03a3ecc5) SHA1(5c4aa221302b0a0800e1af99a41ab46fe4325184) )
1365   ROM_RELOAD(          0x020000, 0x20000 )
1366
1367   ROM_LOAD16_BYTE( "mpr-16738.6",  0x1000000, 0x80000, CRC(51518ffa) SHA1(e4674ddfed4205957b14e133c6fdf6454872f324) )
1368   ROM_LOAD16_BYTE( "mpr-16737.7",  0x1000001, 0x80000, CRC(37b1379c) SHA1(98620c324268e1dd906c077ac8a8cd903b9de1f7) )
1369   ROM_LOAD16_BYTE( "mpr-16736.8",  0x1100000, 0x80000, CRC(10b6a025) SHA1(7a4f624ceb7c0b92044a5db8ff55440562ef836b) )
1370   ROM_LOAD16_BYTE( "mpr-16735.9",  0x1100001, 0x80000, CRC(c82fd198) SHA1(d9e53ae1e14dfc8e84a14c0026ef0b904863bb1b) )
1371   ROM_LOAD16_BYTE( "mpr-16734.10", 0x1200000, 0x80000, CRC(f76371c1) SHA1(0ff082db3877383d0dd977dc60c932b725e3d164) )
1372   ROM_LOAD16_BYTE( "mpr-16733.11", 0x1200001, 0x80000, CRC(e105847b) SHA1(8489a6c91fd6d1e9ba81e8eaf36c514da30dccbe) )
1373
1374   ROM_REGION( 0xc0000, "audiocpu", 0 )  /* 68K code */
1375   ROM_LOAD16_WORD_SWAP("epr-17126.7", 0x000000, 0x20000, CRC(50178e40) SHA1(fb01aecfbe4e90adc997de0d45a63c16ef353b37) )
1376   ROM_LOAD16_WORD_SWAP("epr-16752.8", 0x020000, 0x20000, CRC(6541c48f) SHA1(9341eff160e31a8574b9545fafc1c4059323fa0c) )
1377   ROM_RELOAD(0x80000, 0x20000)
1378
1379   ROM_REGION( 0x400000, "sega1", 0 ) /* Samples */
1380   ROM_LOAD("mpr-16753.32", 0x000000, 0x200000, CRC(324a8333) SHA1(960342e08db637c6f72615d49cffd9fb0889620b) )
1381   ROM_LOAD("mpr-16754.33", 0x200000, 0x200000, CRC(144f3cf5) SHA1(d2f8cc9086affbbc5ef2195272200230f724e5d1) )
1382
1383   ROM_REGION( 0x400000, "sega2", 0 ) /* Samples */
1384   ROM_LOAD("mpr-16755.4", 0x000000, 0x200000, CRC(4baaf878) SHA1(661d4ea9be6a4952852d0ef94becee7ed42bf4a1) )
1385   ROM_LOAD("mpr-16756.5", 0x200000, 0x200000, CRC(d9c40672) SHA1(83e6f1156b30888d3a00103f079dc74f4fca8446) )
1386
1387   ROM_REGION32_LE( 0x1000000, "user1", 0 ) /* TGP model roms */
1388   ROM_LOAD32_WORD( "mpr-16743.26", 0x000000, 0x200000, CRC(a710d33c) SHA1(1d0184545b34789ed511caaa25d57db3cd9a8e2f) )
1389   ROM_LOAD32_WORD( "mpr-16744.27", 0x000002, 0x200000, CRC(de796e1f) SHA1(397efb86a21b178770f29d2464bacf5f893619a0) )
1390   ROM_LOAD32_WORD( "mpr-16745.28", 0x400000, 0x200000, CRC(905b689c) SHA1(685dec2a65d5b3a386bda0af1bb5ae7e2b73a01a) )
1391   ROM_LOAD32_WORD( "mpr-16746.29", 0x400002, 0x200000, CRC(163b312e) SHA1(6b45007d6a9d17c8a0b46d81ec84ce9bfefb1695) )
1392   ROM_LOAD32_WORD( "mpr-16747.30", 0x800000, 0x200000, CRC(7353bb12) SHA1(608c5d561e909b8ba31d53db18e6e199855eaaec) )
1393   ROM_LOAD32_WORD( "mpr-16748.31", 0x800002, 0x200000, CRC(8ce98d3a) SHA1(1978776a0e2ea817508e30ba232d5f8d9c158f70) )
1394   ROM_LOAD32_WORD( "mpr-16749.32", 0xc00000, 0x200000, CRC(0e36dc1a) SHA1(4939177a6ac51ca57d0acd118ff14af4f4e438bb) )
1395   ROM_LOAD32_WORD( "mpr-16750.33", 0xc00002, 0x200000, CRC(e4f0b98d) SHA1(e69de2e5ccea2834fb8326bdd61fc6b517bc60b7) )
1396
1397   ROM_REGION32_LE( 0x200000, "user2", 0 ) /* TGP data roms */
1398   ROM_LOAD32_BYTE( "mpr-16741.39", 0x000000, 0x80000, CRC(84b2ffd8) SHA1(0eba3855d20b88567c6fa08046e12429664d87cb) )
1399   ROM_LOAD32_BYTE( "mpr-16742.40", 0x000001, 0x80000, CRC(e9cc12bb) SHA1(40c83c968be3b11fad193a00e7b760f074450683) )
1400   ROM_LOAD32_BYTE( "mpr-16739.41", 0x000002, 0x80000, CRC(6c73e98f) SHA1(7b31e62922ab6d0df97c3ecc52b78e6d086c8635) )
1401   ROM_LOAD32_BYTE( "mpr-16740.42", 0x000003, 0x80000, CRC(44b31007) SHA1(4bb265fea25a7bbcbb8ab080fdcf09849b18f1de) )
1402ROM_END
1403
1404ROM_START( wingwaru )
1405   ROM_REGION( 0x2000000, "maincpu", ROMREGION_ERASEFF ) /* v60 code */
1406   ROM_LOAD16_BYTE( "epr-16729.14", 0x200000, 0x80000, CRC(7edec2cc) SHA1(3e423a868ca7c8475fbb5bc1a10526e69d94d865) )
1407   ROM_LOAD16_BYTE( "epr-16730.15", 0x200001, 0x80000, CRC(bab24dee) SHA1(26c95139c1aa7f34b6a5cce39e5bd1dd2ef0dd49) )
1408
13611409   ROM_LOAD( "epr-16951.4", 0xfc0000, 0x20000, CRC(8df5a798) SHA1(ef2756f237933ecf429dab0f362e572eb1965f4d) )
13621410   ROM_RELOAD(          0x000000, 0x20000 )
13631411   ROM_LOAD( "epr-16950.5", 0xfe0000, 0x20000, CRC(841e2195) SHA1(66f465aaf71955496e6f83335f7b836ad1d8c724) )
r8054r8055
14001448   ROM_LOAD32_BYTE( "mpr-16740.42", 0x000003, 0x80000, CRC(44b31007) SHA1(4bb265fea25a7bbcbb8ab080fdcf09849b18f1de) )
14011449ROM_END
14021450
1403ROM_START( wingwara )
1451ROM_START( wingwarj )
14041452   ROM_REGION( 0x2000000, "maincpu", ROMREGION_ERASEFF ) /* v60 code */
14051453   ROM_LOAD16_BYTE( "epr-16729.14", 0x200000, 0x80000, CRC(7edec2cc) SHA1(3e423a868ca7c8475fbb5bc1a10526e69d94d865) )
14061454   ROM_LOAD16_BYTE( "epr-16730.15", 0x200001, 0x80000, CRC(bab24dee) SHA1(26c95139c1aa7f34b6a5cce39e5bd1dd2ef0dd49) )
14071455
1408   ROM_LOAD( "epr16953.bin", 0xfc0000, 0x20000, CRC(c821a920) SHA1(7fc9ea5d828aac664514fa6d38f708f1ffd26220) )
1456   ROM_LOAD( "epr-16728.4", 0xfc0000, 0x20000, CRC(194d58ff) SHA1(281201cbb9bb148a06fe88edeccf680f837dcc10) )
14091457   ROM_RELOAD(          0x000000, 0x20000 )
1410   ROM_LOAD( "epr16952.bin", 0xfe0000, 0x20000, CRC(03a3ecc5) SHA1(5c4aa221302b0a0800e1af99a41ab46fe4325184) )
1458   ROM_LOAD( "epr-16727.5", 0xfe0000, 0x20000, CRC(430380eb) SHA1(25bd81a69a9b4cdc644f912283b65b3eab988327) )
14111459   ROM_RELOAD(          0x020000, 0x20000 )
14121460
14131461   ROM_LOAD16_BYTE( "mpr-16738.6",  0x1000000, 0x80000, CRC(51518ffa) SHA1(e4674ddfed4205957b14e133c6fdf6454872f324) )
r8054r8055
14181466   ROM_LOAD16_BYTE( "mpr-16733.11", 0x1200001, 0x80000, CRC(e105847b) SHA1(8489a6c91fd6d1e9ba81e8eaf36c514da30dccbe) )
14191467
14201468   ROM_REGION( 0xc0000, "audiocpu", 0 )  /* 68K code */
1421   ROM_LOAD16_WORD_SWAP("epr17126.bin",0x000000, 0x20000, CRC(50178e40) SHA1(fb01aecfbe4e90adc997de0d45a63c16ef353b37) )
1469   ROM_LOAD16_WORD_SWAP("epr-16751.7", 0x000000, 0x20000, CRC(23ba5ebc) SHA1(b98aab546c5e980baeedbada4e7472eb4c588260) )
14221470   ROM_LOAD16_WORD_SWAP("epr-16752.8", 0x020000, 0x20000, CRC(6541c48f) SHA1(9341eff160e31a8574b9545fafc1c4059323fa0c) )
14231471   ROM_RELOAD(0x80000, 0x20000)
14241472
r8054r8055
14471495   ROM_LOAD32_BYTE( "mpr-16740.42", 0x000003, 0x80000, CRC(44b31007) SHA1(4bb265fea25a7bbcbb8ab080fdcf09849b18f1de) )
14481496ROM_END
14491497
1498
14501499static MACHINE_DRIVER_START( model1 )
14511500   MDRV_CPU_ADD("maincpu", V60, 16000000)
14521501   MDRV_CPU_PROGRAM_MAP(model1_mem)
r8054r8055
15311580   MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
15321581MACHINE_DRIVER_END
15331582
1534GAME( 1993, vf,      0, model1, vf,      0, ROT0, "Sega", "Virtua Fighter", GAME_IMPERFECT_GRAPHICS )
1535GAME( 1992, vr,       0, model1_vr, vr,       0, ROT0, "Sega", "Virtua Racing", GAME_IMPERFECT_GRAPHICS )
1536GAME( 1993, vformula, vr, model1_vr, vr,       0, ROT0, "Sega", "Virtua Formula", GAME_IMPERFECT_GRAPHICS )
1537GAME( 1993, swa,      0, model1, swa,      0, ROT0, "Sega", "Star Wars Arcade", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1538GAME( 1994, wingwar,  0, model1, wingwar,  0, ROT0, "Sega", "Wing War (US)", GAME_NOT_WORKING )
1539GAME( 1994, wingwara, wingwar, model1, wingwar,  0, ROT0, "Sega", "Wing War", GAME_NOT_WORKING )
1583GAME( 1993, vf,       0,       model1,    vf,       0, ROT0, "Sega", "Virtua Fighter", GAME_IMPERFECT_GRAPHICS )
1584GAME( 1992, vr,       0,       model1_vr, vr,       0, ROT0, "Sega", "Virtua Racing", GAME_IMPERFECT_GRAPHICS )
1585GAME( 1993, vformula, vr,      model1_vr, vr,       0, ROT0, "Sega", "Virtua Formula", GAME_IMPERFECT_GRAPHICS )
1586GAME( 1993, swa,      0,       model1,    swa,      0, ROT0, "Sega", "Star Wars Arcade", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1587GAME( 1994, wingwar,  0,       model1,    wingwar,  0, ROT0, "Sega", "Wing War (World)", GAME_NOT_WORKING )
1588GAME( 1994, wingwaru, wingwar, model1,    wingwar,  0, ROT0, "Sega", "Wing War (US)", GAME_NOT_WORKING )
1589GAME( 1994, wingwarj, wingwar, model1,    wingwar,  0, ROT0, "Sega", "Wing War (Japan)", GAME_NOT_WORKING )
src/mame/drivers/polepos.c
r8054r8055
922922   MDRV_CPU_IO_MAP(z80_io)
923923   MDRV_CPU_VBLANK_INT_HACK(irq0_line_assert,2)   /* 64V */
924924
925   MDRV_CPU_ADD("sub", Z8000, 24576000/8)   /* 3.072 MHz */
925   MDRV_CPU_ADD("sub", Z8002, 24576000/8)   /* 3.072 MHz */
926926   MDRV_CPU_PROGRAM_MAP(z8002_map)
927927   MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
928928
929   MDRV_CPU_ADD("sub2", Z8000, 24576000/8)   /* 3.072 MHz */
929   MDRV_CPU_ADD("sub2", Z8002, 24576000/8)   /* 3.072 MHz */
930930   MDRV_CPU_PROGRAM_MAP(z8002_map)
931931   MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
932932
r8054r8055
10051005   MDRV_CPU_IO_MAP(z80_io)
10061006   MDRV_CPU_VBLANK_INT_HACK(irq0_line_assert,2)   /* 64V */
10071007
1008   MDRV_CPU_ADD("sub", Z8000, 24576000/8)   /* 3.072 MHz */
1008   MDRV_CPU_ADD("sub", Z8002, 24576000/8)   /* 3.072 MHz */
10091009   MDRV_CPU_PROGRAM_MAP(z8002_map)
10101010   MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
10111011
1012   MDRV_CPU_ADD("sub2", Z8000, 24576000/8)   /* 3.072 MHz */
1012   MDRV_CPU_ADD("sub2", Z8002, 24576000/8)   /* 3.072 MHz */
10131013   MDRV_CPU_PROGRAM_MAP(z8002_map)
10141014   MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
10151015
src/mame/drivers/qdrmfgp.c
r8054r8055
368368   AM_RANGE(0x100000, 0x110fff) AM_RAM AM_BASE(&workram)                              /* work ram */
369369   AM_RANGE(0x180000, 0x183fff) AM_RAM AM_BASE_SIZE_GENERIC(nvram)   /* backup ram */
370370   AM_RANGE(0x280000, 0x280fff) AM_RAM_WRITE(paletteram16_xBBBBBGGGGGRRRRR_word_w) AM_BASE_GENERIC(paletteram)
371   AM_RANGE(0x300000, 0x30003f) AM_DEVWRITE("k053252", k056832_word_w)                              /* video reg */
371   AM_RANGE(0x300000, 0x30003f) AM_DEVWRITE("k056832", k056832_word_w)                              /* video reg */
372372   AM_RANGE(0x320000, 0x32001f) AM_DEVREADWRITE("k053252", k053252_word_r, k053252_word_w)               /* ccu */
373373   AM_RANGE(0x330000, 0x330001) AM_READ_PORT("SENSOR")                                 /* battery power & service */
374374   AM_RANGE(0x340000, 0x340001) AM_READ_PORT("340000")                                 /* inputport */
r8054r8055
617617   state_save_register_global(machine, gp2_irq_control);
618618}
619619
620static MACHINE_RESET( qdrmfgp )
620static MACHINE_START( qdrmfgp2 )
621621{
622   sndram = memory_region(machine, "konami") + 0x100000;
622   /* sound irq (CCU? 240Hz) */
623   timer_pulse(machine, ATTOTIME_IN_HZ(18432000/76800), NULL, 0, gp2_timer_callback);
623624
624   /* reset the IDE controller */
625   gp2_irq_control = 0;
626   devtag_reset(machine, "ide");
625   MACHINE_START_CALL( qdrmfgp );
627626}
628627
629static MACHINE_RESET( qdrmfgp2 )
628static MACHINE_RESET( qdrmfgp )
630629{
631630   sndram = memory_region(machine, "konami") + 0x100000;
632631
633   /* sound irq (CCU? 240Hz) */
634   timer_pulse(machine, ATTOTIME_IN_HZ(18432000/76800), NULL, 0, gp2_timer_callback);
635
636632   /* reset the IDE controller */
637633   gp2_irq_control = 0;
638634   devtag_reset(machine, "ide");
r8054r8055
690686   MDRV_CPU_PROGRAM_MAP(qdrmfgp2_map)
691687   MDRV_CPU_VBLANK_INT("screen", qdrmfgp2_interrupt)
692688
693   MDRV_MACHINE_START(qdrmfgp)
694   MDRV_MACHINE_RESET(qdrmfgp2)
689   MDRV_MACHINE_START(qdrmfgp2)
690   MDRV_MACHINE_RESET(qdrmfgp)
695691   MDRV_NVRAM_HANDLER(generic_1fill)
696692
697693   MDRV_IDE_CONTROLLER_ADD("ide", gp2_ide_interrupt)
r8054r8055
770766
771767/*     year  rom       clone     machine   inputs    init */
772768GAME(  1994, qdrmfgp,  0,        qdrmfgp,  qdrmfgp,  0,        ROT0, "Konami", "Quiz Do Re Mi Fa Grand Prix (Japan)", 0 )
773GAME(  1995, qdrmfgp2, 0,        qdrmfgp2, qdrmfgp2, 0,        ROT0, "Konami", "Quiz Do Re Mi Fa Grand Prix2 - Shin-Kyoku Nyuukadayo (Japan)", 0 )
769GAME(  1995, qdrmfgp2, 0,        qdrmfgp2, qdrmfgp2, 0,        ROT0, "Konami", "Quiz Do Re Mi Fa Grand Prix 2 - Shin-Kyoku Nyuukadayo (Japan)", 0 )
src/mame/drivers/segag80r.c
r8054r8055
12791279
12801280ROM_START( monsterb2 )
12811281   ROM_REGION( 0xc000, "maincpu", 0 )
1282   ROM_LOAD( "epr-1548",     0x0000, 0x2000, CRC(239f77c1) SHA1(2945e4b135c1c46bf3e0d947b3d9be052f12e8d8) )
1283   ROM_LOAD( "epr-1549",     0x2000, 0x2000, CRC(40aeb223) SHA1(8e0cc1b53ded819673719ffe1fd69feb1ca6fa29) )
1284   ROM_LOAD( "epr-1550",     0x4000, 0x2000, CRC(b42bb2b3) SHA1(88bd5b027c46cde9f89e90f50ae2c381681ae483) )
1285   ROM_LOAD( "epr-1551",     0x6000, 0x2000, CRC(ad7728cc) SHA1(e9ca8a92dae39528ae7a003cb641af4342067b14) )
1286   ROM_LOAD( "epr-1552",     0x8000, 0x2000, CRC(e876e216) SHA1(31301f2b576689aefcb42a4233f8fafb7f4791a7) )
1287   ROM_LOAD( "epr-1553",     0xa000, 0x2000, CRC(4a839fb2) SHA1(3a15d74a0abd0548cb90c13f4d5baebe3ec83d23) )
1282   ROM_LOAD( "epr-1548.2",   0x0000, 0x2000, CRC(239f77c1) SHA1(2945e4b135c1c46bf3e0d947b3d9be052f12e8d8) )
1283   ROM_LOAD( "epr-1549.3",   0x2000, 0x2000, CRC(40aeb223) SHA1(8e0cc1b53ded819673719ffe1fd69feb1ca6fa29) )
1284   ROM_LOAD( "epr-1550.13",  0x4000, 0x2000, CRC(b42bb2b3) SHA1(88bd5b027c46cde9f89e90f50ae2c381681ae483) )
1285   ROM_LOAD( "epr-1551.14",  0x6000, 0x2000, CRC(ad7728cc) SHA1(e9ca8a92dae39528ae7a003cb641af4342067b14) )
1286   ROM_LOAD( "epr-1552.22",  0x8000, 0x2000, CRC(e876e216) SHA1(31301f2b576689aefcb42a4233f8fafb7f4791a7) )
1287   ROM_LOAD( "epr-1553.23",  0xa000, 0x2000, CRC(4a839fb2) SHA1(3a15d74a0abd0548cb90c13f4d5baebe3ec83d23) )
12881288
12891289   ROM_REGION( 0x400, "audiocpu", 0 )
1290   ROM_LOAD( "7751.bin",     0x0000, 0x0400, CRC(6a9534fc) SHA1(67ad94674db5c2aab75785668f610f6f4eccd158) ) /* 7751 - U34 */
1290   ROM_LOAD( "7751.34",      0x0000, 0x0400, CRC(6a9534fc) SHA1(67ad94674db5c2aab75785668f610f6f4eccd158) )
12911291
12921292   ROM_REGION( 0x10000, "gfx1", 0 )
1293   ROM_LOAD( "epr-1661",     0x0000, 0x2000, CRC(e93a2281) SHA1(61c9022edfb8fee2b7214d87d6bbed415fba9601) ) /* ??? */
1294   ROM_LOAD( "epr-1662",     0x2000, 0x2000, CRC(1e589101) SHA1(6805644e18e5b18b96e6a407ec217f02c8931ec2) ) /* ??? */
1293   ROM_LOAD( "epr-1661.19",  0x0000, 0x2000, CRC(e93a2281) SHA1(61c9022edfb8fee2b7214d87d6bbed415fba9601) )
1294   ROM_LOAD( "epr-1662.5",   0x2000, 0x2000, CRC(1e589101) SHA1(6805644e18e5b18b96e6a407ec217f02c8931ec2) )
12951295
12961296   ROM_REGION( 0x2000, "gfx2", 0 )
1297   ROM_LOAD( "epr-1554",     0x0000, 0x2000, CRC(a87937d0) SHA1(cfc2fca52bd74beb2f20ece07e9dd3e3f1038f7c) ) /* ??? */
1297   ROM_LOAD( "epr-1554.58",  0x0000, 0x2000, CRC(a87937d0) SHA1(cfc2fca52bd74beb2f20ece07e9dd3e3f1038f7c) )
12981298
12991299   ROM_REGION( 0x2000, "n7751", 0 )
1300   ROM_LOAD( "epr-1543",     0x0000, 0x1000, CRC(b525ce8f) SHA1(61e541061a0a579101e52ffa2431540010b9df3e) ) /* U19 */
1301   ROM_LOAD( "epr-1544",     0x1000, 0x1000, CRC(56c79fb0) SHA1(26de83efcc97318220603f83acf4387f6d70d806) ) /* U23 */
1300   ROM_LOAD( "epr-1543.19",  0x0000, 0x1000, CRC(b525ce8f) SHA1(61e541061a0a579101e52ffa2431540010b9df3e) )
1301   ROM_LOAD( "epr-1544.23",  0x1000, 0x1000, CRC(56c79fb0) SHA1(26de83efcc97318220603f83acf4387f6d70d806) )
13021302
13031303   ROM_REGION( 0x0020, "prom", 0 )
1304   ROM_LOAD( "spr-1512",     0x0000, 0x0020, CRC(414ebe9b) SHA1(3df8694e3d26635d19fd4cdf02bd0998e8538b5b) )  /* U31 */
1304   ROM_LOAD( "pr-1542.31",   0x0000, 0x0020, CRC(414ebe9b) SHA1(3df8694e3d26635d19fd4cdf02bd0998e8538b5b) )
13051305
13061306   ROM_REGION( 0x2000, "user2", 0 )            /* other proms (unused) */
1307   ROM_LOAD( "pr-1535",     0x0000, 0x20, CRC(087df496) SHA1(b6905626595f7a5587a0fd5db0d0bbf7f1fdf695) ) /* ??? */
1308   ROM_LOAD( "pr-1536",     0x0000, 0x20, CRC(57c65534) SHA1(5714720ddb3c90f10fd880faa9c18990c7947a0d) ) /* ??? */
1309   ROM_LOAD( "pr-1537",     0x0000, 0x20, CRC(e4451c6c) SHA1(8a4290fccca37564db3a4415057602c7f530947f) ) /* ??? */
1310   ROM_LOAD( "pr-1538",     0x0000, 0x100, CRC(025996b1) SHA1(16e927c3a94c46ab2d870a37aa0dfacb4f95bdbf) ) /* ??? */
1311   ROM_LOAD( "pr-1539",     0x0000, 0x100, CRC(dd18a9ab) SHA1(365e2f36e60c54f2d782b0c918350f6b565aeda8) ) /* ??? */
1312   ROM_LOAD( "pr-1540",     0x0000, 0x100, CRC(e767ab01) SHA1(97a1f891f95a2f862ee1319033411d51c47bd593) ) /* ??? */
1313   ROM_LOAD( "pr-1541",     0x0000, 0x100, CRC(411aa2a5) SHA1(bc6a7119679aaa22f171a9038f49265e8cd4a166) ) /* ??? */
1314   ROM_LOAD( "pr-5021",     0x0000, 0x20, CRC(ad1f2839) SHA1(765fdb90cbd1ab1551851a9a0c8ed0cb15928a25) ) /* ??? */
1307   ROM_LOAD( "pr-1535.118",  0x0000, 0x0020, CRC(087df496) SHA1(b6905626595f7a5587a0fd5db0d0bbf7f1fdf695) )
1308   ROM_LOAD( "pr-1536.128",  0x0000, 0x0020, CRC(57c65534) SHA1(5714720ddb3c90f10fd880faa9c18990c7947a0d) )
1309   ROM_LOAD( "pr-1537.156",  0x0000, 0x0020, CRC(e4451c6c) SHA1(8a4290fccca37564db3a4415057602c7f530947f) )
1310   ROM_LOAD( "pr-1538.55",   0x0000, 0x0100, CRC(025996b1) SHA1(16e927c3a94c46ab2d870a37aa0dfacb4f95bdbf) )
1311   ROM_LOAD( "pr-1539.135",  0x0000, 0x0100, CRC(dd18a9ab) SHA1(365e2f36e60c54f2d782b0c918350f6b565aeda8) )
1312   ROM_LOAD( "pr1540.36",    0x0000, 0x0100, CRC(e767ab01) SHA1(97a1f891f95a2f862ee1319033411d51c47bd593) )
1313   ROM_LOAD( "pr1541.145",   0x0000, 0x0100, CRC(411aa2a5) SHA1(bc6a7119679aaa22f171a9038f49265e8cd4a166) )
1314   ROM_LOAD( "pr-5021.39",   0x0000, 0x0020, CRC(5222c542) SHA1(0745570ca38cf81e28a0fd6221ee26f559ada6b4) )
13151315ROM_END
13161316
13171317
r8054r8055
13891389
13901390ROM_START( sindbadm )
13911391   ROM_REGION( 0xc000, "maincpu", 0 )
1392   ROM_LOAD( "epr5393.new", 0x0000, 0x2000, CRC(51f2e51e) SHA1(0fd96863d0dfaa0bab09be6fea1e7d12b9c40d68) )
1393   ROM_LOAD( "epr5394.new", 0x2000, 0x2000, CRC(d39ce2ee) SHA1(376065a40caa499da99e556098a03387edca5883) )
1394   ROM_LOAD( "epr5395.new", 0x4000, 0x2000, CRC(b1d15c82) SHA1(04f888faee0103cce8c0cd57296d75474b770632) )
1395   ROM_LOAD( "epr5396.new", 0x6000, 0x2000, CRC(ea9d40bf) SHA1(f61ec6e405ba3aa4166a5d6127d9e7bc940f19df) )
1396   ROM_LOAD( "epr5397.new", 0x8000, 0x2000, CRC(595d16dc) SHA1(ea8aa068fc45bb2ee64c4290fad4b8b51e1abe97) )
1397   ROM_LOAD( "epr5398.new", 0xa000, 0x2000, CRC(e57ff63c) SHA1(eac36221cb210743d3c04e51da5956623a28dbdb) )
1392   ROM_LOAD( "epr-5393.4d", 0x0000, 0x2000, CRC(51f2e51e) SHA1(0fd96863d0dfaa0bab09be6fea1e7d12b9c40d68) )
1393   ROM_LOAD( "epr-5394.4e", 0x2000, 0x2000, CRC(d39ce2ee) SHA1(376065a40caa499da99e556098a03387edca5883) )
1394   ROM_LOAD( "epr-5395.4h", 0x4000, 0x2000, CRC(b1d15c82) SHA1(04f888faee0103cce8c0cd57296d75474b770632) )
1395   ROM_LOAD( "epr-5396.4j", 0x6000, 0x2000, CRC(ea9d40bf) SHA1(f61ec6e405ba3aa4166a5d6127d9e7bc940f19df) )
1396   ROM_LOAD( "epr-5397.4l", 0x8000, 0x2000, CRC(595d16dc) SHA1(ea8aa068fc45bb2ee64c4290fad4b8b51e1abe97) )
1397   ROM_LOAD( "epr-5398.4m", 0xa000, 0x2000, CRC(e57ff63c) SHA1(eac36221cb210743d3c04e51da5956623a28dbdb) )
13981398
13991399   ROM_REGION( 0x2000, "audiocpu", 0 )
1400   ROM_LOAD( "epr5400.new", 0x0000, 0x2000, CRC(5114f18e) SHA1(343f96c728f96df5d50a9888fc87488d9440d7f4) )
1400   ROM_LOAD( "epr-5400.4a", 0x0000, 0x2000, CRC(5114f18e) SHA1(343f96c728f96df5d50a9888fc87488d9440d7f4) )
14011401
14021402   ROM_REGION( 0x4000, "gfx1", 0 )
1403   ROM_LOAD( "epr5428.new", 0x0000, 0x2000, CRC(f6044a1e) SHA1(19622aa0991553604236a1ff64a3e5dd1d881ed8) )
1404   ROM_LOAD( "epr5429.new", 0x2000, 0x2000, CRC(b23eca10) SHA1(e00ab3b50b52e16d7281ece42d73603fb188c9b3) )
1403   ROM_LOAD( "epr-5428.9m", 0x0000, 0x2000, CRC(f6044a1e) SHA1(19622aa0991553604236a1ff64a3e5dd1d881ed8) )
1404   ROM_LOAD( "epr-5429.9p", 0x2000, 0x2000, CRC(b23eca10) SHA1(e00ab3b50b52e16d7281ece42d73603fb188c9b3) )
14051405
14061406   ROM_REGION( 0x8000, "gfx2", 0 )
1407   ROM_LOAD( "epr5424.new", 0x0000, 0x2000, CRC(4bfc2e95) SHA1(7d513df944d5768b14983f44a1e3c76930a55e9a) )
1408   ROM_LOAD( "epr5425.new", 0x2000, 0x2000, CRC(b654841a) SHA1(9b224fbe5f4c7bbb486a3d15550cc10e4f317631) )
1409   ROM_LOAD( "epr5426.new", 0x4000, 0x2000, CRC(9de0da28) SHA1(79e01005861e2426a8112544b1bc6d1c6a9ce936) )
1410   ROM_LOAD( "epr5427.new", 0x6000, 0x2000, CRC(a94f4d41) SHA1(fe4f412ea3680c0e5a6242827eab9e82a841d7c7) )
1407   ROM_LOAD( "epr-5424.9e", 0x0000, 0x2000, CRC(4bfc2e95) SHA1(7d513df944d5768b14983f44a1e3c76930a55e9a) )
1408   ROM_LOAD( "epr-5425.9h", 0x2000, 0x2000, CRC(b654841a) SHA1(9b224fbe5f4c7bbb486a3d15550cc10e4f317631) )
1409   ROM_LOAD( "epr-5426.9j", 0x4000, 0x2000, CRC(9de0da28) SHA1(79e01005861e2426a8112544b1bc6d1c6a9ce936) )
1410   ROM_LOAD( "epr-5427.9l", 0x6000, 0x2000, CRC(a94f4d41) SHA1(fe4f412ea3680c0e5a6242827eab9e82a841d7c7) )
14111411ROM_END
14121412
14131413
src/mame/drivers/galaxold.c
r8054r8055
796796   AM_RANGE(0x80, 0x80) AM_READ(soundlatch_r)
797797ADDRESS_MAP_END
798798
799
800799static ADDRESS_MAP_START( hunchbkg, ADDRESS_SPACE_PROGRAM, 8 )
801800   AM_RANGE(0x0000, 0x0fff) AM_ROM
802801   AM_RANGE(0x1480, 0x14bf) AM_MIRROR(0x6000) AM_RAM_WRITE(galaxold_attributesram_w) AM_BASE(&galaxold_attributesram)
803802   AM_RANGE(0x14c0, 0x14ff) AM_MIRROR(0x6000) AM_WRITEONLY AM_BASE(&galaxold_spriteram) AM_SIZE(&galaxold_spriteram_size)
804803   AM_RANGE(0x1500, 0x1500) AM_MIRROR(0x6000) AM_READ_PORT("IN0")
804   AM_RANGE(0x1500, 0x1501) AM_MIRROR(0x6000) AM_WRITE(galaxold_leds_w)         /* not connected ... */
805   AM_RANGE(0x1502, 0x1502) AM_MIRROR(0x6000) AM_WRITE(galaxold_coin_lockout_w)   /* not connected ... */
805806   AM_RANGE(0x1503, 0x1503) AM_MIRROR(0x6000) AM_WRITE(galaxold_coin_counter_w)
807   AM_RANGE(0x1504, 0x1507) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w)
806808   AM_RANGE(0x1580, 0x1580) AM_MIRROR(0x6000) AM_READ_PORT("IN1")
807   AM_RANGE(0x1580, 0x1582) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w)
808   AM_RANGE(0x1583, 0x1583) AM_MIRROR(0x6000) AM_WRITENOP
809   AM_RANGE(0x1584, 0x1587) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w)
809   AM_RANGE(0x1580, 0x1587) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_sound_w)
810   AM_RANGE(0x1583, 0x1583) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w)
811   AM_RANGE(0x1585, 0x1585) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w)
812   AM_RANGE(0x1586, 0x1587) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w)
810813   AM_RANGE(0x1600, 0x1600) AM_MIRROR(0x6000) AM_READ_PORT("DSW0")
811   AM_RANGE(0x1600, 0x1601) AM_MIRROR(0x6000) AM_WRITENOP
812   AM_RANGE(0x1604, 0x1604) AM_MIRROR(0x6000) AM_WRITENOP
814   AM_RANGE(0x1601, 0x1601) AM_MIRROR(0x6000) AM_WRITE(galaxold_nmi_enable_w)
815   AM_RANGE(0x1604, 0x1604) AM_MIRROR(0x6000) AM_WRITE(galaxold_stars_enable_w)
813816   AM_RANGE(0x1606, 0x1606) AM_MIRROR(0x6000) AM_WRITE(galaxold_flip_screen_x_w)
814817   AM_RANGE(0x1607, 0x1607) AM_MIRROR(0x6000) AM_WRITE(galaxold_flip_screen_y_w)
815   AM_RANGE(0x1680, 0x1680) AM_MIRROR(0x6000) AM_READNOP AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w)
818   AM_RANGE(0x1680, 0x1680) AM_MIRROR(0x6000) AM_READ(watchdog_reset_r) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w)
816819   AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0x6000) AM_WRITE(galaxold_videoram_w) AM_BASE(&galaxold_videoram)
817820   AM_RANGE(0x1c00, 0x1fff) AM_MIRROR(0x6000) AM_RAM
818821   AM_RANGE(0x2000, 0x2fff) AM_ROM
r8054r8055
820823   AM_RANGE(0x6000, 0x6fff) AM_ROM
821824ADDRESS_MAP_END
822825
826/* the nmi line seems to be inverted on the cpu plugin board */
823827static ADDRESS_MAP_START( hunchbkg_io, ADDRESS_SPACE_IO, 8 )
824828   AM_RANGE(S2650_DATA_PORT,  S2650_DATA_PORT) AM_READNOP // not used
825   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE")
829   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_DEVREAD("7474_9m_1", ttl7474_output_comp_r)
826830ADDRESS_MAP_END
827831
828832
r8054r8055
17491753   PORT_START("IN0")
17501754   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
17511755   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 )
1752   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_PLAYER(1)
1753   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_PLAYER(1)
1754   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1755   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1756   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
1757   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_PLAYER(1)
1756   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY
1757   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY
1758   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 )
1759   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )   /* labeled "NOT USED" in galaxian schematics */
1760   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P2 Down") PORT_COCKTAIL
1761   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P1 Down") PORT_PLAYER(1)
17581762
17591763   PORT_START("IN1")
1760   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start 1 / P1 Button 1") PORT_PLAYER(1)
1761   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Start 2 / P1 Button 1") PORT_PLAYER(1)
1762   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
1763   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
1764   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1765   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL
1766   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1767   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1764   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P1 Start/Red") PORT_PLAYER(1)
1765   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P2 Start/Red") PORT_COCKTAIL
1766   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_COCKTAIL
1767   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_COCKTAIL
1768   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_COCKTAIL
1769   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )   /* labeled "TABLE" in galaxian schematics */
1770   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Coinage ) )
1771   PORT_DIPSETTING(    0x40, "A 2C/1C  B 1C/3C" )
1772   PORT_DIPSETTING(    0x00, "A 1C/1C  B 1C/5C" )
1773   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Lives ) )
1774   PORT_DIPSETTING(    0x80, "3" )
1775   PORT_DIPSETTING(    0x00, "5" )
17681776
17691777   PORT_START("DSW0")
17701778   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
17711779   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
17721780   PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
1773   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
1774   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1775   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1776   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
1777   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1778   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
1779   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
1780   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1781   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
1782   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
1783   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1784   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
1785   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
1786   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1787   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1788   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
1789   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1790   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
1791   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
1792   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1793   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
1794
1795   PORT_START("SENSE")
1796   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
1781   PORT_DIPNAME( 0x06, 0x00, DEF_STR( Bonus_Life ) )
1782   PORT_DIPSETTING(    0x00, "10000" )
1783   PORT_DIPSETTING(    0x02, "20000" )
1784   PORT_DIPSETTING(    0x04, "40000" )
1785   PORT_DIPSETTING(    0x06, "80000" )
1786   PORT_DIPUNUSED( 0x08, 0x00 )
1787   PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_UNUSED )
17971788INPUT_PORTS_END
17981789
1799
18001790static INPUT_PORTS_START( drivfrcg )
18011791   PORT_START("IN0")
18021792   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
r8054r8055
23422332static MACHINE_DRIVER_START( hunchbkg )
23432333
23442334   /* basic machine hardware */
2345   MDRV_CPU_ADD("maincpu", S2650, PIXEL_CLOCK/2)
2335   MDRV_IMPORT_FROM(galaxold_base)
2336   MDRV_CPU_REPLACE("maincpu", S2650, PIXEL_CLOCK / 4)
23462337   MDRV_CPU_PROGRAM_MAP(hunchbkg)
23472338   MDRV_CPU_IO_MAP(hunchbkg_io)
2348   MDRV_CPU_VBLANK_INT("screen", hunchbks_vh_interrupt)
23492339
2350   MDRV_GFXDECODE(galaxian)
2351   MDRV_PALETTE_LENGTH(32+2+64)      /* 32 for the characters, 2 for the bullets, 64 for the stars */
2340   MDRV_MACHINE_RESET(hunchbkg)
23522341
2353   MDRV_SCREEN_ADD("screen", RASTER)
2354   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
2355   MDRV_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
2356
2357   MDRV_PALETTE_INIT(galaxold)
2358
2359   MDRV_VIDEO_UPDATE(galaxold)
2360   MDRV_VIDEO_START(galaxold_plain)
2361
2362   /* sound hardware */
2363   MDRV_SPEAKER_STANDARD_MONO("mono")
2364
23652342   MDRV_IMPORT_FROM(galaxian_audio)
23662343MACHINE_DRIVER_END
23672344
src/mame/drivers/8080bw.c
r8054r8055
26682668
26692669ROM_START( sflush )
26702670   ROM_REGION( 0x10000, "maincpu", 0 )
2671   ROM_LOAD( "taitofr.005",        0xd800, 0x800, CRC(c4f08f9f) SHA1(997f216f5244942fc1a19f5c1988adbfadc301fc) )
2672   ROM_LOAD( "taitofr.004",        0xe000, 0x800, CRC(87a754a5) SHA1(07c0e2c3cb7aa0086d8f4dd202a452bc6c20d4ee) )
2673   ROM_LOAD( "taitofr.003",        0xe800, 0x800, CRC(5b12847f) SHA1(4b62342723dd49a387fae6637c331d7c853712a3) )
2674   ROM_LOAD( "taitofr.002",        0xf000, 0x800, CRC(291c9b1f) SHA1(7e5b3e1605581abf3d8165f4de9d4e32a5ee3bb0) )
2675   ROM_LOAD( "taitofr.001",        0xf800, 0x800, CRC(55d688c6) SHA1(574a3a2ca73cabb4b8f3444aa4464e6d64daa3ad) )
2671   ROM_LOAD( "fr05.sc2",     0xd800, 0x800, CRC(c4f08f9f) SHA1(997f216f5244942fc1a19f5c1988adbfadc301fc) )
2672   ROM_LOAD( "fr04.sc3",     0xe000, 0x800, CRC(87a754a5) SHA1(07c0e2c3cb7aa0086d8f4dd202a452bc6c20d4ee) )
2673   ROM_LOAD( "fr03.sc4",     0xe800, 0x800, CRC(5b12847f) SHA1(4b62342723dd49a387fae6637c331d7c853712a3) )
2674   ROM_LOAD( "fr02.sc5",     0xf000, 0x800, CRC(291c9b1f) SHA1(7e5b3e1605581abf3d8165f4de9d4e32a5ee3bb0) )
2675   ROM_LOAD( "fr01.sc6",     0xf800, 0x800, CRC(55d688c6) SHA1(574a3a2ca73cabb4b8f3444aa4464e6d64daa3ad) )
26762676ROM_END
26772677
26782678ROM_START( schasercv )
src/mame/drivers/pacland.c
r8054r8055
457457
458458ROM_START( pacland )
459459   ROM_REGION( 0x20000, "maincpu", 0 )
460   ROM_LOAD( "pl5_01b.bin",  0x08000, 0x4000, CRC(b0ea7631) SHA1(424afa6f397310c7af39c9e8b580aa9ccd42c39c) )
461   ROM_LOAD( "pl5_02.bin",   0x0C000, 0x4000, CRC(d903e84e) SHA1(25338726227bfbec65847879aac5228a6a307db4) )
460   ROM_LOAD( "pl5_01b.8b",     0x08000, 0x4000, CRC(b0ea7631) SHA1(424afa6f397310c7af39c9e8b580aa9ccd42c39c) )
461   ROM_LOAD( "pl5_02.8d",      0x0C000, 0x4000, CRC(d903e84e) SHA1(25338726227bfbec65847879aac5228a6a307db4) )
462462   /* all the following are banked at 0x4000-0x5fff */
463   ROM_LOAD( "pl1-3",        0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
464   ROM_LOAD( "pl1-4",        0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
465   ROM_LOAD( "pl1-5",        0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
466   ROM_LOAD( "pl3_06.bin",   0x1c000, 0x4000, CRC(2ffe3319) SHA1(c2540321cd5a1fe29ecb077abdf8f997893192e9) )
463   ROM_LOAD( "pl1_3.8e",       0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
464   ROM_LOAD( "pl1_4.8f",       0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
465   ROM_LOAD( "pl1_5.8h",       0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
466   ROM_LOAD( "pl3_6.8j",       0x1c000, 0x4000, CRC(2ffe3319) SHA1(c2540321cd5a1fe29ecb077abdf8f997893192e9) )
467467
468468   ROM_REGION( 0x10000, "mcu", 0 )
469   ROM_LOAD( "pl1-7",          0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
469   ROM_LOAD( "pl1_7.3e",       0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
470470   ROM_LOAD( "cus60-60a1.mcu", 0xf000, 0x1000, CRC(076ea82a) SHA1(22b5e62e26390d7d5cacc0503c7aa5ed524204df) ) /* Internal code from the MCU */
471471
472472   ROM_REGION( 0x02000, "gfx1", 0 )
473   ROM_LOAD( "pl2_12.bin",   0x00000, 0x2000, CRC(a63c8726) SHA1(b15903fa2267375280af03af0a7157e1b0bcb86d) )   /* chars */
473   ROM_LOAD( "pl2_12.6n",      0x00000, 0x2000, CRC(a63c8726) SHA1(b15903fa2267375280af03af0a7157e1b0bcb86d) )   /* chars */
474474
475475   ROM_REGION( 0x02000, "gfx2", 0 )
476   ROM_LOAD( "pl4_13.bin",   0x00000, 0x2000, CRC(3ae582fd) SHA1(696b2cfadb6b071de8e43d20cd65b37713ca3b30) )
476   ROM_LOAD( "pl4_13.6t",      0x00000, 0x2000, CRC(3ae582fd) SHA1(696b2cfadb6b071de8e43d20cd65b37713ca3b30) )
477477
478478   ROM_REGION( 0x10000, "gfx3", 0 )
479   ROM_LOAD( "pl1-9",        0x00000, 0x4000, CRC(f5d5962b) SHA1(8d008a9bc06dc562c241955d9c551647b5c1f4e9) )   /* sprites */
480   ROM_LOAD( "pl1-8",        0x04000, 0x4000, CRC(a2ebfa4a) SHA1(4a2a2b43a23a7a46266751415d1bde118143429c) )
481   ROM_LOAD( "pl1-10",       0x08000, 0x4000, CRC(c7cf1904) SHA1(7ca8ed20ee32eb8609ac96b4e4fcb3b6027b598a) )
482   ROM_LOAD( "pl1-11",       0x0c000, 0x4000, CRC(6621361a) SHA1(4efa40adba803006e86d5e12514983d4132b5efb) )
479   ROM_LOAD( "pl1-9.6f",       0x00000, 0x4000, CRC(f5d5962b) SHA1(8d008a9bc06dc562c241955d9c551647b5c1f4e9) )   /* sprites */
480   ROM_LOAD( "pl1-8.6e",       0x04000, 0x4000, CRC(a2ebfa4a) SHA1(4a2a2b43a23a7a46266751415d1bde118143429c) )
481   ROM_LOAD( "pl1-10.7e",      0x08000, 0x4000, CRC(c7cf1904) SHA1(7ca8ed20ee32eb8609ac96b4e4fcb3b6027b598a) )
482   ROM_LOAD( "pl1-11.7f",      0x0c000, 0x4000, CRC(6621361a) SHA1(4efa40adba803006e86d5e12514983d4132b5efb) )
483483
484484   ROM_REGION( 0x1400, "proms", 0 )
485   ROM_LOAD( "pl1-2.bin",    0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
486   ROM_LOAD( "pl1-1.bin",    0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
487   ROM_LOAD( "pl1-5.bin",    0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
488   ROM_LOAD( "pl1-4.bin",    0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
489   ROM_LOAD( "pl1-3.bin",    0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
485   ROM_LOAD( "pl1-2.1t",       0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
486   ROM_LOAD( "pl1-1.1r",       0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
487   ROM_LOAD( "pl1-5.5t",       0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
488   ROM_LOAD( "pl1-4.4n",       0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
489   ROM_LOAD( "pl1-3.6l",       0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
490490ROM_END
491491
492ROM_START( pacland2 )
492ROM_START( paclandj )
493493   ROM_REGION( 0x20000, "maincpu", 0 )
494   ROM_LOAD( "pl6_01.bin",   0x08000, 0x4000, CRC(4c96e11c) SHA1(c136dc3877155b7a600173c876f6a53394d9260d) )
495   ROM_LOAD( "pl6_02.bin",   0x0C000, 0x4000, CRC(8cf5bd8d) SHA1(0771ca1ab5db58f5632583a5e6e84660e8ab727d) )
494   ROM_LOAD( "pl6_01.8b",      0x08000, 0x4000, CRC(4c96e11c) SHA1(c136dc3877155b7a600173c876f6a53394d9260d) )
495   ROM_LOAD( "pl6_02.8d",      0x0C000, 0x4000, CRC(8cf5bd8d) SHA1(0771ca1ab5db58f5632583a5e6e84660e8ab727d) )
496496   /* all the following are banked at 0x4000-0x5fff */
497   ROM_LOAD( "pl1-3",        0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
498   ROM_LOAD( "pl1-4",        0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
499   ROM_LOAD( "pl1-5",        0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
500   ROM_LOAD( "pl1-6",        0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
497   ROM_LOAD( "pl1_3.8e",       0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
498   ROM_LOAD( "pl1_4.8f",       0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
499   ROM_LOAD( "pl1_5.8h",       0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
500   ROM_LOAD( "pl1_6.8j",       0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
501501
502502   ROM_REGION( 0x10000, "mcu", 0 )
503   ROM_LOAD( "pl1-7",          0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
503   ROM_LOAD( "pl1_7.3e",       0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
504504   ROM_LOAD( "cus60-60a1.mcu", 0xf000, 0x1000, CRC(076ea82a) SHA1(22b5e62e26390d7d5cacc0503c7aa5ed524204df) ) /* Internal code from the MCU */
505505
506506   ROM_REGION( 0x02000, "gfx1", 0 )
507   ROM_LOAD( "pl0_12.bin",   0x00000, 0x2000, CRC(c8cb61ab) SHA1(ec33d64949a8c011430e889f55f54816b33c4218) )   /* chars */
507   ROM_LOAD( "pl6_12.6n",      0x00000, 0x2000, CRC(c8cb61ab) SHA1(ec33d64949a8c011430e889f55f54816b33c4218) )   /* chars */
508508
509509   ROM_REGION( 0x02000, "gfx2", 0 )
510   ROM_LOAD( "pl1-13",       0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
510   ROM_LOAD( "pl1_13.6t",      0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
511511
512512   ROM_REGION( 0x10000, "gfx3", 0 )
513   ROM_LOAD( "pl1_09b.bin",  0x00000, 0x4000, CRC(80768a87) SHA1(1572f309e810d9eb007a1c8b2aa8463027c146ca) )   /* sprites */
514   ROM_LOAD( "pl1_08.bin",   0x04000, 0x4000, CRC(2b20e46d) SHA1(9f78952ae94fef6a83a15de35d5fefdf71e78488) )
515   ROM_LOAD( "pl1_10b.bin",  0x08000, 0x4000, CRC(ffd9d66e) SHA1(9a6e9ad500fcb7a67cb3c45d029c2aa7636a64f9) )
516   ROM_LOAD( "pl1_11.bin",   0x0c000, 0x4000, CRC(c59775d8) SHA1(034281c8101719d79043df31ef845fd28c0c69c0) )
513   ROM_LOAD( "pl1_9b.6f",      0x00000, 0x4000, CRC(80768a87) SHA1(1572f309e810d9eb007a1c8b2aa8463027c146ca) )   /* sprites */
514   ROM_LOAD( "pl1_8.6e",       0x04000, 0x4000, CRC(2b20e46d) SHA1(9f78952ae94fef6a83a15de35d5fefdf71e78488) )
515   ROM_LOAD( "pl1_10b.7e",     0x08000, 0x4000, CRC(ffd9d66e) SHA1(9a6e9ad500fcb7a67cb3c45d029c2aa7636a64f9) )
516   ROM_LOAD( "pl1_11.7f",      0x0c000, 0x4000, CRC(c59775d8) SHA1(034281c8101719d79043df31ef845fd28c0c69c0) )
517517
518518   ROM_REGION( 0x1400, "proms", 0 )
519   ROM_LOAD( "pl1-2.bin",    0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
520   ROM_LOAD( "pl1-1.bin",    0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
521   ROM_LOAD( "pl1-5.bin",    0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
522   ROM_LOAD( "pl1-4.bin",    0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
523   ROM_LOAD( "pl1-3.bin",    0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
519   ROM_LOAD( "pl1-2.1t",       0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
520   ROM_LOAD( "pl1-1.1r",       0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
521   ROM_LOAD( "pl1-5.5t",       0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
522   ROM_LOAD( "pl1-4.4n",       0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
523   ROM_LOAD( "pl1-3.6l",       0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
524524ROM_END
525525
526ROM_START( pacland3 )
526ROM_START( paclandjo )
527527   ROM_REGION( 0x20000, "maincpu", 0 )
528   ROM_LOAD( "pln1-1",       0x08000, 0x4000, CRC(f729fb94) SHA1(332ff2e4aae67eb8ed0f52048097f74323a176f8) )
529   ROM_LOAD( "pln1-2",       0x0C000, 0x4000, CRC(5c66eb6f) SHA1(376233f51e655df8922886c1e808a2f37ccae5d4) )
528   ROM_LOAD( "pl1_1.8b",       0x08000, 0x4000, CRC(f729fb94) SHA1(332ff2e4aae67eb8ed0f52048097f74323a176f8) )
529   ROM_LOAD( "pl1_2.8d",       0x0C000, 0x4000, CRC(5c66eb6f) SHA1(376233f51e655df8922886c1e808a2f37ccae5d4) )
530530   /* all the following are banked at 0x4000-0x5fff */
531   ROM_LOAD( "pl1-3",        0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
532   ROM_LOAD( "pl1-4",        0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
533   ROM_LOAD( "pl1-5",        0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
534   ROM_LOAD( "pl1-6",        0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
531   ROM_LOAD( "pl1_3.8e",       0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
532   ROM_LOAD( "pl1_4.8f",       0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
533   ROM_LOAD( "pl1_5.8h",       0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
534   ROM_LOAD( "pl1_6.8j",       0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
535535
536536   ROM_REGION( 0x10000, "mcu", 0 )
537   ROM_LOAD( "pl1-7",          0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
537   ROM_LOAD( "pl1_7.3e",       0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
538538   ROM_LOAD( "cus60-60a1.mcu", 0xf000, 0x1000, CRC(076ea82a) SHA1(22b5e62e26390d7d5cacc0503c7aa5ed524204df) ) /* Internal code from the MCU */
539539
540540   ROM_REGION( 0x02000, "gfx1", 0 )
541   ROM_LOAD( "pl1-12",       0x00000, 0x2000, CRC(c159fbce) SHA1(b0326c85b7df407f3e94c38a5971f911968d7b27) )   /* chars */
541   ROM_LOAD( "pl1_12.6n",      0x00000, 0x2000, CRC(c159fbce) SHA1(b0326c85b7df407f3e94c38a5971f911968d7b27) )   /* chars */
542542
543543   ROM_REGION( 0x02000, "gfx2", 0 )
544   ROM_LOAD( "pl1-13",       0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
544   ROM_LOAD( "pl1_13.6t",      0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
545545
546546   ROM_REGION( 0x10000, "gfx3", 0 )
547   ROM_LOAD( "pl1_09b.bin",  0x00000, 0x4000, CRC(80768a87) SHA1(1572f309e810d9eb007a1c8b2aa8463027c146ca) )   /* sprites */
548   ROM_LOAD( "pl1_08.bin",   0x04000, 0x4000, CRC(2b20e46d) SHA1(9f78952ae94fef6a83a15de35d5fefdf71e78488) )
549   ROM_LOAD( "pl1_10b.bin",  0x08000, 0x4000, CRC(ffd9d66e) SHA1(9a6e9ad500fcb7a67cb3c45d029c2aa7636a64f9) )
550   ROM_LOAD( "pl1_11.bin",   0x0c000, 0x4000, CRC(c59775d8) SHA1(034281c8101719d79043df31ef845fd28c0c69c0) )
547   ROM_LOAD( "pl1_9b.6f",      0x00000, 0x4000, CRC(80768a87) SHA1(1572f309e810d9eb007a1c8b2aa8463027c146ca) )   /* sprites */
548   ROM_LOAD( "pl1_8.6e",       0x04000, 0x4000, CRC(2b20e46d) SHA1(9f78952ae94fef6a83a15de35d5fefdf71e78488) )
549   ROM_LOAD( "pl1_10b.7e",     0x08000, 0x4000, CRC(ffd9d66e) SHA1(9a6e9ad500fcb7a67cb3c45d029c2aa7636a64f9) )
550   ROM_LOAD( "pl1_11.7f",      0x0c000, 0x4000, CRC(c59775d8) SHA1(034281c8101719d79043df31ef845fd28c0c69c0) )
551551
552552   ROM_REGION( 0x1400, "proms", 0 )
553   ROM_LOAD( "pl1-2.bin",    0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
554   ROM_LOAD( "pl1-1.bin",    0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
555   ROM_LOAD( "pl1-5.bin",    0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
556   ROM_LOAD( "pl1-4.bin",    0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
557   ROM_LOAD( "pl1-3.bin",    0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
553   ROM_LOAD( "pl1-2.1t",       0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
554   ROM_LOAD( "pl1-1.1r",       0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
555   ROM_LOAD( "pl1-5.5t",       0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
556   ROM_LOAD( "pl1-4.4n",       0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
557   ROM_LOAD( "pl1-3.6l",       0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
558558ROM_END
559559
560ROM_START( paclandjo2 )
561   ROM_REGION( 0x20000, "maincpu", 0 )
562   ROM_LOAD( "pl1_1.8b",       0x08000, 0x4000, CRC(f729fb94) SHA1(332ff2e4aae67eb8ed0f52048097f74323a176f8) )
563   ROM_LOAD( "pl1_2.8d",       0x0C000, 0x4000, CRC(5c66eb6f) SHA1(376233f51e655df8922886c1e808a2f37ccae5d4) )
564   /* all the following are banked at 0x4000-0x5fff */
565   ROM_LOAD( "pl1_3.8e",       0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
566   ROM_LOAD( "pl1_4.8f",       0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
567   ROM_LOAD( "pl1_5.8h",       0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
568   ROM_LOAD( "pl1_6.8j",       0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
569
570   ROM_REGION( 0x10000, "mcu", 0 )
571   ROM_LOAD( "pl1_7.3e",       0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
572   ROM_LOAD( "cus60-60a1.mcu", 0xf000, 0x1000, CRC(076ea82a) SHA1(22b5e62e26390d7d5cacc0503c7aa5ed524204df) ) /* Internal code from the MCU */
573
574   ROM_REGION( 0x02000, "gfx1", 0 )
575   ROM_LOAD( "pl1_12.6n",      0x00000, 0x2000, CRC(c159fbce) SHA1(b0326c85b7df407f3e94c38a5971f911968d7b27) )   /* chars */
576
577   ROM_REGION( 0x02000, "gfx2", 0 )
578   ROM_LOAD( "pl1_13.6t",      0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
579
580   ROM_REGION( 0x10000, "gfx3", 0 )
581   ROM_LOAD( "pl1_9.6f",       0x00000, 0x4000, CRC(80768a87) SHA1(1572f309e810d9eb007a1c8b2aa8463027c146ca) )   /* sprites */
582   ROM_LOAD( "pl1_8.6e",       0x04000, 0x4000, CRC(2b20e46d) SHA1(9f78952ae94fef6a83a15de35d5fefdf71e78488) )
583   ROM_LOAD( "pl1_10.7e",      0x08000, 0x4000, CRC(c62660e8) SHA1(ff922c26f32264b35fa2b07c64097a331437dd64) )
584   ROM_LOAD( "pl1_11.7f",      0x0c000, 0x4000, CRC(c59775d8) SHA1(034281c8101719d79043df31ef845fd28c0c69c0) )
585
586   ROM_REGION( 0x1400, "proms", 0 )
587   ROM_LOAD( "pl1-2.1t",       0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
588   ROM_LOAD( "pl1-1.1r",       0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
589   ROM_LOAD( "pl1-5.5t",       0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
590   ROM_LOAD( "pl1-4.4n",       0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
591   ROM_LOAD( "pl1-3.6l",       0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
592ROM_END
593
560594ROM_START( paclandm )
561595   ROM_REGION( 0x20000, "maincpu", 0 )
562   ROM_LOAD( "pl1-1",        0x08000, 0x4000, CRC(a938ae99) SHA1(bf12097d8c69685cb7af763f9b9617c767aaed2f) )
563   ROM_LOAD( "pl1-2",        0x0C000, 0x4000, CRC(3fe43bb5) SHA1(14e6144d06ff2fd786f383f36f1b8238ac364849) )
596   ROM_LOAD( "pl1-1",          0x08000, 0x4000, CRC(a938ae99) SHA1(bf12097d8c69685cb7af763f9b9617c767aaed2f) )
597   ROM_LOAD( "pl1-2",          0x0C000, 0x4000, CRC(3fe43bb5) SHA1(14e6144d06ff2fd786f383f36f1b8238ac364849) )
564598   /* all the following are banked at 0x4000-0x5fff */
565   ROM_LOAD( "pl1-3",        0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
566   ROM_LOAD( "pl1-4",        0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
567   ROM_LOAD( "pl1-5",        0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
568   ROM_LOAD( "pl1-6",        0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
599   ROM_LOAD( "pl1_3.8e",       0x10000, 0x4000, CRC(aa9fa739) SHA1(7b1f7857eb5f68e166b1f8988c82051aaf05df48) )
600   ROM_LOAD( "pl1_4.8f",       0x14000, 0x4000, CRC(2b895a90) SHA1(820f8873c6a5a736089406d0f03d491dfb82d00d) )
601   ROM_LOAD( "pl1_5.8h",       0x18000, 0x4000, CRC(7af66200) SHA1(f44161ded1633e9801b7a9cd84d481e53823f5d9) )
602   ROM_LOAD( "pl1_6.8j",       0x1c000, 0x4000, CRC(b01e59a9) SHA1(e5b093852d33a4d09969d111fa6e42e964aa4dac) )
569603
570604   ROM_REGION( 0x10000, "mcu", 0 )
571   ROM_LOAD( "pl1-7",          0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
605   ROM_LOAD( "pl1_7.3e",       0x8000, 0x2000, CRC(8c5becae) SHA1(14d67136395c4c64472980a69648ce2d479ae67f) ) /* sub program for the mcu */
572606   ROM_LOAD( "cus60-60a1.mcu", 0xf000, 0x1000, CRC(076ea82a) SHA1(22b5e62e26390d7d5cacc0503c7aa5ed524204df) ) /* Internal code from the MCU */
573607
574608   ROM_REGION( 0x02000, "gfx1", 0 )
575   ROM_LOAD( "pl1-12",       0x00000, 0x2000, CRC(c159fbce) SHA1(b0326c85b7df407f3e94c38a5971f911968d7b27) )   /* chars */
609   ROM_LOAD( "pl1_12.6n",      0x00000, 0x2000, CRC(c159fbce) SHA1(b0326c85b7df407f3e94c38a5971f911968d7b27) )   /* chars */
576610
577611   ROM_REGION( 0x02000, "gfx2", 0 )
578   ROM_LOAD( "pl1-13",       0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
612   ROM_LOAD( "pl1_13.6t",      0x00000, 0x2000, CRC(6c5ed9ae) SHA1(db919c9254289179e98ba5d2ed8c66d67ae95f35) )
579613
580614   ROM_REGION( 0x10000, "gfx3", 0 )
581   ROM_LOAD( "pl1-9",        0x00000, 0x4000, CRC(f5d5962b) SHA1(8d008a9bc06dc562c241955d9c551647b5c1f4e9) )   /* sprites */
582   ROM_LOAD( "pl1-8",        0x04000, 0x4000, CRC(a2ebfa4a) SHA1(4a2a2b43a23a7a46266751415d1bde118143429c) )
583   ROM_LOAD( "pl1-10",       0x08000, 0x4000, CRC(c7cf1904) SHA1(7ca8ed20ee32eb8609ac96b4e4fcb3b6027b598a) )
584   ROM_LOAD( "pl1-11",       0x0c000, 0x4000, CRC(6621361a) SHA1(4efa40adba803006e86d5e12514983d4132b5efb) )
615   ROM_LOAD( "pl1-9.6f",       0x00000, 0x4000, CRC(f5d5962b) SHA1(8d008a9bc06dc562c241955d9c551647b5c1f4e9) )   /* sprites */
616   ROM_LOAD( "pl1-8.6e",       0x04000, 0x4000, CRC(a2ebfa4a) SHA1(4a2a2b43a23a7a46266751415d1bde118143429c) )
617   ROM_LOAD( "pl1-10.7e",      0x08000, 0x4000, CRC(c7cf1904) SHA1(7ca8ed20ee32eb8609ac96b4e4fcb3b6027b598a) )
618   ROM_LOAD( "pl1-11.7f",      0x0c000, 0x4000, CRC(6621361a) SHA1(4efa40adba803006e86d5e12514983d4132b5efb) )
585619
586620   ROM_REGION( 0x1400, "proms", 0 )
587   ROM_LOAD( "pl1-2.bin",    0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
588   ROM_LOAD( "pl1-1.bin",    0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
589   ROM_LOAD( "pl1-5.bin",    0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
590   ROM_LOAD( "pl1-4.bin",    0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
591   ROM_LOAD( "pl1-3.bin",    0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
621   ROM_LOAD( "pl1-2.1t",       0x0000, 0x0400, CRC(472885de) SHA1(8d552c90b8d5bc6ad6c60934c00f4303cd180ce7) )   /* red and green component */
622   ROM_LOAD( "pl1-1.1r",       0x0400, 0x0400, CRC(a78ebdaf) SHA1(8ea215701eb5e1a2a329ef92c19fc69b18fc28c7) )   /* blue component */
623   ROM_LOAD( "pl1-5.5t",       0x0800, 0x0400, CRC(4b7ee712) SHA1(dd0ec4c632d8b160f7b54d8f18fcf4ef1508d832) )   /* foreground lookup table */
624   ROM_LOAD( "pl1-4.4n",       0x0c00, 0x0400, CRC(3a7be418) SHA1(475cdc68205e3acce83fe79b00b74c6a7e28dde4) )   /* background lookup table */
625   ROM_LOAD( "pl1-3.6l",       0x1000, 0x0400, CRC(80558da8) SHA1(7e1483467817295f36d1e2bdb32934c4f2617d52) )   /* sprites lookup table */
592626ROM_END
593627
594628
595629
596GAME( 1984, pacland,  0,       pacland, pacland, 0, ROT0, "Namco", "Pac-Land (World)", GAME_SUPPORTS_SAVE )
597GAME( 1984, pacland2, pacland, pacland, pacland, 0, ROT0, "Namco", "Pac-Land (Japan newer)", GAME_SUPPORTS_SAVE )
598GAME( 1984, pacland3, pacland, pacland, pacland, 0, ROT0, "Namco", "Pac-Land (Japan older)", GAME_SUPPORTS_SAVE )
599GAME( 1984, paclandm, pacland, pacland, pacland, 0, ROT0, "[Namco] (Bally Midway license)", "Pac-Land (Midway)", GAME_SUPPORTS_SAVE )
630GAME( 1984, pacland,   0,       pacland, pacland, 0, ROT0, "Namco", "Pac-Land (World)", GAME_SUPPORTS_SAVE )
631GAME( 1984, paclandj,  pacland, pacland, pacland, 0, ROT0, "Namco", "Pac-Land (Japan new)", GAME_SUPPORTS_SAVE )
632GAME( 1984, paclandjo, pacland, pacland, pacland, 0, ROT0, "Namco", "Pac-Land (Japan old)", GAME_SUPPORTS_SAVE )
633GAME( 1984, paclandjo2,pacland, pacland, pacland, 0, ROT0, "Namco", "Pac-Land (Japan older)", GAME_SUPPORTS_SAVE )
634GAME( 1984, paclandm,  pacland, pacland, pacland, 0, ROT0, "[Namco] (Bally Midway license)", "Pac-Land (Midway)", GAME_SUPPORTS_SAVE )
src/mame/drivers/mcr68.c
r8054r8055
515515   PORT_DIPSETTING(      0x0040, DEF_STR( Easy ) )
516516   PORT_DIPSETTING(      0x0000, DEF_STR( Medium ) )
517517   PORT_DIPSETTING(      0x0080, DEF_STR( Hard ) )
518/*  PORT_DIPSETTING(      0x00c0, DEF_STR( Medium ) )*/
518   PORT_DIPSETTING(      0x00c0, "Medium (duplicate)" )
519519   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
520520INPUT_PORTS_END
521521
r8054r8055
555555   PORT_DIPSETTING(      0x0002, DEF_STR( 2C_1C ) )
556556   PORT_DIPSETTING(      0x0003, DEF_STR( 1C_1C ) )
557557   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_2C ) )
558   /*PORT_DIPSETTING(      0x0000, DEF_STR( 1C_2C ) )*/
558   PORT_DIPSETTING(      0x0000, "1C/2C (duplicate)" )
559559   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )
560560   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
561561   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r8054r8055
620620   PORT_DIPSETTING(      0x0002, DEF_STR( 2C_1C ) )
621621   PORT_DIPSETTING(      0x0003, DEF_STR( 1C_1C ) )
622622   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_2C ) )
623   /*PORT_DIPSETTING(      0x0000, DEF_STR( 1C_2C ) )*/
623   PORT_DIPSETTING(      0x0000, "1C/2C (duplicate)" )
624624   PORT_DIPNAME( 0x000c, 0x0000, DEF_STR( Difficulty ) )
625625   PORT_DIPSETTING(      0x0008, DEF_STR( Easy ) )
626626   PORT_DIPSETTING(      0x0000, DEF_STR( Medium ) )
627627   PORT_DIPSETTING(      0x0004, DEF_STR( Hard ) )
628/*  PORT_DIPSETTING(      0x000c, DEF_STR( Medium ) )*/
628   PORT_DIPSETTING(      0x000c, "Medium (duplicate)" )
629629   PORT_DIPNAME( 0x0020, 0x0020, "Dollar Receptor" )
630630   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
631631   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r8054r8055
638638   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
639639INPUT_PORTS_END
640640
641static INPUT_PORTS_START( intlaser )
642   PORT_START("IN0")
643   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
644   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
645   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 )
646   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 )
647   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_TILT )
648   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED )
649   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_SERVICE1 )
650   PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
651   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
652   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
653   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
654   PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4)
655   PORT_BIT( 0xf000, IP_ACTIVE_LOW, IPT_UNUSED )
641656
657   PORT_START("IN1")
658   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
659   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
660   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
661   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
662   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
663   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
664   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
665   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
666   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3)
667   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3)
668   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3)
669   PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3)
670   PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4)
671   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4)
672   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4)
673   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4)
674
675   PORT_START("DSW")
676    PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
677    PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
678    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
679    PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )
680    PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
681    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
682    PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
683    PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
684    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
685    PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) )
686    PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
687    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
688    PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
689    PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
690    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
691    PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
692    PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
693    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
694    PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
695    PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
696    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
697    PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
698    PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
699    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
700   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
701INPUT_PORTS_END
702
703
642704static INPUT_PORTS_START( archrivl )
643705   PORT_START("IN0")
644706   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
r8054r8055
9531015   MDRV_IMPORT_FROM(sounds_good)
9541016MACHINE_DRIVER_END
9551017
1018static MACHINE_DRIVER_START( intlaser )
9561019
1020   /* basic machine hardware */
1021   MDRV_IMPORT_FROM(mcr68)
1022   MDRV_IMPORT_FROM(sounds_good)
1023
1024   MDRV_WATCHDOG_VBLANK_INIT(800)
1025MACHINE_DRIVER_END
1026
1027
9571028static MACHINE_DRIVER_START( spyhunt2 )
9581029
9591030   /* basic machine hardware */
r8054r8055
12231294   ROM_LOAD( "pal20.u15",    0x00005, 0x00001, NO_DUMP ) /* marked SG01R0 in manual, pal type not specified */
12241295ROM_END
12251296
1297ROM_START( intlaser )
1298   ROM_REGION( 0x40000, "maincpu", 0 )
1299   ROM_LOAD16_BYTE( "3c.bin",  0x00000, 0x10000, CRC(ddab582a) SHA1(db124e35b7b33d282f71104412a8dab71ce71cb4) )
1300   ROM_LOAD16_BYTE( "3b.bin",  0x00001, 0x10000, CRC(e4498eca) SHA1(69cbc80ab9a801e957a74278475869d3b54e9a2a) )
1301   ROM_LOAD16_BYTE( "2c.bin",  0x20000, 0x10000, CRC(d2cca853) SHA1(69e4ee8203c6dda7b4ec97c247fbcdc9fdc9ff8d) )
1302   ROM_LOAD16_BYTE( "2b.bin",  0x20001, 0x10000, CRC(3802cfe2) SHA1(d10c802500bae14acc3230ca34c2d1806b68ce4a) )
12261303
1304   ROM_REGION( 0x40000, "sgcpu", 0 )  /* Sounds Good board */
1305   ROM_LOAD16_BYTE( "u7.bin",  0x00000, 0x10000, CRC(19ad1e45) SHA1(838ad7304248690d3fdf9e4edf3856936bf36d42) )
1306   ROM_LOAD16_BYTE( "u17.bin", 0x00001, 0x10000, CRC(d6118949) SHA1(9e059f28d9eb8dee10301662a65588cffaf6fd16) )
1307   ROM_LOAD16_BYTE( "u8.bin",  0x20000, 0x10000, CRC(d6cc99aa) SHA1(b970d6e87778959cf7322158b8df26c5028e3f45) )
1308   ROM_LOAD16_BYTE( "u18.bin", 0x20001, 0x10000, CRC(3488a5cd) SHA1(9b8d37ee7de01982eee074244e14d33eef3644c8) )
1309
1310   ROM_REGION( 0x10000, "gfx1", ROMREGION_INVERT )
1311   ROM_LOAD( "11d.bin",  0x00000, 0x08000, CRC(ce508d5f) SHA1(2118f3654b4306739cdeed9204dff3eda9de3cb7) )
1312   ROM_LOAD( "12d.bin",  0x08000, 0x08000, CRC(fbcb3391) SHA1(7fbb59e86ac7c01581786f2e46fa9f400d75647b) )
1313
1314   ROM_REGION( 0x80000, "gfx2", 0 )
1315   ROM_LOAD( "7j.bin",  0x00000, 0x20000, CRC(ac050bd7) SHA1(1a5e67661039ec4d1fa078315c09941dfb2b98d8) )
1316   ROM_LOAD( "8j.bin",  0x20000, 0x20000, CRC(f10b12b3) SHA1(30770ed5c803a9937d90f9f27204e51f665652d7) )
1317   ROM_LOAD( "9j.bin",  0x40000, 0x20000, CRC(a18f6911) SHA1(6b50d0c8ca4886f04493756995a0ea27a7ca5433) )
1318   ROM_LOAD( "10j.bin", 0x60000, 0x20000, CRC(203b55b8) SHA1(72311af32039d09f3b0f4641b71eaf836302fc9a) )
1319
1320   ROM_REGION( 0x0006, "plds", 0 )
1321    /* According to the manual these pal's are located on the Video Game board */
1322   ROM_LOAD( "pal20l8.9b",   0x00000, 0x00001, NO_DUMP ) /* marked COLARB in manual */
1323   ROM_LOAD( "pal16l8.1j",   0x00001, 0x00001, NO_DUMP ) /* marked IODCD in manual */
1324   ROM_LOAD( "pal16l8.2j",   0x00002, 0x00001, NO_DUMP ) /* marked MEMDCD in manual */
1325   ROM_LOAD( "pal16r4.2k",   0x00003, 0x00001, NO_DUMP ) /* marked DTACK in manual */
1326   ROM_LOAD( "pal16r4.14k",  0x00004, 0x00001, NO_DUMP ) /* marked HSYNC in manual*/
1327    /* According to the manual this pal is located on the "Sounds Good" board */
1328   ROM_LOAD( "pal20.u15",    0x00005, 0x00001, NO_DUMP ) /* marked SG01R0 in manual, pal type not specified */
1329ROM_END
1330
1331
12271332ROM_START( archrivl )
12281333   ROM_REGION( 0x40000, "maincpu", 0 )
12291334   ROM_LOAD16_BYTE( "3c-rev2",  0x00000, 0x10000, CRC(60d4b760) SHA1(9c24c72f62310475b0dade85299cb661904f8f41) )
r8054r8055
14571562   memory_install_readwrite16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x0a0000, 0x0a000f, 0, 0, mcr68_6840_lower_r, mcr68_6840_lower_w);
14581563}
14591564
1565static DRIVER_INIT( intlaser )
1566{
1567   mcr68_common_init(machine, MCR_SOUNDS_GOOD, 0, 0);
14601568
1569   /* Copied from Blasted */
1570   mcr68_timing_factor = attotime_make(0, HZ_TO_ATTOSECONDS(cputag_get_clock(machine, "maincpu") / 10) * (256 + 16));
1571
1572   /* handle control writes */
1573   memory_install_write16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x0c0000, 0x0cffff, 0, 0, blasted_control_w);
1574
1575}
1576
1577
1578
14611579static DRIVER_INIT( archrivl )
14621580{
14631581   mcr68_common_init(machine, MCR_WILLIAMS_SOUND, 16, 0);
r8054r8055
15101628GAME( 1987, spyhunt2, 0,        spyhunt2, spyhunt2, spyhunt2, ROT0,   "Bally Midway", "Spy Hunter 2 (rev 2)", GAME_SUPPORTS_SAVE )
15111629GAME( 1987, spyhunt2a,spyhunt2, spyhunt2, spyhunt2, spyhunt2, ROT0,   "Bally Midway", "Spy Hunter 2 (rev 1)", GAME_SUPPORTS_SAVE )
15121630GAME( 1988, blasted,  0,        xenophob, blasted,  blasted,  ROT0,   "Bally Midway", "Blasted", GAME_SUPPORTS_SAVE )
1631GAME( 1987, intlaser, blasted,  intlaser, intlaser, intlaser, ROT0,   "Bally Midway", "International Team Laser (prototype)", GAME_SUPPORTS_SAVE )
15131632GAME( 1989, archrivl, 0,        archrivl, archrivl, archrivl, ROT0,   "Bally Midway", "Arch Rivals (rev 4.0)", GAME_SUPPORTS_SAVE )
15141633GAME( 1989, archrivl2,archrivl, archrivl, archrivl, archrivl, ROT0,   "Bally Midway", "Arch Rivals (rev 2.0)", GAME_SUPPORTS_SAVE )
15151634GAME( 1989, trisport, 0,        trisport, trisport, trisport, ROT270, "Bally Midway", "Tri-Sports", GAME_SUPPORTS_SAVE )
src/mame/drivers/cojag.c
r8054r8055
371371   /* halt the CPUs */
372372   jaguargpu_ctrl_w(devtag_get_device(machine, "gpu"), G_CTRL, 0, 0xffffffff);
373373   jaguardsp_ctrl_w(devtag_get_device(machine, "audiocpu"), D_CTRL, 0, 0xffffffff);
374
375   /* set blitter idle flag */
376   blitter_status = 1;
374377}
375378
376379
src/mame/drivers/jollyjgr.c
r8054r8055
9595  The hardware is very similar to Galaxian but has some differencies, like the 3bpp bitmap addition
9696  To advance input tests, press Tilt button
9797
98TODO (Frog & Spiders):
99- Missing projectiles;
100- inputs needs to be done from scratch;
101
10298*/
10399
104100#include "emu.h"
r8054r8055
117113   UINT8 *  videoram;
118114   UINT8 *  colorram;
119115   UINT8 *  spriteram;
116   UINT8 *  bulletram;
120117   UINT8 *  bitmap;
121118
122119   /* video-related */
r8054r8055
220217   AM_RANGE(0x9000, 0x93ff) AM_RAM_WRITE(jollyjgr_videoram_w) AM_BASE_MEMBER(jollyjgr_state, videoram)
221218   AM_RANGE(0x9800, 0x983f) AM_RAM_WRITE(jollyjgr_attrram_w) AM_BASE_MEMBER(jollyjgr_state, colorram)
222219   AM_RANGE(0x9840, 0x987f) AM_RAM AM_BASE_MEMBER(jollyjgr_state, spriteram)
223   AM_RANGE(0x9880, 0x9bff) AM_RAM
220   AM_RANGE(0x9880, 0x989f) AM_RAM // ?
221   AM_RANGE(0x98a0, 0x98af) AM_RAM AM_BASE_MEMBER(jollyjgr_state, bulletram)
222   AM_RANGE(0x98b0, 0x9bff) AM_RAM // ?
224223   AM_RANGE(0xa000, 0xffff) AM_RAM AM_BASE_MEMBER(jollyjgr_state, bitmap)
225224ADDRESS_MAP_END
226225
r8054r8055
365364   PORT_START("INPUTS")
366365   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY
367366   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY
368   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_2WAY
369   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_2WAY
367   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 )
368   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 )
370369   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_COCKTAIL
371370   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_COCKTAIL
372   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_2WAY PORT_COCKTAIL
373   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_2WAY PORT_COCKTAIL
371   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL
372   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_COCKTAIL
374373
375374   PORT_START("SYSTEM")
376375   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE1 )
r8054r8055
523522   return 0;
524523}
525524
525static VIDEO_UPDATE( fspider )
526{
527   jollyjgr_state *state = (jollyjgr_state *)screen->machine->driver_data;
528
529   // Draw bg and sprites
530   VIDEO_UPDATE_CALL(jollyjgr);
531
532   /* Draw bullets
533    16 bytes, 2 bytes per bullet (y,x). 2 player bullets, 6 enemy bullets.
534    Assume bullets to look the same as on Galaxian hw,
535    that is, simply 4 pixels. Colours are unknown. */
536   for (int offs=0;offs<0x10;offs+=2) {
537      UINT8 sy=~state->bulletram[offs];
538      UINT8 sx=~state->bulletram[offs|1];
539      UINT16 bc=(offs<4)?
540         32+7: // player, white
541         32+3; // enemy, yellow
542
543      if (state->flip_y) sy^=0xff;
544      if (state->flip_x) sx+=8;
545
546      if (sy>=cliprect->min_y && sy<=cliprect->max_y)
547         for (int x=sx-4;x<sx;x++)
548            if (x>=cliprect->min_x && x<=cliprect->max_x)
549               *BITMAP_ADDR16(bitmap,sy,x)=bc;
550   }
551
552   return 0;
553}
554
526555/*************************************
527556 *
528557 *  Graphics definitions
r8054r8055
581610   state_save_register_global(machine, state->nmi_enable);
582611   state_save_register_global(machine, state->flip_x);
583612   state_save_register_global(machine, state->flip_y);
613   state_save_register_global(machine, state->bitmap_disable);
614   state_save_register_global(machine, state->tilemap_bank);
584615}
585616
586617static MACHINE_RESET( jollyjgr )
r8054r8055
590621   state->nmi_enable = 0;
591622   state->flip_x = 0;
592623   state->flip_y = 0;
624   state->bitmap_disable = 0;
625   state->tilemap_bank = 0;
593626}
594627
595628static MACHINE_DRIVER_START( jollyjgr )
r8054r8055
633666   MDRV_CPU_MODIFY("maincpu")
634667   MDRV_CPU_PROGRAM_MAP(fspider_map)
635668
669   MDRV_VIDEO_UPDATE(fspider)
670
636671MACHINE_DRIVER_END
637672
638673/*************************************
r8054r8055
710745 *
711746 *************************************/
712747
713GAME( 1981, fspiderb, 0, fspider, fspider, 0, ROT90, "Taito Corporation", "Frog & Spiders (bootleg)", GAME_NOT_WORKING ) //comes from a Fawaz Group bootleg board
748GAME( 1981, fspiderb, 0, fspider, fspider, 0, ROT90, "Taito Corporation", "Frog & Spiders (bootleg?)", GAME_SUPPORTS_SAVE ) // comes from a Fawaz Group bootleg(?) board
714749GAME( 1982, jollyjgr, 0, jollyjgr, jollyjgr, 0, ROT90, "Taito Corporation", "Jolly Jogger", GAME_SUPPORTS_SAVE )
src/mame/drivers/timeplt.c
r8054r8055
157157   AM_RANGE(0xc360, 0xc360) AM_MIRROR(0x0c9f) AM_READ_PORT("DSW0")
158158ADDRESS_MAP_END
159159
160static ADDRESS_MAP_START( chkun_main_map, ADDRESS_SPACE_PROGRAM, 8 )
161   ADDRESS_MAP_UNMAP_HIGH
162   AM_RANGE(0x0000, 0x5fff) AM_ROM
163   AM_RANGE(0x6000, 0x67ff) AM_RAM
164   AM_RANGE(0xa000, 0xa3ff) AM_RAM_WRITE(timeplt_colorram_w) AM_BASE_MEMBER(timeplt_state, colorram)
165   AM_RANGE(0xa400, 0xa7ff) AM_RAM_WRITE(timeplt_videoram_w) AM_BASE_MEMBER(timeplt_state, videoram)
166   AM_RANGE(0xa800, 0xafff) AM_RAM
167   AM_RANGE(0xb000, 0xb0ff) AM_MIRROR(0x0b00) AM_RAM AM_BASE_MEMBER(timeplt_state, spriteram)
168   AM_RANGE(0xb400, 0xb4ff) AM_MIRROR(0x0b00) AM_RAM AM_BASE_MEMBER(timeplt_state, spriteram2)
169   AM_RANGE(0xc000, 0xc000) AM_MIRROR(0x0cff) AM_WRITE(soundlatch_w)
170   AM_RANGE(0xc200, 0xc200) AM_MIRROR(0x0cff) AM_WRITE(watchdog_reset_w)
171   AM_RANGE(0xc300, 0xc300) AM_MIRROR(0x0cf1) AM_WRITE(timeplt_nmi_enable_w)
172   AM_RANGE(0xc302, 0xc302) AM_MIRROR(0x0cf1) AM_WRITE(timeplt_flipscreen_w)
173   AM_RANGE(0xc304, 0xc304) AM_MIRROR(0x0cf1) AM_WRITE(timeplt_sh_irqtrigger_w)
174   AM_RANGE(0xc30a, 0xc30c) AM_MIRROR(0x0cf1) AM_WRITE(timeplt_coin_counter_w)
175   AM_RANGE(0xc000, 0xc000) AM_MIRROR(0x0cff) AM_READ(timeplt_scanline_r)
176   AM_RANGE(0xc200, 0xc200) AM_MIRROR(0x0cff) AM_READ_PORT("DSW1")
177   AM_RANGE(0xc300, 0xc300) AM_MIRROR(0x0c9f) AM_READ_PORT("IN0")
178   AM_RANGE(0xc320, 0xc320) AM_MIRROR(0x0c9f) AM_READ_PORT("IN1")
179   AM_RANGE(0xc340, 0xc340) AM_MIRROR(0x0c9f) AM_READ_PORT("IN2")
180   AM_RANGE(0xc360, 0xc360) AM_MIRROR(0x0c9f) AM_READ_PORT("DSW0")
181ADDRESS_MAP_END
160182
161183
162184/*************************************
r8054r8055
257279   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
258280INPUT_PORTS_END
259281
282static INPUT_PORTS_START( chkun )
283   PORT_INCLUDE(timeplt)
260284
261285
286   PORT_MODIFY("DSW0")
287   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
288   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
289   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
290   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
291   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
292   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
293   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
294   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
295   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
296   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
297   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
298   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
299   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
300   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
301   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
302   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
303   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
304   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
305   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) //service mode
306   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
307   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
308   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
309   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
310   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
311INPUT_PORTS_END
312
313
262314/*************************************
263315 *
264316 *  Graphics layouts
r8054r8055
370422   MDRV_MACHINE_RESET(0)
371423MACHINE_DRIVER_END
372424
425static MACHINE_DRIVER_START( chkun )
426   MDRV_IMPORT_FROM(timeplt)
373427
428   /* basic machine hardware */
429   MDRV_CPU_MODIFY("maincpu")
430   MDRV_CPU_PROGRAM_MAP(chkun_main_map)
374431
432   MDRV_VIDEO_START(chkun)
433MACHINE_DRIVER_END
434
375435/*************************************
376436 *
377437 *  ROM definitions
r8054r8055
495555   ROM_LOAD( "timeplt.e12",  0x0140, 0x0100, BAD_DUMP CRC(f7b7663e) SHA1(151bd2dff4e4ef76d6438c1ab2cae71f987b9dad)  ) /* char lookup table */
496556ROM_END
497557
558ROM_START( chkun )
559   ROM_REGION( 0x12000, "maincpu", 0 )
560   ROM_LOAD( "n1.16a",   0x0000, 0x4000, CRC(c5879f9b) SHA1(68e3a87dfe6b3d1e0cdadd1ed8ad115a9d3055f9) )
561   ROM_LOAD( "12.14a",   0x4000, 0x2000, CRC(80cc55da) SHA1(68727721479624cd0d38d895b98dcef4edac13e9) )
498562
563   ROM_REGION( 0x12000, "tpsound", 0 )
564   ROM_LOAD( "15.3l",    0x0000, 0x2000, CRC(1f1463ca) SHA1(870abbca35236fcce6a2f640a238e20b9e57f10f))
499565
566   ROM_REGION( 0x4000, "gfx1", 0 )
567   ROM_LOAD( "13.4d",   0x0000, 0x4000, CRC(776427c0) SHA1(1e8387685f7e86aad31577f2186596b2a2dfc4de) )
568
569   ROM_REGION( 0x4000, "gfx2", 0 )
570   ROM_LOAD( "14.8h",   0x0000, 0x4000, CRC(0cb76a48) SHA1(0beebbc3d30eb978f6fe7b15c0a7b0c2152815b7) )
571
572   ROM_REGION( 0x20000, "sample_data", 0 ) //unemulated Toshiba TC8830F sound chip
573   ROM_LOAD( "v1.8k",   0x00000, 0x10000, CRC(d5ca802d) SHA1(0c2867c86132745063e36d03f41e6c3e150fd3ad) )
574   ROM_LOAD( "v2.9k",   0x10000, 0x10000, CRC(70e902eb) SHA1(e1b2392446f2878f9e811a63bbbbdc56fd517a9c) )
575
576   ROM_REGION( 0x0240,  "proms", 0 )
577   ROM_LOAD( "3.2j",        0x0000, 0x0020, CRC(34c91839) SHA1(f62e279e21fce171231d3139be7adabe1f4b8c2e) ) /* palette */
578   ROM_LOAD( "2.1h",        0x0020, 0x0020, CRC(463b2b07) SHA1(9ad275365eba4869f94749f39ff8705d92056a10) ) /* palette */
579   ROM_LOAD( "4.10h",       0x0040, 0x0100, CRC(4bbb2150) SHA1(678433b21aae1daa938e32d3293eeed529a42ef9) ) /* sprite lookup table */
580   ROM_LOAD( "mb7114e.2b",  0x0140, 0x0100, CRC(adfa399a) SHA1(3b18971ddaae7734f0aaa0fcc82d4ddccc282959) ) /* char lookup table */
581
582   ROM_REGION( 0x0200, "pld", 0 )
583   ROM_LOAD( "a.16c",  0x0000, 0x00eb, CRC(e0d54999) SHA1(9e1c749873572ade2b925ce1519d31a6e19f841f) )
584   ROM_LOAD( "b.9f",   0x0100, 0x00eb, CRC(e3857f83) SHA1(674e70dc960fc02a9fbda4a0ef0770eb8214c466) )
585ROM_END
586
500587/*************************************
501588 *
502589 *  Game drivers
r8054r8055
507594GAME( 1982, timepltc, timeplt, timeplt, timeplt, 0, ROT90,  "Konami (Centuri license)", "Time Pilot (Centuri)", GAME_SUPPORTS_SAVE )
508595GAME( 1982, timeplta, timeplt, timeplt, timeplt, 0, ROT90,  "Konami (Atari license)", "Time Pilot (Atari)", GAME_SUPPORTS_SAVE )
509596GAME( 1982, spaceplt, timeplt, timeplt, timeplt, 0, ROT90,  "bootleg", "Space Pilot", GAME_SUPPORTS_SAVE )
597GAME( 1982, chkun,    0,       chkun,   chkun,  0, ROT90,  "<unknown>", "Chance Kun", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING | GAME_IMPERFECT_COLORS | GAME_IMPERFECT_SOUND )
510598GAME( 1988, psurge,   0,       psurge,  psurge,  0, ROT270, "<unknown>", "Power Surge", GAME_SUPPORTS_SAVE )
src/mame/drivers/taito_f3.c
r8054r8055
366366   timer_set(device->machine, cpu_clocks_to_attotime(device,10000), NULL, 0, f3_interrupt3);
367367}
368368
369static MACHINE_RESET( f3 )
369static SOUND_RESET( f3 )
370370{
371   SOUND_RESET_CALL( taito_f3_soundsystem_reset );
371372   cputag_set_input_line(machine, "audiocpu", INPUT_LINE_RESET, ASSERT_LINE);
372373}
373374
r8054r8055
391392static MACHINE_DRIVER_START( f3 )
392393
393394   /* basic machine hardware */
394   MDRV_CPU_ADD("maincpu", M68EC020, 16000000)
395   MDRV_CPU_ADD("maincpu", M68EC020, XTAL_16MHz)
395396   MDRV_CPU_PROGRAM_MAP(f3_map)
396397   MDRV_CPU_VBLANK_INT("screen", f3_interrupt2)
397398
398399   MDRV_MACHINE_START(f3)
399   MDRV_MACHINE_RESET(f3)
400400
401401   MDRV_EEPROM_93C46_ADD("eeprom")
402402
r8054r8055
417417
418418   /* sound hardware */
419419   MDRV_IMPORT_FROM(taito_f3_sound)
420   MDRV_SOUND_RESET(f3)
420421MACHINE_DRIVER_END
421422
422423/* These games reprogram the video output registers to display different scanlines,
r8054r8055
491492
492493static MACHINE_DRIVER_START( bubsympb )
493494   /* basic machine hardware */
494   MDRV_CPU_ADD("maincpu", M68EC020, 16000000)
495   MDRV_CPU_ADD("maincpu", M68EC020, XTAL_16MHz)
495496   MDRV_CPU_PROGRAM_MAP(f3_map)
496497   MDRV_CPU_VBLANK_INT("screen", f3_interrupt2)
497498
498499   MDRV_MACHINE_START(f3)
499   //MDRV_MACHINE_RESET(f3)
500500
501501   MDRV_EEPROM_93C46_ADD("eeprom")
502502
src/mame/drivers/champbas.c
r8054r8055
949949   ROM_LOAD( "pr5956", 0x0020, 0x100, CRC(872dd450) SHA1(6c1e2c4a2fc072f4bf4996c731adb0b01b347506) ) /* look-up table */
950950ROM_END
951951
952ROM_START( champbb2j )
953   ROM_REGION( 0x10000, "maincpu", 0 )
954   ROM_LOAD( "1.10g", 0x0000, 0x2000, CRC(c76056d5) SHA1(2aaec9ede0f85bf67f6cf04fabdba66f7e0d6004) )
955   ROM_LOAD( "2.10h", 0x2000, 0x2000, CRC(7a1ea3ea) SHA1(ce2f61be4cc7cd7b739d89a4838408912c2e2784) )
956   ROM_LOAD( "3.10i", 0x4000, 0x2000, CRC(4b2f6ac4) SHA1(367b25665fc37140dc38be8bb525859c20bd2529) )
957   ROM_LOAD( "0.11g", 0x7800, 0x0800, CRC(be0e180d) SHA1(7a8915e00920faa08344d752404a6f98d8fb303b) )
958
959   /* not in this set, but probably the same */
960   ROM_REGION( 0x10000, "sub", 0 )
961   ROM_LOAD( "6.15c", 0x0000, 0x2000, CRC(24c482ee) SHA1(c25bdf77014e095fc11a9a6b17f16858f19db451) )
962   ROM_LOAD( "7.15d", 0x2000, 0x2000, CRC(f10b148b) SHA1(d66516d509f6f16e51ee59d27c4867e276064c3f) )
963   ROM_LOAD( "8.15e", 0x4000, 0x2000, CRC(2dc484dd) SHA1(28bd68c787d7e6989849ca52009948dbd5cdcc79) )
964
965   // the pcb has a 8302 on it, though only the 8201 instructions are used
966   ROM_REGION( 0x2000, "mcu", 0 )
967   ROM_LOAD( "8302.bin", 0x0000, 0x2000, CRC(edabac6c) SHA1(eaf1c51b63023256df526b0d3fd53cffc919c901) )
968
969   ROM_REGION( 0x2000, "gfx1", 0 )   // chars + sprites: rearranged by DRIVER_INIT to leave only chars
970   ROM_LOAD( "4.6a", 0x0000, 0x2000, CRC(c4a4df75) SHA1(7b85dbf405697b0b8881f910c08f6db6c828b19a) )
971
972   ROM_REGION( 0x2000, "gfx2", 0 )   // chars + sprites: rearranged by DRIVER_INIT to leave only sprites
973   ROM_LOAD( "5.6b", 0x0000, 0x2000, CRC(5c80ec42) SHA1(9b79737577e48a6b2ec20ce145252545955e82c3) )
974
975   ROM_REGION( 0x0120, "proms", 0 )
976   ROM_LOAD( "bpr.7h", 0x0000, 0x020, CRC(500db3d9) SHA1(7317ba2c6ffef3561acb3b2adb811def846756cf) ) /* palette */
977   ROM_LOAD( "bpr.5e", 0x0020, 0x100, CRC(2e481ffa) SHA1(bc8979efd43bee8be0ce96ebdacc873a5821e06e) ) /* look-up table */
978ROM_END
979
952980ROM_START( exctsccr )
953981   ROM_REGION( 0x10000, "maincpu", 0 )
954982   ROM_LOAD( "1_g10.bin",    0x0000, 0x2000, CRC(aa68df66) SHA1(f10cac5a4c5aad1e1eb8835174dc8d517bb2921a) )
r8054r8055
12131241GAME( 1983, champbasja, champbas, champbas, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Base Ball (Japan set 2)", GAME_SUPPORTS_SAVE )
12141242GAME( 1983, champbb2,   0,        champmcu, champbas, champbas, ROT0,   "[Alpha Denshi Co.] (Sega license)", "Champion Base Ball Part-2: Pair Play (set 1)", GAME_SUPPORTS_SAVE )
12151243GAME( 1983, champbb2a,  champbb2, champmcu, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Baseball II (set 2)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )   // no dump
1244GAME( 1983, champbb2j,  champbb2, champmcu, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Baseball II (Japan)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
12161245
12171246GAME( 1983, exctsccr,   0,        exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer", GAME_SUPPORTS_SAVE )
12181247GAME( 1983, exctsccra,  exctsccr, exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer (alternate music)", GAME_SUPPORTS_SAVE )
src/osd/windows/d3d9intf.c
r8054r8055
422422   IDirect3DDevice9 *device = (IDirect3DDevice9 *)dev;
423423
424424   // some state which was here got pushed into sampler state in D3D9
425   switch (state)
425   switch ((DWORD)state)
426426   {
427427      case D3DTSS_ADDRESSU:
428428         return IDirect3DDevice9_SetSamplerState(device, stage, D3DSAMP_ADDRESSU, value);
src/osd/windows/winfile.c
r8054r8055
4545#include <winioctl.h>
4646#include <tchar.h>
4747#include <stdlib.h>
48#include <ctype.h>
4849
4950// MAME headers
5051#include "osdcore.h"
src/osd/windows/winmain.c
r8054r8055
134134static get_module_information_ptr get_module_information;
135135
136136static char mapfile_name[MAX_PATH];
137static LPTOP_LEVEL_EXCEPTION_FILTER WINAPI pass_thru_filter;
137static LPTOP_LEVEL_EXCEPTION_FILTER pass_thru_filter;
138138
139139static HANDLE watchdog_reset_event;
140140static HANDLE watchdog_exit_event;
r8054r8055
164164static void soft_link_functions(void);
165165static int is_double_click_start(int argc);
166166static DWORD WINAPI watchdog_thread_entry(LPVOID lpParameter);
167static LONG WINAPI exception_filter(struct _EXCEPTION_POINTERS *info);
167static LONG CALLBACK exception_filter(struct _EXCEPTION_POINTERS *info);
168168static const char *lookup_symbol(FPTR address);
169169
170170static void start_profiler(void);
r8054r8055
463463   {
464464      image_nt_header = (image_nt_header_ptr)GetProcAddress(library, "ImageNtHeader");
465465      stack_walk_64 = (stack_walk_64_ptr)GetProcAddress(library, "StackWalk64");
466      sym_initialize = (sym_initialize_ptr)GetProcAddress(library, "SymInitialize");
466      sym_initialize = (sym_initialize_ptr)GetProcAddress(library, "SymInitialize" UNICODE_POSTFIX);
467467      sym_function_table_access_64 = (sym_function_table_access_64_ptr)GetProcAddress(library, "SymFunctionTableAccess64");
468468      sym_get_module_base_64 = (sym_get_module_base_64_ptr)GetProcAddress(library, "SymGetModuleBase64");
469469      sym_from_addr = (sym_from_addr_ptr)GetProcAddress(library, "SymFromAddr");
r8054r8055
541541//  exception_filter
542542//============================================================
543543
544static LONG WINAPI exception_filter(struct _EXCEPTION_POINTERS *info)
544static LONG CALLBACK exception_filter(struct _EXCEPTION_POINTERS *info)
545545{
546546   static const struct
547547   {
src/emu/cpu/tms57002/tms57002.c
r8054r8055
12801280   int initial_cycles = cycles;
12811281   int ipc = -1;
12821282
1283   while((cycles > 0) && (!(s->sti & (S_IDLE | IN_PLOAD | IN_CLOAD)))) {
1283   while(cycles > 0 && !(s->sti & (S_IDLE | IN_PLOAD | IN_CLOAD))) {
12841284      int iipc;
12851285
12861286      debugger_instruction_hook(device, s->pc);
src/emu/cpu/s2650/s2650.c
r8054r8055
679679 ***************************************************************/
680680#define M_SPSU()                                    \
681681{                                                \
682   R0 = ((s2650c->psu & ~PSU34) | (memory_read_byte_8le(s2650c->io, S2650_SENSE_PORT) & SI)); \
682   R0 = ((s2650c->psu & ~PSU34) | (memory_read_byte_8le(s2650c->io, S2650_SENSE_PORT) ? SI : 0)); \
683683   SET_CC(R0);                                     \
684684}
685685
r8054r8055
748748#define M_TPSU()                                    \
749749{                                                \
750750   UINT8 tpsu = ARG(s2650c);                              \
751    UINT8 rpsu = (s2650c->psu | (memory_read_byte_8le(s2650c->io, S2650_SENSE_PORT) & SI)); \
751    UINT8 rpsu = (s2650c->psu | (memory_read_byte_8le(s2650c->io, S2650_SENSE_PORT) ? SI : 0)); \
752752   s2650c->psl &= ~CC;                                    \
753753   if( (rpsu & tpsu) != tpsu )                           \
754754      s2650c->psl |= 0x80;                                 \
src/emu/cpu/dsp32/dsp32.c
r8054r8055
321321   state_save_register_device_item(device, 0, cpustate->ivtp);
322322   state_save_register_device_item(device, 0, cpustate->nzcflags);
323323   state_save_register_device_item(device, 0, cpustate->vflags);
324   state_save_register_device_item(device, 0, cpustate->pin);
325   state_save_register_device_item(device, 0, cpustate->pin);
326324   state_save_register_device_item_array(device, 0, cpustate->a);
327325   state_save_register_device_item(device, 0, cpustate->NZflags);
328326   state_save_register_device_item(device, 0, cpustate->VUflags);
src/emu/mame.c
r8054r8055
811811UINT32 memory_region_length(running_machine *machine, const char *name)
812812{
813813   const region_info *region = machine->region(name);
814   return (region != NULL) ? region->length : NULL;
814   return (region != NULL) ? region->length : 0;
815815}
816816
817817
r8054r8055
823823UINT32 memory_region_flags(running_machine *machine, const char *name)
824824{
825825   const region_info *region = machine->region(name);
826   return (region != NULL) ? region->flags : NULL;
826   return (region != NULL) ? region->flags : 0;
827827}
828828
829829
src/emu/sound/tms5110r.c
r8054r8055
138138   5,
139139   { 5, 5, 4, 4, 4, 4, 4, 3, 3, 3 },
140140   /* E   */
141   {  0,1,2,3,4,6,8,11,16,23,33,47,63,85,114,511, },
141   { 0,   1,   2,   3,   4,   6,   8,  11,
142    16,  23,  33,  47,  63,  85, 114, 511 },
142143   /* P   */
143   { 0,41,43,45,47,49,51,53,55,58,60,63,66,70,73,76,79,83,87,90,94,99,103,107,112,118,123,129,134,140,147,153,
144   },
144   { 0,  41,  43,  45,  47,  49,  51,  53,
145    55,  58,  60,  63,  66,  70,  73,  76,
146    79,  83,  87,  90,  94,  99, 103, 107,
147   112, 118, 123, 129, 134, 140, 147, 153 },
145148   {
146149      /* K1  */
147      {
148      -501,-498,-495,-490,-485,-478,-469,-459,-446,-431,-412,-389,-362,-331,-295,-253,-207,-156,-102,-45,13,70,126,179,228,272,311,345,374,399,420,437,
149      },
150      { -501, -498, -495, -490, -485, -478, -469, -459,
151        -446, -431, -412, -389, -362, -331, -295, -253,
152        -207, -156, -102,  -45,   13,   70,  126,  179,
153         228,  272,  311,  345,  374,  399,  420,  437 },
150154      /* K2  */
151      {
152      -376,-357,-335,-312,-286,-258,-227,-195,-161,-124,-87,-49,-10,29,68,106,143,178,212,243,272,299,324,346,366,384,400,414,427,438,448,506,
153      },
155      { -376, -357, -335, -312, -286, -258, -227, -195,
156        -161, -124,  -87,  -49,  -10,   29,   68,  106,
157         143,  178,  212,  243,  272,  299,  324,  346,
158         366,  384,  400,  414,  427,  438,  448,  506 },
154159      /* K3  */
155      {
156      -407,-381,-349,-311,-268,-218,-162,-102,-39,25,89,149,206,257,302,341,
157      },
160      { -407, -381, -349, -311, -268, -218, -162, -102,
161         -39,   25,   89,  149,  206,  257,  302,  341 },
158162      /* K4  */
159      {
160      -290,-252,-209,-163,-114,-62,-9,44,97,147,194,238,278,313,344,371,
161      },
163      { -290, -252, -209, -163, -114,  -62,   -9,   44,
164          97,  147,  194,  238,  278,  313,  344,  371 },
162165      /* K5  */
163      {
164      -318,-283,-245,-202,-156,-107,-56,-3,49,101,150,196,239,278,313,344,
165      },
166      { -318, -283, -245, -202, -156, -107,  -56,   -3,
167          49,  101,  150,  196,  239,  278,  313,  344 },
166168      /* K6  */
167      {
168      -193,-152,-109,-65,-20,26,71,115,158,198,235,270,301,330,355,377,
169      },
169      { -193, -152, -109,  -65,  -20,   26,   71,  115,
170         158,  198,  235,  270,  301,  330,  355,  377 },
170171      /* K7  */
171      {
172      -254,-218,-180,-140,-97,-53,-8,36,81,124,165,204,240,274,304,332,
173      },
172      { -254, -218, -180, -140,  -97,  -53,   -8,   36,
173          81,  124,  165,  204,  240,  274,  304,  332 },
174174      /* K8  */
175      {
176      -205,-112,-10,92,187,269,336,387,
177      },
175      { -205, -112,  -10,   92,  187,  269,  336,  387 },
178176      /* K9  */
179      {
180      -249,-183,-110,-19,48,126,198,261,
181      },
177      { -249, -183, -110,  -19,   48,  126,  198,  261 }, // on tms5200 the 4th entry is -32
182178      /* K10 */
183      {
184      -190,-133,-73,-10,53,115,173,227,
185      },
179      { -190, -133,  -73,  -10,   53,  115,  173,  227 },
186180   },
187181   /* Chirp table */
188182   {   0, 43,  -44, 51,-77, 18, 37, 20,
r8054r8055
207201   5,
208202   { 5, 5, 4, 4, 4, 4, 4, 3, 3, 3 },
209203   /* E   */
210   { 0,   1,   2,   3,  4,   6,   8,   11,
211    16,  23,  33,  47, 63,  85,  114, 511 },
204   { 0,   1,   2,   3,   4,   6,   8,  11,
205    16,  23,  33,  47,  63,  85, 114, 511 },
212206   /* P   */
213   { 0,   15,  16,  17, 19,  21,  22,  25,
214    26,  29,  32,  36, 40,  42,  46,  50,
215    55,  60,  64,  68, 72,  76,  80,  84,
216    86,  93,  101, 110, 120, 132, 144, 159 },
207   { 0,  15,  16,  17,  19,  21,  22,  25,
208    26,  29,  32,  36,  40,  42,  46,  50,
209    55,  60,  64,  68,  72,  76,  80,  84,
210    86,  93, 101, 110, 120, 132, 144, 159 },
217211   {
218212      /* K1  */
219213      { -501, -498, -497, -495, -493, -491, -488, -482,
r8054r8055
230224          -9,   45,   98,  152,  206,  260,  314,  368 },
231225      /* K4  */
232226      { -328, -273, -217, -161, -106,  -50,    5,   61,
233         116,  172,  228,  283,  339,  394,  450,  506 },
227         116,  172,  228,  283,  339,  394,  450,  506 },
234228      /* K5  */
235229      { -328, -282, -235, -189, -142,  -96,  -50,   -3,
236          43,   90,  136,  182,  229,  275,  322,  368 },
230          43,   90,  136,  182,  229,  275,  322,  368 },
237231      /* K6  */
238232      { -256, -212, -168, -123,  -79,  -35,   10,   54,
239233          98,  143,  187,  232,  276,  320,  365,  409 },
240234      /* K7  */
241235      { -308, -260, -212, -164, -117,  -69,  -21,   27,
242          75,  122,  170,  218,  266,  314,  361,  409 },
236          75,  122,  170,  218,  266,  314,  361,  409 },
243237      /* K8  */
244      { -256, -161,  -66,   29,  124,  219,  314,  409 },
238      { -256, -161,  -66,   29,  124,  219,  314,  409 },
245239      /* K9  */
246      { -256, -176,  -96,  -15,  65,  146,  226,  307 },
240      { -256, -176,  -96,  -15,  65,  146,  226,  307 },
247241      /* K10 */
248      { -205, -132,  -59,   14,  87,  160,  234,  307 },
242      { -205, -132,  -59,   14,  87,  160,  234,  307 },
249243   },
250244   /* Chirp table */
251245   {   0,  42, -44, 50, -78, 18, 37, 20,
r8054r8055
272266   6,
273267   { 5, 5, 4, 4, 4, 4, 4, 3, 3, 3 },
274268   /* Ed   */
275   { 0,   1,   2,   3,   4,   6,   8,   11,
276    16,  23,  33,  47,  63,  85,  114, 511 }, /* last value is actually 0 in ROM, but 511 is stop sentinel */
269   { 0,   1,   2,   3,   4,   6,   8,  11,
270    16,  23,  33,  47,  63,  85, 114, 511 }, /* last value is actually 0 in ROM, but 511 is stop sentinel */
277271   /* Pd   */
278272   { 0,  14,  15,  16,  17,  18,  19,  20,
279273    21,  22,  23,  24,  25,  26,  27,  28,
r8054r8055
380374      /* K8 */
381375      { -205, -112,  -10,   92,  187,  269,  336,  387 },
382376      /* K9 */
383      { -249, -183, -110,  -32,   48,  126,  198,  261 },
377      { -249, -183, -110,  -32,   48,  126,  198,  261 },// on cd2802 the 4th entry is -19
384378      /* K10 */
385379      { -190, -133,  -73,  -10,   53,  115,  173,  227 },
386380   },
r8054r8055
485479   //{ 0x0d,  0x16,  0x20,  0x2d,  0x40,  0x5b,  0x81,  0xb6,
486480   // 0x101, 0x16c, 0x202, 0x2d6, 0x402, 0x5a9, 0x7ff, 0 }, /* values from 5220_10.bin code for the tms50c10 */
487481   /* P   */
488   { 0,  16,  17,  18,  19,  20,  21,  22, // first value is 16 in QV5220.COD but must be 0 for unvoiced speech to work properly
489    23,  24,  25,  26,  27,  28,  29,  30,
490    31,  32,  33,  34,  35,  36,  37,  38,
491    39,  40,  41,  42,  43,  45,  47,  49,
492    51,  53,  54,  57,  59,  61,  63,  66,
493    69,  71,  73,  77,  79,  81,  85,  87,
494    92,  95,  99, 102, 106, 110, 115, 119,
495   123, 128, 133, 138, 143, 149, 154, 160 },
482   { 0,  15,  16,  17,  18,  19,  20,  21,
483    22,  23,  24,  25,  26,  27,  28,  29,
484    30,  31,  32,  33,  34,  35,  36,  37,
485    38,  39,  40,  41,  42,  44,  46,  48,
486    50,  52,  53,  56,  58,  60,  62,  65,
487    68,  70,  72,  76,  78,  80,  84,  86,
488    91,  94,  98, 101, 105, 109, 114, 118,
489   122, 127, 132, 137, 142, 148, 153, 159 },
496490   {
497491      /* K1  */
498492      { -32062/64,-31872/64,-31806/64,-31679/64,-31551/64,-31423/64,-31230/64,-30846/64,
src/emu/sound/tms5220.c
r8054r8055
6060
6161Driver specific notes:
6262
63    Looping has the tms5220 hookep up directly to the cpu. However currently the
63    Looping has the tms5220 hooked up directly to the cpu. However currently the
6464    tms9900 cpu core does not support a ready line.
6565
6666    Victory's initial audio selftest is pretty brutal to the FIFO: it sends a
r8054r8055
182182
183183/* *****optional defines***** */
184184
185/* this ignores pitch, and uses a sawtooth wave for the voiced and unvoiced waveforms as a test, if not set */
185/* this define controls the interpolation shift logic. one of the following two lines should be used, and the other commented; the second line is more accurate mathematically but less accurate to hardware (Unless I (LN) misunderstand the way the shifter works, which is quite likely) */
186#define INTERP_SHIFT >> tms->coeff->interp_coeff[interp_period]
187//#define INTERP_SHIFT / (1<<tms->coeff->interp_coeff[interp_period])
188
189/* this define controls whether the excitation waveform for a new frame is activated on IP=7/interp_period = 0 (the first period of the next frame) or IP=0/interp_period = 7 (the last period of this frame) when interpolation is inhibited for this frame. The patent is unclear on this point and either way could be correct. if undefined it does the latter case, if defined it does the former case. */
190#undef INTERP_INHIBIT_EXCITE_DELAY
191
192/* if undefined, various hacky improvements are used, such as inverting excitation waveform, and increasing the magnitude of unvoiced speech excitation */
186193#define NORMALMODE 1
187194
188/* if not defined, output the waveform as if it was tapped on the i/o pin */
189#define DO_CLIP_AND_WRAP 1
195/* must be defined; if 0, output the waveform as if it was tapped on the speaker pin as usual, if 1, output the waveform as if it was tapped on the i/o pin (volume is much lower in the latter case) */
196#define FORCE_DIGITAL 0
190197
198/* if defined, outputs the low 4 bits of the lattice filter to the i/o or clip logic, even though the real hardware doesn't do this */
199#undef ALLOW_4_LSB
200
201/* if defined, uses impossibly perfect 'straight line' interpolation */
202#undef PERFECT_INTERPOLATION_HACK
203
191204/* if defined, interpolation is only using the said slot of the 8,8,8,4,4,4,2,1 slots
192205   i.e. setting to 7 effectively disables interpolation, as it adds 1/1 of the difference
193   between current and target to the current each frame */
206   between current and target to the current each frame;
207   ***Be warned that setting this will mess up the inhibit logic!*** */
194208#undef OVERRIDE_INTERPOLATION
195209
196210/* *****debugging defines***** */
r8054r8055
216230// above dumps some debug information related to the sample generation loop, i.e. when ramp frames happen
217231#undef DEBUG_GENERATION_VERBOSE
218232// above dumps MUCH MORE debug information related to the sample generation loop, namely the k, pitch and energy values for EVERY SINGLE SAMPLE.
219#undef DEBUG_CLIP_WRAP
220// above dumps info to stderr whenever the clip/wrap hardware is (or would be) clipping the signal.
233#undef DEBUG_LATTICE
234// above dumps the lattice filter state data each sample.
235#undef DEBUG_CLIP
236// above dumps info to stderr whenever the analog clip hardware is (or would be) clipping the signal.
221237#undef DEBUG_IO_READY
222238// above debugs the io ready callback
223239#undef DEBUG_RS_WS
r8054r8055
280296
281297
282298   /* these are all used to contain the current state of the sound generation */
283   UINT16 current_energy;
284   UINT16 current_pitch;
299#ifndef PERFECT_INTERPOLATION_HACK
300   INT16 current_energy;
301   INT16 current_pitch;
285302   INT16 current_k[10];
286303
287   UINT16 target_energy;
288   UINT16 target_pitch;
304   INT16 target_energy;
305   INT16 target_pitch;
289306   INT16 target_k[10];
307#else
308   INT32 current_energy;
309   INT32 current_pitch;
310   INT32 current_k[10];
290311
312   INT32 target_energy;
313   INT32 target_pitch;
314   INT32 target_k[10];
315#endif
316
291317   UINT16 previous_energy;         /* needed for lattice filter to match patent */
292318
293319   //UINT8 interp_period; /* TODO: the current interpolation period, counts 1,2,3,4,5,6,7,0 for divide by 8,8,8,4,4,4,2,1 */
294320   UINT8 interp_count;      /* number of samples within each sub-interpolation period, ranges from 0-24 */
321   UINT8 inhibit;         /* interpolation is inhibited until the DIV1 period */
295322   //UINT8 spkslow_delay;  /* delay counter for interp count, only used on tms51xx */
296323   UINT8 sample_count;      /* number of samples within the ENTIRE interpolation period, ranges from 0-199 */
297324   UINT8 tms5220c_rate; /* only relevant for tms5220C's multi frame rate feature; is the actual 4 bit value written on a 0x2* or 0x0* command */
r8054r8055
330357       The internal DAC used to feed the analog pin is only 8 bits, and has the
331358       funny clipping/clamping logic, while the digital pin gives full 12? bit
332359       resolution of the output data.
360       TODO: add a way to set/reset this other than the FORCE_DIGITAL define
333361     */
334362   UINT8 digital_select;
335363   running_device *device;
r8054r8055
361389static void parse_frame(tms5220_state *tms);
362390static void update_status_and_ints(tms5220_state *tms);
363391static void set_interrupt_state(tms5220_state *tms, int state);
364static INT16 lattice_filter(tms5220_state *tms);
365static INT16 clip_and_wrap(INT16 cliptemp);
392static INT32 lattice_filter(tms5220_state *tms);
393static INT16 clip_analog(INT16 clip);
366394static STREAM_UPDATE( tms5220_update );
367395
368396void tms5220_set_variant(tms5220_state *tms, int variant)
r8054r8055
421449   state_save_register_device_item(tms->device, 0, tms->previous_energy);
422450
423451   state_save_register_device_item(tms->device, 0, tms->interp_count);
452   state_save_register_device_item(tms->device, 0, tms->inhibit);
424453   state_save_register_device_item(tms->device, 0, tms->sample_count);
425454   state_save_register_device_item(tms->device, 0, tms->tms5220c_rate);
426455   state_save_register_device_item(tms->device, 0, tms->pitch_count);
r8054r8055
510539            /* ...then we now have enough bytes to start talking; clear out the new frame parameters (it will become old frame just before the first call to parse_frame() ) */
511540            tms->new_frame_energy_idx = 0;
512541            tms->new_frame_pitch_idx = 0;
513            for (i = 0; i < tms->coeff->num_k; i++)
542            for (i = 0; i < 4; i++)
514543               tms->new_frame_k_idx[i] = 0;
544            for (i = 4; i < 7; i++)
545               tms->new_frame_k_idx[i] = 0xF;
546            for (i = 7; i < tms->coeff->num_k; i++)
547               tms->new_frame_k_idx[i] = 0x7;
515548            tms->talk_status = tms->speaking_now = 1;
516549         }
517550      }
r8054r8055
744777{
745778    int buf_count=0;
746779    int i, interp_period, bitout, zpar;
780    INT32 this_sample;
747781
748782//tryagain:
749783
r8054r8055
797831               update_status_and_ints(tms);
798832            }
799833
800         /* in all cases where interpolation would be inhibited, set the target
801               value equal to the current value.
834         /* in all cases where interpolation would be inhibited, set the inhibit flag; otherwise clear it.
802835               Interpolation inhibit cases:
803836               * Old frame was voiced, new is unvoiced
804837               * Old frame was silence/zero energy, new has nonzero energy
r8054r8055
807840         if ( ((OLD_FRAME_UNVOICED_FLAG == 0) && (NEW_FRAME_UNVOICED_FLAG == 1))
808841            || ((OLD_FRAME_UNVOICED_FLAG == 1) && (NEW_FRAME_UNVOICED_FLAG == 0))
809842            || ((OLD_FRAME_SILENCE_FLAG == 1) && (NEW_FRAME_SILENCE_FLAG == 0)) )
810         {
811#ifdef DEBUG_GENERATION
812            fprintf(stderr,"processing frame: interpolation inhibited\n");
813            fprintf(stderr,"*** current Energy = %d\n",tms->current_energy);
814            fprintf(stderr,"*** next frame Energy = %d(index: %x)\n",tms->coeff->energytable[tms->new_frame_energy_idx],tms->new_frame_energy_idx);
815#endif
816            tms->target_energy = tms->current_energy;
817            tms->target_pitch = tms->current_pitch;
818            for (i = 0; i < tms->coeff->num_k; i++)
819               tms->target_k[i] = tms->current_k[i];
820         }
843            tms->inhibit = 1;
821844         else // normal frame, normal interpolation
822         {
845            tms->inhibit = 0;
846
847         tms->target_energy = tms->coeff->energytable[tms->new_frame_energy_idx];
848         tms->target_pitch = tms->coeff->pitchtable[tms->new_frame_pitch_idx];
849         zpar = NEW_FRAME_UNVOICED_FLAG; // find out if parameters k5-k10 should be zeroed
850         for (i = 0; i < 4; i++)
851            tms->target_k[i] = tms->coeff->ktable[i][tms->new_frame_k_idx[i]];
852         for (i = 4; i < tms->coeff->num_k; i++)
853            tms->target_k[i] = (tms->coeff->ktable[i][tms->new_frame_k_idx[i]] * (1-zpar));
854
823855#ifdef DEBUG_GENERATION
824            fprintf(stderr,"processing frame: Normal\n");
825            fprintf(stderr,"*** current Energy = %d\n",tms->current_energy);
826            fprintf(stderr,"*** new (target) Energy = %d(index: %x)\n",tms->coeff->energytable[tms->new_frame_energy_idx],tms->new_frame_energy_idx);
856            fprintf(stderr,"Processing frame: ");
857            if (tms->inhibit == 0)
858               fprintf(stderr, "Normal Frame\n");
859            else
860               fprintf(stderr,"Interpolation Inhibited\n");
861            fprintf(stderr,"*** current Energy, Pitch and Ks =      %04d,   %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d\n",tms->current_energy, tms->current_pitch, tms->current_k[0], tms->current_k[1], tms->current_k[2], tms->current_k[3], tms->current_k[4], tms->current_k[5], tms->current_k[6], tms->current_k[7], tms->current_k[8], tms->current_k[9]);
862            fprintf(stderr,"*** target Energy(idx), Pitch, and Ks = %04d(%x),%04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d, %04d\n",tms->target_energy, tms->new_frame_energy_idx, tms->target_pitch, tms->target_k[0], tms->target_k[1], tms->target_k[2], tms->target_k[3], tms->target_k[4], tms->target_k[5], tms->target_k[6], tms->target_k[7], tms->target_k[8], tms->target_k[9]);
827863#endif
828864
829            tms->target_energy = tms->coeff->energytable[tms->new_frame_energy_idx];
830            tms->target_pitch = tms->coeff->pitchtable[tms->new_frame_pitch_idx];
831            zpar = NEW_FRAME_UNVOICED_FLAG; // find out if parameters k5-k10 should be zeroed
832            for (i = 0; i < 4; i++)
833               tms->target_k[i] = tms->coeff->ktable[i][tms->new_frame_k_idx[i]];
834            for (i = 4; i < tms->coeff->num_k; i++)
835                  tms->target_k[i] = (tms->coeff->ktable[i][tms->new_frame_k_idx[i]] * (1-zpar));
836         }
837
838865         /* if TS is now 0, ramp the energy down to 0. Is this really correct to hardware? */
839866         if ( (tms->talk_status == 0))
840867         {
r8054r8055
851878#else
852879         interp_period = tms->sample_count / 25;
853880#endif
854#define PC_COUNT_LOAD 0
881      if (interp_period == 7) tms->inhibit = 0; // disable inhibit when reaching the last interp period
882#ifdef PERFECT_INTERPOLATION_HACK
855883      zpar = OLD_FRAME_UNVOICED_FLAG;
884      // reset the current energy, pitch, etc to what it was at frame start
885      tms->current_energy = tms->coeff->energytable[tms->old_frame_energy_idx];
886      tms->current_pitch = tms->coeff->pitchtable[tms->old_frame_pitch_idx];
887      for (i = 0; i < 4; i++)
888         tms->current_k[i] = tms->coeff->ktable[i][tms->old_frame_k_idx[i]];
889      for (i = 4; i < tms->coeff->num_k; i++)
890         tms->current_k[i] = (tms->coeff->ktable[i][tms->old_frame_k_idx[i]] * (1-zpar));
891      // now adjust each value to be exactly correct for each of the 200 samples per frsme
892      tms->current_energy += (((tms->target_energy - tms->current_energy)*(1-tms->inhibit))*tms->sample_count)/200;
893      tms->current_pitch += (((tms->target_pitch - tms->current_pitch)*(1-tms->inhibit))*tms->sample_count)/200;
894      for (i = 0; i < tms->coeff->num_k; i++)
895         tms->current_k[i] += (((tms->target_k[i] - tms->current_k[i])*(1-tms->inhibit))*tms->sample_count)/200;
896#else
856897      switch(tms->interp_count)
857898         {
858899            /*         PC=X  X cycle, rendering change (change for next cycle which chip is actually doing) */
r8054r8055
861902            case 1: /* PC=0, B cycle, nothing happens (update energy) */
862903            break;
863904            case 2: /* PC=1, A cycle, update energy (calc pitch) */
864            if (interp_period == PC_COUNT_LOAD)
865               tms->current_energy = tms->coeff->energytable[tms->old_frame_energy_idx];
866            tms->current_energy += ((tms->target_energy - tms->current_energy) >> tms->coeff->interp_coeff[interp_period]);
905            tms->current_energy += (((tms->target_energy - tms->current_energy)*(1-tms->inhibit)) INTERP_SHIFT);
867906            break;
868907            case 3: /* PC=1, B cycle, nothing happens (update pitch) */
869908            break;
870909            case 4: /* PC=2, A cycle, update pitch (calc K1) */
871            if (interp_period == PC_COUNT_LOAD)
872               tms->current_pitch = tms->coeff->pitchtable[tms->old_frame_pitch_idx];
873            tms->current_pitch += ((tms->target_pitch - tms->current_pitch) >> tms->coeff->interp_coeff[interp_period]);
910#ifndef INTERP_INHIBIT_EXCITE_DELAY
911            if (interp_period == 7) tms->old_frame_pitch_idx = tms->new_frame_pitch_idx; // this is to make it so the voiced/unvoiced select during interpolation takes effect at the same time as inhibit stops.
912#endif
913            tms->current_pitch += (((tms->target_pitch - tms->current_pitch)*(1-tms->inhibit)) INTERP_SHIFT);
874914            break;
875915            case 5: /* PC=2, B cycle, nothing happens (update K1) */
876916            break;
877917            case 6: /* PC=3, A cycle, update K1 (calc K2) */
878            if (interp_period == PC_COUNT_LOAD)
879               tms->current_k[0] = tms->coeff->ktable[0][tms->old_frame_k_idx[0]];
880            tms->current_k[0] += ((tms->target_k[0] - tms->current_k[0]) >> tms->coeff->interp_coeff[interp_period]);
918            tms->current_k[0] += (((tms->target_k[0] - tms->current_k[0])*(1-tms->inhibit)) INTERP_SHIFT);
881919            break;
882920            case 7: /* PC=3, B cycle, nothing happens (update K2) */
883921            break;
884922            case 8: /* PC=4, A cycle, update K2 (calc K3) */
885            if (interp_period == PC_COUNT_LOAD)
886               tms->current_k[1] = tms->coeff->ktable[1][tms->old_frame_k_idx[1]];
887            tms->current_k[1] += ((tms->target_k[1] - tms->current_k[1]) >> tms->coeff->interp_coeff[interp_period]);
923            tms->current_k[1] += (((tms->target_k[1] - tms->current_k[1])*(1-tms->inhibit)) INTERP_SHIFT);
888924            break;
889925            case 9: /* PC=4, B cycle, nothing happens (update K3) */
890926            break;
891927            case 10: /* PC=5, A cycle, update K3 (calc K4) */
892            if (interp_period == PC_COUNT_LOAD)
893               tms->current_k[2] = tms->coeff->ktable[2][tms->old_frame_k_idx[2]];
894            tms->current_k[2] += ((tms->target_k[2] - tms->current_k[2]) >> tms->coeff->interp_coeff[interp_period]);
928            tms->current_k[2] += (((tms->target_k[2] - tms->current_k[2])*(1-tms->inhibit)) INTERP_SHIFT);
895929            break;
896930            case 11: /* PC=5, B cycle, nothing happens (update K4) */
897931            break;
898932            case 12: /* PC=6, A cycle, update K4 (calc K5) */
899            if (interp_period == PC_COUNT_LOAD)
900               tms->current_k[3] = tms->coeff->ktable[3][tms->old_frame_k_idx[3]];
901            tms->current_k[3] += ((tms->target_k[3] - tms->current_k[3]) >> tms->coeff->interp_coeff[interp_period]);
933            tms->current_k[3] += (((tms->target_k[3] - tms->current_k[3])*(1-tms->inhibit)) INTERP_SHIFT);
902934            break;
903935            case 13: /* PC=6, B cycle, nothing happens (update K5) */
904936            break;
905937            case 14: /* PC=7, A cycle, update K5 (calc K6) */
906            if (interp_period == PC_COUNT_LOAD)
907               tms->current_k[4] = (tms->coeff->ktable[4][tms->old_frame_k_idx[4]] * (1-zpar));
908            tms->current_k[4] += ((tms->target_k[4] - tms->current_k[4]) >> tms->coeff->interp_coeff[interp_period]);
938            tms->current_k[4] += (((tms->target_k[4] - tms->current_k[4])*(1-tms->inhibit)) INTERP_SHIFT);
909939            break;
910940            case 15: /* PC=7, B cycle, nothing happens (update K6) */
911941            break;
912942            case 16: /* PC=8, A cycle, update K6 (calc K7) */
913            if (interp_period == PC_COUNT_LOAD)
914               tms->current_k[5] = (tms->coeff->ktable[5][tms->old_frame_k_idx[5]] * (1-zpar));
915            tms->current_k[5] += ((tms->target_k[5] - tms->current_k[5]) >> tms->coeff->interp_coeff[interp_period]);
943            tms->current_k[5] += (((tms->target_k[5] - tms->current_k[5])*(1-tms->inhibit)) INTERP_SHIFT);
916944            break;
917945            case 17: /* PC=8, B cycle, nothing happens (update K7) */
918946            break;
919947            case 18: /* PC=9, A cycle, update K7 (calc K8) */
920            if (interp_period == PC_COUNT_LOAD)
921               tms->current_k[6] = (tms->coeff->ktable[6][tms->old_frame_k_idx[6]] * (1-zpar));
922            tms->current_k[6] += ((tms->target_k[6] - tms->current_k[6]) >> tms->coeff->interp_coeff[interp_period]);
948            tms->current_k[6] += (((tms->target_k[6] - tms->current_k[6])*(1-tms->inhibit)) INTERP_SHIFT);
923949            break;
924950            case 19: /* PC=9, B cycle, nothing happens (update K8) */
925951            break;
926952            case 20: /* PC=10, A cycle, update K8 (calc K9) */
927            if (interp_period == PC_COUNT_LOAD)
928               tms->current_k[7] = (tms->coeff->ktable[7][tms->old_frame_k_idx[7]] * (1-zpar));
929            tms->current_k[7] += ((tms->target_k[7] - tms->current_k[7]) >> tms->coeff->interp_coeff[interp_period]);
953            tms->current_k[7] += (((tms->target_k[7] - tms->current_k[7])*(1-tms->inhibit)) INTERP_SHIFT);
930954            break;
931955            case 21: /* PC=10, B cycle, nothing happens (update K9) */
932956            break;
933957            case 22: /* PC=11, A cycle, update K9 (calc K10) */
934            if (interp_period == PC_COUNT_LOAD)
935               tms->current_k[8] = (tms->coeff->ktable[8][tms->old_frame_k_idx[8]] * (1-zpar));
936            tms->current_k[8] += ((tms->target_k[8] - tms->current_k[8]) >> tms->coeff->interp_coeff[interp_period]);
958            tms->current_k[8] += (((tms->target_k[8] - tms->current_k[8])*(1-tms->inhibit)) INTERP_SHIFT);
937959            break;
938960            case 23: /* PC=11, B cycle, nothing happens (update K10) */
939961            break;
940962            case 24: /* PC=12, A cycle, update K10 (do nothing) */
941            if (interp_period == PC_COUNT_LOAD)
942               tms->current_k[9] = (tms->coeff->ktable[9][tms->old_frame_k_idx[9]] * (1-zpar));
943            tms->current_k[9] += ((tms->target_k[9] - tms->current_k[9]) >> tms->coeff->interp_coeff[interp_period]);
963            tms->current_k[9] += (((tms->target_k[9] - tms->current_k[9])*(1-tms->inhibit)) INTERP_SHIFT);
944964            break;
945965         }
966#endif
946967        }
947968
948969        /* calculate the output */
r8054r8055
978999              tms->excitation_data = tms->coeff->chirptable[tms->pitch_count];
9791000#else
9801001          if (tms->pitch_count >= 51)
981              tms->excitation_data = tms->coeff->chirptable[51]^0xFF;
1002              tms->excitation_data = tms->coeff->chirptable[51]^~0x0;
9821003          else /*tms->pitch_count < 51*/
983              tms->excitation_data = tms->coeff->chirptable[tms->pitch_count]^0xFF;
1004              tms->excitation_data = tms->coeff->chirptable[tms->pitch_count]^~0x0;
9841005#endif
9851006        }
9861007
r8054r8055
9941015            tms->RNG >>= 1;
9951016            tms->RNG |= bitout << 12;
9961017   }
1018      this_sample = lattice_filter(tms); /* execute lattice filter */
9971019#ifdef DEBUG_GENERATION_VERBOSE
9981020      fprintf(stderr,"X:%04d; E:%04d; P:%04d; Pc:%04d ",tms->excitation_data, tms->current_energy, tms->current_pitch, tms->pitch_count);
9991021      for (i=0; i<10; i++)
10001022         fprintf(stderr,"K%d:%04d ", i+1, tms->current_k[i]);
1023      fprintf(stderr,"Out:%06d", this_sample);
10011024      fprintf(stderr,"\n");
10021025#endif
1003      buffer[buf_count] = clip_and_wrap(lattice_filter(tms)); /* execute lattice filter and clipping/wrapping */
1004
1005        //if (tms->digital_select == 0) /* if digital is NOT selected... */
1006      //  buffer[buf_count] &= 0xff00; /* mask out all but the 8 dac bits */
1007
1026      /* next, force result to 14 bits (since its possible that the addition at the final (k1) stage of the lattice overflowed) */
1027      while (this_sample > 16383) this_sample -= 32768;
1028      while (this_sample < -16384) this_sample += 32768;
1029      if (tms->digital_select == 0) // analog SPK pin output is only 8 bits, with clipping
1030         buffer[buf_count] = clip_analog(this_sample);
1031      else // digital I/O pin output is 12 bits
1032      {
1033#ifdef ALLOW_4_LSB
1034         // input:  ssss ssss ssss ssss ssnn nnnn nnnn nnnn
1035         // N taps:                       ^                 = 0x2000;
1036         // output: ssss ssss ssss ssss snnn nnnn nnnn nnnN
1037         buffer[buf_count] = (this_sample<<1)|((this_sample&0x2000)>>13);
1038#else
1039         this_sample &= ~0xF;
1040         // input:  ssss ssss ssss ssss ssnn nnnn nnnn 0000
1041         // N taps:                       ^^ ^^^            = 0x3E00;
1042         // output: ssss ssss ssss ssss snnn nnnn nnnN NNNN
1043         buffer[buf_count] = (this_sample<<1)|((this_sample&0x3E00)>>9);
1044#endif
1045      }
10081046        /* Update all counts */
10091047
10101048        size--;
r8054r8055
10221060    {
10231061      tms->sample_count = (tms->sample_count + 1) % 200;
10241062      tms->interp_count = (tms->interp_count + 1) % 25;
1025      buffer[buf_count] = -1<<4;   /* should be (-1 << 8) ??? (cf note in data sheet, p 10, table 4) */
1063      buffer[buf_count] = -1;   /* should be just -1; actual chip outputs -1 every idle sample; (cf note in data sheet, p 10, table 4) */
10261064        buf_count++;
10271065        size--;
10281066    }
r8054r8055
10301068
10311069/**********************************************************************************************
10321070
1033     clip_and_wrap -- clips and wraps the 14 bit return value from the lattice filter to its final 10 bit value (-512 to 511), and upshifts this to 16 bits
1071     clip_analog -- clips the 14 bit return value from the lattice filter to its final 10 bit value (-512 to 511), and upshifts/range extends this to 16 bits
10341072
10351073***********************************************************************************************/
10361074
1037static INT16 clip_and_wrap(INT16 cliptemp)
1075static INT16 clip_analog(INT16 cliptemp)
10381076{
1039    /* clipping & wrapping, just like the patent shows:
1040       first of all the result should be clamped to 14 bits, between -16384 and 16383
1041    */
1042   while (cliptemp > 16383) cliptemp -= 32768;
1043   while (cliptemp < -16384) cliptemp += 32768;
1044   /* the top 10 bits of this result are visible on the digital output IO pin.
1077    /* clipping, just like the patent shows:
1078       the top 10 bits of this result are visible on the digital output IO pin.
10451079       next, if the top 3 bits of the 14 bit result are all the same, the lowest of those 3 bits plus the next 7 bits are the signed analog output, otherwise the low bits are all forced to match the inverse of the topmost bit, i.e.:
10461080       1x xxxx xxxx xxxx -> 0b10000000
10471081       11 1bcd efgh xxxx -> 0b1bcdefgh
10481082       00 0bcd efgh xxxx -> 0b0bcdefgh
10491083       0x xxxx xxxx xxxx -> 0b01111111
10501084       */
1051#ifdef DEBUG_CLIP_WRAP
1085#ifdef DEBUG_CLIP
10521086   if ((cliptemp > 2047) || (cliptemp < -2048)) fprintf(stderr,"clipping cliptemp to range; was %d\n", cliptemp);
10531087#endif
1054#ifdef DO_CLIP_AND_WRAP
10551088   if (cliptemp > 2047) cliptemp = 2047;
10561089   else if (cliptemp < -2048) cliptemp = -2048;
1057   //cliptemp &= 0xFFF0;
1058   /* at this point the analog output is tapped*/
1059   return cliptemp << 4;
1090   /* at this point the analog output is tapped */
1091#ifdef ALLOW_4_LSB
1092   // input:  ssss snnn nnnn nnnn
1093   // N taps:       ^^^ ^         = 0x0780
1094   // output: snnn nnnn nnnn NNNN
1095   return (cliptemp << 4)|((cliptemp&0x780)>>7); // upshift and range adjust
10601096#else
1061   return cliptemp << 1;
1097   cliptemp &= ~0xF;
1098   // input:  ssss snnn nnnn 0000
1099   // N taps:       ^^^ ^^^^      = 0x07F0
1100   // P taps:       ^             = 0x0400
1101   // output: snnn nnnn NNNN NNNP
1102   return (cliptemp << 4)|((cliptemp&0x7F0)>>3)|((cliptemp&0x400)>>10); // upshift and range adjust
10621103#endif
10631104}
10641105
r8054r8055
10711112     output is 14 bits, but note the result LSB bit is always 1. (or is it?)
10721113
10731114**********************************************************************************************/
1074static INT16 matrix_multiply(INT16 a, INT16 b)
1115static INT32 matrix_multiply(INT32 a, INT32 b)
10751116{
1076   INT16 result;
1117   INT32 result;
10771118   while (a>511) { a-=1024; }
10781119   while (a<-512) { a+=1024; }
10791120   while (b>16383) { b-=32768; }
10801121   while (b<-16384) { b+=32768; }
1081#ifdef NORMALMODE
10821122   result = ((a*b)>>9)|1;
1083#else
1084   result = (a*b)>>9;
1085#endif
10861123#ifdef VERBOSE
1087   if (result>16383) fprintf(stderr,"matrix multiplier overflowed! a: %x, b: %x", a, b);
1088   if (result<-16384) fprintf(stderr,"matrix multiplier underflowed! a: %x, b: %x", a, b);
1124   if (result>16383) fprintf(stderr,"matrix multiplier overflowed! a: %x, b: %x, result: %x", a, b, result);
1125   if (result<-16384) fprintf(stderr,"matrix multiplier underflowed! a: %x, b: %x, result: %x", a, b, result);
10891126#endif
10901127   return result;
10911128}
r8054r8055
10981135
10991136***********************************************************************************************/
11001137
1101static INT16 lattice_filter(tms5220_state *tms)
1138static INT32 lattice_filter(tms5220_state *tms)
11021139{
11031140   /* Lattice filter here */
11041141   /* Aug/05/07: redone as unrolled loop, for clarity - LN*/
r8054r8055
11081145      Kn = tms->current_k[n-1]
11091146      bn = tms->x[n-1]
11101147    */
1111      tms->u[10] = matrix_multiply(tms->previous_energy, (tms->excitation_data*64));  //Y(11)
1112      //tms->u[10] = matrix_multiply((tms->excitation_data*64), tms->current_energy); // wrong but sounds better
1148        tms->u[10] = matrix_multiply(tms->previous_energy, (tms->excitation_data*64));  //Y(11)
11131149        tms->u[9] = tms->u[10] - matrix_multiply(tms->current_k[9], tms->x[9]);
11141150        tms->u[8] = tms->u[9] - matrix_multiply(tms->current_k[8], tms->x[8]);
11151151        tms->x[9] = tms->x[8] + matrix_multiply(tms->current_k[8], tms->u[8]);
r8054r8055
11311167        tms->x[1] = tms->x[0] + matrix_multiply(tms->current_k[0], tms->u[0]);
11321168        tms->x[0] = tms->u[0];
11331169        tms->previous_energy = tms->current_energy;
1170#ifdef DEBUG_LATTICE
1171      int i;
1172      fprintf(stderr,"V:%04d ", tms->u[10]);
1173      for (i = 9; i >= 0; i--)
1174      {
1175         fprintf(stderr,"Y%d:%04d ", i+1, tms->u[i]);
1176         fprintf(stderr,"b%d:%04d ", i+1, tms->x[i]);
1177         if ((i % 5) == 0) fprintf(stderr,"\n");
1178      }
1179#endif
11341180        return tms->u[0];
11351181}
11361182
r8054r8055
11441190static void process_command(tms5220_state *tms, unsigned char cmd)
11451191{
11461192#ifdef DEBUG_COMMAND_DUMP
1147      logerror("process_command called with parameter %02X\n",cmd);
1193      fprintf(stderr,"process_command called with parameter %02X\n",cmd);
11481194#endif
11491195      /* parse the command */
11501196      switch (cmd & 0x70)
r8054r8055
12041250         tms->speaking_now = 1;
12051251         tms->speak_external = 0;
12061252         tms->talk_status = 1;  /* start immediately */
1253         /* clear out variables before speaking */
1254         tms->new_frame_energy_idx = 0;
1255         tms->new_frame_pitch_idx = 0;
1256         int i;
1257         for (i = 0; i < 4; i++)
1258            tms->new_frame_k_idx[i] = 0;
1259         for (i = 4; i < 7; i++)
1260            tms->new_frame_k_idx[i] = 0xF;
1261         for (i = 7; i < tms->coeff->num_k; i++)
1262            tms->new_frame_k_idx[i] = 0x7;
12071263         break;
12081264
12091265      case 0x60 : /* speak external */
r8054r8055
14271483{
14281484   tms5220_state *tms = get_safe_token(device);
14291485
1486   tms->digital_select = FORCE_DIGITAL; // assume analog output
14301487   /* initialize the FIFO */
14311488   /*memset(tms->fifo, 0, sizeof(tms->fifo));*/
14321489   tms->fifo_head = tms->fifo_tail = tms->fifo_count = tms->fifo_bits_taken = 0;
r8054r8055
14481505   memset(tms->target_k, 0, sizeof(tms->target_k));
14491506
14501507   /* initialize the sample generators */
1508   tms->inhibit = 1;
14511509   tms->interp_count = tms->tms5220c_rate = tms->pitch_count = 0;
14521510   tms->sample_count = reload_table[tms->tms5220c_rate&0x3];
14531511    tms->RNG = 0x1FFF;
src/emu/drawgfxm.h
r8054r8055
255255   if (entry != DRAWMODE_NONE)                                          \
256256   {                                                            \
257257      UINT8 pridata = (PRIORITY);                                       \
258      if (((1 << (pridata & 0x1f)) & pmask) == 0)                           \
258      if (entry == DRAWMODE_SOURCE)                                    \
259259      {                                                         \
260         if (entry == DRAWMODE_SOURCE)                                 \
261         {                                                      \
260         if (((1 << (pridata & 0x1f)) & pmask) == 0)                        \
262261            (DEST) = paldata[srcdata];                                 \
263            (PRIORITY) = 31;                                       \
264         }                                                      \
265         else if ((pridata & 0x80) == 0)                                 \
266         {                                                      \
267            (DEST) = shadowtable[DEST];                                 \
268            (PRIORITY) = pridata | 0x80;                              \
269         }                                                      \
262         (PRIORITY) = 31;                                          \
270263      }                                                         \
264      else if ((pridata & 0x80) == 0 && ((1 << (pridata & 0x1f)) & pmask) == 0)   \
265      {                                                         \
266         (DEST) = shadowtable[DEST];                                    \
267         (PRIORITY) = pridata | 0x80;                                 \
268      }                                                         \
271269   }                                                            \
272270}                                                               \
273271while (0)                                                         \
r8054r8055
280278   if (entry != DRAWMODE_NONE)                                          \
281279   {                                                            \
282280      UINT8 pridata = (PRIORITY);                                       \
283      if (((1 << (pridata & 0x1f)) & pmask) == 0)                           \
281      if (entry == DRAWMODE_SOURCE)                                    \
284282      {                                                         \
285         if (entry == DRAWMODE_SOURCE)                                 \
286         {                                                      \
283         if (((1 << (pridata & 0x1f)) & pmask) == 0)                        \
287284            (DEST) = paldata[srcdata];                                 \
288            (PRIORITY) = 31;                                       \
289         }                                                      \
290         else if ((pridata & 0x80) == 0)                                 \
291         {                                                      \
292            (DEST) = shadowtable[rgb_to_rgb15(DEST)];                     \
293            (PRIORITY) = pridata | 0x80;                              \
294         }                                                      \
285         (PRIORITY) = 31;                                          \
295286      }                                                         \
287      else if ((pridata & 0x80) == 0 && ((1 << (pridata & 0x1f)) & pmask) == 0)   \
288      {                                                         \
289         (DEST) = shadowtable[rgb_to_rgb15(DEST)];                        \
290         (PRIORITY) = pridata | 0x80;                                 \
291      }                                                         \
296292   }                                                            \
297293}                                                               \
298294while (0)                                                         \
src/lib/util/cdrom.c
r8054r8055
574574   for (toc->numtrks = 0; toc->numtrks < CD_MAX_TRACKS; toc->numtrks++)
575575   {
576576      int tracknum = -1, frames = 0, hunks;
577      char type[15], subtype[15];
577      char type[16], subtype[16];
578578      cdrom_track_info *track;
579579
580580      /* fetch the metadata for this track */
src/version.c
r8054r8055
1010***************************************************************************/
1111
1212extern const char build_version[];
13const char build_version[] = "0.137.1 ("__DATE__")";
13const char build_version[] = "0.138 ("__DATE__")";
docs/messnew.txt
r8054r8055
10.137.1
10.138
22
33New System Drivers Supported:
44-----------------------------
makefile
r8054r8055
161161# uncomment and specify architecture-specific optimizations here
162162# some examples:
163163#   optimize for I686:   ARCHOPTS = -march=pentiumpro
164#   optimize for Core 2: ARCHOPTS = -march=pentium-m -msse3
164#   optimize for Core 2: ARCHOPTS = -march=core2
165165#   optimize for G4:     ARCHOPTS = -mcpu=G4
166166# note that we leave this commented by default so that you can
167167# configure this in your environment and never have to think about it
whatsnew.txt
r8054r8055
10.137
10.138
22-----
33
4IMPORTANT NOTE: As of this release of MAME, several important things
5about the system have changed. Please read the following items before
6attempting to compile this new version.
74
81. A new tool chain for Windows, based off of gcc 4.4.3 prerelease,
9is now REQUIRED. Go to http://mamedev.org/tools to get the new tools.
10The code included with 0.137 WILL NOT BUILD with the old tools.
11The new tool chain has support for building 64-bit MAME builds with
12gcc, as well as built-in DirectX headers, and C++ support, which was
13missing from the old tools.
14
152. Non-Unicode builds of Windows MAME are no longer supported. The
16options to turn this off in the makefile have been removed, and
17future changes are likely to solidify this requirement. If you are
18still (God forbid) running on Win9x, you will need the unicows.dll
19library to run MAME. Download unicows from Microsoft.
20
213. All code in MAME is now compiled as C++, plus there have been a few
22small changes that take advantage of the C++ language. For the most
23part, there is no effect on how drivers are written, except for some
24nicer accessors to devices and address spaces. Future improvements to
25take advantage of the C++ syntax will evolve slowly, and will be done
26internally. We are not interested in outside attempts to do this work
27for now.
28
294. The SDL OSD for MAME is now shipped as part of the main source
30package. SDL builds for Windows are now regularly built as part of the
31validation sequence for a new release. Thanks to R. Belmont,
32couriersud, and Olivier Galibert for their work on the SDL port over
33the years.
34
35
36
375MAMETesters Bugs Fixed
386----------------------
39- 03533: [Debugger] All 68020 cpu based drivers: 68020 disassembler
40         bug: a 32-bit address displacement's upper 16-bit is
41         desappear (R. Belmont)
7- 03683: [Crash/Freeze] topgunnr: Crashes MAME after INSERT COIN/GAME
8         START (hap)
9- 02878: [Speed] simpsons and clones: Vertical refresh rate (hap)
10- 03273: [Original Reference] brubber, bnj, caractn: Incorrect screen
11         resolution for Burnin' Rubber and clones (hap)
12- 03492: [Crash/Freeze] hunchbkg: Does not boot (couriersud)
13- 03657: [Crash/Freeze] All sets in maxaflex.c: Random crashes
14         (Firewave)
15- 03765: [Crash/Freeze] qdrmfgp2: ASSERT after OK (hap)
16- 03823: [Color/Palette] pc_miket: Bad colours (Alex Jackson)
17- 03047: [Graphics] elevator, elevatorb: Some graphics on the
18         escalators shift when you ride on them (hap)
19- 03628: [Graphics] alpine: Red point on the title screen (M.A.S.H.)
20- 03033: [Graphics] vendetta: Sprite priority problem in the 3rd
21         stage (hap)
22- 03647: [Graphics] All games in vendetta.c: Graphical error in the
23         intro scene of the game. (hap)
24- 03834: [Sound] qtheater: No sound (hap)
25- 03830: [Crash/Freeze] All sets in harddriv.c: Message: Duplicate
26         save state registration entry (DSP32C/dsp32/0/cpustate->pin)
27         (Tafoid)
28- 00390: [DIP/Input] spaceftr: does not allow you to turn to the
29         right. (hap)
4230
4331
4432
4533Source Changes
4634--------------
47snes.c: simplified drawing routines, added support for
48offset-per-tile, cleaned up the code [Fabio Priuli]
35New Lucky 8 Lines hardware: [Roberto Fresca]
36 * Added lamps support to lucky8, lucky8a, lucky8b, ns8liner, ns8linew
37    and kkojnoli.
38 * Created lamps layout for the above sets.
39 * New inputs for ns8linew. This set has a second set of inputs, and
40    can be switched between them. No lamps activity or Big/Small
41    buttons are present while this alternative controls are used.
42    Maybe is a leftover.
43 * Some DIP switches were figured out. Coinage and limits are still a
44    real mystery since all DIP switches are reflected in the test
45    mode.
46 * Remapped inputs to be straightforward with the control panel.
47 * Added the type (W-4/F-5) to the sets description.
48 * General inputs clean-up.
4949
50H8/3334: add analog input ports [R. Belmont]
50suna8.c: Updated documentation for Strike Fighter to include the game
51number, PCB number and epoxy CPU [Fabrizio Vasile]
5152
52snes.c: fixed remaining issues in hires modes [Fabio Priuli]
53Jaguar: fixed RGB VARMOD mode [Angelo Salese]
5354
54snes.c: fixed serial joystick reads [Fabio Priuli]
55namcops2: add DVD image for taiko10 [Guru]
5556
56snes.c: slightly simplified palette handling [Fabio Priuli]
57Added DIP Locations for all games in the jack.c driver.  Changed
58copyright on joinem to match displayed year.  [Tafoid]
5759
58Re-dumped oceanhun CROMs 5-16 as 64Mb [ANY]
60More cleanup of the lpc tables; Replaced tms5220C pitch table with the
61tms5220 one as that one is more likely to be correct. [Lord Nightmare]
5962
60namcos23: Cleanups [O. Galibert]
63Add 'Unrealistically Perfect Interpolation' debug mode; Fix a
64potential issue with 16 bit overflow in the lattice filter; Made idle
65state emulation more accurate to real chip; Clean out variables before
66VSM speech starts; Mask out low 4 bits of 14 bit lattice result before
67output. [Lord Nightmare]
6168
62namcos23: Add dips [O. Galibert]
69Fix a mistake in the interpolation logic, it should now properly delay
70interpolation until the final cycle of each frame when INHIBIT is set.
71[Lord Nightmare]
6372
64snes.c: Added very preliminary driver_data class for snes based
65drivers (it only contains input-related items for the moment, because
66these are needed to add support for additional controller types in
67MESS) [Fabio Priuli]
73tms5220: Remove unnecessary interpolation code; Add extra check to
74make unvoiced mode trigger at the correct sample. [Lord Nightmare]
6875
69snes.c: Fixed Offset-per-tile graphics [jbo_85]
76Fixed up tms52xx clip/wrap function arrangement to be much more sane,
77and properly handled range extension. [Lord Nightmare]
7078
71snes.c: Fixed scrolling problems [Fabio Priuli]
79Made tms5220 DEBUG_GENERATION more useful and simplified the code in
80the process. [Lord Nightmare]
7281
73namcos23: More cleanups [O. Galibert]
82lib/util/cdrom.c: Fixed stack corruption in CHD code
83[Oliver Stoeneberg]
7484
75Implemented default EEPROMs to the following drivers [David Haywood]
76 * deco_mlc.c
77 * esd16.c
78 * gijoe.c
79 * konamigx.c
80 * moo.c
81 * mystwarr.c
82 * rabbit.c
83 * rungun.c
84 * tmnt.c
85 * vendetta.c
86 * xexex.c
87
88Added support for the 'simple' rowscroll mode used by sams64_2
89[David Haywood]
90
91Fixed Z80 DMA ready signal handling. [Curt Coder]
92
93namcos23 update: [R. Belmont, Guru]
94 * Updated Guru Readme
95 * More IRQ tests pass
96 * Gunmen Wars I/O board runs and syncs
97 * SH-2 shared RAM added for Gunmen Wars
98
99Implemented default EEPROMs to Bubble Memories, Lethal Enforcers and
100Puzzle Time [David Haywood]
101
10285Implemented default EEPROMs for GTIClub, Hang Pilot, Asterix, X-Men
10386and Polygonet Commanders [David Haywood]
10487
10588Fixed the texture ROM loading/order in Wave Shark.  Textures look
10689better now, and the ROM check passes [David Haywood]
10790
108namcos23: pass C422 IRQ test [R. Belmont]
91Fix for Target Hits missing sound. [Tafoid]
10992
110Added ARDY/BRDY signal read handlers to Z80 PIO. [Curt Coder]
93fspiderb: Added projectiles, game is playable now [hap]
11194
112Implemented 'key matrix' inputs in King Derby (1986 version)
113[Angelo Salese]
95General cleanup of PGM code [David Haywood]
11496
115namcos23 updates: [R. Belmont]
116 * Preliminary SH-2 hookup for GMEN games.  SH-2 boots and copies the
117    loader to private RAM then jumps to it.  Transfer protocol for
118    main program not yet understood.
119 * Final Furlong 2 has a GMEN board and camera; update it to use that
120    subdriver.
97Removed ROM Patch in Killing Blade and replaced with correct IGS025
98return sequence fo China region (other sequences still unknown)
99[XingXing]
121100
122Implemented sound to King Derby (1986 version) [Angelo Salese]
101pengadvb: Improved inputs, the game can now be coined up. It magically
102has sound too now. [hap]
123103
124Implemented coins to King Derby (1986 version), game can be considered
125as working right now [Angelo Salese]
104S2650_SENSE_PORT is now active when data written is != 0 and inactive
105when data == 0. It now acts as a line in a mame-sense. [Couriersud]
126106
127namcos23 updates: [R. Belmont]
128 * Hooked up start/coin/buttons for Gorgon
129 * Fixed Panic Park crash
130 * Enabled I/O board for timecrs2c so it can coin up
131 * Cleanup
107btime: Background vertical offset was off by one pixel, burger parts
108positions are correct now. This also means Peter Pepper awkwardly
109walks in the air, which is the way it is on the PCB. [hap]
132110
133SDL: fix Fortify-reported stack smash [Belegdol]
111fixed ROM names of tp84a (tp84 needs confirmation) [Team Japump]
134112
135New driver for Five Clown, from IGS. This is a dual 6502 system with
136CRT controller, AY8910 and OKI M6295. Main program, graphics and sound
137samples are encrypted. [Roberto Fresca, Grull Osgo]
138 * Hooked both 6502 CPU's.
139 * Hooked the M6845 CRT.
140 * Decrypted main program and bulk GFX.
141 * Decoded GFX and color PROM.
142 * Hooked both PIA's 6821.
143 * Worked inputs from the scratch.
144 * Hooked DIP Switches banks 2 & 4.
145 * Hooked proper interrupts for audio CPU.
146 * Hooked the AY8910 latches...
147 * Hooked the OKI6295.
148 * Hooked DIP switches ports $C400 & $CC00.
149 * Found the sound samples decryption algorithm.
150 * Added NVRAM support.
151 * Added a complete PCB layout.
152 * Added game notes.
153 * Added technical notes.
113Fixed hunchbkg ports. [Couriersud]
154114
155z80sio: Added register access functions to prevent trampoline
156functions [Dirk Best]
115sprtmtch: Added Intermissions dipswitch [David Bain]
157116
158Fixed debugger memdump command [Robbbert]
117Fixed coinage of desertbr [yasuhiro]
159118
160Improvements to the unkch1/4 sets [David Haywood]
161119
162Decrypted the color prom in King Derby (1986 version) [Angelo Salese]
163120
164Made device->tag and devconfig->tag into private member variables
165(m_tag). Added inline tag() function to return a const char * version.
166Updated callers to use this instead of directly accessing tag.cstr()
167which was awkward. [Aaron Giles]
168
169snes.c: Fixed OAM overflow [jbo_85, Fabio Priuli]
170
171Improvements to funworld.c driver. [Roberto Fresca]
172 * Added external default NVRAM support to the following games:
173    bottle10, bottl10b, elephfam, elephfmb, jollycrd, jolyc3x3,
174    jolyccra, jolyccrb, jolycdev, jolycdib, jolycdit, jolyjokr,
175    jolyjokra, jolyjokrb, lluck3x3, lluck4x1, magicrd2, pool10,
176    pool10b, pool10c, pool10d, potgame, royalcrd, royalcdb, sjcd2kx3,
177    tortufam, vegasfst, vegasfte and vegasslw.
178 * Changed default settings for some games, now that NVRAM is loaded
179    externally.
180
181Confirmed and hooked up i/o ports in Magical Tonic / Odds, doesn't
182work due of nested NMI [Angelo Salese]
183
184snes.c: refactored joypad inputs to be consistent with other input
185devices (used in MESS) [Fabio Priuli]
186
187Implemented NMI enable flag in Lucky 8 Lines and Magical Odds, fixes
188logic quirks in the latter [Angelo Salese]
189
190Improvements to Magical Odds graphics [David Haywood]
191
192Written a per-pixel function for the irq system in the ST-V driver,
193disabled by default [Angelo Salese]
194
195vimana, vimanan, vimana1 (toaplan1.c driver) [stephh] :
196 * Fixed Dip Switches and Inputs (after verification of the M68000
197    code)
198 * Improved MCU emulation to correctly handle coinage based on Dip
199    Switches settings and Territory Jumper
200
201Implemented sound NMI enable flag to the Munch Mobile driver
202[Angelo Salese]
203
204m680x0: show FPU registers in the debugger for 030+ [R. Belmont]
205
206680x0: Improve disassembly for various FMOVE forms [R. Belmont]
207
208Slightly fixed interrupt handling and added SBIC and MUL opcodes to
209the Atmel AVR8 core. [Harmony]
210
211Added FJMP/JMPF opcode to the SunPlus u'nSP core. [Segher, Harmony]
212
213Performed an initial code cleanup pass on the N64 rendering code to
214make use of booleans and inline variable instantiation, and removed a
215number of unused variables that were exposed as a result of the
216latter. [Harmony]
217
218
219
220121New games added or promoted from NOT_WORKING status
221122---------------------------------------------------
222Five Clown (english, set 1) [Roberto Fresca, Grull Osgo]
223Five Clown (english, set 2) [Roberto Fresca, Grull Osgo]
224Five Clown (spanish hack) [Roberto Fresca, Grull Osgo]
225Magical Odds [David Haywood, Angelo Salese]
123New Lucky 8 Lines / New Super 8 Lines (F-5, Witch Bonus)
124  [Roberto Fresca, incog, Smitdogg, The Dumping Union]
125International Team Laser (prototype)
126  [ranger_lennier, genieta1, J. Ferneborg, Smitdogg, italie,
127   David Haywood, The Dumping Union]
226128
227129
228130
229131New clones added
230132----------------
231Dinosaur Hunter (Chinese bootleg of Cadillacs and Dinosaurs)
232  [Anonymous] (not working)
233Biaofeng Zhanjing (Chinese bootleg of The Punisher) [Anonymous]
234Cherry Master I (E-Z Spin bootleg / hack) [William Ostronic]
235Lethal Enforcers II: The Western (ver JAA) [David Haywood]
236Fantastic Journey (ver AAA) [David Haywood, Tirino73]
237Smash T.V. (rev 3.01) [Brian Troha, The Dumping Union]
133Desert Breaker (Japan) [Team Japump, Dumping Union]
134Youma Ninpouchou (Japan, alt) [Takahiro Nogi]
135Armed F (Japan) [Takahiro Nogi]
136Champion Baseball II (Japan, not working) [Takahiro Nogi]
137Wing War (Japan) [Team Japump, The Dumping Union]
138Street Fighter EX 2 (HISPANIC 980312)
139  [Layne, J. Bijl, Smitdogg, The Dumping Union]
140Giga Wing (Hispanic 990222)
141  [dopefishjustin, A. Hoekman, Smitdogg, David Haywood, The Dumping Union]
142Street Fighter Alpha 3 (Hispanic 980629)
143  [dopefishjustin, Smitdogg, David Haywood, The Dumping Union]
144Eco Fighters (Hispanic 931203)
145  [Kevin Eshbach, wild eyed, Smitdogg, David Haywood, The Dumping Union]
146X-Men: Children of the Atom (Hispanic 950105)
147  [ranger_lennier, tormod, Smitdogg, The Dumping Union]
148Dungeons & Dragons: Tower of Doom (Hispanic 940113)
149  [Kevin Eshbach, Layne, Gor, blokey, Smitdogg, The Dumping Union]
150Pac-land (Japan, older) [Team Japump]
151Fixed ROM labels for Pac-Land, Scramble Egg, and Straight Flash
152  [Team Japump]
153Photo Y2K (ver. 105) [XingXing]
238154
239155
240156
241157New games marked as GAME_NOT_WORKING
242158------------------------------------
243Joker Master / Poker Master
244  [William Ostronic] (incomplete + encrypted)
245Gunmen Wars [Guru]
159Taiko no Tatsujin 10 (T101001-NA-A) [Guru]
160Dragon World 3 EX (ver. 100) [Guru]
161Dragon World 2001 [Guru]
162Royal Queen
163  [Hikari, Spyder, S. S. Neilson, Smitdogg, The Dumping Union]
164Chance Kun [ranger_lennier, incog, Smitdogg, The Dumping Union]
165Photo Y2K 2 [Guru]
246166
247167
248168
2490.136u4
1690.137u4
250170-------
251171
252172
253173MAMETesters Bugs Fixed
254174----------------------
255- 03268: [Save/Restore] All sets in galaga.c: Problem with Savestates
256         (couriersud)
257- 03698: [Compiling] NOWERROR=1 casues -fno-strict-aliasing to be
258         dropped (couriersud)
259- 03749: [Crash/Freeze] All sets in micro3d.c : [debug] Assert in
260         debug build (couriersud)
261- 03746: [Core] [debug] Overloaded C++ operator new/operator delete is
262         too restrictive (couriersud)
263- 03748: [Documentation] ncv1, ncv2 and clones: Namco 'Classics'
264         Collection description incorrect (Tafoid)
265- 03634: [Graphics] quantum: Draws wrong lines (MathisRosenhauer)
266- 03739: [Crash/Freeze] backgamn: Access Violation after OK
267         (Fabio Priuli)
268- 03249: [Misc.] motoxgo, timecrs2b: H8/3xx: Unknown opcode (PC=2)
269         100 (R. Belmont)
270- 03740: [Crash/Freeze] atomicp, snapper: Duplicate save state entry
271         (Tafoid)
272- 03699: [Crash/Freeze] masterw: Game freezes (Fabio Priuli)
273- 03697: [Misc.] bigrun: Missing gfx and terrible music (Mamesick)
274- 02960: [Graphics] speglsht: Regression in Super Eagle Shot, looping
275         broken attract mode (Mamesick)
276- 03034: [DIP/Input] scross, scrossu: Control Issues (M.A.S.H.)
277- 03731: [DIP/Input] ixion: Unable to rotate cannon clockwise (M.A.S.H.)
278- 03727: [Misc.] spiders: Source typo in discrete sound system
279         (M.A.S.H.)
175- 03684: [Graphics] skyarmy: [possible] Screen Offset issue (hap)
176- 03736: [Graphics] scontra, scontraj: Super Contra main character
177         shadows (hap)
178- 03102: [Side-by-side] finalizr: The "lives" statusbar is shown at
179         bottom of the screen in MAME and on the PCB it's on the top (hap)
180- 03822: [Speed] lwings and clones: Gameplay slows during game (Tafoid)
181- 03818: [Crash/Freeze] mightybj, vsgshoe: Grey Screen (Not booting)
182         (Andrew Jackson)
280183
281184
282185
283186Source Changes
284187--------------
285Removed window config from video_config [couriersud]
286188
287Mapped player 2 inputs and buttons 4-6 in Mortal Kombat 3 (bootleg of
288Megadrive version) [Mariusz Wojcieszek].
189Replaced TMS5200 table with table extracted using PROMOUT from actual
190chip. monymony sounds much better. [Lord Nightmare]
289191
290{megadriv} Fixed compile by removing "static" [Miodrag Milanovic]
192Improvements to Treasure Bonus (Subsino) [Roberto Fresca]
193 * Reworked and cleaned-up the inputs. Most buttons have more than one
194    single function.
195 * Added DIP locations.
196 * Figured out the following DIP Switches: Complete Coinage
197    (1/2/5/10/20/25/50/100). Remote Credits (1/2/5/10/20/25/50/100).
198    Minimum Bet (1/8/16/32). Max Bet (16/32/64/80). Demo Sounds
199    (Off/On). Game Limit (10000/20000/30000/60000). Double-Up
200    (No/Yes). Win Rate (84/86/88/90/92/94/96%). Double-Up Level
201    (0/1/2/3/4/5/6/7). Double-Up Game (Dancers / Panties Colors /
202    Cards / Seven-Bingo).
203 * Fixed inverted functions and buggy inputs.
204 * Added lamps support.
205 * Created button-lamps layout.
206 * Remapped inputs to reflect the controls layout. This way is more
207    user-friendly since controls are straight with button-lamps.
208 * Added coin/keyin/keyout/payout counters.
209 * Removed the pulse limitation in the BET input. This allow it to
210    work as BET and STOP2 properly.
211 * Added technical notes.
291212
292Moved global new/delete operators into inlines in emualloc.h to avoid
293link errors with certain architectures. [couriersud]
213Status Fun Casino improvements: [Roberto Fresca]
214 * Reworked inputs to match the standard.
215 * Lowered the CPU clock to get it working properly.
216 * Added technical notes.
294217
295Some minor cleanup/normalizing of emualloc in general. [Aaron Giles]
218Output Cleanup/Hookup (Part 2) [Howard Casto]:
219 * segas32.c:  Hooked up all digital outputs for all games (radm,
220    alien3, radr, f1en, arescue, f1lap, jpark, slipstrm, orunners,
221    harddunk, scross, titlef) Emulation needs to progress more on the
222    analog output data before those outputs can be hooked up.
223 * audio\mw8080bw.c:  Changed output name for desertgn to something
224    more descriptive (Player1_Gun_Recoil)
225 * bbusters.c:  Added new output handling functions and hooked up
226    outputs for bbusters and mechatt
227 * opwolf3.c:  Added gun outputs for opwolf3 (man that game is
228    terrible)
229 * machine\williams.c:  Fixed existing outputs in tshoot (they needed
230    inverted) and hooked up the rest, including the feather blower.
231    :-D
232 * gunbustr.c:  Hooked up all outputs for gunbstr
233 * namcos12.c:  Hooked up outputs for all system 11 gun games
234    (ptblank2, ghlpanic, tenkomor)
235 * segaybd.c:  Hooked up all digital outputs (gloc, glocr360, gforce2,
236    pdrift, rchase, strkfghtr), also hooked up motor/analog outputs
237    for Power Drift and G-Loc/ Strike Fighter The remaining games with
238    motors could be hooked up as well assuming emulation can progress
239    enough to get past the error messages.
240 * namcos2.c:  Hooked up gun recoils for golly ghost.  Also noted that
241    the outputs for the remaining gun games are also in that area.
242    Someone who can find the offsets should be able to hook them up.
243 * segas18.c:  Hooked up gun recoils for lghost.
244 * taito_z.c:  Hooked up outputs for spacegun and made a few prototype
245    functions to help in hooking up the remaining games.  Someone familiar
246    with the driver should take a look. I hooked up a few, but they don't
247    work like they should according to the comments.
296248
297namcops2 updates [Guru]
298 * Moved Kinnikuman Muscle Grand Prix and Taiko No Tatsujin 9 to
299   System 256
300 * Added DVD images for netchu02, soulcl2a, tekken4b, tekken51,
301   sukuinuf, and soulclb3
249toutrun.c: corrected dipswitches in the most recently added Turbo Out
250Run set, and reorganized the sets so that the parent is the FD1094
251317-0118 set, the "newest" set based on both EPROM and security chip
252part numbers. [Andrew Jackson]
302253
303Fixed TI PSG (sn76489 and friends) noise and square-wave period to be
304maximum length when period register is set to 0. Fixed white-noise
305phase/XOR issue: got rid of noise XOR/XNOR select, as all chips seem
306to use XOR. [Lord Nightmare, Michael Zapf, PlgDavid]
254Fix two VS2008 warnings (namcos23.c and rdpfb.c) [Oliver Stoneberg]
307255
308Preliminary DIP coverage (lives/coinage/test mode) and Player 2
309control fix for unclepoo. [Tafoid]
256Remove some stray invalid code in start_profiler() [Oliver Stoneberg]
310257
311Implemented Z80-DMA interrupts. [Curt Coder]
258Have srcclean add missing newlines to end of .c files [Atari Ace]
312259
313Fixed a bug in emu/sound/disc_mth.c. This affected spiders.c fire
314sound. [MASH]
260Fix the memory leaks with the strconv.c function by using osd_malloc()
261instead.  Fixed other memory leaks as well.  [Oliver Stoneberg]
315262
316Minor fix to sn76489: sn76489 wasn't using the correct noise taps (now
317matches sn94624, still need to test a real chip) Removed a piece of
318useless code, and fixed a comment. [Lord Nightmare]
263"Replaced" TMS5220 table with table extracted using PROMOUT from
264actual chip. By 'Replaced', I mean documented, as the actual extracted
265table exactly matched the table already in MAME. Changed TMS5220C to
266use the same energy table as 5220 does, since my previous assumption
267based on the Quadravox tables was probably wrong. Updated the ranout
268condition code of tms5220.c to be slightly more accurate to the chip,
269and added TODOs. Re-enabled the timers for deactivating the READY line
270on /WS or /RS as this is probably slightly more accurate to hardware,
271but the difference is 2 or 3 clock cycles max. [Lord Nightmare]
319272
320ui.c,ui.h,windows/input.c: [Miodrag Milanovic]
321 * removed ui_use_new_ui check used by MESS code
322 * moved ui_mess_handler_ingame call in proper place, so device UI
323   callbacks works again
324 * removed toggle of menu bar (MESS related)
273Fixed linking of chdman.exe and romcmp.exe with Visual Studio.
274[Oliver Stoneberg]
325275
326info.c: Moved print_game_categories into info.c, since it can be used
327by any driver anyway. [Miodrag Milanovic]
276Fixed incorrect DSK ROM size, shuffled around some ROM mapping, added
277new ROMs that were incorrectly assumed to be identical to than
278racedriv. The previously bad ROM checksums are now correct. Now the
279watchdog resets it instead of getting an address error.  [Luigi30]
328280
329Fresh driver notes added for unclepoo based analysis of the Z80 code.
330[Stephh]
281Added a screen layout for Space Stranger based on photos [M.A.S.H]
331282
332k051649.c: fixed bogus for loop in device reset [Fabio Priuli]
283Added redumped sound ROM to Vs. Net Soccer (vsnetscr) [Team Japump]
333284
334z80ctc: Fixed Z80CTC read handler [Tim Schuerewegen]
285Disable many unused variables as identifed by cppcheck.
286[Oliver Stoneberg]
335287
336Complete rewrite of the Z80-PIO implementation. The handshaking
337signals are now more accurately emulated. As a result, the Merit
338Megatouch games are no longer working since they relied on the earlier
339incorrect behavior. [Curt Coder]
288Naomi: Added rounding to the GD-ROM DMA transfers, will be need for
289Virtua Tennis to make it boot [Deunan Knute, Angelo Salese]
340290
341attckufo: Imported MOS6560 device emulation from MESS and removed the
342existent custom audio/video emulation [Fabio Priuli]
291AICA updates: [PluginNinja]
292 * Implemented slot monitor
293 * Improved ADPCM looping
294 * General cleanup
343295
344Corrected visible area and timer speeds to make the fix up some
345audio/video problems. [Angelo Salese]
296SCSP updates [PluginNinja]
297 * Improved slot monitor function
298 * Various cleanups
346299
347Preliminary merging of hexa.c into the arkanoid.c driver. [Tafoid]
300namcos23: Varied stuff, isolate PIO, pcb test works on timecrs2c
301[O. Galibert]
348302
349meritm.c: Added scanline timer-based vblank interrupt to work around
350the broken V9938 interrupts. Megatouch games are now working again.
351[Curt Coder]
303namcos23: Quick hack to make 500gp boot [O. Galibert]
352304
353zaxxon.c: Fixed Ixion (prototype) inputs [MASH]
305namcos23: Increase the main ram size so that crszone goes into POST
306[O. Galibert]
354307
355i386: Small fix for the i386 core, correcting the LLDT instruction.
356This fix sets up the LDTR base and limit values correctly, fixing use
357of the LDT. [Barry Rodewald]
308Implemented Sort-DMA irq firing [Angelo Salese]
358309
359Implemented proper irq ack to the deniam.c driver [Angelo Salese]
310Naomi: implemented Wave DMA HW trigger and added Wave DMA IRQ firing
311[Angelo Salese]
360312
361Implemented irq ack to Big 10 [Angelo Salese]
313Naomi: implemented PVR-DMA HW trigger [Angelo Salese]
362314
363Implemented irq ack to Aeroboto / Formation Z [Angelo Salese]
315Fix compile error when DEBUG_GENERATION is defined [Oliver Stoneberg]
364316
365segas32.c: Fixed Stadium Cross inputs [MASH]
317cdrom: correct header length for form 2 raw sectors [R. Belmont]
366318
367hexa: merged the remaining code into arkanoid.c [Fabio Priuli]
319namcos23: Mirror, mirror v2 [A. Giles, O. Galibert]
368320
369skyfox.c: added driver data struct and save states [Fabio Priuli]
321Naomi: implemented mahjong panel support [Angelo Salese]
370322
371Hooked up bare bones z180 communication CPU in Cadash [Angelo Salese]
323TMS5220: Made /READY timing accurate to the real chip as best as
324possible. Note that on the zaccaria games, possibly due to a bug in
325the CA2 line handler of the PIA which reads the /READY state, speech
326usually won't work until midway through the first game played, but
327works fine afterward. Not sure if that's a MAME bug or an original
328game bug. [Lord Nightmare]
372329
373Make mips register names accessible in the debugger expressions
374[Olivier Galibert]
330Replaced the DEBUG_FRAME_DUMP define with a new DEBUG_PARSE_FRAME_DUMP
331which produces binary listings of each frame parsed. [Lord Nightmare]
375332
376Some improvements to Lucky Girl (New HW) [Angelo Salese]
333Added newer Area51: Site 4 BIOS. [Guru]
377334
378Fixed a bug in debugint.c: Actually make Del and BS delete the last
379character. [sz72]
335sega system16 and later: first pass in the conversion of video ICs to
336be devices [David Haywood]
380337
381Added driver_data struct and save states to the following drivers:
382lkage.c, lockon.c & lsasquad.c. [Fabio Priuli]
338Fix swapped stereo in gauntlet and gauntlet 2. Thor (warrior)'s/red
339player's coin slot is toward the left, and specific sounds for that
340player (coin insert gong, death ditty, etc) should come from the left
341speaker, not the right. Verified with schematics. TODO: merge gauntlet
342audio into atarijsa.c since the gauntlet audio hardware is clearly the
343direct ancestor of the Atari JSA-i audio board, and currently is
344missing most of the chip specific volume controls, etc which are
345already implemented in atarijsa.c. [Lord Nightmare]
383346
384Added save states to liberate.c. [Fabio Priuli]
347Improved Killing Blade encrypted DMA mode 3 [XingXing, David Haywood]
385348
386Moved ins8154 emulation from MESS to MAME, needed by future drivers.
387[Dirk Best]
349vrender0.c: converted to be a device [Fabio Priuli]
388350
389H8: fix stack trashing when simultaneous IRQ sources asserted
390[R. Belmont]
351crystal.c: added driver data class [Fabio Priuli]
391352
392namcos23 update: [R. Belmont, Olivier Galibert]
393 * motoxgo and timecrs2 are now able to sync up and communicate with
394   the emulated JVS I/O board
395 * Fixed all games to run VBL toggle
396 * Documented data and point ROM checks for future use
353Improved DMA modes 1+2 in killbld, allowing all DMA operations used by
354the game to work and the RAM dump to be removed
355[XingXing, David Haywood]
397356
398es5506.c: added save state to both ES5505 and ES5506 [Fabio Priuli]
357added save states to the following CPU: apexc, asap, avr8, cp1610,
358dsp32 and f8 [Fabio Priuli]
399359
400added driver_data struct and save states to the following drivers:
401attckufo.c, m79amb.c, macrossp.c, marinedt.c, markham.c, mayumi.c and
402mcatadv.c. [Fabio Priuli]
360Documentation improvements to the Sega Naomi HW games [f205v]
403361
404Added driver_data struct and save states to the following drivers:
405madmotor.c, mazerbla.c, mikie.c, mjsister.c, mogura.c, mole.c and
406momoko.c. [Fabio Priuli]
362Added a protection RAM dump for Dragon World 3 [XingXing]
407363
408namcos23: Panic Park uses the motoxgo I/O board, now it syncs too
409[R. Belmont]
364Added a delay to the GDROM DMA transfers, allows KOF Neowave to boot
365[Angelo Salese]
410366
411namcos23 update: improved "Gorgon" h/w support [R. Belmont]
367Redumped one program rom in Killing Blade [XingXing, David Haywood]
412368
413Added driver_data struct and save states to the following drivers:
414megazone.c, meijinsn.c and mermaid.c. [Fabio Priuli]
369Hook up the ym2151 reset bit to the sound cpu in gauntlet, and fixed
370sound reset to properly reset all the sound chips and volume latches.
371[Lord Nightmare]
415372
416namcos23: improved documentation, fixed a few POST fails [R. Belmont]
373Fix race condition involving tms52xx status register which broke
374victory/victorba self test. Updated debug routines a bit, and improved
375the non-NORMALMODE a bit. [Lord Nightmare]
417376
418exerion, exeriont, exerionb (exerion.c driver) : [stephh]
419 * Fixed Dip Switches and Inputs (after verification of the Z80 code)
377Improvements to Pachifever driver [Tomasz Slanina, maruwa]
378 * replaced ic48.50 ROM with correct dump
379 * added correct MSM clock value
380 * added second SN76489A chip (used for sfx)
381 * updated hw notes
420382
421namcos23 updates: [R. Belmont]
422 * Documented clocks and syncs measured by Guru
423 * Added Gorgon JVS I/O board.  Final Furlong now gets farther
383Cleaned up ranout (FIFO running out mid-frame) to be accurate to
384hardware; Cleaned up talk status clearing to be more accurate to
385hardware; Cleaned up parse_frame function significantly. Added some
386more comments. [Lord Nightmare]
424387
425H8: add bild and bist opcodes [R. Belmont]
388aristmk4: Hooked up the two AY8910s [Fr45h3r]
426389
427namcos23: added nvram for Gorgon. finlflng gets farther. [R. Belmont]
390snes_snd: fix Linux 64-bit compile issues [R. Belmont]
428391
429ins8154: Updated to use devcb calls, cleaned up. [Dirk Best]
392Naomi: Improved the YUV FIFO IRQ firing, now it should be possible to
393emulate the YUV decoding properly [Angelo Salese]
430394
431Namco Super System 23: Add a whole bunch of ram, chips and data roms
432mappings [O. Galibert, R. Belmont]
395PGM: added support for newer bios ROM [XingXing]
433396
434Changed Tecmo World Cup 90 main z80 cpus to 8mhz and vsync to 59.17hz
435/ Hard Head sound z80 to 3mhz and vsync to 59.10hz to match original
436PCB readings. [Corrado Tomaselli]
397Corrected mask ROM numbers for HOTD2 [f205v]
437398
438Fixed inverted buttons 1 and 2 on f1gp, f1gp2 and Super Formula.  They
439are Jamma standards boards: brake button is wired to pin 22 and
440acceleration button to pin 23 which are respectively button 1 and 2 in
441a jamma standard pinout. [Corrado Tomaselli]
399Fix ZPAR (zeroed k parameters 5-10) behavior for unvoiced frames.
400Updated comments and debug functions. [Lord Nightmare]
442401
443Added driver_data struct and save states to the following drivers:
444matmania.c, metlclsh.c, mexico86.c, mouser.c, mrflea.c, mrjong.c,
445munchmo.c and mwarr.c. [Fabio Priuli]
402Naomi: work-around for an int32 overflow bug in the renderer, makes
403The House of the Dead 2 / The Typing of the Dead to not crash during
404attract mode [Angelo Salese]
446405
447Added driver_data struct to the following drivers: mgolf.c,
448minivadr.c, mosaic.c and mrdo.c. [Fabio Priuli]
406Naomi: improved Vblank-In irq timings [Angelo Salese]
449407
450Enabled save states to mugsmash.c (everything was already saved)
451[Fabio Priuli]
408Redid parameter interpolation and frame load logic so new frames don't
409immediately force all the Energy/Pitch/K values to the values of the
410old frame, but wait until their first interpolation to do so. This fix
411improves speech quality considerably. [Lord Nightmare]
452412
453hng64: Added sub-page texture indexing.  Fixes many texture lookups in
454roadedge and xrally.  [Andrew Gardner]
413Naomi: implemented RTC start-up values [Angelo Salese]
455414
456Added driver_data struct and save states to the following drivers:
457news.c, nightgal.c and nycaptor.c. [Fabio Priuli]
415astrocorp.c: Added PCB layout and board information for the Skill Drop
416Georgia set [Brian Troha]
458417
459Added driver_data struct to the following drivers: nitedrvr.c and
460nmg5.c. [Fabio Priuli]
461418
462enabled save flag in othunder.c (everything is properly saved, but it
463seems I forgot about this driver when I device-fied Taito video chips)
464[Fabio Priuli]
465419
466pic8259: replaced pic8259_set_irq_line with pic8259_irX_w write line
467handlers. [Dirk Best]
468
469pic8259: updated to use devcb calls. [Dirk Best]
470
471Improved gfxs in Lucky Girl (New version) [David Haywood]
472
473Implemented device version of the deco16ic tilemap chip [Fabio Priuli]
474
475Converted backfire.c, boogwing.c, dietgo.c, mirage.c, pktgaldx.c,
476simpl156.c, supbtime.c, tumblep.c to use the device-fied video chips
477[Fabio Priuli]
478
479Added driver data struct and save states to the following drivers:
480dietgo.c, mirage.c, pktgaldx.c, supbtime.c and tumblep.c
481[Fabio Priuli]
482
483hng64 : More accurately emulated intrinsic camera matrix. 
484[Andrew Gardner]
485
486Changed all driver_data structs into classes with a simple constructor
487and a static allocation function. [Aaron Giles]
488
489Changed MDRV_DRIVER_DATA to reference driver_data::alloc instead of
490just providing a size. This function is called to allocate the driver
491data. This allows objects to be embedded in the state data and be
492properly initialized. [Aaron Giles]
493
494Moved driver data allocation after device list construction so that
495devices can be found when the driver data is constructed. [Aaron Giles]
496
497wardner, wardnerj, pyros (wardner.c driver) : [stephh]
498 * Fixed Dip Switches and Inputs (after verification of the Z80 code)
499
500Converted cbuster.c, cninja.c, dassault.c, funkyjet.c, rohga.c and
501vaportra.c to use device versions of the deco16 video chips
502[Fabio Priuli]
503
504Made deco32.c independent of deco16ic.c (it only needed a drawing
505routine) and removed deco16ic.c now that it is not needed anymore
506[Fabio Priuli]
507
508avgdvg: Fixed mametesters bug 03634. Reduced flickering in
509Tempest/Quantum. [Mathis Rosenhauer]
510
511pit8253: Updated to use devcb calls, cleanups. [Dirk Bst]
512
513Renamed decodev->deco16ic [Fabio Priuli]
514
515Added driver data class to funkyjet.c [Fabio Priuli]
516
517Added driver data class and save states to vaportra.c and tumbleb.c
518[Fabio Priuli]
519
520Added driver_data class and save states to the following drivers:
521backfire.c, boogwing.c, cbuster.c, cninja.c, dassault.c, dblewing.c,
522deco156.c, rohga.c, simpl156.c [Fabio Priuli]
523
524twincobr, twincobru, ktiger, gulfwar2 (twincobr.c driver) : [stephh]
525 * Fixed Dip Switches and Inputs (after verification of the M68000 and
526   Z80 code)
527
528fshark, skyshark, hishouza, fsharkbt (twincobr.c driver) : [stephh]
529 * Fixed Dip Switches and Inputs (after verification of the M68000
530   code)
531
532Corrected default assignment of F10 as the default throttle on/off key
533for MAME.  The #ifdef MESS is needed here due to it's unique old/new
534UI setup.  [Miodrag Milanovic]
535
536Naomi updates: [R. Belmont, David Haywood, Andreas Naive, Deunan
537Knute, Guru, ANY]
538 * Fix ROM mirroring in gram2000 and friends
539 * Preliminary hookup of live decryption.  Decryption + decompression
540   is not yet supported so some games still load trojaned data
541   instead.
542
543naomi: Fixed decrypt method 2, added many more game keys
544[Deunan Knute, R. Belmont]
545
546namcos23.c: Add comments about the irq testing code [O. Galibert]
547
548Tidied up includes in a number of files in src/osd/sdl. [couriersud]
549
550Hook up vblank and just enough controls to pass error screens
551[O. Galibert]
552
553namcos23: get Gorgon games out of service mode, fix finlflng sound ROM
554loading [R. Belmont]
555
556namcos23: comment the probable dips a tad better [O. Galibert]
557
558Added driver_data class and save states to the following drivers:
559ohmygod.c, ojankohs.c and olibochu.c. [Fabio Priuli]
560
561Added driver_data class and save states to the following drivers:
562oneshot.c, onetwo.c, orbit.c, othello.c and othldrby.c.
563[Fabio Priuli]
564
565Added driver_data class to the following drivers: nemesis.c and nyny.c
566[Fabio Priuli]
567
568Improvements to Funworld driver. [Roberto Fresca]
569 * Fixed Jolly Joker graphics and colors.
570 * Changed Jolly Joker description to Jolly Joker (98bet).
571 * Added a new croatian set of Jolly Joker with maximum bet = 40.
572 * Moved the hardware description and tech notes to the ROM_LOAD
573   section.
574 * Added a external default NVRAM for Jolly Card Professional 2.0.
575 * Updated technical notes.
576
577Implemented proper BIOS/Cart ROM bankswitch in the MACS driver, this
578improves program logic in Kisekae Mahjong [Angelo Salese]
579
580Removed the coin latch kludge in the MACS driver [Angelo Salese]
581
582snes.c: minor refactorization [Fabio Priuli]
583
584namcos23: fix the data rom mappings [O. Galibert]
585
586rallybik, truxton (toaplan1.c driver)  [stephh]:
587 * Fixed Dip Switches and Inputs (after verification of the M68000 and
588   Z80 code)
589
590snes.c: temporarily reverted implementation of mult/div through timers
591since it breaks some SNES games on the MESS side [Fabio Priuli]
592
593namcos23: timecrs2c reaches the test mode [O. Galibert]
594
595Fixed MT3698 (NOWERROR=1 casues -fno-strict-aliasing  to be dropped).
596[couriersud]
597
598Fixed save state support in custom namco devices (50,51,53) and
599galaga.c. Also resolves MT03268: All sets in galaga.c: Problem with
600Savestates. [couriersud]
601
602naomi: convert GD-ROM games to use real PIC dumps [David Haywood]
603
604Add MAME-ified version of SoftFloat library [John R. Hauser]
605
606Merged kingdrby.c and cowrace.c drivers [Angelo Salese]
607
608namcos23: working inputs for TC2 test mode [R. Belmont]
609
610namcos23: Document gun I/O boards [Guru]
611
612hng64 : An initial implementation of hardware lighting. 
613[Andrew Gardner]
614
615zerowing, zerowing2 (toaplan1.c driver) [stephh] :
616 * Fixed Dip Switches and Inputs (after verification of the M68000 and
617   Z80 code)
618
619namcos23: fix Time Crisis 2 coin input [R. Belmont]
620
621
622
623420New games added or promoted from NOT_WORKING status
624421---------------------------------------------------
625Mortal Kombat 3 (bootleg of Megadrive version)
626  [Mariusz Wojcieszek, Patrick McCarron, Smitdogg, The Dumping Union]
627Bug Fever (5 sets) [Brian Troha, Dumping Union]
628Uncle Poo
629  [Team Europe, Dumping Union, Rene Single, David Haywood, Angelo Salese]
630Champion Number [f205v, David Haywood, Angelo Salese]
422Klad / Labyrinth [Black1972]
631423
632424
425
633426New clones added
634427----------------
635Pit Fighter (rev 9) [B. Sparks, Smitdogg, The Dumping Union]
636Time Crisis 2 (TSS4 Ver.A, Super System 23) [Guru]
637Pushman (Top Tronic license)
638  [MrGoodwraith, Ren?\195?\169 Single, Smitdogg, The Dumping Union]
639Blades of Steel (Version L)
640  [R. Mucciarelli, Phil Bennett, Smitdogg, The Dumping Union]
641Touchmaster 4000 (v6.03 Standard)
642  [jeremymtc, Brian Troha, Smitdogg, The Dumping Union]
643Alien Invasion [Andrew Welburn, Brian Troha, The Dumping Union]
644Soul Calibur (SOC14/VER.B) [Guru]
645Jolly Joker (40bet, croatian hack) [Roberto Fresca, Team Europe]
646Touchmaster (v2.2-01 Standard)
647  [S. Austin, Smitdogg, The Dumping Union]
648Smash [Trevor Brown]
649X-Men: Children of the Atom (Japan 950105) [Razoola]
650Maya (set 1)
651  [Team Europe, Dumping Union, Rene Single, David Haywood]
652King Derby (Taiwan bootleg) [Team Europe, Dumping Union] (not working)
653Cherry Master (Watermelon bootleg / hack) [William Ostronic]
654Cherry Master (Fun USA v2.5 bootleg / hack) [William Ostronic]
655Aracnis (bootleg of Scorpion on Moon Cresta hardware) [f205v]
656The Pit (bootleg on Moon Quasar hardware)
657  [Andrew Welburn, David Haywood]
658Safari (set 2, bootleg?) [f205v]
659Moon Cresta (Nichibutsu UK) [Andrew Welburn]
660Armed Police Batrider (Taiwan Revision A) [Anonymous]
428Dragon World 3 (ver.105) [XingXing]
429Killing Blade (ver. 104) [XingXing, David Haywood]
430Battle of the Solar System (rev. 1.1a 7/23/92)
431  [blib, Smitdogg, The Dumping Union]
432Street Fighter II - The World Warrior (Thunder Edition)
433  [Smitdogg, The Dumping Union]
434Polaris (Original version) [Siftware]
435Seibu Cup Soccer :Selection: (bootleg, set 2) [Fabrizio Vasile]
436Draw Poker Joker's Wild (02-11) (NOT WORKING) [Siftware]
437Reel Fun (Version 7.03) [Siftware]
661438
662439
440
663441New games marked as GAME_NOT_WORKING
664442------------------------------------
665L.A. Machineguns [ANY]
666The Ocean Hunter [ANY]
667Royal Gum [Siftware]
443War of the Bugs or Monsterous Manouvers in a Mushroom Maze (German)
444  [Irongiant]
445Fighting Mania (918 xx B02) [f205v, The Dumping Union]
446Frog & Spiders (bootleg) [Siftware]
447House of the Dead 2 (original) [Wouter]
448Time Crisis 3 (TST1) [Guru]
668449
669450
670451
6710.136u3
4520.137u3
672453-------
673454
674455
675456MAMETesters Bugs Fixed
676457----------------------
677- 03724: [Speed] mrdo: Incorrect XTALs cause for problems with
678         refresh rate and game speed. (Tafoid)
679- 03706: [Sound] lastday, gulfstrm: Audio Regression (M.A.S.H.)
680- 03704: [Sound] evilston: Missing sound (M.A.S.H.)
681- 00993: [Crash/Freeze] sharrier: [debug] Crashes when a specific
682         sample is being played during gameplay. (Phil Bennett)
683- 03692: [Crash/Freeze] kurikint: Service Switch error (M.A.S.H.)
458- 03813: [Graphics] shadoww, shadowwa, gaiden, ryukendn, ryukendna:
459         Lost blending effect (David Haywood)
460- 00803: [Color/Palette] All vsnes.c games: Colors are wrong.
461- 00270: [Graphics] cstlevna, vsgradus, suprmrio, goonies: Black
462         startup screens are now gray.
463- 00889: [Color/Palette] pc_smb: The colors of the characters, fire
464         flower, etc. on the top screen are wrong.
465- 01097: [Color/Palette] cstlevna: Colors of the first enemies you
466         encounter are wrong.
467- 02457: [DIP/Input] tkoboxng: Unable to coin/start game properly.
684468
685469
686470
687471Source Changes
688472--------------
689Fixed Dip Switches and Inputs (after verification of the Z80 code)
690for 'scramblb', 'scramb2', 'bagmanmc', 'dkongjrm', 'rockclim' (also
691updated memory map for this last game). [stephh]
473Fixed a bug with un-inited DMA regs in the SNES driver, fixes at least
474a long-standing bug with nss_ssoc dimmed team selection screen
475[Angelo Salese]
692476
693am29k: fix PPC GCC compile error [R. Belmont]
477Added the Airline Pilot (USA) Naomi BIOS rom [The Dumping Union]
694478
695Added Sega ID# for newly added version of INDY 500 and correct the
696spelling of attract. [Brian Troha]
479sauro, trckydoc, trckydoca (sauro.c)  [stephh] :
480 * Fixed Dip Switches and Inputs (after verification of the Z80 code)
697481
698minor information update for Viper 1 games in seibuspi.c.
699[Brian Troha]
482ppu2c0x.c: Removed the bogus "color remap tables" in favor of external
483palettes containing data reverse-engineered (several years ago) from
484original hardware. Each vsnes set, as well as the playch10 bios, now
485requires one of these palettes. [Alex Jackson]
700486
701Fixed disassembly of PDP1,TX0 and APEXC [Robbbert]
487vsnes.c improvements: [Alex Jackson]
488 * Moved RC2C05 PPU-based protection into the PPU itself, rather than
489    hacking it in at the driver level.
490 * After exhaustive testing, completely sorted out the "palette"
491    dipswitches (which are actually PPU type selection) on all games
492    that have them.  Added notes about these games in the comments.
493 * Removed GAME_IMPERFECT_COLORS and GAME_WRONG_COLORS from all games,
494    as they should all be 100% correct now.
495 * Fixed coin inputs in tkoboxng. Removed IMPERFECT_GRAPHICS flag
496    since there's no legitimate reason I can see for it. Also, fixed
497    manufacturer and description to match the title screen.
498 * Added a bit more information about the missing sets in the
499    comments.
702500
703Fix immediate crash on startup of GTK debugger. [R. Belmont]
501add partial 6840ptm readback support to exidy.c [Lord Nightmare]
704502
705namcos11: use real C76 BIOS for audio and I/O
706[R. Belmont, Olivier Galibert, Guru]
503Convert Atari System 1 to use the 'new' TMS5220 interface.
504[Lord Nightmare]
707505
708Cleaned up comments refering to old driver names, and updated clone
709names in drivers from 0-K. [Tafoid]
506Switch Escape from the Planet of the Robot Monsters to use the new
507TMS5220 interface. [Lord Nightmare]
710508
711[APEXC] 1. Added pseudo PC register for the debugger, it will now
712highlight the next instruction to be executed. 2. Added "normal"
713addresses to disassembler output, so anyone can see the program flow.
714[Robbbert]
509snes.c: Fixed clipmasks in hires modes [Fabio Priuli]
715510
716Sega misc wip: [Fabio Priuli]
717 - split dependences of system16 games from bootleg ones
718 - moved some .h files to includes/
719 - removed some unneeded include
720 - removed some dead code
721 - added driver data struct to segahang.c, segaorun.c, segas16a.c,
722    sega16b.c, segas18.c, segaxbd.c & segaybd.c
723 - added save states to segas16a.c
511Fixed RTL opcode in-bank issue in the G65816 CPU core [Angelo Salese]
724512
725Fixed Dip Switches and Inputs (after verification of the Z80 code) for
726'ozon1', 'ladybugg', 'vpool'. [stephh]
513sm8500d.c: Fixed disassembly of extended instructions (1A, 1B, 4F).
514[Oliver Stoeneberg]
727515
728Added driver data struct to system 16/18 bootlegs and removed most
729unused code. [Fabio Priuli]
516lr35902.c: Fixed possible issue when checking for enabled irqs. 
517[Oliver Stoeneberg]
730518
731Implemented reels in Treasure Island (Subsino), same as goldstar.c
732[David Haywood]
519rf5c68.c: corrected the point at which the sample callbacks are
520triggered, and what channel is returned.  The interrupts are masked or
521enabled based on what PCM memory bank is used, rather than the
522physical channel that was used. [Barry Rodewald]
733523
734Converted Sega 315-5248, 315-5249 and 315-5250 custom ICs to be
735devices and updated drivers accordingly. [Fabio Priuli]
524Converted Atari System 2 to use the 'new' TMS5220 interface. Switched
525TMS5220 type to 5220C. [Lord Nightmare]
736526
737[PDP1] Display the PC in hex as well as octal. [Robbbert]
527Further refining of the Atari JSA speech and audio modifications.
528Hooked up the reset line for the ym2151. [Lord Nightmare]
738529
739Converted hornet.c to use the Konami 037122 device and removed the
740old code. [Fabio Priuli]
530inptport.c: fixed keyboard detection (mainly for MESS) [Fabio Priuli]
741531
742Converted gticlub.c, nwk-tr.c and zr107.c to use the Konami 001604
743device and removed the old code. [Fabio Priuli]
532Hooked up correct proms, corrected gfx rom order and added bank select
533/ enabled for the reels in Treasure Island (Subsino) [David Haywood]
744534
745carjmbre.c - Added XTAL, corrected second z80 speed and added DIP
746LOCATIONS for driver. [Tafoid]
535updated Star Wars to use proper clocks for the tms5220 and the pokeys.
536[Lord Nightmare]
747537
748Improvements to Treasure Island: [Roberto Fresca]
749 - Added proper inputs.
750 - Added coin/keyin/keyout/payout counters.
751 - Limited the bet and coin pulses to avoid repeats and coin jams.
752 - Added complete coinage and keyin DIP switches.
753 - Added main game and double-up rates DIP switches.
754 - Added minimum bet DIP switches.
755 - Added maximum bet DIP switches.
756 - Added main game and double-up limit DIP switches.
757 - Added payout mode and auto take DIP switches.
758 - Added DIP locations as seen in the settings mode.
759 - Added demo sounds DIP switch.
760 - Created proper button-lamps layout.
761 - Added technical notes.
762 - Some clean-ups...
538MASSIVE merge of TMS5110 and TMS5220 cores, TMS5220 side only so far.
539Much code by Jarek Burczynski merged. Lattice Filter, Multiplier, and
540clipping redone. TMS5220C multi-rate feature added. Now using the same
541LPC table file (and format, as created by couriersud) as the TMS51xx
542is. Unvoiced-Voiced transitioning adjusted to match patent. Command
543handling redone to better match patent. Reasonably significant speech
544quality improvements: Separate tables for TMS5200, TMS5220 and
545TMS5220C are implemented, though all still need to be verified from
546hardware. Fixes: Garbled speech in Escape from the Planet of the Robot
547Monster's Canal Mazes is fixed, as well as some other garbled speech
548in game (when saying 'throwing switch' for instance). Known
549Regressions (being worked on): Victory fails its startup self test
550with an error 5, but speech works in-game. [Lord Nightmare]
763551
764Dumped IC1 from Giant Gram 2000 [Joerg Hartenberger]
552Fixed victory self-test issue (FIFO must NOT be cleared on processing
553of a STOP frame, only on a new speak external command. victory is
554pedantic about this.), and in the process also fixed a bug regarding
555reading /READY state when not in speak external mode (the FIFO being
556full should NOT force /READY inactive in that case!) [Lord Nightmare]
765557
766Fixed bonus game gfxs in Treasure Island (Subsino) [Angelo Salese]
558Fixed various SNES SRAM issues [Fabio Priuli, Angelo Salese]
767559
768Fix os2 auto-detect [KO Myung-Hun]
560Fixed Wai Wai Jockey Gate-In title screen colors [Angelo Salese]
769561
770Preliminary Panasonic MN10200 CPU core and Taito ZOOM ZSG-1 sound
771system [Olivier Galibert]
562mk3ghw (aladbl.c driver + megadriv.c) [stephh] :
563 * Fixed Dip Switches and Inputs (after verification of the M68000
564    code) ssgbl (ssgbl.c driver + megadriv.c) [stephh] :
565 * Fixed stack vector so coins are now correctly handled (the game
566    shall be fully playable now)
567 * Fixed Dip Switches and Inputs (after verification of the M68000
568    code)
772569
773Document FPGA-provided "ic1" data in gram2000 [Joerg Hartenberger]
570Added makefile PPC64 autodetection [Julian Sikorski]
774571
775Implemented flip screen in Hanaroku [Angelo Salese]
5726840PTM: Fixed interrupt flag behaviour and now allow fractional input
573clocks. [Phil Bennett]
776574
777Fixed video emulation in Best League (World Cup version)
778[Angelo Salese]
5756850ACIA: Improved handling of /CTS signal and fixed issue with
576transmission parity generation. [Phil Bennett]
779577
780Fix DISTRO=gcc44-generic make shortcut to use gcc-4.4 properly
781(-V 4.4 does not work for linking) [couriersud]
578MPU4+Video updates: [Phil Bennett, David Haywood]
579 * Fixed serial comms. As a result, most games actually boot now.
580 * Fixed colours.
581 * Fixed SAA1099 sound.
582 * Added Characteriser tables for all games (a complete implementation
583    is still needed for most games).
782584
783Minor changes for internal render debugger [couriersud]
784 - ui_input_frame_update is now global
785 - moved element_component from rendlay.c to rendlay.h
786 - added ability to rendlay.c to define "container" components. These
787    simply provide a render_container.
585Supported the 1555 fb format in the Naomi driver, needed by Cleopatra
586Fortune Plus [David Haywood]
788587
789Added DEBUG_FLAG_OSD_ENABLED to allow coexistence of debuggers going
790forward. Replaced all occurrences of OPTION_DEBUG in src/osd/* by
791checking machine->debug_flags. Replaced all occurrences of
792DEBUG_FLAG_ENABLED in src/osd/* by DEBUG_FLAG_OSD_ENABLED For the
793time being, DEBUG_FLAG_OSD_ENABLED is default (set in mame.c).
794[couriersud]
588Fixed ext latch behaviour in the SNES driver [Angelo Salese]
795589
796Fixed Dip Switches and Inputs (after verification of the Z80 code) for
797'bongo', 'porter'. [stephh]
590vmetal, vmetaln (vmetal.c driver) [stephh] :
591 * Fixed Dip Switches and Inputs (after verification of the M68000
592    code)
798593
799Implemented Actel FPGA ID, used by some Naomi games for accessing a
800special ROM check mode [Deunan Knute, Angelo Salese]
594Fix 5220C pitch table so unvoiced speech actually works. Oops. Should
595be a further quality improvement. [Lord Nightmare]
801596
802Documentation update for Hotdog Storm, IE: The PCB ID number and tile
803map chip info. [Brian Troha]
597Tentative fix for tms5220 VSM support. [Lord Nightmsre]
804598
805Add and hook up ZOOM ZSG-2 skeleton [Olivier Galibert]
599F8 cpu disassembler improvements [Curt Coder]:
600 * fixed branch target PC
601 * added BP,BC,BZ,BR,BM,BNC,BNZ,BNO mnemonics
602- removed extraneous $ from 2 byte hex values
806603
807Doesn't do much at the moment, but the increase in documentation value is
808significant (we're documenting the sample compression format, for one thing).
604Implemented various PVR TA registers hook-ups in the Naomi driver
605[Angelo Salese]
809606
810New driver for Sigma B52 system. ACRTC implementation is a bit hacky
811due to its preliminary emulation status. [Roberto Fresca]
607mpu4drvr.c: Fixed 68000 device resets [Phil Bennett]
812608
813lethal.c - Verified clocks and vsync from orginal PCB
814[Corrado Tomaselli]
609Naomi: Implemented more regs, test mode now properly sets 640x240
610resolution. Implemented fb pixel double, Naomi test mode looks now
611correct. [Angelo Salese]
815612
816astrocorp.c update: [Luca Elia]
817 - Added frame buffer
818 - Fixed sprite list end, negative coordinates, wrap around
819 - Added battery backed RAM
613i386dasm.c: Corrected display of debug registers (D0-D7) in
614disassembly listings [Barry Rodewald]
820615
821adp.c: hooked up (with a hack) gfx rom in hd63484 memory map [robiza]
616video/nemesis.c: Removed palette gamma hack [Alex Jackson]
822617
823Hooked up coin input and start input in skattv. [robiza]
618Subsino driver improvements: [Roberto Fresca]
619 * Added another Treasure Island set.
620 * Added technical notes about the CPU box.
621 * Minor clean-ups.
622Revision 8866 by robertof
824623
825astrocde.c - Fixed the Bonus Life dipswitch for gorf and clones.
826It's state was inverted. [Tafoid]
624full schematics made from the real PCB connections. They include Hex
625D-type flip-flops, Bipolar PROM, 3-STATE Octal D-Type latches and
626resnet connections. [Roberto Fresca, Aleksandar Spasojevic]
827627
828[I8255] Clear output lines to 0 on write to mode register, and float
829input lines to 1. [Curt Coder]
628Partly implemented 'stereo' gating (using ym2151 ctX lines) to POKEY
629and TMS5220 on Atari JSA-i sound board. (currently it is just 'mono'
630gating). Add TODOs for complete stereo gating and for the low-pass
631filter. [Lord Nightmare]
830632
831Simplified/combined MAME and MESS code: [Miodrag Milanovic]
832 - Moved compatibility validation into MAME core from MESS.
833 - Made GAME_NO_SOUND check done on MESS too.
834 - Removed MESS dependent checks
835 - Renamed GAME_COMPUTER_MODIFIED to GAME_UNOFFICIAL to mark
836    unofficial hardware modifications
837 - Removed GAME_COMPUTER it is distinct by IPT_KEYBOARD
838 - Added GAME_NO_SOUND_HW (to mark that there is no sound hardware)
839    and marked drivers in dotrikun.c, minivadr.c and tgtpanic.c as
840    such
841 - Removed GAME_SHARE_ROMS flag and commented old check for
842    duplicate ROM entries
843 - Moved natural keyboard support from MESS to MAME
844 - Moved OSD file functions and clipboard access functions into OSD
845    core
846 - Significantly reduced the number of new OSD functions needed by
847    MESS [with couriersud]
633Improvements to Funworld driver: [Roberto Fresca]
634 * Replaced the Fun World Quiz bad ROMs with good ones.
635 * Fixed the Fun World Quiz graphics and colors.
636 * Cleaned-up the flags for non working games.
637 * Modified the default lamps layout to include the bet lamp.
638 * Cleaned-up the Fun World Quiz inputs.
639 * Added 4 new Royal Card sets. Reworked parent/clone relationship.
640    (delete the old .cfg and .nv files to have them working properly).
641 * Splitted the Royal Card machine driver. This is needed to access
642    different halves of the bipolar PROM.
643 * Now principal Royal Card sets have a working bet button.
644 * Added default NVRAM to the new sets.
848645
849Fixed Dip Switches and Inputs (after verification of the Z80 code) for
850'tazzmang'. [stephh]
646Improved video rendering in MPU4 [David Haywood]
851647
852snes wip: [Fabio Priuli]
853 * added a couple of registers to snes_ppu struct
854 * moved color blending (background & subscreen color
855    addition/subtraction) at the end of the drawing process.
856 * removed some unused (and not working anymore) debug code
857 * fixed the remaining debug functionalities
858 * moved colour struct to be another layer (simplifying some code)
859 * updated hires blending to work with two pixel at time.
860 * fixed clipmasks with hires modes
648Implemented 15/31 kHz selector in the Naomi driver, makes Strike
649Fighter and Shootout Pool Prize to be bootable by the common user
650[Angelo Salese]
861651
862hng64 : Initial implementation of 0x10-sized palette pages for 3d
863objects. This makes most environment colors correct in sams64.
864[Andrew Gardner]
652Clean up interpolation inhibit logic, may sound slightly better now.
653Minor fix to TMS5220C table so zero-energy frames are correctly
654detected. [Lord Nightmare]
865655
866[VIA6522] Read port A/B only if some pins are inputs. [Curt Coder]
656Added driver data class and save states to playmark.c, powerbal.c,
657pushman.c and pzletime.c [Fabio Priuli]
867658
868Fixed Dip Switches and Inputs (after verification of the Z80 code)
869for 'dambustr' and clones. [stephh]
659Improvements to Shark Party (English, Alpha license): [Roberto Fresca]
660 * Created complete inputs from the scratch.
661 * Added coin/keyin/keyout counters.
662 * Added main game and double-up rates DIP switches.
663 * Added minimum bet DIP switches.
664 * Added maximum bet DIP switches.
665 * Added complete coinage and remote credits DIP switches.
666 * Added jokers and demo sounds DIP switches.
667 * Figured out and documented all the game outputs.
668 * Created proper button-lamps layout.
669Now the game is in full-working state.
870670
871Internal debugger using the mame rendering infrastructure [couriersud]
872 - added support for arbitrary number of containers for render_target
873 - added command-line parameter -debug_internal (-di) to use the
874    internal debugger when in debug mode
875 - internal debugger supports all views except memory view
876 - added "Debug" view to layout/vertical.lay to create more place for
877    debug views in vertical games.
671Added a RAM mirror that fixes The Typing of the Dead booting
672[Angelo Salese]
878673
879 NOTE: The colors are ugly. Font rendering needs improvement. There
880 are no shortcut keys right now. There is still a lot of room for more
881 improvements. However, it works and does not depend on any ui
882 toolkit. The interface has been designed to support displaying views
883 programmatically e.g. from the ui.
884674
885 Short HowTo:
886  - Start MAME with "-debug -di"
887  - Console, register and disasm views will be shown. Place them by
888     dragging the view on the title bar.
889  - Views can be resized by dragging the bottom-right yellow square.
890  - The view having the focus has a green background title bar.
891  - Hit "Tab" (IPT_UI_CONFIGURE) to show the menu.
892  - Console and disasm views support a very simple facility to
893     support entering commands and addresses. Just start typing.
894     Hit "enter" when finished.
895675
896irobot.c - Added XTAL values from manual and hooked up to driver for
897main/sound CPU.  [Phil Bennett/Tafoid]
898
899rungun: fix text tilemap lookup for big-endian targets. [R. Belmont]
900
901Added Intel 8021/8022 CPU types. [Curt Coder]
902
903irobot.c - Added/verified Dip Locations per manual and test mode.
904[Tafoid]
905
906Workaround for gcc-4.3 reporting a false warning on solaris: disable
907-Werror for this file only. [couriersud]
908
909Cleaned up SDL OSD functions after merging in code from MESS.
910[couriersud]
911
912wrally.c - Added/verified DIP Locations for World Rally [Guru]
913
914Fixed long-standing (day one?) bug with ADPCM samples in Trojan /
915Tatakai no Banka [Mamesick, Angelo Salese]
916
917Fixed Dip Switches and Inputs (after verification of the Z80 code) for
918'espial', 'espialu' and 'netwars". [stephh]
919
920Got Mortal Kombat 3 (bootleg of Megadrive version) to boot. Still
921missing some key inputs. [Mariusz Wojcieszek]
922
923
924
925676New games added or promoted from NOT_WORKING status
926677---------------------------------------------------
927Midnight Resistance (bootleg with 68705) [IQ_132]
928Sexy Boom [Mariusz Wojcieszek]
929Treasure Island (Subsino)
930   [Team Europe, Dumping Union, Angelo Salese, David Haywood,
931    Roberto Fresca]
932Ghost Chaser Densei (SNES bootleg) [Tomasz Slanina, XingXing]
933Skill Drop Georgia
934   [Luca Elia, Smitdogg, Brian Troha, The Dumping Union]
935Logic Pro Adventure
936   [Guru, D. Beneke, snoopy, pongplaya, W. Belk, hap, S. S. Neilson,
937    JacKc, The Dumping Union]
938Pachifever [Tomasz Slanina]
678Senko No Ronde Special (GDL-0038) [tormod, The Dumping Union]
679Guilty Gear XX Accent Core (GDL-0041) [Joerg Hartenberger]
680Cleopatra Fortune Plus (GDL-0012) [Joerg Hartenberger]
681Hammer [Guru, Smitdogg, Luca Elia, The Dumping Union]
682Royal Card (4 new sets) [Roberto Fresca]
683Treasure Bonus
684  [Team Europe, The Dumping Union, David Haywood, Angelo Salese]
939685
940686
941687
942688New clones added
943689----------------
944INDY 500 Twin (Revision A, Newer) [Brian Troha, Dumping Union]
945Fantastic Journey (ver AAA) [Tirino73]
946Name That Tune (3-23-86) [Kevin Eshbach]
947E.D.F. : Earth Defense Force (bootleg)
948   [Team Europe, Rene Single, Dumping Union] - not working
949Out Zone (set 5) [Corrado Tomaselli]
950Ghosts'n Goblins (World? set 3) [Corrado Tomaselli]
951Bagman (bootleg on Crazy Kong hardware)
952   [Team Europe & Volker Hahn] - not working
953Magical Tonic / Magical Odds? [David Haywood] - not working
954Spiders (set 3) [Team Europe]
955Raiden (US, SEI8904 + SEI9008 PCBs)
956   [tormod, Smitdogg, The Dumping Union, David Haywood]
957Asterix (ver AAD) [Luis "Datasat"]
958Pang! 3 (Euro 950601)
959   [Gerald (COY), B. Sparks, Smitdogg, The Dumping Union]
690Iron Fortress (Japan) [F205V, The Dumping Union]
691Super Shanghai 2005 (GDL-0031) [tormod, Gerald, The Dumping Union]
692Megatouch IV Tournament Edition (9255-50-01 ROA, Standard version)
693  [Phil Bennett, MikeDX, Smitdogg, The Dumping Union]
694Teenage Mutant Hero Turtles (UK 4 Players, set 2) [porchy]
695Carnival (Head On hardware) [Andrew Welburn, Dumping Union] (2 sets)
696Double Dragon (US Set 3) [Corrado Tomaselli]
697Touchmaster 2000 (v4.00 Standard) [Brian Troha, The Dumping Union]
698Phraze Craze (two sets) [D. Beneke, Smitdogg, The Dumping Union]
699Treasure Island (Subsino, set 2)
700  [Roberto Fresca, Team Europe, 9ofzeven]
701Vs 10-Yard Fight (US, Taito license)
702  [ranger_lennier, W. Belk, Smitdogg, The Dumping Union]
70310-Yard Fight '85 (US, Taito license)
704  [Kevin Eshbach, Smitdogg, The Dumping Union]
960705
961706
962707
963708New games marked as GAME_NOT_WORKING
964709------------------------------------
965Mr. Kicker [krick, MrGoodwraith, Smitdogg, The Dumping Union]
966Crackin' DJ [Guru, R. Belmont]
967Joker's Wild (B52 system, set 1)
968   [Roberto Fresca, Tomasz Slanina, Gerald Vanderick]
969Joker's Wild (B52 system, set 2) [Roberto Fresca, Tomasz Slanina]
970Joker's Wild (B52 system, Harrah's GFX)
971   [Roberto Fresca, Tomasz Slanina, Gerald Vanderick]
972   
973   
974   
9750.136u2
710Adders and Ladders [Phil Bennett, David Haywood]
711Strike it Lucky [4 sets] [Phil Bennett, David Haywood]
712Quiz Grid [4 sets] [Phil Bennett, David Haywood]
713Eyes Down [2 sets] [Phil Bennett, David Haywood]
714Blox [2 sets] [Phil Bennett, David Haywood]
715Prize Space Invaders [2 sets] [Phil Bennett, David Haywood]
716Sega Strike Fighter [f205v, The Dumping Union]
717Derby Owner's Club (Ver. C) [f205v, The Dumping Union]
718Kick '4' Cash [f205v, The Dumping Union]
719Happy Tour
720  [Guru, jmurjr, JacKc, gingertom, Rene Single, Smitdogg,
721   The Dumping Union]
722
723
724
7250.137u2
976726-------
977727
978728
979729MAMETesters Bugs Fixed
980730----------------------
981- 03667: [Interface] All default/per-game .cfg files are not saved
982         correctly (Aaron Giles)
983- 03671: [Sound] fcrash: Bad sound ingame (Mamesick)
984- 03663: [Graphics] tgm2, tgm2p: The warning boot screen has a black
985         background which should be blue.
731- 02134: [Graphics] ffight2b: Graphics glitch (Angelo Salese)
732- 03396: [Crash/Freeze] nss_aten: Game does not progress past initial
733         text screen (Angelo Salese)
734- 03397: [DIP/Input] nss_skin: Input is completely non-working
735         (Angelo Salese)
736- 03116: [Crash/Freeze] nss_actr: Emulation hangs up after hitting start.
737         (Angelo Salese)
738- 03227: [Debugger] When setting A register in 8080 CPU, it sets F
739         register
986740
987741
988742
989743Source Changes
990744--------------
991Replaced vsnetscr GFX ROMs with correct dumps
992[Team Japump, Dumping Union]
745Hooked up default NVRAM and fixed sample rom loading order in
746Championship Bowling [David Haywood]
993747
994Fixed memory allocation issue in debug builds. [Aaron Giles]
748snes.c: greatly simplified tile drawing routines, fixed a couple of
749small bugs in mosaic support, reworked debug functions to be detected
750properly in all games [Fabio Priuli]
995751
996Added makefile autotest for BIGENDIAN. A bit hacked, though.
997[couriersud]
752snes.c: improved VRAM accesses (they're invalid during active display)
753and DMA transfers (not all addresses can be accessed) [Fabio Priuli]
998754
999Redumped sound roms in Cyber Tank
1000[Antonio Gonzalez Jr., Dumping Union]
755snes.c: enabled PPU->CPU hdma transfer and moved hdma variables to
756snes_state [Fabio Priuli]
1001757
1002psikyosh improvements: [PsikyoFan]
1003 * Add support for per-scanline scroll/zoom and per-column effects.
1004   This is adds a significant performance penalty when enabled.
1005   Removed warning flag from s1945ii and s1945iii. s1945iii needs
1006   confirmation of correctness and x-zoom is a guess.
1007 * Virtually completed video rendering. Only flipscreen missing (and
1008    conversion to tilemaps one day). Per-line effects now respect
1009    per-line alpha, priority and bank. As a result daraku text works
1010    without any hacks.
1011 * Added various optimisations to get back all games to a playable
1012    speed.
1013 * Fixed missing soldivid effect on final boss that was broken due to
1014    above daraku hack.
1015 * Added accurate scaling effects based on measurements from hardware.
758snes.c: updated HDMA to init/update according to Anomie's docs
759[Fabio Priuli]
1016760
1017cybertnk improvements: [Angelo Salese]
1018 * Fixed sprite height
1019 * Implemented flip x and negative y offsets
1020 * Implemented preliminary zooming
761namcos23: First extremely rough 3D hookup [O. Galibert]
1021762
1022sdl.mak rewrite [couriersud]
1023 - TARGETOS=freebsd may now be given on make invocation
1024 - modular approach, separate sections for opengl, x11, debugger
1025 - most target specific settings parametrized.
1026 - Added GTL_INSTLL_ROOT to optionally build win32 with the mame
1027    debugger.
1028 - On targets supporting "-m64" and "-m32" use them.
1029 - On unix ppc targets, add -Dpowerpc automatically
763Changed the killing blade parent to the pgm bios. [smf]
1030764
1031Improved stack walking on crash in Windows. Now using StackWalk64 to
1032do the stack walk, resulting in cleaner logs. Also will try to use
1033system function to look up symbol and source/line information if
1034present. [Aaron Giles]
765namcos23: Add some lighting. [O. Galibert, Naibo]
1035766
1036Improvements to subsino.c [Roberto Fresca]
1037 (general):
1038 - Lowered CPU clock to 1.5 MHz.
1039 - Reworked former inputs.
1040 - Added specific game and technical notes.
1041 - Added lamps support.
1042 - Cleaned-up a bit the driver.
767namcos23: hooked up tilemap scroll, improved raster IRQ [R. Belmont]
1043768
1044 Victor 5:
1045 - Mapped the M6295 but commented out due to missing sample roms.
1046 - Added keyin, keyout, payout, stats and settings inputs.
1047 - Added coin/keyin/keyout counters.
1048 - Limited the bet and coin pulses to avoid repeats and coin jams.
1049 - Added complete coinage and keyin DIP switches.
1050 - Added main game and double-up rates DIP switches.
1051 - Added minimum bet DIP switches.
1052 - Added maximum bet DIP switches.
1053 - Added attract music DIP switch.
1054 - Added button-lamps layout.
769snes.c: enforced abus validity check on dma reads, fixed possible tile
770and vram out of bounds bugs [Fabio Priuli]
1055771
1056 Victor 21:
1057 - Mapped the M6295 but commented out due to missing sample roms.
1058 - Added bet x10, keyin, keyout, stats and settings inputs.
1059 - Added coin/keyin/keyout/payout counters.
1060 - Limited the bet and coin pulses to avoid repeats and coin jams.
1061 - Added complete coinage and keyin DIP switches.
1062 - Added main game rate DIP switches.
1063 - Added minimum bet DIP switches.
1064 - Added attract music DIP switch.
1065 - Added button-lamps layout.
772Replaced Stocker dump with a good set [Kevin Eshbach]
1066773
1067 Poker Carnival (crsbingo):
1068 - Added change card, keyin, keyout, stats and settings inputs.
1069 - Added coin/keyin/keyout/payout counters.
1070 - Limited the bet and coin pulses to avoid repeats and coin jams.
1071 - Added complete coinage and keyin DIP switches.
1072 - Added double-up rate DIP switches.
1073 - Added minimum bet DIP switches.
1074 - Added maximum bet DIP switches.
1075 - Added cards graphics DIP switches.
1076 - Added double-up type DIP switches.
1077 - Added button-lamps layout.
774Hooked up default NVRAM for Golly Ghost / Bubble Trouble
775[David Haywood]
1078776
1079 Super Rider, Super Moto:
1080 - Added stats and settings inputs.
1081 - Added coin counters.
1082 - Added main game and double-up rates DIP switches.
1083 - Added double-up and control type DIP switches.
1084 - Added coinage and demo sounds DIP switches.
1085 - Added button-lamps layout.
777namcos23: Add 3D model scaling [O. Galibert]
1086778
1087 Shark Party:
1088 - Added stats and settings inputs.
1089 - Added coin counters.
1090 - Added main game and double-up rates DIP switches.
1091 - Added double-up, coinage and demo sounds DIP switches.
1092 - Added button-lamps layout.
779Heavily improved the slot 72 - poker game, it's now known to be
780actually Poker Monarch. [Angelo Salese]
1093781
1094Created new template class tagged_list which manages a simple list
1095along with a tagmap. Changed memory regions, input ports, and devices
1096to use this class. For devices, converted typenext and classnext
1097fields into methods which dynamically search for the next item.
1098Changed a number of macros to use the features of the class, removing
1099the need for a bunch of helper functions. [Aaron Giles]
782m680x0 FPU updates: [R. Belmont]
783 * BCD packed decimal now supported, including k-factor
784 * Improved FSAVE/FRESTORE including FPU reset when restoring a NULL
785    frame
786 * FREM instruction supported
787 * Better disassembly of FPU instructions
1100788
1101Replaced device_find_child_by_tag() -> device->subdevice().
789superfx.c: added save states to the CPU [Fabio Priuli]
1102790
1103Added Am29000 CPU core [Phil Bennett]
791snes.c: moved some more variables to driver state, set a few addresses
792as open bus and slightly changed SuperFX handlers not to access SNES
793WRAM [Fabio Priuli]
1104794
1105Removed stdlib.h from osdcomm.h. [couriersud]
1106 - Added #include stdlib.h where now necessary
1107 - Fixed Solaris build
1108 - Fixed building unidasm for OSD=sdl on win32
795namcos23: c361 fixes and address auto-increment [O. Galibert]
1109796
1110Tools now include stdlib.h where needed. [couriersud]
797further snes.c wip: [Fabio Priuli]
798 * Fixed a bug in SPC7110 handlers (now Tengai Makyou Zero test
799    reaches RTC tests and fails them, instead of getting stuck at
800    MUL/DIV tests)
801 * Implemented very preliminary (and currently broken) SPC7110 RTC
802    emulation
803 * Updated DSP2 handlers to better reflect Overload's docs (problem
804    and fix actually found by byuu)
805- Updated add-on chips handlers to reflect byuu's findings
1111806
1112Changed core library files to use osd_malloc/osd_free where
1113appropriate. [couriersud]
807snes.c wip: fixed reserved memory address read not returning open_bus;
808fixed a few add-on chip reads not returning open_bus [Fabio Priuli]
1114809
1115Added checkautodetect target to makefile. [couriersud]
810Made input_device pointers non-volatile. Since we return pointers to
811them in response to input_device_add(), ensure that the pointers don't
812change after subsequent adds. [Aaron Giles]
1116813
1117Permit zlib and expat to be linked dynamically without changing the
1118makefile by specifying "=0": make BUILD_ZLIB=0 BUILD_EXPAT=0
1119[couriersud]
814snes.c: fixed a SRAM size problem and moved PPU registers handling to
815video/snes.c [Fabio Priuli]
1120816
1121Improved vsnet sprite/roz alignment [David Haywood]
817ppu2c0x.c: added save states to NES PPU and performed some minor
818cleanups [Fabio Priuli]
1122819
1123Converted the following drivers to use a driver_data structure:
1124[Atari Ace]
1125 - bigstrkb, mugsmash, pass, sbugger, sderby, shadfrce, shootout,
1126    silkroad, spbactn, sslam, stlforce, taitojc, tunhunt,
1127    welltris, wwfsstar, xyonix
1128 - 39in1, safarir, sbowling, shougi, skeetsht, skyarmy, sliver,
1129    spoker, spool99, srmp5, srmp6, ssingles, sstrangr, sub, supdrapo,
1130    superdq, supertnk, suprgolf
820i386+ core updates: [Samuele Zannoli]
821 * Added CR4 register
822 * Added bswap instruction
823* Added support for 4MB pages
1131824
1132hng64 : Implemented low-res texture decoding.  All red/green polygons
1133should now be textured. [Andrew Gardner]
825chihiro.c: Minor memory map update for running the BIOS
826[Samuele Zannoli]
1134827
1135Correct a long-standing design flaw: device configuration state is
1136now separate from runtime device state: [Aaron Giles]
828Gun output cleanups/hookups [Howard Casto]:
829 * drivers\othunder.c:  Changed Operation Thunderbolt output names to
830    something more appropriate. (They were routed to LEDs.)
831 * video\rastan.c:  Hooked up output for Operation Wolf.
832 * machine\midwunit.c:  Hooked up outputs for Revolution X.
833 * machine\midyunit.c:  Hooked up outputs for Terminator 2.
834 * drivers\seta.c:  Hooked up outputs for Zombie Raid.
1137835
1138 * There is a new class 'running_device' which represents the
1139    state of a live device. A list of these running_devices sits
1140    in machine->devicelist and is created when a running_machine
1141    is instantiated.
836i386/NEC disassembler updates: [Alex Jackson]
837 * Made "MOV AL, offset" etc (opcodes A0-A3) properly indicate a
838    segment override prefix.
839 * Corrected the disassembly of various NEC-only instructions (mainly
840    V25/V35-only instructions)
841 * Changed CPUINFO_INT_MAX_INSTRUCTION_BYTES on i86 and NEC from 15 to
842    8.
1142843
1143 * To access the configuration state, use device->baseconfig()
1144    which returns a reference to the configuration.
844Added correct ROMs to 'Dragon's Lair (Italian)' (dlital) [f205v]
1145845
1146 * The list of running_devices in machine->devicelist has a 1:1
1147    correspondance with the list of device configurations in
1148    machine->config->devicelist, and most navigation options work
1149    equally on either (scanning by class, type, etc.)
846Improvements to supdrapo.c driver [Roberto Fresca]
847 * Reworked inputs to match the standard poker inputs names/layout.
848 * Hooked the payout switch.
849 * Hooked a watchdog circuitery, that seems intended to reset the game
850    and/or an external device.
851 * Added machine start & reset.
852 * All clocks pre defined.
853 * Added ay8910 interfase as a preliminary attempt to analyze the
854    unknown port writes when these ports are set as input.
855 * Figured out the following DIP switches: Auto Bet (No, Yes). Allow
856    Raise (No, Yes). Double-Up (No, Yes). Minimal Winner Hand (Jacks
857    or Better, Two Pair). Deal Speed (Slow, Fast). Aces Type (Normal
858    Aces, Number 1). Cards Deck Type (english cards, french cards).
859    Max Bet (5, 10, 15, 20).
860 * Added NVRAM support.
861 * Reorganized and cleaned-up the driver.
1150862
1151 * For the most part, drivers will now deal with running_device
1152    objects instead of const device_config objects. In fact, in
1153    order to do this patch, I did the following global search &
1154    replace:
863hng64: Fix sound ROM loading. [Andrew Gardner]
1155864
1156      const device_config -> running_device
1157      device->static_config -> device->baseconfig().static_config
1158      device->inline_config -> device->baseconfig().inline_config
865Reworked the entire Nintendo 64 renderer to be class-based.  More
866cleanup to follow. [Harmony]
1159867
1160    and then fixed up the compiler errors that fell out.
868Removing texture_rectangle_32bit and fill_rectangle_32bit to hopefully
869generate a bug report which indicates any games using the modes.
870[Harmony]
1161871
1162 * Removed device_get_info_* functions and replaced them with
1163    methods called get_config_*.
1164 
1165 * Added methods for get_runtime_* to access runtime state from
1166    the running_device.
1167 
1168 * DEVICE_GET_INFO callbacks are only passed a device_config *.
1169    This means they have no access to the token or runtime state
1170    at all. For most cases this is fine.
1171 
1172 * Added new DEVICE_GET_RUNTIME_INFO callback that is passed
1173    the running_device for accessing data that is live at runtime.
1174    In the future this will go away to make room for a cleaner
1175    mechanism.
1176 
1177 * Cleaned up the handoff of memory regions from the memory
1178    subsystem to the devices.
872Applied some cppcheck fixes. [Oliver Stoneberg]
1179873
1180Fix bug introduced with astring changes that caused malformed tokens
1181when writing out cfg files. [Aaron Giles]
874Clear pending IRQ if the IRQ enable flag is disabled in the SNES
875driver [Angelo Salese]
1182876
1183Fix bug where memory regions were not properly enumerated for the
1184debugger memory view. Also, stop creating empty regions for disk
1185regions. [Aaron Giles]
877midtunit.c: Fixed TMS340 parameter [Alex Jackson]
1186878
1187Added Guru(TM)-readme to trackfld. [Curt Coder]
879namcos23: Fix the zoom value [O. Galibert]
1188880
1189Refactored the CIA 6526 interface, adding SP/CNT callbacks. Fixed
1190serial transfer. [Curt Coder]
881namcos23: First stab at z-sorting [O. Galibert]
1191882
1192Convrted the rest of devintrf to classes and moved management
1193functions into methods of those classes. The most wide-ranging
1194change was converting device_reset() to device->reset(). Apart
1195from that it was mostly internal shuffling in the core. [Aaron Giles]
883[8080/8085 CPU] Fix of mametester bug 3227. [Robbbert]
1196884
1197Added OS/2 autodetect to makefile. [couriersud]
885Moved the i/o update status inside a timer in the SNES driver
886[Angelo Salese]
1198887
1199Autodetection of PTR64 can be inhibited now by specifying PTR64=0.
1200On mixed 32bit/64bit targets identifying themselves as 64bit this can
1201be used to build a 32bit executable. [couriersud]
888Disabled unused variables and code based on cppcheck and VS2008 Code
889Analysis [Oliver Stoneberg]
1202890
1203Added OpenBSD support in makefile/sdl.mak. Fixed XBSD detection of
1204PTR64 (uses amd64). [couriersud]
891Fixed some massive texturing issues in the new Nintendo 64 / RDP
892renderer. [Harmony]
1205893
1206Fix bug that mistook a non-NULL token to mean that a device was
1207started. Fixes -video ddraw issue. [Aaron Giles]
894Disabled DRC versions of certain vector load/store operations in the
895RSP core in order to avoid geometry issues. [Harmony]
1208896
1209Replaced vsnes bank installs with RAM installs, since the banks were
1210never changed. [Aaron Giles]
897Improved Rectangle drawing in the RDP core. [Harmony]
1211898
1212Exit from the unhandled exception filter cleanly now. Use
1213SetErrorMode() to disable the appearance of dialog boxes when crashes
1214occur. [Aaron Giles]
899poly.c: Make the parameter interpolation more robust [O. Galibert]
1215900
1216Fixed a typo in pgm.c that was causing a memory test error and
1217corrected some comments [XingXing]
901namcos23: Push the zclip a little to avoid poly.c issues for now.
902[O. Galibert]
1218903
1219Made direct accessors for device configuration state. Currently they
1220just call through to the get info function. Removed old macros that
1221wrapped calls. [Aaron Giles]
904Added boundary checks for MVN and MVP opcodes when in M mode in the
905G65816 CPU core [Angelo Salese]
1222906
1223Removed some aliases between CPUINFO_ and DEVINFO_ to help clarify
1224usage. Also converted a few more places to use the new accessors.
1225[Aaron Giles]
907Added a new input type IPT_KEYPAD for MESS, to distinguish between
908fully featured keyboards and keypad controllers [Fabio Priuli]
1226909
1227Replaced drgninja set with one dumped from a genuine Data East PCB
1228[dlfrsilver]
910skyarmy (skyarmy.c)  [stephh] :
911 * Fixed Dip Switches and Inputs (after verification of the Z80 code)
912 * Updated memory map to partially handle screen flipping
1229913
1230Added MEC-M1 PCB layout to the dec0 driver and updated some clocks
1231and ROM names [Guru]
914scobra, scobrase, scobras, scobrab, suprheli, moonwar, moonwara,
915armorcar, armorcar2, tazmania, anteater, calipso, losttomb, losttombh,
916spdcoin, superbon (galaxian.c driver + galdrvr.c)  [stephh] :
917 * Fixed Dip Switches and Inputs (after verification of the Z80 code)
1232918
1233hng64 : Partially decodes translation-only geometry type 0102. This
1234makes the road appear in the racing games, the edge of the ring in
1235buriki, and a hallway during the buriki attract. [Andrew Gardner]
919namcos23: Found "force poly to front" bit [O. Galibert]
1236920
1237The return of the "misc" [couriersud]
1238 - Added sdlmisc_<targetos>.c again. This was necessary since
1239    certain tools create stubs for e.g. osd_break_into_debugger.
1240    If we do not have this in a separate file, the link stage may
1241    break.
1242 - Applied OS/2 patch [Credit: KO Myung-Hun]
1243 - Cleaned up #includes. Removed stdlib.h were possible.
1244 - More malloc to osd_malloc rename.
1245 - SDL monitor modes are read now when they are needed. This is now
1246    consistent across platforms.
921info.c: added keyboard and keypad controls to xml output
922[Fabio Priuli]
1247923
1248GTK Debugger work [couriersud]
1249 - glade-2 can now be used again to edit the debug.glade file.
1250 - No more need to edit the files created by glade-2
1251 - All "activate" handlers now pass the parent window pointer.
1252 - malloc ==> osd_malloc to prevent mixed c++/c window allocations.
1253 - Run to cursor (main view)
1254 - In place memory editing (memory view)
1255 - implement key handling (Up, down, ..) like in windows
1256 - Tab and ESC not yet handled
1257 - Functionality now matches win32 debugger
1258 - Further code review/rewrite/simplification
1259 - Added more comment headings
1260 - fix a compile warning for gcc-4.4 (not detected by gcc-4.2)
1261 - Horizontal divider bar to individually size views.
1262 - minimum height aligned to win32 debugger
924First step in supporting master cycle delays in the SNES driver
925[Angelo Salese]
1263926
1264ARM: preliminary SA-1110 support [R. Belmont]
927Basic implementation of the DMA master cycles steals in the SNES
928driver [Angelo Salese]
1265929
1266Verified all deco32 clocks and corrected HuC6280 clock following old
1267Charles McDonald notes I had about internal divisor. Added a note on
1268the Arm cpu used by this game: it's a Data East 101 custom
1269[Corrado Tomaselli]
930Basic implementation of the memory map master cycle steals in the SNES
931driver [Angelo Salese]
1270932
1271Changed the following games to use the 76489A variant (verified on my
1272pcbs): Green Beret, Do Run Run, Mr.Do's Castle, Jail Break,
1273Shaolin's Road, Yie Ar Kung-Fu [Corrado Tomaselli]
933snes.c: fixed to the DMA issue with S-DD1 games [Fabio Priuli]
1274934
1275Fixed sn76489a periodic noise once again (and simplified a bit of
1276code), now should be closer to or match real chips as sampled. Added
1277true clock divider emulation, so emulation may be a bit slower.
1278[Lord Nightmare, PlgDavid, Kold666]
9351943.c: Corrected rom names [Bill D, The Dumping Union]
1279936
1280Popmessages can now be used in drivers which have an MC6845.
1281[Curt Coder]
937segaybd.c: Redumped IC26 for Rail Chase, added PCB board ID numbers
938and corrected the rom names for Rail Chase [ANY]
1282939
1283Ensure that RAM and bitmaps are cleared when the ms32 driver is
1284started to avoid 64-bit build crashes [David Haywood]
940Added gprof support to the makefile. [Bryan Ischo]
1285941
1286Converted HD63484 ACRTC to be device. [Fabio Priuli]
942Added a check for the OPTION_READCONFIG option before executing
943the code which would attempt to incorporate configuration file
944settings into the current configuration, because if OPTION_READCONFIG
945is set to false, then there is no reason to even try to do this as
946every single configuration file will be ignored (because config files
947have been turned off by OPTION_READCONFIG). [Bryan Ischo]
1287948
1288hng64 : Hacks the camera to work in sams64. [Andrew Gardner]
949Fixed small memory leak in mame.c. [Bryan Ischo]
1289950
1290Fixed crash issues with mchampdx [Fabio Priuli]
951Fixed double-free error in render.c. [Bryan Ischo]
1291952
1292s14001a: updated comments; got rid of the squealing noise (hidden
1293behind a #define now, code is still there) until some other issues
1294can be resolved. [Lord Nightmare]
953Made core_strdup use osd_malloc instead of malloc. [Bryan Ischo]
1295954
1296Dumped the proms in D-Day (Jaleco) [Chack'n, Team Japump]
1297955
1298Fixed background and sprites colors in D-Day (Jaleco) [Angelo Salese]
1299956
1300UI menu interface changes [couriersud]
1301 - all ui functions now expect a render_container
1302 - removed all macros referencing render_container_get_ui
1303 - ui_menu_alloc now is passed a container to which to render the menu.
1304
1305
1306
1307New games added or promoted from NOT_WORKING status
1308---------------------------------------------------
1309F-15 Strike Eagle (2 sets) [Phil Bennett]
1310Battle of the Solar System (rev. 1.1) [Phil Bennett]
1311Tank Battle (prototype rev. 4/21/92) [Phil Bennett]
1312Fortune I (PK485-S) Draw Poker [Jim Stolis]
1313Versus Net Soccer (5 sets) [David Haywood]
1314Island 2 (060529, banking address hack) [David Haywood]
1315
1316
1317
1318957New clones added
1319958----------------
1320Insector X (Japan) [Gyrovision, Gatinho, Smitdogg, Dumping Union]
1321Viper Phase 1 =U.S.A= [Keven Eshbach, Dumping Union]
1322Cube Quest (12/30/83) [Bill K]
959Rail Chase (World) [Dumping Union]
960High Impact Football (rev LA2 12/26/90)
961  [A. Hoekman, tormod, Smitdogg, The Dumping Union]
962Shark Party (english, alpha license)
963  [Kevin Eshbach, Smitdogg, The Dumping Union]
964Touchmaster 8000 (v9.02 Standard) [Bill D., The Dumping Union]
965Ridge Racer (Full Scale, 1993-12-13, World)
966  [tormod, Smitdogg, The Dumping Union] (not working, incomplete boardset)
967Super Draw Poker (set 2) [Roberto Fresca, Team Europe, Dumping Union]
968Super Football Champ (Ver 2.4O) [Caius]
969Street Fighter (US, set 2) (protected) [Bill D & the Dumping Union]
970Thrill Drive (JAB) [The Dumping Union]
971Moon Base (set 2) [jmurjr, D. Maeby, Charles MacDonald, The Dumping Union]
972Vapor Trail - Hyper Offence Formation (World revision 3?)
973    [f205v, Tirino73]
974Cherry Bonus III (alt, set 2) [Anonymous]
1323975
1324976
1325977
1326978New games marked as GAME_NOT_WORKING
1327979------------------------------------
1328King Tut (Australia) [David Haywood]
1329Money Bank (Australia) [David Haywood]
1330Penguin Adventure (bootleg) [Mariusz Wojcieszek]
1331Quarter Horse Classic [Siftware, Mariusz Wojcieszek]
1332Pinkiri 8 [Gyrovision, Smitdogg, The Dumping Union]
1333Poker Ladies (Censored bootleg) [David Haywood]
1334Gundam Wing: Endless Duel (SNES bootleg)
1335   [N. Francfort, manliodp, Smitdogg, The Dumping Union]
1336Mortal Kombat 3 (bootleg of Megadrive version)
1337   [Patrick McCarron, Smitdogg, The Dumping Union]
980Lucky Boy / Poker 72 [David Haywood]
981Print Club Pokemon B [Guru]
1338982
1339983
1340984
13410.136u1
9850.137u1
1342986-------
1343987
1344IMPORTANT NOTE: As of this release of MAME, several important things
1345about the system have changed. Please read the following items before
1346attempting to compile this new version.
1347988
13481. A new tool chain for Windows, based off of gcc 4.4.3 prerelease,
1349is now REQUIRED. Go to http://mamedev.org/tools to get the new tools.
1350The updated included with 0.136u1 WILL NOT BUILD with the old tools.
1351The new tool chain has support for building 64-bit MAME builds with
1352gcc, as well as built-in DirectX headers, and C++ support, which was
1353missing from the old tools.
1354
13552. Non-Unicode builds of Windows MAME are no longer supported. The
1356options to turn this off in the makefile have been removed, and
1357future changes are likely to solidify this requirement. If you are
1358still (God forbid) running on Win9x, you will need the unicows.dll
1359library to run MAME. Download unicows from Microsoft.
1360
13613. All code in MAME is now compiled as C++, plus there have been a few
1362small changes that take advantage of the C++ language. For the most
1363part, there is no effect on how drivers are written, except for some
1364nicer accessors to devices and address spaces. Future improvements to
1365take advantage of the C++ syntax will evolve slowly, and will be done
1366internally. We are not interest in outside attempts to do this work
1367for now.
1368
13694. The SDL OSD for MAME is now shipped as part of the main source
1370package. SDL builds for Windows are now regularly built as part of the
1371validation sequence for a new release. Thanks to R. Belmont,
1372couriersud, and Olivier Galibert for their work on the SDL port over
1373the years.
1374
1375
1376
1377989MAMETesters Bugs Fixed
1378990----------------------
1379- 00660: [DIP/Input] zoar: The cabinet UPRIGHT dipswitch is not
1380         working. (stephh)
1381- 03233: [Multisession] All sets in crystal.c: Multisession Crash
1382- 00111: [Crash/Freeze] gunbird2: crashes during the 4th level boss
1383         fight (North Pole) when using Vampiro. (PsikyoFan)
1384- 03649: [Crash/Freeze] gekisha: Unknown DIP 4-2 toggles Auto Tsumo
1385         after Reach. If it is enabled and declare Reach, MAME crashes.
1386         (Angelo Salese)
1387- 02154: [DIP/Input] ckongg: Coinage settings are wrong. (stephh)
1388- 02157: [DIP/Input] ckongg: Coinage settings shown on screen don't
1389         correspond to actual settings (stephh)
1390- 03653: [Graphics] crzrally, crzrallya, crzrallyg: Default high
1391         scores are incorrect (Pierpaolo Prazzoli)
1392- 03651: [Graphics] matmania: Graphical corruption (M.A.S.H.)
1393- 03620: [Speed] quasar: Massive slowdown (Quench)
1394- 03623: [Speed] laserbat, catnmous: Massive slowdown (Quench)
1395- 03621: [Interface] Hitting F6 without -cheat trigger causes crash
1396         (smf)
1397- 03626: [Graphics] raiders, spacefrt: Background star field is
1398         missing (Fabio Priuli)
1399- 03637: [Core] dino, punisher, wof and clones: NVRAM saves correctly,
1400         but doesn't reload any changes made (Fabio Priuli)
1401- 03415: [Compiling] unidasm fails to link when ldplayer is the
1402         specified target (Aaron Giles)
1403- 03485: [Graphics] mikie, mikiej, mikiehs: Possible priority issue
1404         on game completion (robiza)
1405- 00266: [Graphics] daraku: Graphic Issues at region warning and
1406         during super move. (PsikyoFan)
1407- 00892: [Misc.] s1945iii: At the very last boss, MAME popup a message
1408         (PsikyoFan)
1409- 03632: [Crash/Freeze] kinst, kinst2: Game hangs at black screen with
1410         32-bit build (Aaron Giles)
1411- 03630: [Core] Any EEPROM with an 8-bit data bus is not being saved
1412         correctly (Aaron Giles)
1413- 03622: [Graphics] solomon, solomonj: Graphics Bugs
1414         (Pierpaolo Prazzoli)
991- 03793: [Compiling] Build for G4 (altivec) is broken.
992- 03792: [Compiling] Support for kFreeBSD
993- 03371: [Sound] yiear, yiear2: Music pitch is lower than PCB (Tafoid)
994- 03550: [DIP/Input] moonwar: Missing "Hyper Flip" Button
995         (Lord Nightmare)
996- 00304: [Graphics] All sets in toaplan1.c: In cocktail mode player 2
997         screen is not correct or flip screen on the players screen is
998         not correct. (Quench)
999- 03775: [Interface] primglex: Missing buttons (R. Belmont)
1000- 03762: [DIP/Input] tekken and clones: Kick button does not work
1001         (R. Belmont)
14151002
14161003
14171004
14181005Source Changes
14191006--------------
1420hng64 improvments [Andrew Gardner]
1421 - bbust2 now has 3d geometry.
1422 - fixed improperly loaded ROMs in sams64* games.
1423 - hacked 3d acknowledge in a slightly different manner. Sams64 games
1424    now show 3d.
1425- found the 'explicit palette' word in bbust2.  Colors are now correct
1426    Implemented what looks like a 'dynamic palette' bit. Fixes the
1427    colors in sams64 games, but not roadedge or buriki.
1007Added default nvrams to the ST-V driver [David Haywood]
14281008
1429RSP DRC changes: [Aaron Giles]
1430 - fixed misaligned 32-bit accesses
1431 - disabled DRC_SQV implementation as it breaks music in mtetrisc
1009Improve text layer in LE2: [David Haywood]
1010 * set display enable to be ON by default.  LE2 doesn't turn it on
1011    until after the test screens, which would seem to indicate that
1012    the register should default to on, otherwise they're always
1013    invisible.
1014 * added a kludge to use the right palette for the text layer in LE2,
1015    I haven't checked, but I wonder if this could also be related to
1016    internal defaults for the mixer chip which the game doesn't
1017    change.
1018This allows you to see the ram/rom tests anyway, which is better than
1019an invisible startup.
14321020
1433Converted RSP callbacks into device callbacks. Removed a ton of tag-
1434based queries in favor of using the device passed. [Aaron Giles]
1021680x0 FPU updates [R. Belmont]
1022 * Rewritten to use SoftFloat instead of unportable native FP math
1023 * Support added for Motorola 96-bit extended floats
1024 * More addressing modes and conditions supported
14351025
1436Added profiler_mark() calls around rdp_process_list() so that the RDP
1437time is separated from the RSP time. [Aaron Giles]
1026Updates to toaplan1.c driver: [Quench]
1027 * Fixed flipscreen support for all toaplan1 games
1028 * Added minimal Z180 place holder for SameSame/Fireshrk/Vimana
14381029
1439Added more decrypted opcodes to cb2001. [robiza]
1030500gp title screen says 1998, change driver to match [Guru]
14401031
1441Added driver data struct to cave.c. [Fabio Priuli]
1032namcos23: Hook the 3D commands DMA [O. Galibert]
14421033
1443Changed inline_config to be allocated separately to avoid alignment
1444issues. [Aaron Giles]
1034Updates to Twincobr/Wardner drivers: [Quench]
1035twincobr.c
1036 * Added 6845 CRTC interface
1037 * Restored correct DSP roms loads and proms for 'fsharkbt'
1038wardner.c
1039 * Added 6845 CRTC interface
1040 * Corrected some clock speeds
14451041
1446uPD7801 core changes: [Wilbert Pol]
1447 - Fixed incorrect disassembly of some instructions.
1448 - Updated the handling of interrupts to match the documentation.
1449 - Implemented uPD7801 timers.
1450 - Configured port A on the uPD7801 to an output port.
1042namcos23 housekeeping: move months to mamedriv, fix 500 GP name [Guru]
14511043
1452Removed the various HAS_xxxx for sound cores. To select sound cores,
1453just choose them in the make system. Further granularity is not
1454necessary. This also means that the samples core is always required.
1455[Aaron Giles]
1044taitojc: fix landgear crash, game now enters attract mode [R. Belmont]
14561045
1457Base tilemap hook-up for cb2001. [Angelo Salese]
104665816: fix decimal mode ADC/SBC behavior [blargg, byuu, R. Belmont]
14581047
1459Fixed the gfx rom loading for Race Drivin' Panorama [David Haywood]
1048Improvements to Funworld driver. [Roberto Fresca]
1049 * Removed all hacks in the rom load section. Now the involved sets
1050    are properly loaded in the same way the hardware does.
1051 * Replaced hardcoded values on graphics decode routines with proper
1052    RGN_FRAC calculations.
1053 * Fixed graphics bitplanes to involved games.
1054 * Added more hardware/technical info.
1055 * Modify the mongolnw machine driver. Now can see it starts.
1056 * Added Multi Win, from Funworld. The set is encrypted and use a
1057    custom CPU. Seems similar hardware than (multi) Joker Card.
1058 * Added Fun World Quiz. Needs proper banking, and both graphics and
1059    bipolar PROM redumps.
14601060
1461Vs. Net Soccer improvements:
1462 - Emulated DMA protection for startup-checks [Olivier Galibert]
1463 - Fixed Data ROM loading, game now boots [David Haywood]
1464 - Marked Sprite + Sound ROMs as BAD_DUMP [David Haywood]
1061680x0 FPU update: [R. Belmont]
1062 * Implemented FMOVECR
1063 * Added load extended PC relative indexed support
1064 * Cleanup some duplicated code
14651065
1466Converted the goldstar, liberate, sidearms and sidepckt drivers to use
1467driver_data [Atari Ace]
1066Added Fun World Quiz description, and hardware notes. [Roberto Fresca]
14681067
1469Makefile changes: [Aaron Giles]
1470 - Removed CPP_COMPILE flag; all code is now compiled as C++ except
1471    for zlib and expat
1472 - Mapped INLINE to "static inline" since C++ has real inlining
1473 - Added new 'default' make target which just builds the emulator.
1474    Use 'make tools' to build the tools, or 'make all' to build the
1475    whole thing.
1476 - 64-bit builds now get a '64' suffix on them.
1477 - Removed UNICODE flag from Windows; UNICODE is always enabled now.
1478 - If OSD is not defined, we look for the built-in Windows
1479    environment variable 'OS' and if it is set to 'Windows_NT',
1480    we assume OSD=windows; otherwise we assume OSD=sdl.
1481 - If TARGETOS is not defined, we look for the same variable
1482    and set TARGETOS=win32 if it is set to 'Windows_NT'.
1483 - Windows SDL builds have an 'sdl' prefix on the executable
1484    so they can live side-by-side.
1485 - Added cheesy auto-detection of 64-bit Windows builds (based on the
1486    PATH including 'mingw64-w64')
1487 
1488Removed hacks surrounding unicode handling in main(). They are no
1489longer necessary with the new tools. [Aaron Giles]
1068More improvements to Funworld driver. [Roberto Fresca, David Haywood]
1069 * Improved inputs for Fun World Quiz.
1070 * Proper handlers and banking for Fun World Quiz questions.
1071 * Partial decryption for royalcdc and multiwin.
1072 * Complete Fun World Quiz DIP switches with dip locations.
1073 * Promoted Fun World Quiz to working state.
1074 * Added Fun World Quiz bookkeeping instructions notes.
14901075
1491Fixed typo in 8-bit eeprom case that broke operation in some games.
1492[Aaron Giles]
1076Added default NVRAM for Namco FL games and some Namco System 2 games
1077[David Haywood]
14931078
1494Fixed x86 DRC backend codegen bug that broke kinst. [Aaron Giles]
1495
1496Got rid of setjmp/longjmp for error handling in favor of exceptions.
1497Fatalerror now maps to throwing an exception. [Aaron Giles]
1498
1499[PIT8253] Update PIT counter even if there was no elapsed cycles (this
1500only affects fast drivers like at586 in MESS). [Miodrag Milanovic]
1501
1502Fixed a bunch of minor quirks, and fixed gfxs in the dwarfd driver.
1079Implemented player 2 input buffer protection in Winning Spike
15031080[Angelo Salese]
15041081
1505Changed berlwall, arkanoid, bakubrkr, mgcrystl to use YM2149.
1506[Corrado Tomaselli]
1082Implemented irq ack in the Pastel Gal driver and implemented gfx rom
1083readback in Three Dealers Casino House [Angelo Salese]
15071084
1508Verified and corrected clocks in halleys and exctsccr.
1509[Corrado Tomaselli]
1085More improvements to Funworld driver. [Roberto Fresca]
1086 * Reworked button-lamps layouts per game. Cleaned-up the code.
1087 * Added specific button-lamps layout for bigdeal games.
1088 * Added specific button-lamps layout for royalcrd & jolycdit, but
1089    there is a bug in the d-up select code that lights the wrong lamp.
1090    This is a leftover from jollycrd routines.
1091 * Flagged vegasfte as GAME_NOT_WORKING, since is not receiving any
1092    coins or remote credits anymore.
15101093
1511Add support for Mahjong panel for mjgtaste. Makes this the default
1512input and alters the default eeprom accordingly to match factory
1513default. Note that you need to change both the game and the controller
1514setting from the driver configuration when switching input sources
1515since the two are mutually exclusive. [PsikyoFan]
1094hng64 : Lighting calculations are now more accurate. [Andrew Gardner]
15161095
1517Fix zeroize protection simulation in lieu of proper dongle dump.
1518[Bryan McPhail]
1096Added driver data class and save states to: paradise.c, pasha2.c and
1097pbaction.c. [Fabio Priuli]
15191098
1520Adds missing sample rom to Gals Panic 4 (Korea)
1521[Brian Troha, Dumping Union]
1099Enabled saves states in pass.c (everything was already saved)
1100[Fabio Priuli]
15221101
1523misc Konami wip: [Fabio Priuli]
1524 * moved a few routines (used for sorting graphics layers) to
1525    konicdev.c since they are shared by several drivers
1526 * added driver data struct to ajax.c and aliens.c
1527 * added driver data struct + save states to: asterix.c, bishi.c,
1528    blockhl.c, bottom9.c, chqflag.c, crimfght.c, dbz.c, gbusters.c,
1529    gijoe.c, lethal.c, mainevt.c, moo.c, overdriv.c, parodius.c,
1530    rollerg.c, rungun.c, simpsons.c, spy.c, surpratk.c, tail2nos.c,
1531    thunderx.c, tmnt.c, ultraman.c, vendetta.c, xexex.c and xmen.c
1532 * updated some Konami drivers above to separately allocate palette/
1533    extra/work RAM instead of appending them to maincpu ROM; also,
1534    reduced maincpu rom regions where appropriate
1535 * replaced memory_set_bankptr with memory_set_bank where necessary
1536 * added driver data struct & save states to gradius3.c
1537
1538Converted taitosnd (aka tc0140syt) to be a device and updated the
1539related drivers to use the new code. [Fabio Priuli]
1540
1541Replaced all occurrences of cputag_get_cpu with devtag_get_device:
1542the former function was just an alias and now cpus are no different
1543from other devices. Also removed cputag_get_cpu and cputag_reset
1544(another alias, not even used in the source) from cpuexec.h.
1102snes.c: reworked OAM drawing routines, implemented correct range over
1103and time over flags (sprite limits), implemented FirstSprite priority
15451104[Fabio Priuli]
15461105
1547Fixed knights rom labels [Dlfrsilver]
1106snes.c: moving more variables to driver data class and
1107refactoring/cleaning up some code [Fabio Priuli]
15481108
1549Metal Maniax improvements [Phil Bennett/luigi30]
1550 * Fixed frame buffer display
1551 * Started to add the other CPUs
1552 * Added PCB layouts for layers 1 and 2
1553 * Hooked up TMS34020
1554 * Started to implement the ADSP-2105 network CPU and the CAGE audio
1555    system [Phil Bennett]
1109NamcoS21 cleanups [David Haywood]
1110 * Added default NVRAM to Cybersled
1111 * Limited the range of the analog inputs in Cybersled (the game
1112    glitches, causing you to move backwards if they hit the minimum /
1113    maximum)
1114 * Setup default key mapping in Cybersled to be similar to other dual
1115    joystick 'tank' style games, eg. Assault, rather than the default
1116    keyboard mapping where the sticks appear to be swapped.
1117 * Reworked the input ports a bit so that they include a common base
1118    rather than duplicating common inupts
1119 * Renamed aircombu to aircomb, and made it the parent instead of the
1120    Japanese set.
15561121
1557Added some missing header declarations and static qualifiers. Added
1558validity.h to the core for consistency as well as an explicit foo.h
1559in each foo.c. [Atari Ace]
1122Cave cleanups [David Haywood]
1123 * Removed fake Region dipswitch that modified the region byte in the
1124    EEPROM each reset for Sailor Moon, Air Gallet and Mazinger Z
1125 * Split out different regions into clones with different default
1126    EEPROMs instead, and ensured all EEPROMs are factory default for
1127    that region. (this is a cleaner solution and more accurately
1128    represents the PCBs)
15601129
1561Added driver data struct to taitoair.c and taito_b.c. [Fabio Priuli]
1130dynax.c, ddenlovr.c: Added driver data class [Fabio Priuli]
15621131
1563VIA6522: Refactored interface to use READ/WRITE_LINE. [Curt Coder]
1132tlcs90.c: added save states [Fabio Priuli]
15641133
1565Cyber Tank improvements: [Angelo Salese]
1566 * Fixed bitplane order
1567 * Decoded sprite gfx format
1568 * Hooked up the two bg tilemaps
1569 * Wrote bare-bones video emulation for the Cyber Tank sprite chip /
1570    blitter
1571 * Added video boundary checks for the blitter
1134ddenlovr.c, dynax.c: replaced memory_set_bankptr with memory_set_bankp
1135and added save state support [Fabio Priuli]
15721136
1573The starting value for an output port is now the default value, which
1574is based on whether it is active high or low. So the device will be
1575called the first time the line becomes active. Changed the eeprom
1576device to assume that the reset and clock are cleared until it's told
1577otherwise. [smf]
1137spc700.c: Added save states [Fabio Priuli]
15781138
1579Added driver data struct to taito_l.c & opwolf.c. [Fabio Priuli]
1139snes.c: Updated the snes sound device to use device handlers, to store
1140its internals in a struct, and to save them [Fabio Priuli]
15801141
1581Added driver data struct + save states to asuka.c (cadash was not
1582supporting saves), rainbow.c, rastan.c, taito_f2.c, taito_h.c,
1583taito_o.c, taito_z.c, topspeed.c & volfied.c. [Fabio Priuli]
1142i386: fixed unaligned memory accesses and opcode fetches when they
1143cross a page boundary. Previously, if pages were not ordered in
1144contiguous RAM, then a cross-boundary read or write would read
1145partially incorrect data or write some of the data in the wrong page.
1146[Barry Rodewald]
15841147
1585Renamed mamecore.h -> emucore.h. [Aaron Giles]
1148png2bdc.c: When the usage is printed, the name displayed was "png2bdf"
1149instead of "png2bdc"; this changes it by retrieving the name of the
1150executable at runtime, so it will always be correct now.
1151[Christophe Jaillet]
15861152
1587New C++-aware memory manager: [Aaron Giles]
1153several cleanups based on cppcheck and VS2008 Code Analysis
1154[Oliver Stoeneberg]
15881155
1589  This is a simple manager that allows you to add any type of object
1590  to a resource pool. Most commonly, allocated objects are added, and
1591  so a set of allocation macros is provided to allow you to manage
1592  objects in a particular pool:
1156split.c: made the "split" return the actual result instead of just 0.
1157[Oliver Stoeneberg]
15931158
1594    pool_alloc(p, t) = allocate object of type 't' and add to pool 'p'
1595    pool_alloc_clear(p, t) = same as above, but clear the memory first
1596    pool_alloc_array(p, t, c) = allocate an array of 'c' objects of
1597                                type 't' and add to pool 'p'
1598    pool_alloc_array_clear(p, t, c) = same, but with clearing
1599    pool_free(p, v) = free object 'v' and remove it from the pool
1159clifront.c: made the identation of the CPU device in -listdevices the
1160same like the others [Oliver Stoeneberg]
16001161
1601  Note that pool_alloc[_clear] is roughly equivalent to "new t" and
1602  pool_alloc_array[_clear] is roughly equivalent to "new t[c]". Also
1603  note that pool_free works for single objects and arrays.
1162i386.c: gave some fatalerror() calls in the i386 proper messages
1163[Oliver Stoeneberg]
16041164
1605  There is a single global_resource_pool defined which should be used
1606  for any global allocations. It has equivalent macros to the pool_*
1607  macros above that automatically target the global pool.
1165ssem.c: fixed compilation of SSEM core with SSEM_DISASM_ON_UNIMPL
1166[Oliver Stoeneberg]
16081167
1609  In addition, the memory module defines global new/delete overrides
1610  that access file and line number parameters so that allocations can
1611  be tracked. Currently this tracking is only done if MAME_DEBUG is
1612  enabled. In debug builds, any unfreed memory will be printed at
1613  the end of the session.
1168sdl/window.c: fixed a potential memory leak in
1169sdlwindow_video_window_create() [Oliver Stoeneberg]
16141170
1615  emualloc.h also has #defines to disable malloc/free/realloc/calloc.
1616  Since emualloc.h is included by emucore.h, this means pretty much
1617  all code within the emulator is forced to use the new allocators.
1618  Although straight new/delete do work, their use is discouraged, as
1619  any allocations made with them will not be tracked.
1171metro.c: added driver data class [Fabio Priuli]
16201172
1621  Changed the familar auto_alloc_* macros to map to the resource pool
1622  model described above. The running_machine is now a class and
1623  contains a resource pool which is automatically destructed upon
1624  deletion. If you are a driver writer, all your allocations should be
1625  done with auto_alloc_*.
1173vmetal: added driver data class and save states [Fabio Priuli]
16261174
1627  Changed all drivers and files in the core using malloc/realloc or
1628  the old alloc_*_or_die macros to use (preferably) the auto_alloc_*
1629  macros instead, or the global_alloc_* macros if necessary.
1175Verified all the clocks from Super Contra PCB as well as the vsync.
1176[Corrado Tomaselli]
16301177
1631  Added simple C++ wrappers for astring and bitmap_t, as these need
1632  proper constructors/destructors to be used for auto_alloc_astring
1633  and auto_alloc_bitmap.
1178Implemented VRAM color bank select in Uncle Poo [Angelo Salese,
1179Iq_132]
16341180
1635  Removed references to the winalloc prefix file. Most of its
1636  functionality has moved into the core, save for the guard page
1637  allocations, which are now implemented in osd_alloc and osd_free.
1181Added default nvram to Cyber Commando, and improved the default
1182control mapping in it [David Haywood]
16381183
1639Added driver data struct + save states to darius.c & othunder.c.
1640[Fabio Priuli]
1184Implemented pal bank in Three Dealers Casino House [Angelo Salese]
16411185
1642Added driver data struct to ninjaw.c, slapshot.c, warriorb.c, wgp.c.
1643[Fabio Priuli]
1186Updated DIPs based on Stephh's notes and fixed location status.  Added
1187GAME_NO_COCKTAIL flag until flip screen is implemented. [Tafoid]
16441188
1645Extended the astring class wrapper into something useful, and
1646useable as a stack object. Also designed the interfaces to allow
1647for chaining operations. And added a casting operator to const
1648char * for seamless use in most functions that take plain old C
1649strings. [Aaron Giles]
1189Fixed spinner input in moonwarp, added notes about spinner board,
1190marked game as working. [Lord Nightmare]
16501191
1651Changed all uses of astring to use the object directly on the
1652stack or embedded in objects instead of explicitly allocating
1653and deallocating it. Removed a lot of annoying memory management
1654code as a result. [Aaron Giles]
1192Imported the same implementation of moon war proto's spinner to moon
1193war 2; works much more smoothly now. [Lord Nightmare]
16551194
1656Changed interfaces that accepted/returned an astring * to
1657use an astring & instead. [Aaron Giles]
1195Fix very minor occasional glitches in moonwar/moonwara/moonwarp
1196spinners caused by IPT_DIAL crossing the 0x00<->0xFF border. Added
1197conditional Hyperflip button to moonwar, only seems present in upright
1198mode? (in cocktail mode the same input is used by player 2 for a
1199different button) [Lord Nightmare]
16581200
1659Removed auto_alloc_astring(machine). Use auto_alloc(machine, astring)
1660instead. [Aaron Giles]
1201Implement many of the dipswitches for moonwarp, and re-add the color
1202test mode to frenzy; Cocktail/upright select is still missing from
1203moonwarp, though I managed to trigger cocktail mode a few times by
1204accident. Needs code study to see what it actually depends on. The p2
1205controls are separate in cocktail mode. [Lord Nightmare]
16611206
1662Major header file cleanup: [Aaron Giles]
1663 - Created new central header "emu.h"; this should be included
1664    by pretty much any driver or device as the first include. This
1665    file in turn includes pretty much everything a driver or device
1666    will need, minus any other devices it references. Note that
1667    emu.h should *never* be included by another header file.
1668 - Updated all files in the core (src/emu) to use emu.h.
1669 - Removed a ton of redundant and poorly-tracked header includes
1670    from within other header files.
1671 - Temporarily changed driver.h to map to emu.h until we update
1672    files outside of the core.
1673
1674Added class wrapper around tagmap so it can be directly included
1675and accessed within objects that need it. Updated all users to
1676embed tagmap objects and changed them to call through the class.
1677[Aaron Giles]
1678
1679Added nicer functions for finding devices, ports, and regions in
1680a machine: [Aaron Giles]
1681
1682   machine->device("tag") -- return the named device, or NULL
1683   machine->port("tag") -- return the named port, or NULL
1684   machine->region("tag") -- return the named region
1685
1686(Note that machine->region() returns a pointer to a region_info class
1687which describes a region, not a pointer to the region's memory.)
1688
1689Made the device tag an astring. This required touching a lot of
1690code that printed the device to explicitly fetch the C-string
1691from it. (Thank you gcc for flagging that issue!) [Aaron Giles]
1692
1693Added a PCM sample end/loop callback to the RF5C68 core
1694[Barry Rodewald]
1695
1696galaxold update: [stephh]
1697 - Renamed set kkgalax to ckongmc
1698 - Changed descriptions for ckongg and ckongmc
1699 - Fixed dip switches and inputs for ckongg and ckongmc
1700 - Updated ckongmc memory map
1701
1702Added the mameconfig version to the -listxml output [Oliver Stoneberg]
1703
1704Implemented inputs and sound in Gunpey [Luca Elia]
1705
1706Added new member function space() to the device_config, along with
1707shorter constants to be used (AS_PROGRAM, AS_DATA, AS_IO). With no
1708parameters, space() returns the first address space, which is
1709commonly the only space present. Updated a few devices that referenced
1710the old space[] array to call the new function instead. [Aaron Giles]
1711
1712Implemented basic blitter support in Gunpey [Tomasz Slanina]
1713
1714Converted Gunpey to use RGB pens instead of hardcoded palette table
1207Fixed for good trasparency issues in Three Dealers Casino House
17151208[Angelo Salese]
17161209
1717Enforce that numbers are all the same exact width when loading fonts.
1718[Aaron Giles]
1210snes.c: some internal refactoring, some new debug functions and a
1211small mode7 fix [Fabio Priuli]
17191212
1720Fixed a bogus protection check in Victor 21 [Angelo Salese]
1213Changed default initial state of PIC8259 to STATE_READY
1214[Miodrag Milanovic]
17211215
1722Fix assert for prmrsocr + clones - no whatsnew needed [Fabio Priuli]
1216First step in refactoring the video system in metro.c driver
1217[David Haywood]
17231218
1724Redumped program and sprite roms in Cyber Tank [Antonio Gonzalez Jr.]
1219Corrected typo in Yie Ar Kung-Fu verified clock rates and tweaked the
1220tempo slightly to better match reference recordings.
1221[Corrado Tomaselli, Tafoid]
17251222
1726Added a mostly-complete SunPlus u'nSP core based on the one in
1727Segher's "Unununium". [Harmony]
1223Final step in refactoring the video system in metro.c driver, replaced
1224the video code with custom renderer functions [David Haywood]
17281225
1729Add lots of comments relating to 56-pin Mahjong interface and Psikyo
1730SK-G001 interface pcb based on discussion with alien_mame and
1731documents from other Mahjong PCBs. [PsikyoFan]
1226Improvements to funworld.c driver. [Roberto Fresca]
1227 * Added dual-state palette (addressable through PLDs). This allow to
1228    choose which half of the palette will be addressed.
1229 * Splitted the main machine driver to cover both palette states.
1230 * Reworked inputs / DIP switches for vegasslw, vagasfst and vegasfte.
1231 * Created new default NVRAM for Royal Vegas Joker Card sets. These
1232    need to be configurated to be valid ones. Now vegasfte can receive
1233    remote credits, and all three in the family have valid min-max bet
1234    value and payout.
1235 * Removed the not working flag from vegasfte.
1236 * Improved colors for Big Deal sets.
1237 * Correct colors for Royal Vegas Joker Card sets.
17321238
1733Verified clocks on Poker Ladies and changed Z80 clock of Mahjong
1734Gakuen from 6Mhz to 8MHz to match the other Mitchell hardware games
1735[Corrado Tomaselli]
1239Hooked up default NVRAM in Five A Side Soccer [David Haywood]
17361240
1737i386: Improved accuracy of the various emulated models, makes CPU
1738detection programs detect the correct CPU (in MESS). [Dirk Best]
1739 - eflags mask added
1740 - Initial values for the EAX and EDX registers fixed
1741 - cpuid values improved
1742 - feature flags improved
1743 - initial value for the cr0 register improved
1744 - changed 486 to not support the cpuid instruction by default
1745 - take a trap on invalid instructions instead of throwing a
1746    fatalerror
1747 - emulated the undefined flag behavior for the DIV/IDIV instructions on Intel CPUs
1241MN10200 updates: [R. Belmont]
1242 * Better IRQ generation and hookup to MAME IRQ system
1243 * Preliminary 8-bit timer hookup including prescalers and IRQs
1244 * Fixed issue with debugger not showing registers correctly
17481245
1749SDLMAME: improved OS X and SDL 1.3 SVN support, try to autodetect
1750SDLMAME targets [Couriersud]
1246metro.c: added save states [David Haywood, Fabio Priuli]
17511247
1752SDLMAME: add BGRA support to -video soft [couriersud]
1248snes.c: updated DSP1, DSP2, DSP3, DSP4, OBC1, SRTC and ST010 addon
1249chips to store their variables in struct and to save them
1250[Fabio Priuli]
17531251
1754Fixed period for both sn76489 and sn76489A periodic noise; fixes
1755pitch in 'smooth criminal' demo for colecovision and fixes pitch
1756(but not the waveform, which will require more work) of music in
1757dorunrun; More work is required before the code will be bit accurate
1758due to the way the real LFSR and periodic generator work.
1759[Lord Nightmare, Kold666, PlgDavid]
1252More improvements to funworld.c driver [Roberto Fresca]
1253 * Added a second set of Jolly Card Professional. Documented the code
1254    differences.
1255 * Added another Royal Vegas Joker Card set, from Mile. These sets
1256    aren't intended to work with coins. Only remote credits are
1257    allowed. There are external modules that can manage up to 4
1258    machines simultaneously, adding/removing/watching credits.
1259 * Added default NVRAM to the above sets.
1260 * Added proper inputs and DIP switches to vegasmil.
1261 * Replaced the jolyc980 default NVRAM with one totally clean.
1262    Temporal and total meters are cleared to zero.
17601263
1761SDLMAME makefile improvements: [couriersud]
1762 - Fix TARGETOS detection on OS X.
1763 - Do not try to check TARGETOS when cross-compiling
1764 - For non-windows targets, try to auto-detect PTR64
1765 - testkeys now builds again
1766 - for unix targets, added a depend rule to sdl.mak which builds a
1767    .depend file.
1264Fixed Z80-DMA Load and Continue commands. [Curt Coder]
17681265
1769Fixed a number of compiler bugs found by PowerPC MacOS X. [R. Belmont]
1266namcos23: Roms reorganization [O. Galibert]
17701267
1771Added casting operators to the region_info class so you can assign
1772a region to a generic type pointer and have it automatically convert.
1773Also added a bytes() method which is safe if the region is NULL
1774(useful for saying machine->region("foo")->bytes() and not crashing
1775if foo doesn't exist). [Aaron Giles]
1268MC68HC11: Implemented SUBD DIR & SUBD EXT opcodes [Angelo Salese]
17761269
1777Changed the region field in the device_config to be a region_info *,
1778and removed the regionbytes field. Updated all users of these fields
1779to use the new casting operators and bytes() methods instead.
1780[Aaron Giles]
1270snes.c progress: [Fabio Priuli]
1271 * Added proper sprite priorities
1272 * Added pseudo-hires effect
17811273
1782Added subdevice and subregion methods to the device_config class, so
1783you can easily query for devices and regions that are device-specific.
1784The device prefix ("devicename:") is automatically prepended.
1785[Aaron Giles]
1274Added preliminary layer clearance in Puzzlet [Angelo Salese]
17861275
1787YM2612: More accurate LFO implementation and channel clipping
1788[Eke-Eke, Nemesis, R. Belmont]
17891276
17901277
1791
17921278New games added or promoted from NOT_WORKING status
17931279---------------------------------------------------
1794Second Chance [Siftware]
1795Multi Game (Tung Sheng Electronics) [Mariusz Wojcieszek]
1280Mr. Dig [Kevin Eshback, Brian Troha, David Haywood, The Dumping Union]
1281Mouse Shooter GoGo [Stefan Lindberg, Luca Elia, The Dumping Union]
1282Fun World Quiz (austrian) [Roberto Fresca, David Haywood]
1283Crusher Makochan
1284  [tormod, R. Gatto, S. Rietscha, krick, jeremymtc, Smitdogg,
1285   The Dumping Union]
1286Video Quiz [f205v, Mariusz Wojcieszek]
1287Tobikose! Jumpman
1288  [tormod, R. Howard, K. Svensson, D. Beneke, Smitdogg, Luca Elia,
1289   The Dumping Union]
1290Spider-Man vs The Kingpin (Mega-Tech)
1291  [Tormod, Smitdogg, The Dumping Union]
1292Moon War (prototype on Frenzy hardware)
1293  [Team Europe, Volker Hann, David Haywood, Lord Nightmare]
17961294
17971295
1798
17991296New clones added
18001297----------------
1801Exciting Soccer (Japan set 2) [Corrado Tomaselli]
1802Super Bar [Brian Troha, David Haywood, Dumping Union]
1803Mega Blast (US) [D. Beneke, hap, Smitdogg, Dumping Union]
1298Raiden DX (US, Fabtek license)
1299  [tormod, Smitdogg, The Dumping Union] (not working)
1300Berzerk (Germany) [Team Europe, Volker Hann, David Haywood]
1301Final Lap 3 (World, set 2)
1302  [Charles MacDonald, hap, Smitdogg, The Dumping Union]
1303Star Gladiator (JAPAN 960627)
1304  [tormod, W. Belk, ranger_lennier, R. Howard, R. Mucciarelli,
1305   Smitdogg, The Dumping Union]
1306Virtua Striker 2 '99 (Revision A) [The Dumping Union]
1307Hot Shocker [The Dumping Union]
1308Knights of Valour 2 / Sangoku Senki 2 (ver. 107) [XingXing]
1309Knights of Valour 2 / Sangoku Senki 2 (ver. 103) [XingXing]
1310Knights of Valour 2 / Sangoku Senki 2 (ver. 102) [XingXing]
1311Jolly Card Professional 2.0 (MZS Tech) [Roberto Fresca]
1312Royal Vegas Joker Card (fast deal, Mile) [Roberto Fresca]
18041313
18051314
18061315
18071316New games marked as GAME_NOT_WORKING
18081317------------------------------------
1809Fun Station Spielekoffer 9 Spiele [Tomasz Slanina]
1810Vega [David Haywood]
1811Monza GP [Tomasz Slanina]
1812Quarter Horse [Ruben Panossian, Angelo Salese]
1813Vortex [tormod, Team Europe, Smitdogg, The Dumping Union]
1814Bega's Battle [Angelo Salese]
1815Computer Quiz Atama no Taisou [Chack'n, Team Japump]
1816Track & Field (NZ Bootleg?) [Siftware, Tafoid]
1817
No newline at end of file
1318Downhill Bikers (DH3 Ver. A) [Guru]
1319Multi Win (Ver.0167, encrypted) [Roberto Fresca]
1320Rapid River (RD2 Ver. C) [Guru]
1321Crisis Zone (CSZO3 Ver. B) [Guru]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team