diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp index 69b6a3d781c..6df6b38d163 100644 --- a/src/mame/drivers/hh_cop400.cpp +++ b/src/mame/drivers/hh_cop400.cpp @@ -242,10 +242,12 @@ u16 hh_cop400_state::read_inputs(int columns, u16 colmask) /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Castle Toy Einstein @@ -260,8 +262,8 @@ u16 hh_cop400_state::read_inputs(int columns, u16 colmask) class ctstein_state : public hh_cop400_state { public: - ctstein_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + ctstein_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_g); @@ -330,6 +332,13 @@ void ctstein_state::ctstein(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ctstein ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop421-nez_n", 0x0000, 0x0400, CRC(16148e03) SHA1(b2b74891d36813d9a1eefd56a925054997c4b7f7) ) // 2nd half empty +ROM_END + @@ -354,8 +363,8 @@ void ctstein_state::ctstein(machine_config &config) class h2hbaskbc_state : public hh_cop400_state { public: - h2hbaskbc_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + h2hbaskbc_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_d); @@ -485,6 +494,16 @@ void h2hbaskbc_state::h2hsoccerc(machine_config &config) config.set_default_layout(layout_h2hsoccerc); } +// roms + +ROM_START( h2hbaskbc ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop420l-nmy", 0x0000, 0x0400, CRC(87152509) SHA1(acdb869b65d49b3b9855a557ed671cbbb0f61e2c) ) +ROM_END + +#define rom_h2hhockeyc rom_h2hbaskbc // dumped from Basketball +#define rom_h2hsoccerc rom_h2hbaskbc // " + @@ -503,8 +522,8 @@ void h2hbaskbc_state::h2hsoccerc(machine_config &config) class einvaderc_state : public hh_cop400_state { public: - einvaderc_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + einvaderc_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } void prepare_display(); @@ -604,6 +623,16 @@ void einvaderc_state::einvaderc(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( einvaderc ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "copl444-hrz_n_inv_ii", 0x0000, 0x0800, CRC(76400f38) SHA1(0e92ab0517f7b7687293b189d30d57110df20fe0) ) + + ROM_REGION( 80636, "svg", 0) + ROM_LOAD( "einvaderc.svg", 0, 80636, CRC(a52d0166) SHA1(f69397ebcc518701f30a47b4d62e5a700825375a) ) +ROM_END + @@ -625,8 +654,8 @@ void einvaderc_state::einvaderc(machine_config &config) class unkeinv_state : public hh_cop400_state { public: - unkeinv_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + unkeinv_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } void prepare_display(); @@ -635,7 +664,7 @@ public: DECLARE_WRITE8_MEMBER(write_l); DECLARE_READ8_MEMBER(read_l); - DECLARE_INPUT_CHANGED_MEMBER(position_changed); + DECLARE_INPUT_CHANGED_MEMBER(position_changed) { prepare_display(); } void unkeinv(machine_config &config); }; @@ -694,11 +723,6 @@ READ8_MEMBER(unkeinv_state::read_l) // config -INPUT_CHANGED_MEMBER(unkeinv_state::position_changed) -{ - prepare_display(); -} - static INPUT_PORTS_START( unkeinv ) PORT_START("IN.0") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) @@ -727,6 +751,13 @@ void unkeinv_state::unkeinv(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( unkeinv ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop421_us4345764", 0x0000, 0x0400, CRC(0068c3a3) SHA1(4e5fd566a5a26c066cc14623a9bd01e109ebf797) ) // typed in from patent US4345764, good print quality +ROM_END + @@ -749,8 +780,8 @@ void unkeinv_state::unkeinv(machine_config &config) class lchicken_state : public hh_cop400_state { public: - lchicken_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + lchicken_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } u8 m_motor_pos; @@ -769,8 +800,22 @@ protected: virtual void machine_start() override; }; +void lchicken_state::machine_start() +{ + hh_cop400_state::machine_start(); + + // zerofill, register for savestates + m_motor_pos = 0; + save_item(NAME(m_motor_pos)); +} + // handlers +CUSTOM_INPUT_MEMBER(lchicken_state::motor_switch) +{ + return m_motor_pos > 0xe8; // approximation +} + TIMER_DEVICE_CALLBACK_MEMBER(lchicken_state::motor_sim_tick) { if (~m_inp_mux & 8) @@ -848,20 +893,6 @@ static INPUT_PORTS_START( lchicken ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, lchicken_state, motor_switch, nullptr) INPUT_PORTS_END -CUSTOM_INPUT_MEMBER(lchicken_state::motor_switch) -{ - return m_motor_pos > 0xe8; // approximation -} - -void lchicken_state::machine_start() -{ - hh_cop400_state::machine_start(); - - // zerofill, register for savestates - m_motor_pos = 0; - save_item(NAME(m_motor_pos)); -} - void lchicken_state::lchicken(machine_config &config) { /* basic machine hardware */ @@ -883,6 +914,13 @@ void lchicken_state::lchicken(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( lchicken ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop421-njc_n", 0x0000, 0x0400, CRC(319e7985) SHA1(9714327518f65ebefe38ac7911bed2b9b9c77307) ) +ROM_END + @@ -898,8 +936,8 @@ void lchicken_state::lchicken(machine_config &config) class funjacks_state : public hh_cop400_state { public: - funjacks_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + funjacks_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_d); @@ -990,6 +1028,13 @@ void funjacks_state::funjacks(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( funjacks ) + ROM_REGION( 0x0200, "maincpu", 0 ) + ROM_LOAD( "cop410l_b_ngs", 0x0000, 0x0200, CRC(863368ea) SHA1(f116cc27ae721b3a3e178fa13765808bdc275663) ) +ROM_END + @@ -1009,8 +1054,8 @@ void funjacks_state::funjacks(machine_config &config) class funrlgl_state : public hh_cop400_state { public: - funrlgl_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + funrlgl_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_d); @@ -1084,6 +1129,13 @@ void funrlgl_state::funrlgl(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( funrlgl ) + ROM_REGION( 0x0200, "maincpu", 0 ) + ROM_LOAD( "cop410l_b_nhz", 0x0000, 0x0200, CRC(4065c3ce) SHA1(f0bc8125d922949e0d7ab1ba89c805a836d20e09) ) +ROM_END + @@ -1101,8 +1153,8 @@ void funrlgl_state::funrlgl(machine_config &config) class mdallas_state : public hh_cop400_state { public: - mdallas_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + mdallas_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } void prepare_display(); @@ -1219,6 +1271,13 @@ void mdallas_state::mdallas(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( mdallas ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "copl444l-hyn_n", 0x0000, 0x0800, CRC(7848b78c) SHA1(778d24512180892f58c49df3c72ca77b2618d63b) ) +ROM_END + @@ -1237,8 +1296,8 @@ void mdallas_state::mdallas(machine_config &config) class plus1_state : public hh_cop400_state { public: - plus1_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + plus1_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_d); @@ -1300,6 +1359,13 @@ void plus1_state::plus1(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( plus1 ) + ROM_REGION( 0x0200, "maincpu", 0 ) + ROM_LOAD( "cop410l_b_nne", 0x0000, 0x0200, CRC(d861b80c) SHA1(4652f8ee0dd4c3c48b625285bb4f094d96434071) ) +ROM_END + @@ -1327,8 +1393,8 @@ void plus1_state::plus1(machine_config &config) class lightfgt_state : public hh_cop400_state { public: - lightfgt_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + lightfgt_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } void prepare_display(); @@ -1429,6 +1495,13 @@ void lightfgt_state::lightfgt(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( lightfgt ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop421l-hla_n", 0x0000, 0x0400, CRC(aceb2d65) SHA1(2328cbb195faf93c575f3afa3a1fe0079180edd7) ) +ROM_END + @@ -1445,8 +1518,8 @@ void lightfgt_state::lightfgt(machine_config &config) class bship82_state : public hh_cop400_state { public: - bship82_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + bship82_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_d); @@ -1586,6 +1659,13 @@ void bship82_state::bship82(machine_config &config) vref.add_route(0, "dac", -1.0, DAC_VREF_NEG_INPUT); } +// roms + +ROM_START( bship82 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop420-jwe_n", 0x0000, 0x0400, CRC(5ea8111a) SHA1(34931463b806b48dce4f8ae2361512510bae0ebf) ) +ROM_END + @@ -1603,8 +1683,8 @@ void bship82_state::bship82(machine_config &config) class qkracer_state : public hh_cop400_state { public: - qkracer_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + qkracer_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } void prepare_display(); @@ -1713,6 +1793,13 @@ void qkracer_state::qkracer(machine_config &config) /* no sound! */ } +// roms + +ROM_START( qkracer ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "cop420-npg_n", 0x0000, 0x0400, CRC(17f8e538) SHA1(23d1a1819e6ba552d8da83da2948af1cf5b13d5b) ) +ROM_END + @@ -1737,8 +1824,8 @@ void qkracer_state::qkracer(machine_config &config) class vidchal_state : public hh_cop400_state { public: - vidchal_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_cop400_state(mconfig, type, tag) + vidchal_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_cop400_state(mconfig, type, tag) { } void prepare_display(); @@ -1809,100 +1896,7 @@ void vidchal_state::vidchal(machine_config &config) vref.add_route(0, "dac", -1.0, DAC_VREF_NEG_INPUT); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( ctstein ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop421-nez_n", 0x0000, 0x0400, CRC(16148e03) SHA1(b2b74891d36813d9a1eefd56a925054997c4b7f7) ) // 2nd half empty -ROM_END - - -ROM_START( h2hbaskbc ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop420l-nmy", 0x0000, 0x0400, CRC(87152509) SHA1(acdb869b65d49b3b9855a557ed671cbbb0f61e2c) ) -ROM_END - -ROM_START( h2hhockeyc ) // dumped from Basketball - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop420l-nmy", 0x0000, 0x0400, CRC(87152509) SHA1(acdb869b65d49b3b9855a557ed671cbbb0f61e2c) ) -ROM_END - -ROM_START( h2hsoccerc ) // dumped from Basketball - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop420l-nmy", 0x0000, 0x0400, CRC(87152509) SHA1(acdb869b65d49b3b9855a557ed671cbbb0f61e2c) ) -ROM_END - - -ROM_START( einvaderc ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "copl444-hrz_n_inv_ii", 0x0000, 0x0800, CRC(76400f38) SHA1(0e92ab0517f7b7687293b189d30d57110df20fe0) ) - - ROM_REGION( 80636, "svg", 0) - ROM_LOAD( "einvaderc.svg", 0, 80636, CRC(a52d0166) SHA1(f69397ebcc518701f30a47b4d62e5a700825375a) ) -ROM_END - - -ROM_START( unkeinv ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop421_us4345764", 0x0000, 0x0400, CRC(0068c3a3) SHA1(4e5fd566a5a26c066cc14623a9bd01e109ebf797) ) // typed in from patent US4345764, good print quality -ROM_END - - -ROM_START( lchicken ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop421-njc_n", 0x0000, 0x0400, CRC(319e7985) SHA1(9714327518f65ebefe38ac7911bed2b9b9c77307) ) -ROM_END - - -ROM_START( funjacks ) - ROM_REGION( 0x0200, "maincpu", 0 ) - ROM_LOAD( "cop410l_b_ngs", 0x0000, 0x0200, CRC(863368ea) SHA1(f116cc27ae721b3a3e178fa13765808bdc275663) ) -ROM_END - - -ROM_START( funrlgl ) - ROM_REGION( 0x0200, "maincpu", 0 ) - ROM_LOAD( "cop410l_b_nhz", 0x0000, 0x0200, CRC(4065c3ce) SHA1(f0bc8125d922949e0d7ab1ba89c805a836d20e09) ) -ROM_END - - -ROM_START( mdallas ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "copl444l-hyn_n", 0x0000, 0x0800, CRC(7848b78c) SHA1(778d24512180892f58c49df3c72ca77b2618d63b) ) -ROM_END - - -ROM_START( plus1 ) - ROM_REGION( 0x0200, "maincpu", 0 ) - ROM_LOAD( "cop410l_b_nne", 0x0000, 0x0200, CRC(d861b80c) SHA1(4652f8ee0dd4c3c48b625285bb4f094d96434071) ) -ROM_END - - -ROM_START( lightfgt ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop421l-hla_n", 0x0000, 0x0400, CRC(aceb2d65) SHA1(2328cbb195faf93c575f3afa3a1fe0079180edd7) ) -ROM_END - - -ROM_START( bship82 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop420-jwe_n", 0x0000, 0x0400, CRC(5ea8111a) SHA1(34931463b806b48dce4f8ae2361512510bae0ebf) ) -ROM_END - - -ROM_START( qkracer ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "cop420-npg_n", 0x0000, 0x0400, CRC(17f8e538) SHA1(23d1a1819e6ba552d8da83da2948af1cf5b13d5b) ) -ROM_END - +// roms ROM_START( vidchal ) ROM_REGION( 0x0400, "maincpu", 0 ) @@ -1911,6 +1905,14 @@ ROM_END +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + // YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS CONS( 1979, ctstein, 0, 0, ctstein, ctstein, ctstein_state, empty_init, "Castle Toy", "Einstein (Castle Toy)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) diff --git a/src/mame/drivers/hh_hmcs40.cpp b/src/mame/drivers/hh_hmcs40.cpp index 1fe1ea745e0..e0459fbf6c0 100644 --- a/src/mame/drivers/hh_hmcs40.cpp +++ b/src/mame/drivers/hh_hmcs40.cpp @@ -334,10 +334,12 @@ INPUT_CHANGED_MEMBER(hh_hmcs40_state::single_interrupt_line) /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Bambino Dribble Away Basketball (manufactured in Japan) @@ -350,8 +352,8 @@ INPUT_CHANGED_MEMBER(hh_hmcs40_state::single_interrupt_line) class bambball_state : public hh_hmcs40_state { public: - bambball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bambball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -447,6 +449,17 @@ void bambball_state::bambball(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bambball ) + ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38750a08", 0x0000, 0x0800, CRC(907fef18) SHA1(73fe7ca7c6332268a3a9abc5ac88ada2991012fb) ) + ROM_CONTINUE( 0x0f00, 0x0080 ) + + ROM_REGION( 281988, "svg", 0) + ROM_LOAD( "bambball.svg", 0, 281988, CRC(63019194) SHA1(cbfb5b051d8f57f6b4d698796030850b3631ed56) ) +ROM_END + @@ -463,8 +476,8 @@ void bambball_state::bambball(machine_config &config) class bmboxing_state : public hh_hmcs40_state { public: - bmboxing_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bmboxing_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -583,6 +596,17 @@ void bmboxing_state::bmboxing(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bmboxing ) + ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38750a07", 0x0000, 0x0800, CRC(7f33e259) SHA1(c5fcdd6bf060c96666354f09f0570c754f6ed4e0) ) + ROM_CONTINUE( 0x0f00, 0x0080 ) + + ROM_REGION( 257144, "svg", 0) + ROM_LOAD( "bmboxing.svg", 0, 257144, CRC(dab81477) SHA1(28b0c844a311e2023ffa71d754e799059b7d050f) ) +ROM_END + @@ -599,8 +623,8 @@ void bmboxing_state::bmboxing(machine_config &config) class bfriskyt_state : public hh_hmcs40_state { public: - bfriskyt_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bfriskyt_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -608,7 +632,7 @@ public: DECLARE_WRITE16_MEMBER(grid_w); void update_int1(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int1(); } void bfriskyt(machine_config &config); }; @@ -678,11 +702,6 @@ static INPUT_PORTS_START( bfriskyt ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(bfriskyt_state::input_changed) -{ - update_int1(); -} - void bfriskyt_state::bfriskyt(machine_config &config) { /* basic machine hardware */ @@ -706,6 +725,17 @@ void bfriskyt_state::bfriskyt(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bfriskyt ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a77", 0x0000, 0x1000, CRC(a2445c4f) SHA1(0aaccfec90b66d27dae194d4462d88e654c41578) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 413577, "svg", 0) + ROM_LOAD( "bfriskyt.svg", 0, 413577, CRC(17090264) SHA1(4512a8a91a459f2ddc258641c6d38c2f48f4160f) ) +ROM_END + @@ -728,8 +758,8 @@ void bfriskyt_state::bfriskyt(machine_config &config) class packmon_state : public hh_hmcs40_state { public: - packmon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + packmon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -816,6 +846,17 @@ void packmon_state::packmon(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( packmon ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a27", 0x0000, 0x1000, CRC(86e09e84) SHA1(ac7d3c43667d5720ca513f8ff51d146d9f2af124) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 246356, "svg", 0) + ROM_LOAD( "packmon.svg", 0, 246356, CRC(991eea96) SHA1(bf42765aea838e9c26453642b01a962399b3e74c) ) +ROM_END + @@ -839,8 +880,8 @@ void packmon_state::packmon(machine_config &config) class msthawk_state : public hh_hmcs40_state { public: - msthawk_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + msthawk_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -848,7 +889,7 @@ public: DECLARE_WRITE16_MEMBER(grid_w); void update_int0(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int0(); } void msthawk(machine_config &config); }; @@ -921,11 +962,6 @@ static INPUT_PORTS_START( msthawk ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1) PORT_NAME("Fire") INPUT_PORTS_END -INPUT_CHANGED_MEMBER(msthawk_state::input_changed) -{ - update_int0(); -} - void msthawk_state::msthawk(machine_config &config) { /* basic machine hardware */ @@ -949,6 +985,17 @@ void msthawk_state::msthawk(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( msthawk ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a73", 0x0000, 0x1000, CRC(a4f9a523) SHA1(465f06b02e2e7d2277218fd447830725790a816c) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 197907, "svg", 0) + ROM_LOAD( "msthawk.svg", 0, 197907, CRC(b54efcb9) SHA1(76db2ca156d556bf578995196eca1170b39988bb) ) +ROM_END + @@ -966,15 +1013,15 @@ void msthawk_state::msthawk(machine_config &config) class bzaxxon_state : public hh_hmcs40_state { public: - bzaxxon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bzaxxon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); DECLARE_WRITE16_MEMBER(grid_w); void update_int1(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int1(); } void bzaxxon(machine_config &config); }; @@ -1041,11 +1088,6 @@ static INPUT_PORTS_START( bzaxxon ) PORT_BIT( 0xfff7, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(bzaxxon_state::input_changed) -{ - update_int1(); -} - void bzaxxon_state::bzaxxon(machine_config &config) { /* basic machine hardware */ @@ -1070,6 +1112,17 @@ void bzaxxon_state::bzaxxon(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bzaxxon ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800b19", 0x0000, 0x1000, CRC(4fecb80d) SHA1(7adf079480ffd3825ad5ae1eaa4d892eecbcc42d) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 521080, "svg", 0) + ROM_LOAD( "bzaxxon.svg", 0, 521080, BAD_DUMP CRC(f4fbb2de) SHA1(83db400e67d91ae4bfee3e8568ae9df94ebede19) ) +ROM_END + @@ -1085,15 +1138,15 @@ void bzaxxon_state::bzaxxon(machine_config &config) class zackman_state : public hh_hmcs40_state { public: - zackman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + zackman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); DECLARE_WRITE16_MEMBER(grid_w); void update_int0(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int0(); } void zackman(machine_config &config); }; @@ -1156,11 +1209,6 @@ static INPUT_PORTS_START( zackman ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(zackman_state::input_changed) -{ - update_int0(); -} - void zackman_state::zackman(machine_config &config) { /* basic machine hardware */ @@ -1187,6 +1235,17 @@ void zackman_state::zackman(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( zackman ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a49", 0x0000, 0x1000, CRC(b97f5ef6) SHA1(7fe20e8107361caf9ea657e504be1f8b10b8b03f) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 910689, "svg", 0) + ROM_LOAD( "zackman.svg", 0, 910689, CRC(5f322820) SHA1(4210aff160e5de9a409aba8b915aaebff2a92647) ) +ROM_END + @@ -1203,8 +1262,8 @@ void zackman_state::zackman(machine_config &config) class bpengo_state : public hh_hmcs40_state { public: - bpengo_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bpengo_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -1212,7 +1271,7 @@ public: DECLARE_WRITE16_MEMBER(grid_w); void update_int0(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int0(); } void bpengo(machine_config &config); }; @@ -1282,11 +1341,6 @@ static INPUT_PORTS_START( bpengo ) PORT_BIT( 0xf7ff, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(bpengo_state::input_changed) -{ - update_int0(); -} - void bpengo_state::bpengo(machine_config &config) { /* basic machine hardware */ @@ -1314,6 +1368,17 @@ void bpengo_state::bpengo(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bpengo ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a63", 0x0000, 0x1000, CRC(ebd6bc64) SHA1(0a322c47b9553a2739a85908ce64b9650cf93d49) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 744461, "svg", 0) + ROM_LOAD( "bpengo.svg", 0, 744461, BAD_DUMP CRC(2b9abaa5) SHA1(c70a6ac1fa757fdd3ababfe6e00573ef1410c1eb) ) +ROM_END + @@ -1330,8 +1395,8 @@ void bpengo_state::bpengo(machine_config &config) class bbtime_state : public hh_hmcs40_state { public: - bbtime_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bbtime_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -1339,7 +1404,7 @@ public: DECLARE_WRITE16_MEMBER(grid_w); void update_int0(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int0(); } void bbtime(machine_config &config); }; @@ -1406,11 +1471,6 @@ static INPUT_PORTS_START( bbtime ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(bbtime_state::input_changed) -{ - update_int0(); -} - void bbtime_state::bbtime(machine_config &config) { /* basic machine hardware */ @@ -1437,6 +1497,17 @@ void bbtime_state::bbtime(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bbtime ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a65", 0x0000, 0x1000, CRC(33611faf) SHA1(29b6a30ed543688d31ec2aa18f7938fa4eef30b0) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 461605, "svg", 0) + ROM_LOAD( "bbtime.svg", 0, 461605, BAD_DUMP CRC(5b335271) SHA1(46c45b711358e8397ae707668aecead9e341ab8a) ) +ROM_END + @@ -1453,8 +1524,8 @@ void bbtime_state::bbtime(machine_config &config) class bdoramon_state : public hh_hmcs40_state { public: - bdoramon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bdoramon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -1535,6 +1606,17 @@ void bdoramon_state::bdoramon(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bdoramon ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800b43", 0x0000, 0x1000, CRC(9387ca42) SHA1(8937e208934b34bd9f49700aa50287dfc8bda76c) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 624751, "svg", 0) + ROM_LOAD( "bdoramon.svg", 0, 624751, CRC(5dc4017c) SHA1(2091765de401969651b8eb22067572be72d12398) ) +ROM_END + @@ -1551,8 +1633,8 @@ void bdoramon_state::bdoramon(machine_config &config) class bultrman_state : public hh_hmcs40_state { public: - bultrman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + bultrman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -1626,6 +1708,17 @@ void bultrman_state::bultrman(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bultrman ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800b52", 0x0000, 0x1000, CRC(88d372dc) SHA1(f2ac3b89be8afe6fb65914ccebe1a56316b9472a) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 405717, "svg", 0) + ROM_LOAD( "bultrman.svg", 0, 405717, CRC(13367971) SHA1(f294898712d1e146ff267bb1e3cfd059f972b248) ) +ROM_END + @@ -1642,8 +1735,8 @@ void bultrman_state::bultrman(machine_config &config) class machiman_state : public hh_hmcs40_state { public: - machiman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + machiman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -1715,6 +1808,17 @@ void machiman_state::machiman(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( machiman ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a85", 0x0000, 0x1000, CRC(894b4954) SHA1(cab49638a326b031aa548301beb16f818759ef62) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 374097, "svg", 0) + ROM_LOAD( "machiman.svg", 0, 374097, CRC(78af02ac) SHA1(1b4bbea3e46e1bf33149727d9725bc9b18652b9c) ) +ROM_END + @@ -1736,8 +1840,8 @@ void machiman_state::machiman(machine_config &config) class pairmtch_state : public hh_hmcs40_state { public: - pairmtch_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag), + pairmtch_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_soundlatch(*this, "soundlatch%u", 0) { } @@ -1793,7 +1897,6 @@ WRITE8_MEMBER(pairmtch_state::sound_w) m_soundlatch[0]->write(space, 0, bitswap<8>(data,7,6,5,4,0,1,2,3)); } - // handlers: audiocpu side WRITE8_MEMBER(pairmtch_state::sound2_w) @@ -1873,6 +1976,18 @@ void pairmtch_state::pairmtch(machine_config &config) GENERIC_LATCH_8(config, m_soundlatch[1]); } +// roms + +ROM_START( pairmtch ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a88", 0x0000, 0x1000, CRC(ffa35730) SHA1(5a80b9025aaad2ac0ab0b1436a1355ae8cd3f868) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 0x2000, "audiocpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a89", 0x0000, 0x1000, CRC(3533ec56) SHA1(556d69e78a0ee1bf766fce16ed58992d7272d57f) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) +ROM_END + @@ -1891,8 +2006,8 @@ void pairmtch_state::pairmtch(machine_config &config) class alnattck_state : public hh_hmcs40_state { public: - alnattck_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + alnattck_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -1986,6 +2101,17 @@ void alnattck_state::alnattck(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( alnattck ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a25", 0x0000, 0x1000, CRC(18b50869) SHA1(11e9d5f7b4ae818b077b0ee14a3b43190e20bff3) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 564271, "svg", 0) + ROM_LOAD( "alnattck.svg", 0, 564271, CRC(5466d1d4) SHA1(3295272015969e58fddc53272769e1fc1bd4b355) ) +ROM_END + @@ -2003,8 +2129,8 @@ void alnattck_state::alnattck(machine_config &config) class cdkong_state : public hh_hmcs40_state { public: - cdkong_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + cdkong_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -2020,6 +2146,15 @@ protected: virtual void machine_start() override; }; +void cdkong_state::machine_start() +{ + hh_hmcs40_state::machine_start(); + + // zerofill/init + m_speaker_volume = 0; + save_item(NAME(m_speaker_volume)); +} + // handlers void cdkong_state::speaker_decay_reset() @@ -2079,15 +2214,6 @@ static INPUT_PORTS_START( cdkong ) PORT_BIT( 0x7ff8, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -void cdkong_state::machine_start() -{ - hh_hmcs40_state::machine_start(); - - // zerofill/init - m_speaker_volume = 0; - save_item(NAME(m_speaker_volume)); -} - void cdkong_state::cdkong(machine_config &config) { /* basic machine hardware */ @@ -2116,6 +2242,17 @@ void cdkong_state::cdkong(machine_config &config) TIMER(config, "speaker_decay").configure_periodic(FUNC(cdkong_state::speaker_decay_sim), attotime::from_msec(1)); } +// roms + +ROM_START( cdkong ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a45", 0x0000, 0x1000, CRC(196b8070) SHA1(da85d1eb4b048b77f3168630662ab94ec9baa262) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 359199, "svg", 0) + ROM_LOAD( "cdkong.svg", 0, 359199, CRC(ba159fd5) SHA1(3188e2ed3234f39ac9ee93a485a7e73314bc3457) ) +ROM_END + @@ -2139,8 +2276,8 @@ void cdkong_state::cdkong(machine_config &config) class cgalaxn_state : public hh_hmcs40_state { public: - cgalaxn_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + cgalaxn_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -2161,6 +2298,13 @@ void cgalaxn_state::prepare_display() display_matrix(15, 12, plate, grid); } +INPUT_CHANGED_MEMBER(cgalaxn_state::player_switch) +{ + // 2-player switch directly enables plate 14 + m_plate = (m_plate & 0x3fff) | (newval ? 0 : 0x4000); + prepare_display(); +} + WRITE8_MEMBER(cgalaxn_state::grid_w) { // R10,R11: input mux @@ -2213,13 +2357,6 @@ static INPUT_PORTS_START( cgalaxn ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(cgalaxn_state::player_switch) -{ - // 2-player switch directly enables plate 14 - m_plate = (m_plate & 0x3fff) | (newval ? 0 : 0x4000); - prepare_display(); -} - void cgalaxn_state::cgalaxn(machine_config &config) { /* basic machine hardware */ @@ -2243,6 +2380,17 @@ void cgalaxn_state::cgalaxn(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cgalaxn ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a70", 0x0000, 0x1000, CRC(a4c5ed1d) SHA1(0f647cb78437d7e62411febf7c9ce3c5b6753a80) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 712204, "svg", 0) + ROM_LOAD( "cgalaxn.svg", 0, 712204, CRC(67ec57bf) SHA1(195c9867b321da9768ce287d1060ceae50345dd4) ) +ROM_END + @@ -2271,8 +2419,8 @@ void cgalaxn_state::cgalaxn(machine_config &config) class cpacman_state : public hh_hmcs40_state { public: - cpacman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + cpacman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -2364,6 +2512,26 @@ void cpacman_state::cpacman(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cpacman ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a29", 0x0000, 0x1000, CRC(1082d577) SHA1(0ef73132bd41f6ca1e4c001ae19f7f7c97eaa8d1) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 359765, "svg", 0) + ROM_LOAD( "cpacman.svg", 0, 359765, CRC(e3810a46) SHA1(d0994edd71a6adc8f238c71e360a8606ce397a14) ) +ROM_END + +ROM_START( cpacmanr1 ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a28", 0x0000, 0x1000, CRC(d2ed57e5) SHA1(f56f1341485ac28ea9e6cc4d162fab18d8a4c977) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 359765, "svg", 0) + ROM_LOAD( "cpacman.svg", 0, 359765, CRC(e3810a46) SHA1(d0994edd71a6adc8f238c71e360a8606ce397a14) ) +ROM_END + @@ -2387,8 +2555,8 @@ void cpacman_state::cpacman(machine_config &config) class cmspacmn_state : public hh_hmcs40_state { public: - cmspacmn_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + cmspacmn_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -2480,6 +2648,17 @@ void cmspacmn_state::cmspacmn(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cmspacmn ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a61", 0x0000, 0x1000, CRC(76276318) SHA1(9d6ff3f49b4cdaee5c9e238c1ed638bfb9b99aa7) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 849327, "svg", 0) + ROM_LOAD( "cmspacmn.svg", 0, 849327, CRC(4110ad07) SHA1(76113a2ce0fb1c6dab4e26fd59a13dc89d950d75) ) +ROM_END + @@ -2500,8 +2679,8 @@ void cmspacmn_state::cmspacmn(machine_config &config) class sag_state : public hh_hmcs40_state { public: - sag_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + sag_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -2619,6 +2798,26 @@ void sag_state::sag(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( sag_si2 ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "inv2_hd38800a31", 0x0000, 0x1000, BAD_DUMP CRC(29c8c100) SHA1(41cd413065659c6d7d5b2408de2ca6d51c49629a) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) +ROM_END + +ROM_START( sag_bb4 ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "b-b5_hd38800a37", 0x0000, 0x1000, CRC(64852bd5) SHA1(fb1c24ca43934ceb6fc35ac7c35b71e6e843dbc5) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) +ROM_END + +ROM_START( sag_pb ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "pinb_hd38800a38", 0x0000, 0x1000, CRC(6e53a56b) SHA1(13f057eab2e4cfbb3ef1247a041abff15ae727c9) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) +ROM_END + @@ -2635,8 +2834,8 @@ void sag_state::sag(machine_config &config) class egalaxn2_state : public hh_hmcs40_state { public: - egalaxn2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + egalaxn2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -2740,6 +2939,17 @@ void egalaxn2_state::egalaxn2(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( egalaxn2 ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a13", 0x0000, 0x1000, CRC(112b721b) SHA1(4a185bc57ea03fe64f61f7db4da37b16eeb0cb54) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 507945, "svg", 0) + ROM_LOAD( "egalaxn2.svg", 0, 507945, CRC(b72a8721) SHA1(2d90fca6ce962710525b631e5bc8f75d79332b9d) ) +ROM_END + @@ -2758,8 +2968,8 @@ void egalaxn2_state::egalaxn2(machine_config &config) class epacman2_state : public egalaxn2_state { public: - epacman2_state(const machine_config &mconfig, device_type type, const char *tag) - : egalaxn2_state(mconfig, type, tag) + epacman2_state(const machine_config &mconfig, device_type type, const char *tag) : + egalaxn2_state(mconfig, type, tag) { } void epacman2(machine_config &config); @@ -2804,10 +3014,31 @@ void epacman2_state::epacman2(machine_config &config) egalaxn2(config); /* video hardware */ - subdevice("screen")->set_size(505, 1080); - subdevice("screen")->set_visarea(0, 505-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(505, 1080); + screen->set_visarea(0, 505-1, 0, 1080-1); } +// roms + +ROM_START( epacman2 ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a23", 0x0000, 0x1000, CRC(6eab640f) SHA1(509bdd02be915089e13769f22a08e03509f03af4) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 262480, "svg", 0) + ROM_LOAD( "epacman2.svg", 0, 262480, CRC(73bd9671) SHA1(a3ac754c0e060da50b65f3d0f9630d9c3d871650) ) +ROM_END + +ROM_START( epacman2r ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a23", 0x0000, 0x1000, CRC(6eab640f) SHA1(509bdd02be915089e13769f22a08e03509f03af4) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 262483, "svg", 0) + ROM_LOAD( "epacman2r.svg", 0, 262483, CRC(279b629a) SHA1(4c499fb143aadf4f6722b994a22a0d0d3c5150b6) ) +ROM_END + @@ -2825,8 +3056,8 @@ void epacman2_state::epacman2(machine_config &config) class eturtles_state : public hh_hmcs40_state { public: - eturtles_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag), + eturtles_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_cop_irq(0) { } @@ -2844,13 +3075,21 @@ public: DECLARE_READ8_MEMBER(cop_ack_r); void update_int(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int(); } void eturtles(machine_config &config); protected: virtual void machine_start() override; }; +void eturtles_state::machine_start() +{ + hh_hmcs40_state::machine_start(); + + // register for savestates + save_item(NAME(m_cop_irq)); +} + // handlers: maincpu side void eturtles_state::prepare_display() @@ -2895,7 +3134,6 @@ void eturtles_state::update_int() set_interrupt(1, inp & 2); } - // handlers: COP side WRITE_LINE_MEMBER(eturtles_state::speaker_w) @@ -2955,19 +3193,6 @@ static INPUT_PORTS_START( eturtles ) PORT_CONFSETTING( 0x01, "2" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(eturtles_state::input_changed) -{ - update_int(); -} - -void eturtles_state::machine_start() -{ - hh_hmcs40_state::machine_start(); - - // register for savestates - save_item(NAME(m_cop_irq)); -} - void eturtles_state::eturtles(machine_config &config) { /* basic machine hardware */ @@ -3003,6 +3228,20 @@ void eturtles_state::eturtles(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( eturtles ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a43", 0x0000, 0x1000, CRC(446aa4e2) SHA1(d1c0fb14ea7081def53b1174964b39eed1e5d5e6) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 0x0200, "audiocpu", 0 ) + ROM_LOAD( "cop411l-ked_n", 0x0000, 0x0200, CRC(503d26e9) SHA1(a53d24d62195bfbceff2e4a43199846e0950aef6) ) + + ROM_REGION( 1027626, "svg", 0) + ROM_LOAD( "eturtles.svg", 0, 1027626, CRC(b4f7abff) SHA1(e9b065a3a3fef3c71495002945724a86c2a68eb4) ) +ROM_END + @@ -3020,8 +3259,8 @@ void eturtles_state::eturtles(machine_config &config) class estargte_state : public eturtles_state { public: - estargte_state(const machine_config &mconfig, device_type type, const char *tag) - : eturtles_state(mconfig, type, tag) + estargte_state(const machine_config &mconfig, device_type type, const char *tag) : + eturtles_state(mconfig, type, tag) { } virtual void prepare_display() override; @@ -3111,6 +3350,20 @@ void estargte_state::estargte(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( estargte ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a42", 0x0000, 0x1000, CRC(5f6d55a6) SHA1(0da32149790fa5f16097338fc80536b462169e0c) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 0x0200, "audiocpu", 0 ) + ROM_LOAD( "cop411l-kec_n", 0x0000, 0x0200, CRC(fbd3c2d3) SHA1(65b8b24d38678c3fa970bfd639e9449a75a28927) ) + + ROM_REGION( 462214, "svg", 0) + ROM_LOAD( "estargte.svg", 0, 462214, CRC(282cc090) SHA1(b0f3c21e9a529e5f1e33b90ca25ce3a097fb75a0) ) +ROM_END + @@ -3130,8 +3383,8 @@ void estargte_state::estargte(machine_config &config) class ghalien_state : public hh_hmcs40_state { public: - ghalien_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + ghalien_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -3226,6 +3479,17 @@ void ghalien_state::ghalien(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ghalien ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a04", 0x0000, 0x1000, CRC(019c3328) SHA1(9f1029c5c479f78350952c4f18747341ba5ea7a0) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 462749, "svg", 0) + ROM_LOAD( "ghalien.svg", 0, 462749, CRC(1acbb1e8) SHA1(7bdeb840bc9080792e24812eba923bf84f7865a6) ) +ROM_END + @@ -3246,15 +3510,15 @@ void ghalien_state::ghalien(machine_config &config) class gckong_state : public hh_hmcs40_state { public: - gckong_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + gckong_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); DECLARE_WRITE16_MEMBER(grid_w); void update_int1(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int1(); } void gckong(machine_config &config); }; @@ -3323,11 +3587,6 @@ static INPUT_PORTS_START( gckong ) PORT_BIT( 0xffef, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(gckong_state::input_changed) -{ - update_int1(); -} - void gckong_state::gckong(machine_config &config) { /* basic machine hardware */ @@ -3352,6 +3611,17 @@ void gckong_state::gckong(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gckong ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800b01", 0x0000, 0x1000, CRC(d5a2cca3) SHA1(37bb5784383daab672ed1e0e2362c7a40d8d9b3f) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 356769, "svg", 0) + ROM_LOAD( "gckong.svg", 0, 356769, CRC(e2559b53) SHA1(519309c3a88b5d7f4c0ac5ae05dcdc1153377765) ) +ROM_END + @@ -3368,15 +3638,15 @@ void gckong_state::gckong(machine_config &config) class gdigdug_state : public hh_hmcs40_state { public: - gdigdug_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + gdigdug_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); DECLARE_WRITE16_MEMBER(grid_w); void update_int1(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int1(); } void gdigdug(machine_config &config); }; @@ -3441,11 +3711,6 @@ static INPUT_PORTS_START( gdigdug ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(gdigdug_state::input_changed) -{ - update_int1(); -} - void gdigdug_state::gdigdug(machine_config &config) { /* basic machine hardware */ @@ -3472,6 +3737,17 @@ void gdigdug_state::gdigdug(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gdigdug ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a69", 0x0000, 0x1000, CRC(501165a9) SHA1(8a15d00c4aa66e870cadde33148426463560d2e6) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 807990, "svg", 0) + ROM_LOAD( "gdigdug.svg", 0, 807990, CRC(a5b8392d) SHA1(3503829bb1a626a9e70115fb60b656dff8908144) ) +ROM_END + @@ -3492,8 +3768,8 @@ void gdigdug_state::gdigdug(machine_config &config) class mwcbaseb_state : public hh_hmcs40_state { public: - mwcbaseb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + mwcbaseb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -3633,6 +3909,17 @@ void mwcbaseb_state::mwcbaseb(machine_config &config) m_speaker->set_levels(8, mwcbaseb_speaker_levels); } +// roms + +ROM_START( mwcbaseb ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a09", 0x0000, 0x1000, CRC(25ba7dc0) SHA1(69e0a867fdcf07b454b1faf835e576ae782432c0) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 178441, "svg", 0) + ROM_LOAD( "mwcbaseb.svg", 0, 178441, CRC(0f631190) SHA1(74a10ad0630af5516f76d5bf5628483d21f6b7be) ) +ROM_END + @@ -3649,8 +3936,8 @@ void mwcbaseb_state::mwcbaseb(machine_config &config) class pbqbert_state : public hh_hmcs40_state { public: - pbqbert_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + pbqbert_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -3721,6 +4008,17 @@ void pbqbert_state::pbqbert(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( pbqbert ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38820a70", 0x0000, 0x1000, CRC(be7c80b4) SHA1(0617a80ef7fe188ea221de32e760d45fd4318c67) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 456567, "svg", 0) + ROM_LOAD( "pbqbert.svg", 0, 456567, CRC(49853a62) SHA1(869377109fb7163e5ef5efadb26ce3955231f6ca) ) +ROM_END + @@ -3737,8 +4035,8 @@ void pbqbert_state::pbqbert(machine_config &config) class kingman_state : public hh_hmcs40_state { public: - kingman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + kingman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -3746,7 +4044,7 @@ public: DECLARE_WRITE16_MEMBER(grid_w); void update_int0(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int0(); } void kingman(machine_config &config); }; @@ -3813,11 +4111,6 @@ static INPUT_PORTS_START( kingman ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 1) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(kingman_state::input_changed) -{ - update_int0(); -} - void kingman_state::kingman(machine_config &config) { /* basic machine hardware */ @@ -3841,6 +4134,17 @@ void kingman_state::kingman(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kingman ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800b23", 0x0000, 0x1000, CRC(f8dfe14f) SHA1(660610d92ae7e5f92bddf5a3bcc2296b2ec3946b) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 396320, "svg", 0) + ROM_LOAD( "kingman.svg", 0, 396320, CRC(3f52d2a9) SHA1(9291f1a1da3d19c3d6dedb995de0a5feba75b442) ) +ROM_END + @@ -3857,8 +4161,8 @@ void kingman_state::kingman(machine_config &config) class tmtron_state : public hh_hmcs40_state { public: - tmtron_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + tmtron_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } void prepare_display(); @@ -3866,7 +4170,7 @@ public: DECLARE_WRITE16_MEMBER(grid_w); void update_int1(); - DECLARE_INPUT_CHANGED_MEMBER(input_changed); + DECLARE_INPUT_CHANGED_MEMBER(input_changed) { update_int1(); } void tmtron(machine_config &config); }; @@ -3933,11 +4237,6 @@ static INPUT_PORTS_START( tmtron ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_hmcs40_state, single_interrupt_line, 0) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(tmtron_state::input_changed) -{ - update_int1(); -} - void tmtron_state::tmtron(machine_config &config) { /* basic machine hardware */ @@ -3961,6 +4260,17 @@ void tmtron_state::tmtron(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tmtron ) + ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD( "hd38800a88", 0x0000, 0x1000, CRC(33db9670) SHA1(d6f747a59356526698784047bcfdbb59e79b9a23) ) + ROM_CONTINUE( 0x1e80, 0x0100 ) + + ROM_REGION( 384174, "svg", 0) + ROM_LOAD( "tmtron.svg", 0, 384174, CRC(06bd9e63) SHA1(fb93013ec42dc05f7029ef3c3073c84867f0d077) ) +ROM_END + @@ -3981,8 +4291,8 @@ void tmtron_state::tmtron(machine_config &config) class vinvader_state : public hh_hmcs40_state { public: - vinvader_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_hmcs40_state(mconfig, type, tag) + vinvader_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_hmcs40_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(plate_w); @@ -4055,351 +4365,7 @@ void vinvader_state::vinvader(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( bambball ) - ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38750a08", 0x0000, 0x0800, CRC(907fef18) SHA1(73fe7ca7c6332268a3a9abc5ac88ada2991012fb) ) - ROM_CONTINUE( 0x0f00, 0x0080 ) - - ROM_REGION( 281988, "svg", 0) - ROM_LOAD( "bambball.svg", 0, 281988, CRC(63019194) SHA1(cbfb5b051d8f57f6b4d698796030850b3631ed56) ) -ROM_END - - -ROM_START( bmboxing ) - ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38750a07", 0x0000, 0x0800, CRC(7f33e259) SHA1(c5fcdd6bf060c96666354f09f0570c754f6ed4e0) ) - ROM_CONTINUE( 0x0f00, 0x0080 ) - - ROM_REGION( 257144, "svg", 0) - ROM_LOAD( "bmboxing.svg", 0, 257144, CRC(dab81477) SHA1(28b0c844a311e2023ffa71d754e799059b7d050f) ) -ROM_END - - -ROM_START( bfriskyt ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a77", 0x0000, 0x1000, CRC(a2445c4f) SHA1(0aaccfec90b66d27dae194d4462d88e654c41578) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 413577, "svg", 0) - ROM_LOAD( "bfriskyt.svg", 0, 413577, CRC(17090264) SHA1(4512a8a91a459f2ddc258641c6d38c2f48f4160f) ) -ROM_END - - -ROM_START( packmon ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a27", 0x0000, 0x1000, CRC(86e09e84) SHA1(ac7d3c43667d5720ca513f8ff51d146d9f2af124) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 246356, "svg", 0) - ROM_LOAD( "packmon.svg", 0, 246356, CRC(991eea96) SHA1(bf42765aea838e9c26453642b01a962399b3e74c) ) -ROM_END - - -ROM_START( msthawk ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a73", 0x0000, 0x1000, CRC(a4f9a523) SHA1(465f06b02e2e7d2277218fd447830725790a816c) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 197907, "svg", 0) - ROM_LOAD( "msthawk.svg", 0, 197907, CRC(b54efcb9) SHA1(76db2ca156d556bf578995196eca1170b39988bb) ) -ROM_END - - -ROM_START( bzaxxon ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800b19", 0x0000, 0x1000, CRC(4fecb80d) SHA1(7adf079480ffd3825ad5ae1eaa4d892eecbcc42d) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 521080, "svg", 0) - ROM_LOAD( "bzaxxon.svg", 0, 521080, BAD_DUMP CRC(f4fbb2de) SHA1(83db400e67d91ae4bfee3e8568ae9df94ebede19) ) -ROM_END - - -ROM_START( zackman ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a49", 0x0000, 0x1000, CRC(b97f5ef6) SHA1(7fe20e8107361caf9ea657e504be1f8b10b8b03f) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 910689, "svg", 0) - ROM_LOAD( "zackman.svg", 0, 910689, CRC(5f322820) SHA1(4210aff160e5de9a409aba8b915aaebff2a92647) ) -ROM_END - - -ROM_START( bpengo ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a63", 0x0000, 0x1000, CRC(ebd6bc64) SHA1(0a322c47b9553a2739a85908ce64b9650cf93d49) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 744461, "svg", 0) - ROM_LOAD( "bpengo.svg", 0, 744461, BAD_DUMP CRC(2b9abaa5) SHA1(c70a6ac1fa757fdd3ababfe6e00573ef1410c1eb) ) -ROM_END - - -ROM_START( bbtime ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a65", 0x0000, 0x1000, CRC(33611faf) SHA1(29b6a30ed543688d31ec2aa18f7938fa4eef30b0) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 461605, "svg", 0) - ROM_LOAD( "bbtime.svg", 0, 461605, BAD_DUMP CRC(5b335271) SHA1(46c45b711358e8397ae707668aecead9e341ab8a) ) -ROM_END - - -ROM_START( bdoramon ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800b43", 0x0000, 0x1000, CRC(9387ca42) SHA1(8937e208934b34bd9f49700aa50287dfc8bda76c) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 624751, "svg", 0) - ROM_LOAD( "bdoramon.svg", 0, 624751, CRC(5dc4017c) SHA1(2091765de401969651b8eb22067572be72d12398) ) -ROM_END - - -ROM_START( bultrman ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800b52", 0x0000, 0x1000, CRC(88d372dc) SHA1(f2ac3b89be8afe6fb65914ccebe1a56316b9472a) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 405717, "svg", 0) - ROM_LOAD( "bultrman.svg", 0, 405717, CRC(13367971) SHA1(f294898712d1e146ff267bb1e3cfd059f972b248) ) -ROM_END - - -ROM_START( machiman ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a85", 0x0000, 0x1000, CRC(894b4954) SHA1(cab49638a326b031aa548301beb16f818759ef62) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 374097, "svg", 0) - ROM_LOAD( "machiman.svg", 0, 374097, CRC(78af02ac) SHA1(1b4bbea3e46e1bf33149727d9725bc9b18652b9c) ) -ROM_END - - -ROM_START( pairmtch ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a88", 0x0000, 0x1000, CRC(ffa35730) SHA1(5a80b9025aaad2ac0ab0b1436a1355ae8cd3f868) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 0x2000, "audiocpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a89", 0x0000, 0x1000, CRC(3533ec56) SHA1(556d69e78a0ee1bf766fce16ed58992d7272d57f) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) -ROM_END - - -ROM_START( alnattck ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a25", 0x0000, 0x1000, CRC(18b50869) SHA1(11e9d5f7b4ae818b077b0ee14a3b43190e20bff3) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 564271, "svg", 0) - ROM_LOAD( "alnattck.svg", 0, 564271, CRC(5466d1d4) SHA1(3295272015969e58fddc53272769e1fc1bd4b355) ) -ROM_END - - -ROM_START( cdkong ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a45", 0x0000, 0x1000, CRC(196b8070) SHA1(da85d1eb4b048b77f3168630662ab94ec9baa262) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 359199, "svg", 0) - ROM_LOAD( "cdkong.svg", 0, 359199, CRC(ba159fd5) SHA1(3188e2ed3234f39ac9ee93a485a7e73314bc3457) ) -ROM_END - - -ROM_START( cgalaxn ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a70", 0x0000, 0x1000, CRC(a4c5ed1d) SHA1(0f647cb78437d7e62411febf7c9ce3c5b6753a80) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 712204, "svg", 0) - ROM_LOAD( "cgalaxn.svg", 0, 712204, CRC(67ec57bf) SHA1(195c9867b321da9768ce287d1060ceae50345dd4) ) -ROM_END - - -ROM_START( cpacman ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a29", 0x0000, 0x1000, CRC(1082d577) SHA1(0ef73132bd41f6ca1e4c001ae19f7f7c97eaa8d1) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 359765, "svg", 0) - ROM_LOAD( "cpacman.svg", 0, 359765, CRC(e3810a46) SHA1(d0994edd71a6adc8f238c71e360a8606ce397a14) ) -ROM_END - -ROM_START( cpacmanr1 ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a28", 0x0000, 0x1000, CRC(d2ed57e5) SHA1(f56f1341485ac28ea9e6cc4d162fab18d8a4c977) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 359765, "svg", 0) - ROM_LOAD( "cpacman.svg", 0, 359765, CRC(e3810a46) SHA1(d0994edd71a6adc8f238c71e360a8606ce397a14) ) -ROM_END - - -ROM_START( cmspacmn ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a61", 0x0000, 0x1000, CRC(76276318) SHA1(9d6ff3f49b4cdaee5c9e238c1ed638bfb9b99aa7) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 849327, "svg", 0) - ROM_LOAD( "cmspacmn.svg", 0, 849327, CRC(4110ad07) SHA1(76113a2ce0fb1c6dab4e26fd59a13dc89d950d75) ) -ROM_END - - -ROM_START( sag_si2 ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "inv2_hd38800a31", 0x0000, 0x1000, BAD_DUMP CRC(29c8c100) SHA1(41cd413065659c6d7d5b2408de2ca6d51c49629a) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) -ROM_END - - -ROM_START( sag_bb4 ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "b-b5_hd38800a37", 0x0000, 0x1000, CRC(64852bd5) SHA1(fb1c24ca43934ceb6fc35ac7c35b71e6e843dbc5) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) -ROM_END - - -ROM_START( sag_pb ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "pinb_hd38800a38", 0x0000, 0x1000, CRC(6e53a56b) SHA1(13f057eab2e4cfbb3ef1247a041abff15ae727c9) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) -ROM_END - - -ROM_START( egalaxn2 ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a13", 0x0000, 0x1000, CRC(112b721b) SHA1(4a185bc57ea03fe64f61f7db4da37b16eeb0cb54) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 507945, "svg", 0) - ROM_LOAD( "egalaxn2.svg", 0, 507945, CRC(b72a8721) SHA1(2d90fca6ce962710525b631e5bc8f75d79332b9d) ) -ROM_END - - -ROM_START( epacman2 ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a23", 0x0000, 0x1000, CRC(6eab640f) SHA1(509bdd02be915089e13769f22a08e03509f03af4) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 262480, "svg", 0) - ROM_LOAD( "epacman2.svg", 0, 262480, CRC(73bd9671) SHA1(a3ac754c0e060da50b65f3d0f9630d9c3d871650) ) -ROM_END - -ROM_START( epacman2r ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a23", 0x0000, 0x1000, CRC(6eab640f) SHA1(509bdd02be915089e13769f22a08e03509f03af4) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 262483, "svg", 0) - ROM_LOAD( "epacman2r.svg", 0, 262483, CRC(279b629a) SHA1(4c499fb143aadf4f6722b994a22a0d0d3c5150b6) ) -ROM_END - - -ROM_START( estargte ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a42", 0x0000, 0x1000, CRC(5f6d55a6) SHA1(0da32149790fa5f16097338fc80536b462169e0c) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 0x0200, "audiocpu", 0 ) - ROM_LOAD( "cop411l-kec_n", 0x0000, 0x0200, CRC(fbd3c2d3) SHA1(65b8b24d38678c3fa970bfd639e9449a75a28927) ) - - ROM_REGION( 462214, "svg", 0) - ROM_LOAD( "estargte.svg", 0, 462214, CRC(282cc090) SHA1(b0f3c21e9a529e5f1e33b90ca25ce3a097fb75a0) ) -ROM_END - - -ROM_START( eturtles ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a43", 0x0000, 0x1000, CRC(446aa4e2) SHA1(d1c0fb14ea7081def53b1174964b39eed1e5d5e6) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 0x0200, "audiocpu", 0 ) - ROM_LOAD( "cop411l-ked_n", 0x0000, 0x0200, CRC(503d26e9) SHA1(a53d24d62195bfbceff2e4a43199846e0950aef6) ) - - ROM_REGION( 1027626, "svg", 0) - ROM_LOAD( "eturtles.svg", 0, 1027626, CRC(b4f7abff) SHA1(e9b065a3a3fef3c71495002945724a86c2a68eb4) ) -ROM_END - - -ROM_START( ghalien ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a04", 0x0000, 0x1000, CRC(019c3328) SHA1(9f1029c5c479f78350952c4f18747341ba5ea7a0) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 462749, "svg", 0) - ROM_LOAD( "ghalien.svg", 0, 462749, CRC(1acbb1e8) SHA1(7bdeb840bc9080792e24812eba923bf84f7865a6) ) -ROM_END - - -ROM_START( gckong ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800b01", 0x0000, 0x1000, CRC(d5a2cca3) SHA1(37bb5784383daab672ed1e0e2362c7a40d8d9b3f) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 356769, "svg", 0) - ROM_LOAD( "gckong.svg", 0, 356769, CRC(e2559b53) SHA1(519309c3a88b5d7f4c0ac5ae05dcdc1153377765) ) -ROM_END - - -ROM_START( gdigdug ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a69", 0x0000, 0x1000, CRC(501165a9) SHA1(8a15d00c4aa66e870cadde33148426463560d2e6) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 807990, "svg", 0) - ROM_LOAD( "gdigdug.svg", 0, 807990, CRC(a5b8392d) SHA1(3503829bb1a626a9e70115fb60b656dff8908144) ) -ROM_END - - -ROM_START( mwcbaseb ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a09", 0x0000, 0x1000, CRC(25ba7dc0) SHA1(69e0a867fdcf07b454b1faf835e576ae782432c0) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 178441, "svg", 0) - ROM_LOAD( "mwcbaseb.svg", 0, 178441, CRC(0f631190) SHA1(74a10ad0630af5516f76d5bf5628483d21f6b7be) ) -ROM_END - - -ROM_START( pbqbert ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38820a70", 0x0000, 0x1000, CRC(be7c80b4) SHA1(0617a80ef7fe188ea221de32e760d45fd4318c67) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 456567, "svg", 0) - ROM_LOAD( "pbqbert.svg", 0, 456567, CRC(49853a62) SHA1(869377109fb7163e5ef5efadb26ce3955231f6ca) ) -ROM_END - - -ROM_START( kingman ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800b23", 0x0000, 0x1000, CRC(f8dfe14f) SHA1(660610d92ae7e5f92bddf5a3bcc2296b2ec3946b) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 396320, "svg", 0) - ROM_LOAD( "kingman.svg", 0, 396320, CRC(3f52d2a9) SHA1(9291f1a1da3d19c3d6dedb995de0a5feba75b442) ) -ROM_END - - -ROM_START( tmtron ) - ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASE00 ) - ROM_LOAD( "hd38800a88", 0x0000, 0x1000, CRC(33db9670) SHA1(d6f747a59356526698784047bcfdbb59e79b9a23) ) - ROM_CONTINUE( 0x1e80, 0x0100 ) - - ROM_REGION( 384174, "svg", 0) - ROM_LOAD( "tmtron.svg", 0, 384174, CRC(06bd9e63) SHA1(fb93013ec42dc05f7029ef3c3073c84867f0d077) ) -ROM_END - +// roms ROM_START( vinvader ) ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASE00 ) @@ -4412,6 +4378,14 @@ ROM_END +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + // YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS CONS( 1979, bambball, 0, 0, bambball, bambball, bambball_state, empty_init, "Bambino", "Dribble Away Basketball", MACHINE_SUPPORTS_SAVE ) CONS( 1979, bmboxing, 0, 0, bmboxing, bmboxing, bmboxing_state, empty_init, "Bambino", "Knock-Em Out Boxing", MACHINE_SUPPORTS_SAVE ) @@ -4441,8 +4415,8 @@ CONS( 1981, sag_pb, 0, 0, sag, sag, sag_state, empty_in CONS( 1981, egalaxn2, 0, 0, egalaxn2, egalaxn2, egalaxn2_state, empty_init, "Entex", "Galaxian 2 (Entex)", MACHINE_SUPPORTS_SAVE ) CONS( 1981, epacman2, 0, 0, epacman2, epacman2, epacman2_state, empty_init, "Entex", "Pac Man 2 (Entex, cyan Pacman)", MACHINE_SUPPORTS_SAVE ) CONS( 1981, epacman2r, epacman2, 0, epacman2, epacman2, epacman2_state, empty_init, "Entex", "Pac Man 2 (Entex, red Pacman)", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, estargte, 0, 0, estargte, estargte, estargte_state, empty_init, "Entex", "Stargate (Entex)", MACHINE_SUPPORTS_SAVE ) CONS( 1982, eturtles, 0, 0, eturtles, eturtles, eturtles_state, empty_init, "Entex", "Turtles (Entex)", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, estargte, 0, 0, estargte, estargte, estargte_state, empty_init, "Entex", "Stargate (Entex)", MACHINE_SUPPORTS_SAVE ) CONS( 1980, ghalien, 0, 0, ghalien, ghalien, ghalien_state, empty_init, "Gakken", "Heiankyo Alien (Gakken)", MACHINE_SUPPORTS_SAVE ) CONS( 1982, gckong, 0, 0, gckong, gckong, gckong_state, empty_init, "Gakken", "Crazy Kong (Gakken)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) diff --git a/src/mame/drivers/hh_melps4.cpp b/src/mame/drivers/hh_melps4.cpp index 044c7c2646b..8a52679a0b9 100644 --- a/src/mame/drivers/hh_melps4.cpp +++ b/src/mame/drivers/hh_melps4.cpp @@ -203,10 +203,12 @@ INPUT_CHANGED_MEMBER(hh_melps4_state::reset_button) /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Coleco Frogger (manufactured in Japan, licensed from Sega) @@ -219,8 +221,8 @@ INPUT_CHANGED_MEMBER(hh_melps4_state::reset_button) class cfrogger_state : public hh_melps4_state { public: - cfrogger_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_melps4_state(mconfig, type, tag) + cfrogger_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_melps4_state(mconfig, type, tag) { } void prepare_display(); @@ -317,6 +319,16 @@ void cfrogger_state::cfrogger(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cfrogger ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m58846-701p", 0x0000, 0x1000, CRC(ba52a242) SHA1(7fa53b617f4bb54be32eb209e9b88131e11cb518) ) + + ROM_REGION( 786255, "svg", 0) + ROM_LOAD( "cfrogger.svg", 0, 786255, CRC(d8d6e2b6) SHA1(bc9a0260b211ed07021dfe1cc19a993569f4c544) ) +ROM_END + @@ -333,8 +345,8 @@ void cfrogger_state::cfrogger(machine_config &config) class gjungler_state : public hh_melps4_state { public: - gjungler_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_melps4_state(mconfig, type, tag) + gjungler_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_melps4_state(mconfig, type, tag) { } void prepare_display(); @@ -432,24 +444,7 @@ void gjungler_state::gjungler(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( cfrogger ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m58846-701p", 0x0000, 0x1000, CRC(ba52a242) SHA1(7fa53b617f4bb54be32eb209e9b88131e11cb518) ) - - ROM_REGION( 786255, "svg", 0) - ROM_LOAD( "cfrogger.svg", 0, 786255, CRC(d8d6e2b6) SHA1(bc9a0260b211ed07021dfe1cc19a993569f4c544) ) -ROM_END - +// roms ROM_START( gjungler ) ROM_REGION( 0x1000, "maincpu", 0 ) @@ -461,6 +456,14 @@ ROM_END +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + // YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS CONS( 1981, cfrogger, 0, 0, cfrogger, cfrogger, cfrogger_state, empty_init, "Coleco", "Frogger (Coleco)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/hh_pic16.cpp b/src/mame/drivers/hh_pic16.cpp index 7fcc64da664..c2529866786 100644 --- a/src/mame/drivers/hh_pic16.cpp +++ b/src/mame/drivers/hh_pic16.cpp @@ -70,8 +70,8 @@ class hh_pic16_state : public driver_device { public: - hh_pic16_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + hh_pic16_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN.%u", 0), m_out_x(*this, "%u.%u", 0U, 0U), @@ -277,10 +277,12 @@ u8 hh_pic16_state::read_rotated_inputs(int columns, u8 rowmask) /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Atari Touch Me @@ -298,8 +300,8 @@ u8 hh_pic16_state::read_rotated_inputs(int columns, u8 rowmask) class touchme_state : public hh_pic16_state { public: - touchme_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + touchme_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -400,6 +402,13 @@ void touchme_state::touchme(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( touchme ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-053", 0x0000, 0x0400, CRC(f0858f0a) SHA1(53ffe111d43db1c110847590350ef62f02ed5e0e) ) +ROM_END + @@ -415,8 +424,8 @@ void touchme_state::touchme(machine_config &config) class pabball_state : public hh_pic16_state { public: - pabball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + pabball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -504,6 +513,13 @@ void pabball_state::pabball(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( pabball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-043", 0x0000, 0x0400, CRC(43c9b765) SHA1(888a431bab9bcb241c14f33f70863fa2ad89c96b) ) +ROM_END + @@ -522,8 +538,8 @@ void pabball_state::pabball(machine_config &config) class melodym_state : public hh_pic16_state { public: - melodym_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + melodym_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_b); @@ -618,6 +634,13 @@ void melodym_state::melodym(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( melodym ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-094", 0x0000, 0x0400, CRC(6d35bd7b) SHA1(20e326085878f69a9d4ef1651ef4443f27188567) ) +ROM_END + @@ -640,8 +663,8 @@ void melodym_state::melodym(machine_config &config) class maniac_state : public hh_pic16_state { public: - maniac_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + maniac_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -718,6 +741,13 @@ void maniac_state::maniac(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( maniac ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-036", 0x0000, 0x0400, CRC(a96f7011) SHA1(e97ae44d3c1e74c7e1024bb0bdab03eecdc9f827) ) +ROM_END + @@ -741,8 +771,8 @@ void maniac_state::maniac(machine_config &config) class matchme_state : public hh_pic16_state { public: - matchme_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + matchme_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(write_b); @@ -750,15 +780,28 @@ public: DECLARE_READ8_MEMBER(read_c); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(speed_switch); + DECLARE_INPUT_CHANGED_MEMBER(speed_switch) { set_clock(); } void matchme(machine_config &config); protected: virtual void machine_reset() override; }; +void matchme_state::machine_reset() +{ + hh_pic16_state::machine_reset(); + set_clock(); +} + // handlers +void matchme_state::set_clock() +{ + // MCU clock is ~1.2MHz by default (R=18K, C=15pF), high speed setting adds a + // 10pF cap to speed it up by about 7.5%. + m_maincpu->set_unscaled_clock((m_inp_matrix[4]->read() & 1) ? 1300000 : 1200000); +} + WRITE8_MEMBER(matchme_state::write_b) { // B0-B7: lamps @@ -831,24 +874,6 @@ static INPUT_PORTS_START( matchme ) PORT_CONFSETTING( 0x00, "Auto" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(matchme_state::speed_switch) -{ - set_clock(); -} - -void matchme_state::set_clock() -{ - // MCU clock is ~1.2MHz by default (R=18K, C=15pF), high speed setting adds a - // 10pF cap to speed it up by about 7.5%. - m_maincpu->set_unscaled_clock((m_inp_matrix[4]->read() & 1) ? 1300000 : 1200000); -} - -void matchme_state::machine_reset() -{ - hh_pic16_state::machine_reset(); - set_clock(); -} - void matchme_state::matchme(machine_config &config) { /* basic machine hardware */ @@ -866,6 +891,13 @@ void matchme_state::matchme(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( matchme ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-049", 0x0000, 0x0400, CRC(fa3f4805) SHA1(57cbac18baa201927e99cd69cc2ffda4d2e642bb) ) +ROM_END + @@ -896,8 +928,8 @@ void matchme_state::matchme(machine_config &config) class leboom_state : public hh_pic16_state { public: - leboom_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + leboom_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } DECLARE_READ8_MEMBER(read_a); @@ -913,6 +945,15 @@ protected: virtual void machine_start() override; }; +void leboom_state::machine_start() +{ + hh_pic16_state::machine_start(); + + // zerofill/init + m_speaker_volume = 0; + save_item(NAME(m_speaker_volume)); +} + // handlers void leboom_state::speaker_decay_reset() @@ -995,15 +1036,6 @@ static INPUT_PORTS_START( leboom ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYPAD ) PORT_CODE(KEYCODE_N) PORT_NAME("Blue Button 8") INPUT_PORTS_END -void leboom_state::machine_start() -{ - hh_pic16_state::machine_start(); - - // zerofill/init - m_speaker_volume = 0; - save_item(NAME(m_speaker_volume)); -} - void leboom_state::leboom(machine_config &config) { /* basic machine hardware */ @@ -1022,6 +1054,13 @@ void leboom_state::leboom(machine_config &config) TIMER(config, "speaker_decay").configure_periodic(FUNC(leboom_state::speaker_decay_sim), attotime::from_msec(25)); } +// roms + +ROM_START( leboom ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-061", 0x0000, 0x0400, CRC(5880eea1) SHA1(e3795b347fd5df9de084da36e33f6b70fbc0b0ae) ) +ROM_END + @@ -1040,8 +1079,8 @@ void leboom_state::leboom(machine_config &config) class tbaskb_state : public hh_pic16_state { public: - tbaskb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + tbaskb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -1130,6 +1169,13 @@ void tbaskb_state::tbaskb(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbaskb ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-051", 0x0000, 0x0400, CRC(92534b40) SHA1(7055e32846c913e68f7d35f279cd537f6325f4f2) ) +ROM_END + @@ -1150,8 +1196,8 @@ void tbaskb_state::tbaskb(machine_config &config) class rockpin_state : public hh_pic16_state { public: - rockpin_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + rockpin_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -1247,6 +1293,13 @@ void rockpin_state::rockpin(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( rockpin ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1650a-110_69-11397", 0x0000, 0x0400, CRC(d5396e77) SHA1(952feaff70fde53a9eda84c54704520d50749e78) ) +ROM_END + @@ -1266,8 +1319,8 @@ void rockpin_state::rockpin(machine_config &config) class hccbaskb_state : public hh_pic16_state { public: - hccbaskb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + hccbaskb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -1356,6 +1409,13 @@ void hccbaskb_state::hccbaskb(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( hccbaskb ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "69-11557", 0x0000, 0x0400, CRC(56e81079) SHA1(1933f87f82c4c53f953534dba7757c9afc52d5bc) ) +ROM_END + @@ -1379,8 +1439,8 @@ void hccbaskb_state::hccbaskb(machine_config &config) class ttfball_state : public hh_pic16_state { public: - ttfball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + ttfball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -1507,6 +1567,18 @@ void ttfball_state::ttfball(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ttfball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655a-033", 0x0000, 0x0400, CRC(2b500501) SHA1(f7fe464663c56e2181a31a1dc5f1f5239df57bed) ) +ROM_END + +ROM_START( ttfballa ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1655-024", 0x0000, 0x0400, CRC(9091102f) SHA1(ef72759f20b5a99e0366863caad1e26be114263f) ) +ROM_END + @@ -1526,8 +1598,8 @@ void ttfball_state::ttfball(machine_config &config) class uspbball_state : public hh_pic16_state { public: - uspbball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + uspbball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -1617,6 +1689,13 @@ void uspbball_state::uspbball(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( uspbball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "pic_1650a-133", 0x0000, 0x0400, CRC(479e98be) SHA1(67437177b059dfa6e01940da26daf997cec96ead) ) +ROM_END + @@ -1636,8 +1715,8 @@ void uspbball_state::uspbball(machine_config &config) class us2pfball_state : public hh_pic16_state { public: - us2pfball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_pic16_state(mconfig, type, tag) + us2pfball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_pic16_state(mconfig, type, tag) { } void prepare_display(); @@ -1751,86 +1830,7 @@ void us2pfball_state::us2pfball(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( touchme ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-053", 0x0000, 0x0400, CRC(f0858f0a) SHA1(53ffe111d43db1c110847590350ef62f02ed5e0e) ) -ROM_END - - -ROM_START( pabball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-043", 0x0000, 0x0400, CRC(43c9b765) SHA1(888a431bab9bcb241c14f33f70863fa2ad89c96b) ) -ROM_END - - -ROM_START( melodym ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-094", 0x0000, 0x0400, CRC(6d35bd7b) SHA1(20e326085878f69a9d4ef1651ef4443f27188567) ) -ROM_END - - -ROM_START( maniac ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-036", 0x0000, 0x0400, CRC(a96f7011) SHA1(e97ae44d3c1e74c7e1024bb0bdab03eecdc9f827) ) -ROM_END - - -ROM_START( matchme ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-049", 0x0000, 0x0400, CRC(fa3f4805) SHA1(57cbac18baa201927e99cd69cc2ffda4d2e642bb) ) -ROM_END - - -ROM_START( leboom ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-061", 0x0000, 0x0400, CRC(5880eea1) SHA1(e3795b347fd5df9de084da36e33f6b70fbc0b0ae) ) -ROM_END - - -ROM_START( tbaskb ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-051", 0x0000, 0x0400, CRC(92534b40) SHA1(7055e32846c913e68f7d35f279cd537f6325f4f2) ) -ROM_END - - -ROM_START( rockpin ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1650a-110_69-11397", 0x0000, 0x0400, CRC(d5396e77) SHA1(952feaff70fde53a9eda84c54704520d50749e78) ) -ROM_END - - -ROM_START( hccbaskb ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "69-11557", 0x0000, 0x0400, CRC(56e81079) SHA1(1933f87f82c4c53f953534dba7757c9afc52d5bc) ) -ROM_END - - -ROM_START( ttfball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655a-033", 0x0000, 0x0400, CRC(2b500501) SHA1(f7fe464663c56e2181a31a1dc5f1f5239df57bed) ) -ROM_END - -ROM_START( ttfballa ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1655-024", 0x0000, 0x0400, CRC(9091102f) SHA1(ef72759f20b5a99e0366863caad1e26be114263f) ) -ROM_END - - -ROM_START( uspbball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "pic_1650a-133", 0x0000, 0x0400, CRC(479e98be) SHA1(67437177b059dfa6e01940da26daf997cec96ead) ) -ROM_END - +// roms ROM_START( us2pfball ) ROM_REGION( 0x0400, "maincpu", 0 ) @@ -1839,6 +1839,14 @@ ROM_END +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + // YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS CONS( 1979, touchme, 0, 0, touchme, touchme, touchme_state, empty_init, "Atari", "Touch Me (handheld, Rev 2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp index 2aecf87783d..534a59dfaec 100644 --- a/src/mame/drivers/hh_sm510.cpp +++ b/src/mame/drivers/hh_sm510.cpp @@ -12,7 +12,13 @@ TODO: - improve/redo SVGs of: gnw_mmouse, gnw_egg, exospace - - confirm gnw_mmouse/gnw_egg rom (dumped from Soviet clone, but pretty confident that it's same) + - confirm gnw_mmouse/gnw_egg rom (dumped from Soviet clone, + but pretty confident that it's same) + - Currently there is no accurate way to dump the SM511/SM511 melody + ROM electronically. For the ones that weren't decapped, they were + read by playing back all melody data and reconstructing it to ROM. + Visual(decap) verification is wanted for: + * gnw_climber, gnw_bjack - identify lcd segments for tgaiden ***************************************************************************/ @@ -38,10 +44,21 @@ void hh_sm510_state::machine_start() // resolve handlers m_out_x.resolve(); + // determine number of input lines (set it in the subclass constructor if different) + if (m_inp_lines == 0 && m_inp_fixed < 0) + { + for (; m_inp_matrix[m_inp_lines] != nullptr; m_inp_lines++) { ; } + + // when last input line is fixed(GND) + if (m_inp_fixed == -2) + { + m_inp_lines--; + m_inp_fixed = m_inp_lines; + } + } + // zerofill m_inp_mux = 0; - /* m_inp_lines = 0; */ // not here - /* m_inp_fixed = -1; */ // not here m_speaker_data = 0; m_s = 0; m_r = 0; @@ -222,14 +239,14 @@ WRITE8_MEMBER(hh_sm510_state::piezo2bit_input_w) - - /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Konami Double Dribble @@ -246,11 +263,9 @@ WRITE8_MEMBER(hh_sm510_state::piezo2bit_input_w) class kdribble_state : public hh_sm510_state { public: - kdribble_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + kdribble_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kdribble(machine_config &config); }; @@ -302,6 +317,16 @@ void kdribble_state::kdribble(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kdribble ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "584", 0x0000, 0x1000, CRC(1d9022c8) SHA1(64567f9f161e830a0634d5c89917ab866c26c0f8) ) + + ROM_REGION( 450339, "svg", 0) + ROM_LOAD( "kdribble.svg", 0, 450339, CRC(86c3ecc4) SHA1(8dfaeb0f3b35d4b680daaa9f478a6f3decf6ea0a) ) +ROM_END + @@ -318,11 +343,9 @@ void kdribble_state::kdribble(machine_config &config) class ktopgun_state : public hh_sm510_state { public: - ktopgun_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + ktopgun_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void ktopgun(machine_config &config); }; @@ -375,6 +398,16 @@ void ktopgun_state::ktopgun(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ktopgun ) // except for filler/unused bytes, ROM listing in patent US5137277 "BH003 Top Gun" is same + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "598", 0x0000, 0x1000, CRC(50870b35) SHA1(cda1260c2e1c180995eced04b7d7ff51616dcef5) ) + + ROM_REGION( 425832, "svg", 0) + ROM_LOAD( "ktopgun.svg", 0, 425832, CRC(dc488ac0) SHA1(5a47e5639cb1e61dad3f2169efb99efe3d75896f) ) +ROM_END + @@ -393,11 +426,9 @@ void ktopgun_state::ktopgun(machine_config &config) class kcontra_state : public hh_sm510_state { public: - kcontra_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + kcontra_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kcontra(machine_config &config); }; @@ -449,6 +480,19 @@ void kcontra_state::kcontra(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kcontra ) // except for filler/unused bytes, ROM listing in patent US5120057 "BH002 C (Contra)" program/melody is same + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "773.program", 0x0000, 0x1000, CRC(bf834877) SHA1(055dd56ec16d63afba61ab866481fd9c029fb54d) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "773.melody", 0x000, 0x100, CRC(23d02b99) SHA1(703938e496db0eeacd14fe7605d4b5c39e0a5bc8) ) + + ROM_REGION( 721005, "svg", 0) + ROM_LOAD( "kcontra.svg", 0, 721005, CRC(b5370d0f) SHA1(2f401222d24fa32a4659ef2b64ddac8ac3973c69) ) +ROM_END + @@ -465,11 +509,9 @@ void kcontra_state::kcontra(machine_config &config) class ktmnt_state : public hh_sm510_state { public: - ktmnt_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + ktmnt_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void ktmnt(machine_config &config); }; @@ -522,6 +564,19 @@ void ktmnt_state::ktmnt(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ktmnt ) // except for filler/unused bytes, ROM listing in patent US5150899 "BH005 TMNT" program/melody is same + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "774.program", 0x0000, 0x1000, CRC(a1064f87) SHA1(92156c35fbbb414007ee6804fe635128a741d5f1) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "774.melody", 0x000, 0x100, CRC(8270d626) SHA1(bd91ca1d5cd7e2a62eef05c0033b19dcdbe441ca) ) + + ROM_REGION( 610270, "svg", 0) + ROM_LOAD( "ktmnt.svg", 0, 610270, CRC(ad9412ed) SHA1(154ee44efcd340dafa1cb84c37a9c3cd42cb42ab) ) +ROM_END + @@ -540,11 +595,9 @@ void ktmnt_state::ktmnt(machine_config &config) class kgradius_state : public hh_sm510_state { public: - kgradius_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + kgradius_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kgradius(machine_config &config); }; @@ -592,6 +645,19 @@ void kgradius_state::kgradius(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kgradius ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "771.program", 0x0000, 0x1000, CRC(830c2afc) SHA1(bb9ebd4e52831cc02cd92dd4b37675f34cf37b8c) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "771.melody", 0x000, 0x100, CRC(4c586b73) SHA1(14c5ab2898013a577f678970a648c374749cc66d) ) + + ROM_REGION( 638097, "svg", 0) + ROM_LOAD( "kgradius.svg", 0, 638097, CRC(3adbc0f1) SHA1(fe426bf2335ce30395ea14ecab6399a93c67816a) ) +ROM_END + @@ -608,11 +674,9 @@ void kgradius_state::kgradius(machine_config &config) class kloneran_state : public hh_sm510_state { public: - kloneran_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + kloneran_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kloneran(machine_config &config); }; @@ -660,6 +724,19 @@ void kloneran_state::kloneran(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kloneran ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "781.program", 0x0000, 0x1000, CRC(52b9735f) SHA1(06c5ef6e7e781b1176d4c1f2445f765ccf18b3f7) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "781.melody", 0x000, 0x100, CRC(a393de36) SHA1(55089f04833ccb318524ab2b584c4817505f4019) ) + + ROM_REGION( 633120, "svg", 0) + ROM_LOAD( "kloneran.svg", 0, 633120, CRC(f55e5292) SHA1(d0a91b5cd8a1894e7abc9c505fff4a8e1d3bec7a) ) +ROM_END + @@ -676,11 +753,9 @@ void kloneran_state::kloneran(machine_config &config) class kblades_state : public hh_sm510_state { public: - kblades_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + kblades_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kblades(machine_config &config); }; @@ -731,6 +806,19 @@ void kblades_state::kblades(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kblades ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "782.program", 0x0000, 0x1000, CRC(3351a35d) SHA1(84c64b65d3cabfa20c18f4649c9ede2578b82523) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "782.melody", 0x000, 0x100, CRC(e8bf48ba) SHA1(3852c014dc9136566322b4f9e2aab0e3ec3a7387) ) + + ROM_REGION( 455113, "svg", 0) + ROM_LOAD( "kblades.svg", 0, 455113, CRC(e22f44c8) SHA1(ac95a837e20f87f3afc6c234f7407cbfcc438011) ) +ROM_END + @@ -749,11 +837,9 @@ void kblades_state::kblades(machine_config &config) class knfl_state : public hh_sm510_state { public: - knfl_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + knfl_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void knfl(machine_config &config); }; @@ -804,6 +890,19 @@ void knfl_state::knfl(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( knfl ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "786.program", 0x0000, 0x1000, CRC(0535c565) SHA1(44cdcd284713ff0b194b24beff9f1b94c8bc63b2) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "786.melody", 0x000, 0x100, CRC(6c80263b) SHA1(d3c21e2f8491fef101907b8e0871b1e1c1ed58f5) ) + + ROM_REGION( 571134, "svg", 0) + ROM_LOAD( "knfl.svg", 0, 571134, CRC(f2c63235) SHA1(70b9232700f5498d3c63c63dd5904c0e19482cc2) ) +ROM_END + @@ -819,11 +918,9 @@ void knfl_state::knfl(machine_config &config) class kbilly_state : public hh_sm510_state { public: - kbilly_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + kbilly_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kbilly(machine_config &config); }; @@ -876,6 +973,19 @@ void kbilly_state::kbilly(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kbilly ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "788.program", 0x0000, 0x1000, CRC(b8b1f734) SHA1(619dd527187b43276d081cdb1b13e0a9a81f2c6a) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "788.melody", 0x000, 0x100, CRC(cd488bea) SHA1(8fc60081f46e392978d6950c74711fb7ebd154de) ) + + ROM_REGION( 598276, "svg", 0) + ROM_LOAD( "kbilly.svg", 0, 598276, CRC(2969319e) SHA1(5cd1b0a6eee3168142c1d24f167b9ef38ad88402) ) +ROM_END + @@ -891,11 +1001,9 @@ void kbilly_state::kbilly(machine_config &config) class kbucky_state : public hh_sm510_state { public: - kbucky_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + kbucky_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kbucky(machine_config &config); }; @@ -942,6 +1050,19 @@ void kbucky_state::kbucky(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kbucky ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "n58.program", 0x0000, 0x1000, CRC(7c36a0c4) SHA1(1b55ac64a71af746fd0a0f44266fcc92cca77482) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "n58.melody", 0x000, 0x100, CRC(7e99e469) SHA1(3e9a3843c6ab392f5989f3366df87a2d26cb8620) ) + + ROM_REGION( 727841, "svg", 0) + ROM_LOAD( "kbucky.svg", 0, 727841, CRC(c1d78488) SHA1(9ba4fdbce977455b8f1ad4bd2b01faa44bd05bc7) ) +ROM_END + @@ -957,11 +1078,9 @@ void kbucky_state::kbucky(machine_config &config) class kgarfld_state : public hh_sm510_state { public: - kgarfld_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + kgarfld_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void kgarfld(machine_config &config); }; @@ -1012,6 +1131,19 @@ void kgarfld_state::kgarfld(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( kgarfld ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "n62.program", 0x0000, 0x1000, CRC(5a762049) SHA1(26d4d891160d254dfd752734e1047126243f88dd) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "n62.melody", 0x000, 0x100, CRC(232b7d55) SHA1(76f6a19e8182ee3f00c9f4ef007b5dde75a9c00d) ) + + ROM_REGION( 581107, "svg", 0) + ROM_LOAD( "kgarfld.svg", 0, 581107, CRC(bf09a170) SHA1(075cb95535873018409eb15675183490c61b29b9) ) +ROM_END + @@ -1028,11 +1160,9 @@ void kgarfld_state::kgarfld(machine_config &config) class gnw_octopus_state : public hh_sm510_state { public: - gnw_octopus_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_octopus_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_octopus(machine_config &config); }; @@ -1045,8 +1175,8 @@ static INPUT_PORTS_START( gnw_octopus ) PORT_CONFSETTING( 0x00, DEF_STR( Off ) ) PORT_CONFSETTING( 0x01, DEF_STR( On ) ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED ) // same as 0x01? - PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) // same as 0x01? - PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) // same as 0x01? + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) // " + PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) // " PORT_START("IN.1") // R3 PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNUSED ) // alarm test? @@ -1093,6 +1223,16 @@ void gnw_octopus_state::gnw_octopus(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_octopus ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "oc-22", 0x0000, 0x0740, CRC(bd27781d) SHA1(07b4feb9265c83b159f96c7e8ee1c61a2cc17dc5) ) + + ROM_REGION( 119681, "svg", 0) + ROM_LOAD( "gnw_octopus.svg", 0, 119681, CRC(39900430) SHA1(61b71c475365966257f5479eab992538ec235c11) ) +ROM_END + @@ -1117,11 +1257,9 @@ void gnw_octopus_state::gnw_octopus(machine_config &config) class gnw_mmouse_state : public hh_sm510_state { public: - gnw_mmouse_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_mmouse_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void exospace(machine_config &config); void nupogodi(machine_config &config); @@ -1193,8 +1331,9 @@ void gnw_mmouse_state::gnw_egg(machine_config &config) gnw_mmouse(config); /* video hardware */ - subdevice("screen")->set_size(1694, 1080); - subdevice("screen")->set_visarea(0, 1694-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(1694, 1080); + screen->set_visarea(0, 1694-1, 0, 1080-1); } void gnw_mmouse_state::nupogodi(machine_config &config) @@ -1210,8 +1349,9 @@ void gnw_mmouse_state::nupogodi(machine_config &config) m_maincpu->read_ba().set_ioport("BA"); /* video hardware */ - subdevice("screen")->set_size(1715, 1080); - subdevice("screen")->set_visarea(0, 1715-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(1715, 1080); + screen->set_visarea(0, 1715-1, 0, 1080-1); } void gnw_mmouse_state::exospace(machine_config &config) @@ -1219,10 +1359,45 @@ void gnw_mmouse_state::exospace(machine_config &config) nupogodi(config); /* video hardware */ - subdevice("screen")->set_size(1756, 1080); - subdevice("screen")->set_visarea(0, 1756-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(1756, 1080); + screen->set_visarea(0, 1756-1, 0, 1080-1); } +// roms + +ROM_START( gnw_mmouse ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mc-25", 0x0000, 0x0740, BAD_DUMP CRC(cb820c32) SHA1(7e94fc255f32db725d5aa9e196088e490c1a1443) ) // dumped from Soviet clone + + ROM_REGION( 102453, "svg", 0) + ROM_LOAD( "gnw_mmouse.svg", 0, 102453, BAD_DUMP CRC(88cc7c49) SHA1(c000d51d1b99750116b97f9bafc0314ea506366d) ) +ROM_END + +ROM_START( gnw_egg ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "eg-26", 0x0000, 0x0740, BAD_DUMP CRC(cb820c32) SHA1(7e94fc255f32db725d5aa9e196088e490c1a1443) ) // dumped from Soviet clone + + ROM_REGION( 102848, "svg", 0) + ROM_LOAD( "gnw_egg.svg", 0, 102848, BAD_DUMP CRC(742c2605) SHA1(984d430ad2ff47ad7a3f9b25b7d3f3d51b10cca5) ) +ROM_END + +ROM_START( nupogodi ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "nupogodi.bin", 0x0000, 0x0740, CRC(cb820c32) SHA1(7e94fc255f32db725d5aa9e196088e490c1a1443) ) + + ROM_REGION( 156974, "svg", 0) + ROM_LOAD( "nupogodi.svg", 0, 156974, CRC(8d522ec6) SHA1(67afeca5eebd16449353ea43070a6b919f7ba408) ) +ROM_END + +ROM_START( exospace ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "exospace.bin", 0x0000, 0x0740, CRC(553e2b09) SHA1(2b74f8437b881fbb62b61f25435a5bfc66872a9a) ) + + ROM_REGION( 66790, "svg", 0) + ROM_LOAD( "exospace.svg", 0, 66790, BAD_DUMP CRC(df31043a) SHA1(2d8caf42894df699e469652e5f448beaebbcc1ae) ) +ROM_END + @@ -1235,17 +1410,16 @@ void gnw_mmouse_state::exospace(machine_config &config) * 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. ***************************************************************************/ class gnw_fire_state : public hh_sm510_state { public: - gnw_fire_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_fire_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_fire(machine_config &config); }; @@ -1259,7 +1433,7 @@ static INPUT_PORTS_START( gnw_fire ) PORT_CONFSETTING( 0x01, DEF_STR( On ) ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED ) // same as 0x01? PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) // reset? - PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) // piezo test? + PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) // alarm test? PORT_START("IN.1") // R3 PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNUSED ) // lcd test? @@ -1306,6 +1480,16 @@ void gnw_fire_state::gnw_fire(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_fire ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "fr-27", 0x0000, 0x0740, CRC(f4c53ef0) SHA1(6b57120a0f9d2fd4dcd65ad57a5f32def71d905f) ) + + ROM_REGION( 163753, "svg", 0) + ROM_LOAD( "gnw_fire.svg", 0, 163753, CRC(d546fa42) SHA1(492c785aa0ed33ff1ac8c84066e5b6d7cb7d1566) ) +ROM_END + @@ -1322,11 +1506,9 @@ void gnw_fire_state::gnw_fire(machine_config &config) class gnw_stennis_state : public hh_sm510_state { public: - gnw_stennis_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_stennis_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_stennis(machine_config &config); }; @@ -1387,6 +1569,16 @@ void gnw_stennis_state::gnw_stennis(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_stennis ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "sp-30", 0x0000, 0x1000, CRC(ba1d9504) SHA1(ff601765d88564b1570a59f5b1a4005c7b0fd66c) ) + + ROM_REGION( 227964, "svg", 0) + ROM_LOAD( "gnw_stennis.svg", 0, 227964, CRC(1bb5f99a) SHA1(2e999c75598448e3502e7bab16e987d80d6a301f) ) +ROM_END + @@ -1403,11 +1595,9 @@ void gnw_stennis_state::gnw_stennis(machine_config &config) class gnw_opanic_state : public hh_sm510_state { public: - gnw_opanic_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_opanic_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_opanic(machine_config &config); }; @@ -1475,6 +1665,19 @@ void gnw_opanic_state::gnw_opanic(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_opanic ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "op-51", 0x0000, 0x1000, CRC(31c288c9) SHA1(4bfd0fba94a9927cefc925db8196b063c5dd9b19) ) + + ROM_REGION( 79616, "svg_top", 0) + ROM_LOAD( "gnw_opanic_top.svg", 0, 79616, CRC(208dccc5) SHA1(b3cd3dcc8a00ba3b1b8d93d902f756fe579e4dfc) ) + + ROM_REGION( 112809, "svg_bottom", 0) + ROM_LOAD( "gnw_opanic_bottom.svg", 0, 112809, CRC(919b9649) SHA1(f3d3c8ca3fed81782a1fcb5a7aff07faea86db07) ) +ROM_END + @@ -1491,11 +1694,9 @@ void gnw_opanic_state::gnw_opanic(machine_config &config) class gnw_dkong_state : public hh_sm510_state { public: - gnw_dkong_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_dkong_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_dkong(machine_config &config); }; @@ -1561,6 +1762,19 @@ void gnw_dkong_state::gnw_dkong(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_dkong ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "dk-52", 0x0000, 0x1000, CRC(5180cbf8) SHA1(5174570a8d6a601226f51e972bac6735535fe11d) ) + + ROM_REGION( 176706, "svg_top", 0) + ROM_LOAD( "gnw_dkong_top.svg", 0, 176706, CRC(db041556) SHA1(fb0f979dea3ecd25288d341fa80e35b5fd0a8349) ) + + ROM_REGION( 145397, "svg_bottom", 0) + ROM_LOAD( "gnw_dkong_bottom.svg", 0, 145397, CRC(2c8c9d08) SHA1(658fd0bbccaabb0645b02e5cb81709c4b2a4250e) ) +ROM_END + @@ -1577,11 +1791,9 @@ void gnw_dkong_state::gnw_dkong(machine_config &config) class gnw_mickdon_state : public hh_sm510_state { public: - gnw_mickdon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_mickdon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_mickdon(machine_config &config); }; @@ -1643,6 +1855,19 @@ void gnw_mickdon_state::gnw_mickdon(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_mickdon ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "dm-53_565", 0x0000, 0x1000, CRC(e21fc0f5) SHA1(3b65ccf9f98813319410414e11a3231b787cdee6) ) + + ROM_REGION( 126434, "svg_top", 0) + ROM_LOAD( "gnw_mickdon_top.svg", 0, 126434, CRC(ff05f489) SHA1(2a533c7b5d7249d79f8d7795a0d57fd3e32d3d32) ) + + ROM_REGION( 122870, "svg_bottom", 0) + ROM_LOAD( "gnw_mickdon_bottom.svg", 0, 122870, CRC(8f06ddf1) SHA1(69d4b785781600abcdfc01b3902df1d0ae3608cf) ) +ROM_END + @@ -1659,11 +1884,9 @@ void gnw_mickdon_state::gnw_mickdon(machine_config &config) class gnw_ghouse_state : public hh_sm510_state { public: - gnw_ghouse_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_ghouse_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_ghouse(machine_config &config); }; @@ -1735,6 +1958,19 @@ void gnw_ghouse_state::gnw_ghouse(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_ghouse ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "gh-54", 0x0000, 0x1000, CRC(4df12b4d) SHA1(708be5fef8dbd9337f5ab35baaca5bdf21e1f36c) ) + + ROM_REGION( 159098, "svg_top", 0) + ROM_LOAD( "gnw_ghouse_top.svg", 0, 159098, CRC(96bc58d9) SHA1(eda6a0abde739fb71af3e150751a519e59ef021d) ) + + ROM_REGION( 149757, "svg_bottom", 0) + ROM_LOAD( "gnw_ghouse_bottom.svg", 0, 149757, CRC(d66ee72c) SHA1(dcbe1c81ee0c7ddb9692858749ce6934f4dd7f30) ) +ROM_END + @@ -1751,11 +1987,9 @@ void gnw_ghouse_state::gnw_ghouse(machine_config &config) class gnw_dkong2_state : public hh_sm510_state { public: - gnw_dkong2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_dkong2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_dkong2(machine_config &config); }; @@ -1821,6 +2055,19 @@ void gnw_dkong2_state::gnw_dkong2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_dkong2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "jr-55_560", 0x0000, 0x1000, CRC(46aed0ae) SHA1(72f75ccbd84aea094148c872fc7cc1683619a18a) ) + + ROM_REGION( 267443, "svg_top", 0) + ROM_LOAD( "gnw_dkong2_top.svg", 0, 267443, CRC(33b26edb) SHA1(600afdf22ff4ac4a4af2de9159287cc6e53dfe3a) ) + + ROM_REGION( 390558, "svg_bottom", 0) + ROM_LOAD( "gnw_dkong2_bottom.svg", 0, 390558, CRC(92d68958) SHA1(aba829bf89b93bf3a4e425c9a8f6eec9e5869bc4) ) +ROM_END + @@ -1837,11 +2084,9 @@ void gnw_dkong2_state::gnw_dkong2(machine_config &config) class gnw_mario_state : public hh_sm510_state { public: - gnw_mario_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_mario_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_mario(machine_config &config); }; @@ -1909,6 +2154,19 @@ void gnw_mario_state::gnw_mario(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_mario ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mw-56", 0x0000, 0x1000, CRC(385e59da) SHA1(2f79281bdf2f2afca2fb5bd7b9a3beeffc9c4eb7) ) + + ROM_REGION( 154874, "svg_left", 0) + ROM_LOAD( "gnw_mario_left.svg", 0, 154874, CRC(73ba4f4a) SHA1(d5df39808a1af8e8ad5e397b4a50313221ab6e3b) ) + + ROM_REGION( 202863, "svg_right", 0) + ROM_LOAD( "gnw_mario_right.svg", 0, 202863, CRC(dd2473c9) SHA1(51aca37abf8e4959b84c441aa2d114e16c7d6010) ) +ROM_END + @@ -1925,11 +2183,9 @@ void gnw_mario_state::gnw_mario(machine_config &config) class gnw_rshower_state : public hh_sm510_state { public: - gnw_rshower_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_rshower_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_rshower(machine_config &config); }; @@ -2003,6 +2259,19 @@ void gnw_rshower_state::gnw_rshower(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_rshower ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "lp-57", 0x0000, 0x1000, CRC(51a2c5c4) SHA1(d60542e6785ba7b6a44153a66c739787cf670816) ) + + ROM_REGION( 135698, "svg_left", 0) + ROM_LOAD( "gnw_rshower_left.svg", 0, 135698, CRC(f0b36d70) SHA1(252e5cc110112a874265477be11ab3adf8108726) ) + + ROM_REGION( 140280, "svg_right", 0) + ROM_LOAD( "gnw_rshower_right.svg", 0, 140280, CRC(0ce4d049) SHA1(7e1afa1fdbdf658a12a28192ba2d29e5fca807cb) ) +ROM_END + @@ -2019,11 +2288,9 @@ void gnw_rshower_state::gnw_rshower(machine_config &config) class gnw_lboat_state : public hh_sm510_state { public: - gnw_lboat_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_lboat_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_lboat(machine_config &config); }; @@ -2091,6 +2358,19 @@ void gnw_lboat_state::gnw_lboat(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_lboat ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "tc-58", 0x0000, 0x1000, CRC(1f88f6a2) SHA1(22fd62127dda43a0ada2fe89b0518eec8cbe2a25) ) + + ROM_REGION( 156272, "svg_left", 0) + ROM_LOAD( "gnw_lboat_left.svg", 0, 156272, CRC(1f0c18bd) SHA1(ca11c83b4b4d6a91ecb0300cff392e010064ba25) ) + + ROM_REGION( 155093, "svg_right", 0) + ROM_LOAD( "gnw_lboat_right.svg", 0, 155093, CRC(6f68780a) SHA1(63488693fbb1a8ad4d59da9e4e003eef709926f9) ) +ROM_END + @@ -2107,11 +2387,9 @@ void gnw_lboat_state::gnw_lboat(machine_config &config) class gnw_bjack_state : public hh_sm510_state { public: - gnw_bjack_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_bjack_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_bjack(machine_config &config); }; @@ -2166,6 +2444,22 @@ void gnw_bjack_state::gnw_bjack(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_bjack ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "bj-60.program", 0x0000, 0x1000, CRC(8e74f633) SHA1(54b0f65ee716d2820a9ed9c743755d2a2d99ce4d) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "bj-60.melody", 0x000, 0x100, BAD_DUMP CRC(2619224e) SHA1(b65dc590b6eb1de793e980af236ccf8360b3cfee) ) // decap needed for verification + + ROM_REGION( 75217, "svg_top", 0) + ROM_LOAD( "gnw_bjack_top.svg", 0, 75205, CRC(5eb0956e) SHA1(f7acd148e5478d4c2ddf06cff23c5e40faee2c24) ) + + ROM_REGION( 112450, "svg_bottom", 0) + ROM_LOAD( "gnw_bjack_bottom.svg", 0, 112438, CRC(9d985b1d) SHA1(cf8af6ce18994f687a5e6fbdda62af4d07a07cf8) ) +ROM_END + @@ -2182,11 +2476,9 @@ void gnw_bjack_state::gnw_bjack(machine_config &config) class gnw_squish_state : public hh_sm510_state { public: - gnw_squish_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_squish_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_squish(machine_config &config); }; @@ -2254,6 +2546,19 @@ void gnw_squish_state::gnw_squish(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_squish ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mg-61", 0x0000, 0x1000, CRC(79cd509c) SHA1(969e5425984ba9e5183c68b38b3588f53d1e8e5d) ) + + ROM_REGION( 70300, "svg_top", 0) + ROM_LOAD( "gnw_squish_top.svg", 0, 70300, CRC(f1358ba9) SHA1(414d29db64b83a50b20f31b857e4c3a77d19d3c8) ) + + ROM_REGION( 279606, "svg_bottom", 0) + ROM_LOAD( "gnw_squish_bottom.svg", 0, 279606, CRC(1d4ac23f) SHA1(d6eb78bae5ca18cc5fe5d8a300902766dd9601aa) ) +ROM_END + @@ -2272,11 +2577,9 @@ void gnw_squish_state::gnw_squish(machine_config &config) class gnw_dkjr_state : public hh_sm510_state { public: - gnw_dkjr_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_dkjr_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_dkjr(machine_config &config); }; @@ -2341,6 +2644,16 @@ void gnw_dkjr_state::gnw_dkjr(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_dkjr ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "dj-101", 0x0000, 0x1000, CRC(8dcfb5d1) SHA1(e0ef578e9362eb9a3cab631376df3cf55978f2de) ) + + ROM_REGION( 281161, "svg", 0) + ROM_LOAD( "gnw_dkjr.svg", 0, 281161, CRC(346b025c) SHA1(dad3f3f73d6c2ff4efb43ffd76e97ba0d5f0da73) ) +ROM_END + @@ -2358,11 +2671,9 @@ void gnw_dkjr_state::gnw_dkjr(machine_config &config) class gnw_mariocm_state : public hh_sm510_state { public: - gnw_mariocm_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_mariocm_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_mariocm(machine_config &config); }; @@ -2423,6 +2734,16 @@ void gnw_mariocm_state::gnw_mariocm(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_mariocm ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "ml-102_577", 0x0000, 0x1000, CRC(c1128dea) SHA1(8647e36f43a0e37756a3c7b6a3f08d4c8243f1cc) ) + + ROM_REGION( 302931, "svg", 0) + ROM_LOAD( "gnw_mariocm.svg", 0, 302931, CRC(5517ae80) SHA1(1902e36d0470ee5548addeb087ea3e7d2c2520a2) ) +ROM_END + @@ -2441,11 +2762,9 @@ void gnw_mariocm_state::gnw_mariocm(machine_config &config) class gnw_manhole_state : public hh_sm510_state { public: - gnw_manhole_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_manhole_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_manhole(machine_config &config); }; @@ -2506,6 +2825,16 @@ void gnw_manhole_state::gnw_manhole(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_manhole ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "nh-103", 0x0000, 0x1000, CRC(ec03acf7) SHA1(b74ae672d8f8a155b2ea4ecee9afbaed95ec0ceb) ) + + ROM_REGION( 223244, "svg", 0) + ROM_LOAD( "gnw_manhole.svg", 0, 223244, CRC(41848e77) SHA1(d7238d1a3f95d8d274f5ff767ebf783bb50e64eb) ) +ROM_END + @@ -2522,11 +2851,9 @@ void gnw_manhole_state::gnw_manhole(machine_config &config) class gnw_tfish_state : public hh_sm510_state { public: - gnw_tfish_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 2; - } + gnw_tfish_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_tfish(machine_config &config); }; @@ -2581,6 +2908,16 @@ void gnw_tfish_state::gnw_tfish(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_tfish ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "tf-104", 0x0000, 0x1000, CRC(53cde918) SHA1(bc1e1b8f8b282bb886bb076c1c7ce35d00eca6fc) ) + + ROM_REGION( 257278, "svg", 0) + ROM_LOAD( "gnw_tfish.svg", 0, 257278, CRC(fc970f4a) SHA1(a73f5ee35b60842707f13edc5d58869fb2ec98cf) ) +ROM_END + @@ -2602,11 +2939,9 @@ void gnw_tfish_state::gnw_tfish(machine_config &config) class gnw_smb_state : public hh_sm510_state { public: - gnw_smb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_smb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_smb(machine_config &config); }; @@ -2664,6 +2999,19 @@ void gnw_smb_state::gnw_smb(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_smb ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "ym-105.program", 0x0000, 0x1000, CRC(0dff3b12) SHA1(3fa83f88e49ea9d7080fe935ec90ce69acbe8850) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "ym-105.melody", 0x000, 0x100, CRC(b48c6d90) SHA1(a1ce1e52627767752974ab0d49bec48ead36663e) ) + + ROM_REGION( 648209, "svg", 0) + ROM_LOAD( "gnw_smb.svg", 0, 648209, CRC(4a6fdb28) SHA1(0a0bc48d82d5b8bf8ef96ef9ce2f87ba6ea850c1) ) +ROM_END + @@ -2685,11 +3033,9 @@ void gnw_smb_state::gnw_smb(machine_config &config) class gnw_climber_state : public hh_sm510_state { public: - gnw_climber_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 3; - } + gnw_climber_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_climber(machine_config &config); }; @@ -2747,6 +3093,19 @@ void gnw_climber_state::gnw_climber(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_climber ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "dr-106.program", 0x0000, 0x1000, CRC(2adcbd6d) SHA1(110dc08c65120ab2c76ee647e89aa2726e24ac1a) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "dr-106.melody", 0x000, 0x100, BAD_DUMP CRC(c99d7998) SHA1(4f8cf35b13f8b7654e7186bfd67d197d9053e949) ) // decap needed for verification + + ROM_REGION( 542332, "svg", 0) + ROM_LOAD( "gnw_climber.svg", 0, 542332, CRC(d7e84c21) SHA1(a5b5b68c8cdb3a09966bfb91b281791bef311248) ) +ROM_END + @@ -2764,11 +3123,9 @@ void gnw_climber_state::gnw_climber(machine_config &config) class gnw_boxing_state : public hh_sm510_state { public: - gnw_boxing_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 7; - } + gnw_boxing_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void gnw_boxing(machine_config &config); }; @@ -2850,6 +3207,19 @@ void gnw_boxing_state::gnw_boxing(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gnw_boxing ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "bx-301_744.program", 0x0000, 0x1000, CRC(0fdf0303) SHA1(0b791c9d4874e9534d0a9b7a8968ce02fe4bee96) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "bx-301_744.melody", 0x000, 0x100, CRC(439d943d) SHA1(52880df15ec7513f96482f455ef3d9778aa24750) ) + + ROM_REGION( 265174, "svg", 0) + ROM_LOAD( "gnw_boxing.svg", 0, 265174, CRC(e8a3ab25) SHA1(53e32542b582dcdf4ddd051f182738eee6c732c9) ) +ROM_END + @@ -2872,11 +3242,10 @@ void gnw_boxing_state::gnw_boxing(machine_config &config) class tgaunt_state : public hh_sm510_state { public: - tgaunt_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tgaunt_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void trobhood(machine_config &config); @@ -2966,10 +3335,29 @@ void tgaunt_state::trobhood(machine_config &config) tgaunt(config); /* video hardware */ - subdevice("screen")->set_size(1468, 1080); - subdevice("screen")->set_visarea(0, 1468-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(1468, 1080); + screen->set_visarea(0, 1468-1, 0, 1080-1); } +// roms + +ROM_START( tgaunt ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "583", 0x0000, 0x1000, CRC(598d8156) SHA1(9f776e8b9b4321e8118481e6b1304f8a38f9932e) ) + + ROM_REGION( 713020, "svg", 0) + ROM_LOAD( "tgaunt.svg", 0, 713020, CRC(1f65ae21) SHA1(57ca33d073d1096a7fc17f2bdac940868d1ae651) ) +ROM_END + +ROM_START( trobhood ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "583", 0x0000, 0x1000, CRC(598d8156) SHA1(9f776e8b9b4321e8118481e6b1304f8a38f9932e) ) + + ROM_REGION( 704892, "svg", 0) + ROM_LOAD( "trobhood.svg", 0, 704892, CRC(291fd8db) SHA1(1de6bd0e203f16c44f7d661e44863a1a919f3da9) ) +ROM_END + @@ -2988,11 +3376,10 @@ void tgaunt_state::trobhood(machine_config &config) class tddragon_state : public hh_sm510_state { public: - tddragon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tddragon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tddragon(machine_config &config); @@ -3064,6 +3451,16 @@ void tddragon_state::tddragon(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tddragon ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "593", 0x0000, 0x1000, CRC(2642f778) SHA1(fee77acf93e057a8b4627389dfd481c6d9cbd02b) ) + + ROM_REGION( 511434, "svg", 0) + ROM_LOAD( "tddragon.svg", 0, 511434, CRC(641e7ceb) SHA1(bbfc37cc085e00921422f65d9aac9949f871e7b7) ) +ROM_END + @@ -3079,11 +3476,10 @@ void tddragon_state::tddragon(machine_config &config) class tkarnov_state : public hh_sm510_state { public: - tkarnov_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tkarnov_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tkarnov(machine_config &config); @@ -3159,6 +3555,16 @@ void tkarnov_state::tkarnov(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tkarnov ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "582", 0x0000, 0x1000, CRC(cee85bdd) SHA1(143e39524f1dea523e0575f327ed189343cc87f5) ) + + ROM_REGION( 527377, "svg", 0) + ROM_LOAD( "tkarnov.svg", 0, 527377, CRC(971840fc) SHA1(48db7139fa875e60b44340fb475b6d1081ef5c10) ) +ROM_END + @@ -3174,11 +3580,10 @@ void tkarnov_state::tkarnov(machine_config &config) class tvindictr_state : public hh_sm510_state { public: - tvindictr_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tvindictr_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tvindictr(machine_config &config); @@ -3253,6 +3658,16 @@ void tvindictr_state::tvindictr(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tvindictr ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "595", 0x0000, 0x1000, CRC(b574d16f) SHA1(d2cb0f2e21ca2defe49a4b45f4c8e169ae9979ab) ) + + ROM_REGION( 314165, "svg", 0) + ROM_LOAD( "tvindictr.svg", 0, 314165, CRC(2241992c) SHA1(efd44879d1c0d5befd7ea07089418406fc101315) ) +ROM_END + @@ -3268,12 +3683,11 @@ void tvindictr_state::tvindictr(machine_config &config) class tgaiden_state : public hh_sm510_state { public: - tgaiden_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag), + tgaiden_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag), m_led_out(*this, "led") { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } output_finder<> m_led_out; @@ -3285,6 +3699,14 @@ protected: virtual void machine_start() override; }; +void tgaiden_state::machine_start() +{ + hh_sm510_state::machine_start(); + + // resolve handlers + m_led_out.resolve(); +} + // handlers WRITE8_MEMBER(tgaiden_state::write_r) @@ -3335,14 +3757,6 @@ static INPUT_PORTS_START( tgaiden ) PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, hh_sm510_state, acl_button, nullptr) PORT_NAME("ACL") INPUT_PORTS_END -void tgaiden_state::machine_start() -{ - hh_sm510_state::machine_start(); - - // resolve handlers - m_led_out.resolve(); -} - void tgaiden_state::tgaiden(machine_config &config) { /* basic machine hardware */ @@ -3370,6 +3784,16 @@ void tgaiden_state::tgaiden(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tgaiden ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m82", 0x0000, 0x1000, CRC(278eafb0) SHA1(14396a0010bade0fde705969151200ed432321e7) ) + + ROM_REGION( 100000, "svg", 0) + ROM_LOAD( "tgaiden.svg", 0, 100000, NO_DUMP ) +ROM_END + @@ -3385,11 +3809,10 @@ void tgaiden_state::tgaiden(machine_config &config) class tbatman_state : public hh_sm510_state { public: - tbatman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tbatman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tbatman(machine_config &config); @@ -3460,6 +3883,16 @@ void tbatman_state::tbatman(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbatman ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "597", 0x0000, 0x1000, CRC(8b7acc97) SHA1(fe811675dc5c5ef9f6f969685c933926c8b9e868) ) + + ROM_REGION( 551890, "svg", 0) + ROM_LOAD( "tbatman.svg", 0, 551890, CRC(65809ee3) SHA1(5fc38bdb2108d45dc99bce3379253423ea88e0fc) ) +ROM_END + @@ -3479,11 +3912,10 @@ void tbatman_state::tbatman(machine_config &config) class tsharr2_state : public hh_sm510_state { public: - tsharr2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsharr2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tsharr2(machine_config &config); @@ -3554,6 +3986,16 @@ void tsharr2_state::tsharr2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsharr2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m91", 0x0000, 0x1000, CRC(b207ac79) SHA1(9889dfec26089313ba2bdac845a75a26742d09e1) ) + + ROM_REGION( 555126, "svg", 0) + ROM_LOAD( "tsharr2.svg", 0, 555126, CRC(ff43e29b) SHA1(0af02e65a1dcf95958296a292343430670b67ae5) ) +ROM_END + @@ -3569,11 +4011,10 @@ void tsharr2_state::tsharr2(machine_config &config) class tstrider_state : public hh_sm510_state { public: - tstrider_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tstrider_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tstrider(machine_config &config); @@ -3645,6 +4086,16 @@ void tstrider_state::tstrider(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tstrider ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m92", 0x0000, 0x1000, CRC(4b488e8f) SHA1(b037c220c4a456f0dac67d759736f202a7609ee5) ) + + ROM_REGION( 554817, "svg", 0) + ROM_LOAD( "tstrider.svg", 0, 554817, CRC(be5de6bd) SHA1(cde0a3fe21af24d7d22d2ce0aec9c308f8696c7e) ) +ROM_END + @@ -3660,11 +4111,10 @@ void tstrider_state::tstrider(machine_config &config) class tgoldnaxe_state : public hh_sm510_state { public: - tgoldnaxe_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tgoldnaxe_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tgoldnaxe(machine_config &config); @@ -3740,6 +4190,16 @@ void tgoldnaxe_state::tgoldnaxe(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tgoldnaxe ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m94", 0x0000, 0x1000, CRC(af183fbf) SHA1(23716e2a7c4bb4842b2af1a43fe88db44e18dc17) ) + + ROM_REGION( 605483, "svg", 0) + ROM_LOAD( "tgoldnaxe.svg", 0, 605483, CRC(533bea14) SHA1(08d419bd7af5de7216654dc7f978beed95192c2d) ) +ROM_END + @@ -3757,11 +4217,10 @@ void tgoldnaxe_state::tgoldnaxe(machine_config &config) class trobocop2_state : public hh_sm510_state { public: - trobocop2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + trobocop2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void trobocop2(machine_config &config); @@ -3857,10 +4316,29 @@ void trobocop2_state::trockteer(machine_config &config) trobocop2(config); /* video hardware */ - subdevice("screen")->set_size(1463, 1080); - subdevice("screen")->set_visarea(0, 1463-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(1463, 1080); + screen->set_visarea(0, 1463-1, 0, 1080-1); } +// roms + +ROM_START( trobocop2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m96", 0x0000, 0x1000, CRC(3704b60c) SHA1(04275833e1a79fd33226faf060890b66ae54e1d3) ) + + ROM_REGION( 463532, "svg", 0) + ROM_LOAD( "trobocop2.svg", 0, 463532, CRC(c2b92868) SHA1(87912f02bea967c10ba1d8f7c810e3c44b0e3cff) ) +ROM_END + +ROM_START( trockteer ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m96", 0x0000, 0x1000, CRC(3704b60c) SHA1(04275833e1a79fd33226faf060890b66ae54e1d3) ) + + ROM_REGION( 558086, "svg", 0) + ROM_LOAD( "trockteer.svg", 0, 558086, CRC(8afe0f88) SHA1(702127a4ff72be492f72b24bd8917ae0e15f247d) ) +ROM_END + @@ -3880,11 +4358,10 @@ void trobocop2_state::trockteer(machine_config &config) class taltbeast_state : public hh_sm510_state { public: - taltbeast_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + taltbeast_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void taltbeast(machine_config &config); @@ -3960,6 +4437,16 @@ void taltbeast_state::taltbeast(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( taltbeast ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "m88", 0x0000, 0x1000, CRC(1b3d15e7) SHA1(78371230dff872d6c07eefdbc4856c2a3336eb61) ) + + ROM_REGION( 667887, "svg", 0) + ROM_LOAD( "taltbeast.svg", 0, 667887, CRC(1ca9bbf1) SHA1(be844dddee4a95f70ea2adf875d3ee6cda2a6633) ) +ROM_END + @@ -3975,11 +4462,10 @@ void taltbeast_state::taltbeast(machine_config &config) class tsf2010_state : public hh_sm510_state { public: - tsf2010_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsf2010_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tsf2010(machine_config &config); @@ -4055,6 +4541,16 @@ void tsf2010_state::tsf2010(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsf2010 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "ma2", 0x0000, 0x1000, CRC(764b3757) SHA1(c5f90b860128658576bb837e9cabbb3045ad2756) ) + + ROM_REGION( 595149, "svg", 0) + ROM_LOAD( "tsf2010.svg", 0, 595149, CRC(b873856b) SHA1(1d070d4d9578bbc322d1edead208bbd44340b71a) ) +ROM_END + @@ -4070,11 +4566,10 @@ void tsf2010_state::tsf2010(machine_config &config) class tswampt_state : public hh_sm510_state { public: - tswampt_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tswampt_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tswampt(machine_config &config); @@ -4146,6 +4641,16 @@ void tswampt_state::tswampt(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tswampt ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mb0", 0x0000, 0x1000, CRC(8433530c) SHA1(60716d3bba92dc8ac3f1ee29c5734c9e894a1aff) ) + + ROM_REGION( 578505, "svg", 0) + ROM_LOAD( "tswampt.svg", 0, 578505, CRC(98ff2fbb) SHA1(a5a4e9934b86f69176549f99246b40f323441945) ) +ROM_END + @@ -4161,11 +4666,10 @@ void tswampt_state::tswampt(machine_config &config) class tspidman_state : public hh_sm510_state { public: - tspidman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tspidman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tspidman(machine_config &config); @@ -4241,6 +4745,16 @@ void tspidman_state::tspidman(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tspidman ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "ma5", 0x0000, 0x1000, CRC(2624daed) SHA1(7c10434ae899637264de706045d48e3fce1d30a7) ) + + ROM_REGION( 605332, "svg", 0) + ROM_LOAD( "tspidman.svg", 0, 605332, CRC(6e687727) SHA1(c1a2ee450509e05d1db61e02f6a911207d2830c4) ) +ROM_END + @@ -4256,11 +4770,10 @@ void tspidman_state::tspidman(machine_config &config) class txmen_state : public hh_sm510_state { public: - txmen_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + txmen_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void txmen(machine_config &config); @@ -4336,6 +4849,16 @@ void txmen_state::txmen(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( txmen ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "ma7", 0x0000, 0x1000, CRC(6f3ff34f) SHA1(aa24fbc3a4117ea51ebf951ee343a36c77692b72) ) + + ROM_REGION( 543232, "svg", 0) + ROM_LOAD( "txmen.svg", 0, 543232, CRC(51daf7f9) SHA1(b59ecbd83e05478f4b2654a019291c7e06893112) ) +ROM_END + @@ -4351,11 +4874,10 @@ void txmen_state::txmen(machine_config &config) class tddragon3_state : public hh_sm510_state { public: - tddragon3_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tddragon3_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tddragon3(machine_config &config); @@ -4431,6 +4953,16 @@ void tddragon3_state::tddragon3(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tddragon3 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "ma6", 0x0000, 0x1000, CRC(8e2da0d9) SHA1(54dd05124b4c605975b0cb1eadd7456ff4a94d68) ) + + ROM_REGION( 615684, "svg", 0) + ROM_LOAD( "tddragon3.svg", 0, 615684, CRC(3f5df090) SHA1(c9248fbf3a4dec0ce3b32b10fb67f133595cc54d) ) +ROM_END + @@ -4446,11 +4978,10 @@ void tddragon3_state::tddragon3(machine_config &config) class tflash_state : public hh_sm510_state { public: - tflash_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tflash_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 7; - m_inp_fixed = 7; + inp_fixed_last(); } void tflash(machine_config &config); @@ -4526,6 +5057,16 @@ void tflash_state::tflash(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tflash ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mb5", 0x0000, 0x1000, CRC(f7f1d082) SHA1(49a7a931450cf27fe69076c4e15ffb34814e25d4) ) + + ROM_REGION( 587820, "svg", 0) + ROM_LOAD( "tflash.svg", 0, 587820, CRC(aa1ad063) SHA1(aec6b15569d3d58ff9a4f7db779cda4a1c8efc35) ) +ROM_END + @@ -4541,11 +5082,10 @@ void tflash_state::tflash(machine_config &config) class tmchammer_state : public hh_sm510_state { public: - tmchammer_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tmchammer_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tmchammer(machine_config &config); @@ -4621,6 +5161,19 @@ void tmchammer_state::tmchammer(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tmchammer ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "n63.program", 0x0000, 0x1000, CRC(303aa6f7) SHA1(296689be1ee05238e52e9882812868b2ea96202c) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "n63.melody", 0x000, 0x100, CRC(77c1a5a3) SHA1(c00ae3b7c64dd9db96eab520fe674a40571fc15f) ) + + ROM_REGION( 456446, "svg", 0) + ROM_LOAD( "tmchammer.svg", 0, 456446, CRC(79d6d45d) SHA1(bf6b8c6fdccad657377ad9f721dd22408f6ae775) ) +ROM_END + @@ -4636,11 +5189,10 @@ void tmchammer_state::tmchammer(machine_config &config) class tbtoads_state : public hh_sm510_state { public: - tbtoads_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tbtoads_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tbtoads(machine_config &config); @@ -4716,6 +5268,16 @@ void tbtoads_state::tbtoads(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbtoads ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mb3", 0x0000, 0x1000, CRC(8fa4c55a) SHA1(2be97e63dfed51313e180d7388dd431058db5a51) ) + + ROM_REGION( 694365, "svg", 0) + ROM_LOAD( "tbtoads.svg", 0, 694365, CRC(3af488e9) SHA1(d0e9ec61fac23bb22e508da4fa8bf2a7b8f186cf) ) +ROM_END + @@ -4731,11 +5293,10 @@ void tbtoads_state::tbtoads(machine_config &config) class thook_state : public hh_sm510_state { public: - thook_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + thook_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void thook(machine_config &config); @@ -4811,6 +5372,16 @@ void thook_state::thook(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( thook ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mb7", 0x0000, 0x1000, CRC(7eb1a6e2) SHA1(f4a09ab95c968b0ddbe56cd7bb2667881c145731) ) + + ROM_REGION( 680503, "svg", 0) + ROM_LOAD( "thook.svg", 0, 680503, CRC(28bd6da2) SHA1(e97b1dda219a766ffcca15d1b3279f5cee5e2fed) ) +ROM_END + @@ -4829,11 +5400,10 @@ void thook_state::thook(machine_config &config) class tbttf_state : public hh_sm510_state { public: - tbttf_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tbttf_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tbttf(machine_config &config); @@ -4905,6 +5475,16 @@ void tbttf_state::tbttf(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbttf ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mc3", 0x0000, 0x1000, CRC(9c37a23c) SHA1(c09fa5caac8b574f8460265b98c0bea1d5e78c6a) ) + + ROM_REGION( 667700, "svg", 0) + ROM_LOAD( "tbttf.svg", 0, 667700, CRC(d1d19ec5) SHA1(7361943ccf1f4072bba6fd4e6acae3e2f3d7a0ea) ) +ROM_END + @@ -4922,11 +5502,10 @@ void tbttf_state::tbttf(machine_config &config) class taddams_state : public hh_sm510_state { public: - taddams_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + taddams_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void taddams(machine_config &config); @@ -5002,6 +5581,16 @@ void taddams_state::taddams(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( taddams ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mc2", 0x0000, 0x1000, CRC(af33d432) SHA1(676ada238c389d1dd02dcb29731d69624f60b342) ) + + ROM_REGION( 554649, "svg", 0) + ROM_LOAD( "taddams.svg", 0, 554649, CRC(0b916c6d) SHA1(5a2456b4a0f31db94a78373baab46f3ff9732b92) ) +ROM_END + @@ -5017,11 +5606,10 @@ void taddams_state::taddams(machine_config &config) class thalone_state : public hh_sm510_state { public: - thalone_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + thalone_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void thalone(machine_config &config); @@ -5097,6 +5685,16 @@ void thalone_state::thalone(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( thalone ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mc7", 0x0000, 0x1000, CRC(eceda335) SHA1(20c9ffcf914db61aba03716fe146bac42873ac82) ) + + ROM_REGION( 494235, "svg", 0) + ROM_LOAD( "thalone.svg", 0, 494235, CRC(0e32df1d) SHA1(1fff1d37a5fe66d4f59d12af3ce67665c0049800) ) +ROM_END + @@ -5112,11 +5710,10 @@ void thalone_state::thalone(machine_config &config) class txmenpx_state : public hh_sm510_state { public: - txmenpx_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + txmenpx_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void txmenpx(machine_config &config); @@ -5188,6 +5785,16 @@ void txmenpx_state::txmenpx(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( txmenpx ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "md3", 0x0000, 0x1000, CRC(11c2b09a) SHA1(f94b1e3e60f002398b39c98946469dd1a6aa8e77) ) + + ROM_REGION( 572538, "svg", 0) + ROM_LOAD( "txmenpx.svg", 0, 572538, CRC(9a89c753) SHA1(e3828a8c10c77ee5634128d0e9239e8cda19f988) ) +ROM_END + @@ -5203,11 +5810,10 @@ void txmenpx_state::txmenpx(machine_config &config) class thalone2_state : public hh_sm510_state { public: - thalone2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + thalone2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void thalone2(machine_config &config); @@ -5283,6 +5889,16 @@ void thalone2_state::thalone2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( thalone2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "md7", 0x0000, 0x1000, CRC(ac8a21e9) SHA1(9024f74e34056f90b7dbf439300797183f74eb00) ) + + ROM_REGION( 748886, "svg", 0) + ROM_LOAD( "thalone2.svg", 0, 748886, CRC(a5d8898e) SHA1(de8fae0169a3797a46b5c81d9b556df636a5674e) ) +ROM_END + @@ -5298,11 +5914,10 @@ void thalone2_state::thalone2(machine_config &config) class tsonic_state : public hh_sm510_state { public: - tsonic_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsonic_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tsonic(machine_config &config); @@ -5372,6 +5987,19 @@ void tsonic_state::tsonic(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsonic ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "n71.program", 0x0000, 0x1000, CRC(44cafd68) SHA1(bf8d0ab88d153fabc688ffec19959209ca79c3db) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "n71.melody", 0x000, 0x100, CRC(bae258c8) SHA1(81cb75d73fab4479cd92fcb13d9cb03cec2afdd5) ) + + ROM_REGION( 541450, "svg", 0) + ROM_LOAD( "tsonic.svg", 0, 541450, CRC(f01835e3) SHA1(25f924af55ffadd2aebf50a89f75571d788d5ac1) ) +ROM_END + @@ -5387,11 +6015,10 @@ void tsonic_state::tsonic(machine_config &config) class trobocop3_state : public hh_sm510_state { public: - trobocop3_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + trobocop3_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void trobocop3(machine_config &config); @@ -5467,6 +6094,16 @@ void trobocop3_state::trobocop3(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( trobocop3 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mc6", 0x0000, 0x1000, CRC(07b44e4c) SHA1(3165c85e16c062d2d9d0c0f1b1f6bd6079b4de15) ) + + ROM_REGION( 612103, "svg", 0) + ROM_LOAD( "trobocop3.svg", 0, 612103, CRC(9a162642) SHA1(b775f64e4616c4fc8d2c139938f148c9666e646a) ) +ROM_END + @@ -5482,11 +6119,10 @@ void trobocop3_state::trobocop3(machine_config &config) class tdummies_state : public hh_sm510_state { public: - tdummies_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tdummies_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tdummies(machine_config &config); @@ -5558,6 +6194,16 @@ void tdummies_state::tdummies(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tdummies ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "me0", 0x0000, 0x1000, CRC(29efae4a) SHA1(0b26913a3fd2fde2b39549f0f7cbc3daaa41eb50) ) + + ROM_REGION( 525493, "svg", 0) + ROM_LOAD( "tdummies.svg", 0, 525493, CRC(a18a5216) SHA1(1238e8c489445e715d4fc53e597820845b386233) ) +ROM_END + @@ -5573,11 +6219,10 @@ void tdummies_state::tdummies(machine_config &config) class tsfight2_state : public hh_sm510_state { public: - tsfight2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsfight2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tsfight2(machine_config &config); @@ -5653,6 +6298,16 @@ void tsfight2_state::tsfight2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsfight2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "me1", 0x0000, 0x1000, CRC(73384e94) SHA1(350417d101ce034b3974b4a1d2e04bcb3bf70605) ) + + ROM_REGION( 630403, "svg", 0) + ROM_LOAD( "tsfight2.svg", 0, 630403, CRC(eadc2c81) SHA1(20b2a797f6b9a008c1994eaee7b87e3fe828e837) ) +ROM_END + @@ -5668,11 +6323,10 @@ void tsfight2_state::tsfight2(machine_config &config) class twworld_state : public hh_sm510_state { public: - twworld_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + twworld_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void twworld(machine_config &config); @@ -5748,6 +6402,16 @@ void twworld_state::twworld(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( twworld ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "me7", 0x0000, 0x1000, CRC(dcb16d98) SHA1(539989e12bbc4a719818546c5edcfda02b98210e) ) + + ROM_REGION( 527859, "svg", 0) + ROM_LOAD( "twworld.svg", 0, 527859, CRC(0a2cffce) SHA1(d8c3f2fef60357e47ce0b44d588d0bb39112c8b9) ) +ROM_END + @@ -5763,11 +6427,10 @@ void twworld_state::twworld(machine_config &config) class tjpark_state : public hh_sm510_state { public: - tjpark_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tjpark_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tjpark(machine_config &config); @@ -5839,6 +6502,16 @@ void tjpark_state::tjpark(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tjpark ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mf4", 0x0000, 0x1000, CRC(f66faf73) SHA1(4cfa743dcd6e44a3c1f56206d5824fddba16df01) ) + + ROM_REGION( 812575, "svg", 0) + ROM_LOAD( "tjpark.svg", 0, 812575, CRC(539c9b9c) SHA1(bf9a95586438df677d753deb17abc97f8837cbe3) ) +ROM_END + @@ -5854,11 +6527,10 @@ void tjpark_state::tjpark(machine_config &config) class tsonic2_state : public hh_sm510_state { public: - tsonic2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsonic2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tsonic2(machine_config &config); @@ -5928,6 +6600,19 @@ void tsonic2_state::tsonic2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsonic2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "n86.program", 0x0000, 0x1000, CRC(782874c5) SHA1(b7eb1f56cbc781ba0b90f6b4b5b51944120733cc) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "n86.melody", 0x000, 0x100, CRC(c16fa2b2) SHA1(222772d311fd3b3b05d80cfd539c2c862bed0be5) ) + + ROM_REGION( 667887, "svg", 0) + ROM_LOAD( "tsonic2.svg", 0, 667887, CRC(ef82d40e) SHA1(f22efba565adb32634d8b46c31459ec833b13d98) ) +ROM_END + @@ -5947,11 +6632,10 @@ void tsonic2_state::tsonic2(machine_config &config) class tsddragon_state : public hh_sm510_state { public: - tsddragon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsddragon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tsddragon(machine_config &config); @@ -6028,6 +6712,16 @@ void tsddragon_state::tsddragon(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsddragon ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mf5", 0x0000, 0x1000, CRC(264c8e82) SHA1(470eb2f09a58ef05eb0b7c8e11380ad1d8ce4e1a) ) + + ROM_REGION( 753533, "svg", 0) + ROM_LOAD( "tsddragon.svg", 0, 753533, CRC(fb526049) SHA1(552fe005a6e23e083867b7d1c10d20daa8913a14) ) +ROM_END + @@ -6043,11 +6737,10 @@ void tsddragon_state::tsddragon(machine_config &config) class tdennis_state : public hh_sm510_state { public: - tdennis_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tdennis_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tdennis(machine_config &config); @@ -6124,6 +6817,16 @@ void tdennis_state::tdennis(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tdennis ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mf9", 0x0000, 0x1000, CRC(d95f54d5) SHA1(1b3a170f32deec98e54ad09c04b404f5ae03dcea) ) + + ROM_REGION( 754842, "svg", 0) + ROM_LOAD( "tdennis.svg", 0, 754842, CRC(3b1ed476) SHA1(adc94919daa9a6c42f1acd8ef5113b61859338b7) ) +ROM_END + @@ -6139,11 +6842,10 @@ void tdennis_state::tdennis(machine_config &config) class tnmarebc_state : public hh_sm510_state { public: - tnmarebc_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tnmarebc_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } virtual DECLARE_WRITE8_MEMBER(input_w) override; @@ -6223,6 +6925,16 @@ void tnmarebc_state::tnmarebc(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tnmarebc ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mg0", 0x0000, 0x1000, CRC(5ef21421) SHA1(8fd458575111b89d7c33c969e76703bde5ad2c36) ) + + ROM_REGION( 631310, "svg", 0) + ROM_LOAD( "tnmarebc.svg", 0, 631310, CRC(f9c96205) SHA1(1947d358efd94ae3257ed959172a819798d2c9a1) ) +ROM_END + @@ -6238,11 +6950,10 @@ void tnmarebc_state::tnmarebc(machine_config &config) class ttransf2_state : public hh_sm510_state { public: - ttransf2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + ttransf2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void ttransf2(machine_config &config); @@ -6318,6 +7029,16 @@ void ttransf2_state::ttransf2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ttransf2 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mg2", 0x0000, 0x1000, CRC(65c0f456) SHA1(b1bc3887c5088b3fe359585658e5c5236c09af9e) ) + + ROM_REGION( 727662, "svg", 0) + ROM_LOAD( "ttransf2.svg", 0, 727662, CRC(52fd5ea1) SHA1(35ae9fe2cea14ee4c591df0458fed478c9feb044) ) +ROM_END + @@ -6333,11 +7054,10 @@ void ttransf2_state::ttransf2(machine_config &config) class topaliens_state : public hh_sm510_state { public: - topaliens_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + topaliens_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void topaliens(machine_config &config); @@ -6409,6 +7129,16 @@ void topaliens_state::topaliens(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( topaliens ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mj1", 0x0000, 0x1000, CRC(ccc196cf) SHA1(f18f7cf842cddecf90d05ab0f90257bb76514f54) ) + + ROM_REGION( 1214876, "svg", 0) + ROM_LOAD( "topaliens.svg", 0, 1214876, CRC(683c70aa) SHA1(0fac5ba8ab5f9b73a3cbbff046be60550fa5f98a) ) +ROM_END + @@ -6424,11 +7154,10 @@ void topaliens_state::topaliens(machine_config &config) class tmkombat_state : public hh_sm510_state { public: - tmkombat_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tmkombat_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tmkombat(machine_config &config); @@ -6505,6 +7234,16 @@ void tmkombat_state::tmkombat(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tmkombat ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mg6", 0x0000, 0x1000, CRC(f6375dc7) SHA1(a711199c2623979f19c11067ebfff9355256c2c3) ) + + ROM_REGION( 841829, "svg", 0) + ROM_LOAD( "tmkombat.svg", 0, 841829, CRC(9dc4f58c) SHA1(9c9b080d7f3b777407445c22195990c55c6352ca) ) +ROM_END + @@ -6520,11 +7259,10 @@ void tmkombat_state::tmkombat(machine_config &config) class tshadow_state : public hh_sm510_state { public: - tshadow_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tshadow_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tshadow(machine_config &config); @@ -6600,6 +7338,16 @@ void tshadow_state::tshadow(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tshadow ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mj5", 0x0000, 0x1000, CRC(09822d73) SHA1(30cae8b783a4f388193aee248fa18c6c1042e0ec) ) + + ROM_REGION( 946450, "svg", 0) + ROM_LOAD( "tshadow.svg", 0, 946450, CRC(5cab680a) SHA1(8f8f660c08fc56287362b11c183655047fbd91ca) ) +ROM_END + @@ -6615,11 +7363,10 @@ void tshadow_state::tshadow(machine_config &config) class tskelwarr_state : public hh_sm510_state { public: - tskelwarr_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tskelwarr_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tskelwarr(machine_config &); @@ -6695,6 +7442,16 @@ void tskelwarr_state::tskelwarr(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tskelwarr ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mk0", 0x0000, 0x1000, CRC(dc7827a1) SHA1(74ff143605684df0c70db604a5f22dbf512044d7) ) + + ROM_REGION( 1125002, "svg", 0) + ROM_LOAD( "tskelwarr.svg", 0, 1125002, CRC(49c6ca24) SHA1(71f4ed98ab558deeb86820b7fbf7534a7b7d6b01) ) +ROM_END + @@ -6710,11 +7467,10 @@ void tskelwarr_state::tskelwarr(machine_config &config) class tbatfor_state : public hh_sm510_state { public: - tbatfor_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tbatfor_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tbatfor(machine_config &config); @@ -6791,6 +7547,16 @@ void tbatfor_state::tbatfor(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbatfor ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mk3", 0x0000, 0x1000, CRC(9993c382) SHA1(0c89e21024315ce7c086af5390c60f5766028c4f) ) + + ROM_REGION( 902364, "svg", 0) + ROM_LOAD( "tbatfor.svg", 0, 902364, CRC(56889c05) SHA1(dda393ca99196de38ad2e989ec6c292adc36ec5e) ) +ROM_END + @@ -6806,11 +7572,10 @@ void tbatfor_state::tbatfor(machine_config &config) class tjdredd_state : public hh_sm510_state { public: - tjdredd_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tjdredd_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tjdredd(machine_config &config); @@ -6887,6 +7652,16 @@ void tjdredd_state::tjdredd(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tjdredd ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mk5", 0x0000, 0x1000, CRC(7beee5a7) SHA1(9a190197c5751b43a9ab2dc8c536934dc5fc5e83) ) + + ROM_REGION( 1051586, "svg", 0) + ROM_LOAD( "tjdredd.svg", 0, 1051586, CRC(4fcdca0a) SHA1(d4b019fec94890ba6600baf2b2096dbcf3295180) ) +ROM_END + @@ -6902,11 +7677,10 @@ void tjdredd_state::tjdredd(machine_config &config) class tapollo13_state : public hh_sm510_state { public: - tapollo13_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tapollo13_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tapollo13(machine_config &config); @@ -6983,6 +7757,16 @@ void tapollo13_state::tapollo13(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tapollo13 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "10_07", 0x0000, 0x1000, CRC(63d0deaa) SHA1(d5de99d5e0ee08ec2ebeef7189ebac1c008d2e7d) ) + + ROM_REGION( 643176, "svg", 0) + ROM_LOAD( "tapollo13.svg", 0, 643176, CRC(e2dac162) SHA1(4089fa485579d2b87ac49b1cf33d6c2c085ea4c5) ) +ROM_END + @@ -6998,11 +7782,10 @@ void tapollo13_state::tapollo13(machine_config &config) class tgoldeye_state : public hh_sm510_state { public: - tgoldeye_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tgoldeye_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tgoldeye(machine_config &config); @@ -7079,6 +7862,16 @@ void tgoldeye_state::tgoldeye(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tgoldeye ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "10_06", 0x0000, 0x1000, CRC(fe053efb) SHA1(3c90c0fa43e6e5e1f76b306e402f902d19175c96) ) + + ROM_REGION( 938916, "svg", 0) + ROM_LOAD( "tgoldeye.svg", 0, 938916, CRC(6dddf962) SHA1(1ced43b4225b86eca415f9af7db5fb5e80040186) ) +ROM_END + @@ -7094,11 +7887,10 @@ void tgoldeye_state::tgoldeye(machine_config &config) class tsjam_state : public hh_sm510_state { public: - tsjam_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tsjam_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tsjam(machine_config &config); @@ -7170,6 +7962,16 @@ void tsjam_state::tsjam(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tsjam ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "10_23", 0x0000, 0x1000, CRC(6eaabfbd) SHA1(f0ecbd6f65fe72ce2d8a452685be2e77a63fc9f0) ) + + ROM_REGION( 1046147, "svg", 0) + ROM_LOAD( "tsjam.svg", 0, 1046147, CRC(6d24e1c9) SHA1(ddbfbd85f70ec964c68f982a8ee8070e3786a85e) ) +ROM_END + @@ -7185,11 +7987,10 @@ void tsjam_state::tsjam(machine_config &config) class tinday_state : public hh_sm510_state { public: - tinday_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tinday_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 5; - m_inp_fixed = 5; + inp_fixed_last(); } void tinday(machine_config &config); @@ -7261,6 +8062,16 @@ void tinday_state::tinday(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tinday ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "10_16", 0x0000, 0x1000, CRC(77c2c2f7) SHA1(06326b26d0f6757180724ba0bdeb4110cc7e29d6) ) + + ROM_REGION( 1162672, "svg", 0) + ROM_LOAD( "tinday.svg", 0, 1162672, CRC(9b9a8047) SHA1(2aeaa71a54cf897d2a5d91133c733613ca229aae) ) +ROM_END + @@ -7276,11 +8087,10 @@ void tinday_state::tinday(machine_config &config) class tbatmana_state : public hh_sm510_state { public: - tbatmana_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) + tbatmana_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) { - m_inp_lines = 6; - m_inp_fixed = 6; + inp_fixed_last(); } void tbatmana(machine_config &config); @@ -7351,6 +8161,19 @@ void tbatmana_state::tbatmana(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbatmana ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "n81.program", 0x0000, 0x1000, CRC(efb3f122) SHA1(d55c2fb92fb9bd41d6001f42143691b84f3f389a) ) + + ROM_REGION( 0x100, "maincpu:melody", 0 ) + ROM_LOAD( "n81.melody", 0x000, 0x100, CRC(56ba8fe5) SHA1(5c286ae1bfc943bbe8c8f4cdc9c8b73d9b3c186e) ) + + ROM_REGION( 618831, "svg", 0) + ROM_LOAD( "tbatmana.svg", 0, 618831, CRC(fc38cb9d) SHA1(1b6c10dcd33bfcfef43d61f97fa8e530011c1e61) ) +ROM_END + @@ -7366,11 +8189,9 @@ void tbatmana_state::tbatmana(machine_config &config) class tigarden_state : public hh_sm510_state { public: - tigarden_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 8; - } + tigarden_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void tigarden(machine_config &config); }; @@ -7454,6 +8275,16 @@ void tigarden_state::tigarden(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tigarden ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "0019_238e", 0x0000, 0x1000, CRC(8bd0eadd) SHA1(7bb5eb30d569901dce52d777bc01c0979e4afa06) ) + + ROM_REGION( 409084, "svg", 0) + ROM_LOAD( "tigarden.svg", 0, 409084, CRC(cfda5138) SHA1(1bc4ed65ae0cdca3e1e9458d68ca4d6e0fc0e901) ) +ROM_END + @@ -7469,11 +8300,9 @@ void tigarden_state::tigarden(machine_config &config) class nummunch_state : public hh_sm510_state { public: - nummunch_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_sm510_state(mconfig, type, tag) - { - m_inp_lines = 8; - } + nummunch_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } void nummunch(machine_config &config); }; @@ -7554,856 +8383,7 @@ void nummunch_state::nummunch(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( kdribble ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "584", 0x0000, 0x1000, CRC(1d9022c8) SHA1(64567f9f161e830a0634d5c89917ab866c26c0f8) ) - - ROM_REGION( 450339, "svg", 0) - ROM_LOAD( "kdribble.svg", 0, 450339, CRC(86c3ecc4) SHA1(8dfaeb0f3b35d4b680daaa9f478a6f3decf6ea0a) ) -ROM_END - - -ROM_START( ktopgun ) // except for filler/unused bytes, ROM listing in patent US5137277 "BH003 Top Gun" is same - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "598", 0x0000, 0x1000, CRC(50870b35) SHA1(cda1260c2e1c180995eced04b7d7ff51616dcef5) ) - - ROM_REGION( 425832, "svg", 0) - ROM_LOAD( "ktopgun.svg", 0, 425832, CRC(dc488ac0) SHA1(5a47e5639cb1e61dad3f2169efb99efe3d75896f) ) -ROM_END - - -ROM_START( kcontra ) // except for filler/unused bytes, ROM listing in patent US5120057 "BH002 C (Contra)" program/melody is same - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "773.program", 0x0000, 0x1000, CRC(bf834877) SHA1(055dd56ec16d63afba61ab866481fd9c029fb54d) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "773.melody", 0x000, 0x100, CRC(23d02b99) SHA1(703938e496db0eeacd14fe7605d4b5c39e0a5bc8) ) - - ROM_REGION( 721005, "svg", 0) - ROM_LOAD( "kcontra.svg", 0, 721005, CRC(b5370d0f) SHA1(2f401222d24fa32a4659ef2b64ddac8ac3973c69) ) -ROM_END - - -ROM_START( ktmnt ) // except for filler/unused bytes, ROM listing in patent US5150899 "BH005 TMNT" program/melody is same - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "774.program", 0x0000, 0x1000, CRC(a1064f87) SHA1(92156c35fbbb414007ee6804fe635128a741d5f1) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "774.melody", 0x000, 0x100, CRC(8270d626) SHA1(bd91ca1d5cd7e2a62eef05c0033b19dcdbe441ca) ) - - ROM_REGION( 610270, "svg", 0) - ROM_LOAD( "ktmnt.svg", 0, 610270, CRC(ad9412ed) SHA1(154ee44efcd340dafa1cb84c37a9c3cd42cb42ab) ) -ROM_END - - -ROM_START( kgradius ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "771.program", 0x0000, 0x1000, CRC(830c2afc) SHA1(bb9ebd4e52831cc02cd92dd4b37675f34cf37b8c) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "771.melody", 0x000, 0x100, CRC(4c586b73) SHA1(14c5ab2898013a577f678970a648c374749cc66d) ) - - ROM_REGION( 638097, "svg", 0) - ROM_LOAD( "kgradius.svg", 0, 638097, CRC(3adbc0f1) SHA1(fe426bf2335ce30395ea14ecab6399a93c67816a) ) -ROM_END - - -ROM_START( kloneran ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "781.program", 0x0000, 0x1000, CRC(52b9735f) SHA1(06c5ef6e7e781b1176d4c1f2445f765ccf18b3f7) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "781.melody", 0x000, 0x100, CRC(a393de36) SHA1(55089f04833ccb318524ab2b584c4817505f4019) ) - - ROM_REGION( 633120, "svg", 0) - ROM_LOAD( "kloneran.svg", 0, 633120, CRC(f55e5292) SHA1(d0a91b5cd8a1894e7abc9c505fff4a8e1d3bec7a) ) -ROM_END - - -ROM_START( kblades ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "782.program", 0x0000, 0x1000, CRC(3351a35d) SHA1(84c64b65d3cabfa20c18f4649c9ede2578b82523) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "782.melody", 0x000, 0x100, CRC(e8bf48ba) SHA1(3852c014dc9136566322b4f9e2aab0e3ec3a7387) ) - - ROM_REGION( 455113, "svg", 0) - ROM_LOAD( "kblades.svg", 0, 455113, CRC(e22f44c8) SHA1(ac95a837e20f87f3afc6c234f7407cbfcc438011) ) -ROM_END - - -ROM_START( knfl ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "786.program", 0x0000, 0x1000, CRC(0535c565) SHA1(44cdcd284713ff0b194b24beff9f1b94c8bc63b2) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "786.melody", 0x000, 0x100, CRC(6c80263b) SHA1(d3c21e2f8491fef101907b8e0871b1e1c1ed58f5) ) - - ROM_REGION( 571134, "svg", 0) - ROM_LOAD( "knfl.svg", 0, 571134, CRC(f2c63235) SHA1(70b9232700f5498d3c63c63dd5904c0e19482cc2) ) -ROM_END - - -ROM_START( kbilly ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "788.program", 0x0000, 0x1000, CRC(b8b1f734) SHA1(619dd527187b43276d081cdb1b13e0a9a81f2c6a) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "788.melody", 0x000, 0x100, CRC(cd488bea) SHA1(8fc60081f46e392978d6950c74711fb7ebd154de) ) - - ROM_REGION( 598276, "svg", 0) - ROM_LOAD( "kbilly.svg", 0, 598276, CRC(2969319e) SHA1(5cd1b0a6eee3168142c1d24f167b9ef38ad88402) ) -ROM_END - - -ROM_START( kbucky ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "n58.program", 0x0000, 0x1000, CRC(7c36a0c4) SHA1(1b55ac64a71af746fd0a0f44266fcc92cca77482) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "n58.melody", 0x000, 0x100, CRC(7e99e469) SHA1(3e9a3843c6ab392f5989f3366df87a2d26cb8620) ) - - ROM_REGION( 727841, "svg", 0) - ROM_LOAD( "kbucky.svg", 0, 727841, CRC(c1d78488) SHA1(9ba4fdbce977455b8f1ad4bd2b01faa44bd05bc7) ) -ROM_END - - -ROM_START( kgarfld ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "n62.program", 0x0000, 0x1000, CRC(5a762049) SHA1(26d4d891160d254dfd752734e1047126243f88dd) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "n62.melody", 0x000, 0x100, CRC(232b7d55) SHA1(76f6a19e8182ee3f00c9f4ef007b5dde75a9c00d) ) - - ROM_REGION( 581107, "svg", 0) - ROM_LOAD( "kgarfld.svg", 0, 581107, CRC(bf09a170) SHA1(075cb95535873018409eb15675183490c61b29b9) ) -ROM_END - - -ROM_START( gnw_octopus ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "oc-22", 0x0000, 0x0740, CRC(bd27781d) SHA1(07b4feb9265c83b159f96c7e8ee1c61a2cc17dc5) ) - - ROM_REGION( 119681, "svg", 0) - ROM_LOAD( "gnw_octopus.svg", 0, 119681, CRC(39900430) SHA1(61b71c475365966257f5479eab992538ec235c11) ) -ROM_END - - -ROM_START( gnw_mmouse ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mc-25", 0x0000, 0x0740, BAD_DUMP CRC(cb820c32) SHA1(7e94fc255f32db725d5aa9e196088e490c1a1443) ) // dumped from Soviet clone - - ROM_REGION( 102453, "svg", 0) - ROM_LOAD( "gnw_mmouse.svg", 0, 102453, BAD_DUMP CRC(88cc7c49) SHA1(c000d51d1b99750116b97f9bafc0314ea506366d) ) -ROM_END - -ROM_START( gnw_egg ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "eg-26", 0x0000, 0x0740, BAD_DUMP CRC(cb820c32) SHA1(7e94fc255f32db725d5aa9e196088e490c1a1443) ) // dumped from Soviet clone - - ROM_REGION( 102848, "svg", 0) - ROM_LOAD( "gnw_egg.svg", 0, 102848, BAD_DUMP CRC(742c2605) SHA1(984d430ad2ff47ad7a3f9b25b7d3f3d51b10cca5) ) -ROM_END - -ROM_START( nupogodi ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "nupogodi.bin", 0x0000, 0x0740, CRC(cb820c32) SHA1(7e94fc255f32db725d5aa9e196088e490c1a1443) ) - - ROM_REGION( 156974, "svg", 0) - ROM_LOAD( "nupogodi.svg", 0, 156974, CRC(8d522ec6) SHA1(67afeca5eebd16449353ea43070a6b919f7ba408) ) -ROM_END - -ROM_START( exospace ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "exospace.bin", 0x0000, 0x0740, CRC(553e2b09) SHA1(2b74f8437b881fbb62b61f25435a5bfc66872a9a) ) - - ROM_REGION( 66790, "svg", 0) - ROM_LOAD( "exospace.svg", 0, 66790, BAD_DUMP CRC(df31043a) SHA1(2d8caf42894df699e469652e5f448beaebbcc1ae) ) -ROM_END - - -ROM_START( gnw_fire ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "fr-27", 0x0000, 0x0740, CRC(f4c53ef0) SHA1(6b57120a0f9d2fd4dcd65ad57a5f32def71d905f) ) - - ROM_REGION( 163753, "svg", 0) - ROM_LOAD( "gnw_fire.svg", 0, 163753, CRC(d546fa42) SHA1(492c785aa0ed33ff1ac8c84066e5b6d7cb7d1566) ) -ROM_END - - -ROM_START( gnw_stennis ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "sp-30", 0x0000, 0x1000, CRC(ba1d9504) SHA1(ff601765d88564b1570a59f5b1a4005c7b0fd66c) ) - - ROM_REGION( 227964, "svg", 0) - ROM_LOAD( "gnw_stennis.svg", 0, 227964, CRC(1bb5f99a) SHA1(2e999c75598448e3502e7bab16e987d80d6a301f) ) -ROM_END - - -ROM_START( gnw_opanic ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "op-51", 0x0000, 0x1000, CRC(31c288c9) SHA1(4bfd0fba94a9927cefc925db8196b063c5dd9b19) ) - - ROM_REGION( 79616, "svg_top", 0) - ROM_LOAD( "gnw_opanic_top.svg", 0, 79616, CRC(208dccc5) SHA1(b3cd3dcc8a00ba3b1b8d93d902f756fe579e4dfc) ) - - ROM_REGION( 112809, "svg_bottom", 0) - ROM_LOAD( "gnw_opanic_bottom.svg", 0, 112809, CRC(919b9649) SHA1(f3d3c8ca3fed81782a1fcb5a7aff07faea86db07) ) -ROM_END - - -ROM_START( gnw_dkong ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "dk-52", 0x0000, 0x1000, CRC(5180cbf8) SHA1(5174570a8d6a601226f51e972bac6735535fe11d) ) - - ROM_REGION( 176706, "svg_top", 0) - ROM_LOAD( "gnw_dkong_top.svg", 0, 176706, CRC(db041556) SHA1(fb0f979dea3ecd25288d341fa80e35b5fd0a8349) ) - - ROM_REGION( 145397, "svg_bottom", 0) - ROM_LOAD( "gnw_dkong_bottom.svg", 0, 145397, CRC(2c8c9d08) SHA1(658fd0bbccaabb0645b02e5cb81709c4b2a4250e) ) -ROM_END - - -ROM_START( gnw_mickdon ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "dm-53_565", 0x0000, 0x1000, CRC(e21fc0f5) SHA1(3b65ccf9f98813319410414e11a3231b787cdee6) ) - - ROM_REGION( 126434, "svg_top", 0) - ROM_LOAD( "gnw_mickdon_top.svg", 0, 126434, CRC(ff05f489) SHA1(2a533c7b5d7249d79f8d7795a0d57fd3e32d3d32) ) - - ROM_REGION( 122870, "svg_bottom", 0) - ROM_LOAD( "gnw_mickdon_bottom.svg", 0, 122870, CRC(8f06ddf1) SHA1(69d4b785781600abcdfc01b3902df1d0ae3608cf) ) -ROM_END - - -ROM_START( gnw_ghouse ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "gh-54", 0x0000, 0x1000, CRC(4df12b4d) SHA1(708be5fef8dbd9337f5ab35baaca5bdf21e1f36c) ) - - ROM_REGION( 159098, "svg_top", 0) - ROM_LOAD( "gnw_ghouse_top.svg", 0, 159098, CRC(96bc58d9) SHA1(eda6a0abde739fb71af3e150751a519e59ef021d) ) - - ROM_REGION( 149757, "svg_bottom", 0) - ROM_LOAD( "gnw_ghouse_bottom.svg", 0, 149757, CRC(d66ee72c) SHA1(dcbe1c81ee0c7ddb9692858749ce6934f4dd7f30) ) -ROM_END - - -ROM_START( gnw_dkong2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "jr-55_560", 0x0000, 0x1000, CRC(46aed0ae) SHA1(72f75ccbd84aea094148c872fc7cc1683619a18a) ) - - ROM_REGION( 267443, "svg_top", 0) - ROM_LOAD( "gnw_dkong2_top.svg", 0, 267443, CRC(33b26edb) SHA1(600afdf22ff4ac4a4af2de9159287cc6e53dfe3a) ) - - ROM_REGION( 390558, "svg_bottom", 0) - ROM_LOAD( "gnw_dkong2_bottom.svg", 0, 390558, CRC(92d68958) SHA1(aba829bf89b93bf3a4e425c9a8f6eec9e5869bc4) ) -ROM_END - - -ROM_START( gnw_mario ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mw-56", 0x0000, 0x1000, CRC(385e59da) SHA1(2f79281bdf2f2afca2fb5bd7b9a3beeffc9c4eb7) ) - - ROM_REGION( 154874, "svg_left", 0) - ROM_LOAD( "gnw_mario_left.svg", 0, 154874, CRC(73ba4f4a) SHA1(d5df39808a1af8e8ad5e397b4a50313221ab6e3b) ) - - ROM_REGION( 202863, "svg_right", 0) - ROM_LOAD( "gnw_mario_right.svg", 0, 202863, CRC(dd2473c9) SHA1(51aca37abf8e4959b84c441aa2d114e16c7d6010) ) -ROM_END - - -ROM_START( gnw_rshower ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "lp-57", 0x0000, 0x1000, CRC(51a2c5c4) SHA1(d60542e6785ba7b6a44153a66c739787cf670816) ) - - ROM_REGION( 135698, "svg_left", 0) - ROM_LOAD( "gnw_rshower_left.svg", 0, 135698, CRC(f0b36d70) SHA1(252e5cc110112a874265477be11ab3adf8108726) ) - - ROM_REGION( 140280, "svg_right", 0) - ROM_LOAD( "gnw_rshower_right.svg", 0, 140280, CRC(0ce4d049) SHA1(7e1afa1fdbdf658a12a28192ba2d29e5fca807cb) ) -ROM_END - - -ROM_START( gnw_lboat ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "tc-58", 0x0000, 0x1000, CRC(1f88f6a2) SHA1(22fd62127dda43a0ada2fe89b0518eec8cbe2a25) ) - - ROM_REGION( 156272, "svg_left", 0) - ROM_LOAD( "gnw_lboat_left.svg", 0, 156272, CRC(1f0c18bd) SHA1(ca11c83b4b4d6a91ecb0300cff392e010064ba25) ) - - ROM_REGION( 155093, "svg_right", 0) - ROM_LOAD( "gnw_lboat_right.svg", 0, 155093, CRC(6f68780a) SHA1(63488693fbb1a8ad4d59da9e4e003eef709926f9) ) -ROM_END - - -ROM_START( gnw_bjack ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "bj-60.program", 0x0000, 0x1000, CRC(8e74f633) SHA1(54b0f65ee716d2820a9ed9c743755d2a2d99ce4d) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "bj-60.melody", 0x000, 0x100, BAD_DUMP CRC(2619224e) SHA1(b65dc590b6eb1de793e980af236ccf8360b3cfee) ) // dumped electronically, decap needed to verify accuracy - - ROM_REGION( 75217, "svg_top", 0) - ROM_LOAD( "gnw_bjack_top.svg", 0, 75205, CRC(5eb0956e) SHA1(f7acd148e5478d4c2ddf06cff23c5e40faee2c24) ) - - ROM_REGION( 112450, "svg_bottom", 0) - ROM_LOAD( "gnw_bjack_bottom.svg", 0, 112438, CRC(9d985b1d) SHA1(cf8af6ce18994f687a5e6fbdda62af4d07a07cf8) ) -ROM_END - - -ROM_START( gnw_squish ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mg-61", 0x0000, 0x1000, CRC(79cd509c) SHA1(969e5425984ba9e5183c68b38b3588f53d1e8e5d) ) - - ROM_REGION( 70300, "svg_top", 0) - ROM_LOAD( "gnw_squish_top.svg", 0, 70300, CRC(f1358ba9) SHA1(414d29db64b83a50b20f31b857e4c3a77d19d3c8) ) - - ROM_REGION( 279606, "svg_bottom", 0) - ROM_LOAD( "gnw_squish_bottom.svg", 0, 279606, CRC(1d4ac23f) SHA1(d6eb78bae5ca18cc5fe5d8a300902766dd9601aa) ) -ROM_END - - -ROM_START( gnw_dkjr ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "dj-101", 0x0000, 0x1000, CRC(8dcfb5d1) SHA1(e0ef578e9362eb9a3cab631376df3cf55978f2de) ) - - ROM_REGION( 281161, "svg", 0) - ROM_LOAD( "gnw_dkjr.svg", 0, 281161, CRC(346b025c) SHA1(dad3f3f73d6c2ff4efb43ffd76e97ba0d5f0da73) ) -ROM_END - - -ROM_START( gnw_mariocm ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "ml-102_577", 0x0000, 0x1000, CRC(c1128dea) SHA1(8647e36f43a0e37756a3c7b6a3f08d4c8243f1cc) ) - - ROM_REGION( 302931, "svg", 0) - ROM_LOAD( "gnw_mariocm.svg", 0, 302931, CRC(5517ae80) SHA1(1902e36d0470ee5548addeb087ea3e7d2c2520a2) ) -ROM_END - - -ROM_START( gnw_manhole ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "nh-103", 0x0000, 0x1000, CRC(ec03acf7) SHA1(b74ae672d8f8a155b2ea4ecee9afbaed95ec0ceb) ) - - ROM_REGION( 223244, "svg", 0) - ROM_LOAD( "gnw_manhole.svg", 0, 223244, CRC(41848e77) SHA1(d7238d1a3f95d8d274f5ff767ebf783bb50e64eb) ) -ROM_END - - -ROM_START( gnw_tfish ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "tf-104", 0x0000, 0x1000, CRC(53cde918) SHA1(bc1e1b8f8b282bb886bb076c1c7ce35d00eca6fc) ) - - ROM_REGION( 257278, "svg", 0) - ROM_LOAD( "gnw_tfish.svg", 0, 257278, CRC(fc970f4a) SHA1(a73f5ee35b60842707f13edc5d58869fb2ec98cf) ) -ROM_END - - -ROM_START( gnw_smb ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "ym-105.program", 0x0000, 0x1000, CRC(0dff3b12) SHA1(3fa83f88e49ea9d7080fe935ec90ce69acbe8850) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "ym-105.melody", 0x000, 0x100, CRC(b48c6d90) SHA1(a1ce1e52627767752974ab0d49bec48ead36663e) ) - - ROM_REGION( 648209, "svg", 0) - ROM_LOAD( "gnw_smb.svg", 0, 648209, CRC(4a6fdb28) SHA1(0a0bc48d82d5b8bf8ef96ef9ce2f87ba6ea850c1) ) -ROM_END - - -ROM_START( gnw_climber ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "dr-106.program", 0x0000, 0x1000, CRC(2adcbd6d) SHA1(110dc08c65120ab2c76ee647e89aa2726e24ac1a) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "dr-106.melody", 0x000, 0x100, BAD_DUMP CRC(c99d7998) SHA1(4f8cf35b13f8b7654e7186bfd67d197d9053e949) ) // dumped electronically, decap needed to verify accuracy - - ROM_REGION( 542332, "svg", 0) - ROM_LOAD( "gnw_climber.svg", 0, 542332, CRC(d7e84c21) SHA1(a5b5b68c8cdb3a09966bfb91b281791bef311248) ) -ROM_END - - -ROM_START( gnw_boxing ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "bx-301_744.program", 0x0000, 0x1000, CRC(0fdf0303) SHA1(0b791c9d4874e9534d0a9b7a8968ce02fe4bee96) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "bx-301_744.melody", 0x000, 0x100, CRC(439d943d) SHA1(52880df15ec7513f96482f455ef3d9778aa24750) ) - - ROM_REGION( 265174, "svg", 0) - ROM_LOAD( "gnw_boxing.svg", 0, 265174, CRC(e8a3ab25) SHA1(53e32542b582dcdf4ddd051f182738eee6c732c9) ) -ROM_END - - -ROM_START( tgaunt ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "583", 0x0000, 0x1000, CRC(598d8156) SHA1(9f776e8b9b4321e8118481e6b1304f8a38f9932e) ) - - ROM_REGION( 713020, "svg", 0) - ROM_LOAD( "tgaunt.svg", 0, 713020, CRC(1f65ae21) SHA1(57ca33d073d1096a7fc17f2bdac940868d1ae651) ) -ROM_END - -ROM_START( trobhood ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "583", 0x0000, 0x1000, CRC(598d8156) SHA1(9f776e8b9b4321e8118481e6b1304f8a38f9932e) ) - - ROM_REGION( 704892, "svg", 0) - ROM_LOAD( "trobhood.svg", 0, 704892, CRC(291fd8db) SHA1(1de6bd0e203f16c44f7d661e44863a1a919f3da9) ) -ROM_END - - -ROM_START( tddragon ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "593", 0x0000, 0x1000, CRC(2642f778) SHA1(fee77acf93e057a8b4627389dfd481c6d9cbd02b) ) - - ROM_REGION( 511434, "svg", 0) - ROM_LOAD( "tddragon.svg", 0, 511434, CRC(641e7ceb) SHA1(bbfc37cc085e00921422f65d9aac9949f871e7b7) ) -ROM_END - - -ROM_START( tkarnov ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "582", 0x0000, 0x1000, CRC(cee85bdd) SHA1(143e39524f1dea523e0575f327ed189343cc87f5) ) - - ROM_REGION( 527377, "svg", 0) - ROM_LOAD( "tkarnov.svg", 0, 527377, CRC(971840fc) SHA1(48db7139fa875e60b44340fb475b6d1081ef5c10) ) -ROM_END - - -ROM_START( tvindictr ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "595", 0x0000, 0x1000, CRC(b574d16f) SHA1(d2cb0f2e21ca2defe49a4b45f4c8e169ae9979ab) ) - - ROM_REGION( 314165, "svg", 0) - ROM_LOAD( "tvindictr.svg", 0, 314165, CRC(2241992c) SHA1(efd44879d1c0d5befd7ea07089418406fc101315) ) -ROM_END - - -ROM_START( tgaiden ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m82", 0x0000, 0x1000, CRC(278eafb0) SHA1(14396a0010bade0fde705969151200ed432321e7) ) - - ROM_REGION( 100000, "svg", 0) - ROM_LOAD( "tgaiden.svg", 0, 100000, NO_DUMP ) -ROM_END - - -ROM_START( tbatman ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "597", 0x0000, 0x1000, CRC(8b7acc97) SHA1(fe811675dc5c5ef9f6f969685c933926c8b9e868) ) - - ROM_REGION( 551890, "svg", 0) - ROM_LOAD( "tbatman.svg", 0, 551890, CRC(65809ee3) SHA1(5fc38bdb2108d45dc99bce3379253423ea88e0fc) ) -ROM_END - - -ROM_START( tsharr2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m91", 0x0000, 0x1000, CRC(b207ac79) SHA1(9889dfec26089313ba2bdac845a75a26742d09e1) ) - - ROM_REGION( 555126, "svg", 0) - ROM_LOAD( "tsharr2.svg", 0, 555126, CRC(ff43e29b) SHA1(0af02e65a1dcf95958296a292343430670b67ae5) ) -ROM_END - - -ROM_START( tstrider ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m92", 0x0000, 0x1000, CRC(4b488e8f) SHA1(b037c220c4a456f0dac67d759736f202a7609ee5) ) - - ROM_REGION( 554817, "svg", 0) - ROM_LOAD( "tstrider.svg", 0, 554817, CRC(be5de6bd) SHA1(cde0a3fe21af24d7d22d2ce0aec9c308f8696c7e) ) -ROM_END - - -ROM_START( tgoldnaxe ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m94", 0x0000, 0x1000, CRC(af183fbf) SHA1(23716e2a7c4bb4842b2af1a43fe88db44e18dc17) ) - - ROM_REGION( 605483, "svg", 0) - ROM_LOAD( "tgoldnaxe.svg", 0, 605483, CRC(533bea14) SHA1(08d419bd7af5de7216654dc7f978beed95192c2d) ) -ROM_END - - -ROM_START( trobocop2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m96", 0x0000, 0x1000, CRC(3704b60c) SHA1(04275833e1a79fd33226faf060890b66ae54e1d3) ) - - ROM_REGION( 463532, "svg", 0) - ROM_LOAD( "trobocop2.svg", 0, 463532, CRC(c2b92868) SHA1(87912f02bea967c10ba1d8f7c810e3c44b0e3cff) ) -ROM_END - -ROM_START( trockteer ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m96", 0x0000, 0x1000, CRC(3704b60c) SHA1(04275833e1a79fd33226faf060890b66ae54e1d3) ) - - ROM_REGION( 558086, "svg", 0) - ROM_LOAD( "trockteer.svg", 0, 558086, CRC(8afe0f88) SHA1(702127a4ff72be492f72b24bd8917ae0e15f247d) ) -ROM_END - - -ROM_START( taltbeast ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "m88", 0x0000, 0x1000, CRC(1b3d15e7) SHA1(78371230dff872d6c07eefdbc4856c2a3336eb61) ) - - ROM_REGION( 667887, "svg", 0) - ROM_LOAD( "taltbeast.svg", 0, 667887, CRC(1ca9bbf1) SHA1(be844dddee4a95f70ea2adf875d3ee6cda2a6633) ) -ROM_END - - -ROM_START( tsf2010 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "ma2", 0x0000, 0x1000, CRC(764b3757) SHA1(c5f90b860128658576bb837e9cabbb3045ad2756) ) - - ROM_REGION( 595149, "svg", 0) - ROM_LOAD( "tsf2010.svg", 0, 595149, CRC(b873856b) SHA1(1d070d4d9578bbc322d1edead208bbd44340b71a) ) -ROM_END - - -ROM_START( tswampt ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mb0", 0x0000, 0x1000, CRC(8433530c) SHA1(60716d3bba92dc8ac3f1ee29c5734c9e894a1aff) ) - - ROM_REGION( 578505, "svg", 0) - ROM_LOAD( "tswampt.svg", 0, 578505, CRC(98ff2fbb) SHA1(a5a4e9934b86f69176549f99246b40f323441945) ) -ROM_END - - -ROM_START( tspidman ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "ma5", 0x0000, 0x1000, CRC(2624daed) SHA1(7c10434ae899637264de706045d48e3fce1d30a7) ) - - ROM_REGION( 605332, "svg", 0) - ROM_LOAD( "tspidman.svg", 0, 605332, CRC(6e687727) SHA1(c1a2ee450509e05d1db61e02f6a911207d2830c4) ) -ROM_END - - -ROM_START( txmen ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "ma7", 0x0000, 0x1000, CRC(6f3ff34f) SHA1(aa24fbc3a4117ea51ebf951ee343a36c77692b72) ) - - ROM_REGION( 543232, "svg", 0) - ROM_LOAD( "txmen.svg", 0, 543232, CRC(51daf7f9) SHA1(b59ecbd83e05478f4b2654a019291c7e06893112) ) -ROM_END - - -ROM_START( tddragon3 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "ma6", 0x0000, 0x1000, CRC(8e2da0d9) SHA1(54dd05124b4c605975b0cb1eadd7456ff4a94d68) ) - - ROM_REGION( 615684, "svg", 0) - ROM_LOAD( "tddragon3.svg", 0, 615684, CRC(3f5df090) SHA1(c9248fbf3a4dec0ce3b32b10fb67f133595cc54d) ) -ROM_END - - -ROM_START( tflash ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mb5", 0x0000, 0x1000, CRC(f7f1d082) SHA1(49a7a931450cf27fe69076c4e15ffb34814e25d4) ) - - ROM_REGION( 587820, "svg", 0) - ROM_LOAD( "tflash.svg", 0, 587820, CRC(aa1ad063) SHA1(aec6b15569d3d58ff9a4f7db779cda4a1c8efc35) ) -ROM_END - - -ROM_START( tmchammer ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "n63.program", 0x0000, 0x1000, CRC(303aa6f7) SHA1(296689be1ee05238e52e9882812868b2ea96202c) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "n63.melody", 0x000, 0x100, CRC(77c1a5a3) SHA1(c00ae3b7c64dd9db96eab520fe674a40571fc15f) ) - - ROM_REGION( 456446, "svg", 0) - ROM_LOAD( "tmchammer.svg", 0, 456446, CRC(79d6d45d) SHA1(bf6b8c6fdccad657377ad9f721dd22408f6ae775) ) -ROM_END - - -ROM_START( tbtoads ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mb3", 0x0000, 0x1000, CRC(8fa4c55a) SHA1(2be97e63dfed51313e180d7388dd431058db5a51) ) - - ROM_REGION( 694365, "svg", 0) - ROM_LOAD( "tbtoads.svg", 0, 694365, CRC(3af488e9) SHA1(d0e9ec61fac23bb22e508da4fa8bf2a7b8f186cf) ) -ROM_END - - -ROM_START( thook ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mb7", 0x0000, 0x1000, CRC(7eb1a6e2) SHA1(f4a09ab95c968b0ddbe56cd7bb2667881c145731) ) - - ROM_REGION( 680503, "svg", 0) - ROM_LOAD( "thook.svg", 0, 680503, CRC(28bd6da2) SHA1(e97b1dda219a766ffcca15d1b3279f5cee5e2fed) ) -ROM_END - - -ROM_START( tbttf ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mc3", 0x0000, 0x1000, CRC(9c37a23c) SHA1(c09fa5caac8b574f8460265b98c0bea1d5e78c6a) ) - - ROM_REGION( 667700, "svg", 0) - ROM_LOAD( "tbttf.svg", 0, 667700, CRC(d1d19ec5) SHA1(7361943ccf1f4072bba6fd4e6acae3e2f3d7a0ea) ) -ROM_END - - -ROM_START( taddams ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mc2", 0x0000, 0x1000, CRC(af33d432) SHA1(676ada238c389d1dd02dcb29731d69624f60b342) ) - - ROM_REGION( 554649, "svg", 0) - ROM_LOAD( "taddams.svg", 0, 554649, CRC(0b916c6d) SHA1(5a2456b4a0f31db94a78373baab46f3ff9732b92) ) -ROM_END - - -ROM_START( thalone ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mc7", 0x0000, 0x1000, CRC(eceda335) SHA1(20c9ffcf914db61aba03716fe146bac42873ac82) ) - - ROM_REGION( 494235, "svg", 0) - ROM_LOAD( "thalone.svg", 0, 494235, CRC(0e32df1d) SHA1(1fff1d37a5fe66d4f59d12af3ce67665c0049800) ) -ROM_END - - -ROM_START( txmenpx ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "md3", 0x0000, 0x1000, CRC(11c2b09a) SHA1(f94b1e3e60f002398b39c98946469dd1a6aa8e77) ) - - ROM_REGION( 572538, "svg", 0) - ROM_LOAD( "txmenpx.svg", 0, 572538, CRC(9a89c753) SHA1(e3828a8c10c77ee5634128d0e9239e8cda19f988) ) -ROM_END - - -ROM_START( thalone2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "md7", 0x0000, 0x1000, CRC(ac8a21e9) SHA1(9024f74e34056f90b7dbf439300797183f74eb00) ) - - ROM_REGION( 748886, "svg", 0) - ROM_LOAD( "thalone2.svg", 0, 748886, CRC(a5d8898e) SHA1(de8fae0169a3797a46b5c81d9b556df636a5674e) ) -ROM_END - - -ROM_START( tsonic ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "n71.program", 0x0000, 0x1000, CRC(44cafd68) SHA1(bf8d0ab88d153fabc688ffec19959209ca79c3db) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "n71.melody", 0x000, 0x100, CRC(bae258c8) SHA1(81cb75d73fab4479cd92fcb13d9cb03cec2afdd5) ) - - ROM_REGION( 541450, "svg", 0) - ROM_LOAD( "tsonic.svg", 0, 541450, CRC(f01835e3) SHA1(25f924af55ffadd2aebf50a89f75571d788d5ac1) ) -ROM_END - - -ROM_START( trobocop3 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mc6", 0x0000, 0x1000, CRC(07b44e4c) SHA1(3165c85e16c062d2d9d0c0f1b1f6bd6079b4de15) ) - - ROM_REGION( 612103, "svg", 0) - ROM_LOAD( "trobocop3.svg", 0, 612103, CRC(9a162642) SHA1(b775f64e4616c4fc8d2c139938f148c9666e646a) ) -ROM_END - - -ROM_START( tdummies ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "me0", 0x0000, 0x1000, CRC(29efae4a) SHA1(0b26913a3fd2fde2b39549f0f7cbc3daaa41eb50) ) - - ROM_REGION( 525493, "svg", 0) - ROM_LOAD( "tdummies.svg", 0, 525493, CRC(a18a5216) SHA1(1238e8c489445e715d4fc53e597820845b386233) ) -ROM_END - - -ROM_START( tsfight2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "me1", 0x0000, 0x1000, CRC(73384e94) SHA1(350417d101ce034b3974b4a1d2e04bcb3bf70605) ) - - ROM_REGION( 630403, "svg", 0) - ROM_LOAD( "tsfight2.svg", 0, 630403, CRC(eadc2c81) SHA1(20b2a797f6b9a008c1994eaee7b87e3fe828e837) ) -ROM_END - - -ROM_START( twworld ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "me7", 0x0000, 0x1000, CRC(dcb16d98) SHA1(539989e12bbc4a719818546c5edcfda02b98210e) ) - - ROM_REGION( 527859, "svg", 0) - ROM_LOAD( "twworld.svg", 0, 527859, CRC(0a2cffce) SHA1(d8c3f2fef60357e47ce0b44d588d0bb39112c8b9) ) -ROM_END - - -ROM_START( tjpark ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mf4", 0x0000, 0x1000, CRC(f66faf73) SHA1(4cfa743dcd6e44a3c1f56206d5824fddba16df01) ) - - ROM_REGION( 812575, "svg", 0) - ROM_LOAD( "tjpark.svg", 0, 812575, CRC(539c9b9c) SHA1(bf9a95586438df677d753deb17abc97f8837cbe3) ) -ROM_END - - -ROM_START( tsonic2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "n86.program", 0x0000, 0x1000, CRC(782874c5) SHA1(b7eb1f56cbc781ba0b90f6b4b5b51944120733cc) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "n86.melody", 0x000, 0x100, CRC(c16fa2b2) SHA1(222772d311fd3b3b05d80cfd539c2c862bed0be5) ) - - ROM_REGION( 667887, "svg", 0) - ROM_LOAD( "tsonic2.svg", 0, 667887, CRC(ef82d40e) SHA1(f22efba565adb32634d8b46c31459ec833b13d98) ) -ROM_END - - -ROM_START( tdennis ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mf9", 0x0000, 0x1000, CRC(d95f54d5) SHA1(1b3a170f32deec98e54ad09c04b404f5ae03dcea) ) - - ROM_REGION( 754842, "svg", 0) - ROM_LOAD( "tdennis.svg", 0, 754842, CRC(3b1ed476) SHA1(adc94919daa9a6c42f1acd8ef5113b61859338b7) ) -ROM_END - - -ROM_START( tsddragon ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mf5", 0x0000, 0x1000, CRC(264c8e82) SHA1(470eb2f09a58ef05eb0b7c8e11380ad1d8ce4e1a) ) - - ROM_REGION( 753533, "svg", 0) - ROM_LOAD( "tsddragon.svg", 0, 753533, CRC(fb526049) SHA1(552fe005a6e23e083867b7d1c10d20daa8913a14) ) -ROM_END - - -ROM_START( tnmarebc ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mg0", 0x0000, 0x1000, CRC(5ef21421) SHA1(8fd458575111b89d7c33c969e76703bde5ad2c36) ) - - ROM_REGION( 631310, "svg", 0) - ROM_LOAD( "tnmarebc.svg", 0, 631310, CRC(f9c96205) SHA1(1947d358efd94ae3257ed959172a819798d2c9a1) ) -ROM_END - - -ROM_START( ttransf2 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mg2", 0x0000, 0x1000, CRC(65c0f456) SHA1(b1bc3887c5088b3fe359585658e5c5236c09af9e) ) - - ROM_REGION( 727662, "svg", 0) - ROM_LOAD( "ttransf2.svg", 0, 727662, CRC(52fd5ea1) SHA1(35ae9fe2cea14ee4c591df0458fed478c9feb044) ) -ROM_END - - -ROM_START( topaliens ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mj1", 0x0000, 0x1000, CRC(ccc196cf) SHA1(f18f7cf842cddecf90d05ab0f90257bb76514f54) ) - - ROM_REGION( 1214876, "svg", 0) - ROM_LOAD( "topaliens.svg", 0, 1214876, CRC(683c70aa) SHA1(0fac5ba8ab5f9b73a3cbbff046be60550fa5f98a) ) -ROM_END - - -ROM_START( tmkombat ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mg6", 0x0000, 0x1000, CRC(f6375dc7) SHA1(a711199c2623979f19c11067ebfff9355256c2c3) ) - - ROM_REGION( 841829, "svg", 0) - ROM_LOAD( "tmkombat.svg", 0, 841829, CRC(9dc4f58c) SHA1(9c9b080d7f3b777407445c22195990c55c6352ca) ) -ROM_END - - -ROM_START( tshadow ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mj5", 0x0000, 0x1000, CRC(09822d73) SHA1(30cae8b783a4f388193aee248fa18c6c1042e0ec) ) - - ROM_REGION( 946450, "svg", 0) - ROM_LOAD( "tshadow.svg", 0, 946450, CRC(5cab680a) SHA1(8f8f660c08fc56287362b11c183655047fbd91ca) ) -ROM_END - - -ROM_START( tskelwarr ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mk0", 0x0000, 0x1000, CRC(dc7827a1) SHA1(74ff143605684df0c70db604a5f22dbf512044d7) ) - - ROM_REGION( 1125002, "svg", 0) - ROM_LOAD( "tskelwarr.svg", 0, 1125002, CRC(49c6ca24) SHA1(71f4ed98ab558deeb86820b7fbf7534a7b7d6b01) ) -ROM_END - - -ROM_START( tbatfor ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mk3", 0x0000, 0x1000, CRC(9993c382) SHA1(0c89e21024315ce7c086af5390c60f5766028c4f) ) - - ROM_REGION( 902364, "svg", 0) - ROM_LOAD( "tbatfor.svg", 0, 902364, CRC(56889c05) SHA1(dda393ca99196de38ad2e989ec6c292adc36ec5e) ) -ROM_END - - -ROM_START( tjdredd ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mk5", 0x0000, 0x1000, CRC(7beee5a7) SHA1(9a190197c5751b43a9ab2dc8c536934dc5fc5e83) ) - - ROM_REGION( 1051586, "svg", 0) - ROM_LOAD( "tjdredd.svg", 0, 1051586, CRC(4fcdca0a) SHA1(d4b019fec94890ba6600baf2b2096dbcf3295180) ) -ROM_END - - -ROM_START( tapollo13 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "10_07", 0x0000, 0x1000, CRC(63d0deaa) SHA1(d5de99d5e0ee08ec2ebeef7189ebac1c008d2e7d) ) - - ROM_REGION( 643176, "svg", 0) - ROM_LOAD( "tapollo13.svg", 0, 643176, CRC(e2dac162) SHA1(4089fa485579d2b87ac49b1cf33d6c2c085ea4c5) ) -ROM_END - - -ROM_START( tgoldeye ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "10_06", 0x0000, 0x1000, CRC(fe053efb) SHA1(3c90c0fa43e6e5e1f76b306e402f902d19175c96) ) - - ROM_REGION( 938916, "svg", 0) - ROM_LOAD( "tgoldeye.svg", 0, 938916, CRC(6dddf962) SHA1(1ced43b4225b86eca415f9af7db5fb5e80040186) ) -ROM_END - - -ROM_START( tsjam ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "10_23", 0x0000, 0x1000, CRC(6eaabfbd) SHA1(f0ecbd6f65fe72ce2d8a452685be2e77a63fc9f0) ) - - ROM_REGION( 1046147, "svg", 0) - ROM_LOAD( "tsjam.svg", 0, 1046147, CRC(6d24e1c9) SHA1(ddbfbd85f70ec964c68f982a8ee8070e3786a85e) ) -ROM_END - - -ROM_START( tinday ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "10_16", 0x0000, 0x1000, CRC(77c2c2f7) SHA1(06326b26d0f6757180724ba0bdeb4110cc7e29d6) ) - - ROM_REGION( 1162672, "svg", 0) - ROM_LOAD( "tinday.svg", 0, 1162672, CRC(9b9a8047) SHA1(2aeaa71a54cf897d2a5d91133c733613ca229aae) ) -ROM_END - - -ROM_START( tbatmana ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "n81.program", 0x0000, 0x1000, CRC(efb3f122) SHA1(d55c2fb92fb9bd41d6001f42143691b84f3f389a) ) - - ROM_REGION( 0x100, "maincpu:melody", 0 ) - ROM_LOAD( "n81.melody", 0x000, 0x100, CRC(56ba8fe5) SHA1(5c286ae1bfc943bbe8c8f4cdc9c8b73d9b3c186e) ) - - ROM_REGION( 618831, "svg", 0) - ROM_LOAD( "tbatmana.svg", 0, 618831, CRC(fc38cb9d) SHA1(1b6c10dcd33bfcfef43d61f97fa8e530011c1e61) ) -ROM_END - - -ROM_START( tigarden ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "0019_238e", 0x0000, 0x1000, CRC(8bd0eadd) SHA1(7bb5eb30d569901dce52d777bc01c0979e4afa06) ) - - ROM_REGION( 409084, "svg", 0) - ROM_LOAD( "tigarden.svg", 0, 409084, CRC(cfda5138) SHA1(1bc4ed65ae0cdca3e1e9458d68ca4d6e0fc0e901) ) -ROM_END - +// roms ROM_START( nummunch ) ROM_REGION( 0x1000, "maincpu", 0 ) @@ -8418,6 +8398,14 @@ ROM_END +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + // YEAR NAME PARENT COMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS // Konami CONS( 1989, kdribble, 0, 0, kdribble, kdribble, kdribble_state, empty_init, "Konami", "Double Dribble (handheld)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index 1d1c252442f..d048b615392 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -416,10 +416,12 @@ void hh_tms1k_state::power_off() /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** A-One LSI Match Number @@ -440,8 +442,8 @@ void hh_tms1k_state::power_off() class matchnum_state : public hh_tms1k_state { public: - matchnum_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + matchnum_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -547,6 +549,18 @@ void matchnum_state::matchnum(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( matchnum ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0163", 0x0000, 0x0400, CRC(37507600) SHA1(b1d4d8ea563e97ef378b42c44cb3ea4eb6abe0d2) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_matchnum_output.pla", 0, 365, CRC(da29670c) SHA1(bcec28bf25dc8c81d08851ad8a3f4e89f413017a) ) +ROM_END + @@ -569,8 +583,8 @@ void matchnum_state::matchnum(machine_config &config) class arrball_state : public hh_tms1k_state { public: - arrball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + arrball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -647,6 +661,18 @@ void arrball_state::arrball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( arrball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0166", 0x0000, 0x0400, CRC(a78694db) SHA1(362aa6e356288e8df7da610246bd01fe72985d57) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_arrball_output.pla", 0, 365, CRC(ffc206fb) SHA1(339be3f066fb2f075211c554e81260b49cd83d15) ) +ROM_END + @@ -677,8 +703,8 @@ void arrball_state::arrball(machine_config &config) class mathmagi_state : public hh_tms1k_state { public: - mathmagi_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + mathmagi_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -824,6 +850,18 @@ void mathmagi_state::mathmagi(machine_config &config) /* no sound! */ } +// roms + +ROM_START( mathmagi ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1030", 0x0000, 0x0800, CRC(a81d7ccb) SHA1(4756ce42f1ea28ce5fe6498312f8306f10370969) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_mathmagi_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -849,8 +887,8 @@ void mathmagi_state::mathmagi(machine_config &config) class bcheetah_state : public hh_tms1k_state { public: - bcheetah_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + bcheetah_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -928,6 +966,18 @@ void bcheetah_state::bcheetah(machine_config &config) /* no sound! */ } +// roms + +ROM_START( bcheetah ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0915", 0x0000, 0x0400, CRC(2968c81e) SHA1(d1e6691952600e88ccf626cb3d683419a1e8468c) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_bcheetah_output.pla", 0, 365, CRC(cc6d1ecd) SHA1(b0635a841d8850c36c1f414abe0571b81884b972) ) +ROM_END + @@ -947,8 +997,8 @@ void bcheetah_state::bcheetah(machine_config &config) class amaztron_state : public hh_tms1k_state { public: - amaztron_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + amaztron_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -1059,6 +1109,18 @@ void amaztron_state::amaztron(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( amaztron ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3405", 0x0000, 0x0800, CRC(9cbc0009) SHA1(17772681271b59280687492f37fa0859998f041d) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_amaztron_output.pla", 0, 365, CRC(f3875384) SHA1(3c256a3db4f0aa9d93cf78124db39f4cbdc57e4a) ) +ROM_END + @@ -1077,8 +1139,8 @@ void amaztron_state::amaztron(machine_config &config) class zodiac_state : public hh_tms1k_state { public: - zodiac_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + zodiac_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -1237,6 +1299,18 @@ void zodiac_state::zodiac(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( zodiac ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3435", 0x0000, 0x0800, CRC(ecdc3160) SHA1(a7e82d66314a039fcffeddf99919d9f9ad42d61d) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, BAD_DUMP CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_zodiac_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -1256,8 +1330,8 @@ void zodiac_state::zodiac(machine_config &config) class cqback_state : public hh_tms1k_state { public: - cqback_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + cqback_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -1352,6 +1426,18 @@ void cqback_state::cqback(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cqback ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3415.u4", 0x0000, 0x0800, CRC(65ebdabf) SHA1(9b5cf5adaf9132ced87f611ae8c3148b9b62ba89) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_cqback_output.pla", 0, 365, CRC(c6dcbfd0) SHA1(593b6b7de981a28d1b4a33336b39df92d02ed4f4) ) +ROM_END + @@ -1374,8 +1460,8 @@ void cqback_state::cqback(machine_config &config) class h2hfootb_state : public hh_tms1k_state { public: - h2hfootb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + h2hfootb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -1470,6 +1556,18 @@ void h2hfootb_state::h2hfootb(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( h2hfootb ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3460.u3", 0x0000, 0x0800, CRC(3a4e53a8) SHA1(5052e706f992c6c4bada1fa7769589eec3df6471) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_h2hfootb_output.pla", 0, 365, CRC(c8d85873) SHA1(16bd6fc8e3cd16d5f8fd32d0c74e67de77f5487e) ) +ROM_END + @@ -1491,8 +1589,8 @@ void h2hfootb_state::h2hfootb(machine_config &config) class h2hbaskb_state : public hh_tms1k_state { public: - h2hbaskb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + h2hbaskb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_cap_empty_timer(*this, "cap_empty") { } @@ -1512,6 +1610,18 @@ protected: virtual void machine_start() override; }; +void h2hbaskb_state::machine_start() +{ + hh_tms1k_state::machine_start(); + + // zerofill/register for savestates + m_cap_state = false; + m_cap_charge = attotime::zero; + + save_item(NAME(m_cap_state)); + save_item(NAME(m_cap_charge)); +} + // handlers TIMER_DEVICE_CALLBACK_MEMBER(h2hbaskb_state::cap_empty_callback) @@ -1613,18 +1723,6 @@ static INPUT_PORTS_START( h2hhockey ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Goalie Left") INPUT_PORTS_END -void h2hbaskb_state::machine_start() -{ - hh_tms1k_state::machine_start(); - - // zerofill/register for savestates - m_cap_state = false; - m_cap_charge = attotime::zero; - - save_item(NAME(m_cap_state)); - save_item(NAME(m_cap_charge)); -} - void h2hbaskb_state::h2hbaskb(machine_config &config) { /* basic machine hardware */ @@ -1650,6 +1748,28 @@ void h2hbaskb_state::h2hhockey(machine_config &config) config.set_default_layout(layout_h2hhockey); } +// roms + +ROM_START( h2hbaskb ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp3320a", 0x0000, 0x0400, CRC(39a63f43) SHA1(14a765e42a39f8d3a465c990e09dd651e595a1c5) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_h2hbaskb_output.pla", 0, 365, CRC(9d1a91e1) SHA1(96303eb22375129b0dfbfcd823c8ca5b919511bc) ) +ROM_END + +ROM_START( h2hhockey ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp3321a", 0x0000, 0x0400, CRC(e974e604) SHA1(ed740c98ce96ad70ee5237eccae1f54a75ad8100) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_h2hhockey_output.pla", 0, 365, CRC(9d1a91e1) SHA1(96303eb22375129b0dfbfcd823c8ca5b919511bc) ) +ROM_END + @@ -1670,8 +1790,8 @@ void h2hbaskb_state::h2hhockey(machine_config &config) class h2hbaseb_state : public hh_tms1k_state { public: - h2hbaseb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + h2hbaseb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -1680,15 +1800,28 @@ public: DECLARE_READ8_MEMBER(read_k); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch) { set_clock(); } void h2hbaseb(machine_config &config); protected: virtual void machine_reset() override; }; +void h2hbaseb_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + // handlers +void h2hbaseb_state::set_clock() +{ + // MCU clock is from an RC circuit with C=47pF, and R value is depending on + // skill switch: R=51K(1) or 43K(2) + m_maincpu->set_unscaled_clock((m_inp_matrix[5]->read() & 1) ? 400000 : 350000); +} + void h2hbaseb_state::prepare_display() { set_display_segmask(0x1ff, 0x7f); @@ -1754,24 +1887,6 @@ static INPUT_PORTS_START( h2hbaseb ) PORT_CONFSETTING( 0x01, "2" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(h2hbaseb_state::skill_switch) -{ - set_clock(); -} - -void h2hbaseb_state::set_clock() -{ - // MCU clock is from an RC circuit with C=47pF, and R value is depending on - // skill switch: R=51K(1) or 43K(2) - m_maincpu->set_unscaled_clock((m_inp_matrix[5]->read() & 1) ? 400000 : 350000); -} - -void h2hbaseb_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); -} - void h2hbaseb_state::h2hbaseb(machine_config &config) { /* basic machine hardware */ @@ -1789,6 +1904,18 @@ void h2hbaseb_state::h2hbaseb(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( h2hbaseb ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1525", 0x0000, 0x0800, CRC(b5d6bf9b) SHA1(2cc9f35f077c1209c46d16ec853af87e4725c2fd) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_h2hbaseb_output.pla", 0, 365, CRC(cb3d7e38) SHA1(6ab4a7c52e6010b7c7158463cb499973e52ff556) ) +ROM_END + @@ -1806,8 +1933,8 @@ void h2hbaseb_state::h2hbaseb(machine_config &config) class h2hboxing_state : public hh_tms1k_state { public: - h2hboxing_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + h2hboxing_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -1901,6 +2028,18 @@ void h2hboxing_state::h2hboxing(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( h2hboxing ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "m34018", 0x0000, 0x0800, CRC(e26a11a3) SHA1(aa2735088d709fa8d9188c4fb7982a53e3a8c1bc) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_h2hboxing_output.pla", 0, 365, CRC(ffb0e63d) SHA1(31ee3f779270a23f05f9ad508283d2569ef069f1) ) +ROM_END + @@ -1933,8 +2072,8 @@ void h2hboxing_state::h2hboxing(machine_config &config) class quizwizc_state : public hh_tms1k_state { public: - quizwizc_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + quizwizc_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_pinout(0) { } @@ -1951,6 +2090,14 @@ protected: virtual void machine_start() override; }; +void quizwizc_state::machine_start() +{ + hh_tms1k_state::machine_start(); + + // register for savestates + save_item(NAME(m_pinout)); +} + // handlers DEVICE_IMAGE_LOAD_MEMBER(quizwizc_state, cartridge) @@ -2047,14 +2194,6 @@ static INPUT_PORTS_START( quizwizc ) PORT_BIT( 0x0d, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -void quizwizc_state::machine_start() -{ - hh_tms1k_state::machine_start(); - - // register for savestates - save_item(NAME(m_pinout)); -} - void quizwizc_state::quizwizc(machine_config &config) { /* basic machine hardware */ @@ -2078,6 +2217,18 @@ void quizwizc_state::quizwizc(machine_config &config) SOFTWARE_LIST(config, "cart_list").set_original("quizwiz"); } +// roms + +ROM_START( quizwizc ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "m32001", 0x0000, 0x0400, CRC(053657eb) SHA1(38c84f7416f79aa679f434a3d35df54cd9aa528a) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common3_micro.pla", 0, 867, CRC(80912d0a) SHA1(7ae5293ed4d93f5b7a64d43fe30c3639f39fbe5a) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_quizwizc_output.pla", 0, 365, CRC(475b7053) SHA1(8f61bf736eb41d7029a6b165cc0a184ba0a70a2a) ) +ROM_END + @@ -2110,8 +2261,8 @@ void quizwizc_state::quizwizc(machine_config &config) class tc4_state : public hh_tms1k_state { public: - tc4_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + tc4_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_pinout(0) { } @@ -2128,6 +2279,14 @@ protected: virtual void machine_start() override; }; +void tc4_state::machine_start() +{ + hh_tms1k_state::machine_start(); + + // register for savestates + save_item(NAME(m_pinout)); +} + // handlers DEVICE_IMAGE_LOAD_MEMBER(tc4_state, cartridge) @@ -2223,14 +2382,6 @@ static INPUT_PORTS_START( tc4 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(2) PORT_NAME("P2 D/K Button") INPUT_PORTS_END -void tc4_state::machine_start() -{ - hh_tms1k_state::machine_start(); - - // register for savestates - save_item(NAME(m_pinout)); -} - void tc4_state::tc4(machine_config &config) { /* basic machine hardware */ @@ -2255,6 +2406,18 @@ void tc4_state::tc4(machine_config &config) SOFTWARE_LIST(config, "cart_list").set_original("tc4"); } +// roms + +ROM_START( tc4 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp7334", 0x0000, 0x1000, CRC(923f3821) SHA1(a9ae342d7ff8dae1dedcd1e4984bcfae68586581) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_tc4_output.pla", 0, 557, CRC(3b908725) SHA1(f83bf5faa5b3cb51f87adc1639b00d6f9a71ad19) ) +ROM_END + @@ -2278,8 +2441,8 @@ void tc4_state::tc4(machine_config &config) class cnbaskb_state : public hh_tms1k_state { public: - cnbaskb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + cnbaskb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -2364,6 +2527,18 @@ void cnbaskb_state::cnbaskb(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cnbaskb ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0907", 0x0000, 0x0400, CRC(35f84f0f) SHA1(744ca60bb853a2785184042e747530a9e02488f8) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_cnbaskb_output.pla", 0, 365, CRC(b4e28956) SHA1(8356112da71b351420a88d7e394e7d03e429368c) ) +ROM_END + @@ -2389,8 +2564,8 @@ void cnbaskb_state::cnbaskb(machine_config &config) class cmsport_state : public hh_tms1k_state { public: - cmsport_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + cmsport_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -2477,6 +2652,18 @@ void cmsport_state::cmsport(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cmsport ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0168.u1", 0x0000, 0x0400, CRC(0712a268) SHA1(bd4e23e5c17b28c52e7e769e44773cc9c8839bed) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_cmsport_output.pla", 0, 365, CRC(7defa140) SHA1(477e3cb55e79938d6acaa911e410f6dcb974c218) ) +ROM_END + @@ -2504,8 +2691,8 @@ void cmsport_state::cmsport(machine_config &config) class cnfball_state : public hh_tms1k_state { public: - cnfball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + cnfball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -2604,6 +2791,18 @@ void cnfball_state::cnfball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cnfball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0170", 0x0000, 0x0400, CRC(50e8a44f) SHA1(fea6ae03c4ef329d825f8688e6854df15023d47e) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_cnfball_output.pla", 0, 365, CRC(0af52f64) SHA1(b4cf450e4d895eddb67448aa69e4f18a5a84e033) ) +ROM_END + @@ -2625,8 +2824,8 @@ void cnfball_state::cnfball(machine_config &config) class cnfball2_state : public hh_tms1k_state { public: - cnfball2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + cnfball2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -2730,6 +2929,18 @@ void cnfball2_state::cnfball2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( cnfball2 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1181", 0x0000, 0x0800, CRC(4553a840) SHA1(2e1132c9bc51641f77ba7f2430b5a3b2766b3a3d) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_cnfball2_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -2753,8 +2964,8 @@ void cnfball2_state::cnfball2(machine_config &config) class eleciq_state : public hh_tms1k_state { public: - eleciq_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + eleciq_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -2871,6 +3082,18 @@ void eleciq_state::eleciq(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( eleciq ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0908", 0x0000, 0x0400, CRC(db59b82c) SHA1(c9a6bcba208969560495ad9f8775f53de16a69c3) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_eleciq_output.pla", 0, 365, CRC(b8e04232) SHA1(22eed6d9b1fb1e5c9974ea3df16cda71a39aad57) ) +ROM_END + @@ -2890,8 +3113,8 @@ void eleciq_state::eleciq(machine_config &config) class esoccer_state : public hh_tms1k_state { public: - esoccer_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + esoccer_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -2976,6 +3199,18 @@ void esoccer_state::esoccer(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( esoccer ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0158.ic1", 0x0000, 0x0400, CRC(ae4581ea) SHA1(5f6881f8247094abf8cffb17f6e6586e94cff38c) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_esoccer_output.pla", 0, 365, CRC(c6eeabbd) SHA1(99d07902126b5a1c1abf43340f30d3390da5fa92) ) +ROM_END + @@ -3014,8 +3249,8 @@ void esoccer_state::esoccer(machine_config &config) class ebball_state : public hh_tms1k_state { public: - ebball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ebball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3110,6 +3345,18 @@ void ebball_state::ebball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ebball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0914", 0x0000, 0x0400, CRC(3c6fb05b) SHA1(b2fe4b3ca72d6b4c9bfa84d67f64afdc215e7178) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_ebball_output.pla", 0, 365, CRC(062bf5bb) SHA1(8d73ee35444299595961225528b153e3a5fe66bf) ) +ROM_END + @@ -3144,8 +3391,8 @@ void ebball_state::ebball(machine_config &config) class ebball2_state : public hh_tms1k_state { public: - ebball2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ebball2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3233,6 +3480,18 @@ void ebball2_state::ebball2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ebball2 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0923", 0x0000, 0x0400, CRC(077acfe2) SHA1(a294ce7614b2cdb01c754a7a50d60d807e3f0939) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_ebball2_output.pla", 0, 365, CRC(adcd73d1) SHA1(d69e590d288ef99293d86716498f3971528e30de) ) +ROM_END + @@ -3272,8 +3531,8 @@ void ebball2_state::ebball2(machine_config &config) class ebball3_state : public hh_tms1k_state { public: - ebball3_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ebball3_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3282,15 +3541,29 @@ public: DECLARE_READ8_MEMBER(read_k); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch) { set_clock(); } void ebball3(machine_config &config); protected: virtual void machine_reset() override; }; +void ebball3_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + // handlers +void ebball3_state::set_clock() +{ + // MCU clock is from an RC circuit(R=47K, C=33pF) oscillating by default at ~340kHz, + // but on PRO, the difficulty switch adds an extra 150K resistor to Vdd to speed + // it up to around ~440kHz. + m_maincpu->set_unscaled_clock((m_inp_matrix[3]->read() & 1) ? 440000 : 340000); +} + void ebball3_state::prepare_display() { // update current state @@ -3377,25 +3650,6 @@ static INPUT_PORTS_START( ebball3 ) PORT_CONFSETTING( 0x01, "Professional" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(ebball3_state::skill_switch) -{ - set_clock(); -} - -void ebball3_state::set_clock() -{ - // MCU clock is from an RC circuit(R=47K, C=33pF) oscillating by default at ~340kHz, - // but on PRO, the difficulty switch adds an extra 150K resistor to Vdd to speed - // it up to around ~440kHz. - m_maincpu->set_unscaled_clock((m_inp_matrix[3]->read() & 1) ? 440000 : 340000); -} - -void ebball3_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); -} - void ebball3_state::ebball3(machine_config &config) { /* basic machine hardware */ @@ -3413,6 +3667,18 @@ void ebball3_state::ebball3(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ebball3 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "6007_mp1204", 0x0000, 0x0800, CRC(987a29ba) SHA1(9481ae244152187d85349d1a08e439e798182938) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_ebball3_output.pla", 0, 365, CRC(00db663b) SHA1(6eae12503364cfb1f863df0e57970d3e766ec165) ) +ROM_END + @@ -3443,8 +3709,8 @@ void ebball3_state::ebball3(machine_config &config) class esbattle_state : public hh_tms1k_state { public: - esbattle_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + esbattle_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3524,6 +3790,18 @@ void esbattle_state::esbattle(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( esbattle ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "en-6004_mp0920", 0x0000, 0x0400, CRC(7460c179) SHA1(be855054b4a98b05b34fd931d5c247c5c0f9b036) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_esbattle_output.pla", 0, 365, CRC(861b45a2) SHA1(a5a9dc9bef8adb761845ad548058b55e970517d3) ) +ROM_END + @@ -3543,8 +3821,8 @@ void esbattle_state::esbattle(machine_config &config) class einvader_state : public hh_tms1k_state { public: - einvader_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + einvader_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3552,15 +3830,29 @@ public: DECLARE_WRITE16_MEMBER(write_o); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch) { set_clock(); } void einvader(machine_config &config); protected: virtual void machine_reset() override; }; +void einvader_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + // handlers +void einvader_state::set_clock() +{ + // MCU clock is from an RC circuit(R=47K, C=56pF) oscillating by default at ~320kHz, + // but on PRO, the difficulty switch adds an extra 180K resistor to Vdd to speed + // it up to around ~400kHz. + m_maincpu->set_unscaled_clock((m_inp_matrix[0]->read() & 8) ? 400000 : 320000); +} + void einvader_state::prepare_display() { // R7-R9 are 7segs @@ -3597,25 +3889,6 @@ static INPUT_PORTS_START( einvader ) PORT_CONFSETTING( 0x08, "Professional" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(einvader_state::skill_switch) -{ - set_clock(); -} - -void einvader_state::set_clock() -{ - // MCU clock is from an RC circuit(R=47K, C=56pF) oscillating by default at ~320kHz, - // but on PRO, the difficulty switch adds an extra 180K resistor to Vdd to speed - // it up to around ~400kHz. - m_maincpu->set_unscaled_clock((m_inp_matrix[0]->read() & 8) ? 400000 : 320000); -} - -void einvader_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); -} - void einvader_state::einvader(machine_config &config) { /* basic machine hardware */ @@ -3639,6 +3912,21 @@ void einvader_state::einvader(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( einvader ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1211", 0x0000, 0x0800, CRC(b6efbe8e) SHA1(d7d54921dab22bb0c2956c896a5d5b56b6f64969) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_einvader_output.pla", 0, 365, CRC(490158e1) SHA1(61cace1eb09244663de98d8fb04d9459b19668fd) ) + + ROM_REGION( 44398, "svg", 0) + ROM_LOAD( "einvader.svg", 0, 44398, CRC(48de88fd) SHA1(56a2b9c997a447277b45902ab542eda54e7d5a2f) ) +ROM_END + @@ -3654,8 +3942,8 @@ void einvader_state::einvader(machine_config &config) class efootb4_state : public hh_tms1k_state { public: - efootb4_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + efootb4_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3754,6 +4042,18 @@ void efootb4_state::efootb4(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( efootb4 ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "6009_mp7551", 0x0000, 0x1000, CRC(54fa7244) SHA1(4d16bd825c4a2db76ca8a263c373ade15c20e270) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_efootb4_output.pla", 0, 557, CRC(5c87c753) SHA1(bde9d4aa1e57a718affd969475c0a1edcf60f444) ) +ROM_END + @@ -3781,8 +4081,8 @@ void efootb4_state::efootb4(machine_config &config) class ebaskb2_state : public hh_tms1k_state { public: - ebaskb2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ebaskb2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3875,6 +4175,18 @@ void ebaskb2_state::ebaskb2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ebaskb2 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "6010_mp1218", 0x0000, 0x0800, CRC(0089ede8) SHA1(c8a79d5aca7e37b637a4d152150acba9f41aad96) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_ebaskb2_output.pla", 0, 365, CRC(c18103ae) SHA1(5a9bb8e1d95a9f6919b05ff9471fa0a8014b8b81) ) +ROM_END + @@ -3905,8 +4217,8 @@ void ebaskb2_state::ebaskb2(machine_config &config) class raisedvl_state : public hh_tms1k_state { public: - raisedvl_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + raisedvl_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -3915,15 +4227,32 @@ public: DECLARE_READ8_MEMBER(read_k); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch) { set_clock(); } void raisedvl(machine_config &config); protected: virtual void machine_reset() override; }; +void raisedvl_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + // handlers +void raisedvl_state::set_clock() +{ + // MCU clock is from an RC circuit with C=47pF, R=47K by default. Skills + // 2 and 3 add a 150K resistor in parallel, and skill 4 adds a 100K one. + // 0: R=47K -> ~350kHz + // 2,3: R=35K8 -> ~425kHz (combined) + // 4: R=32K -> ~465kHz (combined) + u8 inp = m_inp_matrix[1]->read(); + m_maincpu->set_unscaled_clock((inp & 0x20) ? 465000 : ((inp & 0x10) ? 425000 : 350000)); +} + void raisedvl_state::prepare_display() { // R0-R2 are 7segs @@ -3975,28 +4304,6 @@ static INPUT_PORTS_START( raisedvl ) PORT_CONFSETTING( 0x21, "4" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(raisedvl_state::skill_switch) -{ - set_clock(); -} - -void raisedvl_state::set_clock() -{ - // MCU clock is from an RC circuit with C=47pF, R=47K by default. Skills - // 2 and 3 add a 150K resistor in parallel, and skill 4 adds a 100K one. - // 0: R=47K -> ~350kHz - // 2,3: R=35K8 -> ~425kHz (combined) - // 4: R=32K -> ~465kHz (combined) - u8 inp = m_inp_matrix[1]->read(); - m_maincpu->set_unscaled_clock((inp & 0x20) ? 465000 : ((inp & 0x10) ? 425000 : 350000)); -} - -void raisedvl_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); -} - void raisedvl_state::raisedvl(machine_config &config) { /* basic machine hardware */ @@ -4014,6 +4321,18 @@ void raisedvl_state::raisedvl(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( raisedvl ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1221", 0x0000, 0x0800, CRC(782791cc) SHA1(214249406fcaf44efc6350022bd534e59ec69c88) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_raisedvl_output.pla", 0, 365, CRC(00db663b) SHA1(6eae12503364cfb1f863df0e57970d3e766ec165) ) +ROM_END + @@ -4047,8 +4366,8 @@ void raisedvl_state::raisedvl(machine_config &config) class f2pbball_state : public hh_tms1k_state { public: - f2pbball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + f2pbball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -4145,6 +4464,18 @@ void f2pbball_state::f2pbball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( f2pbball ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0154", 0x0000, 0x0400, CRC(c5b45ace) SHA1(b2de32e83ab447b22d6828f0081843f364040b01) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_f2pbball_output.pla", 0, 365, CRC(30c2f28f) SHA1(db969b22475f37f083c3594f5e4f5759048377b8) ) +ROM_END + @@ -4164,8 +4495,8 @@ void f2pbball_state::f2pbball(machine_config &config) class f3in1_state : public hh_tms1k_state { public: - f3in1_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + f3in1_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -4174,15 +4505,27 @@ public: DECLARE_READ8_MEMBER(read_k); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch) { set_clock(); } void f3in1(machine_config &config); protected: virtual void machine_reset() override; }; +void f3in1_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + // handlers +void f3in1_state::set_clock() +{ + // MCU clock is from an RC circuit where C=47pF, R=39K(PROF) or 56K(REG) + m_maincpu->set_unscaled_clock((m_inp_matrix[4]->read() & 1) ? 400000 : 300000); +} + void f3in1_state::prepare_display() { // R6-R9 are 7segs @@ -4248,23 +4591,6 @@ static INPUT_PORTS_START( f3in1 ) PORT_CONFSETTING( 0x01, "Professional" ) // PROF INPUT_PORTS_END -INPUT_CHANGED_MEMBER(f3in1_state::skill_switch) -{ - set_clock(); -} - -void f3in1_state::set_clock() -{ - // MCU clock is from an RC circuit where C=47pF, R=39K(PROF) or 56K(REG) - m_maincpu->set_unscaled_clock((m_inp_matrix[4]->read() & 1) ? 400000 : 300000); -} - -void f3in1_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); -} - void f3in1_state::f3in1(machine_config &config) { /* basic machine hardware */ @@ -4282,6 +4608,18 @@ void f3in1_state::f3in1(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( f3in1 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1185", 0x0000, 0x0800, CRC(53f7b28d) SHA1(2249890e3a259095193b4331ca88c29ccd81eefe) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_f3in1_output.pla", 0, 365, CRC(51d947bc) SHA1(f766397d84f038be96e83d40989195c98ddcb1d9) ) +ROM_END + @@ -4302,8 +4640,8 @@ void f3in1_state::f3in1(machine_config &config) class gpoker_state : public hh_tms1k_state { public: - gpoker_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + gpoker_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_beeper(*this, "beeper") { } @@ -4319,6 +4657,12 @@ protected: virtual void machine_reset() override; }; +void gpoker_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + m_beeper->set_state(0); +} + // handlers void gpoker_state::prepare_display() @@ -4404,12 +4748,6 @@ static INPUT_PORTS_START( gpoker ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet") // BT INPUT_PORTS_END -void gpoker_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - m_beeper->set_state(0); -} - void gpoker_state::gpoker(machine_config &config) { /* basic machine hardware */ @@ -4427,6 +4765,18 @@ void gpoker_state::gpoker(machine_config &config) m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gpoker ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp2105", 0x0000, 0x0800, CRC(95a8f5b4) SHA1(d14f00ba9f57e437264d972baa14a14a28ff8719) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_gpoker_output.pla", 0, 365, CRC(f7e2d812) SHA1(cc3abd89afb1d2145dc47636553ccd0ba7de70d9) ) +ROM_END + @@ -4447,8 +4797,8 @@ void gpoker_state::gpoker(machine_config &config) class gjackpot_state : public gpoker_state { public: - gjackpot_state(const machine_config &mconfig, device_type type, const char *tag) - : gpoker_state(mconfig, type, tag) + gjackpot_state(const machine_config &mconfig, device_type type, const char *tag) : + gpoker_state(mconfig, type, tag) { } virtual DECLARE_WRITE16_MEMBER(write_r) override; @@ -4540,6 +4890,18 @@ void gjackpot_state::gjackpot(machine_config &config) m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( gjackpot ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mpf553", 0x0000, 0x1000, CRC(f45fd008) SHA1(8d5d6407a8a031a833ceedfb931f5c9d2725ecd0) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_gjackpot_output.pla", 0, 557, CRC(50e471a7) SHA1(9d862cb9f51a563882b62662c5bfe61b52e3df00) ) +ROM_END + @@ -4561,8 +4923,8 @@ void gjackpot_state::gjackpot(machine_config &config) class ginv1000_state : public hh_tms1k_state { public: - ginv1000_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ginv1000_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -4650,6 +5012,21 @@ void ginv1000_state::ginv1000(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ginv1000 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp2139", 0x0000, 0x0800, CRC(036eab37) SHA1(0795878ad89296f7a6a0314c6e4db23c1cc3673e) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_ginv1000_output.pla", 0, 365, CRC(b0a5dc41) SHA1(d94746ec48661998173e7f60ccc7c96e56b3484e) ) + + ROM_REGION( 226185, "svg", 0) + ROM_LOAD( "ginv1000.svg", 0, 226185, CRC(1e1bafd1) SHA1(15868ef0c9dadbf537fed0e2d846451ba99fab7b) ) +ROM_END + @@ -4671,8 +5048,8 @@ void ginv1000_state::ginv1000(machine_config &config) class ginv2000_state : public hh_tms1k_state { public: - ginv2000_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + ginv2000_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_expander(*this, "expander") { } @@ -4689,6 +5066,12 @@ protected: virtual void machine_reset() override; }; +void ginv2000_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + m_expander->write_ms(1); // Vss +} + // handlers void ginv2000_state::prepare_display() @@ -4752,12 +5135,6 @@ static INPUT_PORTS_START( ginv2000 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) INPUT_PORTS_END -void ginv2000_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - m_expander->write_ms(1); // Vss -} - void ginv2000_state::ginv2000(machine_config &config) { /* basic machine hardware */ @@ -4786,6 +5163,21 @@ void ginv2000_state::ginv2000(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ginv2000 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1604", 0x0000, 0x0800, CRC(f1646d0b) SHA1(65601931d81e3eef7bf22a08de5a146910ce8137) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_ginv2000_output.pla", 0, 365, CRC(520bb003) SHA1(1640ae54f8dcc257e0ad0cbe0281b38fcbd8da35) ) + + ROM_REGION( 374443, "svg", 0) + ROM_LOAD( "ginv2000.svg", 0, 374443, CRC(a4ce1e6d) SHA1(57d9ff05d634a8d495b9d544a2a959790cd10b6b) ) +ROM_END + @@ -4811,8 +5203,8 @@ void ginv2000_state::ginv2000(machine_config &config) class fxmcr165_state : public hh_tms1k_state { public: - fxmcr165_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + fxmcr165_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -4924,6 +5316,18 @@ void fxmcr165_state::fxmcr165(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( fxmcr165 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1312", 0x0000, 0x0800, CRC(6efc8bcc) SHA1(ced8a02b472a3178073691d3dccc0f19f57428fd) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_fxmcr165_output.pla", 0, 365, CRC(ce656866) SHA1(40e1614f5afcc7572fda596e1be453d54e95af0c) ) +ROM_END + @@ -4946,8 +5350,8 @@ void fxmcr165_state::fxmcr165(machine_config &config) class elecdet_state : public hh_tms1k_state { public: - elecdet_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + elecdet_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -5054,6 +5458,22 @@ void elecdet_state::elecdet(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( elecdet ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp6100a", 0x0000, 0x1000, CRC(9522fb2d) SHA1(240bdb44b7d67d3b13ebf75851635ac4b4ca2bfd) ) + + ROM_REGION( 1246, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) + ROM_REGION( 1982, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0980_common1_micro.pla", 0, 1982, CRC(3709014f) SHA1(d28ee59ded7f3b9dc3f0594a32a98391b6e9c961) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_elecdet_output.pla", 0, 352, CRC(5d12c24a) SHA1(e486802151a704c6273d4a8682c9c374d27d1e6d) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) +ROM_END + @@ -5073,8 +5493,8 @@ void elecdet_state::elecdet(machine_config &config) class starwbc_state : public hh_tms1k_state { public: - starwbc_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + starwbc_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -5180,6 +5600,28 @@ void starwbc_state::starwbc(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( starwbc ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3438a", 0x0000, 0x0800, CRC(c12b7069) SHA1(d1f39c69a543c128023ba11cc6228bacdfab04de) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_starwbc_output.pla", 0, 365, CRC(d358a76d) SHA1(06b60b207540e9b726439141acadea9aba718013) ) +ROM_END + +ROM_START( starwbcp ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "us4270755", 0x0000, 0x0800, BAD_DUMP CRC(fb3332f2) SHA1(a79ac81e239983cd699b7cfcc55f89b203b2c9ec) ) // from patent US4270755, may have errors + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_starwbc_output.pla", 0, 365, CRC(d358a76d) SHA1(06b60b207540e9b726439141acadea9aba718013) ) +ROM_END + @@ -5198,8 +5640,8 @@ void starwbc_state::starwbc(machine_config &config) class astro_state : public hh_tms1k_state { public: - astro_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + astro_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -5304,6 +5746,18 @@ void astro_state::astro(machine_config &config) /* no sound! */ } +// roms + +ROM_START( astro ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp1133", 0x0000, 0x1000, CRC(bc21109c) SHA1(05a433cce587d5c0c2d28b5fda5f0853ea6726bf) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_astro_output.pla", 0, 557, CRC(eb08957e) SHA1(62ae0d13a1eaafb34f1b27d7df51441b400ccd56) ) +ROM_END + @@ -5337,8 +5791,8 @@ void astro_state::astro(machine_config &config) class elecbowl_state : public hh_tms1k_state { public: - elecbowl_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + elecbowl_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -5473,6 +5927,18 @@ void elecbowl_state::elecbowl(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( elecbowl ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3403.u9", 0x0000, 0x0800, CRC(9eabaa7d) SHA1(b1f54587ed7f2bbf3a5d49075c807296384c2b06) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, BAD_DUMP CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_elecbowl_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -5497,8 +5963,8 @@ void elecbowl_state::elecbowl(machine_config &config) class horseran_state : public hh_tms1k_state { public: - horseran_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + horseran_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_lcd(*this, "lcd") { } @@ -5628,6 +6094,18 @@ void horseran_state::horseran(machine_config &config) /* no sound! */ } +// roms + +ROM_START( horseran ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3491", 0x0000, 0x0800, CRC(a0081671) SHA1(a5a07b502c69d429e5bcd1d313e86b6ee057cda6) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) // unused + ROM_LOAD( "tms1100_horseran_output.pla", 0, 365, CRC(0fea09b0) SHA1(27a56fcf2b490e9a7dbbc6ad48cc8aaca4cada94) ) +ROM_END + @@ -5646,8 +6124,8 @@ void horseran_state::horseran(machine_config &config) class mdndclab_state : public hh_tms1k_state { public: - mdndclab_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + mdndclab_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -5808,6 +6286,18 @@ void mdndclab_state::mdndclab(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( mdndclab ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "m34012", 0x0000, 0x0800, CRC(e851fccd) SHA1(158362c2821678a51554e02dbb2f9ef5aaf5f59f) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_mdndclab_output.pla", 0, 365, CRC(592b40ba) SHA1(63a2531278a665ace54c541101e052eb84413511) ) +ROM_END + @@ -5833,8 +6323,8 @@ void mdndclab_state::mdndclab(machine_config &config) class comp4_state : public hh_tms1k_state { public: - comp4_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + comp4_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -5909,6 +6399,22 @@ void comp4_state::comp4(machine_config &config) /* no sound! */ } +// roms + +ROM_START( comp4 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc0904nl_cp0904a", 0x0000, 0x0400, CRC(6233ee1b) SHA1(738e109b38c97804b4ec52bed80b00a8634ad453) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common2_instr.pla", 0, 782, CRC(e038fc44) SHA1(dfc280f6d0a5828d1bb14fcd59ac29caf2c2d981) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_comp4_micro.pla", 0, 860, CRC(ee9d7d9e) SHA1(25484e18f6a07f7cdb21a07220e2f2a82fadfe7b) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_comp4_output.pla", 0, 352, CRC(144ce2d5) SHA1(459b92ad62421932df61b7e3965f1821f9636a2c) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_comp4_segment.pla", 0, 157, CRC(73426b07) SHA1(311be3f95a97936b6d1a4dcfa7746da26318ce54) ) +ROM_END + @@ -5937,8 +6443,8 @@ void comp4_state::comp4(machine_config &config) class bship_state : public hh_tms1k_state { public: - bship_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + bship_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -6060,6 +6566,18 @@ void bship_state::bship(machine_config &config) // TODO } +// roms + +ROM_START( bship ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp3201", 0x0000, 0x0400, CRC(bf6104a6) SHA1(8d28b43a2aa39dcbbe71f669cdafc518715812c9) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_bship_output.pla", 0, 365, CRC(ea0570b0) SHA1(6eb803b40717486d7b24939985f245327ac8a7e9) ) +ROM_END + @@ -6079,8 +6597,8 @@ void bship_state::bship(machine_config &config) class bshipb_state : public hh_tms1k_state { public: - bshipb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + bshipb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_sn(*this, "sn76477") { } @@ -6178,6 +6696,18 @@ void bshipb_state::bshipb(machine_config &config) m_sn->add_route(ALL_OUTPUTS, "mono", 0.35); } +// roms + +ROM_START( bshipb ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp3208", 0x0000, 0x0400, CRC(982fa720) SHA1(1c6dbbe7b9e55d62a510225a88cd2de55fe9b181) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_bshipb_output.pla", 0, 365, BAD_DUMP CRC(74a9a244) SHA1(479c1f1e37cf8f75352e10226b20322906bee813) ) // part of decap photo was obscured +ROM_END + @@ -6201,8 +6731,8 @@ void bshipb_state::bshipb(machine_config &config) class simon_state : public hh_tms1k_state { public: - simon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + simon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -6282,6 +6812,28 @@ void simon_state::simon(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( simon ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms1000.u1", 0x0000, 0x0400, CRC(9961719d) SHA1(35dddb018a8a2b31f377ab49c1f0cb76951b81c0) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_simon_micro.pla", 0, 867, CRC(52f7c1f1) SHA1(dbc2634dcb98eac173ad0209df487cad413d08a5) ) + ROM_REGION( 365, "maincpu:opla", 0 ) // unused + ROM_LOAD( "tms1000_simon_output.pla", 0, 365, CRC(2943c71b) SHA1(bd5bb55c57e7ba27e49c645937ec1d4e67506601) ) +ROM_END + +ROM_START( simonf ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp3300", 0x0000, 0x0400, CRC(b9fcf93a) SHA1(45960e4242a08495f2a99fc5d44728eabd93cd9f) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_simon_micro.pla", 0, 867, CRC(52f7c1f1) SHA1(dbc2634dcb98eac173ad0209df487cad413d08a5) ) + ROM_REGION( 365, "maincpu:opla", 0 ) // unused + ROM_LOAD( "tms1000_simon_output.pla", 0, 365, CRC(2943c71b) SHA1(bd5bb55c57e7ba27e49c645937ec1d4e67506601) ) +ROM_END + @@ -6300,23 +6852,39 @@ void simon_state::simon(machine_config &config) class ssimon_state : public hh_tms1k_state { public: - ssimon_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ssimon_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); DECLARE_READ8_MEMBER(read_k); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(speed_switch); + DECLARE_INPUT_CHANGED_MEMBER(speed_switch) { set_clock(); } void ssimon(machine_config &config); protected: virtual void machine_reset() override; }; +void ssimon_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); +} + // handlers +void ssimon_state::set_clock() +{ + // MCU clock is from an RC circuit with C=100pF, R=x depending on speed switch: + // 0 Simple: R=51K -> ~200kHz + // 1 Normal: R=37K -> ~275kHz + // 2 Super: R=22K -> ~400kHz + u8 inp = m_inp_matrix[6]->read(); + m_maincpu->set_unscaled_clock((inp & 2) ? 400000 : ((inp & 1) ? 275000 : 200000)); +} + WRITE16_MEMBER(ssimon_state::write_r) { // R0-R3,R9,R10: input mux @@ -6386,27 +6954,6 @@ static INPUT_PORTS_START( ssimon ) PORT_CONFSETTING( 0x02, "Super" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(ssimon_state::speed_switch) -{ - set_clock(); -} - -void ssimon_state::set_clock() -{ - // MCU clock is from an RC circuit with C=100pF, R=x depending on speed switch: - // 0 Simple: R=51K -> ~200kHz - // 1 Normal: R=37K -> ~275kHz - // 2 Super: R=22K -> ~400kHz - u8 inp = m_inp_matrix[6]->read(); - m_maincpu->set_unscaled_clock((inp & 2) ? 400000 : ((inp & 1) ? 275000 : 200000)); -} - -void ssimon_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); -} - void ssimon_state::ssimon(machine_config &config) { /* basic machine hardware */ @@ -6423,6 +6970,18 @@ void ssimon_state::ssimon(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ssimon ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3476", 0x0000, 0x0800, CRC(98200571) SHA1(cbd0bcfc11a534aa0be5d011584cdcac58ff437a) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) // unused + ROM_LOAD( "tms1100_ssimon_output.pla", 0, 365, CRC(0fea09b0) SHA1(27a56fcf2b490e9a7dbbc6ad48cc8aaca4cada94) ) +ROM_END + @@ -6447,8 +7006,8 @@ void ssimon_state::ssimon(machine_config &config) class bigtrak_state : public hh_tms1k_state { public: - bigtrak_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + bigtrak_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -6464,6 +7023,15 @@ protected: virtual void machine_start() override; }; +void bigtrak_state::machine_start() +{ + hh_tms1k_state::machine_start(); + + // zerofill/register for savestates + m_gearbox_pos = 0; + save_item(NAME(m_gearbox_pos)); +} + // handlers TIMER_DEVICE_CALLBACK_MEMBER(bigtrak_state::gearbox_sim_tick) @@ -6576,15 +7144,6 @@ static INPUT_PORTS_START( bigtrak ) PORT_BIT( 0x0b, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -void bigtrak_state::machine_start() -{ - hh_tms1k_state::machine_start(); - - // zerofill/register for savestates - m_gearbox_pos = 0; - save_item(NAME(m_gearbox_pos)); -} - static const s16 bigtrak_speaker_levels[8] = { 0, 0x7fff/3, 0x7fff/3, 0x7fff/3*2, 0x7fff/3, 0x7fff/3*2, 0x7fff/3*2, 0x7fff }; void bigtrak_state::bigtrak(machine_config &config) @@ -6606,6 +7165,18 @@ void bigtrak_state::bigtrak(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bigtrak ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp3301a", 0x0000, 0x0400, CRC(1351bcdd) SHA1(68865389c25b541c09a742be61f8fb6488134d4e) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common3_micro.pla", 0, 867, CRC(80912d0a) SHA1(7ae5293ed4d93f5b7a64d43fe30c3639f39fbe5a) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_bigtrak_output.pla", 0, 365, CRC(63be45f6) SHA1(918e38a223152db883c1a6f7acf56e87d7074734) ) +ROM_END + @@ -6632,8 +7203,8 @@ void bigtrak_state::bigtrak(machine_config &config) class mbdtower_state : public hh_tms1k_state { public: - mbdtower_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + mbdtower_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -6656,6 +7227,25 @@ protected: virtual void machine_start() override; }; +void mbdtower_state::machine_start() +{ + hh_tms1k_state::machine_start(); + + // zerofill + m_motor_pos = 0; + m_motor_pos_prev = -1; + m_motor_decay = 0; + m_motor_on = false; + m_sensor_blind = false; + + // register for savestates + save_item(NAME(m_motor_pos)); + /* save_item(NAME(m_motor_pos_prev)); */ // don't save! + save_item(NAME(m_motor_decay)); + save_item(NAME(m_motor_on)); + save_item(NAME(m_sensor_blind)); +} + // handlers TIMER_DEVICE_CALLBACK_MEMBER(mbdtower_state::motor_sim_tick) @@ -6801,25 +7391,6 @@ static INPUT_PORTS_START( mbdtower ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_A) PORT_NAME("Tomb/Ruin") INPUT_PORTS_END -void mbdtower_state::machine_start() -{ - hh_tms1k_state::machine_start(); - - // zerofill - m_motor_pos = 0; - m_motor_pos_prev = -1; - m_motor_decay = 0; - m_motor_on = false; - m_sensor_blind = false; - - // register for savestates - save_item(NAME(m_motor_pos)); - /* save_item(NAME(m_motor_pos_prev)); */ // don't save! - save_item(NAME(m_motor_decay)); - save_item(NAME(m_motor_on)); - save_item(NAME(m_sensor_blind)); -} - void mbdtower_state::mbdtower(machine_config &config) { /* basic machine hardware */ @@ -6838,6 +7409,18 @@ void mbdtower_state::mbdtower(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( mbdtower ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp7332", 0x0000, 0x1000, CRC(ebeab91a) SHA1(7edbff437da371390fa8f28b3d183f833eaa9be9) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_mbdtower_output.pla", 0, 557, CRC(64c84697) SHA1(72ce6d24cedf9c606f1742cd5620f75907246e87) ) +ROM_END + @@ -6856,8 +7439,8 @@ void mbdtower_state::mbdtower(machine_config &config) class arcmania_state : public hh_tms1k_state { public: - arcmania_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + arcmania_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -6949,6 +7532,18 @@ void arcmania_state::arcmania(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( arcmania ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "m34078a", 0x0000, 0x0800, CRC(90ea0087) SHA1(9780c9c1ba89300b1bbe72c47e5fec68d8bb6a77) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_arcmania_output.pla", 0, 365, CRC(a1517b15) SHA1(72eedd7fd41de9c9102219f325fe8668a7c02663) ) +ROM_END + @@ -6968,8 +7563,8 @@ void arcmania_state::arcmania(machine_config &config) class cnsector_state : public hh_tms1k_state { public: - cnsector_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + cnsector_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -7064,6 +7659,22 @@ void cnsector_state::cnsector(machine_config &config) /* no sound! */ } +// roms + +ROM_START( cnsector ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0905bnl_za0379", 0x0000, 0x0400, CRC(201036e9) SHA1(b37fef86bb2bceaf0ac8bb3745b4702d17366914) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common2_instr.pla", 0, 782, CRC(e038fc44) SHA1(dfc280f6d0a5828d1bb14fcd59ac29caf2c2d981) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_cnsector_micro.pla", 0, 860, CRC(059f5bb4) SHA1(2653766f9fd74d41d44013bb6f54c0973a6080c9) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_cnsector_output.pla", 0, 352, CRC(c8bfb9d2) SHA1(30c3c73cec194debdcb1dd01b4adfefaeddf9516) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) +ROM_END + @@ -7093,8 +7704,8 @@ void cnsector_state::cnsector(machine_config &config) class merlin_state : public hh_tms1k_state { public: - merlin_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + merlin_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } virtual DECLARE_WRITE16_MEMBER(write_r); @@ -7182,6 +7793,18 @@ void merlin_state::merlin(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( merlin ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp3404", 0x0000, 0x0800, CRC(7515a75d) SHA1(76ca3605d3fde1df62f79b9bb1f534c2a2ae0229) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_merlin_output.pla", 0, 365, CRC(3921b074) SHA1(12bd58e4d6676eb8c7059ef53598279e4f1a32ea) ) +ROM_END + @@ -7211,8 +7834,8 @@ void merlin_state::merlin(machine_config &config) class mmerlin_state : public merlin_state { public: - mmerlin_state(const machine_config &mconfig, device_type type, const char *tag) - : merlin_state(mconfig, type, tag) + mmerlin_state(const machine_config &mconfig, device_type type, const char *tag) : + merlin_state(mconfig, type, tag) { } void mmerlin(machine_config &config); @@ -7247,6 +7870,18 @@ void mmerlin_state::mmerlin(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( mmerlin ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp7351", 0x0000, 0x1000, CRC(0f7a4c83) SHA1(242c1278ddfe92c28fd7cd87300e48e7a4827831) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_mmerlin_output.pla", 0, 557, CRC(fd3dcd93) SHA1(f2afc52df700daa0eb7356c7876af9b2966f971b) ) +ROM_END + @@ -7267,8 +7902,8 @@ void mmerlin_state::mmerlin(machine_config &config) class stopthief_state : public hh_tms1k_state { public: - stopthief_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + stopthief_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -7364,6 +7999,36 @@ void stopthief_state::stopthief(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( stopthief ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp6101b", 0x0000, 0x1000, CRC(b9c9d64a) SHA1(481f8653064c142fe5d9314b750bcd73797b92b2) ) + + ROM_REGION( 1246, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) + ROM_REGION( 1982, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0980_common1_micro.pla", 0, 1982, CRC(3709014f) SHA1(d28ee59ded7f3b9dc3f0594a32a98391b6e9c961) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_stopthief_output.pla", 0, 352, CRC(680ca1c1) SHA1(dea6365f2e6b50a52f1a8f1d8417176b905d2bc9) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) +ROM_END + +ROM_START( stopthiefp ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD16_WORD( "us4341385", 0x0000, 0x1000, CRC(07aec38a) SHA1(0a3d0956495c0d6d9ea771feae6c14a473a800dc) ) // from patent US4341385, data should be correct (it included checksums) + + ROM_REGION( 1246, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) + ROM_REGION( 1982, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0980_common1_micro.pla", 0, 1982, CRC(3709014f) SHA1(d28ee59ded7f3b9dc3f0594a32a98391b6e9c961) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_stopthief_output.pla", 0, 352, CRC(680ca1c1) SHA1(dea6365f2e6b50a52f1a8f1d8417176b905d2bc9) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) +ROM_END + @@ -7387,8 +8052,8 @@ void stopthief_state::stopthief(machine_config &config) class bankshot_state : public hh_tms1k_state { public: - bankshot_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + bankshot_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -7476,6 +8141,18 @@ void bankshot_state::bankshot(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bankshot ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp7313", 0x0000, 0x1000, CRC(7a5016a9) SHA1(a8730dc8a282ffaa3d89e675f371d43eb39f39b4) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_bankshot_output.pla", 0, 557, CRC(7539283b) SHA1(f791fa98259fc10c393ff1961d4c93040f1a2932) ) +ROM_END + @@ -7515,8 +8192,8 @@ void bankshot_state::bankshot(machine_config &config) class splitsec_state : public hh_tms1k_state { public: - splitsec_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + splitsec_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -7593,6 +8270,18 @@ void splitsec_state::splitsec(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( splitsec ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp7314", 0x0000, 0x1000, CRC(e94b2098) SHA1(f0fc1f56a829252185592a2508740354c50bedf8) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_splitsec_output.pla", 0, 557, CRC(7539283b) SHA1(f791fa98259fc10c393ff1961d4c93040f1a2932) ) +ROM_END + @@ -7611,8 +8300,8 @@ void splitsec_state::splitsec(machine_config &config) class lostreas_state : public hh_tms1k_state { public: - lostreas_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + lostreas_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -7712,6 +8401,18 @@ void lostreas_state::lostreas(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( lostreas ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "m34038", 0x0000, 0x0800, CRC(4c996f63) SHA1(ebbaa8b2f909f4300887aa2dbdb7185eedc75d3f) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_lostreas_output.pla", 0, 365, CRC(c62d850f) SHA1(d25974e6901eb10c52cdda12e6d4a13e26745e6f) ) +ROM_END + @@ -7738,8 +8439,8 @@ void lostreas_state::lostreas(machine_config &config) class alphie_state : public hh_tms1k_state { public: - alphie_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + alphie_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } TIMER_DEVICE_CALLBACK_MEMBER(show_arm_position); @@ -7834,6 +8535,18 @@ void alphie_state::alphie(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( alphie ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "us4280809", 0x0000, 0x0400, CRC(f8f14013) SHA1(bf31b929fcbcb189bbe4623104e1da0a639b5954) ) // from patent US4280809, should be good + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, BAD_DUMP CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) // not in patent description + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_alphie_output.pla", 0, 365, NO_DUMP ) // " +ROM_END + @@ -7853,8 +8566,8 @@ void alphie_state::alphie(machine_config &config) class tcfball_state : public hh_tms1k_state { public: - tcfball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + tcfball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -7943,6 +8656,18 @@ void tcfball_state::tcfball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tcfball ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1193", 0x0000, 0x0800, CRC(7d9f446f) SHA1(bb6af47b42d989494f21475a73f072cddf58c99f) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_tcfball_output.pla", 0, 365, CRC(26b2996e) SHA1(df0e706c552bf74123aa65e71b0c9b4d33cddb2b) ) +ROM_END + @@ -7965,8 +8690,8 @@ void tcfball_state::tcfball(machine_config &config) class tcfballa_state : public tcfball_state { public: - tcfballa_state(const machine_config &mconfig, device_type type, const char *tag) - : tcfball_state(mconfig, type, tag) + tcfballa_state(const machine_config &mconfig, device_type type, const char *tag) : + tcfball_state(mconfig, type, tag) { } void tcfballa(machine_config &config); @@ -8009,6 +8734,18 @@ void tcfballa_state::tcfballa(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tcfballa ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1183", 0x0000, 0x0800, CRC(2a4db1d5) SHA1(5df15d1115bb425578ad522d607a582dd478f35c) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_tcfballa_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -8043,8 +8780,8 @@ void tcfballa_state::tcfballa(machine_config &config) class tandy12_state : public hh_tms1k_state { public: - tandy12_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + tandy12_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -8173,6 +8910,18 @@ void tandy12_state::tandy12(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tandy12 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "cd7282sl", 0x0000, 0x0800, CRC(a10013dd) SHA1(42ebd3de3449f371b99937f9df39c240d15ac686) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, BAD_DUMP CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_tandy12_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -8196,8 +8945,8 @@ void tandy12_state::tandy12(machine_config &config) class monkeysee_state : public hh_tms1k_state { public: - monkeysee_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + monkeysee_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -8281,6 +9030,18 @@ void monkeysee_state::monkeysee(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( monkeysee ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0271", 0x0000, 0x0400, CRC(acab0f05) SHA1(226f7688caf4a94a88241d3b61ddc4254e4a918c) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_monkeysee_micro.pla", 0, 867, CRC(368d878f) SHA1(956e700a04f453c1610cfdb974fce898ba4cf01f) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_monkeysee_output.pla", 0, 365, CRC(8a010e89) SHA1(3ffbabc5d6c9b34cc06d290817d15b2be42d8b17) ) +ROM_END + @@ -8301,8 +9062,8 @@ void monkeysee_state::monkeysee(machine_config &config) class speechp_state : public hh_tms1k_state { public: - speechp_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + speechp_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_speech(*this, "speech") { } @@ -8430,6 +9191,21 @@ void speechp_state::speechp(machine_config &config) m_speech->add_route(ALL_OUTPUTS, "mono", 0.75); } +// roms + +ROM_START( speechp ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms1007nl", 0x0000, 0x0400, CRC(c2669d5c) SHA1(7943d6f39508a9a82bc21e4fe34a5b9f86e3add2) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_speechp_output.pla", 0, 365, CRC(e1b4197f) SHA1(258f4276a9f15c9bfbfa58df2f7202aed1542fdc) ) + + ROM_REGION( 0x0800, "speech", 0 ) + ROM_LOAD("s14007-a", 0x0000, 0x0800, CRC(543b46d4) SHA1(99daf7fe3354c378b4bd883840c9bbd22b22ebe7) ) +ROM_END + @@ -8454,8 +9230,8 @@ void speechp_state::speechp(machine_config &config) class timaze_state : public hh_tms1k_state { public: - timaze_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + timaze_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -8509,6 +9285,18 @@ void timaze_state::timaze(machine_config &config) /* no sound! */ } +// roms + +ROM_START( timaze ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "gb2040172a", 0x0000, 0x0400, CRC(0bab4dc6) SHA1(c9d40649fbb27a8b7cf7460d66c7e217b63376f0) ) // from patent GB2040172A, verified with source code + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, BAD_DUMP CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) // not in patent, use default one + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_timaze_output.pla", 0, 365, BAD_DUMP CRC(f0f36970) SHA1(a6ad1f5e804ac98e5e1a1d07466b3db3a8d6c256) ) // described in patent, but unsure about pin order +ROM_END + @@ -8530,8 +9318,8 @@ void timaze_state::timaze(machine_config &config) class copycat_state : public hh_tms1k_state { public: - copycat_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + copycat_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -8615,6 +9403,18 @@ void copycat_state::copycat(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( copycat ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp0919", 0x0000, 0x0400, CRC(92a21299) SHA1(16daadb8dbf53aaab8a71833017b4a578d035d6d) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_copycat_output.pla", 0, 365, CRC(b1d0c96d) SHA1(ac1a003eab3f69e09e9050cb24ea17211e0523fe) ) +ROM_END + @@ -8640,8 +9440,8 @@ void copycat_state::copycat(machine_config &config) class copycatm2_state : public hh_tms1k_state { public: - copycatm2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + copycatm2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -8691,6 +9491,18 @@ void copycatm2_state::copycatm2(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( copycatm2 ) + ROM_REGION( 0x0200, "maincpu", 0 ) + ROM_LOAD( "mp3005n", 0x0000, 0x0200, CRC(a87649cb) SHA1(14ef7967a80578885f0b905772c3bb417b5b3255) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_copycatm2_micro.pla", 0, 867, CRC(2710d8ef) SHA1(cb7a13bfabedad43790de753844707fe829baed0) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_copycatm2_output.pla", 0, 365, CRC(d1999aaf) SHA1(0c27789b349e491d5230f9c75c4741e621f5a14e) ) +ROM_END + @@ -8711,8 +9523,8 @@ void copycatm2_state::copycatm2(machine_config &config) class ditto_state : public hh_tms1k_state { public: - ditto_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ditto_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } DECLARE_WRITE16_MEMBER(write_r); @@ -8762,6 +9574,18 @@ void ditto_state::ditto(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ditto ) + ROM_REGION( 0x0200, "maincpu", 0 ) + ROM_LOAD( "mp1801", 0x0000, 0x0200, CRC(cee6043b) SHA1(4ec334be6835688413637ff9d9d7a5f0d61eba27) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_ditto_micro.pla", 0, 867, CRC(2710d8ef) SHA1(cb7a13bfabedad43790de753844707fe829baed0) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_ditto_output.pla", 0, 365, CRC(2b708a27) SHA1(e95415e51ffbe5da3bde1484fcd20467dde9f09a) ) +ROM_END + @@ -8785,8 +9609,8 @@ void ditto_state::ditto(machine_config &config) class ss7in1_state : public hh_tms1k_state { public: - ss7in1_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ss7in1_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -8877,6 +9701,18 @@ void ss7in1_state::ss7in1(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( 7in1ss ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "mp7304", 0x0000, 0x1000, CRC(2a1c8390) SHA1(fa10e60686af6828a61f05046abc3854ab49af95) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 557, "maincpu:opla", 0 ) + ROM_LOAD( "tms1400_7in1ss_output.pla", 0, 557, CRC(6b7660f7) SHA1(bb7d58fa04e7606ccdf5b209e1b089948bdd1e7c) ) +ROM_END + @@ -8919,8 +9755,8 @@ void ss7in1_state::ss7in1(machine_config &config) class tbreakup_state : public hh_tms1k_state { public: - tbreakup_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag), + tbreakup_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag), m_expander(*this, "expander") { } @@ -8934,7 +9770,7 @@ public: DECLARE_READ8_MEMBER(read_k); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + DECLARE_INPUT_CHANGED_MEMBER(skill_switch) { set_clock(); } void tbreakup(machine_config &config); protected: @@ -8942,8 +9778,30 @@ protected: virtual void machine_start() override; }; +void tbreakup_state::machine_start() +{ + hh_tms1k_state::machine_start(); + + // zerofill/register for savestates + memset(m_exp_port, 0, sizeof(m_exp_port)); + save_item(NAME(m_exp_port)); +} + +void tbreakup_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + set_clock(); + m_expander->write_ms(1); // Vss +} + // handlers +void tbreakup_state::set_clock() +{ + // MCU clock is from an analog circuit with resistor of 73K, PRO2 adds 100K + m_maincpu->set_unscaled_clock((m_inp_matrix[3]->read() & 1) ? 500000 : 325000); +} + void tbreakup_state::prepare_display() { // 7seg leds from R0,R1 and O0-O6 @@ -9026,33 +9884,6 @@ static INPUT_PORTS_START( tbreakup ) PORT_CONFSETTING( 0x01, "Pro 2" ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(tbreakup_state::skill_switch) -{ - set_clock(); -} - -void tbreakup_state::set_clock() -{ - // MCU clock is from an analog circuit with resistor of 73K, PRO2 adds 100K - m_maincpu->set_unscaled_clock((m_inp_matrix[3]->read() & 1) ? 500000 : 325000); -} - -void tbreakup_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - set_clock(); - m_expander->write_ms(1); // Vss -} - -void tbreakup_state::machine_start() -{ - hh_tms1k_state::machine_start(); - - // zerofill/register for savestates - memset(m_exp_port, 0, sizeof(m_exp_port)); - save_item(NAME(m_exp_port)); -} - void tbreakup_state::tbreakup(machine_config &config) { /* basic machine hardware */ @@ -9079,6 +9910,18 @@ void tbreakup_state::tbreakup(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tbreakup ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "mp2726a", 0x0000, 0x0400, CRC(1f7c28e2) SHA1(164cda4eb3f0b1d20955212a197c9aadf8d18a06) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_tbreakup_output.pla", 0, 365, CRC(a1ea035e) SHA1(fcf0b57ed90b41441a8974223a697f530daac0ab) ) +ROM_END + @@ -9115,8 +9958,8 @@ void tbreakup_state::tbreakup(machine_config &config) class phpball_state : public hh_tms1k_state { public: - phpball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + phpball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -9124,7 +9967,7 @@ public: DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); - DECLARE_INPUT_CHANGED_MEMBER(flipper_button); + DECLARE_INPUT_CHANGED_MEMBER(flipper_button) { prepare_display(); } void phpball(machine_config &config); }; @@ -9181,11 +10024,6 @@ static INPUT_PORTS_START( phpball ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Left Flipper") PORT_CHANGED_MEMBER(DEVICE_SELF, phpball_state, flipper_button, nullptr) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(phpball_state::flipper_button) -{ - prepare_display(); -} - void phpball_state::phpball(machine_config &config) { /* basic machine hardware */ @@ -9203,6 +10041,18 @@ void phpball_state::phpball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( phpball ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1180", 0x0000, 0x0800, CRC(2163b92d) SHA1(bc53d1911e88b4e89d951c6f769703105c13389c) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_phpball_output.pla", 0, 365, CRC(87e67aaf) SHA1(ebc7bae1352f39173f1bf0dc10cdc6f635dedab4) ) +ROM_END + @@ -9223,8 +10073,8 @@ void phpball_state::phpball(machine_config &config) class ssports4_state : public hh_tms1k_state { public: - ssports4_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ssports4_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void prepare_display(); @@ -9339,6 +10189,18 @@ void ssports4_state::ssports4(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ssports4 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "mp1219", 0x0000, 0x0800, CRC(865c06d6) SHA1(12a625a13bdb57b82b35c42b175d38756a1e2e04) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1100_ssports4_output.pla", 0, 365, NO_DUMP ) +ROM_END + @@ -9357,12 +10219,12 @@ void ssports4_state::ssports4(machine_config &config) class xl25_state : public hh_tms1k_state { public: - xl25_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + xl25_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } void update_halt(); - DECLARE_INPUT_CHANGED_MEMBER(k4_button); + DECLARE_INPUT_CHANGED_MEMBER(k4_button) { update_halt(); } void prepare_display(); DECLARE_WRITE16_MEMBER(write_r); @@ -9374,6 +10236,12 @@ protected: virtual void machine_reset() override; }; +void xl25_state::machine_reset() +{ + hh_tms1k_state::machine_reset(); + update_halt(); +} + // handlers void xl25_state::update_halt() @@ -9480,17 +10348,6 @@ static INPUT_PORTS_START( xl25 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -INPUT_CHANGED_MEMBER(xl25_state::k4_button) -{ - update_halt(); -} - -void xl25_state::machine_reset() -{ - hh_tms1k_state::machine_reset(); - update_halt(); -} - void xl25_state::xl25(machine_config &config) { /* basic machine hardware */ @@ -9508,844 +10365,7 @@ void xl25_state::xl25(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( matchnum ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0163", 0x0000, 0x0400, CRC(37507600) SHA1(b1d4d8ea563e97ef378b42c44cb3ea4eb6abe0d2) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_matchnum_output.pla", 0, 365, CRC(da29670c) SHA1(bcec28bf25dc8c81d08851ad8a3f4e89f413017a) ) -ROM_END - - -ROM_START( arrball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0166", 0x0000, 0x0400, CRC(a78694db) SHA1(362aa6e356288e8df7da610246bd01fe72985d57) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_arrball_output.pla", 0, 365, CRC(ffc206fb) SHA1(339be3f066fb2f075211c554e81260b49cd83d15) ) -ROM_END - - -ROM_START( mathmagi ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1030", 0x0000, 0x0800, CRC(a81d7ccb) SHA1(4756ce42f1ea28ce5fe6498312f8306f10370969) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_mathmagi_output.pla", 0, 365, NO_DUMP ) -ROM_END - - -ROM_START( bcheetah ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0915", 0x0000, 0x0400, CRC(2968c81e) SHA1(d1e6691952600e88ccf626cb3d683419a1e8468c) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_bcheetah_output.pla", 0, 365, CRC(cc6d1ecd) SHA1(b0635a841d8850c36c1f414abe0571b81884b972) ) -ROM_END - - -ROM_START( amaztron ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3405", 0x0000, 0x0800, CRC(9cbc0009) SHA1(17772681271b59280687492f37fa0859998f041d) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_amaztron_output.pla", 0, 365, CRC(f3875384) SHA1(3c256a3db4f0aa9d93cf78124db39f4cbdc57e4a) ) -ROM_END - - -ROM_START( zodiac ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3435", 0x0000, 0x0800, CRC(ecdc3160) SHA1(a7e82d66314a039fcffeddf99919d9f9ad42d61d) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, BAD_DUMP CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_zodiac_output.pla", 0, 365, NO_DUMP ) -ROM_END - - -ROM_START( cqback ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3415.u4", 0x0000, 0x0800, CRC(65ebdabf) SHA1(9b5cf5adaf9132ced87f611ae8c3148b9b62ba89) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_cqback_output.pla", 0, 365, CRC(c6dcbfd0) SHA1(593b6b7de981a28d1b4a33336b39df92d02ed4f4) ) -ROM_END - - -ROM_START( h2hfootb ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3460.u3", 0x0000, 0x0800, CRC(3a4e53a8) SHA1(5052e706f992c6c4bada1fa7769589eec3df6471) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_h2hfootb_output.pla", 0, 365, CRC(c8d85873) SHA1(16bd6fc8e3cd16d5f8fd32d0c74e67de77f5487e) ) -ROM_END - - -ROM_START( h2hbaskb ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp3320a", 0x0000, 0x0400, CRC(39a63f43) SHA1(14a765e42a39f8d3a465c990e09dd651e595a1c5) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_h2hbaskb_output.pla", 0, 365, CRC(9d1a91e1) SHA1(96303eb22375129b0dfbfcd823c8ca5b919511bc) ) -ROM_END - - -ROM_START( h2hhockey ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp3321a", 0x0000, 0x0400, CRC(e974e604) SHA1(ed740c98ce96ad70ee5237eccae1f54a75ad8100) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_h2hhockey_output.pla", 0, 365, CRC(9d1a91e1) SHA1(96303eb22375129b0dfbfcd823c8ca5b919511bc) ) -ROM_END - - -ROM_START( h2hbaseb ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1525", 0x0000, 0x0800, CRC(b5d6bf9b) SHA1(2cc9f35f077c1209c46d16ec853af87e4725c2fd) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_h2hbaseb_output.pla", 0, 365, CRC(cb3d7e38) SHA1(6ab4a7c52e6010b7c7158463cb499973e52ff556) ) -ROM_END - - -ROM_START( h2hboxing ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "m34018", 0x0000, 0x0800, CRC(e26a11a3) SHA1(aa2735088d709fa8d9188c4fb7982a53e3a8c1bc) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_h2hboxing_output.pla", 0, 365, CRC(ffb0e63d) SHA1(31ee3f779270a23f05f9ad508283d2569ef069f1) ) -ROM_END - - -ROM_START( quizwizc ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "m32001", 0x0000, 0x0400, CRC(053657eb) SHA1(38c84f7416f79aa679f434a3d35df54cd9aa528a) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common3_micro.pla", 0, 867, CRC(80912d0a) SHA1(7ae5293ed4d93f5b7a64d43fe30c3639f39fbe5a) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_quizwizc_output.pla", 0, 365, CRC(475b7053) SHA1(8f61bf736eb41d7029a6b165cc0a184ba0a70a2a) ) -ROM_END - - -ROM_START( tc4 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp7334", 0x0000, 0x1000, CRC(923f3821) SHA1(a9ae342d7ff8dae1dedcd1e4984bcfae68586581) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_tc4_output.pla", 0, 557, CRC(3b908725) SHA1(f83bf5faa5b3cb51f87adc1639b00d6f9a71ad19) ) -ROM_END - - -ROM_START( cnbaskb ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0907", 0x0000, 0x0400, CRC(35f84f0f) SHA1(744ca60bb853a2785184042e747530a9e02488f8) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_cnbaskb_output.pla", 0, 365, CRC(b4e28956) SHA1(8356112da71b351420a88d7e394e7d03e429368c) ) -ROM_END - - -ROM_START( cmsport ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0168.u1", 0x0000, 0x0400, CRC(0712a268) SHA1(bd4e23e5c17b28c52e7e769e44773cc9c8839bed) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_cmsport_output.pla", 0, 365, CRC(7defa140) SHA1(477e3cb55e79938d6acaa911e410f6dcb974c218) ) -ROM_END - - -ROM_START( cnfball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0170", 0x0000, 0x0400, CRC(50e8a44f) SHA1(fea6ae03c4ef329d825f8688e6854df15023d47e) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_cnfball_output.pla", 0, 365, CRC(0af52f64) SHA1(b4cf450e4d895eddb67448aa69e4f18a5a84e033) ) -ROM_END - - -ROM_START( cnfball2 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1181", 0x0000, 0x0800, CRC(4553a840) SHA1(2e1132c9bc51641f77ba7f2430b5a3b2766b3a3d) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_cnfball2_output.pla", 0, 365, NO_DUMP ) -ROM_END - - -ROM_START( eleciq ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0908", 0x0000, 0x0400, CRC(db59b82c) SHA1(c9a6bcba208969560495ad9f8775f53de16a69c3) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_eleciq_output.pla", 0, 365, CRC(b8e04232) SHA1(22eed6d9b1fb1e5c9974ea3df16cda71a39aad57) ) -ROM_END - - -ROM_START( esoccer ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0158.ic1", 0x0000, 0x0400, CRC(ae4581ea) SHA1(5f6881f8247094abf8cffb17f6e6586e94cff38c) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_esoccer_output.pla", 0, 365, CRC(c6eeabbd) SHA1(99d07902126b5a1c1abf43340f30d3390da5fa92) ) -ROM_END - - -ROM_START( ebball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0914", 0x0000, 0x0400, CRC(3c6fb05b) SHA1(b2fe4b3ca72d6b4c9bfa84d67f64afdc215e7178) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_ebball_output.pla", 0, 365, CRC(062bf5bb) SHA1(8d73ee35444299595961225528b153e3a5fe66bf) ) -ROM_END - - -ROM_START( ebball2 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0923", 0x0000, 0x0400, CRC(077acfe2) SHA1(a294ce7614b2cdb01c754a7a50d60d807e3f0939) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_ebball2_output.pla", 0, 365, CRC(adcd73d1) SHA1(d69e590d288ef99293d86716498f3971528e30de) ) -ROM_END - - -ROM_START( ebball3 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "6007_mp1204", 0x0000, 0x0800, CRC(987a29ba) SHA1(9481ae244152187d85349d1a08e439e798182938) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_ebball3_output.pla", 0, 365, CRC(00db663b) SHA1(6eae12503364cfb1f863df0e57970d3e766ec165) ) -ROM_END - - -ROM_START( esbattle ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "en-6004_mp0920", 0x0000, 0x0400, CRC(7460c179) SHA1(be855054b4a98b05b34fd931d5c247c5c0f9b036) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_esbattle_output.pla", 0, 365, CRC(861b45a2) SHA1(a5a9dc9bef8adb761845ad548058b55e970517d3) ) -ROM_END - - -ROM_START( einvader ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1211", 0x0000, 0x0800, CRC(b6efbe8e) SHA1(d7d54921dab22bb0c2956c896a5d5b56b6f64969) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_einvader_output.pla", 0, 365, CRC(490158e1) SHA1(61cace1eb09244663de98d8fb04d9459b19668fd) ) - - ROM_REGION( 44398, "svg", 0) - ROM_LOAD( "einvader.svg", 0, 44398, CRC(48de88fd) SHA1(56a2b9c997a447277b45902ab542eda54e7d5a2f) ) -ROM_END - - -ROM_START( efootb4 ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "6009_mp7551", 0x0000, 0x1000, CRC(54fa7244) SHA1(4d16bd825c4a2db76ca8a263c373ade15c20e270) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_efootb4_output.pla", 0, 557, CRC(5c87c753) SHA1(bde9d4aa1e57a718affd969475c0a1edcf60f444) ) -ROM_END - - -ROM_START( ebaskb2 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "6010_mp1218", 0x0000, 0x0800, CRC(0089ede8) SHA1(c8a79d5aca7e37b637a4d152150acba9f41aad96) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_ebaskb2_output.pla", 0, 365, CRC(c18103ae) SHA1(5a9bb8e1d95a9f6919b05ff9471fa0a8014b8b81) ) -ROM_END - - -ROM_START( raisedvl ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1221", 0x0000, 0x0800, CRC(782791cc) SHA1(214249406fcaf44efc6350022bd534e59ec69c88) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_raisedvl_output.pla", 0, 365, CRC(00db663b) SHA1(6eae12503364cfb1f863df0e57970d3e766ec165) ) -ROM_END - - -ROM_START( f2pbball ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0154", 0x0000, 0x0400, CRC(c5b45ace) SHA1(b2de32e83ab447b22d6828f0081843f364040b01) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_f2pbball_output.pla", 0, 365, CRC(30c2f28f) SHA1(db969b22475f37f083c3594f5e4f5759048377b8) ) -ROM_END - - -ROM_START( f3in1 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1185", 0x0000, 0x0800, CRC(53f7b28d) SHA1(2249890e3a259095193b4331ca88c29ccd81eefe) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_f3in1_output.pla", 0, 365, CRC(51d947bc) SHA1(f766397d84f038be96e83d40989195c98ddcb1d9) ) -ROM_END - - -ROM_START( gpoker ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp2105", 0x0000, 0x0800, CRC(95a8f5b4) SHA1(d14f00ba9f57e437264d972baa14a14a28ff8719) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_gpoker_output.pla", 0, 365, CRC(f7e2d812) SHA1(cc3abd89afb1d2145dc47636553ccd0ba7de70d9) ) -ROM_END - - -ROM_START( gjackpot ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mpf553", 0x0000, 0x1000, CRC(f45fd008) SHA1(8d5d6407a8a031a833ceedfb931f5c9d2725ecd0) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_gjackpot_output.pla", 0, 557, CRC(50e471a7) SHA1(9d862cb9f51a563882b62662c5bfe61b52e3df00) ) -ROM_END - - -ROM_START( ginv1000 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp2139", 0x0000, 0x0800, CRC(036eab37) SHA1(0795878ad89296f7a6a0314c6e4db23c1cc3673e) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_ginv1000_output.pla", 0, 365, CRC(b0a5dc41) SHA1(d94746ec48661998173e7f60ccc7c96e56b3484e) ) - - ROM_REGION( 226185, "svg", 0) - ROM_LOAD( "ginv1000.svg", 0, 226185, CRC(1e1bafd1) SHA1(15868ef0c9dadbf537fed0e2d846451ba99fab7b) ) -ROM_END - - -ROM_START( ginv2000 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1604", 0x0000, 0x0800, CRC(f1646d0b) SHA1(65601931d81e3eef7bf22a08de5a146910ce8137) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_ginv2000_output.pla", 0, 365, CRC(520bb003) SHA1(1640ae54f8dcc257e0ad0cbe0281b38fcbd8da35) ) - - ROM_REGION( 374443, "svg", 0) - ROM_LOAD( "ginv2000.svg", 0, 374443, CRC(a4ce1e6d) SHA1(57d9ff05d634a8d495b9d544a2a959790cd10b6b) ) -ROM_END - - -ROM_START( fxmcr165 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1312", 0x0000, 0x0800, CRC(6efc8bcc) SHA1(ced8a02b472a3178073691d3dccc0f19f57428fd) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_fxmcr165_output.pla", 0, 365, CRC(ce656866) SHA1(40e1614f5afcc7572fda596e1be453d54e95af0c) ) -ROM_END - - -ROM_START( elecdet ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp6100a", 0x0000, 0x1000, CRC(9522fb2d) SHA1(240bdb44b7d67d3b13ebf75851635ac4b4ca2bfd) ) - - ROM_REGION( 1246, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) - ROM_REGION( 1982, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0980_common1_micro.pla", 0, 1982, CRC(3709014f) SHA1(d28ee59ded7f3b9dc3f0594a32a98391b6e9c961) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_elecdet_output.pla", 0, 352, CRC(5d12c24a) SHA1(e486802151a704c6273d4a8682c9c374d27d1e6d) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) -ROM_END - - -ROM_START( starwbc ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3438a", 0x0000, 0x0800, CRC(c12b7069) SHA1(d1f39c69a543c128023ba11cc6228bacdfab04de) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_starwbc_output.pla", 0, 365, CRC(d358a76d) SHA1(06b60b207540e9b726439141acadea9aba718013) ) -ROM_END - -ROM_START( starwbcp ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "us4270755", 0x0000, 0x0800, BAD_DUMP CRC(fb3332f2) SHA1(a79ac81e239983cd699b7cfcc55f89b203b2c9ec) ) // from patent US4270755, may have errors - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_starwbc_output.pla", 0, 365, CRC(d358a76d) SHA1(06b60b207540e9b726439141acadea9aba718013) ) -ROM_END - - -ROM_START( astro ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp1133", 0x0000, 0x1000, CRC(bc21109c) SHA1(05a433cce587d5c0c2d28b5fda5f0853ea6726bf) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_astro_output.pla", 0, 557, CRC(eb08957e) SHA1(62ae0d13a1eaafb34f1b27d7df51441b400ccd56) ) -ROM_END - - -ROM_START( elecbowl ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3403.u9", 0x0000, 0x0800, CRC(9eabaa7d) SHA1(b1f54587ed7f2bbf3a5d49075c807296384c2b06) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, BAD_DUMP CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_elecbowl_output.pla", 0, 365, NO_DUMP ) -ROM_END - - -ROM_START( horseran ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3491", 0x0000, 0x0800, CRC(a0081671) SHA1(a5a07b502c69d429e5bcd1d313e86b6ee057cda6) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) // unused - ROM_LOAD( "tms1100_horseran_output.pla", 0, 365, CRC(0fea09b0) SHA1(27a56fcf2b490e9a7dbbc6ad48cc8aaca4cada94) ) -ROM_END - - -ROM_START( mdndclab ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "m34012", 0x0000, 0x0800, CRC(e851fccd) SHA1(158362c2821678a51554e02dbb2f9ef5aaf5f59f) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_mdndclab_output.pla", 0, 365, CRC(592b40ba) SHA1(63a2531278a665ace54c541101e052eb84413511) ) -ROM_END - - -ROM_START( comp4 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc0904nl_cp0904a", 0x0000, 0x0400, CRC(6233ee1b) SHA1(738e109b38c97804b4ec52bed80b00a8634ad453) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common2_instr.pla", 0, 782, CRC(e038fc44) SHA1(dfc280f6d0a5828d1bb14fcd59ac29caf2c2d981) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_comp4_micro.pla", 0, 860, CRC(ee9d7d9e) SHA1(25484e18f6a07f7cdb21a07220e2f2a82fadfe7b) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_comp4_output.pla", 0, 352, CRC(144ce2d5) SHA1(459b92ad62421932df61b7e3965f1821f9636a2c) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_comp4_segment.pla", 0, 157, CRC(73426b07) SHA1(311be3f95a97936b6d1a4dcfa7746da26318ce54) ) -ROM_END - - -ROM_START( bship ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp3201", 0x0000, 0x0400, CRC(bf6104a6) SHA1(8d28b43a2aa39dcbbe71f669cdafc518715812c9) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_bship_output.pla", 0, 365, CRC(ea0570b0) SHA1(6eb803b40717486d7b24939985f245327ac8a7e9) ) -ROM_END - -ROM_START( bshipb ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp3208", 0x0000, 0x0400, CRC(982fa720) SHA1(1c6dbbe7b9e55d62a510225a88cd2de55fe9b181) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_bshipb_output.pla", 0, 365, BAD_DUMP CRC(74a9a244) SHA1(479c1f1e37cf8f75352e10226b20322906bee813) ) // part of decap photo was obscured -ROM_END - - -ROM_START( simon ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms1000.u1", 0x0000, 0x0400, CRC(9961719d) SHA1(35dddb018a8a2b31f377ab49c1f0cb76951b81c0) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_simon_micro.pla", 0, 867, CRC(52f7c1f1) SHA1(dbc2634dcb98eac173ad0209df487cad413d08a5) ) - ROM_REGION( 365, "maincpu:opla", 0 ) // unused - ROM_LOAD( "tms1000_simon_output.pla", 0, 365, CRC(2943c71b) SHA1(bd5bb55c57e7ba27e49c645937ec1d4e67506601) ) -ROM_END - -ROM_START( simonf ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp3300", 0x0000, 0x0400, CRC(b9fcf93a) SHA1(45960e4242a08495f2a99fc5d44728eabd93cd9f) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_simon_micro.pla", 0, 867, CRC(52f7c1f1) SHA1(dbc2634dcb98eac173ad0209df487cad413d08a5) ) - ROM_REGION( 365, "maincpu:opla", 0 ) // unused - ROM_LOAD( "tms1000_simon_output.pla", 0, 365, CRC(2943c71b) SHA1(bd5bb55c57e7ba27e49c645937ec1d4e67506601) ) -ROM_END - - -ROM_START( ssimon ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3476", 0x0000, 0x0800, CRC(98200571) SHA1(cbd0bcfc11a534aa0be5d011584cdcac58ff437a) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) // unused - ROM_LOAD( "tms1100_ssimon_output.pla", 0, 365, CRC(0fea09b0) SHA1(27a56fcf2b490e9a7dbbc6ad48cc8aaca4cada94) ) -ROM_END - - -ROM_START( bigtrak ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp3301a", 0x0000, 0x0400, CRC(1351bcdd) SHA1(68865389c25b541c09a742be61f8fb6488134d4e) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common3_micro.pla", 0, 867, CRC(80912d0a) SHA1(7ae5293ed4d93f5b7a64d43fe30c3639f39fbe5a) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_bigtrak_output.pla", 0, 365, CRC(63be45f6) SHA1(918e38a223152db883c1a6f7acf56e87d7074734) ) -ROM_END - - -ROM_START( mbdtower ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp7332", 0x0000, 0x1000, CRC(ebeab91a) SHA1(7edbff437da371390fa8f28b3d183f833eaa9be9) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_mbdtower_output.pla", 0, 557, CRC(64c84697) SHA1(72ce6d24cedf9c606f1742cd5620f75907246e87) ) -ROM_END - - -ROM_START( arcmania ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "m34078a", 0x0000, 0x0800, CRC(90ea0087) SHA1(9780c9c1ba89300b1bbe72c47e5fec68d8bb6a77) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_arcmania_output.pla", 0, 365, CRC(a1517b15) SHA1(72eedd7fd41de9c9102219f325fe8668a7c02663) ) -ROM_END - - -ROM_START( cnsector ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0905bnl_za0379", 0x0000, 0x0400, CRC(201036e9) SHA1(b37fef86bb2bceaf0ac8bb3745b4702d17366914) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common2_instr.pla", 0, 782, CRC(e038fc44) SHA1(dfc280f6d0a5828d1bb14fcd59ac29caf2c2d981) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_cnsector_micro.pla", 0, 860, CRC(059f5bb4) SHA1(2653766f9fd74d41d44013bb6f54c0973a6080c9) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_cnsector_output.pla", 0, 352, CRC(c8bfb9d2) SHA1(30c3c73cec194debdcb1dd01b4adfefaeddf9516) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) -ROM_END - - -ROM_START( merlin ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp3404", 0x0000, 0x0800, CRC(7515a75d) SHA1(76ca3605d3fde1df62f79b9bb1f534c2a2ae0229) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common3_micro.pla", 0, 867, CRC(03574895) SHA1(04407cabfb3adee2ee5e4218612cb06c12c540f4) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_merlin_output.pla", 0, 365, CRC(3921b074) SHA1(12bd58e4d6676eb8c7059ef53598279e4f1a32ea) ) -ROM_END - - -ROM_START( mmerlin ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp7351", 0x0000, 0x1000, CRC(0f7a4c83) SHA1(242c1278ddfe92c28fd7cd87300e48e7a4827831) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_mmerlin_output.pla", 0, 557, CRC(fd3dcd93) SHA1(f2afc52df700daa0eb7356c7876af9b2966f971b) ) -ROM_END - - -ROM_START( stopthief ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp6101b", 0x0000, 0x1000, CRC(b9c9d64a) SHA1(481f8653064c142fe5d9314b750bcd73797b92b2) ) - - ROM_REGION( 1246, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) - ROM_REGION( 1982, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0980_common1_micro.pla", 0, 1982, CRC(3709014f) SHA1(d28ee59ded7f3b9dc3f0594a32a98391b6e9c961) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_stopthief_output.pla", 0, 352, CRC(680ca1c1) SHA1(dea6365f2e6b50a52f1a8f1d8417176b905d2bc9) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) -ROM_END - -ROM_START( stopthiefp ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD16_WORD( "us4341385", 0x0000, 0x1000, CRC(07aec38a) SHA1(0a3d0956495c0d6d9ea771feae6c14a473a800dc) ) // from patent US4341385, data should be correct (it included checksums) - - ROM_REGION( 1246, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) - ROM_REGION( 1982, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0980_common1_micro.pla", 0, 1982, CRC(3709014f) SHA1(d28ee59ded7f3b9dc3f0594a32a98391b6e9c961) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_stopthief_output.pla", 0, 352, CRC(680ca1c1) SHA1(dea6365f2e6b50a52f1a8f1d8417176b905d2bc9) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) -ROM_END - - -ROM_START( bankshot ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp7313", 0x0000, 0x1000, CRC(7a5016a9) SHA1(a8730dc8a282ffaa3d89e675f371d43eb39f39b4) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_bankshot_output.pla", 0, 557, CRC(7539283b) SHA1(f791fa98259fc10c393ff1961d4c93040f1a2932) ) -ROM_END - - -ROM_START( splitsec ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp7314", 0x0000, 0x1000, CRC(e94b2098) SHA1(f0fc1f56a829252185592a2508740354c50bedf8) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_splitsec_output.pla", 0, 557, CRC(7539283b) SHA1(f791fa98259fc10c393ff1961d4c93040f1a2932) ) -ROM_END - - -ROM_START( lostreas ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "m34038", 0x0000, 0x0800, CRC(4c996f63) SHA1(ebbaa8b2f909f4300887aa2dbdb7185eedc75d3f) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_lostreas_output.pla", 0, 365, CRC(c62d850f) SHA1(d25974e6901eb10c52cdda12e6d4a13e26745e6f) ) -ROM_END - - -ROM_START( alphie ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "us4280809", 0x0000, 0x0400, CRC(f8f14013) SHA1(bf31b929fcbcb189bbe4623104e1da0a639b5954) ) // from patent US4280809, should be good - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, BAD_DUMP CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) // not in patent description - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_alphie_output.pla", 0, 365, NO_DUMP ) // " -ROM_END - - -ROM_START( tcfball ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1193", 0x0000, 0x0800, CRC(7d9f446f) SHA1(bb6af47b42d989494f21475a73f072cddf58c99f) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_tcfball_output.pla", 0, 365, CRC(26b2996e) SHA1(df0e706c552bf74123aa65e71b0c9b4d33cddb2b) ) -ROM_END - -ROM_START( tcfballa ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1183", 0x0000, 0x0800, CRC(2a4db1d5) SHA1(5df15d1115bb425578ad522d607a582dd478f35c) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_tcfballa_output.pla", 0, 365, NO_DUMP ) -ROM_END - - -ROM_START( tandy12 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "cd7282sl", 0x0000, 0x0800, CRC(a10013dd) SHA1(42ebd3de3449f371b99937f9df39c240d15ac686) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common1_micro.pla", 0, 867, BAD_DUMP CRC(62445fc9) SHA1(d6297f2a4bc7a870b76cc498d19dbb0ce7d69fec) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_tandy12_output.pla", 0, 365, NO_DUMP ) -ROM_END - - -ROM_START( monkeysee ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0271", 0x0000, 0x0400, CRC(acab0f05) SHA1(226f7688caf4a94a88241d3b61ddc4254e4a918c) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_monkeysee_micro.pla", 0, 867, CRC(368d878f) SHA1(956e700a04f453c1610cfdb974fce898ba4cf01f) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_monkeysee_output.pla", 0, 365, CRC(8a010e89) SHA1(3ffbabc5d6c9b34cc06d290817d15b2be42d8b17) ) -ROM_END - - -ROM_START( speechp ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms1007nl", 0x0000, 0x0400, CRC(c2669d5c) SHA1(7943d6f39508a9a82bc21e4fe34a5b9f86e3add2) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common1_micro.pla", 0, 867, CRC(4becec19) SHA1(3c8a9be0f00c88c81f378b76886c39b10304f330) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_speechp_output.pla", 0, 365, CRC(e1b4197f) SHA1(258f4276a9f15c9bfbfa58df2f7202aed1542fdc) ) - - ROM_REGION( 0x0800, "speech", 0 ) - ROM_LOAD("s14007-a", 0x0000, 0x0800, CRC(543b46d4) SHA1(99daf7fe3354c378b4bd883840c9bbd22b22ebe7) ) -ROM_END - - -ROM_START( timaze ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "gb2040172a", 0x0000, 0x0400, CRC(0bab4dc6) SHA1(c9d40649fbb27a8b7cf7460d66c7e217b63376f0) ) // from patent GB2040172A, verified with source code - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, BAD_DUMP CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) // not in patent, use default one - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_timaze_output.pla", 0, 365, BAD_DUMP CRC(f0f36970) SHA1(a6ad1f5e804ac98e5e1a1d07466b3db3a8d6c256) ) // described in patent, but unsure about pin order -ROM_END - - -ROM_START( copycat ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp0919", 0x0000, 0x0400, CRC(92a21299) SHA1(16daadb8dbf53aaab8a71833017b4a578d035d6d) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_copycat_output.pla", 0, 365, CRC(b1d0c96d) SHA1(ac1a003eab3f69e09e9050cb24ea17211e0523fe) ) -ROM_END - -ROM_START( copycatm2 ) - ROM_REGION( 0x0200, "maincpu", 0 ) - ROM_LOAD( "mp3005n", 0x0000, 0x0200, CRC(a87649cb) SHA1(14ef7967a80578885f0b905772c3bb417b5b3255) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_copycatm2_micro.pla", 0, 867, CRC(2710d8ef) SHA1(cb7a13bfabedad43790de753844707fe829baed0) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_copycatm2_output.pla", 0, 365, CRC(d1999aaf) SHA1(0c27789b349e491d5230f9c75c4741e621f5a14e) ) -ROM_END - - -ROM_START( ditto ) - ROM_REGION( 0x0200, "maincpu", 0 ) - ROM_LOAD( "mp1801", 0x0000, 0x0200, CRC(cee6043b) SHA1(4ec334be6835688413637ff9d9d7a5f0d61eba27) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_ditto_micro.pla", 0, 867, CRC(2710d8ef) SHA1(cb7a13bfabedad43790de753844707fe829baed0) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_ditto_output.pla", 0, 365, CRC(2b708a27) SHA1(e95415e51ffbe5da3bde1484fcd20467dde9f09a) ) -ROM_END - - -ROM_START( 7in1ss ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD( "mp7304", 0x0000, 0x1000, CRC(2a1c8390) SHA1(fa10e60686af6828a61f05046abc3854ab49af95) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 557, "maincpu:opla", 0 ) - ROM_LOAD( "tms1400_7in1ss_output.pla", 0, 557, CRC(6b7660f7) SHA1(bb7d58fa04e7606ccdf5b209e1b089948bdd1e7c) ) -ROM_END - - -ROM_START( tbreakup ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "mp2726a", 0x0000, 0x0400, CRC(1f7c28e2) SHA1(164cda4eb3f0b1d20955212a197c9aadf8d18a06) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_tbreakup_output.pla", 0, 365, CRC(a1ea035e) SHA1(fcf0b57ed90b41441a8974223a697f530daac0ab) ) -ROM_END - - -ROM_START( phpball ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1180", 0x0000, 0x0800, CRC(2163b92d) SHA1(bc53d1911e88b4e89d951c6f769703105c13389c) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_phpball_output.pla", 0, 365, CRC(87e67aaf) SHA1(ebc7bae1352f39173f1bf0dc10cdc6f635dedab4) ) -ROM_END - - -ROM_START( ssports4 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "mp1219", 0x0000, 0x0800, CRC(865c06d6) SHA1(12a625a13bdb57b82b35c42b175d38756a1e2e04) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1100_common2_micro.pla", 0, 867, BAD_DUMP CRC(7cc90264) SHA1(c6e1cf1ffb178061da9e31858514f7cd94e86990) ) // not verified - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1100_ssports4_output.pla", 0, 365, NO_DUMP ) -ROM_END - +// roms ROM_START( xl25 ) ROM_REGION( 0x0400, "maincpu", 0 ) @@ -10359,6 +10379,14 @@ ROM_END +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + // YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS CONS( 1979, matchnum, 0, 0, matchnum, matchnum, matchnum_state, empty_init, "A-One LSI", "Match Number", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) CONS( 1980, arrball, 0, 0, arrball, arrball, arrball_state, empty_init, "A-One LSI", "Arrange Ball", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp index cff4c17c542..755575bb98f 100644 --- a/src/mame/drivers/hh_ucom4.cpp +++ b/src/mame/drivers/hh_ucom4.cpp @@ -241,10 +241,12 @@ INPUT_CHANGED_MEMBER(hh_ucom4_state::single_interrupt_line) /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Bambino UFO Master-Blaster Station (manufactured in Japan) @@ -267,8 +269,8 @@ INPUT_CHANGED_MEMBER(hh_ucom4_state::single_interrupt_line) class ufombs_state : public hh_ucom4_state { public: - ufombs_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + ufombs_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -357,6 +359,16 @@ void ufombs_state::ufombs(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ufombs ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "d552c-017", 0x0000, 0x0400, CRC(0e208cb3) SHA1(57db6566916c94325e2b67ccb94b4ea3b233487d) ) + + ROM_REGION( 222395, "svg", 0) + ROM_LOAD( "ufombs.svg", 0, 222395, CRC(ae9fb93f) SHA1(165ea78eee93c503dbd277a56c41e3c63c534e38) ) +ROM_END + @@ -380,8 +392,8 @@ void ufombs_state::ufombs(machine_config &config) class ssfball_state : public hh_ucom4_state { public: - ssfball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + ssfball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -504,6 +516,24 @@ void ssfball_state::ssfball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( ssfball ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-031", 0x0000, 0x0800, CRC(ff5d91d0) SHA1(9b2c0ae45f1e3535108ee5fef8a9010e00c8d5c3) ) + + ROM_REGION( 331352, "svg", 0) + ROM_LOAD( "ssfball.svg", 0, 331352, CRC(10cffb85) SHA1(c875f73a323d976088ffa1bc19f7bc865d4aac62) ) +ROM_END + +ROM_START( bmcfball ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-031", 0x0000, 0x0800, CRC(ff5d91d0) SHA1(9b2c0ae45f1e3535108ee5fef8a9010e00c8d5c3) ) + + ROM_REGION( 331352, "svg", 0) + ROM_LOAD( "bmcfball.svg", 0, 331352, CRC(43fbed1e) SHA1(28160e14b0879cd4dd9dab770c52c98f316ab653) ) +ROM_END + @@ -524,8 +554,8 @@ void ssfball_state::ssfball(machine_config &config) class bmsoccer_state : public hh_ucom4_state { public: - bmsoccer_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + bmsoccer_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -631,6 +661,16 @@ void bmsoccer_state::bmsoccer(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bmsoccer ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "d552c-043", 0x0000, 0x0400, CRC(10c2a4ea) SHA1(6ebca7d406e22ff7a8cd529579b55a700da487b4) ) + + ROM_REGION( 273796, "svg", 0) + ROM_LOAD( "bmsoccer.svg", 0, 273796, CRC(4c88d9f8) SHA1(b4b82f26a09f54cd0b6a9d1c1a46796fbfcb578a) ) +ROM_END + @@ -647,8 +687,8 @@ void bmsoccer_state::bmsoccer(machine_config &config) class bmsafari_state : public hh_ucom4_state { public: - bmsafari_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + bmsafari_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -738,6 +778,16 @@ void bmsafari_state::bmsafari(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bmsafari ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "d552c-049", 0x0000, 0x0400, CRC(82fa3cbe) SHA1(019e7ec784e977eba09997fc46af253054fb222c) ) + + ROM_REGION( 275386, "svg", 0) + ROM_LOAD( "bmsafari.svg", 0, 275386, CRC(c24badbc) SHA1(b191f34155d6d4e834e7c6fe715d4bb76198ad72) ) +ROM_END + @@ -757,8 +807,8 @@ void bmsafari_state::bmsafari(machine_config &config) class splasfgt_state : public hh_ucom4_state { public: - splasfgt_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + splasfgt_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -890,6 +940,16 @@ void splasfgt_state::splasfgt(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( splasfgt ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-055", 0x0000, 0x0800, CRC(eb471fbd) SHA1(f06cfe567bf6f9ed4dcdc88acdcfad50cd370a02) ) + + ROM_REGION( 246609, "svg", 0) + ROM_LOAD( "splasfgt.svg", 0, 246609, CRC(365fae43) SHA1(344c120c2efa92ada9171047affac801a06cf303) ) +ROM_END + @@ -910,8 +970,8 @@ void splasfgt_state::splasfgt(machine_config &config) class bcclimbr_state : public hh_ucom4_state { public: - bcclimbr_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + bcclimbr_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -993,6 +1053,16 @@ void bcclimbr_state::bcclimbr(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( bcclimbr ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-170", 0x0000, 0x0800, CRC(fc2eabdb) SHA1(0f5cc854be7fdf105d9bd2114659d40c65f9d782) ) + + ROM_REGION( 219971, "svg", 0) + ROM_LOAD( "bcclimbr.svg", 0, 219971, CRC(9c9102f4) SHA1(6a7e02fd1467a26c734b01724e23cef9e4917805) ) +ROM_END + @@ -1015,8 +1085,8 @@ void bcclimbr_state::bcclimbr(machine_config &config) class tactix_state : public hh_ucom4_state { public: - tactix_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tactix_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(leds_w); @@ -1108,6 +1178,13 @@ void tactix_state::tactix(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tactix ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d557lc-512", 0x0000, 0x0800, CRC(1df738cb) SHA1(15a5de28a3c03e6894d29c56b5b424983569ccf2) ) +ROM_END + @@ -1128,8 +1205,8 @@ void tactix_state::tactix(machine_config &config) class invspace_state : public hh_ucom4_state { public: - invspace_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + invspace_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -1210,6 +1287,16 @@ void invspace_state::invspace(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( invspace ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "d552c-054", 0x0000, 0x0400, CRC(913d9c13) SHA1(f20edb5458e54d2f6d4e45e5d59efd87e05a6f3f) ) + + ROM_REGION( 110899, "svg", 0) + ROM_LOAD( "invspace.svg", 0, 110899, CRC(ae794333) SHA1(3552215389f02e4ef1d608f7dfc84f0499a78ee2) ) +ROM_END + @@ -1230,8 +1317,8 @@ void invspace_state::invspace(machine_config &config) class efball_state : public hh_ucom4_state { public: - efball_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + efball_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -1321,6 +1408,13 @@ void efball_state::efball(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( efball ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-080", 0x0000, 0x0800, CRC(54c1027f) SHA1(6cc98074dae9361fa8c0ed6501b6a57ad325ccbd) ) +ROM_END + @@ -1343,8 +1437,8 @@ void efball_state::efball(machine_config &config) class galaxy2_state : public hh_ucom4_state { public: - galaxy2_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + galaxy2_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -1431,10 +1525,29 @@ void galaxy2_state::galaxy2b(machine_config &config) galaxy2(config); /* video hardware */ - subdevice("screen")->set_size(306, 1080); - subdevice("screen")->set_visarea(0, 306-1, 0, 1080-1); + screen_device *screen = subdevice("screen"); + screen->set_size(306, 1080); + screen->set_visarea(0, 306-1, 0, 1080-1); } +// roms + +ROM_START( galaxy2 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-153.s01", 0x0000, 0x0800, CRC(70d552b3) SHA1(72d50647701cb4bf85ea947a149a317aaec0f52c) ) + + ROM_REGION( 325057, "svg", 0) + ROM_LOAD( "galaxy2d.svg", 0, 325057, CRC(b2d27a0e) SHA1(502ec22c324903ffe8ff235b9a3b8898dce17a64) ) +ROM_END + +ROM_START( galaxy2b ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-153.s01", 0x0000, 0x0800, CRC(70d552b3) SHA1(72d50647701cb4bf85ea947a149a317aaec0f52c) ) + + ROM_REGION( 266377, "svg", 0) + ROM_LOAD( "galaxy2b.svg", 0, 266377, CRC(8633cebb) SHA1(6c41f5e918e1522eb55ef24270900a1b2477722b) ) +ROM_END + @@ -1456,8 +1569,8 @@ void galaxy2_state::galaxy2b(machine_config &config) class astrocmd_state : public hh_ucom4_state { public: - astrocmd_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + astrocmd_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -1545,6 +1658,16 @@ void astrocmd_state::astrocmd(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( astrocmd ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-202.s01", 0x0000, 0x0800, CRC(b4b34883) SHA1(6246d561c2df1f2124575d2ca671ef85b1819edd) ) + + ROM_REGION( 335362, "svg", 0) + ROM_LOAD( "astrocmd.svg", 0, 335362, CRC(fe2cd30f) SHA1(898a3d9afc5dca6c63ae28aed2c8530716ad1c45) ) +ROM_END + @@ -1566,8 +1689,8 @@ void astrocmd_state::astrocmd(machine_config &config) class edracula_state : public hh_ucom4_state { public: - edracula_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + edracula_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(grid_w); @@ -1641,6 +1764,16 @@ void edracula_state::edracula(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( edracula ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-206.s01", 0x0000, 0x0800, CRC(b524857b) SHA1(c1c89ed5dd4bb1e6e98462dc8fa5af2aa48d8ede) ) + + ROM_REGION( 794532, "svg", 0) + ROM_LOAD( "edracula.svg", 0, 794532, CRC(d20e018c) SHA1(7f70f1d373c034ec8c93e27b7e3371578ddaf61b) ) +ROM_END + @@ -1656,8 +1789,8 @@ void edracula_state::edracula(machine_config &config) class mcompgin_state : public hh_ucom4_state { public: - mcompgin_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag), + mcompgin_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag), m_lcd(*this, "lcd") { } @@ -1718,6 +1851,13 @@ void mcompgin_state::mcompgin(machine_config &config) /* no sound! */ } +// roms + +ROM_START( mcompgin ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d650c-060", 0x0000, 0x0800, CRC(985e6da6) SHA1(ea4102a10a5741f06297c5426156e4b2f0d85a68) ) +ROM_END + @@ -1734,8 +1874,8 @@ void mcompgin_state::mcompgin(machine_config &config) class mvbfree_state : public hh_ucom4_state { public: - mvbfree_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + mvbfree_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -1821,6 +1961,13 @@ void mvbfree_state::mvbfree(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( mvbfree ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-049", 0x0000, 0x0800, CRC(d64a8399) SHA1(97887e486fa29b1fc4a5a40cacf3c960f67aacbf) ) +ROM_END + @@ -1845,8 +1992,8 @@ void mvbfree_state::mvbfree(machine_config &config) class grobot9_state : public hh_ucom4_state { public: - grobot9_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + grobot9_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(lamps_w); @@ -1936,6 +2083,13 @@ void grobot9_state::grobot9(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( grobot9 ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "ttgr-511", 0x0000, 0x0800, CRC(1f25b2bb) SHA1(55ae7e23f6dd46cc6e1a65839327726678410c3a) ) +ROM_END + @@ -1956,8 +2110,8 @@ void grobot9_state::grobot9(machine_config &config) class tccombat_state : public hh_ucom4_state { public: - tccombat_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tccombat_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -2034,6 +2188,16 @@ void tccombat_state::tccombat(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tccombat ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "d552c-042", 0x0000, 0x0400, CRC(d7b5cfeb) SHA1(a267be8e43b7740758eb0881b655b1cc8aec43da) ) + + ROM_REGION( 210960, "svg", 0) + ROM_LOAD( "tccombat.svg", 0, 210960, CRC(03e9eba6) SHA1(d558d3063da42dc7cc02b769bca06a3732418837) ) +ROM_END + @@ -2056,8 +2220,8 @@ void tccombat_state::tccombat(machine_config &config) class tmtennis_state : public hh_ucom4_state { public: - tmtennis_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tmtennis_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(grid_w); @@ -2066,15 +2230,29 @@ public: DECLARE_READ8_MEMBER(input_r); void set_clock(); - DECLARE_INPUT_CHANGED_MEMBER(difficulty_switch); + DECLARE_INPUT_CHANGED_MEMBER(difficulty_switch) { set_clock(); } void tmtennis(machine_config &config); protected: virtual void machine_reset() override; }; +void tmtennis_state::machine_reset() +{ + hh_ucom4_state::machine_reset(); + set_clock(); +} + // handlers +void tmtennis_state::set_clock() +{ + // MCU clock is from an LC circuit oscillating by default at ~360kHz, + // but on PRO1, the difficulty switch puts a capacitor across the LC circuit + // to slow it down to ~260kHz. + m_maincpu->set_unscaled_clock((m_inp_matrix[1]->read() & 0x100) ? 260000 : 360000); +} + WRITE8_MEMBER(tmtennis_state::grid_w) { // G,H,I: vfd grid @@ -2145,25 +2323,6 @@ static INPUT_PORTS_START( tmtennis ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 Button 6") INPUT_PORTS_END -INPUT_CHANGED_MEMBER(tmtennis_state::difficulty_switch) -{ - set_clock(); -} - -void tmtennis_state::set_clock() -{ - // MCU clock is from an LC circuit oscillating by default at ~360kHz, - // but on PRO1, the difficulty switch puts a capacitor across the LC circuit - // to slow it down to ~260kHz. - m_maincpu->set_unscaled_clock((m_inp_matrix[1]->read() & 0x100) ? 260000 : 360000); -} - -void tmtennis_state::machine_reset() -{ - hh_ucom4_state::machine_reset(); - set_clock(); -} - void tmtennis_state::tmtennis(machine_config &config) { /* basic machine hardware */ @@ -2192,6 +2351,16 @@ void tmtennis_state::tmtennis(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tmtennis ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "d552c-048", 0x0000, 0x0400, CRC(78702003) SHA1(4d427d4dbeed901770c682338867f58c7b54eee3) ) + + ROM_REGION( 204490, "svg", 0) + ROM_LOAD( "tmtennis.svg", 0, 204490, CRC(ed0086e9) SHA1(26a5b2f0a9cd70401187146e1495aee80020658b) ) +ROM_END + @@ -2218,8 +2387,8 @@ void tmtennis_state::tmtennis(machine_config &config) class tmpacman_state : public hh_ucom4_state { public: - tmpacman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tmpacman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -2301,6 +2470,16 @@ void tmpacman_state::tmpacman(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tmpacman ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-160", 0x0000, 0x0800, CRC(b21a8af7) SHA1(e3122be1873ce76a4067386bf250802776f0c2f9) ) + + ROM_REGION( 230216, "svg", 0) + ROM_LOAD( "tmpacman.svg", 0, 230216, CRC(2ab5c0f1) SHA1(b2b6482b03c28515dc76fd3d6034c8b7e6bf6efc) ) +ROM_END + @@ -2323,8 +2502,8 @@ void tmpacman_state::tmpacman(machine_config &config) class tmscramb_state : public hh_ucom4_state { public: - tmscramb_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tmscramb_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -2404,6 +2583,16 @@ void tmscramb_state::tmscramb(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tmscramb ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-192", 0x0000, 0x0800, CRC(00fcc501) SHA1(a7771e934bf8268c83f38c7ec0acc668836e0939) ) + + ROM_REGION( 235601, "svg", 0) + ROM_LOAD( "tmscramb.svg", 0, 235601, CRC(9e76219a) SHA1(275273b98d378c9313dd73a3b86cc661a824b7af) ) +ROM_END + @@ -2425,8 +2614,8 @@ void tmscramb_state::tmscramb(machine_config &config) class tcaveman_state : public hh_ucom4_state { public: - tcaveman_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tcaveman_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void prepare_display(); @@ -2503,6 +2692,16 @@ void tcaveman_state::tcaveman(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( tcaveman ) + ROM_REGION( 0x0800, "maincpu", 0 ) + ROM_LOAD( "d553c-209", 0x0000, 0x0800, CRC(d230d4b7) SHA1(2fb12b60410f5567c5e3afab7b8f5aa855d283be) ) + + ROM_REGION( 306952, "svg", 0) + ROM_LOAD( "tcaveman.svg", 0, 306952, CRC(a0588b14) SHA1(f67edf579963fc19bc7f9d268329cbc0230712d8) ) +ROM_END + @@ -2525,8 +2724,8 @@ void tcaveman_state::tcaveman(machine_config &config) class alnchase_state : public hh_ucom4_state { public: - alnchase_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + alnchase_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(output_w); @@ -2636,196 +2835,7 @@ void alnchase_state::alnchase(machine_config &config) m_speaker->add_route(ALL_OUTPUTS, "mono", 0.25); } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( ufombs ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "d552c-017", 0x0000, 0x0400, CRC(0e208cb3) SHA1(57db6566916c94325e2b67ccb94b4ea3b233487d) ) - - ROM_REGION( 222395, "svg", 0) - ROM_LOAD( "ufombs.svg", 0, 222395, CRC(ae9fb93f) SHA1(165ea78eee93c503dbd277a56c41e3c63c534e38) ) -ROM_END - - -ROM_START( ssfball ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-031", 0x0000, 0x0800, CRC(ff5d91d0) SHA1(9b2c0ae45f1e3535108ee5fef8a9010e00c8d5c3) ) - - ROM_REGION( 331352, "svg", 0) - ROM_LOAD( "ssfball.svg", 0, 331352, CRC(10cffb85) SHA1(c875f73a323d976088ffa1bc19f7bc865d4aac62) ) -ROM_END - -ROM_START( bmcfball ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-031", 0x0000, 0x0800, CRC(ff5d91d0) SHA1(9b2c0ae45f1e3535108ee5fef8a9010e00c8d5c3) ) - - ROM_REGION( 331352, "svg", 0) - ROM_LOAD( "bmcfball.svg", 0, 331352, CRC(43fbed1e) SHA1(28160e14b0879cd4dd9dab770c52c98f316ab653) ) -ROM_END - - -ROM_START( bmsoccer ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "d552c-043", 0x0000, 0x0400, CRC(10c2a4ea) SHA1(6ebca7d406e22ff7a8cd529579b55a700da487b4) ) - - ROM_REGION( 273796, "svg", 0) - ROM_LOAD( "bmsoccer.svg", 0, 273796, CRC(4c88d9f8) SHA1(b4b82f26a09f54cd0b6a9d1c1a46796fbfcb578a) ) -ROM_END - - -ROM_START( bmsafari ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "d552c-049", 0x0000, 0x0400, CRC(82fa3cbe) SHA1(019e7ec784e977eba09997fc46af253054fb222c) ) - - ROM_REGION( 275386, "svg", 0) - ROM_LOAD( "bmsafari.svg", 0, 275386, CRC(c24badbc) SHA1(b191f34155d6d4e834e7c6fe715d4bb76198ad72) ) -ROM_END - - -ROM_START( splasfgt ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-055", 0x0000, 0x0800, CRC(eb471fbd) SHA1(f06cfe567bf6f9ed4dcdc88acdcfad50cd370a02) ) - - ROM_REGION( 246609, "svg", 0) - ROM_LOAD( "splasfgt.svg", 0, 246609, CRC(365fae43) SHA1(344c120c2efa92ada9171047affac801a06cf303) ) -ROM_END - - -ROM_START( bcclimbr ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-170", 0x0000, 0x0800, CRC(fc2eabdb) SHA1(0f5cc854be7fdf105d9bd2114659d40c65f9d782) ) - - ROM_REGION( 219971, "svg", 0) - ROM_LOAD( "bcclimbr.svg", 0, 219971, CRC(9c9102f4) SHA1(6a7e02fd1467a26c734b01724e23cef9e4917805) ) -ROM_END - - -ROM_START( tactix ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d557lc-512", 0x0000, 0x0800, CRC(1df738cb) SHA1(15a5de28a3c03e6894d29c56b5b424983569ccf2) ) -ROM_END - - -ROM_START( invspace ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "d552c-054", 0x0000, 0x0400, CRC(913d9c13) SHA1(f20edb5458e54d2f6d4e45e5d59efd87e05a6f3f) ) - - ROM_REGION( 110899, "svg", 0) - ROM_LOAD( "invspace.svg", 0, 110899, CRC(ae794333) SHA1(3552215389f02e4ef1d608f7dfc84f0499a78ee2) ) -ROM_END - - -ROM_START( efball ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-080", 0x0000, 0x0800, CRC(54c1027f) SHA1(6cc98074dae9361fa8c0ed6501b6a57ad325ccbd) ) -ROM_END - - -ROM_START( galaxy2 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-153.s01", 0x0000, 0x0800, CRC(70d552b3) SHA1(72d50647701cb4bf85ea947a149a317aaec0f52c) ) - - ROM_REGION( 325057, "svg", 0) - ROM_LOAD( "galaxy2d.svg", 0, 325057, CRC(b2d27a0e) SHA1(502ec22c324903ffe8ff235b9a3b8898dce17a64) ) -ROM_END - -ROM_START( galaxy2b ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-153.s01", 0x0000, 0x0800, CRC(70d552b3) SHA1(72d50647701cb4bf85ea947a149a317aaec0f52c) ) - - ROM_REGION( 266377, "svg", 0) - ROM_LOAD( "galaxy2b.svg", 0, 266377, CRC(8633cebb) SHA1(6c41f5e918e1522eb55ef24270900a1b2477722b) ) -ROM_END - - -ROM_START( astrocmd ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-202.s01", 0x0000, 0x0800, CRC(b4b34883) SHA1(6246d561c2df1f2124575d2ca671ef85b1819edd) ) - - ROM_REGION( 335362, "svg", 0) - ROM_LOAD( "astrocmd.svg", 0, 335362, CRC(fe2cd30f) SHA1(898a3d9afc5dca6c63ae28aed2c8530716ad1c45) ) -ROM_END - - -ROM_START( edracula ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-206.s01", 0x0000, 0x0800, CRC(b524857b) SHA1(c1c89ed5dd4bb1e6e98462dc8fa5af2aa48d8ede) ) - - ROM_REGION( 794532, "svg", 0) - ROM_LOAD( "edracula.svg", 0, 794532, CRC(d20e018c) SHA1(7f70f1d373c034ec8c93e27b7e3371578ddaf61b) ) -ROM_END - - -ROM_START( mcompgin ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d650c-060", 0x0000, 0x0800, CRC(985e6da6) SHA1(ea4102a10a5741f06297c5426156e4b2f0d85a68) ) -ROM_END - - -ROM_START( mvbfree ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-049", 0x0000, 0x0800, CRC(d64a8399) SHA1(97887e486fa29b1fc4a5a40cacf3c960f67aacbf) ) -ROM_END - - -ROM_START( grobot9 ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "ttgr-511", 0x0000, 0x0800, CRC(1f25b2bb) SHA1(55ae7e23f6dd46cc6e1a65839327726678410c3a) ) -ROM_END - - -ROM_START( tccombat ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "d552c-042", 0x0000, 0x0400, CRC(d7b5cfeb) SHA1(a267be8e43b7740758eb0881b655b1cc8aec43da) ) - - ROM_REGION( 210960, "svg", 0) - ROM_LOAD( "tccombat.svg", 0, 210960, CRC(03e9eba6) SHA1(d558d3063da42dc7cc02b769bca06a3732418837) ) -ROM_END - - -ROM_START( tmtennis ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "d552c-048", 0x0000, 0x0400, CRC(78702003) SHA1(4d427d4dbeed901770c682338867f58c7b54eee3) ) - - ROM_REGION( 204490, "svg", 0) - ROM_LOAD( "tmtennis.svg", 0, 204490, CRC(ed0086e9) SHA1(26a5b2f0a9cd70401187146e1495aee80020658b) ) -ROM_END - - -ROM_START( tmpacman ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-160", 0x0000, 0x0800, CRC(b21a8af7) SHA1(e3122be1873ce76a4067386bf250802776f0c2f9) ) - - ROM_REGION( 230216, "svg", 0) - ROM_LOAD( "tmpacman.svg", 0, 230216, CRC(2ab5c0f1) SHA1(b2b6482b03c28515dc76fd3d6034c8b7e6bf6efc) ) -ROM_END - - -ROM_START( tmscramb ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-192", 0x0000, 0x0800, CRC(00fcc501) SHA1(a7771e934bf8268c83f38c7ec0acc668836e0939) ) - - ROM_REGION( 235601, "svg", 0) - ROM_LOAD( "tmscramb.svg", 0, 235601, CRC(9e76219a) SHA1(275273b98d378c9313dd73a3b86cc661a824b7af) ) -ROM_END - - -ROM_START( tcaveman ) - ROM_REGION( 0x0800, "maincpu", 0 ) - ROM_LOAD( "d553c-209", 0x0000, 0x0800, CRC(d230d4b7) SHA1(2fb12b60410f5567c5e3afab7b8f5aa855d283be) ) - - ROM_REGION( 306952, "svg", 0) - ROM_LOAD( "tcaveman.svg", 0, 306952, CRC(a0588b14) SHA1(f67edf579963fc19bc7f9d268329cbc0230712d8) ) -ROM_END - +// roms ROM_START( alnchase ) ROM_REGION( 0x0800, "maincpu", 0 ) @@ -2837,37 +2847,45 @@ ROM_END -// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS -CONS( 1979, ufombs, 0, 0, ufombs, ufombs, ufombs_state, empty_init, "Bambino", "UFO Master-Blaster Station", MACHINE_SUPPORTS_SAVE ) -CONS( 1979, ssfball, 0, 0, ssfball, ssfball, ssfball_state, empty_init, "Bambino", "Superstar Football (Bambino)", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, bmcfball, ssfball, 0, ssfball, ssfball, ssfball_state, empty_init, "Bambino", "Classic Football (Bambino)", MACHINE_SUPPORTS_SAVE ) -CONS( 1979, bmsoccer, 0, 0, bmsoccer, bmsoccer, bmsoccer_state, empty_init, "Bambino", "Kick The Goal Soccer", MACHINE_SUPPORTS_SAVE ) -CONS( 1981, bmsafari, 0, 0, bmsafari, bmsafari, bmsafari_state, empty_init, "Bambino", "Safari (Bambino)", MACHINE_SUPPORTS_SAVE ) -CONS( 1980, splasfgt, 0, 0, splasfgt, splasfgt, splasfgt_state, empty_init, "Bambino", "Space Laser Fight", MACHINE_SUPPORTS_SAVE ) +} // anonymous namespace -CONS( 1982, bcclimbr, 0, 0, bcclimbr, bcclimbr, bcclimbr_state, empty_init, "Bandai", "Crazy Climber (Bandai)", MACHINE_SUPPORTS_SAVE ) +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + +// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS +CONS( 1979, ufombs, 0, 0, ufombs, ufombs, ufombs_state, empty_init, "Bambino", "UFO Master-Blaster Station", MACHINE_SUPPORTS_SAVE ) +CONS( 1979, ssfball, 0, 0, ssfball, ssfball, ssfball_state, empty_init, "Bambino", "Superstar Football (Bambino)", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, bmcfball, ssfball, 0, ssfball, ssfball, ssfball_state, empty_init, "Bambino", "Classic Football (Bambino)", MACHINE_SUPPORTS_SAVE ) +CONS( 1979, bmsoccer, 0, 0, bmsoccer, bmsoccer, bmsoccer_state, empty_init, "Bambino", "Kick The Goal Soccer", MACHINE_SUPPORTS_SAVE ) +CONS( 1981, bmsafari, 0, 0, bmsafari, bmsafari, bmsafari_state, empty_init, "Bambino", "Safari (Bambino)", MACHINE_SUPPORTS_SAVE ) +CONS( 1980, splasfgt, 0, 0, splasfgt, splasfgt, splasfgt_state, empty_init, "Bambino", "Space Laser Fight", MACHINE_SUPPORTS_SAVE ) + +CONS( 1982, bcclimbr, 0, 0, bcclimbr, bcclimbr, bcclimbr_state, empty_init, "Bandai", "Crazy Climber (Bandai)", MACHINE_SUPPORTS_SAVE ) CONS( 1980, tactix, 0, 0, tactix, tactix, tactix_state, empty_init, "Castle Toy", "Tactix (Castle Toy)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) -CONS( 1980, invspace, 0, 0, invspace, invspace, invspace_state, empty_init, "Epoch", "Invader From Space", MACHINE_SUPPORTS_SAVE ) -CONS( 1980, efball, 0, 0, efball, efball, efball_state, empty_init, "Epoch", "Electronic Football (Epoch)", MACHINE_SUPPORTS_SAVE ) -CONS( 1981, galaxy2, 0, 0, galaxy2, galaxy2, galaxy2_state, empty_init, "Epoch", "Galaxy II (VFD Rev. D)", MACHINE_SUPPORTS_SAVE ) -CONS( 1981, galaxy2b, galaxy2, 0, galaxy2b, galaxy2, galaxy2_state, empty_init, "Epoch", "Galaxy II (VFD Rev. B)", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, astrocmd, 0, 0, astrocmd, astrocmd, astrocmd_state, empty_init, "Epoch", "Astro Command", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, edracula, 0, 0, edracula, edracula, edracula_state, empty_init, "Epoch", "Dracula (Epoch)", MACHINE_SUPPORTS_SAVE ) +CONS( 1980, invspace, 0, 0, invspace, invspace, invspace_state, empty_init, "Epoch", "Invader From Space", MACHINE_SUPPORTS_SAVE ) +CONS( 1980, efball, 0, 0, efball, efball, efball_state, empty_init, "Epoch", "Electronic Football (Epoch)", MACHINE_SUPPORTS_SAVE ) +CONS( 1981, galaxy2, 0, 0, galaxy2, galaxy2, galaxy2_state, empty_init, "Epoch", "Galaxy II (VFD Rev. D)", MACHINE_SUPPORTS_SAVE ) +CONS( 1981, galaxy2b, galaxy2, 0, galaxy2b, galaxy2, galaxy2_state, empty_init, "Epoch", "Galaxy II (VFD Rev. B)", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, astrocmd, 0, 0, astrocmd, astrocmd, astrocmd_state, empty_init, "Epoch", "Astro Command", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, edracula, 0, 0, edracula, edracula, edracula_state, empty_init, "Epoch", "Dracula (Epoch)", MACHINE_SUPPORTS_SAVE ) -CONS( 1979, mcompgin, 0, 0, mcompgin, mcompgin, mcompgin_state, empty_init, "Mattel", "Computer Gin", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) +CONS( 1979, mcompgin, 0, 0, mcompgin, mcompgin, mcompgin_state, empty_init, "Mattel", "Computer Gin", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) -CONS( 1979, mvbfree, 0, 0, mvbfree, mvbfree, mvbfree_state, empty_init, "Mego", "Mini-Vid Break Free", MACHINE_SUPPORTS_SAVE ) +CONS( 1979, mvbfree, 0, 0, mvbfree, mvbfree, mvbfree_state, empty_init, "Mego", "Mini-Vid Break Free", MACHINE_SUPPORTS_SAVE ) CONS( 1980, grobot9, 0, 0, grobot9, grobot9, grobot9_state, empty_init, "Takatoku Toys", "Game Robot 9", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // some of the minigames: *** -CONS( 1980, tccombat, 0, 0, tccombat, tccombat, tccombat_state, empty_init, "Tomy", "Cosmic Combat", MACHINE_SUPPORTS_SAVE ) -CONS( 1980, tmtennis, 0, 0, tmtennis, tmtennis, tmtennis_state, empty_init, "Tomy", "Tennis (Tomy)", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, tmpacman, 0, 0, tmpacman, tmpacman, tmpacman_state, empty_init, "Tomy", "Pac Man (Tomy)", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, tmscramb, 0, 0, tmscramb, tmscramb, tmscramb_state, empty_init, "Tomy", "Scramble (Tomy)", MACHINE_SUPPORTS_SAVE ) -CONS( 1982, tcaveman, 0, 0, tcaveman, tcaveman, tcaveman_state, empty_init, "Tomy", "Caveman (Tomy)", MACHINE_SUPPORTS_SAVE ) -CONS( 1984, alnchase, 0, 0, alnchase, alnchase, alnchase_state, empty_init, "Tomy", "Alien Chase", MACHINE_SUPPORTS_SAVE ) +CONS( 1980, tccombat, 0, 0, tccombat, tccombat, tccombat_state, empty_init, "Tomy", "Cosmic Combat", MACHINE_SUPPORTS_SAVE ) +CONS( 1980, tmtennis, 0, 0, tmtennis, tmtennis, tmtennis_state, empty_init, "Tomy", "Tennis (Tomy)", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, tmpacman, 0, 0, tmpacman, tmpacman, tmpacman_state, empty_init, "Tomy", "Pac Man (Tomy)", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, tmscramb, 0, 0, tmscramb, tmscramb, tmscramb_state, empty_init, "Tomy", "Scramble (Tomy)", MACHINE_SUPPORTS_SAVE ) +CONS( 1982, tcaveman, 0, 0, tcaveman, tcaveman, tcaveman_state, empty_init, "Tomy", "Caveman (Tomy)", MACHINE_SUPPORTS_SAVE ) +CONS( 1984, alnchase, 0, 0, alnchase, alnchase, alnchase_state, empty_init, "Tomy", "Alien Chase", MACHINE_SUPPORTS_SAVE ) // ***: As far as MAME is concerned, the game is emulated fine. But for it to be playable, it requires interaction // with other, unemulatable, things eg. game board/pieces, playing cards, pen & paper, etc. diff --git a/src/mame/drivers/tb303.cpp b/src/mame/drivers/tb303.cpp index 569a133ac2d..88eb81972ce 100644 --- a/src/mame/drivers/tb303.cpp +++ b/src/mame/drivers/tb303.cpp @@ -23,8 +23,8 @@ class tb303_state : public hh_ucom4_state { public: - tb303_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tb303_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void tb303(machine_config &config); diff --git a/src/mame/drivers/ticalc1x.cpp b/src/mame/drivers/ticalc1x.cpp index ab7d11eb0d8..92ab626b219 100644 --- a/src/mame/drivers/ticalc1x.cpp +++ b/src/mame/drivers/ticalc1x.cpp @@ -38,8 +38,8 @@ class ticalc1x_state : public hh_tms1k_state { public: - ticalc1x_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_tms1k_state(mconfig, type, tag) + ticalc1x_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_tms1k_state(mconfig, type, tag) { } }; @@ -47,10 +47,12 @@ public: /*************************************************************************** - Minidrivers (subclass, I/O, Inputs, Machine Config) + Minidrivers (subclass, I/O, Inputs, Machine Config, ROM Defs) ***************************************************************************/ +namespace { + /*************************************************************************** Canon Multi 8 (Palmtronic MD-8) / Canon Canola MD 810 @@ -63,8 +65,8 @@ public: class cmulti8_state : public ticalc1x_state { public: - cmulti8_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + cmulti8_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void cmulti8(machine_config &config); @@ -111,7 +113,6 @@ READ8_MEMBER(cmulti8_state::read_k) return read_inputs(11); } - // config static INPUT_PORTS_START( cmulti8 ) @@ -201,6 +202,18 @@ void cmulti8_state::cmulti8(machine_config &config) /* no sound! */ } +// roms + +ROM_START( cmulti8 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc1079nl", 0x0000, 0x0400, CRC(202c5ed8) SHA1(0143975cac20cb4a4e9f659ca0535e8a9056f5bb) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_cmulti8_output.pla", 0, 365, CRC(e999cece) SHA1(c5012877cd030a4dc66228f109fa23eec1867873) ) +ROM_END + @@ -220,8 +233,8 @@ void cmulti8_state::cmulti8(machine_config &config) class tisr16_state : public ticalc1x_state { public: - tisr16_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + tisr16_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void prepare_display(); @@ -265,7 +278,6 @@ READ8_MEMBER(tisr16_state::read_k) return read_inputs(11); } - // config static INPUT_PORTS_START( tisr16 ) @@ -418,6 +430,28 @@ void tisr16_state::tisr16(machine_config &config) /* no sound! */ } +// roms + +ROM_START( tisr16 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms1001nl", 0x0000, 0x0400, CRC(b7ce3c1d) SHA1(95cdb0c6be31043f4fe06314ed41c0ca1337bc46) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_sr16_micro.pla", 0, 867, CRC(5b35019c) SHA1(730d3b9041ed76d57fbedd73b009477fe432b386) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_sr16_output.pla", 0, 365, CRC(29b08739) SHA1(d55f01e40a2d493d45ea422f12e63b01bcde08fb) ) +ROM_END + +ROM_START( tisr16ii ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms1016nl", 0x0000, 0x0400, CRC(c07a7b27) SHA1(34ea4d3b59871e08db74f8c5bfb7ff00d1f0adc7) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_sr16ii_micro.pla", 0, 867, CRC(31b43e95) SHA1(6864e4c20f3affffcd3810dcefbc9484dd781547) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_sr16ii_output.pla", 0, 365, CRC(c45dfbd0) SHA1(5d588c1abc317134b51eb08ac3953f1009d80056) ) +ROM_END + @@ -450,8 +484,8 @@ void tisr16_state::tisr16(machine_config &config) class ti1250_state : public ticalc1x_state { public: - ti1250_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + ti1250_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void ti1270(machine_config &config); @@ -487,7 +521,6 @@ READ8_MEMBER(ti1250_state::read_k) return read_inputs(6); } - // config static INPUT_PORTS_START( ti1250 ) @@ -573,6 +606,48 @@ void ti1250_state::ti1270(machine_config &config) config.set_default_layout(layout_ti1270); } +// roms + +ROM_START( ti1250 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc0952nl", 0x0000, 0x0400, CRC(fc0cee65) SHA1(1480e4553181f081281d3b78457721b9ecb20173) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_ti1250_micro.pla", 0, 867, CRC(cb3fd2d6) SHA1(82cf36a65dfc3ccb9dd08e48f45ac4d90f693238) ) + ROM_REGION( 195, "maincpu:opla", 0 ) + ROM_LOAD( "tms0950_ti1250_output.pla", 0, 195, CRC(31570eb8) SHA1(c1cb17c31367b65aa777925459515c3d5c565508) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) +ROM_END + +ROM_START( ti125076 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms0972nl_za0348", 0x0000, 0x0400, CRC(6e3f8add) SHA1(a249209e2a92f5016e33b7ad2c6c2660df1df959) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_common1_micro.pla", 0, 860, CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_ti1270_output.pla", 0, 352, CRC(472f95a0) SHA1(32adb17285f2f3f93a4b027a3dd2156ec48000ec) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) +ROM_END + +ROM_START( ti1270 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc0974nl_za0355", 0x0000, 0x0400, CRC(48e09b4b) SHA1(17f27167164df223f9f06082ece4c3fc3900eda3) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_common1_micro.pla", 0, 860, CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_ti1270_output.pla", 0, 352, CRC(472f95a0) SHA1(32adb17285f2f3f93a4b027a3dd2156ec48000ec) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) +ROM_END + @@ -588,8 +663,8 @@ void ti1250_state::ti1270(machine_config &config) class ti25503_state : public ticalc1x_state { public: - ti25503_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + ti25503_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void ti25503(machine_config &config); @@ -630,7 +705,6 @@ READ8_MEMBER(ti25503_state::read_k) return read_inputs(7); } - // config static INPUT_PORTS_START( ti25503 ) @@ -691,6 +765,18 @@ void ti25503_state::ti25503(machine_config &config) /* no sound! */ } +// roms + +ROM_START( ti25503 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms1043nl_za0352", 0x0000, 0x0400, CRC(434c2684) SHA1(ff566f1991f63cfe057879674e6bc7ccd580a919) ) + + ROM_REGION( 867, "maincpu:mpla", 0 ) + ROM_LOAD( "tms1000_ti25503_micro.pla", 0, 867, CRC(65d274ae) SHA1(33d77efe38f8b067096c643d71263bb5adde0ca9) ) + ROM_REGION( 365, "maincpu:opla", 0 ) + ROM_LOAD( "tms1000_ti25503_output.pla", 0, 365, CRC(ac43b768) SHA1(5eb19b493328c73edab73e44591afda0fbe4965f) ) +ROM_END + @@ -709,8 +795,8 @@ void ti25503_state::ti25503(machine_config &config) class ti1000_state : public ticalc1x_state { public: - ti1000_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + ti1000_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void ti1000(machine_config &config); @@ -744,7 +830,6 @@ READ8_MEMBER(ti1000_state::read_k) return read_inputs(5); } - // config static INPUT_PORTS_START( ti1000 ) @@ -794,6 +879,22 @@ void ti1000_state::ti1000(machine_config &config) /* no sound! */ } +// roms + +ROM_START( ti1000 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc1991nl", 0x0000, 0x0400, CRC(2da5381d) SHA1(b5dc14553db2068ed48e130e5ec9109930d8cda9) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_common2_micro.pla", 0, 860, CRC(7f50ab2e) SHA1(bff3be9af0e322986f6e545b567c97d70e135c93) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_ti1000_output.pla", 0, 352, CRC(a936631e) SHA1(1f900b12a41419d6e1ffbddd5cf72be3adaa4435) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common3_segment.pla", 0, 157, CRC(b5b3153f) SHA1(e0145c729695a4f962970aee0571d42cee6f5a9e) ) +ROM_END + @@ -809,8 +910,8 @@ void ti1000_state::ti1000(machine_config &config) class wizatron_state : public ticalc1x_state { public: - wizatron_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + wizatron_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void wizatron(machine_config &config); @@ -853,7 +954,6 @@ READ8_MEMBER(wizatron_state::read_k) return read_inputs(4); } - // config static INPUT_PORTS_START( wizatron ) @@ -896,6 +996,22 @@ void wizatron_state::wizatron(machine_config &config) /* no sound! */ } +// roms + +ROM_START( wizatron ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc0907nl_za0379", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_common2_micro.pla", 0, 860, CRC(7f50ab2e) SHA1(bff3be9af0e322986f6e545b567c97d70e135c93) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_wizatron_output.pla", 0, 352, CRC(c0ee5c04) SHA1(e9fadcef688309adbe6c1c0545aac6883ce4a1ac) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) +ROM_END + @@ -914,8 +1030,8 @@ void wizatron_state::wizatron(machine_config &config) class lilprof_state : public wizatron_state { public: - lilprof_state(const machine_config &mconfig, device_type type, const char *tag) - : wizatron_state(mconfig, type, tag) + lilprof_state(const machine_config &mconfig, device_type type, const char *tag) : + wizatron_state(mconfig, type, tag) { } void lilprof(machine_config &config); @@ -941,7 +1057,6 @@ READ8_MEMBER(lilprof_state::read_k) return read_inputs(5); } - // config static INPUT_PORTS_START( lilprof ) @@ -973,6 +1088,22 @@ void lilprof_state::lilprof(machine_config &config) /* no sound! */ } +// roms + +ROM_START( lilprof ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tms0975nl_za0356", 0x0000, 0x0400, CRC(fef9dd39) SHA1(5c9614c9c5092d55dabeee2d6e0387d50d6ad4d5) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_common1_micro.pla", 0, 860, CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_lilprof_output.pla", 0, 352, CRC(73f9ca93) SHA1(9d6c559e2c1886c62bcd57e3c3aa897e8829b4d2) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) +ROM_END + @@ -991,8 +1122,8 @@ void lilprof_state::lilprof(machine_config &config) class lilprof78_state : public ticalc1x_state { public: - lilprof78_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + lilprof78_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void lilprof78(machine_config &config); @@ -1036,7 +1167,6 @@ READ8_MEMBER(lilprof78_state::read_k) return read_inputs(5); } - // config static INPUT_PORTS_START( lilprof78 ) @@ -1086,6 +1216,22 @@ void lilprof78_state::lilprof78(machine_config &config) /* no sound! */ } +// roms + +ROM_START( lilprof78 ) + ROM_REGION( 0x0400, "maincpu", 0 ) + ROM_LOAD( "tmc1993nl", 0x0000, 0x0400, CRC(e941316b) SHA1(7e1542045d1e731cea81a639c9ac9e91bb233b15) ) + + ROM_REGION( 782, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) + ROM_REGION( 860, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0970_common2_micro.pla", 0, 860, CRC(7f50ab2e) SHA1(bff3be9af0e322986f6e545b567c97d70e135c93) ) + ROM_REGION( 352, "maincpu:opla", 0 ) + ROM_LOAD( "tms0980_lilprof78_output.pla", 0, 352, CRC(b7416cc0) SHA1(57891ffeaf34aafe8a915086c6d2feb78f5113af) ) + ROM_REGION( 157, "maincpu:spla", 0 ) + ROM_LOAD( "tms0980_common3_segment.pla", 0, 157, CRC(b5b3153f) SHA1(e0145c729695a4f962970aee0571d42cee6f5a9e) ) +ROM_END + @@ -1101,8 +1247,8 @@ void lilprof78_state::lilprof78(machine_config &config) class dataman_state : public ticalc1x_state { public: - dataman_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + dataman_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void dataman(machine_config &config); @@ -1144,7 +1290,6 @@ READ8_MEMBER(dataman_state::read_k) return m_inp_matrix[5]->read() | read_inputs(5); } - // config static INPUT_PORTS_START( dataman ) @@ -1201,6 +1346,20 @@ void dataman_state::dataman(machine_config &config) /* no sound! */ } +// roms + +ROM_START( dataman ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD16_WORD( "tmc1982nl", 0x0000, 0x1000, CRC(3521f53f) SHA1(c46fe7fe20715fdf5aed65833fb867cfd3938062) ) // matches patent US4340374 + + ROM_REGION( 1246, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) + ROM_REGION( 2127, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0270_common2_micro.pla", 0, 2127, CRC(86737ac1) SHA1(4aa0444f3ddf88738ea74aec404c684bf54eddba) ) + ROM_REGION( 525, "maincpu:opla", 0 ) + ROM_LOAD( "tms1980_dataman_output.pla", 0, 525, CRC(5fc6f451) SHA1(11475c785c34eab5b13c5dc67f413c709cd4bd4d) ) +ROM_END + @@ -1218,8 +1377,8 @@ void dataman_state::dataman(machine_config &config) class mathmarv_state : public dataman_state { public: - mathmarv_state(const machine_config &mconfig, device_type type, const char *tag) - : dataman_state(mconfig, type, tag) + mathmarv_state(const machine_config &mconfig, device_type type, const char *tag) : + dataman_state(mconfig, type, tag) { } void mathmarv(machine_config &config); @@ -1239,7 +1398,6 @@ WRITE16_MEMBER(mathmarv_state::write_r) dataman_state::write_r(space, offset, data); } - // config static INPUT_PORTS_START( mathmarv ) @@ -1273,6 +1431,20 @@ void mathmarv_state::mathmarv(machine_config &config) SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25); } +// roms + +ROM_START( mathmarv ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD16_WORD( "tmc1986anl", 0x0000, 0x1000, CRC(79fda72d) SHA1(137852b29d9136459f78e29e7810195a956a5903) ) + + ROM_REGION( 1246, "maincpu:ipla", 0 ) + ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) + ROM_REGION( 2127, "maincpu:mpla", 0 ) + ROM_LOAD( "tms0270_common2_micro.pla", 0, 2127, CRC(86737ac1) SHA1(4aa0444f3ddf88738ea74aec404c684bf54eddba) ) + ROM_REGION( 525, "maincpu:opla", 0 ) + ROM_LOAD( "tms1980_mathmarv_output.pla", 0, 525, CRC(5fc6f451) SHA1(11475c785c34eab5b13c5dc67f413c709cd4bd4d) ) +ROM_END + @@ -1301,8 +1473,8 @@ void mathmarv_state::mathmarv(machine_config &config) class ti30_state : public ticalc1x_state { public: - ti30_state(const machine_config &mconfig, device_type type, const char *tag) - : ticalc1x_state(mconfig, type, tag) + ti30_state(const machine_config &mconfig, device_type type, const char *tag) : + ticalc1x_state(mconfig, type, tag) { } void ti30(machine_config &config); @@ -1337,7 +1509,6 @@ READ8_MEMBER(ti30_state::read_k) return m_inp_matrix[7]->read() | read_inputs(7); } - // config static INPUT_PORTS_START( ti30 ) @@ -1533,186 +1704,7 @@ void ti30_state::ti30(machine_config &config) /* no sound! */ } - - - - -/*************************************************************************** - - Game driver(s) - -***************************************************************************/ - -ROM_START( cmulti8 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc1079nl", 0x0000, 0x0400, CRC(202c5ed8) SHA1(0143975cac20cb4a4e9f659ca0535e8a9056f5bb) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_common2_micro.pla", 0, 867, CRC(d33da3cf) SHA1(13c4ebbca227818db75e6db0d45b66ba5e207776) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_cmulti8_output.pla", 0, 365, CRC(e999cece) SHA1(c5012877cd030a4dc66228f109fa23eec1867873) ) -ROM_END - - -ROM_START( tisr16 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms1001nl", 0x0000, 0x0400, CRC(b7ce3c1d) SHA1(95cdb0c6be31043f4fe06314ed41c0ca1337bc46) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_sr16_micro.pla", 0, 867, CRC(5b35019c) SHA1(730d3b9041ed76d57fbedd73b009477fe432b386) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_sr16_output.pla", 0, 365, CRC(29b08739) SHA1(d55f01e40a2d493d45ea422f12e63b01bcde08fb) ) -ROM_END - - -ROM_START( tisr16ii ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms1016nl", 0x0000, 0x0400, CRC(c07a7b27) SHA1(34ea4d3b59871e08db74f8c5bfb7ff00d1f0adc7) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_sr16ii_micro.pla", 0, 867, CRC(31b43e95) SHA1(6864e4c20f3affffcd3810dcefbc9484dd781547) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_sr16ii_output.pla", 0, 365, CRC(c45dfbd0) SHA1(5d588c1abc317134b51eb08ac3953f1009d80056) ) -ROM_END - - -ROM_START( ti1250 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc0952nl", 0x0000, 0x0400, CRC(fc0cee65) SHA1(1480e4553181f081281d3b78457721b9ecb20173) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_ti1250_micro.pla", 0, 867, CRC(cb3fd2d6) SHA1(82cf36a65dfc3ccb9dd08e48f45ac4d90f693238) ) - ROM_REGION( 195, "maincpu:opla", 0 ) - ROM_LOAD( "tms0950_ti1250_output.pla", 0, 195, CRC(31570eb8) SHA1(c1cb17c31367b65aa777925459515c3d5c565508) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) -ROM_END - -ROM_START( ti125076 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms0972nl_za0348", 0x0000, 0x0400, CRC(6e3f8add) SHA1(a249209e2a92f5016e33b7ad2c6c2660df1df959) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_common1_micro.pla", 0, 860, CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_ti1270_output.pla", 0, 352, CRC(472f95a0) SHA1(32adb17285f2f3f93a4b027a3dd2156ec48000ec) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) -ROM_END - - -ROM_START( ti1270 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc0974nl_za0355", 0x0000, 0x0400, CRC(48e09b4b) SHA1(17f27167164df223f9f06082ece4c3fc3900eda3) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_common1_micro.pla", 0, 860, CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_ti1270_output.pla", 0, 352, CRC(472f95a0) SHA1(32adb17285f2f3f93a4b027a3dd2156ec48000ec) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) -ROM_END - - -ROM_START( ti25503 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms1043nl_za0352", 0x0000, 0x0400, CRC(434c2684) SHA1(ff566f1991f63cfe057879674e6bc7ccd580a919) ) - - ROM_REGION( 867, "maincpu:mpla", 0 ) - ROM_LOAD( "tms1000_ti25503_micro.pla", 0, 867, CRC(65d274ae) SHA1(33d77efe38f8b067096c643d71263bb5adde0ca9) ) - ROM_REGION( 365, "maincpu:opla", 0 ) - ROM_LOAD( "tms1000_ti25503_output.pla", 0, 365, CRC(ac43b768) SHA1(5eb19b493328c73edab73e44591afda0fbe4965f) ) -ROM_END - - -ROM_START( ti1000 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc1991nl", 0x0000, 0x0400, CRC(2da5381d) SHA1(b5dc14553db2068ed48e130e5ec9109930d8cda9) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_common2_micro.pla", 0, 860, CRC(7f50ab2e) SHA1(bff3be9af0e322986f6e545b567c97d70e135c93) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_ti1000_output.pla", 0, 352, CRC(a936631e) SHA1(1f900b12a41419d6e1ffbddd5cf72be3adaa4435) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common3_segment.pla", 0, 157, CRC(b5b3153f) SHA1(e0145c729695a4f962970aee0571d42cee6f5a9e) ) -ROM_END - - -ROM_START( wizatron ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc0907nl_za0379", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_common2_micro.pla", 0, 860, CRC(7f50ab2e) SHA1(bff3be9af0e322986f6e545b567c97d70e135c93) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_wizatron_output.pla", 0, 352, CRC(c0ee5c04) SHA1(e9fadcef688309adbe6c1c0545aac6883ce4a1ac) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) -ROM_END - - -ROM_START( lilprof ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tms0975nl_za0356", 0x0000, 0x0400, CRC(fef9dd39) SHA1(5c9614c9c5092d55dabeee2d6e0387d50d6ad4d5) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_common1_micro.pla", 0, 860, CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_lilprof_output.pla", 0, 352, CRC(73f9ca93) SHA1(9d6c559e2c1886c62bcd57e3c3aa897e8829b4d2) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common2_segment.pla", 0, 157, CRC(c03cccd8) SHA1(08bc4b597686a7aa8b2c9f43b85b62747ffd455b) ) -ROM_END - -ROM_START( lilprof78 ) - ROM_REGION( 0x0400, "maincpu", 0 ) - ROM_LOAD( "tmc1993nl", 0x0000, 0x0400, CRC(e941316b) SHA1(7e1542045d1e731cea81a639c9ac9e91bb233b15) ) - - ROM_REGION( 782, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0970_common1_instr.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) - ROM_REGION( 860, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0970_common2_micro.pla", 0, 860, CRC(7f50ab2e) SHA1(bff3be9af0e322986f6e545b567c97d70e135c93) ) - ROM_REGION( 352, "maincpu:opla", 0 ) - ROM_LOAD( "tms0980_lilprof78_output.pla", 0, 352, CRC(b7416cc0) SHA1(57891ffeaf34aafe8a915086c6d2feb78f5113af) ) - ROM_REGION( 157, "maincpu:spla", 0 ) - ROM_LOAD( "tms0980_common3_segment.pla", 0, 157, CRC(b5b3153f) SHA1(e0145c729695a4f962970aee0571d42cee6f5a9e) ) -ROM_END - - -ROM_START( dataman ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD16_WORD( "tmc1982nl", 0x0000, 0x1000, CRC(3521f53f) SHA1(c46fe7fe20715fdf5aed65833fb867cfd3938062) ) // matches patent US4340374 - - ROM_REGION( 1246, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) - ROM_REGION( 2127, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0270_common2_micro.pla", 0, 2127, CRC(86737ac1) SHA1(4aa0444f3ddf88738ea74aec404c684bf54eddba) ) - ROM_REGION( 525, "maincpu:opla", 0 ) - ROM_LOAD( "tms1980_dataman_output.pla", 0, 525, CRC(5fc6f451) SHA1(11475c785c34eab5b13c5dc67f413c709cd4bd4d) ) -ROM_END - - -ROM_START( mathmarv ) - ROM_REGION( 0x1000, "maincpu", 0 ) - ROM_LOAD16_WORD( "tmc1986anl", 0x0000, 0x1000, CRC(79fda72d) SHA1(137852b29d9136459f78e29e7810195a956a5903) ) - - ROM_REGION( 1246, "maincpu:ipla", 0 ) - ROM_LOAD( "tms0980_common1_instr.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) ) - ROM_REGION( 2127, "maincpu:mpla", 0 ) - ROM_LOAD( "tms0270_common2_micro.pla", 0, 2127, CRC(86737ac1) SHA1(4aa0444f3ddf88738ea74aec404c684bf54eddba) ) - ROM_REGION( 525, "maincpu:opla", 0 ) - ROM_LOAD( "tms1980_mathmarv_output.pla", 0, 525, CRC(5fc6f451) SHA1(11475c785c34eab5b13c5dc67f413c709cd4bd4d) ) -ROM_END - +// roms ROM_START( ti30 ) ROM_REGION( 0x1000, "maincpu", 0 ) @@ -1728,7 +1720,6 @@ ROM_START( ti30 ) ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) ROM_END - ROM_START( tibusan ) ROM_REGION( 0x1000, "maincpu", 0 ) ROM_LOAD16_WORD( "tmc0982nl", 0x0000, 0x1000, CRC(6954560a) SHA1(6c153a0c9239a811e3514a43d809964c06f8f88e) ) @@ -1743,7 +1734,6 @@ ROM_START( tibusan ) ROM_LOAD( "tms0980_common1_segment.pla", 0, 157, CRC(399aa481) SHA1(72c56c58fde3fbb657d69647a9543b5f8fc74279) ) ROM_END - ROM_START( tiprog ) ROM_REGION( 0x1000, "maincpu", 0 ) ROM_LOAD16_WORD( "za0675nl", 0x0000, 0x1000, CRC(82355854) SHA1(03fab373bce04df8ea3fe25352525e8539213626) ) // tmc0983 @@ -1760,8 +1750,16 @@ ROM_END -// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY FULLNAME, FLAGS -COMP( 1977, cmulti8, 0, 0, cmulti8, cmulti8, cmulti8_state, empty_init, "Canon", "Multi 8 (Canon)", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) +} // anonymous namespace + +/*************************************************************************** + + Game driver(s) + +***************************************************************************/ + +// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS +COMP( 1977, cmulti8, 0, 0, cmulti8, cmulti8, cmulti8_state, empty_init, "Canon", "Multi 8 (Canon)", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) COMP( 1974, tisr16, 0, 0, tisr16, tisr16, tisr16_state, empty_init, "Texas Instruments", "SR-16", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) COMP( 1975, tisr16ii, 0, 0, tisr16, tisr16ii, tisr16_state, empty_init, "Texas Instruments", "SR-16 II", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW ) diff --git a/src/mame/drivers/tr606.cpp b/src/mame/drivers/tr606.cpp index f31c9b701c3..970addc505b 100644 --- a/src/mame/drivers/tr606.cpp +++ b/src/mame/drivers/tr606.cpp @@ -23,8 +23,8 @@ class tr606_state : public hh_ucom4_state { public: - tr606_state(const machine_config &mconfig, device_type type, const char *tag) - : hh_ucom4_state(mconfig, type, tag) + tr606_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_ucom4_state(mconfig, type, tag) { } void tr606(machine_config &config); diff --git a/src/mame/includes/hh_sm510.h b/src/mame/includes/hh_sm510.h index 4f9333e1592..23cf7cd0242 100644 --- a/src/mame/includes/hh_sm510.h +++ b/src/mame/includes/hh_sm510.h @@ -30,7 +30,7 @@ public: // devices required_device m_maincpu; - optional_ioport_array<8> m_inp_matrix; // max 8 + optional_ioport_array<8+1> m_inp_matrix; // max 8 output_finder<16, 16, 4> m_out_x; optional_device m_speaker; @@ -42,6 +42,7 @@ public: u8 m_s; // MCU S output pins u8 m_r; // MCU R output pins + void inp_fixed_last() { m_inp_fixed = -2; } // last input line to GND u8 read_inputs(int columns, int fixed = -1); virtual void update_k_line();