@@ -191,7 +191,7 @@ void rp06::write_word(const uint16_t addr, uint16_t v)
191
191
uint32_t cur_n = std::min (end_offset - cur_offset, SECTOR_SIZE);
192
192
193
193
if (function_code == 070 ) {
194
- DOLOG (debug, false , " RP06: reading %u bytes from %u (dec) to %06o (oct)" , cur_n, offs , addr);
194
+ DOLOG (debug, false , " RP06: reading %u bytes from %u (dec) to %06o (oct)" , cur_n, cur_offset , addr);
195
195
196
196
if (!fhs.at (0 )->read (cur_offset, cur_n, xfer_buffer, SECTOR_SIZE)) {
197
197
DOLOG (ll_error, true , " RP06 read error %s from %u" , strerror (errno), cur_offset);
@@ -204,7 +204,7 @@ void rp06::write_word(const uint16_t addr, uint16_t v)
204
204
b->write_unibus_byte (addr++, xfer_buffer[i]);
205
205
}
206
206
else {
207
- DOLOG (debug, false , " RP06: writing %u bytes to %u (dec) from %06o (oct)" , cur_n, offs , addr);
207
+ DOLOG (debug, false , " RP06: writing %u bytes to %u (dec) from %06o (oct)" , cur_n, cur_offset , addr);
208
208
209
209
for (uint32_t i=0 ; i<cur_n; i++)
210
210
xfer_buffer[i] = b->read_unibus_byte (addr++);
0 commit comments