diff options
author | hap <happppp@users.noreply.github.com> | 2017-05-31 17:40:33 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2017-05-31 17:40:58 +0200 |
commit | 598a00a0bdcbfc827ae2697f7cc06077a7d68ff0 (patch) | |
tree | 7b0a15a6e0a839bd075c00c4efcd665555c3deb0 /src/mame/drivers/eva.cpp | |
parent | bf92278b25ca3a76467d017a300c589f78f21d60 (diff) |
eva11: fixed speech pins hookup (nw)
Diffstat (limited to 'src/mame/drivers/eva.cpp')
-rw-r--r-- | src/mame/drivers/eva.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mame/drivers/eva.cpp b/src/mame/drivers/eva.cpp index 4917f5f3ea0..0e50c4a47ed 100644 --- a/src/mame/drivers/eva.cpp +++ b/src/mame/drivers/eva.cpp @@ -15,7 +15,7 @@ - TMS5110A, TMS6100 CM63002 (have dump) TODO: - - make it work + - add sensors - add EVA-24 (need MCU dump) ***************************************************************************/ @@ -79,16 +79,18 @@ WRITE16_MEMBER(eva_state::eva11_write_r) WRITE16_MEMBER(eva_state::eva11_write_o) { - // O3210: TMS5100 CTL8124 - u8 ctl = BITSWAP8(data,7,6,5,4,3,0,1,2) & 0xf; - m_tms5100->ctl_w(space, 0, ctl); + // O3210: TMS5100 CTL8421 + m_tms5100->ctl_w(space, 0, data & 0xf); } READ8_MEMBER(eva_state::eva11_read_k) { - // K8421: TMS5100 CTL8124 - u8 ctl = m_tms5100->ctl_r(space, 0); - return BITSWAP8(ctl,7,6,5,4,3,0,1,2); + // K84: TMS5100 CTL81(O30) + u8 ctl = BITSWAP8(m_tms5100->ctl_r(space, 0),7,6,5,4,3,0,1,2) & 0xc; + + // TODO: sensors + + return ctl; } @@ -124,7 +126,7 @@ MACHINE_CONFIG_END static MACHINE_CONFIG_START( eva11 ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", TMS1000, XTAL_640kHz/2) + MCFG_CPU_ADD("maincpu", TMS1000, XTAL_640kHz/2) // from TMS5110A CPU CK MCFG_TMS1XXX_READ_K_CB(READ8(eva_state, eva11_read_k)) MCFG_TMS1XXX_WRITE_O_CB(WRITE16(eva_state, eva11_write_o)) MCFG_TMS1XXX_WRITE_R_CB(WRITE16(eva_state, eva11_write_r)) |