Previous 199869 Revisions Next

r19185 Wednesday 28th November, 2012 at 11:29:22 UTC by Robbbert
spacerng : fixed flipscreen (nw)
Note that the playfield is intentionally reversed; you are in a boat trying to spear fish below you.
[src/mame/audio]8080bw.c
[src/mame/drivers]8080bw.c
[src/mame/includes]8080bw.h

trunk/src/mame/includes/8080bw.h
r19184r19185
5353   DECLARE_WRITE8_MEMBER(steelwkr_sh_port_3_w);
5454   DECLARE_WRITE8_MEMBER(invadpt2_sh_port_1_w);
5555   DECLARE_WRITE8_MEMBER(invadpt2_sh_port_2_w);
56   DECLARE_WRITE8_MEMBER(spacerng_sh_port_2_w);
5657   DECLARE_WRITE8_MEMBER(spcewars_sh_port_w);
5758   DECLARE_WRITE8_MEMBER(lrescue_sh_port_1_w);
5859   DECLARE_WRITE8_MEMBER(lrescue_sh_port_2_w);
trunk/src/mame/drivers/8080bw.c
r19184r19185
381381
382382/*******************************************************/
383383/*                                                     */
384/* Space Ranger                                        */
385/*                                                     */
386/*******************************************************/
387
388static ADDRESS_MAP_START( spacerng_io_map, AS_IO, 8, _8080bw_state )
389   AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
390   AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
391   AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_DEVWRITE_LEGACY("mb14241", mb14241_shift_count_w)
392   AM_RANGE(0x03, 0x03) AM_DEVREAD_LEGACY("mb14241", mb14241_shift_result_r) AM_WRITE(invadpt2_sh_port_1_w)
393   AM_RANGE(0x04, 0x04) AM_DEVWRITE_LEGACY("mb14241", mb14241_shift_data_w)
394   AM_RANGE(0x05, 0x05) AM_WRITE(spacerng_sh_port_2_w)
395   AM_RANGE(0x06, 0x06) AM_WRITE(watchdog_reset_w)
396ADDRESS_MAP_END
397
398static MACHINE_CONFIG_DERIVED_CLASS( spacerng, invadpt2, _8080bw_state )
399
400   /* basic machine hardware */
401   MCFG_CPU_MODIFY("maincpu")
402   MCFG_CPU_IO_MAP(spacerng_io_map)
403MACHINE_CONFIG_END
404
405
406
407/*******************************************************/
408/*                                                     */
384409/* Space Wars (Sanritsu)                               */
385410/*                                                     */
386411/*******************************************************/
r19184r19185
39914016GAMEL(1980?,sinvzen,    invaders, invaders,  spaceatt,  driver_device, 0, ROT270, "Taito / Zenitone-Microsec Ltd.", "Super Invaders (Zenitone-Microsec)", GAME_SUPPORTS_SAVE, layout_invaders ) // unclassified, licensed or bootleg?
39924017GAMEL(1978, spaceatt,   invaders, invaders,  sicv,      driver_device, 0, ROT270, "bootleg (Video Games GmbH)", "Space Attack (bootleg of Space Invaders)", GAME_SUPPORTS_SAVE, layout_invaders )
39934018GAMEL(1980, spaceat2,   invaders, invaders,  spaceatt,  driver_device, 0, ROT270, "bootleg (Video Games UK)", "Space Attack II (bootleg of Super Invaders)", GAME_SUPPORTS_SAVE, layout_invaders ) // bootleg of Zenitone-Microsec Super Invaders
3994GAME( 1978, spacerng,   invaders, invadpt2,  sitv,      driver_device, 0, ROT270, "bootleg (Leisure Time Electronics)", "Space Ranger (bootleg of Space Invaders)", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) // many modifications
4019GAME( 1978, spacerng,   invaders, spacerng,  sitv,      driver_device, 0, ROT90, "bootleg (Leisure Time Electronics)", "Space Ranger (bootleg of Space Invaders)", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) // many modifications
39954020GAMEL(19??, invasion,   invaders, invaders,  invasion,  driver_device, 0, ROT270, "bootleg (Sidam)", "Invasion (Sidam)", GAME_SUPPORTS_SAVE, layout_invaders )
39964021GAMEL(19??, invasiona,  invaders, invaders,  invasion,  driver_device, 0, ROT270, "bootleg", "Invasion (bootleg set 1, normal graphics)", GAME_SUPPORTS_SAVE, layout_invaders ) // has Sidam replaced with 'Ufo Monster Attack' and standard GFX
39974022GAMEL(19??, invasionb,  invaders, invaders,  invasion,  driver_device, 0, ROT270, "bootleg", "Invasion (bootleg set 2, no copyright)", GAME_SUPPORTS_SAVE, layout_invaders )
trunk/src/mame/audio/8080bw.c
r19184r19185
6666   if (rising_bits & 0x08) m_samples->start(4, 6);      /* FLEET */
6767   if (rising_bits & 0x10) m_samples->start(3, 7);      /* SAUCER HIT */
6868
69   m_c8080bw_flip_screen = BIT(data, 5) & BIT(ioport(CABINET_PORT_TAG)->read(), 0);
69   m_c8080bw_flip_screen = BIT(data, 5) & ioport(CABINET_PORT_TAG)->read();
7070
7171   m_port_2_last_extra = data;
7272}
r19184r19185
7575
7676/*******************************************************/
7777/*                                                     */
78/* Space Ranger                                        */
79/*                                                     */
80/*******************************************************/
81
82WRITE8_MEMBER(_8080bw_state::spacerng_sh_port_2_w)
83{
84   UINT8 rising_bits = data & ~m_port_2_last_extra;
85
86   if (rising_bits & 0x01) m_samples->start(4, 3);      /* FLEET */
87   if (rising_bits & 0x02) m_samples->start(4, 4);      /* FLEET */
88   if (rising_bits & 0x04) m_samples->start(4, 5);      /* FLEET */
89   if (rising_bits & 0x08) m_samples->start(4, 6);      /* FLEET */
90   if (rising_bits & 0x10) m_samples->start(3, 7);      /* SAUCER HIT */
91
92   m_c8080bw_flip_screen = BIT(~data, 5) & ioport(CABINET_PORT_TAG)->read();
93
94   m_port_2_last_extra = data;
95}
96
97/*******************************************************/
98/*                                                     */
7899/* Sanritsu "Space War"                                */
79100/*                                                     */
80101/*******************************************************/

Previous 199869 Revisions Next


© 1997-2024 The MAME Team