mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
New working machine added
---------- Game & Watch: Snoopy (Panorama Screen) [algestam, Ryan Holtz]
This commit is contained in:
parent
a600964004
commit
fff9c56f1c
@ -31,7 +31,7 @@ TODO:
|
||||
playing back all melody data and reconstructing it to ROM. Visual(decap)
|
||||
verification is wanted for: gnw_bfightn, gnw_bjack, gnw_bsweep, gnw_climbern,
|
||||
gnw_dkcirc, gnw_dkjrp, gnw_gcliff, gnw_mariocmt, gnw_mariotj, gnw_mbaway,
|
||||
gnw_mmousep, gnw_pinball, gnw_sbuster, gnw_zelda
|
||||
gnw_mmousep, gnw_pinball, gnw_sbuster, gnw_snoopyp, gnw_zelda
|
||||
|
||||
****************************************************************************
|
||||
|
||||
@ -86,7 +86,7 @@ CJ-71* tt SM511? Donkey Kong Jr.
|
||||
CM-72 tt SM511 Mario's Cement Factory
|
||||
SM-73* tt SM511? Snoopy
|
||||
PG-74* tt SM511? Popeye
|
||||
SM-91* p SM511? Snoopy (assume same ROM & LCD as tabletop version)
|
||||
SM-91 p SM511 Snoopy (assume same ROM & LCD as tabletop version)
|
||||
PG-92* p SM511? Popeye "
|
||||
CJ-93 p SM511 Donkey Kong Jr. "
|
||||
TB-94 p SM511 Mario's Bombs Away
|
||||
@ -2932,6 +2932,79 @@ ROM_END
|
||||
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
Nintendo Game & Watch: Snoopy (model SM-91)
|
||||
* PCB labels: SM-91 M (main board), SM-91C (controller board)
|
||||
* Sharp SM511 label SM-91 538A (no decap)
|
||||
* inverted lcd screen with custom segments, 1-bit sound
|
||||
|
||||
This is the panorama version. There's also a tabletop version which is
|
||||
assumed to use the same ROM/LCD.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
class gnw_snoopyp_state : public hh_sm510_state
|
||||
{
|
||||
public:
|
||||
gnw_snoopyp_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
hh_sm510_state(mconfig, type, tag)
|
||||
{ }
|
||||
|
||||
void gnw_snoopyp(machine_config &config);
|
||||
};
|
||||
|
||||
// config
|
||||
|
||||
static INPUT_PORTS_START( gnw_snoopyp )
|
||||
PORT_START("IN.0") // S1
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CHANGED_CB(input_changed) // Hit
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_CHANGED_CB(input_changed)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_CHANGED_CB(input_changed)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
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("ACL")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE1 ) PORT_CHANGED_CB(acl_button) PORT_NAME("ACL")
|
||||
|
||||
PORT_START("BA")
|
||||
PORT_CONFNAME( 0x01, 0x01, "Increase Score (Cheat)") // factory test, unpopulated on PCB
|
||||
PORT_CONFSETTING( 0x01, DEF_STR( Off ) )
|
||||
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
|
||||
|
||||
PORT_START("B")
|
||||
PORT_CONFNAME( 0x01, 0x01, "Infinite Lives (Cheat)") // "
|
||||
PORT_CONFSETTING( 0x01, DEF_STR( Off ) )
|
||||
PORT_CONFSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
void gnw_snoopyp_state::gnw_snoopyp(machine_config &config)
|
||||
{
|
||||
sm511_common(config, 1920, 1020);
|
||||
}
|
||||
|
||||
// roms
|
||||
|
||||
ROM_START( gnw_snoopyp )
|
||||
ROM_REGION( 0x1000, "maincpu", 0 )
|
||||
ROM_LOAD( "sm-91.program", 0x0000, 0x1000, CRC(893bd7e3) SHA1(94e218f464b2ec8c81bd4c0f13f3a3049c4effe9) )
|
||||
|
||||
ROM_REGION( 0x100, "maincpu:melody", 0 )
|
||||
ROM_LOAD( "sm-91.melody", 0x000, 0x100, BAD_DUMP CRC(09360aaf) SHA1(906eff1d2eaf7ff040d833b4513a995e7026279b) ) // decap needed for verification
|
||||
|
||||
ROM_REGION( 353488, "screen", 0)
|
||||
ROM_LOAD( "gnw_snoopyp.svg", 0, 353488, CRC(30cfa42e) SHA1(2abe74299db7241c66f9631b01d0ea336ec411ad) )
|
||||
ROM_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
Nintendo Game & Watch: Donkey Kong Jr. (model CJ-93)
|
||||
@ -9051,6 +9124,7 @@ CONS( 1991, gnw_mariotj, 0, 0, gnw_mariotj, gnw_mariotj, gnw_mariotj_st
|
||||
|
||||
// Nintendo G&W: Table Top / Panorama Screen
|
||||
CONS( 1983, gnw_mariocmt,0, 0, gnw_mariocmt,gnw_mariocmt,gnw_mariocmt_state,empty_init, "Nintendo", "Game & Watch: Mario's Cement Factory (Table Top)", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1983, gnw_snoopyp, 0, 0, gnw_snoopyp, gnw_snoopyp, gnw_snoopyp_state, empty_init, "Nintendo", "Game & Watch: Snoopy (Panorama Screen)", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1983, gnw_dkjrp, 0, 0, gnw_dkjrp, gnw_dkjrp, gnw_dkjrp_state, empty_init, "Nintendo", "Game & Watch: Donkey Kong Jr. (Panorama Screen)", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1983, gnw_mbaway, 0, 0, gnw_mbaway, gnw_mbaway, gnw_mbaway_state, empty_init, "Nintendo", "Game & Watch: Mario's Bombs Away", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1984, gnw_mmousep, 0, 0, gnw_mmousep, gnw_mmousep, gnw_mmousep_state, empty_init, "Nintendo", "Game & Watch: Mickey Mouse (Panorama Screen)", MACHINE_SUPPORTS_SAVE )
|
||||
|
@ -15810,6 +15810,7 @@ gnw_rshower // Nintendo
|
||||
gnw_sbuster // Nintendo
|
||||
gnw_smb // Nintendo
|
||||
gnw_smbn // Nintendo
|
||||
gnw_snoopyp // Nintendo
|
||||
gnw_squish // Nintendo
|
||||
gnw_ssparky // Nintendo
|
||||
gnw_stennis // Nintendo
|
||||
|
Loading…
Reference in New Issue
Block a user