summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
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
commit598a00a0bdcbfc827ae2697f7cc06077a7d68ff0 (patch)
tree7b0a15a6e0a839bd075c00c4efcd665555c3deb0
parentbf92278b25ca3a76467d017a300c589f78f21d60 (diff)
eva11: fixed speech pins hookup (nw)
-rw-r--r--src/mame/drivers/eva.cpp18
-rw-r--r--src/mame/drivers/hh_sm510.cpp2
-rw-r--r--src/mame/drivers/hh_ucom4.cpp2
3 files changed, 12 insertions, 10 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))
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index e3f45513494..d2f9c00af55 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -19,7 +19,7 @@
#include "screen.h"
#include "speaker.h"
-#include "hh_sm510_test.lh" // common test-layout - use external artwork
+//#include "hh_sm510_test.lh" // common test-layout - use external artwork
class hh_sm510_state : public driver_device
diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp
index 14484d5ee57..9c34ecfdd9f 100644
--- a/src/mame/drivers/hh_ucom4.cpp
+++ b/src/mame/drivers/hh_ucom4.cpp
@@ -82,7 +82,7 @@ TODO:
#include "mvbfree.lh"
#include "tactix.lh" // clickable
-#include "hh_ucom4_test.lh" // common test-layout - no svg artwork(yet), use external artwork
+//#include "hh_ucom4_test.lh" // common test-layout - no svg artwork(yet), use external artwork
// machine start/reset