diff options
author | bd <bdunahu@operationnull.com> | 2025-03-11 17:24:49 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-11 17:24:49 -0400 |
commit | 979723533989a38660ece630b9e458cb3aa61bda (patch) | |
tree | 99ffd87c42c7179561877254431cb78fca02a5f3 /src/cli/cli.cc | |
parent | 282aff5a3d1b6f9678453dfa3e216849d5b1d954 (diff) |
clarify macro names, implement load in CLI, fix many display issues
Diffstat (limited to 'src/cli/cli.cc')
-rw-r--r-- | src/cli/cli.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/cli.cc b/src/cli/cli.cc index d90edef..8dc7e2e 100644 --- a/src/cli/cli.cc +++ b/src/cli/cli.cc @@ -104,10 +104,10 @@ void Cli::load(Accessor accessor, int address) const auto default_fill = std::cout.fill(); signed int data; - // Response r = this->cache->read_word(accessor, address, data); - // std::cout << r << " to " << accessor << " reading " << address << std::endl; - // if (r == OK) - // std::cout << "\tGot:" << std::hex << data; + Response r = this->cache->read_word(accessor, address, data); + std::cout << r << " to " << accessor << " reading " << address << std::endl; + if (r == OK) + std::cout << " Got:" << std::hex << data << std::endl; std::cout.flags(default_flags); std::cout.fill(default_fill); |