Previous 199869 Revisions Next

r33865 Sunday 14th December, 2014 at 00:16:25 UTC by Mariusz Wojcieszek
New clones added

--------------------
Space Duel (version 1) [Mariusz Wojcieszek]
Space Duel (prototype) [Mariusz Wojcieszek]
[src/mame]mame.lst
[src/mame/drivers]bwidow.c
[src/mame/includes]bwidow.h

trunk/src/mame/drivers/bwidow.c
r242376r242377
334334   m_lastdata = data;
335335}
336336
337WRITE8_MEMBER(bwidow_state::spacduel_coin_counter_w)
338{
339   if (data == m_lastdata) return;
340   set_led_status(machine(), 0, !BIT(data,5)); // start lamp
341   set_led_status(machine(), 1, !BIT(data,4)); // select lamp
342   coin_lockout_w(machine(), 0, !BIT(data,3));
343   coin_lockout_w(machine(), 1, !BIT(data,3));
344   coin_lockout_w(machine(), 2, !BIT(data,3));
345   coin_counter_w(machine(), 0, BIT(data,0));
346   coin_counter_w(machine(), 1, BIT(data,1));
347   coin_counter_w(machine(), 2, BIT(data,2));
348   m_lastdata = data;
349}
350
337351/*************************************
338352 *
339353 *  Interrupt ack
r242376r242377
379393   AM_RANGE(0x0900, 0x0907) AM_READ(spacduel_IN3_r)    /* IN1 */
380394   AM_RANGE(0x0905, 0x0906) AM_WRITENOP /* ignore? */
381395   AM_RANGE(0x0a00, 0x0a00) AM_DEVREAD("earom", atari_vg_earom_device, read)
382//  AM_RANGE(0x0c00, 0x0c00) AM_WRITE(coin_counter_w) /* coin out */
396    AM_RANGE(0x0c00, 0x0c00) AM_WRITE(spacduel_coin_counter_w) /* coin out */
383397   AM_RANGE(0x0c80, 0x0c80) AM_DEVWRITE("avg", avg_device, go_w)
384398   AM_RANGE(0x0d00, 0x0d00) AM_WRITENOP /* watchdog clear */
385399   AM_RANGE(0x0d80, 0x0d80) AM_DEVWRITE("avg", avg_device, reset_w)
386400   AM_RANGE(0x0e00, 0x0e00) AM_WRITE(irq_ack_w) /* interrupt acknowledge */
387401   AM_RANGE(0x0e80, 0x0e80) AM_DEVWRITE("earom", atari_vg_earom_device, ctrl_w)
388402   AM_RANGE(0x0f00, 0x0f3f) AM_DEVWRITE("earom", atari_vg_earom_device, write)
389   AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey1", pokey_device, read, write)
390   AM_RANGE(0x1400, 0x140f) AM_DEVREADWRITE("pokey2", pokey_device, read, write)
403   AM_RANGE(0x1000, 0x10ff) AM_DEVREADWRITE("pokey1", pokey_device, read, write)
404   AM_RANGE(0x1400, 0x14ff) AM_DEVREADWRITE("pokey2", pokey_device, read, write)
391405   AM_RANGE(0x2000, 0x27ff) AM_RAM AM_SHARE("vectorram") AM_REGION("maincpu", 0x2000)
392406   AM_RANGE(0x2800, 0x3fff) AM_ROM
393407   AM_RANGE(0x4000, 0xffff) AM_ROM
r242376r242377
936950   ROM_LOAD( "136002-125.n4",  0x0000, 0x0100, CRC(5903af03) SHA1(24bc0366f394ad0ec486919212e38be0f08d0239) )
937951ROM_END
938952
953ROM_START( spacduel1 )
954   ROM_REGION( 0x10000, "maincpu", 0 )
955   /* Vector ROM */
956   ROM_LOAD( "136006-106.r7",  0x2800, 0x0800, CRC(691122fe) SHA1(f53be76a49dba319050ca7767de3441521910e83) )
957   ROM_LOAD( "136006-107.np7", 0x3000, 0x1000, CRC(d8dd0461) SHA1(58060b20b2511d30d2ec06479d21840bdd0b53c6) )
958   /* Program ROM */
959   ROM_LOAD( "136006-101.r1",  0x4000, 0x1000, CRC(cd239e6c) SHA1(b6143d979dd35a46bcb783bb0ac02d4dca30f0c2) )
960   ROM_LOAD( "136006-102.np1", 0x5000, 0x1000, CRC(4c451e8a) SHA1(c05c52bb08acccb60950a15f05c960c3bc163d3e) )
961   ROM_LOAD( "136006-103.m1",  0x6000, 0x1000, CRC(ee72da63) SHA1(d36d62cdf7fe76ee9cdbfc2e76ac5d90f22986ba) )
962   ROM_LOAD( "136006-104.kl1", 0x7000, 0x1000, CRC(e41b38a3) SHA1(9e8773e78d65d74db824cfd7108e7038f26757db) )
963   ROM_LOAD( "136006-105.j1",  0x8000, 0x1000, CRC(5652710f) SHA1(b15891d22a47ac3448d2ced40c04d0ab80606c7d) )
964   ROM_RELOAD(                 0x9000, 0x1000 )
965   ROM_RELOAD(                 0xa000, 0x1000 )
966   ROM_RELOAD(                 0xb000, 0x1000 )
967   ROM_RELOAD(                 0xc000, 0x1000 )
968   ROM_RELOAD(                 0xd000, 0x1000 )
969   ROM_RELOAD(                 0xe000, 0x1000 )
970   ROM_RELOAD(                 0xf000, 0x1000 )   /* for reset/interrupt vectors */
939971
972   /* AVG PROM */
973   ROM_REGION( 0x100, "user1", 0 )
974   ROM_LOAD( "136002-125.n4",  0x0000, 0x0100, CRC(5903af03) SHA1(24bc0366f394ad0ec486919212e38be0f08d0239) )
975ROM_END
940976
977ROM_START( spacduel0 )
978   ROM_REGION( 0x10000, "maincpu", 0 )
979   /* Vector ROM */
980   ROM_LOAD( "136006-006.r7",  0x2800, 0x0800, CRC(691122fe) SHA1(f53be76a49dba319050ca7767de3441521910e83) )
981   ROM_LOAD( "136006-007.np7", 0x3000, 0x1000, CRC(d8dd0461) SHA1(58060b20b2511d30d2ec06479d21840bdd0b53c6) )
982   /* Program ROM */
983   ROM_LOAD( "136006-001.r1",  0x4000, 0x1000, CRC(8f993ac8) SHA1(38b6d1ee3f19bb77b8aca24fbbae38684f194796) )
984   ROM_LOAD( "136006-002.np1", 0x5000, 0x1000, CRC(32cca051) SHA1(a01982e4362ba3dcdafd02d5403f8a190042e314) )
985   ROM_LOAD( "136006-003.m1",  0x6000, 0x1000, CRC(36624d57) SHA1(e66cbd747c2a298f402b91c2cf042a0697ff8296) )
986   ROM_LOAD( "136006-004.kl1", 0x7000, 0x1000, CRC(b322bf0b) SHA1(d67bf4e1e9b5b14b0455f37f9be11167aa3575c2) )
987   ROM_LOAD( "136006-005.j1",  0x8000, 0x1000, CRC(0edb1242) SHA1(5ec62e48d15c5baf0fb583e014cae2ec4bd5f5e4) )
988   ROM_RELOAD(                 0x9000, 0x1000 )
989   ROM_RELOAD(                 0xa000, 0x1000 )
990   ROM_RELOAD(                 0xb000, 0x1000 )
991   ROM_RELOAD(                 0xc000, 0x1000 )
992   ROM_RELOAD(                 0xd000, 0x1000 )
993   ROM_RELOAD(                 0xe000, 0x1000 )
994   ROM_RELOAD(                 0xf000, 0x1000 )   /* for reset/interrupt vectors */
995
996   /* AVG PROM */
997   ROM_REGION( 0x100, "user1", 0 )
998   ROM_LOAD( "136002-125.n4",  0x0000, 0x0100, CRC(5903af03) SHA1(24bc0366f394ad0ec486919212e38be0f08d0239) )
999ROM_END
1000
1001
9411002/*************************************
9421003 *
9431004 *  Game drivers
9441005 *
9451006 *************************************/
9461007
947GAME( 1980, spacduel, 0,        spacduel, spacduel, driver_device, 0, ROT0, "Atari", "Space Duel", GAME_SUPPORTS_SAVE )
1008GAME( 1980, spacduel, 0,        spacduel, spacduel, driver_device, 0, ROT0, "Atari", "Space Duel (version 2)", GAME_SUPPORTS_SAVE )
1009GAME( 1980, spacduel1,spacduel, spacduel, spacduel, driver_device, 0, ROT0, "Atari", "Space Duel (version 1)", GAME_SUPPORTS_SAVE )
1010GAME( 1980, spacduel0,spacduel, spacduel, spacduel, driver_device, 0, ROT0, "Atari", "Space Duel (prototype)", GAME_SUPPORTS_SAVE )
9481011GAME( 1982, bwidow,   0,        bwidow,   bwidow, driver_device,   0, ROT0, "Atari", "Black Widow", GAME_SUPPORTS_SAVE )
9491012GAME( 1982, gravitar, 0,        gravitar, gravitar, driver_device, 0, ROT0, "Atari", "Gravitar (version 3)", GAME_SUPPORTS_SAVE )
9501013GAME( 1982, gravitar2,gravitar, gravitar, gravitar, driver_device, 0, ROT0, "Atari", "Gravitar (version 2)", GAME_SUPPORTS_SAVE )
trunk/src/mame/includes/bwidow.h
r242376r242377
1616   int m_lastdata;
1717   DECLARE_READ8_MEMBER(spacduel_IN3_r);
1818   DECLARE_WRITE8_MEMBER(bwidow_misc_w);
19   DECLARE_WRITE8_MEMBER(spacduel_coin_counter_w);
1920   DECLARE_WRITE8_MEMBER(irq_ack_w);
2021   DECLARE_CUSTOM_INPUT_MEMBER(clock_r);
2122   required_device<cpu_device> m_maincpu;
trunk/src/mame/mame.lst
r242376r242377
69366936tempest1r       // 136002           (c) 1980
69376937temptube        // (hack)
69386938spacduel        // 136006           (c) 1980
6939spacduel1       // 136006           (c) 1980
6940spacduel0       // 136006           (c) 1980
69396941gravitar        // 136010           (c) 1982
69406942gravitar2       // 136010           (c) 1982
69416943gravitar1       // 136010           (c) 1982


Previous 199869 Revisions Next


© 1997-2024 The MAME Team