summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/stopthie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/stopthie.c')
-rw-r--r--src/mess/drivers/stopthie.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/mess/drivers/stopthie.c b/src/mess/drivers/stopthie.c
index b462d2c17c3..32eceb1350b 100644
--- a/src/mess/drivers/stopthie.c
+++ b/src/mess/drivers/stopthie.c
@@ -51,24 +51,16 @@ WRITE16_MEMBER(stopthie_state::stopthie_write_r)
}
-static const UINT16 stopthie_output_pla[0x20] =
-{
- /* O output PLA configuration currently unknown */
- 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
- 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
- 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
- 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f
-};
+
static MACHINE_CONFIG_START( stopthie, stopthie_state )
/* basic machine hardware */
MCFG_CPU_ADD( "maincpu", TMS0980, 500000 ) /* Clock is wrong */
- MCFG_TMS1XXX_OUTPUT_PLA( stopthie_output_pla )
- MCFG_TMS1XXX_READ_K( READ8( stopthie_state, stopthie_read_k ) )
- MCFG_TMS1XXX_WRITE_O( WRITE16( stopthie_state, stopthie_write_o ) )
- MCFG_TMS1XXX_WRITE_R( WRITE16( stopthie_state, stopthie_write_r ) )
+ MCFG_TMS1XXX_READ_K_CB( READ8( stopthie_state, stopthie_read_k ) )
+ MCFG_TMS1XXX_WRITE_O_CB( WRITE16( stopthie_state, stopthie_write_o ) )
+ MCFG_TMS1XXX_WRITE_R_CB( WRITE16( stopthie_state, stopthie_write_r ) )
MCFG_DEFAULT_LAYOUT(layout_stopthie)
MACHINE_CONFIG_END
@@ -76,6 +68,11 @@ MACHINE_CONFIG_END
ROM_START( stopthie )
ROM_REGION( 0x1000, "maincpu", 0 )
ROM_LOAD16_WORD( "stopthie.bin", 0x0000, 0x1000, CRC(03691115) SHA1(bdcd212aa50bb1c26cb2d0ee97e5cfc04841c108) )
+
+ ROM_REGION( 1246, "maincpu:ipla", 0 )
+ ROM_REGION( 1982, "maincpu:mpla", 0 )
+ ROM_REGION( 352, "maincpu:opla", 0 )
+ ROM_REGION( 157, "maincpu:spla", 0 )
ROM_END
/***************************************************************************