trunk/src/mame/drivers/jackal.c
| r24039 | r24040 | |
| 83 | 83 | * |
| 84 | 84 | *************************************/ |
| 85 | 85 | |
| 86 | | READ8_MEMBER(jackal_state::topgunbl_rotary_r) |
| 86 | READ8_MEMBER(jackal_state::jackalr_rotary_r) |
| 87 | 87 | { |
| 88 | 88 | return (1 << ioport(offset ? "DIAL1" : "DIAL0")->read_safe(0x00)) ^ 0xff; |
| 89 | 89 | } |
| r24039 | r24040 | |
| 161 | 161 | AM_RANGE(0x0011, 0x0011) AM_READ_PORT("IN1") |
| 162 | 162 | AM_RANGE(0x0012, 0x0012) AM_READ_PORT("IN2") |
| 163 | 163 | AM_RANGE(0x0013, 0x0013) AM_READ_PORT("IN0") |
| 164 | | AM_RANGE(0x0014, 0x0015) AM_READ(topgunbl_rotary_r) |
| 164 | AM_RANGE(0x0014, 0x0015) AM_READ(jackalr_rotary_r) |
| 165 | 165 | AM_RANGE(0x0018, 0x0018) AM_READ_PORT("DSW2") |
| 166 | 166 | AM_RANGE(0x0019, 0x0019) AM_WRITE(watchdog_reset_w) |
| 167 | 167 | AM_RANGE(0x001c, 0x001c) AM_WRITE(jackal_rambank_w) |
| r24039 | r24040 | |
| 237 | 237 | KONAMI8_B12_UNK(2) |
| 238 | 238 | INPUT_PORTS_END |
| 239 | 239 | |
| 240 | | static INPUT_PORTS_START( topgunbl ) |
| 240 | static INPUT_PORTS_START( jackalr ) |
| 241 | 241 | PORT_INCLUDE(jackal) |
| 242 | 242 | |
| 243 | 243 | PORT_MODIFY("IN0") |
| 244 | 244 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 245 | 245 | |
| 246 | | PORT_START("DIAL0") // player 1 8-way rotary control - converted in topgunbl_rotary_r() |
| 246 | PORT_START("DIAL0") // player 1 8-way rotary control - converted in jackalr_rotary_r() |
| 247 | 247 | PORT_BIT( 0xff, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(8) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_FULL_TURN_COUNT(8) |
| 248 | 248 | |
| 249 | | PORT_START("DIAL1") // player 2 8-way rotary control - converted in topgunbl_rotary_r() |
| 249 | PORT_START("DIAL1") // player 2 8-way rotary control - converted in jackalr_rotary_r() |
| 250 | 250 | PORT_BIT( 0xff, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(8) PORT_WRAPS PORT_SENSITIVITY(15) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_FULL_TURN_COUNT(8) |
| 251 | 251 | INPUT_PORTS_END |
| 252 | 252 | |
| r24039 | r24040 | |
| 386 | 386 | * |
| 387 | 387 | *************************************/ |
| 388 | 388 | |
| 389 | | ROM_START( jackal ) |
| 389 | ROM_START( jackal ) /* 8-Way Joystick: You can only shoot in one direction regardless of travel - up the screen */ |
| 390 | 390 | ROM_REGION( 0x20000, "master", 0 ) /* Banked 64k for 1st CPU */ |
| 391 | 391 | ROM_LOAD( "631_v02.15d", 0x04000, 0x8000, CRC(0b7e0584) SHA1(e4019463345a4c020d5a004c9a400aca4bdae07b) ) |
| 392 | 392 | ROM_CONTINUE( 0x14000, 0x8000 ) |
| r24039 | r24040 | |
| 406 | 406 | ROM_LOAD( "631r09.14h", 0x0100, 0x0100, CRC(a74dd86c) SHA1(571f606f8fc0fd3d98d26761de79ccb4cc9ab044) ) /* MMI 63S141AN or compatible (silkscreened 6301) */ |
| 407 | 407 | ROM_END |
| 408 | 408 | |
| 409 | | ROM_START( topgunr ) |
| 409 | ROM_START( jackalr ) /* Rotary Joystick: Shot direction is controlled via the rotary function of the joystick */ |
| 410 | 410 | ROM_REGION( 0x20000, "master", 0 ) /* Banked 64k for 1st CPU */ |
| 411 | ROM_LOAD( "631_q02.15d", 0x04000, 0x8000, CRC(ed2a7d66) SHA1(3d9b31fa8b31e509880d617feb0dd4bd9790d2d5) ) |
| 412 | ROM_CONTINUE( 0x14000, 0x8000 ) |
| 413 | ROM_LOAD( "631_q03.16d", 0x0c000, 0x4000, CRC(b9d34836) SHA1(af23a0c844fb9e60a757511ca898d73eef4c2e51) ) |
| 414 | |
| 415 | ROM_REGION( 0x10000, "slave", 0 ) /* 64k for 2nd cpu (Graphics & Sound)*/ |
| 416 | ROM_LOAD( "631_q01.11d", 0x8000, 0x8000, CRC(54aa2d29) SHA1(ebc6b3a5db5120cc33d62e3213d0e881f658282d) ) |
| 417 | |
| 418 | ROM_REGION( 0x80000, "gfx1", 0 ) |
| 419 | ROM_LOAD16_BYTE( "631t04.7h", 0x00000, 0x20000, CRC(457f42f0) SHA1(08413a13d128875dddcf4f6ad302363096bf1d41) ) /* Silkscreened MASK1M */ |
| 420 | ROM_LOAD16_BYTE( "631t05.8h", 0x00001, 0x20000, CRC(732b3fc1) SHA1(7e89650b9e5e2b7ae82f8c55ac9995740f6fdfe1) ) /* Silkscreened MASK1M */ |
| 421 | ROM_LOAD16_BYTE( "631t06.12h", 0x40000, 0x20000, CRC(2d10e56e) SHA1(447b464ea725fb9ef87da067a41bcf463b427cce) ) /* Silkscreened MASK1M */ |
| 422 | ROM_LOAD16_BYTE( "631t07.13h", 0x40001, 0x20000, CRC(4961c397) SHA1(b430df58fc3bb722d6fb23bed7d04afdb7e5d9c1) ) /* Silkscreened MASK1M */ |
| 423 | /* These roms are on a tiny riser board - two smaller roms instead of MASK1M roms */ |
| 424 | // ROM_LOAD16_BYTE( "631_q04.7h", 0x20000, 0x10000, CRC(0) SHA1(0) ) |
| 425 | // ROM_LOAD16_BYTE( "631_q05.7h", 0x00000, 0x10000, CRC(0) SHA1(0) ) |
| 426 | // ROM_LOAD16_BYTE( "631_q06.8h", 0x20001, 0x10000, CRC(0) SHA1(0) ) |
| 427 | // ROM_LOAD16_BYTE( "631_q07.8h", 0x00001, 0x10000, CRC(0) SHA1(0) ) /* 631 Q04 through 631 Q11 need to be redumped and verified. Should be the same data */ |
| 428 | // ROM_LOAD16_BYTE( "631_q08.12h", 0x40000, 0x10000, CRC(0) SHA1(0) ) /* until then we are going to use the standard MASK1M roms - Will fixed when dumped */ |
| 429 | // ROM_LOAD16_BYTE( "631_q09.12h", 0x60000, 0x10000, CRC(0) SHA1(0) ) |
| 430 | // ROM_LOAD16_BYTE( "631_q10.13h", 0x40001, 0x10000, CRC(0) SHA1(0) ) |
| 431 | // ROM_LOAD16_BYTE( "631_q11.13h", 0x60001, 0x10000, CRC(0) SHA1(0) ) |
| 432 | |
| 433 | ROM_REGION( 0x0200, "proms", 0 ) /* color lookup tables */ |
| 434 | ROM_LOAD( "631r08.9h", 0x0000, 0x0100, CRC(7553a172) SHA1(eadf1b4157f62c3af4602da764268df954aa0018) ) /* MMI 63S141AN or compatible (silkscreened 6301) */ |
| 435 | ROM_LOAD( "631r09.14h", 0x0100, 0x0100, CRC(a74dd86c) SHA1(571f606f8fc0fd3d98d26761de79ccb4cc9ab044) ) /* MMI 63S141AN or compatible (silkscreened 6301) */ |
| 436 | ROM_END |
| 437 | |
| 438 | ROM_START( topgunr ) /* 8-Way Joystick: You can only shoot in one direction regardless of travel - up the screen */ |
| 439 | ROM_REGION( 0x20000, "master", 0 ) /* Banked 64k for 1st CPU */ |
| 411 | 440 | ROM_LOAD( "631_u02.15d", 0x04000, 0x8000, CRC(f7e28426) SHA1(db2d5f252a574b8aa4d8406a8e93b423fd2a7fef) ) |
| 412 | 441 | ROM_CONTINUE( 0x14000, 0x8000 ) |
| 413 | 442 | ROM_LOAD( "631_u03.16d", 0x0c000, 0x4000, CRC(c086844e) SHA1(4d6f27ac3aabb4b2d673aa619e407e417ad89337) ) |
| r24039 | r24040 | |
| 426 | 455 | ROM_LOAD( "631r09.14h", 0x0100, 0x0100, CRC(a74dd86c) SHA1(571f606f8fc0fd3d98d26761de79ccb4cc9ab044) ) /* MMI 63S141AN or compatible (silkscreened 6301) */ |
| 427 | 456 | ROM_END |
| 428 | 457 | |
| 429 | | ROM_START( jackalj ) |
| 458 | ROM_START( jackalj ) /* 8-Way Joystick: You can only shoot in the direction you're traveling */ |
| 430 | 459 | ROM_REGION( 0x20000, "master", 0 ) /* Banked 64k for 1st CPU */ |
| 431 | 460 | ROM_LOAD( "631_t02.15d", 0x04000, 0x8000, CRC(14db6b1a) SHA1(b469ea50aa94a2bda3bd0442300aa1272e5f30c4) ) |
| 432 | 461 | ROM_CONTINUE( 0x14000, 0x8000 ) |
| r24039 | r24040 | |
| 446 | 475 | ROM_LOAD( "631r09.14h", 0x0100, 0x0100, CRC(a74dd86c) SHA1(571f606f8fc0fd3d98d26761de79ccb4cc9ab044) ) /* MMI 63S141AN or compatible (silkscreened 6301) */ |
| 447 | 476 | ROM_END |
| 448 | 477 | |
| 449 | | ROM_START( topgunbl ) |
| 478 | ROM_START( topgunbl ) /* Rotary Joystick: Shot direction is controlled via the Rotary function of the joystick */ |
| 450 | 479 | ROM_REGION( 0x20000, "master", 0 ) /* Banked 64k for 1st CPU */ |
| 451 | 480 | ROM_LOAD( "t-3.c5", 0x04000, 0x8000, CRC(7826ad38) SHA1(875e87867924905b9b83bc203eb7ffe81cf72233) ) |
| 452 | | ROM_LOAD( "t-4.c4", 0x14000, 0x8000, CRC(976c8431) SHA1(c199f57c25380d741aec85b0e0bfb6acf383e6a6) ) |
| 481 | ROM_LOAD( "t-4.c4", 0x14000, 0x8000, CRC(976c8431) SHA1(c199f57c25380d741aec85b0e0bfb6acf383e6a6) ) /* == 2nd half of 631_q02.15d */ |
| 453 | 482 | ROM_LOAD( "t-2.c6", 0x0c000, 0x4000, CRC(d53172e5) SHA1(44b7f180c17f9a121a2f06f2d3471920a8989e21) ) |
| 454 | 483 | |
| 455 | 484 | ROM_REGION( 0x10000, "slave", 0 ) /* 64k for 2nd cpu (Graphics & Sound)*/ |
| 456 | | ROM_LOAD( "t-1.c14", 0x8000, 0x8000, CRC(54aa2d29) SHA1(ebc6b3a5db5120cc33d62e3213d0e881f658282d) ) |
| 485 | ROM_LOAD( "t-1.c14", 0x8000, 0x8000, CRC(54aa2d29) SHA1(ebc6b3a5db5120cc33d62e3213d0e881f658282d) ) /* == 631_q01.11d */ |
| 457 | 486 | |
| 458 | 487 | ROM_REGION( 0x80000, "gfx1", 0 ) |
| 459 | 488 | /* same data, different layout */ |
| r24039 | r24040 | |
| 486 | 515 | * |
| 487 | 516 | *************************************/ |
| 488 | 517 | |
| 489 | | GAME( 1986, jackal, 0, jackal, jackal, driver_device, 0, ROT90, "Konami", "Jackal (World)", 0 ) |
| 490 | | GAME( 1986, topgunr, jackal, jackal, jackal, driver_device, 0, ROT90, "Konami", "Top Gunner (US)", 0 ) |
| 491 | | GAME( 1986, jackalj, jackal, jackal, jackal, driver_device, 0, ROT90, "Konami", "Tokushu Butai Jackal (Japan)", 0 ) |
| 492 | | GAME( 1986, topgunbl, jackal, jackal, topgunbl, driver_device, 0, ROT90, "bootleg", "Top Gunner (bootleg)", 0 ) |
| 518 | GAME( 1986, jackal, 0, jackal, jackal, driver_device, 0, ROT90, "Konami", "Jackal (World, 8-way Joystick)", 0 ) |
| 519 | GAME( 1986, jackalr, jackal, jackal, jackalr, driver_device, 0, ROT90, "Konami", "Jackal (World, Rotary Joystick)", 0 ) |
| 520 | GAME( 1986, topgunr, jackal, jackal, jackal, driver_device, 0, ROT90, "Konami", "Top Gunner (US, 8-way Joystick)", 0 ) |
| 521 | GAME( 1986, jackalj, jackal, jackal, jackal, driver_device, 0, ROT90, "Konami", "Tokushu Butai Jackal (Japan, 8-way Joystick)", 0 ) |
| 522 | GAME( 1986, topgunbl, jackal, jackal, jackalr, driver_device, 0, ROT90, "bootleg", "Top Gunner (bootleg, Rotary Joystick)", 0 ) |