eva11: fixed speech pins hookup (nw)

This commit is contained in:
hap 2017-05-31 17:40:33 +02:00
parent bf92278b25
commit 598a00a0bd
3 changed files with 12 additions and 10 deletions

View File

@ -15,7 +15,7 @@
- TMS5110A, TMS6100 CM63002 (have dump) - TMS5110A, TMS6100 CM63002 (have dump)
TODO: TODO:
- make it work - add sensors
- add EVA-24 (need MCU dump) - add EVA-24 (need MCU dump)
***************************************************************************/ ***************************************************************************/
@ -79,16 +79,18 @@ WRITE16_MEMBER(eva_state::eva11_write_r)
WRITE16_MEMBER(eva_state::eva11_write_o) WRITE16_MEMBER(eva_state::eva11_write_o)
{ {
// O3210: TMS5100 CTL8124 // O3210: TMS5100 CTL8421
u8 ctl = BITSWAP8(data,7,6,5,4,3,0,1,2) & 0xf; m_tms5100->ctl_w(space, 0, data & 0xf);
m_tms5100->ctl_w(space, 0, ctl);
} }
READ8_MEMBER(eva_state::eva11_read_k) READ8_MEMBER(eva_state::eva11_read_k)
{ {
// K8421: TMS5100 CTL8124 // K84: TMS5100 CTL81(O30)
u8 ctl = m_tms5100->ctl_r(space, 0); u8 ctl = BITSWAP8(m_tms5100->ctl_r(space, 0),7,6,5,4,3,0,1,2) & 0xc;
return BITSWAP8(ctl,7,6,5,4,3,0,1,2);
// TODO: sensors
return ctl;
} }
@ -124,7 +126,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_START( eva11 ) static MACHINE_CONFIG_START( eva11 )
/* basic machine hardware */ /* 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_READ_K_CB(READ8(eva_state, eva11_read_k))
MCFG_TMS1XXX_WRITE_O_CB(WRITE16(eva_state, eva11_write_o)) MCFG_TMS1XXX_WRITE_O_CB(WRITE16(eva_state, eva11_write_o))
MCFG_TMS1XXX_WRITE_R_CB(WRITE16(eva_state, eva11_write_r)) MCFG_TMS1XXX_WRITE_R_CB(WRITE16(eva_state, eva11_write_r))

View File

@ -19,7 +19,7 @@
#include "screen.h" #include "screen.h"
#include "speaker.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 class hh_sm510_state : public driver_device

View File

@ -82,7 +82,7 @@ TODO:
#include "mvbfree.lh" #include "mvbfree.lh"
#include "tactix.lh" // clickable #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 // machine start/reset