logging
This commit is contained in:
parent
8294b586b7
commit
32f93b4f76
1 changed files with 2 additions and 2 deletions
4
rp06.cpp
4
rp06.cpp
|
@ -191,7 +191,7 @@ void rp06::write_word(const uint16_t addr, uint16_t v)
|
|||
uint32_t cur_n = std::min(end_offset - cur_offset, SECTOR_SIZE);
|
||||
|
||||
if (function_code == 070) {
|
||||
DOLOG(debug, false, "RP06: reading %u bytes from %u (dec) to %06o (oct)", cur_n, offs, addr);
|
||||
DOLOG(debug, false, "RP06: reading %u bytes from %u (dec) to %06o (oct)", cur_n, cur_offset, addr);
|
||||
|
||||
if (!fhs.at(0)->read(cur_offset, cur_n, xfer_buffer, SECTOR_SIZE)) {
|
||||
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)
|
|||
b->write_unibus_byte(addr++, xfer_buffer[i]);
|
||||
}
|
||||
else {
|
||||
DOLOG(debug, false, "RP06: writing %u bytes to %u (dec) from %06o (oct)", cur_n, offs, addr);
|
||||
DOLOG(debug, false, "RP06: writing %u bytes to %u (dec) from %06o (oct)", cur_n, cur_offset, addr);
|
||||
|
||||
for(uint32_t i=0; i<cur_n; i++)
|
||||
xfer_buffer[i] = b->read_unibus_byte(addr++);
|
||||
|
|
Loading…
Add table
Reference in a new issue