diff options
-rw-r--r-- | src/mame/drivers/hh_sm510.cpp | 33 | ||||
-rw-r--r-- | src/mame/drivers/mystwarr.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/vii.cpp | 18 | ||||
-rw-r--r-- | src/mame/mame.lst | 1 |
4 files changed, 48 insertions, 6 deletions
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp index df9ec34e24e..fc83661fc95 100644 --- a/src/mame/drivers/hh_sm510.cpp +++ b/src/mame/drivers/hh_sm510.cpp @@ -1837,7 +1837,9 @@ ROM_END * lcd screen with custom segments, 1-bit sound This is the wide screen version, there's also a silver version. - Also copied by Elektronika as "Space Bridge", with different LCD. + + In 1989 Elektronika(USSR) release a clone: Space Bridge. This game shares + the same ROM, though the graphics are slightly different. ***************************************************************************/ @@ -1848,6 +1850,7 @@ public: hh_sm510_state(mconfig, type, tag) { } + void spacebridge(machine_config &config); void gnw_fire(machine_config &config); }; @@ -1904,6 +1907,25 @@ void gnw_fire_state::gnw_fire(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +void gnw_fire_state::spacebridge(machine_config & config) +{ + gnw_fire(config); + + /* basic machine hardware */ + KB1013VK12(config.replace(), m_maincpu); + m_maincpu->set_r_mask_option(sm510_base_device::RMASK_DIRECT); // confirmed + m_maincpu->write_segs().set(FUNC(hh_sm510_state::sm500_lcd_segment_w)); + m_maincpu->read_k().set(FUNC(hh_sm510_state::input_r)); + m_maincpu->write_r().set(FUNC(hh_sm510_state::piezo_input_w)); + m_maincpu->read_ba().set_ioport("BA"); + m_maincpu->read_b().set_ioport("B"); + + /* video hardware */ + screen_device *screen = subdevice<screen_device>("screen"); + screen->set_size(1673, 1080); + screen->set_visarea_full(); +} + // roms ROM_START( gnw_fire ) @@ -1914,6 +1936,14 @@ ROM_START( gnw_fire ) ROM_LOAD( "gnw_fire.svg", 0, 163753, CRC(d546fa42) SHA1(492c785aa0ed33ff1ac8c84066e5b6d7cb7d1566) ) ROM_END +ROM_START( spacebridge ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "spacebridge.bin", 0x0000, 0x0740, CRC(f4c53ef0) SHA1(6b57120a0f9d2fd4dcd65ad57a5f32def71d905f) ) + + ROM_REGION( 124408, "screen", 0) + ROM_LOAD( "spacebridge.svg", 0, 124408, CRC(4d1c770a) SHA1(ba9c88f2a6e65e60bed692eaea3c6be4142ecf93) ) +ROM_END + @@ -9634,6 +9664,7 @@ CONS( 1981, gnw_egg, gnw_mmouse, 0, gnw_egg, gnw_mmouse, gnw_mmouse_sta CONS( 1984, nupogodi, gnw_mmouse, 0, nupogodi, gnw_mmouse, gnw_mmouse_state, empty_init, "Elektronika", "Nu, pogodi!", MACHINE_SUPPORTS_SAVE ) CONS( 1989, exospace, gnw_mmouse, 0, exospace, exospace, gnw_mmouse_state, empty_init, "Elektronika", "Explorers of Space", MACHINE_SUPPORTS_SAVE ) CONS( 1981, gnw_fire, 0, 0, gnw_fire, gnw_fire, gnw_fire_state, empty_init, "Nintendo", "Game & Watch: Fire (wide screen)", MACHINE_SUPPORTS_SAVE ) +CONS( 1989, spacebridge, gnw_fire, 0, spacebridge, gnw_fire, gnw_fire_state, empty_init, "Elektronika", "Space Bridge", MACHINE_SUPPORTS_SAVE ) CONS( 1982, gnw_tbridge, 0, 0, gnw_tbridge, gnw_tbridge, gnw_tbridge_state, empty_init, "Nintendo", "Game & Watch: Turtle Bridge", MACHINE_SUPPORTS_SAVE ) CONS( 1982, gnw_fireatk, 0, 0, gnw_fireatk, gnw_fireatk, gnw_fireatk_state, empty_init, "Nintendo", "Game & Watch: Fire Attack", MACHINE_SUPPORTS_SAVE ) CONS( 1982, gnw_stennis, 0, 0, gnw_stennis, gnw_stennis, gnw_stennis_state, empty_init, "Nintendo", "Game & Watch: Snoopy Tennis", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/mystwarr.cpp b/src/mame/drivers/mystwarr.cpp index b473b601e57..6c8aa2a43ee 100644 --- a/src/mame/drivers/mystwarr.cpp +++ b/src/mame/drivers/mystwarr.cpp @@ -84,7 +84,7 @@ Notes: 054986A - Audio DAC/filter + sound latch + Z80 memory mapper/banker (large ceramic SDIP64 module) This module contains several surface mounted capacitors and resistors, 4558 OP amp, Analog Devices AD1868 dual 18-bit audio DAC and a Konami 054321 QFP44 IC. Clock input 8.000MHz [32/4] - 054983 - MMI PAL16L8 + 055983 - MMI PAL16L8 056371 - MMI PAL20L10 Sync Measurements diff --git a/src/mame/drivers/vii.cpp b/src/mame/drivers/vii.cpp index c02c56282e4..65f0af86b43 100644 --- a/src/mame/drivers/vii.cpp +++ b/src/mame/drivers/vii.cpp @@ -134,6 +134,7 @@ #include "cpu/unsp/unsp.h" #include "machine/i2cmem.h" #include "machine/nvram.h" +#include "machine/eepromser.h" #include "machine/spg2xx.h" #include "bus/generic/slot.h" @@ -370,12 +371,16 @@ class dreamlif_state : public spg2xx_game_state public: dreamlif_state(const machine_config &mconfig, device_type type, const char *tag) : spg2xx_game_state(mconfig, type, tag) + , m_eeprom(*this, "eeprom") { } void dreamlif(machine_config &config); +private: DECLARE_READ16_MEMBER(portb_r); DECLARE_WRITE16_MEMBER(portb_w); + + required_device<eeprom_serial_93cxx_device> m_eeprom; }; @@ -1601,15 +1606,18 @@ INPUT_PORTS_END READ16_MEMBER(dreamlif_state::portb_r) { - // some kind of EEPROM device? has a HT93LC66A + uint16_t ret = 0x0000; logerror("%s: portb_r\n", machine().describe_context()); - return 0x0000; + ret |= m_eeprom->do_read() << 3; + return ret; } WRITE16_MEMBER(dreamlif_state::portb_w) { - // some kind of EEPROM device? see above logerror("%s: portb_w (%04x)\n", machine().describe_context(), data); + m_eeprom->di_write(BIT(data, 2)); + m_eeprom->cs_write(BIT(data, 0) ? ASSERT_LINE : CLEAR_LINE); + m_eeprom->clk_write(BIT(data, 1) ? ASSERT_LINE : CLEAR_LINE); } @@ -2209,6 +2217,8 @@ void dreamlif_state::dreamlif(machine_config &config) spg2xx_base(config); + EEPROM_93C66_16BIT(config, m_eeprom); // HT93LC66A + m_maincpu->porta_in().set_ioport("P1"); m_maincpu->portb_in().set(FUNC(dreamlif_state::portb_r)); m_maincpu->portb_out().set(FUNC(dreamlif_state::portb_w)); @@ -2576,7 +2586,7 @@ CONS( 2007, rad_fb2, 0, 0, rad_skat, rad_fb2, spg2xx_game_state, ini CONS( 2005, mattelcs, 0, 0, rad_skat, mattelcs, spg2xx_game_state, empty_init, "Mattel", "Mattel Classic Sports", MACHINE_IMPERFECT_SOUND ) // Hasbro games -CONS( 2005, dreamlif, 0, 0, dreamlif, dreamlif, dreamlif_state, empty_init, "Hasbro", "Dream Life (Version 1.0, Feb 07 2005)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND ) +CONS( 2005, dreamlif, 0, 0, dreamlif, dreamlif, dreamlif_state, empty_init, "Hasbro", "Dream Life (Version 1.0, Feb 07 2005)", MACHINE_IMPERFECT_SOUND ) // Fisher-Price games CONS( 2007, icanguit, 0, 0, icanguit, icanguit, icanguit_state, empty_init, "Fisher-Price", "I Can Play Guitar", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index baa519c69df..8ea43080cdd 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -15318,6 +15318,7 @@ ktopgun // Konami merrycook // Elektronika nummunch // VTech nupogodi // Elektronika +spacebridge // Elektronika taddams // Tiger taltbeast // Tiger tapollo13 // Tiger |