diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp index 85841bcfdd9..5852a1bbdb6 100644 --- a/src/devices/imagedev/floppy.cpp +++ b/src/devices/imagedev/floppy.cpp @@ -2419,7 +2419,7 @@ bool mac_floppy_device::wpt_r() // actual_ss may have changed after the phases were set m_reg = (m_reg & 7) | (actual_ss ? 8 : 0); - if(1 || (m_reg != 4 && m_reg != 12 && m_reg != 5 && m_reg != 13)) + if(0 && (m_reg != 4 && m_reg != 12 && m_reg != 5 && m_reg != 13)) logerror("fdc disk sense reg %x %s %p\n", m_reg, regnames[m_reg], image.get()); switch(m_reg) { diff --git a/src/devices/machine/iwm.cpp b/src/devices/machine/iwm.cpp index 5cb6490c970..34508b10530 100644 --- a/src/devices/machine/iwm.cpp +++ b/src/devices/machine/iwm.cpp @@ -230,7 +230,8 @@ u8 iwm_device::control(int offset, u8 data) if(s == 0xc0 && m_active) slot = "write load / write data"; - logerror("control %c%c %c%c %c%c%c%c (%s) [%s, %s] whd=%02x data=%02x\n", + logerror("%s control %c%c %c%c %c%c%c%c (%s) [%s, %s] whd=%02x data=%02x\n", + machine().time().to_string(), m_control & 0x80 ? '1' : '0', m_control & 0x40 ? '1' : '0', m_control & 0x20 ? 'b' : 'a', @@ -391,7 +392,8 @@ void iwm_device::sync() } else if(m_rsh >= 0x80) { m_data = m_rsh; - // logerror("%s DATAR %02x\n", cycles_to_time(m_last_sync).to_string(), m_data); + m_async_update = 0; + // logerror("%s %010d DATAR %s %02x\n", cycles_to_time(m_last_sync).to_string(), m_last_sync, m_floppy->tag(), m_data); m_rsh = 0; } break; @@ -404,9 +406,8 @@ void iwm_device::sync() m_sync_update = 0; } if(m_async_update && m_async_update <= m_last_sync) { - if(!is_sync()) { + if(!is_sync()) m_data = 0; - } m_async_update = 0; } break; diff --git a/src/lib/formats/ap_dsk35.cpp b/src/lib/formats/ap_dsk35.cpp index 8b76097211c..4e7ac40298d 100644 --- a/src/lib/formats/ap_dsk35.cpp +++ b/src/lib/formats/ap_dsk35.cpp @@ -1431,10 +1431,10 @@ bool apple_gcr_format::load(io_generic *io, uint32_t form_factor, const std::vec for(int i=0; i> 16) & 0xffff; \