mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
apple2gs/iwm: Work
This commit is contained in:
parent
354ec39764
commit
123cd20000
@ -219,7 +219,7 @@ u8 iwm_device::control(int offset, u8 data)
|
||||
m_rw = MODE_IDLE;
|
||||
}
|
||||
|
||||
if(0) {
|
||||
if(1) {
|
||||
u8 s = m_control & 0xc0;
|
||||
const char *slot = "?";
|
||||
if(s == 0x00 && !m_active)
|
||||
@ -388,6 +388,7 @@ void iwm_device::sync()
|
||||
if(is_sync()) {
|
||||
if(m_rsh >= 0x80) {
|
||||
m_data = m_rsh;
|
||||
logerror("%s %010d DATAR2 %s %02x\n", cycles_to_time(m_last_sync).to_string(), m_last_sync, m_floppy->tag(), m_data);
|
||||
m_rsh = 0;
|
||||
} else if(m_rsh >= 0x04) {
|
||||
m_data = m_rsh;
|
||||
@ -398,7 +399,7 @@ void iwm_device::sync()
|
||||
} else if(m_rsh >= 0x80) {
|
||||
m_data = m_rsh;
|
||||
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);
|
||||
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;
|
||||
|
@ -726,7 +726,7 @@ private:
|
||||
m_slow_counter += 0x0001999a; \
|
||||
int cycles = (m_slow_counter >> 16) & 0xffff; \
|
||||
m_slow_counter &= 0xffff; \
|
||||
m_maincpu->adjust_icount(-cycles); \
|
||||
if(0) m_maincpu->adjust_icount(-cycles); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user