also log i/o r/w
This commit is contained in:
parent
4f0327e323
commit
28750c56d8
1 changed files with 4 additions and 0 deletions
4
bus.cpp
4
bus.cpp
|
@ -81,6 +81,8 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev,
|
||||||
uint16_t temp = 0;
|
uint16_t temp = 0;
|
||||||
|
|
||||||
if (a >= 0160000) {
|
if (a >= 0160000) {
|
||||||
|
DOLOG(debug, !peek_only, "READ from %06o/IO %c %c", a, space == d_space ? 'D' : 'I', word_mode ? 'B' : 'W');
|
||||||
|
|
||||||
if (word_mode)
|
if (word_mode)
|
||||||
DOLOG(debug, false, "READ I/O %06o in byte mode", a);
|
DOLOG(debug, false, "READ I/O %06o in byte mode", a);
|
||||||
|
|
||||||
|
@ -680,6 +682,8 @@ void bus::write(const uint16_t a, const bool word_mode, uint16_t value, const bo
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a >= 0160000) {
|
if (a >= 0160000) {
|
||||||
|
DOLOG(debug, true, "WRITE to %06o/IO %c %c: %o", a, space == d_space ? 'D' : 'I', word_mode ? 'B' : 'W', value);
|
||||||
|
|
||||||
if (word_mode) {
|
if (word_mode) {
|
||||||
assert(value < 256);
|
assert(value < 256);
|
||||||
DOLOG(debug, true, "WRITE I/O %06o in byte mode", a);
|
DOLOG(debug, true, "WRITE I/O %06o in byte mode", a);
|
||||||
|
|
Loading…
Add table
Reference in a new issue