added bdoramon factory test

This commit is contained in:
hap 2015-04-29 06:35:58 +02:00
parent 29e896f3bd
commit 5a15555d9e
2 changed files with 11 additions and 0 deletions

View File

@ -1104,6 +1104,12 @@ static INPUT_PORTS_START( bdoramon )
PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT )
PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN )
PORT_BIT( 0xff8f, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_START("IN.3") // port R2x
PORT_BIT( 0x07, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_CONFNAME( 0x08, 0x00, "Factory Test" )
PORT_CONFSETTING( 0x00, DEF_STR( Off ) )
PORT_CONFSETTING( 0x08, DEF_STR( On ) )
INPUT_PORTS_END
static MACHINE_CONFIG_START( bdoramon, bdoramon_state )
@ -1113,6 +1119,7 @@ static MACHINE_CONFIG_START( bdoramon, bdoramon_state )
MCFG_HMCS40_WRITE_R_CB(0, WRITE8(bdoramon_state, plate_w))
MCFG_HMCS40_WRITE_R_CB(1, WRITE8(bdoramon_state, plate_w))
MCFG_HMCS40_WRITE_R_CB(2, WRITE8(bdoramon_state, plate_w))
MCFG_HMCS40_READ_R_CB(2, IOPORT("IN.3"))
MCFG_HMCS40_WRITE_R_CB(3, WRITE8(bdoramon_state, plate_w))
MCFG_HMCS40_WRITE_D_CB(WRITE16(bdoramon_state, grid_w))
MCFG_HMCS40_READ_D_CB(IOPORT("IN.2"))

View File

@ -632,6 +632,10 @@ MACHINE_CONFIG_END
* TMS1170NLN MP1525-N2 (die labeled MP1525)
* 9-digit cyan VFD display, and other LEDs behind bezel, 1bit sound
known releases:
- USA: Head to Head Baseball
- Japan: Computer Baseball, published by Tsukuda
***************************************************************************/
class h2hbaseb_state : public hh_tms1k_state