diff options
author | 2025-01-11 13:49:19 +0100 | |
---|---|---|
committer | 2025-01-11 13:49:19 +0100 | |
commit | b6f7c525f3326e7e6259bf70e7d60c4c3aa736ef (patch) | |
tree | 4116d29229ef03bdb10beaf05f85ae5e278a1e98 | |
parent | cd064ab4e435ac33920c0cac642b6e10edd59957 (diff) |
New working machine added (#13204)
----------
Tronica: Diver's Adventure [Milan Galcik, algestam]
-rw-r--r-- | src/mame/handheld/hh_sm510.cpp | 67 | ||||
-rw-r--r-- | src/mame/mame.lst | 1 |
2 files changed, 68 insertions, 0 deletions
diff --git a/src/mame/handheld/hh_sm510.cpp b/src/mame/handheld/hh_sm510.cpp index 226c6d7ab61..6ffe72952df 100644 --- a/src/mame/handheld/hh_sm510.cpp +++ b/src/mame/handheld/hh_sm510.cpp @@ -11585,6 +11585,72 @@ ROM_END /******************************************************************************* + Tronica: Diver's Adventure (model DA-37) + * PCB labels: DA-37 260383 32-541-1 + * Sharp SM510 label 0029 235D TRONICA (no decap) + * lcd screen with custom segments, 1-bit sound + + ROM data is identical with Tronica Clever Chicken (CC-38V). + +*******************************************************************************/ + +class trdivadv_state : public hh_sm510_state +{ +public: + trdivadv_state(const machine_config &mconfig, device_type type, const char *tag) : + hh_sm510_state(mconfig, type, tag) + { } + + void trdivadv(machine_config &config); +}; + +// inputs + +static INPUT_PORTS_START( trdivadv ) + PORT_START("IN.0") // S1 + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_CHANGED_CB(input_changed) PORT_16WAY + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_CHANGED_CB(input_changed) PORT_16WAY + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) + PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_CHANGED_CB(input_changed) PORT_16WAY + + PORT_START("IN.1") // S2 + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SELECT ) PORT_CHANGED_CB(input_changed) PORT_NAME("Time") + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Game B") + PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Game A") + PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE2 ) PORT_CHANGED_CB(input_changed) PORT_NAME("Alarm") + + PORT_START("B") + PORT_CONFNAME( 0x01, 0x01, "Invincibility (Cheat)") // factory test, unpopulated on PCB + PORT_CONFSETTING( 0x01, DEF_STR( Off ) ) + PORT_CONFSETTING( 0x00, DEF_STR( On ) ) + + PORT_START("ACL") + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE1 ) PORT_CHANGED_CB(acl_button) PORT_NAME("ACL") +INPUT_PORTS_END + +// config + +void trdivadv_state::trdivadv(machine_config &config) +{ + sm510_common(config, 1520, 1080); +} + +// roms + +ROM_START( trdivadv ) + ROM_REGION( 0x1000, "maincpu", 0 ) + ROM_LOAD( "0029_235d", 0x0000, 0x1000, CRC(8977a1cf) SHA1(9ac413efedcff8b53b859420c0575c66e7be6e73) ) + + ROM_REGION( 165418, "screen", 0) + ROM_LOAD( "trdivadv.svg", 0, 165418, CRC(727040f1) SHA1(2318d6973a165eedcd369bd11342eca7efd24c39) ) +ROM_END + + + + + +/******************************************************************************* + VTech Electronic Number Muncher * Sharp SM511 under epoxy (die label 772) * lcd screen with custom segments(no background), 1-bit sound @@ -11877,6 +11943,7 @@ SYST( 1983, trthuball, trsrescue, 0, trthuball, trsrescue, trsre SYST( 1983, trsgkeep, 0, 0, trsgkeep, trsgkeep, trsgkeep_state, empty_init, "Tronica", "Super Goal Keeper", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK ) SYST( 1982, trspacmis, 0, 0, trspacmis, trspacmis, trspacmis_state, empty_init, "Tronica", "Space Mission (Tronica)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK ) SYST( 1982, trspider, trspacmis, 0, trspider, trspacmis, trspacmis_state, empty_init, "Tronica", "Spider (Tronica)", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK ) +SYST( 1983, trdivadv, 0, 0, trdivadv, trdivadv, trdivadv_state, empty_init, "Tronica", "Diver's Adventure", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK ) // misc SYST( 1989, nummunch, 0, 0, nummunch, nummunch, nummunch_state, empty_init, "VTech", "Electronic Number Muncher", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index ec62f732429..6cc92e0905a 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -19395,6 +19395,7 @@ tmkombat // Tiger Electronics tnmarebc // Tiger Electronics topaliens // Tiger Electronics tpitfight // Tiger Electronics +trdivadv // Tronica trobhood // Tiger Electronics trobocop2 // Tiger Electronics trobocop3 // Tiger Electronics |