1 /***************************************************************************
2 
3 	Namco PuckMan
4 
5     driver by Nicola Salmoria and many others
6 
7     Games supported:
8 		* PuckMan
9 		* Pac-Man Plus
10 		* Ms. Pac-Man
11 		* Crush Roller
12 		* Ponpoko
13 		* Eyes
14 		* Mr. TNT
15 		* Gorkans
16 		* Lizard Wizard
17 		* The Glob
18 		* Dream Shopper
19 		* Van Van Car
20 		* Ali Baba and 40 Thieves
21 		* Jump Shot
22 		* Shoot the Bull
23 		* Big Bucks
24 		* Driving Force
25 		* Eight Ball Action
26 		* Porky
27 
28 	Known issues:
29 		* mystery items in Ali Baba don't work correctly because of protection
30 
31 ****************************************************************************
32 
33 	Pac-Man memory map (preliminary)
34 
35 	0000-3fff ROM
36 	4000-43ff Video RAM
37 	4400-47ff Color RAM
38 	4c00-4fff RAM
39 	8000-9fff ROM (Ms Pac-Man and Ponpoko only)
40 	a000-bfff ROM (Ponpoko only)
41 
42 	memory mapped ports:
43 
44 	read:
45 	5000      IN0
46 	5040      IN1
47 	5080      DSW 1
48 	50c0	  DSW 2 (Ponpoko only)
49 	see the input_ports definition below for details on the input bits
50 
51 	write:
52 	4ff0-4fff 8 pairs of two bytes:
53 	          the first byte contains the sprite image number (bits 2-7), Y flip (bit 0),
54 			  X flip (bit 1); the second byte the color
55 	5000      interrupt enable
56 	5001      sound enable
57 	5002      ????
58 	5003      flip screen
59 	5004      1 player start lamp
60 	5005      2 players start lamp
61 	5006      coin lockout
62 	5007      coin counter
63 	5040-5044 sound voice 1 accumulator (nibbles) (used by the sound hardware only)
64 	5045      sound voice 1 waveform (nibble)
65 	5046-5049 sound voice 2 accumulator (nibbles) (used by the sound hardware only)
66 	504a      sound voice 2 waveform (nibble)
67 	504b-504e sound voice 3 accumulator (nibbles) (used by the sound hardware only)
68 	504f      sound voice 3 waveform (nibble)
69 	5050-5054 sound voice 1 frequency (nibbles)
70 	5055      sound voice 1 volume (nibble)
71 	5056-5059 sound voice 2 frequency (nibbles)
72 	505a      sound voice 2 volume (nibble)
73 	505b-505e sound voice 3 frequency (nibbles)
74 	505f      sound voice 3 volume (nibble)
75 	5060-506f Sprite coordinates, x/y pairs for 8 sprites
76 	50c0      Watchdog reset
77 
78 	I/O ports:
79 	OUT on port $0 sets the interrupt vector
80 
81 
82 ****************************************************************************
83 
84 	Make Trax protection description:
85 
86 	Make Trax has a "Special" chip that it uses for copy protection.
87 	The following chart shows when reads and writes may occur:
88 
89 	AAAAAAAA AAAAAAAA
90 	11111100 00000000  <- address bits
91 	54321098 76543210
92 	xxx1xxxx 01xxxxxx - read data bits 4 and 7
93 	xxx1xxxx 10xxxxxx - read data bits 6 and 7
94 	xxx1xxxx 11xxxxxx - read data bits 0 through 5
95 
96 	xxx1xxxx 00xxx100 - write to Special
97 	xxx1xxxx 00xxx101 - write to Special
98 	xxx1xxxx 00xxx110 - write to Special
99 	xxx1xxxx 00xxx111 - write to Special
100 
101 	In practical terms, it reads from Special when it reads from
102 	location $5040-$50FF.  Note that these locations overlap our
103 	inputs and Dip Switches.  Yuk.
104 
105 	I don't bother trapping the writes right now, because I don't
106 	know how to interpret them.  However, comparing against Crush
107 	Roller gives most of the values necessary on the reads.
108 
109 	Instead of always reading from $5040, $5080, and $50C0, the Make
110 	Trax programmers chose to read from a wide variety of locations,
111 	probably to make debugging easier.  To us, it means that for the most
112 	part we can just assign a specific value to return for each address and
113 	we'll be OK.  This falls apart for the following addresses:  $50C0, $508E,
114 	$5090, and $5080.  These addresses should return multiple values.  The other
115 	ugly thing happening is in the ROMs at $3AE5.  It keeps checking for
116 	different values of $50C0 and $5080, and weird things happen if it gets
117 	the wrong values.  The only way I've found around these is to patch the
118 	ROMs using the same patches Crush Roller uses.  The only thing to watch
119 	with this is that changing the ROMs will break the beginning checksum.
120 	That's why we use the rom opcode decode function to do our patches.
121 
122 	Incidentally, there are extremely few differences between Crush Roller
123 	and Make Trax.  About 98% of the differences appear to be either unused
124 	bytes, the name of the game, or code related to the protection.  I've
125 	only spotted two or three actual differences in the games, and they all
126 	seem minor.
127 
128 	If anybody cares, here's a list of disassembled addresses for every
129 	read and write to the Special chip (not all of the reads are
130 	specifically for checking the Special bits, some are for checking
131 	player inputs and Dip Switches):
132 
133 	Writes: $0084, $012F, $0178, $023C, $0C4C, $1426, $1802, $1817,
134 		$280C, $2C2E, $2E22, $3205, $3AB7, $3ACC, $3F3D, $3F40,
135 		$3F4E, $3F5E
136 	Reads:  $01C8, $01D2, $0260, $030E, $040E, $0416, $046E, $0474,
137 		$0560, $0568, $05B0, $05B8, $096D, $0972, $0981, $0C27,
138 		$0C2C, $0F0A, $10B8, $10BE, $111F, $1127, $1156, $115E,
139 		$11E3, $11E8, $18B7, $18BC, $18CA, $1973, $197A, $1BE7,
140 		$1C06, $1C9F, $1CAA, $1D79, $213D, $2142, $2389, $238F,
141 		$2AAE, $2BF4, $2E0A, $39D5, $39DA, $3AE2, $3AEA, $3EE0,
142 		$3EE9, $3F07, $3F0D
143 
144 ****************************************************************************
145 
146 Todo: fix the sets according to this
147 
148 Puckman is labeled wrong.  Puckman set 1 is
149 likely a bootleg since the protection is patched out, set 2 would likely
150 be correct if the roms were split differently.  Nicola had said that he
151 had a readme that mentioned 2k roms, which is my understanding.
152 Although the board will accept either, it is likely they were all 2k or
153 all 4k, not mixed.  Also the set labeled "harder?" is not:
154 
155 Comparing files npacmod.6j and NAMCOPAC.6J
156 
157 00000031: AF 25    ;3031 is sub for fail rom check.
158 00000032: C3 7C ;301c is sub for pass rom check
159 00000033: 1C E6    ;so it now clears the sum (reg A) and
160 00000034: 30 F0    ;jumps to pass if it fails rom check.
161 
162 000007F8: 31 30  c 1981 / c 1980
163 
164 0000080B: 40 4E  ghost / nickname
165 0000080C: 47 49
166 0000080D: 48 43
167 0000080E: 4F 4B
168 0000080F: 53 4E
169 00000810: 54 41
170 00000811: 40 4D
171 00000812: 40 45
172 
173 00000FFF: 00 F1  checksum
174 
175 Dave Widel
176 
177 ****************************************************************************/
178 
179 #include "driver.h"
180 #include "vidhrdw/generic.h"
181 #include "pacman.h"
182 #include "pengo.h"
183 #include "cpu/s2650/s2650.h"
184 
185 
186 static UINT8 speedcheat = 0;	/* a well known hack allows to make Pac Man run at four times */
187 								/* his usual speed. When we start the emulation, we check if the */
188 								/* hack can be applied, and set this flag accordingly. */
189 
190 
191 
192 /*************************************
193  *
194  *	Machine init
195  *
196  *************************************/
197 
MACHINE_INIT(pacman)198 MACHINE_INIT( pacman )
199 {
200 	unsigned char *RAM = memory_region(REGION_CPU1);
201 
202 	/* check if the loaded set of ROMs allows the Pac Man speed hack */
203 	if ((RAM[0x180b] == 0xbe && RAM[0x1ffd] == 0x00) ||
204 			(RAM[0x180b] == 0x01 && RAM[0x1ffd] == 0xbd))
205 		speedcheat = 1;
206 	else
207 		speedcheat = 0;
208 }
209 
210 
MACHINE_INIT(pacplus)211 MACHINE_INIT( pacplus )
212 {
213 	unsigned char *RAM = memory_region(REGION_CPU1);
214 
215 	/* check if the loaded set of ROMs allows the Pac Man speed hack */
216 	if ((RAM[0x182d] == 0xbe && RAM[0x1ffd] == 0xff) ||
217 			(RAM[0x182d] == 0x01 && RAM[0x1ffd] == 0xbc))
218 		speedcheat = 1;
219 	else
220 		speedcheat = 0;
221 }
222 
223 
MACHINE_INIT(mschamp)224 MACHINE_INIT( mschamp )
225 {
226 	data8_t *rom = memory_region(REGION_CPU1) + 0x10000;
227 	int bankaddr = ((readinputport(3) & 1) * 0x8000);
228 
229 	cpu_setbank(1,&rom[bankaddr]);
230 	cpu_setbank(2,&rom[bankaddr+0x4000]);
231 }
232 
MACHINE_INIT(piranha)233 MACHINE_INIT( piranha )
234 {
235 	unsigned char *RAM = memory_region(REGION_CPU1);
236 
237 	/* check if the loaded set of ROMs allows the Pac Man speed hack */
238 	if ((RAM[0x180b] == 0xbe && RAM[0x1ffd] == 0x00) ||
239 			(RAM[0x180b] == 0x01 && RAM[0x1ffd] == 0xbd))
240 		speedcheat = 1;
241 	else
242 	speedcheat = 0;
243 }
244 
245 /*************************************
246  *
247  *	Interrupts
248  *
249  *************************************/
250 
INTERRUPT_GEN(pacman_interrupt)251 static INTERRUPT_GEN( pacman_interrupt )
252 {
253 	unsigned char *RAM = memory_region(REGION_CPU1);
254 
255 	/* speed up cheat */
256 	if (speedcheat)
257 	{
258 		if (readinputport(4) & 1)	/* check status of the fake dip switch */
259 		{
260 			/* activate the cheat */
261 			RAM[0x180b] = 0x01;
262 			RAM[0x1ffd] = 0xbd;
263 		}
264 		else
265 		{
266 			/* remove the cheat */
267 			RAM[0x180b] = 0xbe;
268 			RAM[0x1ffd] = 0x00;
269 		}
270 	}
271 
272 	irq0_line_hold();
273 }
274 
275 
INTERRUPT_GEN(pacplus_interrupt)276 static INTERRUPT_GEN( pacplus_interrupt )
277 {
278 	unsigned char *RAM = memory_region(REGION_CPU1);
279 
280 	/* speed up cheat */
281 	if (speedcheat)
282 	{
283 		if (readinputport(4) & 1)	/* check status of the fake dip switch */
284 		{
285 			/* activate the cheat */
286 			RAM[0x182d] = 0x01;
287 			RAM[0x1ffd] = 0xbc;
288 		}
289 		else
290 		{
291 			/* remove the cheat */
292 			RAM[0x182d] = 0xbe;
293 			RAM[0x1ffd] = 0xff;
294 		}
295 	}
296 
297 	irq0_line_hold();
298 }
299 
300 
INTERRUPT_GEN(mspacman_interrupt)301 static INTERRUPT_GEN( mspacman_interrupt )
302 {
303 	unsigned char *RAM = memory_region(REGION_CPU1);
304 
305 	/* speed up cheat */
306 	if (speedcheat)
307 	{
308 		if (readinputport(4) & 1)	/* check status of the fake dip switch */
309 		{
310 			/* activate the cheat */
311 			RAM[0x1180b] = 0x01;
312 			RAM[0x11ffd] = 0xbd;
313 		}
314 		else
315 		{
316 			/* remove the cheat */
317 			RAM[0x1180b] = 0xbe;
318 			RAM[0x11ffd] = 0x00;
319 		}
320 	}
321 
322 	irq0_line_hold();
323 }
324 
325 /*
326    The piranha board has a sync bus controler card similar to Midway's pacman. It
327    stores the LSB of the interupt vector using port 00 but it alters the byte to prevent
328    it from running on normal pacman hardware and vice versa. I wrote a program to print
329    out the even numbers and the vectors they convert to.  Thanks to Dave France for
330    burning the roms.  The numbers that didn't print here convert to odd numbers.  It's
331    slightly possible some numbers listed converted to odd numbers and coincidentally
332    printed a valid even number.  Since it only uses 2 vectors($fa,$fc) I didn't complete
333    the table or attempt to find the algorythm.
334 
335    David Widel
336    d_widel@hotmail.com
337   out vec  out vec  out vec  out vec
338   c0 44    80 04    40 44    00 04
339   c2 40    82 00    42 C4    02 84
340   c4 C4    84 84    44 C4    04 00
341   c6 40    86 00
342   c8 4C    88 0C    48 4C    08 0C
343   ca 48    8A 08    4A CC    0A 8C
344   cc CC    8C 8C    4C 48    0C 08
345   ce 48    8E 08
346   d0 54    90 14    50 54    10 14
347   d2 50    92 10    52 D4    12 94
348   d4 D4    94 94    54 50    14 10
349   d6 50    96 10
350   d8 5C    98 1C    58 5C    18 1C
351   da 58    9A 18    5A DC    1A 9C
352   dc DC    9C 9C    5C 58    1C 18
353   de 58    9E 18
354   e0 64    a0 24    60 64    20 24
355   e2 60    a2 20    62 E4    22 A4
356   e4 E4    a4 A4    64 60    24 20
357   e6 60    a6 20
358   e8 6C    a8 2C    68 6C    28 2C
359   ea 68    aA 28    6A EC    2A AC
360   ec EC    aC AC    6C 68    2C 28
361   ee 68    aE 28
362   f0 74    b0 34    70 74    30 34
363   f2 70    b2 30    72 F4    32 84
364   f4 F4    b4 B4    74 70    34 30
365   f6 70    b6 30
366   f8 7C    b8 3C    78 7C    38 3C
367   fa 78    bA 38    7A FC    3A BC
368   fc FC    bC BC    7C 78    3C 38
369   fe 78    bE 38
370 
371 
372 Naughty Mouse uses the same board as Piranha with a different pal to encrypt the vectors.
373 Incidentally we don't know the actual name of this game.  Other than the word naughty at
374 the top of the playfield there's no name.  It shares some character data with the missing
375 game Woodpecker, they may be related.
376 
377 I haven't examined the code thoroughly but what I
378 did look at(sprite buffer), was copied from Pacman.  The addresses for the variables seem
379 to be the same as well.
380 */
381 
WRITE_HANDLER(piranha_interrupt_vector_w)382 static WRITE_HANDLER( piranha_interrupt_vector_w)
383 {
384 	if (data==0xfa) data=0x78;
385 	if (data==0xfc) data=0xfc;
386 	cpu_irq_line_vector_w( 0, 0, data );
387 }
388 
389 
WRITE_HANDLER(nmouse_interrupt_vector_w)390 static WRITE_HANDLER( nmouse_interrupt_vector_w)
391 {
392 	if (data==0xbf) data=0x3c;
393 	if (data==0xc6) data=0x40;
394 	if (data==0xfc) data=0xfc;
395 	cpu_irq_line_vector_w( 0, 0, data );
396 }
397 
398 
399 /*************************************
400  *
401  *	LEDs/coin counters
402  *
403  *************************************/
404 
WRITE_HANDLER(pacman_leds_w)405 static WRITE_HANDLER( pacman_leds_w )
406 {
407 	set_led_status(offset,data & 1);
408 }
409 
410 
WRITE_HANDLER(pacman_coin_counter_w)411 static WRITE_HANDLER( pacman_coin_counter_w )
412 {
413 	coin_counter_w(offset,data & 1);
414 }
415 
416 
WRITE_HANDLER(pacman_coin_lockout_global_w)417 static WRITE_HANDLER( pacman_coin_lockout_global_w )
418 {
419 	coin_lockout_global_w(~data & 0x01);
420 }
421 
422 
423 
424 /*************************************
425  *
426  *	Ali Baba sound
427  *
428  *************************************/
429 
WRITE_HANDLER(alibaba_sound_w)430 static WRITE_HANDLER( alibaba_sound_w )
431 {
432 	/* since the sound region in Ali Baba is not contiguous, translate the
433 	   offset into the 0-0x1f range */
434  	if (offset < 0x10)
435 		pengo_sound_w(offset, data);
436 	else if (offset < 0x20)
437 		spriteram_2[offset - 0x10] = data;
438 	else
439 		pengo_sound_w(offset - 0x10, data);
440 }
441 
442 
READ_HANDLER(alibaba_mystery_1_r)443 static READ_HANDLER( alibaba_mystery_1_r )
444 {
445 	// The return value determines what the mystery item is.  Each bit corresponds
446 	// to a question mark
447 
448 	return rand() & 0x0f;
449 }
450 
451 
READ_HANDLER(alibaba_mystery_2_r)452 static READ_HANDLER( alibaba_mystery_2_r )
453 {
454 	static int mystery = 0;
455 
456 	// The single bit return value determines when the mystery is lit up.
457 	// This is certainly wrong
458 
459 	mystery++;
460 	return (mystery >> 10) & 1;
461 }
462 
463 
464 
465 /*************************************
466  *
467  *	Make Trax input handlers
468  *
469  *************************************/
470 
READ_HANDLER(maketrax_special_port2_r)471 static READ_HANDLER( maketrax_special_port2_r )
472 {
473 	int data = input_port_2_r(offset);
474 	int pc = activecpu_get_previouspc();
475 
476 	if ((pc == 0x1973) || (pc == 0x2389)) return data | 0x40;
477 
478 	switch (offset)
479 	{
480 		case 0x01:
481 		case 0x04:
482 			data |= 0x40; break;
483 		case 0x05:
484 			data |= 0xc0; break;
485 		default:
486 			data &= 0x3f; break;
487 	}
488 
489 	return data;
490 }
491 
492 
READ_HANDLER(maketrax_special_port3_r)493 static READ_HANDLER( maketrax_special_port3_r )
494 {
495 	int pc = activecpu_get_previouspc();
496 
497 	if (pc == 0x040e) return 0x20;
498 
499 	if ((pc == 0x115e) || (pc == 0x3ae2)) return 0x00;
500 
501 	switch (offset)
502 	{
503 		case 0x00:
504 			return 0x1f;
505 		case 0x09:
506 			return 0x30;
507 		case 0x0c:
508 			return 0x00;
509 		default:
510 			return 0x20;
511 	}
512 }
513 
READ_HANDLER(korosuke_special_port2_r)514 static READ_HANDLER( korosuke_special_port2_r )
515 {
516 	int data = input_port_2_r(offset);
517 	int pc = activecpu_get_previouspc();
518 
519 	if ((pc == 0x196e) || (pc == 0x2387)) return data | 0x40;
520 
521 	switch (offset)
522 	{
523 		case 0x01:
524 		case 0x04:
525 			data |= 0x40; break;
526 		case 0x05:
527 			data |= 0xc0; break;
528 		default:
529 			data &= 0x3f; break;
530 	}
531 
532 	return data;
533 }
534 
READ_HANDLER(korosuke_special_port3_r)535 static READ_HANDLER( korosuke_special_port3_r )
536 {
537 	int pc = activecpu_get_previouspc();
538 
539 	if (pc == 0x0445) return 0x20;
540 
541 	if ((pc == 0x115b) || (pc == 0x3ae6)) return 0x00;
542 
543 	switch (offset)
544 	{
545 		case 0x00:
546 			return 0x1f;
547 		case 0x09:
548 			return 0x30;
549 		case 0x0c:
550 			return 0x00;
551 		default:
552 			return 0x20;
553 	}
554 }
555 
556 /*************************************
557  *
558  *	Zola kludge
559  *
560  *************************************/
561 
READ_HANDLER(mschamp_kludge_r)562 static READ_HANDLER( mschamp_kludge_r )
563 {
564 	static UINT8 counter;
565 	return counter++;
566 }
567 
568 /************************************
569  *
570  *	Big Bucks questions roms handlers
571  *
572  ************************************/
573 
574 static int bigbucks_bank = 0;
575 
WRITE_HANDLER(bigbucks_bank_w)576 static WRITE_HANDLER( bigbucks_bank_w )
577 {
578 	bigbucks_bank = data;
579 }
580 
READ_HANDLER(bigbucks_question_r)581 static READ_HANDLER( bigbucks_question_r )
582 {
583 
584 	UINT8 *question = memory_region(REGION_USER1);
585 	UINT8 ret;
586 
587 	ret = question[(bigbucks_bank << 16) | (offset ^ 0xffff)];
588 
589 	return ret;
590 }
591 
592 /************************************
593  *
594  *	S2650 cpu based games
595  *
596  ************************************/
597 
INTERRUPT_GEN(s2650_interrupt)598 static INTERRUPT_GEN( s2650_interrupt )
599 {
600 	cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0x03);
601 }
602 
READ_HANDLER(s2650_mirror_r)603 static READ_HANDLER( s2650_mirror_r )
604 {
605 	return cpu_readmem16(0x1000 + offset);
606 }
607 
WRITE_HANDLER(s2650_mirror_w)608 static WRITE_HANDLER( s2650_mirror_w )
609 {
610 	cpu_writemem16(0x1000 + offset, data);
611 }
612 
READ_HANDLER(drivfrcp_port1_r)613 static READ_HANDLER( drivfrcp_port1_r )
614 {
615 	switch (activecpu_get_pc())
616 	{
617 		case 0x0030:
618 		case 0x0291:
619 			return 0x01;
620 	}
621 
622     return 0;
623 }
624 
READ_HANDLER(_8bpm_port1_r)625 static READ_HANDLER( _8bpm_port1_r )
626 {
627 	switch (activecpu_get_pc())
628 	{
629 		case 0x0030:
630 		case 0x0466:
631 			return 0x01;
632 	}
633 
634     return 0;
635 }
636 
READ_HANDLER(porky_port1_r)637 static READ_HANDLER( porky_port1_r )
638 {
639 	switch (activecpu_get_pc())
640 	{
641 		case 0x0034:
642 			return 0x01;
643 	}
644 
645     return 0;
646 }
647 
648 
649 /*************************************
650  *
651  *	Main CPU memory handlers
652  *
653  *************************************/
654 
MEMORY_READ_START(readmem)655 static MEMORY_READ_START( readmem )
656 	{ 0x0000, 0x3fff, MRA_ROM },
657 	{ 0x4000, 0x47ff, MRA_RAM },	/* video and color RAM */
658 	{ 0x4c00, 0x4fff, MRA_RAM },	/* including sprite codes at 4ff0-4fff */
659 	{ 0x5000, 0x503f, input_port_0_r },	/* IN0 */
660 	{ 0x5040, 0x507f, input_port_1_r },	/* IN1 */
661 	{ 0x5080, 0x50bf, input_port_2_r },	/* DSW1 */
662 	{ 0x50c0, 0x50ff, input_port_3_r },	/* DSW2 */
663 	{ 0x8000, 0xbfff, MRA_ROM },	/* Ms. Pac-Man / Ponpoko only */
664 MEMORY_END
665 
666 
667 static MEMORY_WRITE_START( writemem )
668 	{ 0x0000, 0x3fff, MWA_ROM },
669 	{ 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
670 	{ 0x4400, 0x47ff, colorram_w, &colorram },
671 	{ 0x4c00, 0x4fef, MWA_RAM },
672 	{ 0x4ff0, 0x4fff, MWA_RAM, &spriteram, &spriteram_size },
673 	{ 0x5000, 0x5000, interrupt_enable_w },
674 	{ 0x5001, 0x5001, pengo_sound_enable_w },
675 	{ 0x5002, 0x5002, MWA_NOP },
676 	{ 0x5003, 0x5003, pengo_flipscreen_w },
677  	{ 0x5004, 0x5005, pacman_leds_w },
678 // 	{ 0x5006, 0x5006, pacman_coin_lockout_global_w },	this breaks many games
679  	{ 0x5007, 0x5007, pacman_coin_counter_w },
680 	{ 0x5040, 0x505f, pengo_sound_w, &pengo_soundregs },
681 	{ 0x5060, 0x506f, MWA_RAM, &spriteram_2 },
682 	{ 0x50c0, 0x50c0, watchdog_reset_w },
683 	{ 0x8000, 0xbfff, MWA_ROM },	/* Ms. Pac-Man / Ponpoko only */
684 	{ 0xc000, 0xc3ff, videoram_w }, /* mirror address for video ram, */
685 	{ 0xc400, 0xc7ef, colorram_w }, /* used to display HIGH SCORE and CREDITS */
686 	{ 0xffff, 0xffff, MWA_NOP },	/* Eyes writes to this location to simplify code */
687 MEMORY_END
688 
689 
690 static MEMORY_READ_START( mschamp_readmem )
691 	{ 0x0000, 0x3fff, MRA_BANK1 },		/* By Sil: Zola/Ms. Champ */
692 	{ 0x4000, 0x47ff, MRA_RAM },		/* video and color RAM */
693 	{ 0x4c00, 0x4fff, MRA_RAM },		/* including sprite codes at 4ff0-4fff */
694 	{ 0x5000, 0x503f, input_port_0_r },	/* IN0 */
695 	{ 0x5040, 0x507f, input_port_1_r },	/* IN1 */
696 	{ 0x5080, 0x50bf, input_port_2_r },	/* DSW */
697 	{ 0x8000, 0x9fff, MRA_BANK2 },		/* By Sil: Zola/Ms. Champ */
698 MEMORY_END
699 
700 
701 static MEMORY_READ_START( mspacman_readmem )
702 	{ 0x0000, 0x3fff, MRA_BANK1 },
703 	{ 0x4000, 0x47ff, MRA_RAM },	/* video and color RAM */
704 	{ 0x4c00, 0x4fff, MRA_RAM },	/* including sprite codes at 4ff0-4fff */
705 	{ 0x5000, 0x503f, input_port_0_r },	/* IN0 */
706 	{ 0x5040, 0x507f, input_port_1_r },	/* IN1 */
707 	{ 0x5080, 0x50bf, input_port_2_r },	/* DSW1 */
708 	{ 0x50c0, 0x50ff, input_port_3_r },	/* DSW2 */
709 	{ 0x8000, 0xbfff, MRA_BANK1 },
710 MEMORY_END
711 
712 
713 static MEMORY_WRITE_START( mspacman_writemem )
714 	{ 0x0000, 0x3fff, MWA_BANK1 },
715 	{ 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
716 	{ 0x4400, 0x47ff, colorram_w, &colorram },
717 	{ 0x4c00, 0x4fef, MWA_RAM },
718 	{ 0x4ff0, 0x4fff, MWA_RAM, &spriteram, &spriteram_size },
719 	{ 0x5000, 0x5000, interrupt_enable_w },
720 	{ 0x5001, 0x5001, pengo_sound_enable_w },
721 	{ 0x5002, 0x5002, MWA_NOP },
722 	{ 0x5003, 0x5003, pengo_flipscreen_w },
723  	{ 0x5004, 0x5005, pacman_leds_w },
724 	{ 0x5006, 0x5006, mspacman_activate_rom },	/* Not actually, just handy */
725 // 	{ 0x5006, 0x5006, pacman_coin_lockout_global_w },	this breaks many games
726  	{ 0x5007, 0x5007, pacman_coin_counter_w },
727 	{ 0x5040, 0x505f, pengo_sound_w, &pengo_soundregs },
728 	{ 0x5060, 0x506f, MWA_RAM, &spriteram_2 },
729 	{ 0x50c0, 0x50c0, watchdog_reset_w },
730 	{ 0x8000, 0xbfff, MWA_BANK1 },	/* Ms. Pac-Man / Ponpoko only */
731 	{ 0xc000, 0xc3ff, videoram_w }, /* mirror address for video ram, */
732 	{ 0xc400, 0xc7ef, colorram_w }, /* used to display HIGH SCORE and CREDITS */
733 	{ 0xffff, 0xffff, MWA_NOP },	/* Eyes writes to this location to simplify code */
734 MEMORY_END
735 
736 
737 static MEMORY_READ_START( alibaba_readmem )
738 	{ 0x0000, 0x3fff, MRA_ROM },
739 	{ 0x4000, 0x47ff, MRA_RAM },	/* video and color RAM */
740 	{ 0x4c00, 0x4fff, MRA_RAM },	/* including sprite codes at 4ef0-4eff */
741 	{ 0x5000, 0x503f, input_port_0_r },	/* IN0 */
742 	{ 0x5040, 0x507f, input_port_1_r },	/* IN1 */
743 	{ 0x5080, 0x50bf, input_port_2_r },	/* DSW1 */
744 	{ 0x50c0, 0x50c0, alibaba_mystery_1_r },
745 	{ 0x50c1, 0x50c1, alibaba_mystery_2_r },
746 	{ 0x8000, 0x8fff, MRA_ROM },
747 	{ 0x9000, 0x93ff, MRA_RAM },
748 	{ 0xa000, 0xa7ff, MRA_ROM },
749 MEMORY_END
750 
751 
752 static MEMORY_WRITE_START( alibaba_writemem )
753 	{ 0x0000, 0x3fff, MWA_ROM },
754 	{ 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
755 	{ 0x4400, 0x47ff, colorram_w, &colorram },
756 	{ 0x4ef0, 0x4eff, MWA_RAM, &spriteram, &spriteram_size },
757 	{ 0x4c00, 0x4fff, MWA_RAM },
758 	{ 0x5000, 0x5000, watchdog_reset_w },
759  	{ 0x5004, 0x5005, pacman_leds_w },
760  	{ 0x5006, 0x5006, pacman_coin_lockout_global_w },
761  	{ 0x5007, 0x5007, pacman_coin_counter_w },
762 	{ 0x5040, 0x506f, alibaba_sound_w, &pengo_soundregs },  /* the sound region is not contiguous */
763 	{ 0x5060, 0x506f, MWA_RAM, &spriteram_2 }, /* actually at 5050-505f, here to point to free RAM */
764 	{ 0x50c0, 0x50c0, pengo_sound_enable_w },
765 	{ 0x50c1, 0x50c1, pengo_flipscreen_w },
766 	{ 0x50c2, 0x50c2, interrupt_enable_w },
767 	{ 0x8000, 0x8fff, MWA_ROM },
768 	{ 0x9000, 0x93ff, MWA_RAM },
769 	{ 0xa000, 0xa7ff, MWA_ROM },
770 	{ 0xc000, 0xc3ff, videoram_w }, /* mirror address for video ram, */
771 	{ 0xc400, 0xc7ef, colorram_w }, /* used to display HIGH SCORE and CREDITS */
772 MEMORY_END
773 
774 
775 static MEMORY_READ_START( theglobp_readmem )
776 	{ 0x0000, 0x3fff, MRA_BANK1 },
777 	{ 0x4000, 0x47ff, MRA_RAM },	/* video and color RAM */
778 	{ 0x4c00, 0x4fff, MRA_RAM },	/* including sprite codes at 4ff0-4fff */
779 	{ 0x5000, 0x503f, input_port_0_r },	/* IN0 */
780 	{ 0x5040, 0x507f, input_port_1_r },	/* IN1 */
781 	{ 0x5080, 0x50bf, input_port_2_r },	/* DSW1 */
782 	{ 0x50c0, 0x50ff, input_port_3_r },	/* DSW2 */
783 MEMORY_END
784 
785 
786 static MEMORY_READ_START( vanvan_readmem )
787 	{ 0x0000, 0x3fff, MRA_ROM },
788 	{ 0x4000, 0x47ff, MRA_RAM },	/* video and color RAM */
789 	{ 0x4800, 0x4fff, MRA_RAM },	/* including sprite codes at 4ff0-4fff */
790 	{ 0x5000, 0x5000, input_port_0_r },	/* IN0 */
791 	{ 0x5040, 0x5040, input_port_1_r },	/* IN1 */
792 	{ 0x5080, 0x5080, input_port_2_r },	/* DSW1 */
793 	{ 0x50c0, 0x50c0, input_port_3_r },	/* DSW2 */
794 	{ 0x8000, 0x8fff, MRA_ROM },
795 MEMORY_END
796 
797 
798 static MEMORY_WRITE_START( vanvan_writemem )
799 	{ 0x0000, 0x3fff, MWA_ROM },
800 	{ 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
801 	{ 0x4400, 0x47ff, colorram_w, &colorram },
802 	{ 0x4800, 0x4fef, MWA_RAM },
803 	{ 0x4ff0, 0x4fff, MWA_RAM, &spriteram, &spriteram_size },
804 	{ 0x5000, 0x5000, interrupt_enable_w },
805 	{ 0x5001, 0x5001, vanvan_bgcolor_w },
806 	{ 0x5003, 0x5003, pengo_flipscreen_w },
807 	{ 0x5005, 0x5006, MWA_NOP },	/* always written together with 5001 */
808  	{ 0x5007, 0x5007, pacman_coin_counter_w },
809 	{ 0x5060, 0x506f, MWA_RAM, &spriteram_2 },
810 	{ 0x5080, 0x5080, MWA_NOP },	/* ??? toggled before reading 5000 */
811 	{ 0x50c0, 0x50c0, watchdog_reset_w },
812 	{ 0x8000, 0x8fff, MWA_ROM },
813 	{ 0xb800, 0xb87f, MWA_NOP },	/* probably a leftover from development: the Sanritsu version */
814 									/* writes the color lookup table here, while the Karateko version */
815 									/* writes garbage. */
816 MEMORY_END
817 
818 
819 static MEMORY_READ_START( acitya_readmem )
820 	{ 0x0000, 0x3fff, MRA_BANK1 },
821 	{ 0x4000, 0x47ff, MRA_RAM }, /* video and color RAM */
822 	{ 0x4c00, 0x4fff, MRA_RAM }, /* including sprite codes at 4ff0-4fff */
823 	{ 0x5000, 0x503f, input_port_0_r }, /* IN0 */
824 	{ 0x5040, 0x507f, input_port_1_r }, /* IN1 */
825 	{ 0x5080, 0x50bf, input_port_2_r }, /* DSW1 */
826 	{ 0x50c0, 0x50ff, input_port_3_r }, /* DSW2 */
827 	{ 0x8000, 0xbfff, MRA_ROM }, /* Ms. Pac-Man / Ponpoko only */
828 MEMORY_END
829 
830 
831 static MEMORY_WRITE_START( bigbucks_writemem )
832 	{ 0x0000, 0x3fff, MWA_ROM },
833 	{ 0x4000, 0x43ff, videoram_w, &videoram, &videoram_size },
834 	{ 0x4400, 0x47ff, colorram_w, &colorram },
835 	{ 0x4c00, 0x4fbf, MWA_RAM },
836 	{ 0x5000, 0x5000, interrupt_enable_w },
837 	{ 0x5001, 0x5001, pengo_sound_enable_w },
838 	{ 0x5003, 0x5003, pengo_flipscreen_w },
839 	{ 0x5007, 0x5007, MWA_NOP }, //?
840 	{ 0x5040, 0x505f, pengo_sound_w, &pengo_soundregs },
841 	{ 0x50c0, 0x50c0, watchdog_reset_w },
842 	{ 0x5100, 0x5100, MWA_NOP }, //?
843 	{ 0x6000, 0x6000, bigbucks_bank_w },
844 	{ 0x8000, 0x9fff, MWA_ROM },
845 MEMORY_END
846 
847 
848 static MEMORY_READ_START( s2650games_readmem )
849 	{ 0x0000, 0x0fff, MRA_ROM },
850 	{ 0x1500, 0x1500, input_port_0_r },
851 	{ 0x1540, 0x1540, input_port_1_r },
852 	{ 0x1580, 0x1580, input_port_2_r },
853 	{ 0x1c00, 0x1fef, MRA_RAM },
854 	{ 0x2000, 0x2fff, MRA_ROM },
855 	{ 0x3000, 0x3fff, s2650_mirror_r },
856 	{ 0x4000, 0x4fff, MRA_ROM },
857 	{ 0x5000, 0x5fff, s2650_mirror_r },
858 	{ 0x6000, 0x6fff, MRA_ROM },
859 	{ 0x7000, 0x7fff, s2650_mirror_r },
860 MEMORY_END
861 
862 static MEMORY_WRITE_START( s2650games_writemem )
863 	{ 0x0000, 0x0fff, MWA_ROM },
864 	{ 0x1000, 0x13ff, s2650games_colorram_w },
865 	{ 0x1400, 0x141f, s2650games_scroll_w },
866 	{ 0x1420, 0x148f, MWA_RAM },
867 	{ 0x1490, 0x149f, MWA_RAM, &sprite_bank },
868 	{ 0x14a0, 0x14bf, s2650games_tilesbank_w, &tiles_bankram },
869 	{ 0x14c0, 0x14ff, MWA_RAM },
870 	{ 0x1500, 0x1502, MWA_NOP },
871 	{ 0x1503, 0x1503, s2650games_flipscreen_w },
872 	{ 0x1504, 0x1506, MWA_NOP },
873 	{ 0x1507, 0x1507, pacman_coin_counter_w },
874 	{ 0x1508, 0x155f, MWA_RAM },
875 	{ 0x1560, 0x156f, MWA_RAM, &spriteram_2 },
876 	{ 0x1570, 0x157f, MWA_RAM },
877 	{ 0x1586, 0x1587, MWA_NOP },
878 	{ 0x15c0, 0x15c0, watchdog_reset_w },
879 	{ 0x15c7, 0x15c7, MWA_RAM },
880 	{ 0x1800, 0x1bff, s2650games_videoram_w, &videoram },
881 	{ 0x1c00, 0x1fef, MWA_RAM },
882 	{ 0x1ff0, 0x1fff, MWA_RAM, &spriteram, &spriteram_size },
883 	{ 0x2000, 0x2fff, MWA_ROM },
884 	{ 0x3000, 0x3fff, s2650_mirror_w },
885 	{ 0x4000, 0x4fff, MWA_ROM },
886 	{ 0x5000, 0x5fff, s2650_mirror_w },
887 	{ 0x6000, 0x6fff, MWA_ROM },
888 	{ 0x7000, 0x7fff, s2650_mirror_w },
889 MEMORY_END
890 
891 
892 /*************************************
893  *
894  *	Main CPU port handlers
895  *
896  *************************************/
897 
898 static PORT_WRITE_START( writeport )
899 	{ 0x00, 0x00, interrupt_vector_w },	/* Pac-Man only */
900 PORT_END
901 
902 static PORT_WRITE_START( vanvan_writeport )
903 	{ 0x01, 0x01, SN76496_0_w },
904 	{ 0x02, 0x02, SN76496_1_w },
905 PORT_END
906 
907 static PORT_WRITE_START( dremshpr_writeport )
908 	{ 0x06, 0x06, AY8910_write_port_0_w },
909 	{ 0x07, 0x07, AY8910_control_port_0_w },
910 PORT_END
911 
912 static PORT_WRITE_START( piranha_writeport )
913 	{ 0x00, 0x00, piranha_interrupt_vector_w },
914 PORT_END
915 
916 static PORT_WRITE_START( nmouse_writeport )
917 	{ 0x00, 0x00, nmouse_interrupt_vector_w },
918 PORT_END
919 
920 static PORT_READ_START( theglobp_readport )
921 	{ 0x00, 0xff, theglobp_decrypt_rom },	/* Switch protection logic */
922 PORT_END
923 
924 static PORT_READ_START( acitya_readport )
925 	{ 0x00, 0xff, acitya_decrypt_rom }, /* Switch protection logic */
926 PORT_END
927 
928 static PORT_READ_START( mschamp_readport )
929 	{ 0x00,0x00, mschamp_kludge_r },
930 PORT_END
931 
932 static PORT_READ_START( bigbucks_readport )
933 	{ 0x0000, 0xffff, bigbucks_question_r },
934 PORT_END
935 
936 static PORT_READ_START( drivfrcp_readport )
937 	{ 0x00, 0x00, MRA_NOP },
938 	{ 0x01, 0x01, drivfrcp_port1_r },
939 	{ S2650_SENSE_PORT, S2650_SENSE_PORT, input_port_3_r },
940 PORT_END
941 
942 static PORT_READ_START( _8bpm_readport )
943 	{ 0x00, 0x00, MRA_NOP },
944 	{ 0x01, 0x01, _8bpm_port1_r },
945 	{ 0xe0, 0xe0, MRA_NOP },
946 	{ S2650_SENSE_PORT, S2650_SENSE_PORT, input_port_3_r },
947 PORT_END
948 
949 static PORT_READ_START( porky_readport )
950 	{ 0x01, 0x01, porky_port1_r },
951 	{ S2650_SENSE_PORT, S2650_SENSE_PORT, input_port_3_r },
952 PORT_END
953 
954 static PORT_WRITE_START( s2650games_writeport )
955 	{ S2650_DATA_PORT, S2650_DATA_PORT, SN76496_0_w },
956 PORT_END
957 
958 
959 /*************************************
960  *
961  *	Port definitions
962  *
963  *************************************/
964 
965 INPUT_PORTS_START( pacman )
966 	PORT_START	/* IN0 */
967 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
968 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
969 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
970 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
971 	PORT_BITX(    0x10, 0x10, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
972 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
973 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
974 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
975 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
976 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
977 
978 	PORT_START	/* IN1 */
979 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
980 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
981 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
982 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
983 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
984 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
985 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
986 	PORT_DIPNAME(0x80, 0x80, DEF_STR( Cabinet ) )
987 	PORT_DIPSETTING(   0x80, DEF_STR( Upright ) )
988 	PORT_DIPSETTING(   0x00, DEF_STR( Cocktail ) )
989 
990 	PORT_START	/* DSW 1 */
991 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
992 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
993 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
994 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
995 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
996 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
997 	PORT_DIPSETTING(    0x00, "1" )
998 	PORT_DIPSETTING(    0x04, "2" )
999 	PORT_DIPSETTING(    0x08, "3" )
1000 	PORT_DIPSETTING(    0x0c, "5" )
1001 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
1002 	PORT_DIPSETTING(    0x00, "10000" )
1003 	PORT_DIPSETTING(    0x10, "15000" )
1004 	PORT_DIPSETTING(    0x20, "20000" )
1005 	PORT_DIPSETTING(    0x30, "None" )
1006 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1007 	PORT_DIPSETTING(    0x40, "Normal" )
1008 	PORT_DIPSETTING(    0x00, "Hard" )
1009 	PORT_DIPNAME( 0x80, 0x80, "Ghost Names" )
1010 	PORT_DIPSETTING(    0x80, "Normal" )
1011 	PORT_DIPSETTING(    0x00, "Alternate" )
1012 
1013 	PORT_START	/* DSW 2 */
1014 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1015 
1016 	PORT_START	/* FAKE */
1017 	/* This fake input port is used to get the status of the fire button */
1018 	/* and activate the speedup cheat if it is. */
1019 	PORT_BITX(    0x01, 0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Speedup Cheat", KEYCODE_LCONTROL, JOYCODE_1_BUTTON1 )
1020 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1021 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
1022 INPUT_PORTS_END
1023 
1024 
1025 /* Ms. Pac-Man input ports are identical to Pac-Man, the only difference is */
1026 /* the missing Ghost Names dip switch. */
1027 INPUT_PORTS_START( mspacman )
1028 	PORT_START	/* IN0 */
1029 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1030 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1031 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1032 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1033 	PORT_BITX(    0x10, 0x10, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
1034 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1035 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1036 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1037 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1038 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1039 
1040 	PORT_START	/* IN1 */
1041 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1042 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1043 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1044 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1045 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1046 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1047 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1048 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1049 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1050 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1051 
1052 	PORT_START	/* DSW 1 */
1053 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1054 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1055 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1056 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1057 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1058 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1059 	PORT_DIPSETTING(    0x00, "1" )
1060 	PORT_DIPSETTING(    0x04, "2" )
1061 	PORT_DIPSETTING(    0x08, "3" )
1062 	PORT_DIPSETTING(    0x0c, "5" )
1063 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
1064 	PORT_DIPSETTING(    0x00, "10000" )
1065 	PORT_DIPSETTING(    0x10, "15000" )
1066 	PORT_DIPSETTING(    0x20, "20000" )
1067 	PORT_DIPSETTING(    0x30, "None" )
1068 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1069 	PORT_DIPSETTING(    0x40, "Normal" )
1070 	PORT_DIPSETTING(    0x00, "Hard" )
1071 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
1072 
1073 	PORT_START	/* DSW 2 */
1074 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1075 
1076 	PORT_START	/* FAKE */
1077 	/* This fake input port is used to get the status of the fire button */
1078 	/* and activate the speedup cheat if it is. */
1079 	PORT_BITX(    0x01, 0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Speedup Cheat", KEYCODE_LCONTROL, JOYCODE_1_BUTTON1 )
1080 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1081 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
1082 INPUT_PORTS_END
1083 
1084 
1085 /* Same as 'mspacman', but no fake input port */
1086 INPUT_PORTS_START( mspacpls )
1087 	PORT_START	/* IN0 */
1088 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1089 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1090 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1091 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1092 	PORT_BITX(    0x10, 0x10, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
1093 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1094 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1095 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1096 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1097 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1098 
1099 	PORT_START	/* IN1 */
1100 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1101 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1102 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1103 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1104 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1105 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )	// Also invincibility when playing
1106 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )	// Also speed-up when playing
1107 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1108 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1109 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1110 
1111 	PORT_START	/* DSW 1 */
1112 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1113 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1114 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1115 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1116 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1117 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1118 	PORT_DIPSETTING(    0x00, "1" )
1119 	PORT_DIPSETTING(    0x04, "2" )
1120 	PORT_DIPSETTING(    0x08, "3" )
1121 	PORT_DIPSETTING(    0x0c, "5" )
1122 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
1123 	PORT_DIPSETTING(    0x00, "10000" )
1124 	PORT_DIPSETTING(    0x10, "15000" )
1125 	PORT_DIPSETTING(    0x20, "20000" )
1126 	PORT_DIPSETTING(    0x30, "None" )
1127 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1128 	PORT_DIPSETTING(    0x40, "Normal" )
1129 	PORT_DIPSETTING(    0x00, "Hard" )
1130 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
1131 
1132 	PORT_START	/* DSW 2 */
1133 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1134 INPUT_PORTS_END
1135 
1136 
1137 INPUT_PORTS_START( mschamp )
1138 	PORT_START	/* IN0 */
1139 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1140 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1141 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1142 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1143 	PORT_BITX(    0x10, 0x10, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
1144 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1145 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1146 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1147 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1148 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 )
1149 
1150 	PORT_START	/* IN1 */
1151 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1152 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1153 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1154 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1155 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1156 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1157 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1158 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1159 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1160 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1161 
1162 	PORT_START	/* DSW 1 */
1163 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1164 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1165 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1166 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1167 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1168 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1169 	PORT_DIPSETTING(    0x00, "1" )
1170 	PORT_DIPSETTING(    0x04, "2" )
1171 	PORT_DIPSETTING(    0x08, "3" )
1172 	PORT_DIPSETTING(    0x0c, "5" )
1173 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
1174 	PORT_DIPSETTING(    0x00, "10000" )
1175 	PORT_DIPSETTING(    0x10, "15000" )
1176 	PORT_DIPSETTING(    0x20, "20000" )
1177 	PORT_DIPSETTING(    0x30, "None" )
1178 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1179 	PORT_DIPSETTING(    0x40, "Normal" )
1180 	PORT_DIPSETTING(    0x00, "Hard" )
1181 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
1182 
1183 	PORT_START	/* DSW 2 */
1184 	PORT_DIPNAME( 0x01, 0x01, "Game" )
1185 	PORT_DIPSETTING(    0x01, "Champion Edition" )
1186 	PORT_DIPSETTING(    0x00, "Super Zola Pac Gal" )
1187 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
1188 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1189 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1190 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
1191 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1192 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
1193 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
1194 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1195 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
1196 INPUT_PORTS_END
1197 
1198 
1199 INPUT_PORTS_START( maketrax )
1200 	PORT_START	/* IN0 */
1201 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1202 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1203 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1204 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1205 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
1206 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1207 	PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
1208 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1209 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1210 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1211 
1212 	PORT_START	/* IN1 */
1213 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1214 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1215 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1216 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1217 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection */
1218 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1219 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1220 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection */
1221 
1222 	PORT_START	/* DSW 1 */
1223 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1224 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1225 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1226 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1227 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1228 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
1229 	PORT_DIPSETTING(    0x00, "3" )
1230 	PORT_DIPSETTING(    0x04, "4" )
1231 	PORT_DIPSETTING(    0x08, "5" )
1232 	PORT_DIPSETTING(    0x0c, "6" )
1233 	PORT_DIPNAME( 0x10, 0x10, "First Pattern" )
1234 	PORT_DIPSETTING(    0x10, "Easy" )
1235 	PORT_DIPSETTING(    0x00, "Hard" )
1236 	PORT_DIPNAME( 0x20, 0x20, "Teleport Holes" )
1237 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1238 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1239  	PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection */
1240 
1241 	PORT_START	/* DSW 2 */
1242 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1243 INPUT_PORTS_END
1244 
1245 INPUT_PORTS_START( korosuke )
1246 	PORT_START	/* IN0 */
1247 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1248 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1249 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1250 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1251 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
1252 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1253 	PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
1254 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1255 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
1256 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
1257 
1258 	PORT_START	/* IN1 */
1259 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1260 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1261 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1262 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1263 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection */
1264 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1265 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1266 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection */
1267 
1268 	PORT_START	/* DSW 1 */
1269 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1270 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1271 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1272 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1273 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1274 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
1275 	PORT_DIPSETTING(    0x00, "3" )
1276 	PORT_DIPSETTING(    0x04, "4" )
1277 	PORT_DIPSETTING(    0x08, "5" )
1278 	PORT_DIPSETTING(    0x0c, "6" )
1279 	PORT_DIPNAME( 0x10, 0x10, "First Pattern" )
1280 	PORT_DIPSETTING(    0x10, "Easy" )
1281 	PORT_DIPSETTING(    0x00, "Hard" )
1282 	PORT_DIPNAME( 0x20, 0x20, "Teleport Holes" )
1283 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1284 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1285  	PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection */
1286 
1287 	PORT_START	/* DSW 2 */
1288 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1289 INPUT_PORTS_END
1290 
1291 INPUT_PORTS_START( mbrush )
1292 	PORT_START	/* IN0 */
1293 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1294 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1295 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1296 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1297 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
1298 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1299 	PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
1300 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1301 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1302 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1303 
1304 	PORT_START	/* IN1 */
1305 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1306 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1307 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1308 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1309 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection in Make Trax */
1310 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1311 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1312 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection in Make Trax */
1313 
1314 	PORT_START	/* DSW 1 */
1315 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1316 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1317 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1318 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1319 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1320 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1321 	PORT_DIPSETTING(    0x00, "1" )
1322 	PORT_DIPSETTING(    0x04, "2" )
1323 	PORT_DIPSETTING(    0x08, "3" )
1324 	PORT_DIPSETTING(    0x0c, "4" )
1325 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1326 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1327 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1328 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1329 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1330 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1331 	PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection in Make Trax */
1332 
1333 	PORT_START	/* DSW 2 */
1334 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1335 INPUT_PORTS_END
1336 
1337 
1338 INPUT_PORTS_START( paintrlr )
1339 	PORT_START	/* IN0 */
1340 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1341 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1342 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1343 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1344 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Cabinet ) )
1345 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1346 	PORT_DIPSETTING(    0x10, DEF_STR( Cocktail ) )
1347 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1348 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1349 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1350 
1351 	PORT_START	/* IN1 */
1352 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1353 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1354 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1355 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1356 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection in Make Trax */
1357 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1358 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1359 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection in Make Trax */
1360 
1361 	PORT_START	/* DSW 1 */
1362 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1363 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1364 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1365 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1366 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1367 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) )
1368 	PORT_DIPSETTING(    0x00, "3" )
1369 	PORT_DIPSETTING(    0x04, "4" )
1370 	PORT_DIPSETTING(    0x08, "5" )
1371 	PORT_DIPSETTING(    0x0c, "6" )
1372 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1373 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1374 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1375 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1376 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1377 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1378 	PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Protection in Make Trax */
1379 
1380 	PORT_START	/* DSW 2 */
1381 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1382 INPUT_PORTS_END
1383 
1384 
1385 INPUT_PORTS_START( ponpoko )
1386 	PORT_START	/* IN0 */
1387 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY )
1388 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY )
1389 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY )
1390 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY )
1391 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
1392 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1393 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1394 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1395 
1396 	/* The 2nd player controls are used even in upright mode */
1397 	PORT_START	/* IN1 */
1398 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
1399 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
1400 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
1401 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
1402 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
1403 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START1 )
1404 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START2 )
1405 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
1406 
1407 	PORT_START	/* DSW 1 */
1408 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Bonus_Life ) )
1409 	PORT_DIPSETTING(    0x01, "10000" )
1410 	PORT_DIPSETTING(    0x02, "30000" )
1411 	PORT_DIPSETTING(    0x03, "50000" )
1412 	PORT_DIPSETTING(    0x00, "None" )
1413 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Unknown ) )
1414 	PORT_DIPSETTING(    0x00, "0" )
1415 	PORT_DIPSETTING(    0x04, "1" )
1416 	PORT_DIPSETTING(    0x08, "2" )
1417 	PORT_DIPSETTING(    0x0c, "3" )
1418 	PORT_DIPNAME( 0x30, 0x20, DEF_STR( Lives ) )
1419 	PORT_DIPSETTING(    0x00, "2" )
1420 	PORT_DIPSETTING(    0x10, "3" )
1421 	PORT_DIPSETTING(    0x20, "4" )
1422 	PORT_DIPSETTING(    0x30, "5" )
1423 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
1424 	PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
1425 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1426 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1427 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1428 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1429 
1430 	PORT_START	/* DSW 2 */
1431 	PORT_DIPNAME( 0x0f, 0x01, DEF_STR( Coinage ) )
1432 	PORT_DIPSETTING(    0x04, "A 3/1 B 3/1" )
1433 	PORT_DIPSETTING(    0x0e, "A 3/1 B 1/2" )
1434 	PORT_DIPSETTING(    0x0f, "A 3/1 B 1/4" )
1435 	PORT_DIPSETTING(    0x02, "A 2/1 B 2/1" )
1436 	PORT_DIPSETTING(    0x0d, "A 2/1 B 1/1" )
1437 	PORT_DIPSETTING(    0x07, "A 2/1 B 1/3" )
1438 	PORT_DIPSETTING(    0x0b, "A 2/1 B 1/5" )
1439 	PORT_DIPSETTING(    0x0c, "A 2/1 B 1/6" )
1440 	PORT_DIPSETTING(    0x01, "A 1/1 B 1/1" )
1441 	PORT_DIPSETTING(    0x06, "A 1/1 B 4/5" )
1442 	PORT_DIPSETTING(    0x05, "A 1/1 B 2/3" )
1443 	PORT_DIPSETTING(    0x0a, "A 1/1 B 1/3" )
1444 	PORT_DIPSETTING(    0x08, "A 1/1 B 1/5" )
1445 	PORT_DIPSETTING(    0x09, "A 1/1 B 1/6" )
1446 	PORT_DIPSETTING(    0x03, "A 1/2 B 1/2" )
1447 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1448 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  /* Most likely unused */
1449 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1450 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1451 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  /* Most likely unused */
1452 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1453 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1454 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
1455 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1456 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1457 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  /* Most likely unused */
1458 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1459 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1460 INPUT_PORTS_END
1461 
1462 
1463 INPUT_PORTS_START( eyes )
1464 	PORT_START  /* IN0 */
1465 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1466 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1467 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1468 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1469 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1470 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1471 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
1472 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
1473 
1474 	PORT_START	/* IN1 */
1475 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1476 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1477 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1478 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1479 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
1480 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1481 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1482 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1483 
1484 	PORT_START	/* DSW 1 */
1485 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
1486 	PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
1487 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
1488 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1489 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1490 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1491 	PORT_DIPSETTING(    0x0c, "2" )
1492 	PORT_DIPSETTING(    0x08, "3" )
1493 	PORT_DIPSETTING(    0x04, "4" )
1494 	PORT_DIPSETTING(    0x00, "5" )
1495 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
1496 	PORT_DIPSETTING(    0x30, "50000" )
1497 	PORT_DIPSETTING(    0x20, "75000" )
1498 	PORT_DIPSETTING(    0x10, "100000" )
1499 	PORT_DIPSETTING(    0x00, "125000" )
1500 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
1501 	PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
1502 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1503 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  /* Not accessed */
1504 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1505 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1506 
1507 	PORT_START	/* DSW 2 */
1508 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1509 INPUT_PORTS_END
1510 
1511 
1512 INPUT_PORTS_START( mrtnt )
1513 	PORT_START  /* IN0 */
1514 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1515 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1516 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1517 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1518 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1519 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1520 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
1521 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
1522 
1523 	PORT_START	/* IN1 */
1524 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1525 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1526 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1527 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1528 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
1529 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1530 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1531 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1532 
1533 	PORT_START	/* DSW 1 */
1534 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
1535 	PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
1536 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
1537 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1538 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1539 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1540 	PORT_DIPSETTING(    0x0c, "2" )
1541 	PORT_DIPSETTING(    0x08, "3" )
1542 	PORT_DIPSETTING(    0x04, "4" )
1543 	PORT_DIPSETTING(    0x00, "5" )
1544 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
1545 	PORT_DIPSETTING(    0x30, "75000" )
1546 	PORT_DIPSETTING(    0x20, "100000" )
1547 	PORT_DIPSETTING(    0x10, "125000" )
1548 	PORT_DIPSETTING(    0x00, "150000" )
1549 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
1550 	PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
1551 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1552 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1553 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1554 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1555 
1556 	PORT_START	/* DSW 2 */
1557 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1558 INPUT_PORTS_END
1559 
1560 
1561 INPUT_PORTS_START( lizwiz )
1562 	PORT_START	/* IN0 */
1563 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
1564 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
1565 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
1566 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
1567 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1568 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1569 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT )
1570 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
1571 
1572 	PORT_START	/* IN1 */
1573 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
1574 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
1575 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
1576 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
1577 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
1578 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1579 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1580 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
1581 
1582 	PORT_START	/* DSW 1 */
1583 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
1584 	PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
1585 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
1586 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1587 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1588 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1589 	PORT_DIPSETTING(    0x0c, "2" )
1590 	PORT_DIPSETTING(    0x08, "3" )
1591 	PORT_DIPSETTING(    0x04, "4" )
1592 	PORT_DIPSETTING(    0x00, "5" )
1593 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
1594 	PORT_DIPSETTING(    0x30, "75000" )
1595 	PORT_DIPSETTING(    0x20, "100000" )
1596 	PORT_DIPSETTING(    0x10, "125000" )
1597 	PORT_DIPSETTING(    0x00, "150000" )
1598 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1599 	PORT_DIPSETTING(    0x40, "Normal" )
1600 	PORT_DIPSETTING(    0x00, "Hard" )
1601 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1602 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1603 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1604 
1605 	PORT_START	/* DSW 2 */
1606 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1607 INPUT_PORTS_END
1608 
1609 
1610 INPUT_PORTS_START( theglobp )
1611 	PORT_START	/* IN0 */
1612 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1613 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1614 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1615 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1616 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1617 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1618 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1619 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
1620 
1621 	PORT_START	/* IN1 */
1622 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1623 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1624 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1625 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1626 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1627 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1628 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
1629 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1630 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
1631 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1632 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1633 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1634 
1635 	PORT_START	/* DSW 1 */
1636 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
1637 	PORT_DIPSETTING(    0x03, "3" )
1638 	PORT_DIPSETTING(    0x02, "4" )
1639 	PORT_DIPSETTING(    0x01, "5" )
1640 	PORT_DIPSETTING(    0x00, "6" )
1641 	PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Difficulty ) )
1642 	PORT_DIPSETTING(    0x1c, "Easiest" )
1643 	PORT_DIPSETTING(    0x18, "Very Easy" )
1644 	PORT_DIPSETTING(    0x14, "Easy" )
1645 	PORT_DIPSETTING(    0x10, "Normal" )
1646 	PORT_DIPSETTING(    0x0c, "Difficult" )
1647 	PORT_DIPSETTING(    0x08, "Very Difficult" )
1648 	PORT_DIPSETTING(    0x04, "Very Hard" )
1649 	PORT_DIPSETTING(    0x00, "Hardest" )
1650 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
1651 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1652 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1653 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1654 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1655 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1656 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1657 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1658 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1659 
1660 	PORT_START	/* DSW 2 */
1661 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1662 INPUT_PORTS_END
1663 
1664 
1665 INPUT_PORTS_START( vanvan )
1666 	PORT_START	/* IN0 */
1667 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1668 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1669 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1670 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1671 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
1672 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1673 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1674 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1675 
1676 	PORT_START	/* IN1 */
1677 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1678 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1679 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1680 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1681 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1682 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1683 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1684 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1685 
1686 	PORT_START	/* DSW 1 */
1687 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
1688 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1689 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
1690 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
1691 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1692 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1693 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
1694 	PORT_DIPSETTING(    0x08, "20k and 100k" )
1695 	PORT_DIPSETTING(    0x04, "40k and 140k" )
1696 	PORT_DIPSETTING(    0x00, "70k and 200k" )
1697 	PORT_DIPSETTING(    0x0c, "None" )
1698 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
1699 	PORT_DIPSETTING(    0x30, "3" )
1700 	PORT_DIPSETTING(    0x20, "4" )
1701 	PORT_DIPSETTING(    0x10, "5" )
1702 	PORT_DIPSETTING(    0x00, "6" )
1703 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
1704 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
1705 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
1706 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
1707 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
1708 
1709 	/* When all DSW2 are ON, there is no sprite collision detection */
1710 	PORT_START	/* DSW 2 */
1711 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
1712 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1713 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
1714 	PORT_BITX(    0x02, 0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", KEYCODE_F1, IP_JOY_NONE )
1715 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1716 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1717 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
1718 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1719 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
1720 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )		// Missile effect
1721 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )		// Killer car is destroyed
1722 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )			// Killer car is not destroyed
1723 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
1724 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1725 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
1726 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
1727 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1728 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1729 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
1730 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1731 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
1732 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
1733 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1734 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
1735 INPUT_PORTS_END
1736 
1737 
1738 INPUT_PORTS_START( vanvank )
1739 	PORT_START	/* IN0 */
1740 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1741 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1742 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1743 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1744 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
1745 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1746 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1747 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
1748 
1749 	PORT_START	/* IN1 */
1750 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1751 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1752 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1753 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1754 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1755 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1756 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1757 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1758 
1759 	PORT_START	/* DSW 1 */
1760 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
1761 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1762 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
1763 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
1764 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1765 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1766 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
1767 	PORT_DIPSETTING(    0x08, "20k and 100k" )
1768 	PORT_DIPSETTING(    0x04, "40k and 140k" )
1769 	PORT_DIPSETTING(    0x00, "70k and 200k" )
1770 	PORT_DIPSETTING(    0x0c, "None" )
1771 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
1772 	PORT_DIPSETTING(    0x30, "3" )
1773 	PORT_DIPSETTING(    0x20, "4" )
1774 	PORT_DIPSETTING(    0x10, "5" )
1775 	PORT_DIPSETTING(    0x00, "6" )
1776 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Coin_A ) )
1777 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
1778 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_1C ) )
1779 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Coin_B ) )
1780 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
1781 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_3C ) )
1782 
1783 	/* When all DSW2 are ON, there is no sprite collision detection */
1784 	PORT_START	/* DSW 2 */
1785 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
1786 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1787 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
1788 	PORT_BITX(    0x02, 0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", KEYCODE_F1, IP_JOY_NONE )
1789 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1790 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1791 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
1792 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1793 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
1794 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )		// Missile effect
1795 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )		// Killer car is destroyed
1796 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )			// Killer car is not destroyed
1797 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
1798 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1799 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
1800 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
1801 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1802 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1803 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
1804 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1805 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
1806 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
1807 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1808 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
1809 INPUT_PORTS_END
1810 
1811 
1812 INPUT_PORTS_START( dremshpr )
1813 	PORT_START	/* IN0 */
1814 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1815 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1816 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1817 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1818 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
1819 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1820 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1821 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
1822 
1823 	PORT_START	/* IN1 */
1824 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1825 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1826 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1827 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1828 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1829 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1830 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1831 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1832 
1833 	PORT_START	/* DSW 1 */
1834 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
1835 	PORT_DIPSETTING(    0x01, DEF_STR( Upright ) )
1836 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1837 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
1838 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1839 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1840 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
1841 	PORT_DIPSETTING(    0x08, "30000" )
1842 	PORT_DIPSETTING(    0x04, "50000" )
1843 	PORT_DIPSETTING(    0x00, "70000" )
1844 	PORT_DIPSETTING(    0x0c, "None" )
1845 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
1846 	PORT_DIPSETTING(    0x30, "3" )
1847 	PORT_DIPSETTING(    0x20, "4" )
1848 	PORT_DIPSETTING(    0x10, "5" )
1849 	PORT_DIPSETTING(    0x00, "6" )
1850 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
1851 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
1852 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
1853 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
1854 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
1855 
1856 	PORT_START	/* DSW 2 */
1857   //PORT_BITX(    0x01, 0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", IP_KEY_NONE, IP_JOY_NONE )
1858   //PORT_DIPSETTING(    0x00, DEF_STR( Off ) )		/* turning this on crashes puts the */
1859   //PORT_DIPSETTING(    0x01, DEF_STR( On ) )       /* emulated machine in an infinite loop once in a while */
1860 //	PORT_DIPNAME( 0xff, 0x00, DEF_STR( Unused ) )
1861 	PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
1862 INPUT_PORTS_END
1863 
1864 
1865 INPUT_PORTS_START( alibaba )
1866 	PORT_START	/* IN0 */
1867 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
1868 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
1869 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
1870 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
1871 	PORT_BITX(0x10, 0x10, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
1872 	PORT_DIPSETTING(0x10, DEF_STR( Off ) )
1873 	PORT_DIPSETTING(0x00, DEF_STR( On ) )
1874 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1875 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 )
1876 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
1877 
1878 	PORT_START	/* IN1 */
1879 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
1880 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
1881 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
1882 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
1883 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
1884 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1885 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
1886 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1887 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1888 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1889 
1890 	PORT_START	/* DSW 1 */
1891 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1892 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
1893 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1894 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1895 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1896 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1897 	PORT_DIPSETTING(    0x00, "1" )
1898 	PORT_DIPSETTING(    0x04, "2" )
1899 	PORT_DIPSETTING(    0x08, "3" )
1900 	PORT_DIPSETTING(    0x0c, "5" )
1901 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
1902 	PORT_DIPSETTING(    0x00, "10000" )
1903 	PORT_DIPSETTING(    0x10, "15000" )
1904 	PORT_DIPSETTING(    0x20, "20000" )
1905 	PORT_DIPSETTING(    0x30, "None" )
1906 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1907 	PORT_DIPSETTING(    0x40, "Normal" )
1908 	PORT_DIPSETTING(    0x00, "Hard" )
1909 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1910 	PORT_DIPSETTING(    0x80, DEF_STR( Off) )
1911 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1912 INPUT_PORTS_END
1913 
1914 
1915 INPUT_PORTS_START( jumpshot )
1916 	PORT_START /* IN0 */
1917 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
1918 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
1919 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
1920 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
1921 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1922 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1923 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1924 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1925 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1926 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
1927 
1928 	PORT_START /* IN1 */
1929 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
1930 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
1931 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
1932 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
1933 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1934 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
1935 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2  )
1936 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1937 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1938 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1939 
1940 	PORT_START /* DSW 1 */
1941 	PORT_DIPNAME( 0x03, 0x01, "Time"  )
1942 //	PORT_DIPSETTING(    0x00,  "2 Minutes"  )
1943 	PORT_DIPSETTING(    0x02,  "2 Minutes" )
1944 	PORT_DIPSETTING(    0x03,  "3 Minutes" )
1945 	PORT_DIPSETTING(    0x01,  "4 Minutes"  )
1946 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1947 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1948 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1949 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
1950 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1951 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1952 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )
1953 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1954 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1955 	PORT_DIPNAME( 0x20, 0x00, "2 Players Game" )
1956 	PORT_DIPSETTING(    0x20, "1 Credit" )
1957 	PORT_DIPSETTING(    0x00, "2 Credits" )
1958 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1959 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1960 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1961 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1962 	PORT_DIPSETTING(    0x80, DEF_STR( Off) )
1963 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1964 
1965 	PORT_START /* DSW 2 */
1966 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
1967 INPUT_PORTS_END
1968 
1969 
1970 
1971 INPUT_PORTS_START( shootbul )
1972 	PORT_START /* IN0 */
1973 	PORT_ANALOG( 0x0f, 0x0f, IPT_TRACKBALL_X , 50, 25, 0, 0)
1974 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
1975 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
1976 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 )
1977 
1978 	PORT_START /* IN1 */
1979 	PORT_ANALOG( 0x0f, 0x0f, IPT_TRACKBALL_Y | IPF_REVERSE, 50, 25, 0, 0)
1980 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
1981 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
1982 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 )
1983 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1984 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1985 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1986 
1987 	PORT_START /* DSW 1 */
1988 	PORT_DIPNAME( 0x07, 0x07, "Time"  )
1989 	PORT_DIPSETTING(    0x01, "Short")
1990 	PORT_DIPSETTING(    0x07, "Average" )
1991 	PORT_DIPSETTING(    0x03, "Long" )
1992 	PORT_DIPSETTING(    0x05, "Longer" )
1993 	PORT_DIPSETTING(    0x06, "Longest" )
1994 	PORT_DIPNAME( 0x08, 0x08, "Title Page Sounds"  )
1995 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1996 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
1997 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1998 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1999 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2000 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ))
2001 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2002 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2003 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ))
2004 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2005 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2006 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
2007 
2008 	PORT_START /* DSW 2 */
2009 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
2010 INPUT_PORTS_END
2011 
2012 // New Atlantic City Action / Board Walk Casino Inputs //
2013 // Annoyingly enough, you can't get into service mode on bwcasino if the
2014 // cocktail mode is set. To test player 2's inputs, select Upright Mode on
2015 // the dipswitches, and enter test mode. Now select cocktail mode and you
2016 // can test everything. Wierd.
2017 
2018 INPUT_PORTS_START( bwcasino )
2019 	PORT_START /* IN0 */
2020 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
2021 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
2022 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )
2023 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )
2024 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
2025 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2026 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
2027 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 | IPF_PLAYER2 | IPF_COCKTAIL )
2028 
2029 	PORT_START /* IN1 */
2030 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 | IPF_COCKTAIL )
2031 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 | IPF_COCKTAIL )
2032 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 | IPF_COCKTAIL )
2033 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER2 | IPF_COCKTAIL )
2034 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 | IPF_PLAYER2 | IPF_COCKTAIL )
2035 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 )
2036 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON6 )
2037 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
2038 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
2039 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
2040 
2041 	PORT_START /* DSW 1 */
2042 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2043 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2044 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2045 	PORT_DIPNAME( 0x1e, 0x1e, "Hands per Game" )
2046 	PORT_DIPSETTING(    0x1e, "3" )
2047 	PORT_DIPSETTING(    0x1c, "4" )
2048 	PORT_DIPSETTING(    0x1a, "5" )
2049 	PORT_DIPSETTING(    0x18, "6" )
2050 	PORT_DIPSETTING(    0x16, "7" )
2051 	PORT_DIPSETTING(    0x14, "8" )
2052 	PORT_DIPSETTING(    0x12, "9" )
2053 	PORT_DIPSETTING(    0x10, "10" )
2054 	PORT_DIPSETTING(    0x0e, "11" )
2055 	PORT_DIPSETTING(    0x0c, "12" )
2056 	PORT_DIPSETTING(    0x0a, "13" )
2057 	PORT_DIPSETTING(    0x08, "14" )
2058 	PORT_DIPSETTING(    0x06, "15" )
2059 	PORT_DIPSETTING(    0x04, "16" )
2060 	PORT_DIPSETTING(    0x02, "17" )
2061 	PORT_DIPSETTING(    0x00, "18" )
2062 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
2063 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2064 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2065 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2066 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2067 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2068 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2069 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2070 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2071 
2072 	PORT_START /* DSW 2 */
2073 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
2074 INPUT_PORTS_END
2075 
2076 // ATLANTIC CITY ACTION (acitya)
2077 // Unlike "Boardwalk Casino", "Atlantic City Action" does not appear to
2078 // have a cocktail mode, and uses service button connected differently to
2079 // "Boardwalk"
2080 INPUT_PORTS_START( acitya )
2081 	PORT_START /* IN0 */
2082 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
2083 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
2084 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )
2085 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )
2086 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
2087 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2088 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
2089 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
2090 
2091 	PORT_START /* IN1 */
2092 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
2093 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2094 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
2095 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
2096 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
2097 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 )
2098 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON6 )
2099 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
2100 
2101 	PORT_START /* DSW 1 */
2102 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2103 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2104 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2105 	PORT_DIPNAME( 0x1e, 0x1e, "Hands per Game" )
2106 	PORT_DIPSETTING(    0x1e, "3" )
2107 	PORT_DIPSETTING(    0x1c, "4" )
2108 	PORT_DIPSETTING(    0x1a, "5" )
2109 	PORT_DIPSETTING(    0x18, "6" )
2110 	PORT_DIPSETTING(    0x16, "7" )
2111 	PORT_DIPSETTING(    0x14, "8" )
2112 	PORT_DIPSETTING(    0x12, "9" )
2113 	PORT_DIPSETTING(    0x10, "10" )
2114 	PORT_DIPSETTING(    0x0e, "11" )
2115 	PORT_DIPSETTING(    0x0c, "12" )
2116 	PORT_DIPSETTING(    0x0a, "13" )
2117 	PORT_DIPSETTING(    0x08, "14" )
2118 	PORT_DIPSETTING(    0x06, "15" )
2119 	PORT_DIPSETTING(    0x04, "16" )
2120 	PORT_DIPSETTING(    0x02, "17" )
2121 	PORT_DIPSETTING(    0x00, "18" )
2122 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
2123 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2124 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2125 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2126 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2127 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2128 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2129 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2130 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2131 
2132 	PORT_START /* DSW 2 */
2133 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
2134 INPUT_PORTS_END
2135 
2136 
2137 INPUT_PORTS_START( nmouse )
2138 	PORT_START	/* IN0 */
2139 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
2140 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
2141 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
2142 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
2143 	PORT_BITX(    0x10, 0x10, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
2144 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2145 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2146 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2147 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
2148 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
2149 
2150 	PORT_START	/* IN1 */
2151 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
2152 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
2153 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
2154 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
2155 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
2156 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
2157 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
2158 	PORT_DIPNAME(0x80, 0x80, DEF_STR( Cabinet ) )
2159 	PORT_DIPSETTING(   0x80, DEF_STR( Upright ) )
2160 	PORT_DIPSETTING(   0x00, DEF_STR( Cocktail ) )
2161 
2162 	PORT_START	/* DSW 1 */
2163 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
2164 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
2165 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
2166 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
2167 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
2168 	PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
2169 	PORT_DIPSETTING(    0x00, "1" )
2170 	PORT_DIPSETTING(    0x04, "2" )
2171 	PORT_DIPSETTING(    0x08, "3" )
2172 	PORT_DIPSETTING(    0x0c, "5" )
2173 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
2174 	PORT_DIPSETTING(    0x00, "5000" )
2175 	PORT_DIPSETTING(    0x10, "10000" )
2176 	PORT_DIPSETTING(    0x20, "15000" )
2177 	PORT_DIPSETTING(    0x30, "None" )
2178 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
2179 	PORT_DIPSETTING(    0x40, "Normal" )
2180 	PORT_DIPSETTING(    0x00, "Hard" )
2181 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2182 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2183 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2184 
2185 	PORT_START	/* DSW 2 */
2186 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
2187 
2188 INPUT_PORTS_END
2189 
2190 
2191 INPUT_PORTS_START( bigbucks )
2192 	PORT_START	/* IN0 */
2193 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP	  | IPF_4WAY )
2194 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
2195 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
2196 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
2197 	PORT_DIPNAME( 0x10, 0x10, "Enable Category Adult Affairs" )
2198 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2199 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
2200 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2201 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
2202 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
2203 
2204 	PORT_START	/* IN1 */
2205 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
2206 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
2207 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
2208 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
2209 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2210 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2211 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
2212 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
2213 
2214 	PORT_START	/* DSW 1 */
2215 	PORT_DIPNAME( 0x01, 0x00, "Time to bet / answer" )
2216 	PORT_DIPSETTING(    0x00, "15 sec. / 10 sec." )
2217 	PORT_DIPSETTING(    0x01, "20 sec. / 15 sec." )
2218 	PORT_DIPNAME( 0x02, 0x00, "Continue if player busts" )
2219 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2220 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2221 	PORT_DIPNAME( 0x04, 0x04, "Show correct answer" )
2222 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2223 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
2224 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
2225 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2226 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
2227 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Coinage ) )
2228 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
2229 	PORT_DIPSETTING(    0x10, DEF_STR( 1C_1C ) )
2230 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
2231 	PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
2232 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
2233 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
2234 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2235 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
2236 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
2237 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2238 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
2239 
2240 	PORT_START	/* DSW 2 */
2241 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
2242 INPUT_PORTS_END
2243 
2244 
2245 INPUT_PORTS_START( drivfrcp )
2246 	PORT_START      /* IN0 */
2247 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2248 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_2WAY )
2249 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY )
2250 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2251 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2252 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2253 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
2254 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
2255 
2256 	PORT_START      /* IN1 */
2257 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2258 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2259 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2260 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2261 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2262 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
2263 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
2264 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
2265 
2266 	PORT_START      /* DSW0 */
2267 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
2268 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2269 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
2270 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
2271 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2272 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2273 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
2274 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2275 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
2276 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
2277 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2278 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
2279 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
2280 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2281 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
2282 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
2283 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2284 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2285 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
2286 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2287 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
2288 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
2289 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2290 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
2291 
2292 	PORT_START /* Sense */
2293 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
2294 INPUT_PORTS_END
2295 
2296 
2297 INPUT_PORTS_START( 8bpm )
2298 	PORT_START      /* IN0 */
2299 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY )
2300 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY )
2301 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
2302 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY )
2303 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2304 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2305 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
2306 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
2307 
2308 	PORT_START      /* IN1 */
2309 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
2310 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
2311 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
2312 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
2313 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
2314 	PORT_BIT_NAME( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1, "Start 1 / P1 Button 1" )
2315 	PORT_BIT_NAME( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2, "Start 2 / P1 Button 1" )
2316 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
2317 
2318 	PORT_START      /* DSW0 */
2319 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
2320 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
2321 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
2322 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
2323 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2324 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2325 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
2326 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2327 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
2328 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
2329 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2330 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
2331 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
2332 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2333 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
2334 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
2335 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2336 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2337 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
2338 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2339 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
2340 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
2341 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2342 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
2343 
2344 	PORT_START /* Sense */
2345 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
2346 INPUT_PORTS_END
2347 
2348 
2349 INPUT_PORTS_START( porky )
2350 	PORT_START      /* IN0 */
2351 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
2352 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_2WAY )
2353 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY )
2354 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 )
2355 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2356 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
2357 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
2358 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
2359 
2360 	PORT_START      /* IN1 */
2361 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
2362 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_COCKTAIL )
2363 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_COCKTAIL )
2364 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
2365 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2366 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
2367 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
2368 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
2369 
2370 	PORT_START      /* DSW0 */
2371 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
2372 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
2373 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
2374 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
2375 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2376 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2377 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
2378 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2379 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
2380 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
2381 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2382 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
2383 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
2384 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2385 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
2386 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
2387 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2388 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2389 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
2390 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2391 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
2392 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
2393 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2394 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
2395 
2396 	PORT_START /* Sense */
2397 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
2398 INPUT_PORTS_END
2399 
2400 /*************************************
2401  *
2402  *	Graphics layouts
2403  *
2404  *************************************/
2405 
2406 static struct GfxLayout tilelayout =
2407 {
2408 	8,8,	/* 8*8 characters */
2409 	RGN_FRAC(1,1),
2410     2,  /* 2 bits per pixel */
2411     { 0, 4 },   /* the two bitplanes for 4 pixels are packed into one byte */
2412     { 8*8+0, 8*8+1, 8*8+2, 8*8+3, 0, 1, 2, 3 }, /* bits are packed in groups of four */
2413     { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
2414     16*8    /* every char takes 16 bytes */
2415 };
2416 
2417 
2418 static struct GfxLayout spritelayout =
2419 {
2420 	16,16,	/* 16*16 sprites */
2421 	RGN_FRAC(1,1),
2422 	2,	/* 2 bits per pixel */
2423 	{ 0, 4 },	/* the two bitplanes for 4 pixels are packed into one byte */
2424 	{ 8*8, 8*8+1, 8*8+2, 8*8+3, 16*8+0, 16*8+1, 16*8+2, 16*8+3,
2425 			24*8+0, 24*8+1, 24*8+2, 24*8+3, 0, 1, 2, 3 },
2426 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
2427 			32*8, 33*8, 34*8, 35*8, 36*8, 37*8, 38*8, 39*8 },
2428 	64*8	/* every sprite takes 64 bytes */
2429 };
2430 
2431 
2432 static struct GfxDecodeInfo gfxdecodeinfo[] =
2433 {
2434 	{ REGION_GFX1, 0, &tilelayout,   0, 32 },
2435 	{ REGION_GFX2, 0, &spritelayout, 0, 32 },
2436 	{ -1 } /* end of array */
2437 };
2438 
2439 
2440 static struct GfxDecodeInfo mschampgfxdecodeinfo[] =
2441 {
2442 	{ REGION_GFX1, 0x0000, &tilelayout,   0, 32 },
2443 	{ REGION_GFX1, 0x1000, &spritelayout, 0, 32 },
2444 	{ -1 } /* end of array */
2445 };
2446 
2447 
2448 static struct GfxDecodeInfo s2650games_gfxdecodeinfo[] =
2449 {
2450 	{ REGION_GFX1, 0x0000, &tilelayout,      0, 32 },
2451     { REGION_GFX1, 0x0000, &spritelayout,    0, 32 },
2452     { -1 } /* end of array */
2453 };
2454 
2455 
2456 
2457 /*************************************
2458  *
2459  *	Sound interfaces
2460  *
2461  *************************************/
2462 
2463 static struct namco_interface namco_interface =
2464 {
2465 	3072000/32,	/* sample rate */
2466 	3,			/* number of voices */
2467 	100,		/* playback volume */
2468 	REGION_SOUND1	/* memory region */
2469 };
2470 
2471 
2472 static struct SN76496interface sn76496_interface =
2473 {
2474 	2,
2475 	{ 1789750, 1789750 },	/* 1.78975 MHz ? */
2476 	{ 75, 75 }
2477 };
2478 
2479 
2480 static struct AY8910interface dremshpr_ay8910_interface =
2481 {
2482 	1,	/* 1 chip */
2483 	14318000/8,	/* 1.78975 MHz ??? */
2484 	{ 50 },
2485 	{ 0 },
2486 	{ 0 },
2487 	{ 0 },
2488 	{ 0 }
2489 };
2490 
2491 
2492 static struct SN76496interface sn76489_interface =
2493 {
2494 	1,	/* 1 chip */
2495 	{ 18432000/6/2/3 },	/* ? MHz */
2496 	{ 100 }
2497 };
2498 
2499 
2500 /*************************************
2501  *
2502  *	Machine drivers
2503  *
2504  *************************************/
2505 
2506 static MACHINE_DRIVER_START( pacman )
2507 
2508 	/* basic machine hardware */
2509 	MDRV_CPU_ADD_TAG("main", Z80, 18432000/6)
MDRV_CPU_MEMORY(readmem,writemem)2510 	MDRV_CPU_MEMORY(readmem,writemem)
2511 	MDRV_CPU_PORTS(0,writeport)
2512 	MDRV_CPU_VBLANK_INT(pacman_interrupt,1)
2513 
2514 	MDRV_FRAMES_PER_SECOND(60.606060)
2515 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
2516 	MDRV_MACHINE_INIT(pacman)
2517 
2518 	/* video hardware */
2519 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
2520 	MDRV_SCREEN_SIZE(36*8, 28*8)
2521 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 0*8, 28*8-1)
2522 	MDRV_GFXDECODE(gfxdecodeinfo)
2523 	MDRV_PALETTE_LENGTH(16)
2524 	MDRV_COLORTABLE_LENGTH(4*32)
2525 
2526 	MDRV_PALETTE_INIT(pacman)
2527 	MDRV_VIDEO_START(pacman)
2528 	MDRV_VIDEO_UPDATE(pengo)
2529 
2530 	/* sound hardware */
2531 	MDRV_SOUND_ADD_TAG("namco", NAMCO, namco_interface)
2532 MACHINE_DRIVER_END
2533 
2534 
2535 static MACHINE_DRIVER_START( pacplus )
2536 
2537 	/* basic machine hardware */
2538 	MDRV_IMPORT_FROM(pacman)
2539 
2540 	MDRV_CPU_MODIFY("main")
2541 	MDRV_CPU_VBLANK_INT(pacplus_interrupt,1)
2542 
2543 	MDRV_MACHINE_INIT(pacplus)
2544 MACHINE_DRIVER_END
2545 
2546 
2547 static MACHINE_DRIVER_START( mspacman )
2548 
2549 	/* basic machine hardware */
2550 	MDRV_IMPORT_FROM(pacman)
2551 
2552 	MDRV_CPU_MODIFY("main")
2553 	MDRV_CPU_MEMORY(mspacman_readmem,mspacman_writemem)
2554 	MDRV_CPU_VBLANK_INT(mspacman_interrupt,1)
2555 
2556 	MDRV_MACHINE_INIT(mspacman)
2557 MACHINE_DRIVER_END
2558 
2559 
2560 static MACHINE_DRIVER_START( mspacpls )
2561 
2562 	/* basic machine hardware */
2563 	MDRV_IMPORT_FROM(pacman)
2564 
2565 	MDRV_CPU_MODIFY("main")
2566 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
2567 
2568 	MDRV_MACHINE_INIT(NULL)
2569 MACHINE_DRIVER_END
2570 
2571 
2572 static MACHINE_DRIVER_START( mschamp )
2573 
2574 	/* basic machine hardware */
2575 	MDRV_IMPORT_FROM(pacman)
2576 
2577 	MDRV_CPU_MODIFY("main")
2578 	MDRV_CPU_MEMORY(mschamp_readmem,writemem)
2579 	MDRV_CPU_PORTS(mschamp_readport,writeport)
2580 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
2581 
2582 	MDRV_MACHINE_INIT(mschamp)
2583 
2584 	/* video hardware */
2585 	MDRV_GFXDECODE(mschampgfxdecodeinfo)
2586 MACHINE_DRIVER_END
2587 
2588 
2589 static MACHINE_DRIVER_START( theglobp )
2590 
2591 	/* basic machine hardware */
2592 	MDRV_IMPORT_FROM(pacman)
2593 
2594 	MDRV_CPU_MODIFY("main")
2595 	MDRV_CPU_MEMORY(theglobp_readmem,writemem)
2596 	MDRV_CPU_PORTS(theglobp_readport,writeport)
2597 
2598 	MDRV_MACHINE_INIT(theglobp)
2599 MACHINE_DRIVER_END
2600 
2601 
2602 static MACHINE_DRIVER_START( vanvan )
2603 
2604 	/* basic machine hardware */
2605 	MDRV_IMPORT_FROM(pacman)
2606 
2607 	MDRV_CPU_MODIFY("main")
2608 	MDRV_CPU_MEMORY(vanvan_readmem,vanvan_writemem)
2609 	MDRV_CPU_PORTS(0,vanvan_writeport)
2610 	MDRV_CPU_VBLANK_INT(nmi_line_pulse,1)
2611 
2612 	MDRV_MACHINE_INIT(NULL)
2613 
2614 	/* video hardware */
2615 	MDRV_VISIBLE_AREA(2*8, 34*8-1, 0*8, 28*8-1)
2616 	MDRV_VIDEO_UPDATE(vanvan)
2617 
2618 	/* sound hardware */
2619 	MDRV_SOUND_REPLACE("namco", SN76496, sn76496_interface)
2620 MACHINE_DRIVER_END
2621 
2622 
2623 static MACHINE_DRIVER_START( dremshpr )
2624 
2625 	/* basic machine hardware */
2626 	MDRV_IMPORT_FROM(pacman)
2627 
2628 	MDRV_CPU_MODIFY("main")
2629 	MDRV_CPU_PORTS(0,dremshpr_writeport)
2630 	MDRV_CPU_VBLANK_INT(nmi_line_pulse,1)
2631 
2632 	MDRV_MACHINE_INIT(NULL)
2633 
2634 	/* sound hardware */
2635 	MDRV_SOUND_REPLACE("namco", AY8910, dremshpr_ay8910_interface)
2636 MACHINE_DRIVER_END
2637 
2638 
2639 static MACHINE_DRIVER_START( alibaba )
2640 
2641 	/* basic machine hardware */
2642 	MDRV_IMPORT_FROM(pacman)
2643 
2644 	MDRV_CPU_MODIFY("main")
2645 	MDRV_CPU_MEMORY(alibaba_readmem,alibaba_writemem)
2646 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
2647 
2648 	MDRV_MACHINE_INIT(NULL)
2649 MACHINE_DRIVER_END
2650 
2651 static MACHINE_DRIVER_START( piranha )
2652 
2653 	/* basic machine hardware */
2654 	MDRV_IMPORT_FROM(pacman)
2655 
2656 	MDRV_CPU_MODIFY("main")
2657 	MDRV_CPU_MEMORY(readmem,writemem)
2658 	MDRV_CPU_PORTS(0,piranha_writeport)
2659 
2660 	MDRV_MACHINE_INIT(piranha)
2661 MACHINE_DRIVER_END
2662 
2663 
2664 static MACHINE_DRIVER_START( nmouse )
2665 
2666 	/* basic machine hardware */
2667 	MDRV_IMPORT_FROM(pacman)
2668 
2669 	MDRV_CPU_MODIFY("main")
2670 	MDRV_CPU_MEMORY(readmem,writemem)
2671 	MDRV_CPU_PORTS(0,nmouse_writeport)
2672 
2673 	MDRV_MACHINE_INIT(NULL)
2674 MACHINE_DRIVER_END
2675 
2676 
2677 static MACHINE_DRIVER_START( acitya )
2678 
2679 	/* basic machine hardware */
2680 	MDRV_IMPORT_FROM(pacman)
2681 
2682 	MDRV_CPU_MODIFY("main")
2683 	MDRV_CPU_MEMORY(acitya_readmem,writemem)
2684 	MDRV_CPU_PORTS(acitya_readport,writeport)
2685 
2686 	MDRV_MACHINE_INIT(acitya)
2687 MACHINE_DRIVER_END
2688 
2689 
2690 static MACHINE_DRIVER_START( bigbucks )
2691 
2692 	/* basic machine hardware */
2693 	MDRV_IMPORT_FROM(pacman)
2694 
2695 	MDRV_CPU_MODIFY("main")
2696 	MDRV_CPU_FLAGS(CPU_16BIT_PORT)
2697 	MDRV_CPU_MEMORY(readmem,bigbucks_writemem)
2698 	MDRV_CPU_PORTS(bigbucks_readport,0)
2699 	MDRV_CPU_VBLANK_INT(irq0_line_hold,20)
2700 
2701 	MDRV_MACHINE_INIT(NULL)
2702 
2703 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 0*8-1, 28*8-1)
2704 MACHINE_DRIVER_END
2705 
2706 
2707 static MACHINE_DRIVER_START( s2650games )
2708 
2709 	/* basic machine hardware */
2710 	MDRV_IMPORT_FROM(pacman)
2711 
2712 	MDRV_CPU_REMOVE("main")
2713 	MDRV_CPU_ADD_TAG("main", S2650, 18432000/6/2/3)	/* ??? */
2714 	MDRV_CPU_MEMORY(s2650games_readmem,s2650games_writemem)
2715 	MDRV_CPU_VBLANK_INT(s2650_interrupt,1)
2716 
2717 	MDRV_SCREEN_SIZE(32*8, 32*8)
2718 	MDRV_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
2719 	MDRV_GFXDECODE(s2650games_gfxdecodeinfo)
2720 
2721 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
2722 
2723 	MDRV_VIDEO_START(s2650games)
2724 	MDRV_VIDEO_UPDATE(s2650games)
2725 
2726 	/* sound hardware */
2727 	MDRV_SOUND_REPLACE("namco", SN76496, sn76489_interface)
2728 MACHINE_DRIVER_END
2729 
2730 
2731 static MACHINE_DRIVER_START( drivfrcp )
2732 
2733 	/* basic machine hardware */
2734 	MDRV_IMPORT_FROM(s2650games)
2735 
2736 	MDRV_CPU_MODIFY("main")
2737 	MDRV_CPU_PORTS(drivfrcp_readport,s2650games_writeport)
2738 MACHINE_DRIVER_END
2739 
2740 
2741 static MACHINE_DRIVER_START( 8bpm )
2742 
2743 	/* basic machine hardware */
2744 	MDRV_IMPORT_FROM(s2650games)
2745 
2746 	MDRV_CPU_MODIFY("main")
2747 	MDRV_CPU_PORTS(_8bpm_readport,s2650games_writeport)
2748 MACHINE_DRIVER_END
2749 
2750 
2751 static MACHINE_DRIVER_START( porky )
2752 
2753 	/* basic machine hardware */
2754 	MDRV_IMPORT_FROM(s2650games)
2755 
2756 	MDRV_CPU_MODIFY("main")
2757 	MDRV_CPU_PORTS(porky_readport,s2650games_writeport)
2758 MACHINE_DRIVER_END
2759 
2760 
2761 /*************************************
2762  *
2763  *	ROM definitions
2764  *
2765  *************************************/
2766 
2767 ROM_START( puckman )
2768 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2769 	ROM_LOAD( "namcopac.6e",  0x0000, 0x1000, CRC(fee263b3) SHA1(87117ba5082cd7a615b4ec7c02dd819003fbd669) )
2770 	ROM_LOAD( "namcopac.6f",  0x1000, 0x1000, CRC(39d1fc83) SHA1(326dbbf94c6fa2e96613dedb53702f8832b47d59) )
2771 	ROM_LOAD( "namcopac.6h",  0x2000, 0x1000, CRC(02083b03) SHA1(7e1945f6eb51f2e51806d0439f975f7a2889b9b8) )
2772 	ROM_LOAD( "namcopac.6j",  0x3000, 0x1000, CRC(7a36fe55) SHA1(01b4c38108d9dc4e48da4f8d685248e1e6821377) )
2773 
2774 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2775 	ROM_LOAD( "pacman.5e",    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
2776 
2777 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2778 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2779 
2780 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2781 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2782 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2783 
2784 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2785 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2786 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2787 ROM_END
2788 
2789 
2790 ROM_START( puckmod )
2791 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2792 	ROM_LOAD( "namcopac.6e",  0x0000, 0x1000, CRC(fee263b3) SHA1(87117ba5082cd7a615b4ec7c02dd819003fbd669) )
2793 	ROM_LOAD( "namcopac.6f",  0x1000, 0x1000, CRC(39d1fc83) SHA1(326dbbf94c6fa2e96613dedb53702f8832b47d59) )
2794 	ROM_LOAD( "namcopac.6h",  0x2000, 0x1000, CRC(02083b03) SHA1(7e1945f6eb51f2e51806d0439f975f7a2889b9b8) )
2795 	ROM_LOAD( "npacmod.6j",   0x3000, 0x1000, CRC(7d98d5f5) SHA1(39939bcd6fb785d0d06fd29f0287158ab1267dfc) )
2796 
2797 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2798 	ROM_LOAD( "pacman.5e",    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
2799 
2800 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2801 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2802 
2803 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2804 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2805 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2806 
2807 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2808 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2809 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2810 ROM_END
2811 
2812 
2813 ROM_START( puckmana )
2814 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2815 	ROM_LOAD( "pacman.6e",    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
2816 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
2817 	ROM_LOAD( "pacman.6h",    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
2818 	ROM_LOAD( "prg7",         0x3000, 0x0800, CRC(b6289b26) SHA1(d249fa9cdde774d5fee7258147cd25fa3f4dc2b3) )
2819 	ROM_LOAD( "prg8",         0x3800, 0x0800, CRC(17a88c13) SHA1(eb462de79f49b7aa8adb0cc6d31535b10550c0ce) )
2820 
2821 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2822 	ROM_LOAD( "chg1",         0x0000, 0x0800, CRC(2066a0b7) SHA1(6d4ccc27d6be185589e08aa9f18702b679e49a4a) )
2823 	ROM_LOAD( "chg2",         0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
2824 
2825 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2826 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2827 
2828 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2829 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2830 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2831 
2832 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2833 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2834 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2835 ROM_END
2836 
2837 
2838 ROM_START( pacman )
2839 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2840 	ROM_LOAD( "pacman.6e",    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
2841 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
2842 	ROM_LOAD( "pacman.6h",    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
2843 	ROM_LOAD( "pacman.6j",    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
2844 
2845 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2846 	ROM_LOAD( "pacman.5e",    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
2847 
2848 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2849 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2850 
2851 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2852 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2853 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2854 
2855 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2856 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2857 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2858 ROM_END
2859 
2860 
2861 ROM_START( pacmod )
2862 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2863 	ROM_LOAD( "pacmanh.6e",   0x0000, 0x1000, CRC(3b2ec270) SHA1(48fc607ad8d86249948aa377c677ae44bb8ad3da) )
2864 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
2865 	ROM_LOAD( "pacmanh.6h",   0x2000, 0x1000, CRC(18811780) SHA1(ab34acaa3dbcafe8b20c2197f36641e471984487) )
2866 	ROM_LOAD( "pacmanh.6j",   0x3000, 0x1000, CRC(5c96a733) SHA1(22ae15a6f088e7296f77c7487a350c4bd102f00e) )
2867 
2868 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2869 	ROM_LOAD( "pacmanh.5e",   0x0000, 0x1000, CRC(299fb17a) SHA1(ad97adc2122482a9018bacd137df9d8f409ddf85) )
2870 
2871 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2872 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2873 
2874 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2875 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2876 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2877 
2878 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2879 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2880 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2881 ROM_END
2882 
2883 
2884 ROM_START( hangly )
2885 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2886 	ROM_LOAD( "hangly.6e",    0x0000, 0x1000, CRC(5fe8610a) SHA1(d63eaebd85e10aa6c27bb7f47642dd403eeb6934) )
2887 	ROM_LOAD( "hangly.6f",    0x1000, 0x1000, CRC(73726586) SHA1(cedddc5194589039dd8b64f07ab6320d7d4f55f9) )
2888 	ROM_LOAD( "hangly.6h",    0x2000, 0x1000, CRC(4e7ef99f) SHA1(bd42e68b29b4d654dc817782ba00db69b7d2dfe2) )
2889 	ROM_LOAD( "hangly.6j",    0x3000, 0x1000, CRC(7f4147e6) SHA1(0a7ac0e59d4d26fe52a2f4196c9f19e5ab677c87) )
2890 
2891 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2892 	ROM_LOAD( "pacman.5e",    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
2893 
2894 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2895 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2896 
2897 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2898 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2899 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2900 
2901 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2902 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2903 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2904 ROM_END
2905 
2906 
2907 ROM_START( hangly2 )
2908 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2909 	ROM_LOAD( "hangly.6e",    0x0000, 0x1000, CRC(5fe8610a) SHA1(d63eaebd85e10aa6c27bb7f47642dd403eeb6934) )
2910 	ROM_LOAD( "hangly2.6f",   0x1000, 0x0800, CRC(5ba228bb) SHA1(b0e902cdf98bee72d6ec8069eec96adce3245074) )
2911 	ROM_LOAD( "hangly2.6m",   0x1800, 0x0800, CRC(baf5461e) SHA1(754586a6449fd54a342f260e572c1cd60ab70815) )
2912 	ROM_LOAD( "hangly.6h",    0x2000, 0x1000, CRC(4e7ef99f) SHA1(bd42e68b29b4d654dc817782ba00db69b7d2dfe2) )
2913 	ROM_LOAD( "hangly2.6j",   0x3000, 0x0800, CRC(51305374) SHA1(6197b606a0eedb11135d9f4f7a89aecc23fb2d33) )
2914 	ROM_LOAD( "hangly2.6p",   0x3800, 0x0800, CRC(427c9d4d) SHA1(917bc3d571cbdd24d88327ecabfb5b3f6d39af0a) )
2915 
2916 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2917 	ROM_LOAD( "pacmanh.5e",   0x0000, 0x1000, CRC(299fb17a) SHA1(ad97adc2122482a9018bacd137df9d8f409ddf85) )
2918 
2919 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2920 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2921 
2922 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2923 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2924 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2925 
2926 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2927 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2928 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2929 ROM_END
2930 
2931 ROM_START( hangly3 )
2932 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2933 	ROM_LOAD( "hm1.6e",   0x0000, 0x0800, CRC(9d027c4a) SHA1(88e094880057451a75cdc2ce9477403021813982) )
2934 	ROM_LOAD( "hm5.6k",	  0x0800, 0x0800, CRC(194c7189) SHA1(fd423bac2810015313841c7b935054565390fbd0) )
2935 	ROM_LOAD( "hangly2.6f",   0x1000, 0x0800, CRC(5ba228bb) SHA1(b0e902cdf98bee72d6ec8069eec96adce3245074) ) // hm2.6f
2936 	ROM_LOAD( "hangly2.6m",   0x1800, 0x0800, CRC(baf5461e) SHA1(754586a6449fd54a342f260e572c1cd60ab70815) ) // hm6.6m
2937 	ROM_LOAD( "hm3.6h",   0x2000, 0x0800, CRC(08419c4a) SHA1(7e5001adad401080c788737c1d2349f218750442) )
2938 	ROM_LOAD( "hm7.6n",   0x2800, 0x0800, CRC(ab74b51f) SHA1(1bce8933ed7807eb7aca9670df8994f8d1a8b5b7) )
2939 	ROM_LOAD( "hm4.6j",   0x3000, 0x0800, CRC(5039b082) SHA1(086a6ac4742734167d283b1121fce29d8ac4a6cd) )
2940 	ROM_LOAD( "hm8.6p",   0x3800, 0x0800, CRC(931770d7) SHA1(78fcf88e07ec5126c12c3297b62ca388809e947c) )
2941 
2942 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2943 	ROM_LOAD( "hm9.5e", 	0x0000, 0x0800, CRC(5f4be3cc) SHA1(eeb0e1e44549b99eab481d9ac016b4359e19fe30) )
2944 	ROM_LOAD( "hm11.5h",    0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
2945 
2946 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2947 	ROM_LOAD( "hm10.5f", 	0x0000, 0x0800, CRC(9e39323a) SHA1(be933e691df4dbe7d12123913c3b7b7b585b7a35) )
2948 	ROM_LOAD( "hm12.5j", 	0x0800, 0x0800, CRC(1b1d9096) SHA1(53771c573051db43e7185b1d188533056290a620) )
2949 
2950 
2951 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2952 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2953 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2954 
2955 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2956 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2957 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2958 ROM_END
2959 
2960 
2961 ROM_START( newpuckx )
2962 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
2963 	ROM_LOAD( "puckman.6e",   0x0000, 0x1000, CRC(a8ae23c5) SHA1(1481a4f083b563350744f9d25b1bcd28073875d6) )
2964 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
2965 	ROM_LOAD( "puckman.6h",   0x2000, 0x1000, CRC(197443f8) SHA1(119aab12a9e1052c7b9a1f81e563740b41429a8c) )
2966 	ROM_LOAD( "puckman.6j",   0x3000, 0x1000, CRC(2e64a3ba) SHA1(f86a921173f32211b18d023c2701664d13ae23be) )
2967 
2968 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2969 	ROM_LOAD( "pacman.5e",    0x0000, 0x1000, CRC(0c944964) SHA1(06ef227747a440831c9a3a613b76693d52a2f0a9) )
2970 
2971 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
2972 	ROM_LOAD( "pacman.5f",    0x0000, 0x1000, CRC(958fedf9) SHA1(4a937ac02216ea8c96477d4a15522070507fb599) )
2973 
2974 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
2975 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
2976 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
2977 
2978 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
2979 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
2980 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
2981 ROM_END
2982 
2983 
2984 ROM_START( pacheart )
2985 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
2986 	ROM_LOAD( "1.6e",         0x0000, 0x0800, CRC(d844b679) SHA1(c4486198b3126bb8e05a308c53787e51065f77ae) )
2987 	ROM_LOAD( "pacheart.pg2", 0x0800, 0x0800, CRC(b9152a38) SHA1(b6be2cb6bc7dd123503eb6bf1165dd1c99456813) )
2988 	ROM_LOAD( "2.6f",         0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
2989 	ROM_LOAD( "pacheart.pg4", 0x1800, 0x0800, CRC(842d6574) SHA1(40e32d09cc8d701eb318716493a68cf3f95d3d6d) )
2990 	ROM_LOAD( "3.6h",         0x2000, 0x0800, CRC(9045a44c) SHA1(a97d7016effbd2ace9a7d92ceb04a6ce18fb42f9) )
2991 	ROM_LOAD( "7.6n",         0x2800, 0x0800, CRC(888f3c3e) SHA1(c2b5917bf13071131dd53ea76f0da86706db2d80) )
2992 	ROM_LOAD( "pacheart.pg7", 0x3000, 0x0800, CRC(f5265c10) SHA1(9a320790d7a03fd6192a92d30b3e9c754bbc6a9d) )
2993 	ROM_LOAD( "pacheart.pg8", 0x3800, 0x0800, CRC(1a21a381) SHA1(d5367a327d19fb57ba5e484bd4fda1b10953c040) )
2994 
2995 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
2996 	ROM_LOAD( "pacheart.ch1", 0x0000, 0x0800, CRC(c62bbabf) SHA1(f6f28ae33c2ab274105283b22b49ad243780a95e) )
2997 	ROM_LOAD( "chg2",         0x0800, 0x0800, CRC(3591b89d) SHA1(79bb456be6c39c1ccd7d077fbe181523131fb300) )
2998 
2999 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3000 	ROM_LOAD( "pacheart.ch3", 0x0000, 0x0800, CRC(ca8c184c) SHA1(833aa845824ed80777b62f03df36a920ad7c3656) )
3001 	ROM_LOAD( "pacheart.ch4", 0x0800, 0x0800, CRC(1b1d9096) SHA1(53771c573051db43e7185b1d188533056290a620) )
3002 
3003 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3004 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3005 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3006 
3007 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3008 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3009 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  /* timing - not used */
3010 ROM_END
3011 
3012 
3013 ROM_START( joyman )
3014 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
3015 	ROM_LOAD( "1.6e",         0x0000, 0x0800, CRC(d844b679) SHA1(c4486198b3126bb8e05a308c53787e51065f77ae) )
3016 	ROM_LOAD( "5.6k",         0x0800, 0x0800, CRC(ab9c8f29) SHA1(3753b8609c30d85d89acf745cf9303b77be440fd) )
3017 	ROM_LOAD( "2.6f",         0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
3018 	ROM_LOAD( "6.6m",         0x1800, 0x0800, CRC(b3c8d32e) SHA1(8b336fca1300820308cd5c4efc60bf2ba4199302) )
3019 	ROM_LOAD( "3.6h",         0x2000, 0x0800, CRC(9045a44c) SHA1(a97d7016effbd2ace9a7d92ceb04a6ce18fb42f9) )
3020 	ROM_LOAD( "7.6n",         0x2800, 0x0800, CRC(888f3c3e) SHA1(c2b5917bf13071131dd53ea76f0da86706db2d80) )
3021 	ROM_LOAD( "4.6j",         0x3000, 0x0800, CRC(00b553f8) SHA1(57f2e4a6da9f00935fead447b2123a8b95e5d672) )
3022 	ROM_LOAD( "8.6p",         0x3800, 0x0800, CRC(5d5ce992) SHA1(ced7ed39cfc7ec7b2c0459e275577976109ee82f) )
3023 
3024 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3025 	ROM_LOAD( "9.5e",  0x0000, 0x0800, CRC(39b557bc) SHA1(0f602ec84cb25fced89699e430b95b5ae93c83bd) )
3026 	ROM_LOAD( "11.5h", 0x0800, 0x0800, CRC(33e0289e) SHA1(c1b910bdc61e560a8c34298deb11401f718e7330) )
3027 
3028 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3029 	ROM_LOAD( "10.5f", 0x0000, 0x0800, CRC(338771a6) SHA1(7cd68cc428986255d0de29aae894900519e7fda5) )
3030 	ROM_LOAD( "12.5j", 0x0800, 0x0800, CRC(f4f0add5) SHA1(d71c54ef55a755ec1316623d183b4f615ef7c055) )
3031 
3032 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3033 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3034 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3035 
3036 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3037 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3038 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  /* timing - not used */
3039 ROM_END
3040 
3041 
3042 ROM_START( piranha )
3043 	ROM_REGION( 0x10000, REGION_CPU1,0 )     /* 64k for code */
3044 	ROM_LOAD( "pir1.bin", 0x0000, 0x0800, CRC(69a3e6ea) SHA1(c54e5d039a03d3cbee7a5e21bf1e23f4fd913ea6) )
3045 	ROM_LOAD( "pir5.bin", 0x0800, 0x0800, CRC(245e753f) SHA1(4c1183b8449e4e7995f81079953fe0e251251c60) )
3046 	ROM_LOAD( "pir2.bin", 0x1000, 0x0800, CRC(62cb6954) SHA1(0e01c8463b130ab5518ce23368ad028c86cd0a32) )
3047 	ROM_LOAD( "pir6.bin", 0x1800, 0x0800, CRC(cb0700bc) SHA1(1f5e91791ea25eb58d26b9627e98e0b6c1d9becf) )
3048 	ROM_LOAD( "pir3.bin", 0x2000, 0x0800, CRC(843fbfe5) SHA1(6671a3c55ef70447f2a127438e0c39857f8bf6b1) )
3049 	ROM_LOAD( "pir7.bin", 0x2800, 0x0800, CRC(73084d5e) SHA1(cb04a4c9dbf1672ddf478d2fe92b0ffd0159bb9e) )
3050 	ROM_LOAD( "pir4.bin", 0x3000, 0x0800, CRC(4cdf6704) SHA1(97af8bbd08896dffd73e359ec46843dd673c4c9c) )
3051 	ROM_LOAD( "pir8.bin", 0x3800, 0x0800, CRC(b86fedb3) SHA1(f5eaf7ccc1ecaa2417bcc077561efca8e7cb691a) )
3052 
3053 	ROM_REGION( 0x1000, REGION_GFX1 , ROMREGION_DISPOSE)
3054 	ROM_LOAD( "pir9.bin", 0x0000, 0x0800, CRC(0f19eb28) SHA1(0335189a06be01b97ca376d3682ed54df9b121e8) )
3055 	ROM_LOAD( "pir11.bin", 0x0800, 0x0800, CRC(5f8bdabe) SHA1(eb6a0515a381a885b087d165aaefb0277a223715) )
3056 
3057 	ROM_REGION( 0x1000, REGION_GFX2 , ROMREGION_DISPOSE )
3058 	ROM_LOAD( "pir10.bin", 0x0000, 0x0800, CRC(d19399fb) SHA1(c0a75a08f77adb9d0010511c4b6ea99324c33c50) )
3059 	ROM_LOAD( "pir12.bin", 0x0800, 0x0800, CRC(cfb4403d) SHA1(1642a4917be0621ebf5f705c7f68a2b75d1c78d3) )
3060 
3061 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3062 	ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3063 	ROM_LOAD( "piranha.4a", 0x0020, 0x0100, CRC(08c9447b) SHA1(5e4fbfcc7179fc4b1436af9bb709ffc381479315) )
3064 
3065 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3066 	ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3067 	ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  /* timing - not used */
3068 ROM_END
3069 
3070 ROM_START( piranhao )
3071 	ROM_REGION( 0x10000, REGION_CPU1,0 )     /* 64k for code */
3072 	ROM_LOAD( "p1.bin", 0x0000, 0x0800, CRC(c6ce1bfc) SHA1(da145d67331cee292654a185fb09e773dd9d40cd) )
3073 	ROM_LOAD( "p5.bin", 0x0800, 0x0800, CRC(a2655a33) SHA1(2253dcf5c8cbe278118aa1569cf456b13d8cf029) )
3074 	ROM_LOAD( "pir2.bin", 0x1000, 0x0800, CRC(62cb6954) SHA1(0e01c8463b130ab5518ce23368ad028c86cd0a32) )
3075 	ROM_LOAD( "pir6.bin", 0x1800, 0x0800, CRC(cb0700bc) SHA1(1f5e91791ea25eb58d26b9627e98e0b6c1d9becf) )
3076 	ROM_LOAD( "pir3.bin", 0x2000, 0x0800, CRC(843fbfe5) SHA1(6671a3c55ef70447f2a127438e0c39857f8bf6b1) )
3077 	ROM_LOAD( "pir7.bin", 0x2800, 0x0800, CRC(73084d5e) SHA1(cb04a4c9dbf1672ddf478d2fe92b0ffd0159bb9e) )
3078 	ROM_LOAD( "p4.bin", 0x3000, 0x0800, CRC(9363a4d1) SHA1(4cb4a86d92a1f9bf233cac01aa266485a8bb7a34) )
3079 	ROM_LOAD( "p8.bin", 0x3800, 0x0800, CRC(2769979c) SHA1(581592da26199b325de51791ddab66b474ab0413) )
3080 
3081 	ROM_REGION( 0x1000, REGION_GFX1 , ROMREGION_DISPOSE )
3082 	ROM_LOAD( "p9.bin", 0x0000, 0x0800, CRC(94eb7563) SHA1(c99741ce1aebdfb89628fbfaecf5ae6b2719a0ca) )
3083 	ROM_LOAD( "p11.bin", 0x0800, 0x0800, CRC(a3606973) SHA1(72297e1a33102c6a48b4c65f2a0b9bfc75a2df36) )
3084 
3085 	ROM_REGION( 0x1000, REGION_GFX2 , ROMREGION_DISPOSE )
3086 	ROM_LOAD( "p10.bin", 0x0000, 0x0800, CRC(84165a2c) SHA1(95b24620fbf9bd0ec4dd2aeeb6d9305bd475dce2) )
3087 	ROM_LOAD( "p12.bin", 0x0800, 0x0800, CRC(2699ba9e) SHA1(b91ff586defe65b200bea5ade7374c2c7579cd80) )
3088 
3089 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3090 	ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3091 	ROM_LOAD( "piranha.4a", 0x0020, 0x0100, CRC(08c9447b) SHA1(5e4fbfcc7179fc4b1436af9bb709ffc381479315) )
3092 
3093 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3094 	ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3095 	ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )  /* timing - not used */
3096 ROM_END
3097 
3098 ROM_START( piranhah )
3099 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3100 	ROM_LOAD( "pr1.cpu",      0x0000, 0x1000, CRC(bc5ad024) SHA1(a3ed781b514a1068b24a7146a28f0a2adfaa2719) )
3101 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
3102 	ROM_LOAD( "pr3.cpu",      0x2000, 0x1000, CRC(473c379d) SHA1(6e7985367c3e544b4cb98ba8291908df88eafe7f) )
3103 	ROM_LOAD( "pr4.cpu",      0x3000, 0x1000, CRC(63fbf895) SHA1(d328bf3b8f307fb774614834edec211117148e64) )
3104 
3105 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3106 	ROM_LOAD( "pr5.cpu",      0x0000, 0x0800, CRC(3fc4030c) SHA1(5e45f0c19cf96daa17afd2fa1c628d7ac7f4a79c) )
3107 	ROM_LOAD( "pr7.cpu",      0x0800, 0x0800, CRC(30b9a010) SHA1(b0ba8b6cd430feb32d11d092e1959b9f5d240f1b) )
3108 
3109 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3110 	ROM_LOAD( "pr6.cpu",      0x0000, 0x0800, CRC(f3e9c9d5) SHA1(709a75b2457f21f0f1a3d9e7f4c8579468ee5cad) )
3111 	ROM_LOAD( "pr8.cpu",      0x0800, 0x0800, CRC(133d720d) SHA1(8af75ed9e115a996379acedd44d0c09332ec5a03) )
3112 
3113 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3114 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3115 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3116 
3117 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3118 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3119 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3120 ROM_END
3121 
3122 
3123 ROM_START( pacplus )
3124 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3125 	ROM_LOAD( "pacplus.6e",   0x0000, 0x1000, CRC(d611ef68) SHA1(8531c54ca6b0de0ea4ccc34e0e801ba9847e75bc) )
3126 	ROM_LOAD( "pacplus.6f",   0x1000, 0x1000, CRC(c7207556) SHA1(8ba97215bdb75f0e70eb8d3223847efe4dc4fb48) )
3127 	ROM_LOAD( "pacplus.6h",   0x2000, 0x1000, CRC(ae379430) SHA1(4e8613d51a80cf106f883db79685e1e22541da45) )
3128 	ROM_LOAD( "pacplus.6j",   0x3000, 0x1000, CRC(5a6dff7b) SHA1(b956ae5d66683aab74b90469ad36b5bb361d677e) )
3129 
3130 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3131 	ROM_LOAD( "pacplus.5e",   0x0000, 0x1000, CRC(022c35da) SHA1(57d7d723c7b029e3415801f4ce83469ec97bb8a1) )
3132 
3133 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3134 	ROM_LOAD( "pacplus.5f",   0x0000, 0x1000, CRC(4de65cdd) SHA1(9c0699204484be819b77f0b212c792fe9e9fae5d) )
3135 
3136 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3137 	ROM_LOAD( "pacplus.7f",   0x0000, 0x0020, CRC(063dd53a) SHA1(2e43b46ec3b101d1babab87cdaddfa944116ec06) )
3138 	ROM_LOAD( "pacplus.4a",   0x0020, 0x0100, CRC(e271a166) SHA1(cf006536215a7a1d488eebc1d8a2e2a8134ce1a6) )
3139 
3140 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3141 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3142 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3143 ROM_END
3144 
3145 
3146 ROM_START( mspacman )
3147 	ROM_REGION( 0x20000, REGION_CPU1, 0 )	/* 64k for code+64k for decrypted code */
3148 	ROM_LOAD( "pacman.6e",    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
3149 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
3150 	ROM_LOAD( "pacman.6h",    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
3151 	ROM_LOAD( "pacman.6j",    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
3152 	ROM_LOAD( "u5",           0x8000, 0x0800, CRC(f45fbbcd) SHA1(b26cc1c8ee18e9b1daa97956d2159b954703a0ec) )
3153 	ROM_LOAD( "u6",           0x9000, 0x1000, CRC(a90e7000) SHA1(e4df96f1db753533f7d770aa62ae1973349ea4cf) )
3154 	ROM_LOAD( "u7",           0xb000, 0x1000, CRC(c82cd714) SHA1(1d8ac7ad03db2dc4c8c18ade466e12032673f874) )
3155 
3156 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3157 	ROM_LOAD( "5e",           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
3158 
3159 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3160 	ROM_LOAD( "5f",           0x0000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
3161 
3162 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3163 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3164 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3165 
3166 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3167 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3168 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3169 ROM_END
3170 
3171 
3172 ROM_START( mspacmab )
3173 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3174 	ROM_LOAD( "boot1",        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
3175 	ROM_LOAD( "boot2",        0x1000, 0x1000, CRC(0d32de5e) SHA1(13ea0c343de072508908be885e6a2a217bbb3047) )
3176 	ROM_LOAD( "boot3",        0x2000, 0x1000, CRC(1821ee0b) SHA1(5ea4d907dbb2690698db72c4e0b5be4d3e9a7786) )
3177 	ROM_LOAD( "boot4",        0x3000, 0x1000, CRC(165a9dd8) SHA1(3022a408118fa7420060e32a760aeef15b8a96cf) )
3178 	ROM_LOAD( "boot5",        0x8000, 0x1000, CRC(8c3e6de6) SHA1(fed6e9a2b210b07e7189a18574f6b8c4ec5bb49b) )
3179 	ROM_LOAD( "boot6",        0x9000, 0x1000, CRC(368cb165) SHA1(387010a0c76319a1eab61b54c9bcb5c66c4b67a1) )
3180 
3181 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3182 	ROM_LOAD( "5e",           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
3183 
3184 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3185 	ROM_LOAD( "5f",           0x0000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
3186 
3187 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3188 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3189 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3190 
3191 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3192 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3193 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3194 ROM_END
3195 
3196 
3197 ROM_START( mspacmat )
3198 	ROM_REGION( 0x20000, REGION_CPU1, 0 )	/* 64k for code+64k for decrypted code */
3199 	ROM_LOAD( "pacman.6e",    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
3200 	ROM_LOAD( "pacman.6f",    0x1000, 0x1000, CRC(1a6fb2d4) SHA1(674d3a7f00d8be5e38b1fdc208ebef5a92d38329) )
3201 	ROM_LOAD( "pacman.6h",    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
3202 	ROM_LOAD( "pacman.6j",    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )
3203 	ROM_LOAD( "u5",           0x8000, 0x0800, CRC(f45fbbcd) SHA1(b26cc1c8ee18e9b1daa97956d2159b954703a0ec) )
3204 	ROM_LOAD( "u6pacatk",     0x9000, 0x1000, CRC(f6d83f4d) SHA1(6135b187d6b968554d08f2ac00d3a3313efb8638) )
3205 	ROM_LOAD( "u7",           0xb000, 0x1000, CRC(c82cd714) SHA1(1d8ac7ad03db2dc4c8c18ade466e12032673f874) )
3206 
3207 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3208 	ROM_LOAD( "5e",           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
3209 
3210 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3211 	ROM_LOAD( "5f",           0x0000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
3212 
3213 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3214 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3215 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3216 
3217 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3218 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3219 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3220 ROM_END
3221 
3222 
3223 ROM_START( mspacpls )
3224 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3225 	ROM_LOAD( "boot1",        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
3226 	ROM_LOAD( "mspacatk.2",   0x1000, 0x1000, CRC(0af09d31) SHA1(6ff73e4da4910bcd2ca3aa299d8ffad23f8abf79) )
3227 	ROM_LOAD( "boot3",        0x2000, 0x1000, CRC(1821ee0b) SHA1(5ea4d907dbb2690698db72c4e0b5be4d3e9a7786) )
3228 	ROM_LOAD( "boot4",        0x3000, 0x1000, CRC(165a9dd8) SHA1(3022a408118fa7420060e32a760aeef15b8a96cf) )
3229 	ROM_LOAD( "mspacatk.5",   0x8000, 0x1000, CRC(e6e06954) SHA1(ee5b266b1cc178df31fc1da5f66ef4911c653dda) )
3230 	ROM_LOAD( "mspacatk.6",   0x9000, 0x1000, CRC(3b5db308) SHA1(c1ba630cb8fb665c4881a6cce9d3b0d4300bd0eb) )
3231 
3232 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3233 	ROM_LOAD( "5e",           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
3234 
3235 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3236 	ROM_LOAD( "5f",           0x0000, 0x1000, CRC(615af909) SHA1(fd6a1dde780b39aea76bf1c4befa5882573c2ef4) )
3237 
3238 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3239 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3240 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3241 
3242 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3243 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3244 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3245 ROM_END
3246 
3247 
3248 ROM_START( pacgal )
3249 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3250 	ROM_LOAD( "boot1",        0x0000, 0x1000, CRC(d16b31b7) SHA1(bc2247ec946b639dd1f00bfc603fa157d0baaa97) )
3251 	ROM_LOAD( "boot2",        0x1000, 0x1000, CRC(0d32de5e) SHA1(13ea0c343de072508908be885e6a2a217bbb3047) )
3252 	ROM_LOAD( "pacman.7fh",   0x2000, 0x1000, CRC(513f4d5c) SHA1(ae011b89422bd8cbb80389814500bc1427f6ecb2) )
3253 	ROM_LOAD( "pacman.7hj",   0x3000, 0x1000, CRC(70694c8e) SHA1(d0d02f0997b44e1ba5ea27fc3f7af1b956e2a687) )
3254 	ROM_LOAD( "boot5",        0x8000, 0x1000, CRC(8c3e6de6) SHA1(fed6e9a2b210b07e7189a18574f6b8c4ec5bb49b) )
3255 	ROM_LOAD( "boot6",        0x9000, 0x1000, CRC(368cb165) SHA1(387010a0c76319a1eab61b54c9bcb5c66c4b67a1) )
3256 
3257 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3258 	ROM_LOAD( "5e",           0x0000, 0x1000, CRC(5c281d01) SHA1(5e8b472b615f12efca3fe792410c23619f067845) )
3259 
3260 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3261 	ROM_LOAD( "pacman.5ef",   0x0000, 0x0800, CRC(65a3ee71) SHA1(cbbf700eefba2a5bf158983f2ca9688b7c6f5d2b) )
3262 	ROM_LOAD( "pacman.5hj",   0x0800, 0x0800, CRC(50c7477d) SHA1(c04ec282a8cb528df5e38ad750d12ee71612695d) )
3263 
3264 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3265 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3266 	ROM_LOAD( "82s129.4a",    0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3267 
3268 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3269 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3270 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3271 ROM_END
3272 
3273 
3274 ROM_START( mschamp )
3275 	ROM_REGION( 0x20000, REGION_CPU1, 0 )
3276 	ROM_LOAD( "pm4.bin", 0x10000, 0x10000, CRC(7d6b6303) SHA1(65ad72a9188422653c02a48c07ed2661e1e36961) )	/* banked */
3277 
3278 	ROM_REGION( 0x2000, REGION_GFX1, ROMREGION_DISPOSE )
3279 	ROM_LOAD( "pm5.bin", 0x0000, 0x0800, CRC(7fe6b9e2) SHA1(bfd0d84c7ef909ae078d8f60340682b3ff230aa6) )
3280 	ROM_CONTINUE(        0x1000, 0x0800 )
3281 	ROM_CONTINUE(        0x0800, 0x0800 )
3282 	ROM_CONTINUE(        0x1800, 0x0800 )
3283 
3284 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3285 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3286 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3287 
3288 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )
3289 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3290 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )
3291 ROM_END
3292 
3293 
3294 ROM_START( crush )
3295 	ROM_REGION( 2*0x10000, REGION_CPU1, 0 )	/* 64k for code + 64k for opcode copy to hack protection */
3296 	ROM_LOAD( "crushkrl.6e",  0x0000, 0x1000, CRC(a8dd8f54) SHA1(4e3a973ea74a9e145c6997513b98fc80aa478442) )
3297 	ROM_LOAD( "crushkrl.6f",  0x1000, 0x1000, CRC(91387299) SHA1(3ad8c28e02c45667e32860953b157832445a82c8) )
3298 	ROM_LOAD( "crushkrl.6h",  0x2000, 0x1000, CRC(d4455f27) SHA1(53f8ffc28be664fa8a2d756b4c70045a3f041bea) )
3299 	ROM_LOAD( "crushkrl.6j",  0x3000, 0x1000, CRC(d59fc251) SHA1(024605e4485b0ac826217256e5356ed9a6c8ef34) )
3300 
3301 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3302 	ROM_LOAD( "maketrax.5e",  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
3303 
3304 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3305 	ROM_LOAD( "maketrax.5f",  0x0000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
3306 
3307 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3308 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3309 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3310 
3311 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3312 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3313 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3314 ROM_END
3315 
3316 
3317 ROM_START( crush2 )
3318 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3319 	ROM_LOAD( "tp1",          0x0000, 0x0800, CRC(f276592e) SHA1(68ebb7d9f70af868d99ec42c26bc55a54ba1f22c) )
3320 	ROM_LOAD( "tp5a",         0x0800, 0x0800, CRC(3d302abe) SHA1(8ca5cd82d099b55e20f785489158231a1d99a430) )
3321 	ROM_LOAD( "tp2",          0x1000, 0x0800, CRC(25f42e70) SHA1(66de8203c364fd90e8a2b5749c2e40665b2f5830) )
3322 	ROM_LOAD( "tp6",          0x1800, 0x0800, CRC(98279cbe) SHA1(84b5e64bdbc25afab9b6f53e1719640e21a6feba) )
3323 	ROM_LOAD( "tp3",          0x2000, 0x0800, CRC(8377b4cb) SHA1(f828a177f22db9093a00c31e39e16214ce0dc6de) )
3324 	ROM_LOAD( "tp7",          0x2800, 0x0800, CRC(d8e76c8c) SHA1(7c3d7eb07b9256130141f71eba722f7823fd4c32) )
3325 	ROM_LOAD( "tp4",          0x3000, 0x0800, CRC(90b28fa3) SHA1(ff58d2dfb016397daabe2996bc3a7b63d28a4cca) )
3326 	ROM_LOAD( "tp8",          0x3800, 0x0800, CRC(10854e1b) SHA1(b3b9066d9a43796185c00ae12f7bb2bbf42e3a07) )
3327 
3328 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3329 	ROM_LOAD( "tpa",          0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
3330 	ROM_LOAD( "tpc",          0x0800, 0x0800, CRC(e129d76a) SHA1(c9256795c6d0929ade1f24b372dadc2a2b88d897) )
3331 
3332 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3333 	ROM_LOAD( "tpb",          0x0000, 0x0800, CRC(d1899f05) SHA1(dce755511b6262b984a2bca329f454892e486a09) )
3334 	ROM_LOAD( "tpd",          0x0800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
3335 
3336 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3337 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3338 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3339 
3340 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3341 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3342 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3343 ROM_END
3344 
3345 
3346 ROM_START( crush3 )
3347 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3348 	ROM_LOAD( "unkmol.4e",    0x0000, 0x0800, CRC(49150ddf) SHA1(5a20464a40d1d48606664779c85a7679073d7954) )
3349 	ROM_LOAD( "unkmol.6e",    0x0800, 0x0800, CRC(21f47e17) SHA1(1194b5e8b0cce1f480acda3cb6c1fc65988bdc80) )
3350 	ROM_LOAD( "unkmol.4f",    0x1000, 0x0800, CRC(9b6dd592) SHA1(6bb1b7ed95a7a8682a6ab58fa9f02c34beea8cd4) )
3351 	ROM_LOAD( "unkmol.6f",    0x1800, 0x0800, CRC(755c1452) SHA1(a2da17ed0e526dad4d53d332467a3dfd3b2a8cab) )
3352 	ROM_LOAD( "unkmol.4h",    0x2000, 0x0800, CRC(ed30a312) SHA1(15855904422eb603e5c5465bd038a3e8c666c10d) )
3353 	ROM_LOAD( "unkmol.6h",    0x2800, 0x0800, CRC(fe4bb0eb) SHA1(70e480a75421ee0832456f1d30bf45a702192625) )
3354 	ROM_LOAD( "unkmol.4j",    0x3000, 0x0800, CRC(072b91c9) SHA1(808df98c0cfd2367a39e06f30f920fd14887d922) )
3355 	ROM_LOAD( "unkmol.6j",    0x3800, 0x0800, CRC(66fba07d) SHA1(4944d69a38fd823dad38b70433848017ae7027d7) )
3356 
3357 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3358 	ROM_LOAD( "unkmol.5e",    0x0000, 0x0800, CRC(338880a0) SHA1(beba1c71291394442b04fa5f4e1b833d7cf0fa8a) )
3359 	ROM_LOAD( "unkmol.5h",    0x0800, 0x0800, CRC(4ce9c81f) SHA1(90a695ce4a45bde62bdbf09724a3ec6b45674660) )
3360 
3361 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3362 	ROM_LOAD( "unkmol.5f",    0x0000, 0x0800, CRC(752e3780) SHA1(5730ebd8091eba5ac32ddd9db2f42d718b088753) )
3363 	ROM_LOAD( "unkmol.5j",    0x0800, 0x0800, CRC(6e00d2ac) SHA1(aa3f1f3a3b6899bea717d97e4817b13159e552e5) )
3364 
3365 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3366 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3367 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3368 
3369 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3370 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3371 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3372 ROM_END
3373 
3374 
3375 ROM_START( maketrax )
3376 	ROM_REGION( 2*0x10000, REGION_CPU1, 0 )	/* 64k for code + 64k for opcode copy to hack protection */
3377 	ROM_LOAD( "maketrax.6e",  0x0000, 0x1000, CRC(0150fb4a) SHA1(ba41582d5432670654479b4bf6d938d2168858af) )
3378 	ROM_LOAD( "maketrax.6f",  0x1000, 0x1000, CRC(77531691) SHA1(68a450bcc8d832368d0f1cb2815cb5c03451796e) )
3379 	ROM_LOAD( "maketrax.6h",  0x2000, 0x1000, CRC(a2cdc51e) SHA1(80d80235cda3ce19c1dbafacf3d47b1325ad4728) )
3380 	ROM_LOAD( "maketrax.6j",  0x3000, 0x1000, CRC(0b4b5e0a) SHA1(621aece612df612065f776696956ef3671421fac) )
3381 
3382 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3383 	ROM_LOAD( "maketrax.5e",  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
3384 
3385 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3386 	ROM_LOAD( "maketrax.5f",  0x0000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
3387 
3388 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3389 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3390 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3391 
3392 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3393 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3394 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3395 ROM_END
3396 
3397 
3398 ROM_START( maketrxb )
3399 	ROM_REGION( 2*0x10000, REGION_CPU1, 0 )	/* 64k for code + 64k for opcode copy to hack protection */
3400 	ROM_LOAD( "maketrax.6e",  0x0000, 0x1000, CRC(0150fb4a) SHA1(ba41582d5432670654479b4bf6d938d2168858af) )
3401 	ROM_LOAD( "maketrax.6f",  0x1000, 0x1000, CRC(77531691) SHA1(68a450bcc8d832368d0f1cb2815cb5c03451796e) )
3402 	ROM_LOAD( "maketrxb.6h",  0x2000, 0x1000, CRC(6ad342c9) SHA1(5469f3952adc682725a71602b4a00a7751e48a99) )
3403 	ROM_LOAD( "maketrxb.6j",  0x3000, 0x1000, CRC(be27f729) SHA1(0f7b873d33f751fa2fc54f9eede0598cb7d7f3c8) )
3404 
3405 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3406 	ROM_LOAD( "maketrax.5e",  0x0000, 0x1000, CRC(91bad2da) SHA1(096197d0cb6d55bf72b5be045224f4bd6a9cfa1b) )
3407 
3408 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3409 	ROM_LOAD( "maketrax.5f",  0x0000, 0x1000, CRC(aea79f55) SHA1(279021e6771dfa5bd0b7c557aae44434286d91b7) )
3410 
3411 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3412 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3413 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3414 
3415 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3416 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3417 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3418 ROM_END
3419 
3420 ROM_START( korosuke )
3421 	ROM_REGION( 2*0x10000, REGION_CPU1, 0 )	/* 64k for code + 64k for opcode copy to hack protection */
3422 	ROM_LOAD( "kr.6e",        0x0000, 0x1000, CRC(69f6e2da) SHA1(5f06523122d81a079bed080a16b44adb90aa95ad) )
3423 	ROM_LOAD( "kr.6f",        0x1000, 0x1000, CRC(abf34d23) SHA1(6ae16fb8208037fd8b752076dd97e3da09e5cb8f) )
3424 	ROM_LOAD( "kr.6h",        0x2000, 0x1000, CRC(76a2e2e2) SHA1(570aaed91279caab9274024e5a6176bdfe85bedd) )
3425 	ROM_LOAD( "kr.6j",        0x3000, 0x1000, CRC(33e0e3bb) SHA1(43f5da486b9c44b0e4e8c909000786ee8ffee87f) )
3426 
3427 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3428 	ROM_LOAD( "kr.5e",        0x0000, 0x1000, CRC(e0380be8) SHA1(96eb7c5ef91342be67bd2a6c4958412d2572ba2a) )
3429 
3430 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3431 	ROM_LOAD( "kr.5f",        0x0000, 0x1000, CRC(63fec9ee) SHA1(7d136362e08cceba9395c2c469d8fec451c5e396) )
3432 
3433 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3434 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3435 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3436 
3437 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3438 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3439 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3440 ROM_END
3441 
3442 
3443 ROM_START( mbrush )
3444 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3445 	ROM_LOAD( "mbrush.6e",    0x0000, 0x1000, CRC(750fbff7) SHA1(986d20010d4fdd4bac916ac6b3a01bcd09d695ea) )
3446 	ROM_LOAD( "mbrush.6f",    0x1000, 0x1000, CRC(27eb4299) SHA1(af2d7fdedcea766045fc2f20ae383024d1c35731) )
3447 	ROM_LOAD( "mbrush.6h",    0x2000, 0x1000, CRC(d297108e) SHA1(a5bd11f26ba82b66a93d07e8cbc838ad9bd01413) )
3448 	ROM_LOAD( "mbrush.6j",    0x3000, 0x1000, CRC(6fd719d0) SHA1(3de00981264cef24dc2c6277192e071144da2a88) )
3449 
3450 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3451 	ROM_LOAD( "tpa",          0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
3452 	ROM_LOAD( "mbrush.5h",    0x0800, 0x0800, CRC(c15b6967) SHA1(d8f16e2d6af5bf0f610d1e23614c531f67490da9) )
3453 
3454 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3455 	ROM_LOAD( "mbrush.5f",    0x0000, 0x0800, CRC(d5bc5cb8) SHA1(269b82ae2b838c72ae06bff77412f22bb779ad2e) )  /* copyright sign was removed */
3456 	ROM_LOAD( "tpd",          0x0800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
3457 
3458 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3459 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3460 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3461 
3462 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3463 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3464 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3465 ROM_END
3466 
3467 
3468 ROM_START( paintrlr )
3469 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3470 	ROM_LOAD( "paintrlr.1",   0x0000, 0x0800, CRC(556d20b5) SHA1(c0a74def85bca108fc56726d22bbea1fc051e1ff) )
3471 	ROM_LOAD( "paintrlr.5",   0x0800, 0x0800, CRC(4598a965) SHA1(866dbe7c0dbca10c5d5ec3efa3c79fb1ff1c5b56) )
3472 	ROM_LOAD( "paintrlr.2",   0x1000, 0x0800, CRC(2da29c81) SHA1(e77f84e2f3136a116b75b40869e7f59404b0dbab) )
3473 	ROM_LOAD( "paintrlr.6",   0x1800, 0x0800, CRC(1f561c54) SHA1(ef1159f2203ff6b5c17e3a79f32e8cafb12a49f7) )
3474 	ROM_LOAD( "paintrlr.3",   0x2000, 0x0800, CRC(e695b785) SHA1(bc627a1a03d2e701fa4051acee469a4516cfb5bf) )
3475 	ROM_LOAD( "paintrlr.7",   0x2800, 0x0800, CRC(00e6eec0) SHA1(e98850cf6e1762d08225a95f26a26766f8fa7303) )
3476 	ROM_LOAD( "paintrlr.4",   0x3000, 0x0800, CRC(0fd5884b) SHA1(fa9614b625b3d71a6e9d5f883da625ad88e3eb5e) )
3477 	ROM_LOAD( "paintrlr.8",   0x3800, 0x0800, CRC(4900114a) SHA1(47aee5bad136c19b203958b7ddac583d45018249) )
3478 
3479 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3480 	ROM_LOAD( "tpa",          0x0000, 0x0800, CRC(c7617198) SHA1(95b204af0345163f93811cc770ee0ca2851a39c1) )
3481 	ROM_LOAD( "mbrush.5h",    0x0800, 0x0800, CRC(c15b6967) SHA1(d8f16e2d6af5bf0f610d1e23614c531f67490da9) )
3482 
3483 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3484 	ROM_LOAD( "mbrush.5f",    0x0000, 0x0800, CRC(d5bc5cb8) SHA1(269b82ae2b838c72ae06bff77412f22bb779ad2e) )  /* copyright sign was removed */
3485 	ROM_LOAD( "tpd",          0x0800, 0x0800, CRC(d35d1caf) SHA1(65dd7861e05651485626465dc97215fed58db551) )
3486 
3487 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3488 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3489 	ROM_LOAD( "2s140.4a",     0x0020, 0x0100, CRC(63efb927) SHA1(5c144a613fc4960a1dfd7ead89e7fee258a63171) )
3490 
3491 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3492 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3493 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3494 ROM_END
3495 
3496 
3497 ROM_START( ponpoko )
3498 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3499 	ROM_LOAD( "ppokoj1.bin",  0x0000, 0x1000, CRC(ffa3c004) SHA1(d9e3186dcd4eb94d02bd24ad56030b248721537f) )
3500 	ROM_LOAD( "ppokoj2.bin",  0x1000, 0x1000, CRC(4a496866) SHA1(4b8bd13e58040c30ca032b54fb47d889677e8c6f) )
3501 	ROM_LOAD( "ppokoj3.bin",  0x2000, 0x1000, CRC(17da6ca3) SHA1(1a57767557c13fa3d08e4451fb9fb1f7219b26ef) )
3502 	ROM_LOAD( "ppokoj4.bin",  0x3000, 0x1000, CRC(9d39a565) SHA1(d4835ee97c9b3c63504d8b576a11f0a3a97057ec) )
3503 	ROM_LOAD( "ppoko5.bin",   0x8000, 0x1000, CRC(54ca3d7d) SHA1(b54299b00573fbd6d3278586df0c12c09235615d) )
3504 	ROM_LOAD( "ppoko6.bin",   0x9000, 0x1000, CRC(3055c7e0) SHA1(ab3fb9c8846effdcea0569d08a84c5fa19057a8f) )
3505 	ROM_LOAD( "ppoko7.bin",   0xa000, 0x1000, CRC(3cbe47ca) SHA1(577c79c016be26a9fc7895cef0f30bf3f0b15097) )
3506 	ROM_LOAD( "ppokoj8.bin",  0xb000, 0x1000, CRC(04b63fc6) SHA1(9b86ae34aaefa2813d29a4f7b24cee40eadcc6a1) )
3507 
3508 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3509 	ROM_LOAD( "ppoko9.bin",   0x0000, 0x1000, CRC(b73e1a06) SHA1(f1229e804eb15827b71f0e769a8c9e496c6d1de7) )
3510 
3511 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3512 	ROM_LOAD( "ppoko10.bin",  0x0000, 0x1000, CRC(62069b5d) SHA1(1b58ad1c2cc2d12f4e492fdd665b726d50c80364) )
3513 
3514 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3515 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3516 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3517 
3518 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3519 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3520 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3521 ROM_END
3522 
3523 
3524 ROM_START( ponpokov )
3525 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3526 	ROM_LOAD( "ppoko1.bin",   0x0000, 0x1000, CRC(49077667) SHA1(3e760cd4dbe5913e58d786caf510237ff635c775) )
3527 	ROM_LOAD( "ppoko2.bin",   0x1000, 0x1000, CRC(5101781a) SHA1(a82fbd2418ac7866f9463092e9dd37fd7ba9b694) )
3528 	ROM_LOAD( "ppoko3.bin",   0x2000, 0x1000, CRC(d790ed22) SHA1(2d32f91f6993232db40b44b35bd2503d85e5c874) )
3529 	ROM_LOAD( "ppoko4.bin",   0x3000, 0x1000, CRC(4e449069) SHA1(d5e6e346f80e66eb0db530de9721d9b6f22e86ae) )
3530 	ROM_LOAD( "ppoko5.bin",   0x8000, 0x1000, CRC(54ca3d7d) SHA1(b54299b00573fbd6d3278586df0c12c09235615d) )
3531 	ROM_LOAD( "ppoko6.bin",   0x9000, 0x1000, CRC(3055c7e0) SHA1(ab3fb9c8846effdcea0569d08a84c5fa19057a8f) )
3532 	ROM_LOAD( "ppoko7.bin",   0xa000, 0x1000, CRC(3cbe47ca) SHA1(577c79c016be26a9fc7895cef0f30bf3f0b15097) )
3533 	ROM_LOAD( "ppoko8.bin",   0xb000, 0x1000, CRC(b39be27d) SHA1(c299d22d26da68bec8fc53c898523135ec4016fa) )
3534 
3535 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3536 	ROM_LOAD( "ppoko9.bin",   0x0000, 0x1000, CRC(b73e1a06) SHA1(f1229e804eb15827b71f0e769a8c9e496c6d1de7) )
3537 
3538 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3539 	ROM_LOAD( "ppoko10.bin",  0x0000, 0x1000, CRC(62069b5d) SHA1(1b58ad1c2cc2d12f4e492fdd665b726d50c80364) )
3540 
3541 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3542 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3543 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3544 
3545 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3546 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3547 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3548 ROM_END
3549 
3550 
3551 ROM_START( eyes )
3552 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3553 	ROM_LOAD( "d7",           0x0000, 0x1000, CRC(3b09ac89) SHA1(a8f1c918da74495bb73172f39364dada38ae4713) )
3554 	ROM_LOAD( "e7",           0x1000, 0x1000, CRC(97096855) SHA1(10d3b164bbbe5eee86e881a1434f0c114ee8adff) )
3555 	ROM_LOAD( "f7",           0x2000, 0x1000, CRC(731e294e) SHA1(96c0308c146dbd85e244c4530af9ae8df78c86de) )
3556 	ROM_LOAD( "h7",           0x3000, 0x1000, CRC(22f7a719) SHA1(eb000b606ecedd52bebbb232e661fb1ef205f8b0) )
3557 
3558 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3559 	ROM_LOAD( "d5",           0x0000, 0x1000, CRC(d6af0030) SHA1(652b779533e3f00e81cc102b78d367d503b06f33) )
3560 
3561 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3562 	ROM_LOAD( "e5",           0x0000, 0x1000, CRC(a42b5201) SHA1(2e5cede3b6039c7bd5230de27d02aaa3f35a7b64) )
3563 
3564 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3565 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3566 	ROM_LOAD( "82s129.4a",    0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) )
3567 
3568 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3569 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3570 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3571 ROM_END
3572 
3573 
3574 ROM_START( eyes2 )
3575 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3576 	ROM_LOAD( "g38201.7d",    0x0000, 0x1000, CRC(2cda7185) SHA1(7ec3ee9bb90e6a1d83ad3aa12fd62184e07b1399) )
3577 	ROM_LOAD( "g38202.7e",    0x1000, 0x1000, CRC(b9fe4f59) SHA1(2d97dc1a0458b406ca0c50d6b8bd0dbe58d21464) )
3578 	ROM_LOAD( "g38203.7f",    0x2000, 0x1000, CRC(d618ba66) SHA1(76d93d8bc09bafac464ebfd002869e21535a365b) )
3579 	ROM_LOAD( "g38204.7h",    0x3000, 0x1000, CRC(cf038276) SHA1(bcf4e129a151e2245e630cf865ce6cb009b405a5) )
3580 
3581 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3582 	ROM_LOAD( "g38205.5d",    0x0000, 0x1000, CRC(03b1b4c7) SHA1(a90b2fbaee2888ee4f0bcdf80a069c8594ef5ea1) )  /* this one has a (c) sign */
3583 
3584 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3585 	ROM_LOAD( "e5",           0x0000, 0x1000, CRC(a42b5201) SHA1(2e5cede3b6039c7bd5230de27d02aaa3f35a7b64) )
3586 
3587 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3588 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3589 	ROM_LOAD( "82s129.4a",    0x0020, 0x0100, CRC(d8d78829) SHA1(19820d1651423210083a087fb70ebea73ad34951) )
3590 
3591 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3592 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3593 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3594 ROM_END
3595 
3596 
3597 ROM_START( mrtnt )
3598 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3599 	ROM_LOAD( "tnt.1",        0x0000, 0x1000, CRC(0e836586) SHA1(5037b7c618f05bc3d6a33694729ae575b9aa7dbb) )
3600 	ROM_LOAD( "tnt.2",        0x1000, 0x1000, CRC(779c4c5b) SHA1(5ecac4f5b64b306c73d8f57d5260b586789b3055) )
3601 	ROM_LOAD( "tnt.3",        0x2000, 0x1000, CRC(ad6fc688) SHA1(e5729e4e42a5b9b3a26de8a44b3a78b49c8b1d8e) )
3602 	ROM_LOAD( "tnt.4",        0x3000, 0x1000, CRC(d77557b3) SHA1(689746653b1e19fbcddd0d71db2b86d1019235aa) )
3603 
3604 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3605 	ROM_LOAD( "tnt.5",        0x0000, 0x1000, CRC(3038cc0e) SHA1(f8f5927ea4cbfda8fa7546abd766ba2e8b020004) )
3606 
3607 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3608 	ROM_LOAD( "tnt.6",        0x0000, 0x1000, CRC(97634d8b) SHA1(4c0fa4bc44bbb4b4614b5cc05e811c469c0e78e8) )
3609 
3610 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3611 	ROM_LOAD( "mrtnt08.bin",  0x0000, 0x0020, NO_DUMP )
3612 	ROM_LOAD( "mrtnt04.bin",  0x0020, 0x0100, NO_DUMP )
3613 
3614 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3615 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3616 	ROM_LOAD( "82s126.3m"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3617 ROM_END
3618 
3619 ROM_START( gorkans )
3620 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3621 	ROM_LOAD( "gorkans8.rom",        0x0000, 0x0800, CRC(55100b18) SHA1(8f657c1b2865987b60d95960c5297a82bb1cc6e0) )
3622 	ROM_LOAD( "gorkans4.rom",        0x0800, 0x0800, CRC(b5c604bf) SHA1(0f3608d630fba9d4734a3ef30199a5d1a067cdff) )
3623  	ROM_LOAD( "gorkans7.rom",        0x1000, 0x0800, CRC(b8c6def4) SHA1(58ac78fc5b3559ef771ca708a79089b7a00cf6b8) )
3624 	ROM_LOAD( "gorkans3.rom",        0x1800, 0x0800, CRC(4602c840) SHA1(c77de0e991c44c2ee8a4537e264ac8fbb1b4b7db) )
3625 	ROM_LOAD( "gorkans6.rom",        0x2000, 0x0800, CRC(21412a62) SHA1(ece44c3204cf182db23b594ebdc051b51340ba2b) )
3626 	ROM_LOAD( "gorkans2.rom",        0x2800, 0x0800, CRC(a013310b) SHA1(847ba7ca033eaf49245bef49d6513619edec3472) )
3627 	ROM_LOAD( "gorkans5.rom",        0x3000, 0x0800, CRC(122969b2) SHA1(0803e1ec5e5ed742ea83ff156ae75a2d48530f71) )
3628 	ROM_LOAD( "gorkans1.rom",        0x3800, 0x0800, CRC(f2524b11) SHA1(1216b963e73c1de63cc323e361875f6810d83a05) )
3629 
3630 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3631 	ROM_LOAD( "gorkgfx4.rom",        0x0000, 0x0800, CRC(39cd0dbc) SHA1(8d6882dad94b26da8f0737e7f7f99946fe273f1b) )
3632 	ROM_LOAD( "gorkgfx2.rom",        0x0800, 0x0800, CRC(33d52535) SHA1(e78ac5afa1ce996c41005c619ba2d2aa718497fc) )
3633 
3634 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3635 	ROM_LOAD( "gorkgfx3.rom",        0x0000, 0x0800, CRC(4b6b7970) SHA1(1d8b65cad0b834fb920135fc907432042bc83db2) )
3636 	ROM_LOAD( "gorkgfx1.rom",        0x0800, 0x0800, CRC(ed70bb3c) SHA1(7e51ddcf496f3b80fe186acc8bc6a0e574340346) )
3637 
3638 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3639 	ROM_LOAD( "gorkprom.4",   0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3640 	ROM_LOAD( "gorkprom.1",   0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3641 
3642 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3643 	ROM_LOAD( "gorkprom.3",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3644 	ROM_LOAD( "gorkprom.2"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3645 ROM_END
3646 
3647 ROM_START( eggor )
3648 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3649 	ROM_LOAD( "1.bin",        0x0000, 0x0800, CRC(818ed154) SHA1(8c0f555a3ab1d20a2c284d721b31278a0ddf9e51) )
3650 	ROM_LOAD( "5.bin",        0x0800, 0x0800, CRC(a4b21d93) SHA1(923b7a06f9146c7bcda4cdb16b15d2bbbec95eab) )
3651 	ROM_LOAD( "2.bin",        0x1000, 0x0800, CRC(5d7a23ed) SHA1(242fd973b0bde91c38e1f5e7f6c53d737019ec9c) )
3652 	ROM_LOAD( "6.bin",        0x1800, 0x0800, CRC(e9dbca8d) SHA1(b66783d68df778910cc190159aba07b476ff01af) )
3653 	ROM_LOAD( "3.bin",        0x2000, 0x0800, CRC(4318ab85) SHA1(eda9bb1bb8102e1c2cf838d0682732a45609f430) )
3654 	ROM_LOAD( "7.bin",        0x2800, 0x0800, CRC(03214d7f) SHA1(0e1b602fbdedfe81452109912fed006653bdc455) )
3655 	ROM_LOAD( "4.bin",        0x3000, 0x0800, CRC(dc805be4) SHA1(18604b221cd8af23ff8a05c954a42c3aa9e1948a) )
3656 	ROM_LOAD( "8.bin",        0x3800, 0x0800, CRC(f9ae204b) SHA1(53022d2d7b83f44c46fdcca454815cf1f65c34d1) )
3657 
3658 
3659 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3660 	ROM_LOAD( "9.bin",        0x0000, 0x0800, CRC(96ad8626) SHA1(f003a6e1b00a51bfe326eac18658fafd58c88f88) )
3661 	ROM_LOAD( "11.bin",       0x0800, 0x0800, CRC(cc324017) SHA1(ea96572e3e24714033688fe7ca99af2fc707c1d3) )
3662 
3663 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3664 	ROM_LOAD( "10.bin",        0x0000, 0x0800, CRC(7c97f513) SHA1(6f78c7cde321ea6ac51d08d0e3620653d0af87db) )
3665 	ROM_LOAD( "12.bin",        0x0800, 0x0800, CRC(2e930602) SHA1(4012ec0cc542061b27b9b508bedde3f2ffc11838) )
3666 
3667 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3668 	/* the board was stripped of its proms, these are the standard ones from Pacman, they look reasonable
3669 	   but without another board its impossible to say if they are actually good */
3670 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, BAD_DUMP CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3671 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, BAD_DUMP CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3672 
3673 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3674 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3675 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3676 ROM_END
3677 
3678 ROM_START( lizwiz )
3679 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3680 	ROM_LOAD( "6e.cpu",       0x0000, 0x1000, CRC(32bc1990) SHA1(467c9d70e07f403b6b9118aebe4e6d0abb40a5c1) )
3681 	ROM_LOAD( "6f.cpu",       0x1000, 0x1000, CRC(ef24b414) SHA1(12fce48008c4f9387df0c84f3b0d7c5a1b35d898) )
3682 	ROM_LOAD( "6h.cpu",       0x2000, 0x1000, CRC(30bed83d) SHA1(8c2458f98320c6887580c71632b544da0a582ba2) )
3683 	ROM_LOAD( "6j.cpu",       0x3000, 0x1000, CRC(dd09baeb) SHA1(f91447ec1f06bf95106e6872d80dcb82e1d42ffb) )
3684 	ROM_LOAD( "wiza",         0x8000, 0x1000, CRC(f6dea3a6) SHA1(ec0b123fd2e6de6681ca14f35fda249b2c2ec44f) )
3685 	ROM_LOAD( "wizb",         0x9000, 0x1000, CRC(f27fb5a8) SHA1(3ea384a1064302709d97fc16b347d3c012e90ac7) )
3686 
3687 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3688 	ROM_LOAD( "5e.cpu",       0x0000, 0x1000, CRC(45059e73) SHA1(c960cd5720bfa21db73e1000fe8be7d5baf2a3a1) )
3689 
3690 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3691 	ROM_LOAD( "5f.cpu",       0x0000, 0x1000, CRC(d2469717) SHA1(194c8f816e5ff7614b3db4f355223667105738fa) )
3692 
3693 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3694 	ROM_LOAD( "7f.cpu",       0x0000, 0x0020, CRC(7549a947) SHA1(4f2c3e7d6c38f0b9a90317f91feb3f86c9a0d0a5) )
3695 	ROM_LOAD( "4a.cpu",       0x0020, 0x0100, CRC(5fdca536) SHA1(3a09b29374031aaa3722932aff974a467b3bb201) )
3696 
3697 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3698 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3699 	ROM_LOAD( "82s126.3m"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3700 ROM_END
3701 
3702 
3703 ROM_START( theglobp )
3704 	ROM_REGION( 0x20000, REGION_CPU1, 0 )	/* 64k for code */
3705 	ROM_LOAD( "glob.u2",      0x0000, 0x2000, CRC(829d0bea) SHA1(89f52b459a03fb40b9bbd97ac8a292f7ead6faba) )
3706 	ROM_LOAD( "glob.u3",      0x2000, 0x2000, CRC(31de6628) SHA1(35a47dcf34efd74b5b2fda137e06a3dcabd74854) )
3707 
3708 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3709 	ROM_LOAD( "glob.5e",      0x0000, 0x1000, CRC(53688260) SHA1(9ce0d1d67d12743b69e8190bf7506b00b2f02955) )
3710 
3711 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3712 	ROM_LOAD( "glob.5f",      0x0000, 0x1000, CRC(051f59c7) SHA1(e1e1322686997e5bcdac164704b328cce352ae42) )
3713 
3714 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3715 	ROM_LOAD( "glob.7f",      0x0000, 0x0020, CRC(1f617527) SHA1(448845cab63800a05fcb106897503d994377f78f) )
3716 	ROM_LOAD( "glob.4a",      0x0020, 0x0100, CRC(28faa769) SHA1(7588889f3102d4e0ca7918f536556209b2490ea1) )
3717 
3718 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3719 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3720 	ROM_LOAD( "82s126.3m"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3721 ROM_END
3722 
3723 
3724 ROM_START( beastf )
3725 	ROM_REGION( 0x20000, REGION_CPU1, 0 )	/* 64k for code */
3726 	ROM_LOAD( "bf-u2.bin",    0x0000, 0x2000, CRC(3afc517b) SHA1(5b74bca9e9cd4d8bcf94a340f8f0e53fe1dcfc1d) )
3727 	ROM_LOAD( "bf-u3.bin",    0x2000, 0x2000, CRC(8dbd76d0) SHA1(058c01e87ad583eb99d5043a821e6c68f1b30267) )
3728 
3729 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3730 	ROM_LOAD( "beastf.5e",    0x0000, 0x1000, CRC(5654dc34) SHA1(fc2336b951a3ab48d4fc4f36a8dd80e79e8ca1a0) )
3731 
3732 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3733 	ROM_LOAD( "beastf.5f",    0x0000, 0x1000, CRC(1b30ca61) SHA1(8495d8a280346246f00c4f1dc42ab5a2a02c5863) )
3734 
3735 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3736 	ROM_LOAD( "glob.7f",      0x0000, 0x0020, CRC(1f617527) SHA1(448845cab63800a05fcb106897503d994377f78f) )
3737 	ROM_LOAD( "glob.4a",      0x0020, 0x0100, CRC(28faa769) SHA1(7588889f3102d4e0ca7918f536556209b2490ea1) )
3738 
3739 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3740 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3741 	ROM_LOAD( "82s126.3m"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3742 ROM_END
3743 
3744 
3745 ROM_START( vanvan )
3746 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3747 	ROM_LOAD( "van-1.50",     0x0000, 0x1000, CRC(cf1b2df0) SHA1(938b4434c0129cf9151f829901d00e47dca68956) )
3748 	ROM_LOAD( "van-2.51",     0x1000, 0x1000, CRC(df58e1cb) SHA1(5e0fc713b50d46c7650d6564c20882891864cdc5) )
3749 	ROM_LOAD( "van-3.52",     0x2000, 0x1000, CRC(15571e24) SHA1(d259d81fce16e151b32ac81f94a13b7044fdef95) )
3750 	ROM_LOAD( "van-4.53",     0x3000, 0x1000, CRC(b724cbe0) SHA1(5fe1d3b81d07c538c31daf6522b26bbf35cfc512) )
3751 	ROM_LOAD( "van-5.39",     0x8000, 0x1000, CRC(db67414c) SHA1(19eba21dfea24507b386ea1b5ce737c5822b0696) )
3752 
3753 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3754 	ROM_LOAD( "van-20.18",    0x0000, 0x1000, CRC(60efbe66) SHA1(ac398f77bfeab3d18ffd496e117825bfbeed4b62) )
3755 
3756 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3757 	ROM_LOAD( "van-21.19",    0x0000, 0x1000, CRC(5dd53723) SHA1(f75c869ac364f477d532e695347ceb5e281f9efa) )
3758 
3759 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3760 	ROM_LOAD( "6331-1.6",     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
3761 	ROM_LOAD( "6301-1.37",    0x0020, 0x0100, CRC(4b803d9f) SHA1(59b7f2e22c4e0b20ac3b12d88996a6dfeebc5933) )
3762 ROM_END
3763 
3764 ROM_START( vanvank )
3765 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3766 	ROM_LOAD( "van1.bin",	  0x0000, 0x1000, CRC(00f48295) SHA1(703fab63760cadcce042b491d7d1d45301319158) )
3767 	ROM_LOAD( "van-2.51",     0x1000, 0x1000, CRC(df58e1cb) SHA1(5e0fc713b50d46c7650d6564c20882891864cdc5) )
3768 	ROM_LOAD( "van-3.52",     0x2000, 0x1000, CRC(15571e24) SHA1(d259d81fce16e151b32ac81f94a13b7044fdef95) )
3769 	ROM_LOAD( "van4.bin",     0x3000, 0x1000, CRC(f8b37ed5) SHA1(34f844be891dfa5f6a1160de6f428e9dacd618a8) )
3770 	ROM_LOAD( "van5.bin",     0x8000, 0x1000, CRC(b8c1e089) SHA1(c614fb9159210f6cf68f5085bfebd928caded91c) )
3771 
3772 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3773 	ROM_LOAD( "van-20.18",    0x0000, 0x1000, CRC(60efbe66) SHA1(ac398f77bfeab3d18ffd496e117825bfbeed4b62) )
3774 
3775 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3776 	ROM_LOAD( "van-21.19",    0x0000, 0x1000, CRC(5dd53723) SHA1(f75c869ac364f477d532e695347ceb5e281f9efa) )
3777 
3778 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3779 	ROM_LOAD( "6331-1.6",     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
3780 	ROM_LOAD( "6301-1.37",    0x0020, 0x0100, CRC(4b803d9f) SHA1(59b7f2e22c4e0b20ac3b12d88996a6dfeebc5933) )
3781 ROM_END
3782 
3783 ROM_START( dremshpr )
3784 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3785 	ROM_LOAD( "red_1.50",	  0x0000, 0x1000, CRC(830c6361) SHA1(a28c517a9b7f509e0dedacea64b9740335315457) )
3786 	ROM_LOAD( "red_2.51",     0x1000, 0x1000, CRC(d22551cc) SHA1(2c513908899b618f0c0a0c3e48c4a4aad90f627e) )
3787 	ROM_LOAD( "red_3.52",     0x2000, 0x1000, CRC(0713a34a) SHA1(37733b557e6afe116f5d3c8bc918f59124a8229d) )
3788 	ROM_LOAD( "red_4.53",     0x3000, 0x1000, CRC(f38bcaaa) SHA1(cdebeaf5b77ac5a8b4668cff97b6351e075b392b) )
3789 	ROM_LOAD( "red_5.39",     0x8000, 0x1000, CRC(6a382267) SHA1(7d6a1c75de8a6eb714ba9a18dd3c497832145bcc) )
3790 	ROM_LOAD( "red_6.40",     0x9000, 0x1000, CRC(4cf8b121) SHA1(04162b41e747dfa442b958bd360e49993c5c4162) )
3791 	ROM_LOAD( "red_7.41",     0xa000, 0x1000, CRC(bd4fc4ba) SHA1(50a5858acde5fd4b3476f5502141e7d492c3af9f) )
3792 
3793 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3794 	ROM_LOAD( "red-20.18",    0x0000, 0x1000, CRC(2d6698dc) SHA1(5f5e54fdcff53c6ba783d585cd994cf563c53613) )
3795 
3796 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3797 	ROM_LOAD( "red-21.19",    0x0000, 0x1000, CRC(38c9ce9b) SHA1(c719bcd77549228e72ad9bcc42f5db0070ec5dca) )
3798 
3799 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3800 	ROM_LOAD( "6331-1.6",     0x0000, 0x0020, CRC(ce1d9503) SHA1(b829bed78c02d9998c1aecb8f6813e90b417a7f2) )
3801 	ROM_LOAD( "6301-1.37",    0x0020, 0x0100, CRC(39d6fb5c) SHA1(848f9cd02f90006e8a2aae3693b57ae391cf498b) )
3802 ROM_END
3803 
3804 
3805 ROM_START( alibaba )
3806 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3807 	ROM_LOAD( "6e",           0x0000, 0x1000, CRC(38d701aa) SHA1(4e886a4a17f441f6d1d213c4c433b40dd38eefbc) )
3808 	ROM_LOAD( "6f",           0x1000, 0x1000, CRC(3d0e35f3) SHA1(6b9a1fd11db9f521417566ae4c7065151aa272b5) )
3809 	ROM_LOAD( "6h",           0x2000, 0x1000, CRC(823bee89) SHA1(5381a4fcbc9fa97574c6df2978c7500164df75e5) )
3810 	ROM_LOAD( "6k",           0x3000, 0x1000, CRC(474d032f) SHA1(4516a60ec83e3c3388cd56f538f49afc86a50983) )
3811 	ROM_LOAD( "6l",           0x8000, 0x1000, CRC(5ab315c1) SHA1(6f3507ad10432f9123150b8bc1d0fb52372a412b) )
3812 	ROM_LOAD( "6m",           0xa000, 0x0800, CRC(438d0357) SHA1(7caaf668906b76d4947e988c444723b33f8e9726) )
3813 
3814 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3815 	ROM_LOAD( "5e",           0x0000, 0x0800, CRC(85bcb8f8) SHA1(986170627953582b1e6fbca59e5c15cf8c4de9c7) )
3816 	ROM_LOAD( "5h",           0x0800, 0x0800, CRC(38e50862) SHA1(094d090bd0563f75d6ff1bfe2302cae941a89504) )
3817 
3818 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3819 	ROM_LOAD( "5f",           0x0000, 0x0800, CRC(b5715c86) SHA1(ed6aee778295b0182d32846b5e41776b5b15420c) )
3820 	ROM_LOAD( "5k",           0x0800, 0x0800, CRC(713086b3) SHA1(a1609bae637207a82920678f05bcc10a5ff096de) )
3821 
3822 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3823 	ROM_LOAD( "alibaba.7f",   0x0000, 0x0020, NO_DUMP )  /* missing */
3824 	ROM_LOAD( "alibaba.4a",   0x0020, 0x0100, NO_DUMP )
3825 
3826 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3827 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3828 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3829 ROM_END
3830 
3831 
3832 ROM_START( jumpshot )
3833 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
3834 	ROM_LOAD( "6e",           0x0000, 0x1000, CRC(f00def9a) SHA1(465a7f368e61a1e6614d6eab0fa2c6319920eaa5) )
3835 	ROM_LOAD( "6f",           0x1000, 0x1000, CRC(f70deae2) SHA1(a8a8369e865b62cb9ed66d3de2396c6a5fced549) )
3836 	ROM_LOAD( "6h",           0x2000, 0x1000, CRC(894d6f68) SHA1(8693ffc29587cdd1be0b42cede53f8f450a2c7fa) )
3837 	ROM_LOAD( "6j",           0x3000, 0x1000, CRC(f15a108a) SHA1(db5c8394f688c6f889cadddeeae4fbca63c29a4c) )
3838 
3839 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3840 	ROM_LOAD( "5e",           0x0000, 0x1000, CRC(d9fa90f5) SHA1(3c37fe077a77baa802230dddbc4bb2c05985d2bb) )
3841 
3842 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3843 	ROM_LOAD( "5f",           0x0000, 0x1000, CRC(2ec711c1) SHA1(fcc3169f48eb7d4af533ad0169701e4230ff5a1f) )
3844 
3845 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3846 	ROM_LOAD( "prom.7f",      0x0000, 0x0020, CRC(872b42f3) SHA1(bbcd392ba3d2a5715e92fa0f7a7cf1e7e6e655a2) )
3847 	ROM_LOAD( "prom.4a",      0x0020, 0x0100, CRC(0399f39f) SHA1(e98f08da4666cab44e01acb760a1bd2fc858bc0d) )
3848 
3849 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
3850 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3851 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
3852 ROM_END
3853 
3854 
3855 ROM_START( shootbul )
3856 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* 64k for code */
3857 	ROM_LOAD( "sb6e.cpu",     0x0000, 0x1000, CRC(25daa5e9) SHA1(8257de5e0e62235d05d74b53e5fc716e85cb05b9) )
3858 	ROM_LOAD( "sb6f.cpu",     0x1000, 0x1000, CRC(92144044) SHA1(905a354a806da47ab40577171acdac7db635d102) )
3859 	ROM_LOAD( "sb6h.cpu",     0x2000, 0x1000, CRC(43b7f99d) SHA1(6372763fbbca3581376204c5e58ceedd3f47fc60) )
3860 	ROM_LOAD( "sb6j.cpu",     0x3000, 0x1000, CRC(bc4d3bbf) SHA1(2fa15b339166b9a5bf711b58a1705bc0b9e528e2) )
3861 
3862 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3863 	ROM_LOAD( "sb5e.cpu",     0x0000, 0x1000, CRC(07c6c5aa) SHA1(cbe99ece795f29fdeef374cbf9b1f45ff065e803) )
3864 
3865 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3866 	ROM_LOAD( "sb5f.cpu",     0x0000, 0x1000, CRC(eaec6837) SHA1(ff21b0fd5381afb1ba7f5920132006ee8e6d10eb) )
3867 
3868 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3869 	ROM_LOAD( "7f.rom",       0x0000, 0x0020, CRC(ec578b98) SHA1(196da49cc260f967ec5f01bc3c75b11077c85998) )
3870 	ROM_LOAD( "4a.rom",       0x0020, 0x0100, CRC(81a6b30f) SHA1(60c767fd536c325151a2b759fdbce4ba41e0c78f) )
3871 
3872 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3873 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3874 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */
3875 ROM_END
3876 
3877 
3878 ROM_START( acitya )
3879 	ROM_REGION( 0x20000, REGION_CPU1, 0 ) /* 64k for code */
3880 	ROM_LOAD( "aca_u2.bin",   0x0000, 0x2000, CRC(261c2fdc) SHA1(b4e7e6c8d8e401c7e4673213074802a73b9886a2) )
3881 	ROM_LOAD( "aca_u3.bin",   0x2000, 0x2000, CRC(05fab4ca) SHA1(5172229eda25920eeaa6d9f610f2bcfa674979b7) )
3882 
3883 
3884 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3885 	ROM_LOAD( "aca_5e.bin",   0x0000, 0x1000, CRC(7f2dd2c9) SHA1(aa7ea70355904989b99d568d1e055e8272cfa8ca) )
3886 
3887  	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3888 	ROM_LOAD( "aca_5e.bin",   0x0000, 0x1000, CRC(7f2dd2c9) SHA1(aa7ea70355904989b99d568d1e055e8272cfa8ca) )
3889 
3890 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3891 	ROM_LOAD( "aca_7f.bin",   0x0000, 0x0020, CRC(133bb744) SHA1(da4074f3ea30202973f0b6c9ad05a992bb44eafd) )
3892 	ROM_LOAD( "aca_4a.bin",   0x0020, 0x0100, CRC(8e29208f) SHA1(a30a405fbd43d27a8d403f6c3545178564dede5d) )
3893 
3894 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3895 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3896 	ROM_LOAD( "82s126.3m"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */
3897 ROM_END
3898 
3899 ROM_START( bwcasino )
3900 	ROM_REGION( 0x20000, REGION_CPU1, 0 ) /* 64k for code */
3901 	ROM_LOAD( "bwc_u2.bin",   0x0000, 0x2000, CRC(e2eea868) SHA1(9e9dae02ab746ef48981f42a75c192c5aae0ffee) )
3902 	ROM_LOAD( "bwc_u3.bin",   0x2000, 0x2000, CRC(a935571e) SHA1(ab4f53be2544593fc8eb4c4bcccdec4191c0c626) )
3903 
3904 
3905 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
3906 	ROM_LOAD( "bwc_5e.bin",   0x0000, 0x1000, CRC(e334c01e) SHA1(cc6e50e3cf51eb8b7b27aa7351733954da8128ff) )
3907 
3908 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
3909 	ROM_LOAD( "bwc_5e.bin",   0x0000, 0x1000, CRC(e334c01e) SHA1(cc6e50e3cf51eb8b7b27aa7351733954da8128ff) )
3910 
3911 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3912 	ROM_LOAD( "aca_7f.bin",   0x0000, 0x0020, CRC(133bb744) SHA1(da4074f3ea30202973f0b6c9ad05a992bb44eafd) )
3913 	ROM_LOAD( "aca_4a.bin",   0x0020, 0x0100, CRC(8e29208f) SHA1(a30a405fbd43d27a8d403f6c3545178564dede5d) )
3914 
3915 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3916 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3917 	ROM_LOAD( "82s126.3m"  ,  0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */
3918 ROM_END
3919 
3920 
3921 ROM_START( newpuc2 )
3922 	ROM_REGION( 0x10000, REGION_CPU1,0 )     /* 64k for code */
3923 	ROM_LOAD( "6e.cpu", 0x0000, 0x0800, CRC(69496a98) SHA1(2934051d6305cc3654951bc1aacf2b8902f463fe) )
3924 	ROM_LOAD( "6k.cpu", 0x0800, 0x0800, CRC(158fc01c) SHA1(2f7a1e24d259fdc716ef8e7354a87780595f3c4e) )
3925 	ROM_LOAD( "6f.cpu", 0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
3926 	ROM_LOAD( "6m.cpu", 0x1800, 0x0800, CRC(70810ccf) SHA1(3941678606aab1e53356a6781e24d84e83cc88ce) )
3927 	ROM_LOAD( "6h.cpu", 0x2000, 0x0800, CRC(81719de8) SHA1(e886d04ac0e20562a4bd2df7676bdf9aa98665d7) )
3928 	ROM_LOAD( "6n.cpu", 0x2800, 0x0800, CRC(3f250c58) SHA1(53bf2270c26f10f7e97960cd4c96e09e16b9bdf3) )
3929 	ROM_LOAD( "6j.cpu", 0x3000, 0x0800, CRC(e6675736) SHA1(85d0bb79bc96acbc67fcb70ff4d453c870a6c8ea) )
3930 	ROM_LOAD( "6p.cpu", 0x3800, 0x0800, CRC(1f81e765) SHA1(442d8a82e79ae842f1ffb46369c632c1d0b83161) )
3931 
3932 	ROM_REGION( 0x1000, REGION_GFX1 , ROMREGION_DISPOSE)
3933 	ROM_LOAD( "5e.cpu", 0x0000, 0x0800, CRC(2066a0b7) SHA1(6d4ccc27d6be185589e08aa9f18702b679e49a4a) )
3934 	ROM_LOAD( "5h.cpu", 0x0800, 0x0800, CRC(777c70d3) SHA1(ed5ccbeb1102ec9f837577de3aa51317c32520d6) )
3935 
3936 	ROM_REGION( 0x1000, REGION_GFX2 , ROMREGION_DISPOSE )
3937 	ROM_LOAD( "5f.cpu", 0x0000, 0x0800, CRC(ca8c184c) SHA1(833aa845824ed80777b62f03df36a920ad7c3656) )
3938 	ROM_LOAD( "5j.cpu", 0x0800, 0x0800, CRC(7dc75a81) SHA1(d3fe1cad3b594052d8367685febb2335b0ad62f4) )
3939 
3940 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3941 	ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3942 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3943 
3944 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3945 	ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3946 	ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   /*timing - not used */
3947 ROM_END
3948 
3949 
3950 ROM_START( newpuc2b )
3951 	ROM_REGION( 0x10000, REGION_CPU1,0 )     /* 64k for code */
3952 	ROM_LOAD( "np2b1.bin", 0x0000, 0x0800, CRC(9d027c4a) SHA1(88e094880057451a75cdc2ce9477403021813982) )
3953 	ROM_LOAD( "6k.cpu", 0x0800, 0x0800, CRC(158fc01c) SHA1(2f7a1e24d259fdc716ef8e7354a87780595f3c4e) )
3954 	ROM_LOAD( "6f.cpu", 0x1000, 0x0800, CRC(7d177853) SHA1(9b5ddaaa8b564654f97af193dbcc29f81f230a25) )
3955 	ROM_LOAD( "6m.cpu", 0x1800, 0x0800, CRC(70810ccf) SHA1(3941678606aab1e53356a6781e24d84e83cc88ce) )
3956 	ROM_LOAD( "np2b3.bin", 0x2000, 0x0800, CRC(f5e4b2b1) SHA1(68464f61cc50931f6cd4bb493dd703c139500825) )
3957 	ROM_LOAD( "6n.cpu", 0x2800, 0x0800, CRC(3f250c58) SHA1(53bf2270c26f10f7e97960cd4c96e09e16b9bdf3) )
3958 	ROM_LOAD( "np2b4.bin", 0x3000, 0x0800, CRC(f068e009) SHA1(a30763935e116559d535654827230bb21a5734bb) )
3959 	ROM_LOAD( "np2b8.bin", 0x3800, 0x0800, CRC(1fadcc2f) SHA1(2d636cfc2b52b671ac5a26a03b1195e2cf8d4718) )
3960 
3961 	ROM_REGION( 0x1000, REGION_GFX1 , ROMREGION_DISPOSE)
3962 	ROM_LOAD( "5e.cpu", 0x0000, 0x0800, CRC(2066a0b7) SHA1(6d4ccc27d6be185589e08aa9f18702b679e49a4a) )
3963 	ROM_LOAD( "5h.cpu", 0x0800, 0x0800, CRC(777c70d3) SHA1(ed5ccbeb1102ec9f837577de3aa51317c32520d6) )
3964 
3965 	ROM_REGION( 0x1000, REGION_GFX2 , ROMREGION_DISPOSE )
3966 	ROM_LOAD( "5f.cpu", 0x0000, 0x0800, CRC(ca8c184c) SHA1(833aa845824ed80777b62f03df36a920ad7c3656) )
3967 	ROM_LOAD( "5j.cpu", 0x0800, 0x0800, CRC(7dc75a81) SHA1(d3fe1cad3b594052d8367685febb2335b0ad62f4) )
3968 
3969 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3970 	ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3971 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
3972 
3973 	ROM_REGION( 0x0200, REGION_SOUND1, 0 ) /* sound PROMs */
3974 	ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
3975 	ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   /*timing - not used */
3976 ROM_END
3977 
3978 ROM_START( nmouse )
3979 	ROM_REGION( 0x10000, REGION_CPU1,0 )     /* 64k for code */
3980 	ROM_LOAD( "naumouse.d7", 0x0000, 0x0800, CRC(e447ecfa) SHA1(45bce93f4a4e1c9994fb6b0c81691a14cae43ae5) )
3981 	ROM_LOAD( "naumouse.d6", 0x0800, 0x0800, CRC(2e6f13d9) SHA1(1278bd1ddd84ac5b956cb4d25c151871fab2b1d9) )
3982 	ROM_LOAD( "naumouse.e7", 0x1000, 0x0800, CRC(44a80f97) SHA1(d06ffd96c72c3c8a3c71df564e8f5f9fb289b398) )
3983 	ROM_LOAD( "naumouse.e6", 0x1800, 0x0800, CRC(9c7a46bd) SHA1(04771a99295fc6d3c41807e2c4437ff4e7e4ba4a) )
3984 	ROM_LOAD( "naumouse.h7", 0x2000, 0x0800, CRC(5bc94c5d) SHA1(9238add33bbde151532b7ce3917566d9b4f67c62) )
3985 	ROM_LOAD( "naumouse.h6", 0x2800, 0x0800, CRC(1af29e22) SHA1(628291aa97f5f88793f624af66a0c2b021328ef9) )
3986 	ROM_LOAD( "naumouse.j7", 0x3000, 0x0800, CRC(cc3be185) SHA1(92fdc87256d16c4e400da83e3ca2786012766767) )
3987 	ROM_LOAD( "naumouse.j6", 0x3800, 0x0800, CRC(66b3e5dc) SHA1(0ca7e67ef0ff908bb9953399f024e8b1aaf74e55) )
3988 
3989 	ROM_REGION( 0x1000, REGION_GFX1 , ROMREGION_DISPOSE)
3990 	ROM_LOAD( "naumouse.d5", 0x0000, 0x0800, CRC(2ea7cc3f) SHA1(ffeca1c382a7ae0cd898eab2905a0e8e96b95bee) )
3991 	ROM_LOAD( "naumouse.h5", 0x0800, 0x0800, CRC(0511fcea) SHA1(52a498ca024b5c758ad0c978d3f67cdbbf2c56d3) )
3992 
3993 	ROM_REGION( 0x1000, REGION_GFX2 , ROMREGION_DISPOSE )
3994 	ROM_LOAD( "naumouse.e5", 0x0000, 0x0800, CRC(f5a627cd) SHA1(2b8bc6d29e2aead924423a232c130151c8a8ebe5) )
3995 	ROM_LOAD( "naumouse.j5", 0x0800, 0x0800, CRC(65f2580e) SHA1(769905837b98736ef2bfcaafa7820083dad80c57) )
3996 
3997 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
3998 	ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
3999 	ROM_LOAD( "naumouse.a4", 0x0020, 0x0100, CRC(d8772167) SHA1(782fa53f0de7262924a92d75f12a42bc4e44c812) )
4000 
4001 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
4002 	ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
4003 	ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   /*timing - not used */
4004 ROM_END
4005 
4006 ROM_START( nmouseb )
4007 	ROM_REGION( 0x10000, REGION_CPU1,0 )     /* 64k for code */
4008 	ROM_LOAD( "naumouse.d7", 0x0000, 0x0800, CRC(e447ecfa) SHA1(45bce93f4a4e1c9994fb6b0c81691a14cae43ae5) )
4009 	ROM_LOAD( "naumouse.d6", 0x0800, 0x0800, CRC(2e6f13d9) SHA1(1278bd1ddd84ac5b956cb4d25c151871fab2b1d9) )
4010 	ROM_LOAD( "naumouse.e7", 0x1000, 0x0800, CRC(44a80f97) SHA1(d06ffd96c72c3c8a3c71df564e8f5f9fb289b398) )
4011 	ROM_LOAD( "naumouse.e6", 0x1800, 0x0800, CRC(9c7a46bd) SHA1(04771a99295fc6d3c41807e2c4437ff4e7e4ba4a) )
4012 	ROM_LOAD( "snatch2.bin", 0x2000, 0x0800, CRC(405aa389) SHA1(687c82d94309c4ed83b72d656dbe7068b1de1b44) )
4013 	ROM_LOAD( "snatch6.bin", 0x2800, 0x0800, CRC(f58e7df4) SHA1(a0853374a2a8c3ab572154d12e2e6297c97bd8b9) )
4014 	ROM_LOAD( "snatch3.bin", 0x3000, 0x0800, CRC(06fb18ec) SHA1(ad57ffdb0fc5acdddeb85c4ce3ad618124fd7a6d) )
4015 	ROM_LOAD( "snatch7.bin", 0x3800, 0x0800, CRC(d187b82b) SHA1(db739d5894a7fbfbc2e384ee1bdfe170935b2df7) )
4016 
4017 	ROM_REGION( 0x1000, REGION_GFX1 , ROMREGION_DISPOSE)
4018 	ROM_LOAD( "naumouse.d5", 0x0000, 0x0800, CRC(2ea7cc3f) SHA1(ffeca1c382a7ae0cd898eab2905a0e8e96b95bee) )
4019 	ROM_LOAD( "naumouse.h5", 0x0800, 0x0800, CRC(0511fcea) SHA1(52a498ca024b5c758ad0c978d3f67cdbbf2c56d3) )
4020 
4021 	ROM_REGION( 0x1000, REGION_GFX2 , ROMREGION_DISPOSE )
4022 	ROM_LOAD( "naumouse.e5", 0x0000, 0x0800, CRC(f5a627cd) SHA1(2b8bc6d29e2aead924423a232c130151c8a8ebe5) )
4023 	ROM_LOAD( "snatch11.bin", 0x0800, 0x0800, CRC(330230a5) SHA1(3de4e454dd51b2ef05b5e1c74c8d12f8cb3f42ef) )
4024 
4025 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
4026 	ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
4027 	ROM_LOAD( "naumouse.a4", 0x0020, 0x0100, CRC(d8772167) SHA1(782fa53f0de7262924a92d75f12a42bc4e44c812) )
4028 
4029 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
4030 	ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
4031 	ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )   /*timing - not used */
4032 ROM_END
4033 
4034 
4035 ROM_START( bigbucks )
4036 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
4037 	ROM_LOAD( "p.rom",        0x0000, 0x4000, CRC(eea6c1c9) SHA1(eaea4ffbcdfbb38364887830fd00ac87fe838006) )
4038 	ROM_LOAD( "m.rom",        0x8000, 0x2000, CRC(bb8f7363) SHA1(11ebdb1a3c589515240d006646f2fb3ead06bdcf) )
4039 
4040 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
4041 	ROM_LOAD( "5e.cpu",       0x0000, 0x1000, CRC(18442c37) SHA1(fac445d15731532364315852492b48470039c0ca) )
4042 
4043 	ROM_REGION( 0x1000, REGION_GFX2, 0 )
4044 	/* Not Used */
4045 
4046 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
4047 	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
4048 	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )
4049 
4050 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound PROMs */
4051 	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
4052 	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
4053 
4054 	ROM_REGION( 0x60000, REGION_USER1, 0 )	/* Question ROMs */
4055 	ROM_LOAD( "rom1.rom",     0x00000, 0x8000, CRC(90b7785f) SHA1(7fc5aa2be868b87ffb9e957c204dabf1508e212e) )
4056 	ROM_LOAD( "rom2.rom",     0x08000, 0x8000, CRC(60172d77) SHA1(92cb2312c6f3395f7ddb45e58695dd000d6ec756) )
4057 	ROM_LOAD( "rom3.rom",     0x10000, 0x8000, CRC(a2207320) SHA1(18ad94b62e7e611ab8a1cbf2d2c6576b8840da2f) )
4058 	ROM_LOAD( "rom4.rom",     0x18000, 0x8000, CRC(5a74c1f9) SHA1(0c55a27a492099ac98daefe0c199761ab1ccce82) )
4059 	ROM_LOAD( "rom5.rom",     0x20000, 0x8000, CRC(93bc1080) SHA1(53e40b8bbc82b3be044f8a39b71fbb811e9263d8) )
4060 	ROM_LOAD( "rom6.rom",     0x28000, 0x8000, CRC(eea2423f) SHA1(34de5495061be7d498773f9a723052c4f13d4a0c) )
4061 	ROM_LOAD( "rom7.rom",     0x30000, 0x8000, CRC(96694055) SHA1(64ebbd85c2a60936f60345b5d573cd9eda196d3f) )
4062 	ROM_LOAD( "rom8.rom",     0x38000, 0x8000, CRC(e68ebf8e) SHA1(cac17ac0231a0526e7f4a58bcb2cae3d05727ee6) )
4063 	ROM_LOAD( "rom9.rom",     0x40000, 0x8000, CRC(fd20921d) SHA1(eedf93841b5ebe9afc4184e089d6694bbdb64445) )
4064 	ROM_LOAD( "rom10.rom",    0x48000, 0x8000, CRC(5091b951) SHA1(224b65795d11599cdbd78e984ac2c71e8847041c) )
4065 	ROM_LOAD( "rom11.rom",    0x50000, 0x8000, CRC(705128db) SHA1(92d45bfd09f61a1a3ac46c2e0ec1f634f04cf049) )
4066 	ROM_LOAD( "rom12.rom",    0x58000, 0x8000, CRC(74c776e7) SHA1(03860d90461b01df4b734b784dddb20843ba811a) )
4067 ROM_END
4068 
4069 
4070 ROM_START( drivfrcp )
4071 	ROM_REGION( 0x8000, REGION_CPU1, 0 )	/* 32k for code */
4072 	ROM_LOAD( "drivforc.1",   0x0000, 0x1000, CRC(10b59d27) SHA1(fa09f3b95319a3487fa54b72198f41211663e087) )
4073 	ROM_CONTINUE(			  0x2000, 0x1000 )
4074 	ROM_CONTINUE(			  0x4000, 0x1000 )
4075 	ROM_CONTINUE(			  0x6000, 0x1000 )
4076 
4077 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
4078 	ROM_LOAD( "drivforc.2",   0x0000, 0x1000, CRC(56331cb5) SHA1(520f2a18ebbdfb093c8e4d144749a3f5cbce19bf) )
4079 	ROM_CONTINUE(			  0x2000, 0x1000 )
4080 	ROM_CONTINUE(			  0x1000, 0x1000 )
4081 	ROM_CONTINUE(			  0x3000, 0x1000 )
4082 
4083 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
4084 	ROM_LOAD( "drivforc.pr1", 0x0000, 0x0020, CRC(045aa47f) SHA1(ea9034f441937df43a7c0bdb502165fb27d06635) )
4085 	ROM_LOAD( "drivforc.pr2", 0x0020, 0x0100, CRC(9e6d2f1d) SHA1(7bcbcd4c0a40264c3b0667fc6a39ed4f2a86cafe) )
4086 ROM_END
4087 
4088 
4089 ROM_START( 8bpm )
4090 	ROM_REGION( 0x8000, REGION_CPU1, 0 )	/* 32k for code */
4091 	ROM_LOAD( "8bpmp.bin",    0x0000, 0x1000, CRC(b4f7eba7) SHA1(9b15543895c70f5ee2b4f91b8af78a884453e4f1) )
4092 	ROM_CONTINUE(			  0x2000, 0x1000 )
4093 	ROM_CONTINUE(			  0x4000, 0x1000 )
4094 	ROM_CONTINUE(			  0x6000, 0x1000 )
4095 
4096 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
4097 	ROM_LOAD( "8bpmc.bin",    0x0000, 0x1000, CRC(1c894a6d) SHA1(04e5c548290095d1d0f873b6c2e639e6dbe8ff35) )
4098 	ROM_CONTINUE(			  0x2000, 0x1000 )
4099 	ROM_CONTINUE(			  0x1000, 0x1000 )
4100 	ROM_CONTINUE(			  0x3000, 0x1000 )
4101 
4102 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
4103 	ROM_LOAD( "8bpm.pr1", 0x0000, 0x0020, NO_DUMP )
4104 	ROM_LOAD( "8bpm.pr2", 0x0020, 0x0100, NO_DUMP )
4105 	/* used only to display something until we have the dumps */
4106 	ROM_LOAD( "drivforc.pr1", 0x0000, 0x0020, CRC(045aa47f) SHA1(ea9034f441937df43a7c0bdb502165fb27d06635) )
4107 	ROM_LOAD( "drivforc.pr2", 0x0020, 0x0100, CRC(9e6d2f1d) SHA1(7bcbcd4c0a40264c3b0667fc6a39ed4f2a86cafe) )
4108 ROM_END
4109 
4110 
4111 ROM_START( porky )
4112 	ROM_REGION( 0x8000, REGION_CPU1, 0 )	/* 32k for code */
4113 	ROM_LOAD( "pp",			  0x0000, 0x1000, CRC(00592624) SHA1(41e554178a89b95bed1f570fab28e2a04f7a68d6) )
4114 	ROM_CONTINUE(			  0x2000, 0x1000 )
4115 	ROM_CONTINUE(			  0x4000, 0x1000 )
4116 	ROM_CONTINUE(			  0x6000, 0x1000 )
4117 
4118 	/* what is it used for ? */
4119 	ROM_REGION( 0x4000, REGION_USER1, 0 )
4120 	ROM_LOAD( "ps",			  0x0000, 0x4000, CRC(2efb9861) SHA1(8c5a23ed15bd985af78a54d2121fe058e53703bb) )
4121 
4122 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
4123 	ROM_LOAD( "pc",			  0x0000, 0x1000, CRC(a20e3d39) SHA1(3762289a495d597d6b9540ea7fa663128a9d543c) )
4124 	ROM_CONTINUE(			  0x2000, 0x1000 )
4125 	ROM_CONTINUE(			  0x1000, 0x1000 )
4126 	ROM_CONTINUE(			  0x3000, 0x1000 )
4127 
4128 	ROM_REGION( 0x0120, REGION_PROMS, 0 )
4129 	ROM_LOAD( "7f",			  0x0000, 0x0020, CRC(98bce7cc) SHA1(e461862ccaf7526421631ac6ebb9b09cd0bc9909) )
4130 	ROM_LOAD( "4a",			  0x0020, 0x0100, CRC(30fe0266) SHA1(5081a19ceaeb937ee1378f3374e9d5949d17c3e8) )
4131 ROM_END
4132 
4133 /*************************************
4134  *
4135  *	Driver initialization
4136  *
4137  *************************************/
4138 
4139 static void maketrax_rom_decode(void)
4140 {
4141 	unsigned char *rom = memory_region(REGION_CPU1);
4142 	int diff = memory_region_length(REGION_CPU1) / 2;
4143 
4144 
4145 	/* patch protection using a copy of the opcodes so ROM checksum */
4146 	/* tests will not fail */
4147 	memory_set_opcode_base(0,rom+diff);
4148 
4149 	memcpy(rom+diff,rom,diff);
4150 
4151 	rom[0x0415 + diff] = 0xc9;
4152 	rom[0x1978 + diff] = 0x18;
4153 	rom[0x238e + diff] = 0xc9;
4154 	rom[0x3ae5 + diff] = 0xe6;
4155 	rom[0x3ae7 + diff] = 0x00;
4156 	rom[0x3ae8 + diff] = 0xc9;
4157 	rom[0x3aed + diff] = 0x86;
4158 	rom[0x3aee + diff] = 0xc0;
4159 	rom[0x3aef + diff] = 0xb0;
4160 }
4161 
DRIVER_INIT(maketrax)4162 static DRIVER_INIT( maketrax )
4163 {
4164 	/* set up protection handlers */
4165 	install_mem_read_handler(0, 0x5080, 0x50bf, maketrax_special_port2_r);
4166 	install_mem_read_handler(0, 0x50c0, 0x50ff, maketrax_special_port3_r);
4167 
4168 	maketrax_rom_decode();
4169 }
4170 
korosuke_rom_decode(void)4171 static void korosuke_rom_decode(void)
4172 {
4173 	unsigned char *rom = memory_region(REGION_CPU1);
4174 	int diff = memory_region_length(REGION_CPU1) / 2;
4175 
4176 
4177 	/* patch protection using a copy of the opcodes so ROM checksum */
4178 	/* tests will not fail */
4179 	memory_set_opcode_base(0,rom+diff);
4180 
4181 	memcpy(rom+diff,rom,diff);
4182 
4183 	rom[0x044c + diff] = 0xc9;
4184 	rom[0x1973 + diff] = 0x18;
4185 	rom[0x238c + diff] = 0xc9;
4186 	rom[0x3ae9 + diff] = 0xe6;	// not changed
4187 	rom[0x3aeb + diff] = 0x00;
4188 	rom[0x3aec + diff] = 0xc9;
4189 	rom[0x3af1 + diff] = 0x86;
4190 	rom[0x3af2 + diff] = 0xc0;
4191 	rom[0x3af3 + diff] = 0xb0;
4192 }
4193 
DRIVER_INIT(korosuke)4194 static DRIVER_INIT( korosuke )
4195 {
4196 	/* set up protection handlers */
4197 	install_mem_read_handler(0, 0x5080, 0x5080, korosuke_special_port2_r);
4198 	install_mem_read_handler(0, 0x50c0, 0x50ff, korosuke_special_port3_r);
4199 
4200 	korosuke_rom_decode();
4201 }
4202 
DRIVER_INIT(ponpoko)4203 static DRIVER_INIT( ponpoko )
4204 {
4205 	int i, j;
4206 	unsigned char *RAM, temp;
4207 
4208 	/* The gfx data is swapped wrt the other Pac-Man hardware games. */
4209 	/* Here we revert it to the usual format. */
4210 
4211 	/* Characters */
4212 	RAM = memory_region(REGION_GFX1);
4213 	for (i = 0;i < memory_region_length(REGION_GFX1);i += 0x10)
4214 	{
4215 		for (j = 0; j < 8; j++)
4216 		{
4217 			temp          = RAM[i+j+0x08];
4218 			RAM[i+j+0x08] = RAM[i+j+0x00];
4219 			RAM[i+j+0x00] = temp;
4220 		}
4221 	}
4222 
4223 	/* Sprites */
4224 	RAM = memory_region(REGION_GFX2);
4225 	for (i = 0;i < memory_region_length(REGION_GFX2);i += 0x20)
4226 	{
4227 		for (j = 0; j < 8; j++)
4228 		{
4229 			temp          = RAM[i+j+0x18];
4230 			RAM[i+j+0x18] = RAM[i+j+0x10];
4231 			RAM[i+j+0x10] = RAM[i+j+0x08];
4232 			RAM[i+j+0x08] = RAM[i+j+0x00];
4233 			RAM[i+j+0x00] = temp;
4234 		}
4235 	}
4236 }
4237 
eyes_decode(unsigned char * data)4238 static void eyes_decode(unsigned char *data)
4239 {
4240 	int j;
4241 	unsigned char swapbuffer[8];
4242 
4243 	for (j = 0; j < 8; j++)
4244 	{
4245 		swapbuffer[j] = data[(j >> 2) + (j & 2) + ((j & 1) << 2)];
4246 	}
4247 
4248 	for (j = 0; j < 8; j++)
4249 	{
4250 		char ch = swapbuffer[j];
4251 
4252 		data[j] = (ch & 0x80) | ((ch & 0x10) << 2) |
4253 					 (ch & 0x20) | ((ch & 0x40) >> 2) | (ch & 0x0f);
4254 	}
4255 }
4256 
DRIVER_INIT(eyes)4257 static DRIVER_INIT( eyes )
4258 {
4259 	int i;
4260 	unsigned char *RAM;
4261 
4262 	/* CPU ROMs */
4263 
4264 	/* Data lines D3 and D5 swapped */
4265 	RAM = memory_region(REGION_CPU1);
4266 	for (i = 0; i < 0x4000; i++)
4267 	{
4268 		RAM[i] =  (RAM[i] & 0xc0) | ((RAM[i] & 0x08) << 2) |
4269 				  (RAM[i] & 0x10) | ((RAM[i] & 0x20) >> 2) | (RAM[i] & 0x07);
4270 	}
4271 
4272 
4273 	/* Graphics ROMs */
4274 
4275 	/* Data lines D4 and D6 and address lines A0 and A2 are swapped */
4276 	RAM = memory_region(REGION_GFX1);
4277 	for (i = 0;i < memory_region_length(REGION_GFX1);i += 8)
4278 		eyes_decode(&RAM[i]);
4279 	RAM = memory_region(REGION_GFX2);
4280 	for (i = 0;i < memory_region_length(REGION_GFX2);i += 8)
4281 		eyes_decode(&RAM[i]);
4282 }
4283 
4284 
DRIVER_INIT(pacplus)4285 static DRIVER_INIT( pacplus )
4286 {
4287 	pacplus_decode();
4288 }
4289 
DRIVER_INIT(jumpshot)4290 static DRIVER_INIT( jumpshot )
4291 {
4292 	jumpshot_decode();
4293 }
4294 
4295 static DRIVER_INIT( 8bpm )
4296 {
4297 	UINT8 *RAM = memory_region(REGION_CPU1);
4298 	int i;
4299 
4300 	/* Data lines D0 and D6 swapped */
4301 	for( i = 0; i < 0x8000; i++ )
4302 	{
4303 		RAM[i] = BITSWAP8(RAM[i],7,0,5,4,3,2,1,6);
4304 	}
4305 }
4306 
DRIVER_INIT(porky)4307 static DRIVER_INIT( porky )
4308 {
4309 	UINT8 *RAM = memory_region(REGION_CPU1);
4310 	int i;
4311 
4312 	/* Data lines D0 and D4 swapped */
4313 	for(i = 0; i < 0x8000; i++)
4314 	{
4315 		RAM[i] = BITSWAP8(RAM[i],7,6,5,0,3,2,1,4);
4316 	}
4317 
4318 }
4319 
4320 
4321 /*************************************
4322  *
4323  *	Game drivers
4324  *
4325  *************************************/
4326 
4327 /*          rom       parent    machine   inp       init */
4328 GAME( 1980, puckman,  0,        pacman,   pacman,   0,        ROT90,  "Namco", "PuckMan (Japan set 1)" )
4329 GAME( 1980, puckmana, puckman,  pacman,   pacman,   0,        ROT90,  "Namco", "PuckMan (Japan set 2)" )
4330 GAME( 1980, pacman,   puckman,  pacman,   pacman,   0,        ROT90,  "[Namco] (Midway license)", "Pac-Man (Midway)" )
4331 GAME( 1981, puckmod,  puckman,  pacman,   pacman,   0,        ROT90,  "Namco", "PuckMan (harder?)" )
4332 GAME( 1981, pacmod,   puckman,  pacman,   pacman,   0,        ROT90,  "[Namco] (Midway license)", "Pac-Man (Midway, harder)" )
4333 GAME( 1981, hangly,   puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Hangly-Man (set 1)" )
4334 GAME( 1981, hangly2,  puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Hangly-Man (set 2)" )
4335 GAME( 1981, hangly3,  puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Hangly-Man (set 3)" )
4336 GAME( 1980, newpuckx, puckman,  pacman,   pacman,   0,        ROT90,  "hack", "New Puck-X" )
4337 GAME( 1981, pacheart, puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Pac-Man (Hearts)" )
4338 GAME( 1982, joyman,   puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Joyman" )
4339 GAME( 1980, newpuc2,  puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Newpuc2" )
4340 GAME( 1980, newpuc2b, puckman,  pacman,   pacman,   0,        ROT90,  "hack", "Newpuc2 (set 2)" )
4341 GAME( 1981, piranha,  puckman,  piranha,  mspacman, eyes,     ROT90,  "GL (US Billiards License)", "Piranha" )
4342 GAME( 1981, piranhao, puckman,  piranha,  mspacman, eyes,     ROT90,  "GL (US Billiards License)", "Piranha (older)" )
4343 GAME( 1981, piranhah, puckman,  pacman,   mspacman, 0,        ROT90,  "hack", "Piranha (hack)" )
4344 GAME( 1981, nmouse,   0	     ,  nmouse ,  nmouse,   eyes,     ROT90,  "Amenip (Palcom Queen River)", "Naughty Mouse (set 1)" )
4345 GAME( 1981, nmouseb,  nmouse ,  nmouse ,  nmouse,   eyes,     ROT90,  "Amenip Nova Games Ltd.", "Naughty Mouse (set 2)" )
4346 GAME( 1982, pacplus,  0,        pacplus,  pacman,   pacplus,  ROT90,  "[Namco] (Midway license)", "Pac-Man Plus" )
4347 GAME( 1981, mspacman, 0,        mspacman, mspacman, 0,        ROT90,  "Midway", "Ms. Pac-Man" )
4348 GAME( 1981, mspacmab, mspacman, pacman,   mspacman, 0,        ROT90,  "bootleg", "Ms. Pac-Man (bootleg)" )
4349 GAME( 1981, mspacmat, mspacman, mspacman, mspacman, 0,        ROT90,  "hack", "Ms. Pac Attack" )
4350 GAME( 1981, mspacpls, mspacman, mspacpls, mspacpls, 0,        ROT90,  "hack", "Ms. Pac-Man Plus" )
4351 GAME( 1981, pacgal,   mspacman, pacman,   mspacman, 0,        ROT90,  "hack", "Pac-Gal" )
4352 GAME( 1995, mschamp,  mspacman, mschamp,  mschamp,  0,        ROT90,  "hack", "Ms. Pacman Champion Edition / Super Zola Pac Gal" )
4353 GAME( 1981, crush,    0,        pacman,   maketrax, maketrax, ROT90,  "Kural Samno Electric", "Crush Roller (Kural Samno)" )
4354 GAME( 1981, crush2,   crush,    pacman,   maketrax, 0,        ROT90,  "Kural Esco Electric", "Crush Roller (Kural Esco - bootleg?)" )
4355 GAME( 1981, crush3,   crush,    pacman,   maketrax, eyes,     ROT90,  "Kural Electric", "Crush Roller (Kural - bootleg?)" )
4356 GAME( 1981, maketrax, crush,    pacman,   maketrax, maketrax, ROT270, "[Kural] (Williams license)", "Make Trax (set 1)" )
4357 GAME( 1981, maketrxb, crush,    pacman,   maketrax, maketrax, ROT270, "[Kural] (Williams license)", "Make Trax (set 2)" )
4358 GAME( 1981, korosuke, crush,    pacman,   korosuke, korosuke, ROT90,  "Kural Electric", "Korosuke Roller" )
4359 GAME( 1981, mbrush,   crush,    pacman,   mbrush,   0,        ROT90,  "bootleg", "Magic Brush" )
4360 GAME( 1981, paintrlr, crush,    pacman,   paintrlr, 0,        ROT90,  "bootleg", "Paint Roller" )
4361 GAME( 1982, ponpoko,  0,        pacman,   ponpoko,  ponpoko,  ROT0,   "Sigma Enterprises Inc.", "Ponpoko" )
4362 GAME( 1982, ponpokov, ponpoko,  pacman,   ponpoko,  ponpoko,  ROT0,   "Sigma Enterprises Inc. (Venture Line license)", "Ponpoko (Venture Line)" )
4363 GAME( 1982, eyes,     0,        pacman,   eyes,     eyes,     ROT90,  "Digitrex Techstar (Rock-ola license)", "Eyes (Digitrex Techstar)" )
4364 GAME( 1982, eyes2,    eyes,     pacman,   eyes,     eyes,     ROT90,  "Techstar (Rock-ola license)", "Eyes (Techstar)" )
4365 GAMEX(1983, mrtnt,    0,        pacman,   mrtnt,    eyes,     ROT90,  "Telko", "Mr. TNT", GAME_WRONG_COLORS )
4366 GAME( 1983, gorkans,  mrtnt,    pacman,   mrtnt,    0,        ROT90,  "Techstar", "Gorkans" )
4367 GAMEX(1983, eggor,    0,        pacman,   mrtnt,    eyes,     ROT90,  "Telko", "Eggor", GAME_WRONG_COLORS | GAME_IMPERFECT_SOUND  )
4368 GAME( 1985, lizwiz,   0,        pacman,   lizwiz,   0,        ROT90,  "Techstar (Sunn license)", "Lizard Wizard" )
4369 GAME( 1983, theglobp, suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "The Glob (Pac-Man hardware)" )
4370 GAME( 1984, beastf,   suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "Beastie Feastie" )
4371 GAME( 1983, bwcasino, 0,        acitya,   bwcasino, 0,        ROT90,  "Epos Corporation", "Boardwalk Casino" )
4372 GAME( 1982, dremshpr, 0,        dremshpr, dremshpr, 0,        ROT270, "Sanritsu", "Dream Shopper" )
4373 GAME( 1983, acitya,   bwcasino, acitya,   acitya,   0,        ROT90,  "Epos Corporation", "Atlantic City Action" )
4374 GAME( 1983, vanvan,   0,        vanvan,   vanvan,   0,        ROT270, "Sanritsu", "Van-Van Car" )
4375 GAME( 1983, vanvank,  vanvan,   vanvan,   vanvank,  0,        ROT270, "Karateco", "Van-Van Car (Karateco)" )
4376 GAMEX(1982, alibaba,  0,        alibaba,  alibaba,  0,        ROT90,  "Sega", "Ali Baba and 40 Thieves", GAME_WRONG_COLORS | GAME_UNEMULATED_PROTECTION )
4377 GAME( 1985, jumpshot, 0,        pacman,   jumpshot, jumpshot, ROT90,  "Bally Midway", "Jump Shot" )
4378 GAME( 1985, shootbul, 0,        pacman,   shootbul, jumpshot, ROT90,  "Bally Midway", "Shoot the Bull" )
4379 GAME( 1986, bigbucks, 0,		bigbucks, bigbucks, 0,        ROT90,  "Dynasoft Inc.", "Big Bucks" )
4380 GAME( 1984, drivfrcp, 0,        drivfrcp, drivfrcp, 0,        ROT90,  "Shinkai Inc. (Magic Eletronics Inc. licence)", "Driving Force (Pac-Man conversion)" )
4381 GAMEX(1985, 8bpm,	  8ballact,	8bpm,	  8bpm,		8bpm,     ROT90,  "Seatongrove Ltd (Magic Eletronics USA licence)", "Eight Ball Action (Pac-Man conversion)", GAME_WRONG_COLORS )
4382 GAMEX(1985, porky,	  0,        porky,	  porky,	porky,    ROT90,  "Shinkai Inc. (Magic Eletronics Inc. licence)", "Porky", GAME_NO_SOUND )
4383