Merge branch 'master' of github.com:folkertvanheusden/kek
This commit is contained in:
commit
2e8f6e7f2e
1 changed files with 3 additions and 8 deletions
11
rl02.cpp
11
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<int16_t *>(®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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue