summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/attache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/attache.cpp')
-rw-r--r--src/mame/drivers/attache.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mame/drivers/attache.cpp b/src/mame/drivers/attache.cpp
index f81ff6d120c..ca68ba5c3ec 100644
--- a/src/mame/drivers/attache.cpp
+++ b/src/mame/drivers/attache.cpp
@@ -800,14 +800,16 @@ WRITE_LINE_MEMBER( attache_state::fdc_dack_w )
WRITE8_MEMBER(attache816_state::x86_comms_w)
{
m_comms_val = data;
- m_ppi->pc6_w(1);
m_z80_rx_ready = false;
+ machine().scheduler().synchronize();
+ logerror("x86 writes %02x to comms\n",data);
}
READ8_MEMBER(attache816_state::x86_comms_r)
{
m_z80_tx_ready = false;
- m_ppi->pc4_w(1);
+ logerror("x86 reads %02x from comms\n",m_comms_val);
+ machine().scheduler().synchronize();
return m_comms_val;
}
@@ -848,14 +850,19 @@ READ8_MEMBER(attache816_state::z80_comms_r)
{
m_z80_rx_ready = true;
m_ppi->pc6_w(0);
+ logerror("z80 reads %02x from comms\n",m_comms_val);
+ machine().scheduler().synchronize();
return m_comms_val;
}
WRITE8_MEMBER(attache816_state::z80_comms_w)
{
m_comms_val = data;
+ logerror("z80 writes %02x to comms\n",data);
m_z80_tx_ready = true;
m_ppi->pc4_w(0);
+ machine().scheduler().synchronize();
+// m_ppi->write(space,0,data);
}
// Z80 comms status
@@ -1164,7 +1171,6 @@ static MACHINE_CONFIG_START( attache816 )
MCFG_CPU_ADD("extcpu",I8086,XTAL_24MHz / 3)
MCFG_CPU_PROGRAM_MAP(attache_x86_map)
MCFG_CPU_IO_MAP(attache_x86_io)
- MCFG_QUANTUM_PERFECT_CPU("extcpu")
MCFG_SCREEN_ADD_MONOCHROME("screen", RASTER, rgb_t::green())
MCFG_SCREEN_REFRESH_RATE(60)