Previous 199869 Revisions Next

r26310 Wednesday 20th November, 2013 at 18:36:58 UTC by David Haywood
new clones
Spy Hunter (prototype) [Unigame] (not working, needs more work)
[src/mame]mame.lst
[src/mame/drivers]mcr3.c
[src/mame/includes]mcr3.h

trunk/src/mame/includes/mcr3.h
r26309r26310
5656   DECLARE_DRIVER_INIT(maxrpm);
5757   DECLARE_DRIVER_INIT(rampage);
5858   DECLARE_DRIVER_INIT(spyhunt);
59   DECLARE_DRIVER_INIT(spyhuntpr);
5960   DECLARE_DRIVER_INIT(sarge);
6061   TILE_GET_INFO_MEMBER(get_bg_tile_info);
6162   TILE_GET_INFO_MEMBER(mcrmono_get_bg_tile_info);
trunk/src/mame/drivers/mcr3.c
r26309r26310
10591059   16*8
10601060};
10611061
1062static const gfx_layout spyhuntpr_alphalayout =
1063{
1064   16,16,
1065   RGN_FRAC(1,1),
1066   2,
1067   { 0, 4},
1068   { 0, 0, 1, 1, 2, 2, 3, 3, 8, 8, 9, 9, 10, 10, 11, 11 },
1069   { 0, 0, 2*8, 2*8, 4*8, 4*8, 6*8, 6*8, 8*8, 8*8, 10*8, 10*8, 12*8, 12*8, 14*8, 14*8 },
1070   16*8
1071};
10621072
1073
1074// not quite right
1075const gfx_layout spyhuntpr_sprite_layout =
1076{
1077   32,32,
1078   RGN_FRAC(1,4),
1079   4,
1080   { RGN_FRAC(0,4), RGN_FRAC(0,4)+1, RGN_FRAC(2,4), RGN_FRAC(2,4)+1 },
1081   { 6,6,  4,4,  2,2,  0,0,  14,14,  12,12,  10,10,  8,8,    22,22, 20,20,  18,18,  16,16,  30,30,  28,28,  26,26,  24,24 },
1082   { 0*32+0, 0*32+RGN_FRAC(1,4), 1*32+0, 1*32+RGN_FRAC(1,4), 2*32+0, 2*32+RGN_FRAC(1,4), 3*32+0, 3*32+RGN_FRAC(1,4),4*32+0, 4*32+RGN_FRAC(1,4),5*32+0, 5*32+RGN_FRAC(1,4),6*32+0, 6*32+RGN_FRAC(1,4),7*32+0, 7*32+RGN_FRAC(1,4),8*32+0, 8*32+RGN_FRAC(1,4),9*32+0, 9*32+RGN_FRAC(1,4),10*32+0, 10*32+RGN_FRAC(1,4),11*32+0, 11*32+RGN_FRAC(1,4),12*32+0, 12*32+RGN_FRAC(1,4),13*32+0, 13*32+RGN_FRAC(1,4),14*32+0, 14*32+RGN_FRAC(1,4),15*32+0, 15*32+RGN_FRAC(1,4)   },
1083
1084   16*32
1085};
1086
1087
10631088static GFXDECODE_START( mcr3 )
10641089   GFXDECODE_SCALE( "gfx1", 0, mcr_bg_layout,     0, 4, 2, 2 )
10651090   GFXDECODE_ENTRY( "gfx2", 0, mcr_sprite_layout, 0, 4 )
r26309r26310
10721097   GFXDECODE_ENTRY( "gfx3", 0, spyhunt_alphalayout, 4*16, 1 )
10731098GFXDECODE_END
10741099
1100static GFXDECODE_START( spyhuntpr )
1101   GFXDECODE_ENTRY( "gfx1", 0, spyhunt_charlayout,  3*16, 1 )
1102   GFXDECODE_ENTRY( "gfx2", 0, spyhuntpr_sprite_layout,   0*16, 4 )
1103   GFXDECODE_ENTRY( "gfx3", 0, spyhuntpr_alphalayout, 4*16, 1 )
1104GFXDECODE_END
10751105
1076
10771106/*************************************
10781107 *
10791108 *  Machine drivers
r26309r26310
11771206   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
11781207MACHINE_CONFIG_END
11791208
1209/* Spy Hunter prototype */
1210static MACHINE_CONFIG_DERIVED( spyhuntpr, mcrscroll )
11801211
1212   MCFG_GFXDECODE(spyhuntpr)
11811213
1214MACHINE_CONFIG_END
1215
1216
11821217/*************************************
11831218 *
11841219 *  ROM definitions
r26309r26310
14461481ROM_END
14471482
14481483
1484ROM_START( spyhuntpr )
1485   ROM_REGION( 0x10000, "maincpu", 0 )
1486   ROM_LOAD( "1.bin",   0x0000, 0x4000, CRC(2a2f77cb) SHA1(e1b74c951efb2a49bef0507ab3268b274515f339) )
1487   ROM_LOAD( "2.bin",   0x4000, 0x4000, CRC(00778aff) SHA1(7c0b24c393f841e8379d4bba57ba502e3d2512f9) )
1488   ROM_LOAD( "3.bin",   0x8000, 0x4000, CRC(2183b4af) SHA1(2b958afc40b26c9bc8d5254b0600426649f4ebf0) )
1489   ROM_LOAD( "4.bin",   0xc000, 0x2000, CRC(3ea6a65c) SHA1(1320ce17044307ed3c4f2459631a9aa1734f1f30) )
1490
1491   ROM_REGION( 0x10000, "ssio:cpu", 0 )
1492   ROM_LOAD( "5.bin",   0x0000, 0x2000, CRC(33fe2829) SHA1(e6950dbf681242bf23542ca6604e62eacb431101) )
1493
1494
1495   ROM_REGION( 0x08000, "gfx1", 0 )
1496   ROM_LOAD( "6.bin",   0x00000, 0x2000, CRC(6b76f46a) SHA1(4b398084c42a60fcfa4a9bf14f844e36a3f42723) )
1497   ROM_LOAD( "7.bin",   0x02000, 0x2000, CRC(085bd7a7) SHA1(c35c309b6c6485baec54d4434dea44abf4d48f41) )
1498   ROM_LOAD( "8.bin",   0x04000, 0x2000, CRC(e699b329) SHA1(cb4b8c7b6fa1cb1144a18f1442dc3b267c408914) )
1499   ROM_LOAD( "9.bin",   0x06000, 0x2000, CRC(6d462ec7) SHA1(0ff37f75b0eeceb86177a3f7c93834d5c0e24515) )
1500
1501   ROM_REGION( 0x10000, "gfx2", ROMREGION_INVERT )
1502   ROM_LOAD( "10.bin",   0x00000, 0x4000, CRC(6f9fd416) SHA1(a51c86e5b22c91fc44673f53400b58af40b18065) )
1503   ROM_LOAD( "11.bin",   0x0c000, 0x4000, CRC(75526ffe) SHA1(ff1adf6f9b6595114d0bd06b72d9eb7bbf70144d) )
1504   ROM_LOAD( "12.bin",   0x08000, 0x4000, CRC(82ee7a4d) SHA1(184720de76680275bf7c4a171f03a0ce771d91fc) )
1505   ROM_LOAD( "13.bin",   0x04000, 0x4000, CRC(0cc592a3) SHA1(b3563bde83432cdbaedb88d4d222da30bf679b08) )
1506
1507
1508   ROM_REGION( 0x01000, "gfx3", 0 )
1509   ROM_LOAD( "14.bin",  0x00000, 0x1000, CRC(87a4c130) SHA1(7792afdc36b0f3bd51c387d04d38f60c85fd2e93) )
1510ROM_END
1511
1512
14491513ROM_START( crater )
14501514   ROM_REGION( 0x10000, "maincpu", 0 )
14511515   ROM_LOAD( "crcpu.6d",     0x0000, 0x2000, CRC(ad31f127) SHA1(d03506570cd08bcdb39d7c6b9de4f9628c7373e9) )
r26309r26310
16041668   m_spyhunt_scroll_offset = 16;
16051669}
16061670
1671DRIVER_INIT_MEMBER(mcr3_state,spyhuntpr)
1672{
1673   mcr_common_init();
1674//   machine().device<midway_ssio_device>("ssio")->set_custom_input(1, 0x60, read8_delegate(FUNC(mcr3_state::spyhunt_ip1_r),this));
1675//   machine().device<midway_ssio_device>("ssio")->set_custom_input(2, 0xff, read8_delegate(FUNC(mcr3_state::spyhunt_ip2_r),this));
1676//   machine().device<midway_ssio_device>("ssio")->set_custom_output(4, 0xff, write8_delegate(FUNC(mcr3_state::spyhunt_op4_w),this));
16071677
1678   m_spyhunt_sprite_color_mask = 0x00;
1679   m_spyhunt_scroll_offset = 16;
1680}
1681
16081682DRIVER_INIT_MEMBER(mcr3_state,crater)
16091683{
16101684   mcr_common_init();
r26309r26310
16511725/* MCR scrolling games */
16521726GAMEL(1983, spyhunt,  0,        mcrsc_csd, spyhunt,  mcr3_state,  spyhunt,  ROT90, "Bally Midway", "Spy Hunter", GAME_SUPPORTS_SAVE, layout_spyhunt )
16531727GAMEL(1983, spyhuntp, spyhunt,  mcrsc_csd, spyhunt,  mcr3_state,  spyhunt,  ROT90, "Bally Midway (Playtronic license)", "Spy Hunter (Playtronic license)", GAME_SUPPORTS_SAVE, layout_spyhunt )
1728GAME (1983, spyhuntpr, spyhunt,  spyhuntpr,  spyhunt,  mcr3_state,  spyhuntpr,  ROT90, "Bally Midway", "Spy Hunter (prototype)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
16541729GAME( 1984, crater,   0,        mcrscroll, crater,   mcr3_state, crater,   ORIENTATION_FLIP_X, "Bally Midway", "Crater Raider", GAME_SUPPORTS_SAVE )
16551730GAMEL(1985, turbotag, 0,        mcrsc_csd, turbotag, mcr3_state, turbotag, ROT90, "Bally Midway", "Turbo Tag (prototype)", GAME_SUPPORTS_SAVE, layout_turbotag )
trunk/src/mame/mame.lst
r26309r26310
16251625maxrpm          // (c) 1986
16261626spyhunt         // (c) 1983
16271627spyhuntp        // (c) 1983
1628spyhuntpr      //
16281629turbotag        // (c) 1985
16291630crater          // (c) 1984
16301631// MCR 68000

Previous 199869 Revisions Next


© 1997-2024 The MAME Team