From 5be84f273efd0f16110c604ebe000e2ccd3a07e8 Mon Sep 17 00:00:00 2001 From: Michael Zapf Date: Mon, 15 Aug 2016 00:22:34 +0200 Subject: [PATCH] ti99: Fixed debugger access to cartridge --- src/devices/bus/ti99x/datamux.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/devices/bus/ti99x/datamux.cpp b/src/devices/bus/ti99x/datamux.cpp index 996096a1a49..1df66bc5c1e 100644 --- a/src/devices/bus/ti99x/datamux.cpp +++ b/src/devices/bus/ti99x/datamux.cpp @@ -237,8 +237,9 @@ UINT16 ti99_datamux_device::debugger_read(address_space& space, UINT16 addr) UINT8 lval = 0; UINT8 hval = 0; - if ((addr & 0xe000)==0x6000) + if ((addrb & 0xe000)==0x6000) { + m_gromport->romgq_line(ASSERT_LINE); m_gromport->readz(space, addrb+1, &lval); m_gromport->readz(space, addrb, &hval); } @@ -272,8 +273,9 @@ void ti99_datamux_device::debugger_write(address_space& space, UINT16 addr, UINT if (base32k != 0) m_ram16b[(addrb-base32k)>>1] = data; else { - if ((addr & 0xe000)==0x6000) + if ((addrb & 0xe000)==0x6000) { + m_gromport->romgq_line(ASSERT_LINE); m_gromport->write(space, addr+1, data & 0xff); m_gromport->write(space, addr, (data>>8) & 0xff); }