diff options
Diffstat (limited to 'src/mess/drivers/hh_ucom4.c')
-rw-r--r-- | src/mess/drivers/hh_ucom4.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/mess/drivers/hh_ucom4.c b/src/mess/drivers/hh_ucom4.c index 8d406157cc5..ef800acc5eb 100644 --- a/src/mess/drivers/hh_ucom4.c +++ b/src/mess/drivers/hh_ucom4.c @@ -2,10 +2,11 @@ // copyright-holders:hap /*************************************************************************** - NEC uCOM4 MCU handhelds - + NEC uCOM4 MCU tabletops/handhelds or other simple devices. + known chips: + serial device etc. ----------------------------------------------- @048 uPD552 1980, Tomy Tennis @@ -133,12 +134,9 @@ void hh_ucom4_state::machine_start() ***************************************************************************/ - - // The device strobes the outputs very fast, it is unnoticeable to the user. // To prevent flickering here, we need to simulate a decay. - void hh_ucom4_state::display_update() { UINT32 active_state[0x20]; @@ -212,6 +210,7 @@ UINT8 hh_ucom4_state::read_inputs(int columns) } + /*************************************************************************** Minidrivers (I/O, Inputs, Machine Config) @@ -305,6 +304,7 @@ MACHINE_CONFIG_END + /*************************************************************************** Tomy(tronic) Tennis (manufactured in Japan) @@ -323,7 +323,6 @@ MACHINE_CONFIG_END ***************************************************************************/ - READ8_MEMBER(hh_ucom4_state::tmtennis_input_r) { // A,B: buttons @@ -394,6 +393,7 @@ static INPUT_PORTS_START( tmtennis ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_PLAYER(2) INPUT_PORTS_END + void hh_ucom4_state::tmtennis_set_clock() { // MCU clock is from an LC circuit oscillating by default at ~360kHz, @@ -412,7 +412,6 @@ MACHINE_RESET_MEMBER(hh_ucom4_state, tmtennis) tmtennis_set_clock(); } - static MACHINE_CONFIG_START( tmtennis, hh_ucom4_state ) /* basic machine hardware */ @@ -442,6 +441,8 @@ MACHINE_CONFIG_END + + /*************************************************************************** Tomy(tronic) Pac-Man (manufactured in Japan) @@ -537,6 +538,8 @@ MACHINE_CONFIG_END + + /*************************************************************************** Tomy Alien Chase (manufactured in Japan) @@ -592,6 +595,7 @@ WRITE8_MEMBER(hh_ucom4_state::alnchase_port_e_w) alnchase_display_w(space, offset, data); } + /* physical button layout and labels is like this: POWER SOUND LEVEL PLAYER @@ -629,6 +633,7 @@ static INPUT_PORTS_START( alnchase ) PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END + static MACHINE_CONFIG_START( alnchase, hh_ucom4_state ) /* basic machine hardware */ @@ -676,7 +681,6 @@ ROM_START( tmtennis ) ROM_END - ROM_START( tmpacman ) ROM_REGION( 0x0800, "maincpu", 0 ) ROM_LOAD( "d553c-160", 0x0000, 0x0800, CRC(b21a8af7) SHA1(e3122be1873ce76a4067386bf250802776f0c2f9) ) |