Previous 199869 Revisions Next

r19431 Sunday 9th December, 2012 at 18:42:24 UTC by hap
small update to spacecom, added sound
[src/mame/drivers]8080bw.c
[src/mame/includes]8080bw.h
[src/mame/layout]spacecom.lay

trunk/src/mame/layout/spacecom.lay
r19430r19431
66         <color red="0.1" green="1" blue="0.2" />
77      </rect>
88      <rect>
9         <bounds left="0" top="52" right="224" bottom="210" />
9         <bounds left="0" top="54" right="224" bottom="212" />
1010         <color red="1" green="0.1" blue="0.1" />
1111      </rect>
1212      <rect>
13         <bounds left="0" top="86" right="224" bottom="180" />
13         <bounds left="0" top="88" right="224" bottom="182" />
1414         <color red="1" green="1" blue="0.1" />
1515      </rect>
1616      <rect>
17         <bounds left="0" top="118" right="224" bottom="150" />
17         <bounds left="0" top="120" right="224" bottom="152" />
1818         <color red="0.1" green="0.2" blue="1" />
1919      </rect>
2020   </element>
trunk/src/mame/drivers/8080bw.c
r19430r19431
643643/*  Preliminary emulation. PCB was working fine, but   */
644644/*  it's not certain that this is a good dump          */
645645/*                                                     */
646/*  Ports 41 and 48 output 0 at start, not used again  */
647/*  Sounds could be memory-mapped?                     */
648/*  Seems to be no watchdog reset line                 */
649/*  Diplocs need confirming                            */
650/*  Couldn't confirm 2500 for extra life, game too hard*/
651/* Always in cocktail mode but flipscreen bit not found*/
646/* TODO:                                               */
647/*  - port $41 write is unknown, $44 read is unknown,  */
648/*    port $48 no function/unused?                     */
649/*  - dip settings/locs need confirming                */
650/*  - it doesn't have a mb14241 video shifter?         */
651/*  - using space invaders audio as placeholder until  */
652/*    more is known about the sound hw                 */
653/*  - always in cocktail mode but flipscreen not found */
652654/*                                                     */
653655/*******************************************************/
654656
655657static INPUT_PORTS_START( spacecom )
656   PORT_START("IN0") // 5-pos dipsw at ic79 (row F) - means 3 bits are for something else, which?
657   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:1")
658   PORT_START("IN0") // 5-pos dipsw at ic79 (row F)
659   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
658660   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
659661   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
660   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:2")
662   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
661663   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
662664   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
663   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:3")
665   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) )
664666   PORT_DIPSETTING(    0x00, "3" )
665667   PORT_DIPSETTING(    0x04, "5" )
666   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:4")
668   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
667669   PORT_DIPSETTING(    0x00, "2500" ) // not confirmed
668670   PORT_DIPSETTING(    0x08, "1500" )
669   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:5")
671   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
670672   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
671673   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
672674   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2)
r19430r19431
690692
691693static ADDRESS_MAP_START( spacecom_io_map, AS_IO, 8, _8080bw_state )
692694   AM_RANGE(0x41, 0x41) AM_READ_PORT("IN0")
693   AM_RANGE(0x42, 0x42) AM_READ_PORT("IN1") AM_DEVWRITE_LEGACY("mb14241", mb14241_shift_count_w)
694   AM_RANGE(0x44, 0x44) AM_DEVREAD_LEGACY("mb14241", mb14241_shift_result_r) AM_DEVWRITE_LEGACY("mb14241", mb14241_shift_data_w)
695   //AM_RANGE(0x48, 0x48) AM_WRITE(watchdog_reset_w)
695   AM_RANGE(0x42, 0x42) AM_READ_PORT("IN1") AM_WRITE(invaders_audio_1_w)
696   AM_RANGE(0x44, 0x44) AM_READNOP AM_WRITE(invaders_audio_2_w)
696697ADDRESS_MAP_END
697698
698699MACHINE_CONFIG_DERIVED_CLASS( spacecom, invaders, _8080bw_state )
r19430r19431
700701   /* basic machine hardware */
701702   MCFG_CPU_MODIFY("maincpu")
702703   MCFG_CPU_IO_MAP(spacecom_io_map)
704   
705   // assume there is no watchdog
703706   MCFG_WATCHDOG_VBLANK_INIT(0)
704707   MCFG_WATCHDOG_TIME_INIT(attotime::from_usec(0))
705708MACHINE_CONFIG_END
706709
710DRIVER_INIT_MEMBER(_8080bw_state, spacecom)
711{
712   UINT8 *ROM = machine().root_device().memregion("maincpu")->base();
707713
714   // bad byte: should be push a at RST 10h
715   ROM[0x10] = 0xf5;
716}
708717
718
719
709720/*******************************************************/
710721/*                                                     */
711722/* Zenitone Microsec "Invaders Revenge"                */
r19430r19431
29332944
29342945ROM_START( spacecom )
29352946   ROM_REGION( 0x10000, "maincpu", 0 )
2936   ROM_LOAD( "1f.ic67",      0x0000, 0x0400, CRC(703f2cbe) SHA1(b183f9fbedd8658399555c0ba21ecab6370e86cb) )
2947   ROM_LOAD( "1f.ic67",      0x0000, 0x0400, BAD_DUMP CRC(703f2cbe) SHA1(b183f9fbedd8658399555c0ba21ecab6370e86cb) )
29372948   ROM_LOAD( "2g.ic82",      0x0400, 0x0400, CRC(7269b719) SHA1(6fd5879a6f2a5b1d38c7f00996037418df9491d3) )
29382949   ROM_LOAD( "3f.ic68",      0x0800, 0x0400, CRC(6badac4f) SHA1(7b998d8fb21d143f26d605fe2a7dbbe1cf65210f) )
29392950   ROM_LOAD( "4g.ic83",      0x0c00, 0x0400, CRC(75b59ea7) SHA1(e00eb4a9cf662c84e18fc9efc29cedebf0c5af67) )
r19430r19431
29412952   ROM_LOAD( "6g.ic84",      0x1400, 0x0400, CRC(de383625) SHA1(7ec0d7171e771c4b43e026f3f50a88d8ab2236bb) )
29422953   ROM_LOAD( "7f.ic70",      0x1800, 0x0400, CRC(5a23dbc8) SHA1(4d193bb7b38fb7ccd57d2c72463a3fe123dbca58) )
29432954   ROM_LOAD( "8g.ic85",      0x1c00, 0x0400, CRC(a5a467e3) SHA1(ef591059e55d21f14baa8af1f1324a9bc2ada8c4) )
2944   ROM_FILL(0x10, 1, 0xF5) // fix bad byte
29452955ROM_END
29462956
29472957ROM_START( sinvzen )
r19430r19431
41104120GAMEL(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?
41114121GAMEL(1978, spaceatt,   invaders, invaders,  sicv,      driver_device, 0, ROT270, "bootleg (Video Games GmbH)", "Space Attack (bootleg of Space Invaders)", GAME_SUPPORTS_SAVE, layout_invaders )
41124122GAMEL(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
4113GAMEL(1979, spacecom,   invaders, spacecom,  spacecom,  driver_device, 0, ROT270, "bootleg", "Space Combat (bootleg of Space Invaders)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING, layout_spacecom ) // not working: need to investigate it more, could be bad dump?
4123GAMEL(1979, spacecom,   invaders, spacecom,  spacecom,  _8080bw_state, spacecom, ROT270, "bootleg", "Space Combat (bootleg of Space Invaders)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_spacecom )
41144124GAME( 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
41154125GAMEL(19??, invasion,   invaders, invaders,  invasion,  driver_device, 0, ROT270, "bootleg (Sidam)", "Invasion (Sidam)", GAME_SUPPORTS_SAVE, layout_invaders )
41164126GAMEL(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
trunk/src/mame/includes/8080bw.h
r19430r19431
8686   DECLARE_WRITE8_MEMBER(invmulti_bank_w);
8787
8888   DECLARE_DRIVER_INIT(invmulti);
89   DECLARE_DRIVER_INIT(spacecom);
8990   DECLARE_DRIVER_INIT(vortex);
9091
9192   DECLARE_MACHINE_START(extra_8080bw);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team