summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/internal/datamux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/internal/datamux.cpp')
-rw-r--r--src/devices/bus/ti99/internal/datamux.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/devices/bus/ti99/internal/datamux.cpp b/src/devices/bus/ti99/internal/datamux.cpp
index 7fddceeb03b..875eda20465 100644
--- a/src/devices/bus/ti99/internal/datamux.cpp
+++ b/src/devices/bus/ti99/internal/datamux.cpp
@@ -70,6 +70,7 @@
#include "emu.h"
#include "datamux.h"
+#include "cpu/tms9900/tms99com.h"
#define LOG_WARN (1U<<1) // Warnings
#define LOG_READY (1U<<2) // READY line
@@ -77,7 +78,7 @@
#define LOG_ADDRESS (1U<<4) // Address register
#define LOG_WAITCOUNT (1U<<5) // Wait state counter
-#define VERBOSE ( LOG_GENERAL | LOG_WARN )
+#define VERBOSE ( LOG_GENERAL | LOG_WARN | LOG_ADDRESS )
#include "logmacro.h"
@@ -431,6 +432,7 @@ void datamux_device::setaddress(offs_t mode, uint16_t addr)
{
m_addr_buf = addr;
m_waitcount = 0;
+ m_dbin = ((mode & TMS99xx_BUS_DBIN)!=0);
LOGMASKED(LOG_ADDRESS, "Set address %04x\n", m_addr_buf);
@@ -539,12 +541,6 @@ void datamux_device::ready_join()
m_ready((m_sysready==CLEAR_LINE || m_muxready==CLEAR_LINE)? CLEAR_LINE : ASSERT_LINE);
}
-WRITE_LINE_MEMBER( datamux_device::dbin_in )
-{
- m_dbin = (line_state)state;
- LOGMASKED(LOG_ADDRESS, "Data bus in = %d\n", (m_dbin==ASSERT_LINE)? 1:0 );
-}
-
WRITE_LINE_MEMBER( datamux_device::ready_line )
{
if (state != m_sysready) LOGMASKED(LOG_READY, "READY line from PBox = %d\n", state);