diff --git a/rl02.cpp b/rl02.cpp index b39cfaf..344211f 100644 --- a/rl02.cpp +++ b/rl02.cpp @@ -202,7 +202,7 @@ void rl02::writeWord(const uint16_t addr, uint16_t v) DOLOG(debug, false, "RL02 read %d bytes (dec) from %d (dec) to %06o (oct) [cylinder: %d, head: %d, sector: %d]", count, temp_disk_offset, memory_address, track, head, sector); - update_dar(); +// update_dar(); while(count > 0) { uint32_t cur = std::min(uint32_t(sizeof xfer_buffer), count); @@ -217,9 +217,7 @@ void rl02::writeWord(const uint16_t addr, uint16_t v) b->writeUnibusByte(memory_address++, xfer_buffer[i++]); b->writeUnibusByte(memory_address++, xfer_buffer[i++]); - update_bus_address(memory_address); - - (*reinterpret_cast(®isters[(RL02_MPR - RL02_BASE) / 2]))++; + // update_bus_address(memory_address); } temp_disk_offset += cur; @@ -238,12 +236,9 @@ void rl02::writeWord(const uint16_t addr, uint16_t v) } } - update_dar(); +// update_dar(); } - if (registers[(RL02_MPR - RL02_BASE) / 2]) - DOLOG(warning, false, "RL02: unexpected MPR value after read (%06o)", registers[(RL02_MPR - RL02_BASE) / 2]); - do_int = true; } else {