diff options
Diffstat (limited to 'src/devices/cpu/m6800/m6800.cpp')
-rw-r--r-- | src/devices/cpu/m6800/m6800.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/m6800/m6800.cpp b/src/devices/cpu/m6800/m6800.cpp index cde4bb70a92..4fbdc76c58a 100644 --- a/src/devices/cpu/m6800/m6800.cpp +++ b/src/devices/cpu/m6800/m6800.cpp @@ -1341,7 +1341,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_P3DATA: - if (!machine().debugger_access()) + if (!space.debugger_access()) { if (m_p3csr_is3_flag_read) { @@ -1362,7 +1362,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) data = (m_io->read_byte(M6801_PORT3) & (m_port3_ddr ^ 0xff)) | (m_port3_data & m_port3_ddr); - if (!machine().debugger_access()) + if (!space.debugger_access()) { m_port3_latched = 0; @@ -1387,7 +1387,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_CH: - if(!(m_pending_tcsr&TCSR_TOF) && !machine().debugger_access()) + if(!(m_pending_tcsr&TCSR_TOF) && !space.debugger_access()) { m_tcsr &= ~TCSR_TOF; MODIFIED_tcsr; @@ -1400,7 +1400,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) // HACK there should be a break here, but Coleco Adam won't boot with it present, proper fix required to the free-running counter case IO_OCRH: - if(!(m_pending_tcsr&TCSR_OCF) && !machine().debugger_access()) + if(!(m_pending_tcsr&TCSR_OCF) && !space.debugger_access()) { m_tcsr &= ~TCSR_OCF; MODIFIED_tcsr; @@ -1409,7 +1409,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_OCRL: - if(!(m_pending_tcsr&TCSR_OCF) && !machine().debugger_access()) + if(!(m_pending_tcsr&TCSR_OCF) && !space.debugger_access()) { m_tcsr &= ~TCSR_OCF; MODIFIED_tcsr; @@ -1418,7 +1418,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_ICRH: - if(!(m_pending_tcsr&TCSR_ICF) && !machine().debugger_access()) + if(!(m_pending_tcsr&TCSR_ICF) && !space.debugger_access()) { m_tcsr &= ~TCSR_ICF; MODIFIED_tcsr; @@ -1431,7 +1431,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_P3CSR: - if ((m_p3csr & M6801_P3CSR_IS3_FLAG) && !machine().debugger_access()) + if ((m_p3csr & M6801_P3CSR_IS3_FLAG) && !space.debugger_access()) { m_p3csr_is3_flag_read = 1; } @@ -1444,7 +1444,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_TRCSR: - if (!machine().debugger_access()) + if (!space.debugger_access()) { if (m_trcsr & M6800_TRCSR_TDRE) { @@ -1466,7 +1466,7 @@ READ8_MEMBER( m6800_cpu_device::m6801_io_r ) break; case IO_RDR: - if (!machine().debugger_access()) + if (!space.debugger_access()) { if (m_trcsr_read_orfe) { |